tfy-web-components 0.0.11 → 0.0.12

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.
@@ -1,6 +1 @@
1
- import { PluginCreator, Config } from 'tailwindcss/types/config';
2
- declare const lightColorPlugin: {
3
- handler: PluginCreator;
4
- config?: Partial<Config> | undefined;
5
- };
6
- export default lightColorPlugin;
1
+ export declare const createLightColorPlugin: (plugin: any) => any;
@@ -1,61 +1,4 @@
1
1
  import { lightPalette } from "./colors.es.js";
2
- function getDefaultExportFromCjs(x) {
3
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
4
- }
5
- var createPlugin$2 = {};
6
- var createPlugin$1 = {};
7
- (function(exports) {
8
- Object.defineProperty(exports, "__esModule", {
9
- value: true
10
- });
11
- Object.defineProperty(exports, "default", {
12
- enumerable: true,
13
- get: function() {
14
- return _default;
15
- }
16
- });
17
- function createPlugin2(plugin2, config) {
18
- return {
19
- handler: plugin2,
20
- config
21
- };
22
- }
23
- createPlugin2.withOptions = function(pluginFunction, configFunction = () => ({})) {
24
- const optionsFunction = function(options) {
25
- return {
26
- __options: options,
27
- handler: pluginFunction(options),
28
- config: configFunction(options)
29
- };
30
- };
31
- optionsFunction.__isOptionsFunction = true;
32
- optionsFunction.__pluginFunction = pluginFunction;
33
- optionsFunction.__configFunction = configFunction;
34
- return optionsFunction;
35
- };
36
- const _default = createPlugin2;
37
- })(createPlugin$1);
38
- (function(exports) {
39
- Object.defineProperty(exports, "__esModule", {
40
- value: true
41
- });
42
- Object.defineProperty(exports, "default", {
43
- enumerable: true,
44
- get: function() {
45
- return _default;
46
- }
47
- });
48
- const _createPlugin = /* @__PURE__ */ _interop_require_default(createPlugin$1);
49
- function _interop_require_default(obj) {
50
- return obj && obj.__esModule ? obj : {
51
- default: obj
52
- };
53
- }
54
- const _default = _createPlugin.default;
55
- })(createPlugin$2);
56
- let createPlugin = createPlugin$2;
57
- var plugin = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default;
58
- const plugin$1 = /* @__PURE__ */ getDefaultExportFromCjs(plugin);
59
2
  function flattenColors(colors, prefix = "") {
60
3
  const result = {};
61
4
  for (const [key, value] of Object.entries(colors)) {
@@ -126,22 +69,24 @@ function generateRingUtilities(colors) {
126
69
  }
127
70
  return utilities;
128
71
  }
129
- const lightColorPlugin = plugin$1(function({ addUtilities }) {
130
- const flatColors = flattenColors(lightPalette);
131
- const utilities = {
132
- ...generateColorUtilities("background-color", "bg", flatColors),
133
- ...generateColorUtilities("color", "text", flatColors),
134
- ...generateBorderUtilities(flatColors),
135
- ...generateDivideUtilities(flatColors),
136
- ...generateRingUtilities(flatColors),
137
- ...generateColorUtilities("fill", "fill", flatColors),
138
- ...generateColorUtilities("stroke", "stroke", flatColors),
139
- ...generateColorUtilities("accent-color", "accent", flatColors),
140
- ...generateColorUtilities("caret-color", "caret", flatColors)
141
- };
142
- addUtilities(utilities);
143
- });
72
+ const createLightColorPlugin = (plugin) => {
73
+ return plugin(function({ addUtilities }) {
74
+ const flatColors = flattenColors(lightPalette);
75
+ const utilities = {
76
+ ...generateColorUtilities("background-color", "bg", flatColors),
77
+ ...generateColorUtilities("color", "text", flatColors),
78
+ ...generateBorderUtilities(flatColors),
79
+ ...generateDivideUtilities(flatColors),
80
+ ...generateRingUtilities(flatColors),
81
+ ...generateColorUtilities("fill", "fill", flatColors),
82
+ ...generateColorUtilities("stroke", "stroke", flatColors),
83
+ ...generateColorUtilities("accent-color", "accent", flatColors),
84
+ ...generateColorUtilities("caret-color", "caret", flatColors)
85
+ };
86
+ addUtilities(utilities);
87
+ });
88
+ };
144
89
  export {
145
- lightColorPlugin as default
90
+ createLightColorPlugin
146
91
  };
147
92
  //# sourceMappingURL=lightColorPlugin.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"lightColorPlugin.es.js","sources":["../../../node_modules/tailwindcss/lib/util/createPlugin.js","../../../node_modules/tailwindcss/lib/public/create-plugin.js","../../../node_modules/tailwindcss/plugin.js","../../../src/components/theme/lightColorPlugin.ts"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nfunction createPlugin(plugin, config) {\n return {\n handler: plugin,\n config\n };\n}\ncreatePlugin.withOptions = function(pluginFunction, configFunction = ()=>({})) {\n const optionsFunction = function(options) {\n return {\n __options: options,\n handler: pluginFunction(options),\n config: configFunction(options)\n };\n };\n optionsFunction.__isOptionsFunction = true;\n // Expose plugin dependencies so that `object-hash` returns a different\n // value if anything here changes, to ensure a rebuild is triggered.\n optionsFunction.__pluginFunction = pluginFunction;\n optionsFunction.__configFunction = configFunction;\n return optionsFunction;\n};\nconst _default = createPlugin;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nconst _createPlugin = /*#__PURE__*/ _interop_require_default(require(\"../util/createPlugin\"));\nfunction _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nconst _default = _createPlugin.default;\n","let createPlugin = require('./lib/public/create-plugin')\nmodule.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default\n","import plugin from 'tailwindcss/plugin.js'\n\nimport { lightPalette } from './colors'\n\n// Type definitions\ntype ColorValue = string | Record<string, any>\ntype FlattenedColors = Record<string, string>\ntype UtilityObject = Record<string, Record<string, string>>\ntype DirectionProperties = string | string[]\n\nfunction flattenColors(colors: ColorValue, prefix = ''): FlattenedColors {\n const result: FlattenedColors = {}\n\n for (const [key, value] of Object.entries(colors)) {\n const newKey = prefix ? `${prefix}-${key}` : key\n\n if (typeof value === 'string') {\n result[newKey] = value\n } else if (typeof value === 'object' && value !== null) {\n Object.assign(result, flattenColors(value, newKey))\n }\n }\n\n return result\n}\n\nfunction generateColorUtilities(property: string, prefix: string, colors: FlattenedColors): UtilityObject {\n const utilities: UtilityObject = {}\n\n for (const [colorKey, colorValue] of Object.entries(colors)) {\n utilities[`.${prefix}-light-${colorKey}`] = {\n [property]: colorValue,\n }\n }\n\n return utilities\n}\n\nfunction generateBorderUtilities(colors: FlattenedColors): UtilityObject {\n const utilities: UtilityObject = {}\n\n Object.assign(utilities, generateColorUtilities('border-color', 'border', colors))\n\n const directions: Record<string, DirectionProperties> = {\n t: 'border-top-color',\n r: 'border-right-color',\n b: 'border-bottom-color',\n l: 'border-left-color',\n x: ['border-left-color', 'border-right-color'],\n y: ['border-top-color', 'border-bottom-color'],\n }\n\n for (const [dirKey, properties] of Object.entries(directions)) {\n for (const [colorKey, colorValue] of Object.entries(colors)) {\n const className = `.border-${dirKey}-light-${colorKey}`\n\n if (Array.isArray(properties)) {\n utilities[className] = {}\n properties.forEach((prop) => {\n utilities[className][prop] = colorValue\n })\n } else {\n utilities[className] = {\n [properties]: colorValue,\n }\n }\n }\n }\n\n return utilities\n}\n\nfunction generateDivideUtilities(colors: FlattenedColors): UtilityObject {\n const utilities: UtilityObject = {}\n\n for (const [colorKey, colorValue] of Object.entries(colors)) {\n utilities[`.divide-light-${colorKey} > :not([hidden]) ~ :not([hidden])`] = {\n 'border-color': colorValue,\n }\n }\n\n return utilities\n}\n\nfunction generateRingUtilities(colors: FlattenedColors): UtilityObject {\n const utilities: UtilityObject = {}\n\n for (const [colorKey, colorValue] of Object.entries(colors)) {\n utilities[`.ring-light-${colorKey}`] = {\n '--tw-ring-color': colorValue,\n }\n\n utilities[`.ring-offset-light-${colorKey}`] = {\n '--tw-ring-offset-color': colorValue,\n }\n }\n\n return utilities\n}\n\nconst lightColorPlugin = plugin(function ({ addUtilities }) {\n const flatColors = flattenColors(lightPalette)\n\n const utilities = {\n ...generateColorUtilities('background-color', 'bg', flatColors),\n ...generateColorUtilities('color', 'text', flatColors),\n ...generateBorderUtilities(flatColors),\n ...generateDivideUtilities(flatColors),\n ...generateRingUtilities(flatColors),\n ...generateColorUtilities('fill', 'fill', flatColors),\n ...generateColorUtilities('stroke', 'stroke', flatColors),\n ...generateColorUtilities('accent-color', 'accent', flatColors),\n ...generateColorUtilities('caret-color', 'caret', flatColors),\n }\n\n addUtilities(utilities)\n})\n\nexport default lightColorPlugin\n"],"names":["createPlugin","plugin","require$$0"],"mappings":";;;;;;;AACA,SAAO,eAAwB,SAAA,cAAc;AAAA,IACzC,OAAO;AAAA,EACX,CAAC;AACD,SAAO,eAAe,SAAS,WAAW;AAAA,IACtC,YAAY;AAAA,IACZ,KAAK,WAAW;AACZ,aAAO;AAAA,IACV;AAAA,EACL,CAAC;AACD,WAASA,cAAaC,SAAQ,QAAQ;AAClC,WAAO;AAAA,MACH,SAASA;AAAA,MACT;AAAA,IACR;AAAA,EACC;AACD,EAAAD,cAAa,cAAc,SAAS,gBAAgB,iBAAiB,OAAK,CAAE,IAAG;AAC3E,UAAM,kBAAkB,SAAS,SAAS;AACtC,aAAO;AAAA,QACH,WAAW;AAAA,QACX,SAAS,eAAe,OAAO;AAAA,QAC/B,QAAQ,eAAe,OAAO;AAAA,MAC1C;AAAA,IACA;AACI,oBAAgB,sBAAsB;AAGtC,oBAAgB,mBAAmB;AACnC,oBAAgB,mBAAmB;AACnC,WAAO;AAAA,EACX;AACA,QAAM,WAAWA;;;AC9BjB,SAAO,eAAwB,SAAA,cAAc;AAAA,IACzC,OAAO;AAAA,EACX,CAAC;AACD,SAAO,eAAe,SAAS,WAAW;AAAA,IACtC,YAAY;AAAA,IACZ,KAAK,WAAW;AACZ,aAAO;AAAA,IACV;AAAA,EACL,CAAC;AACD,QAAM,gBAA8B,yCAAyBE,cAA+B;AAC5F,WAAS,yBAAyB,KAAK;AACnC,WAAO,OAAO,IAAI,aAAa,MAAM;AAAA,MACjC,SAAS;AAAA,IACjB;AAAA,EACC;AACD,QAAM,WAAW,cAAc;;AChB/B,IAAI,eAAeA;AACnB,IAAA,UAAkB,aAAa,aAAa,eAAe,EAAE,SAAS,aAAY,GAAI;;ACStF,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../src/components/theme/lightColorPlugin.ts"],"sourcesContent":["import { lightPalette } from './colors'\n\ntype ColorValue = string | Record<string, any>\ntype FlattenedColors = Record<string, string>\ntype UtilityObject = Record<string, Record<string, string>>\ntype DirectionProperties = string | string[]\n\nfunction flattenColors(colors: ColorValue, prefix = ''): FlattenedColors {\n const result: FlattenedColors = {}\n\n for (const [key, value] of Object.entries(colors)) {\n const newKey = prefix ? `${prefix}-${key}` : key\n\n if (typeof value === 'string') {\n result[newKey] = value\n } else if (typeof value === 'object' && value !== null) {\n Object.assign(result, flattenColors(value, newKey))\n }\n }\n\n return result\n}\n\nfunction generateColorUtilities(property: string, prefix: string, colors: FlattenedColors): UtilityObject {\n const utilities: UtilityObject = {}\n\n for (const [colorKey, colorValue] of Object.entries(colors)) {\n utilities[`.${prefix}-light-${colorKey}`] = {\n [property]: colorValue,\n }\n }\n\n return utilities\n}\n\nfunction generateBorderUtilities(colors: FlattenedColors): UtilityObject {\n const utilities: UtilityObject = {}\n\n Object.assign(utilities, generateColorUtilities('border-color', 'border', colors))\n\n const directions: Record<string, DirectionProperties> = {\n t: 'border-top-color',\n r: 'border-right-color',\n b: 'border-bottom-color',\n l: 'border-left-color',\n x: ['border-left-color', 'border-right-color'],\n y: ['border-top-color', 'border-bottom-color'],\n }\n\n for (const [dirKey, properties] of Object.entries(directions)) {\n for (const [colorKey, colorValue] of Object.entries(colors)) {\n const className = `.border-${dirKey}-light-${colorKey}`\n\n if (Array.isArray(properties)) {\n utilities[className] = {}\n properties.forEach((prop) => {\n utilities[className][prop] = colorValue\n })\n } else {\n utilities[className] = {\n [properties]: colorValue,\n }\n }\n }\n }\n\n return utilities\n}\n\nfunction generateDivideUtilities(colors: FlattenedColors): UtilityObject {\n const utilities: UtilityObject = {}\n\n for (const [colorKey, colorValue] of Object.entries(colors)) {\n utilities[`.divide-light-${colorKey} > :not([hidden]) ~ :not([hidden])`] = {\n 'border-color': colorValue,\n }\n }\n\n return utilities\n}\n\nfunction generateRingUtilities(colors: FlattenedColors): UtilityObject {\n const utilities: UtilityObject = {}\n\n for (const [colorKey, colorValue] of Object.entries(colors)) {\n utilities[`.ring-light-${colorKey}`] = {\n '--tw-ring-color': colorValue,\n }\n\n utilities[`.ring-offset-light-${colorKey}`] = {\n '--tw-ring-offset-color': colorValue,\n }\n }\n\n return utilities\n}\nexport const createLightColorPlugin = (plugin: any) => {\n return plugin(function ({ addUtilities }: any) {\n const flatColors = flattenColors(lightPalette)\n\n const utilities = {\n ...generateColorUtilities('background-color', 'bg', flatColors),\n ...generateColorUtilities('color', 'text', flatColors),\n ...generateBorderUtilities(flatColors),\n ...generateDivideUtilities(flatColors),\n ...generateRingUtilities(flatColors),\n ...generateColorUtilities('fill', 'fill', flatColors),\n ...generateColorUtilities('stroke', 'stroke', flatColors),\n ...generateColorUtilities('accent-color', 'accent', flatColors),\n ...generateColorUtilities('caret-color', 'caret', flatColors),\n }\n\n addUtilities(utilities)\n })\n}\n"],"names":[],"mappings":";AAOA,SAAS,cAAc,QAAoB,SAAS,IAAqB;AACvE,QAAM,SAA0B,CAAA;AAEhC,aAAW,CAAC,KAAK,KAAK,KAAK,OAAO,QAAQ,MAAM,GAAG;AACjD,UAAM,SAAS,SAAS,GAAG,MAAM,IAAI,GAAG,KAAK;AAEzC,QAAA,OAAO,UAAU,UAAU;AAC7B,aAAO,MAAM,IAAI;AAAA,IACR,WAAA,OAAO,UAAU,YAAY,UAAU,MAAM;AACtD,aAAO,OAAO,QAAQ,cAAc,OAAO,MAAM,CAAC;AAAA,IACpD;AAAA,EACF;AAEO,SAAA;AACT;AAEA,SAAS,uBAAuB,UAAkB,QAAgB,QAAwC;AACxG,QAAM,YAA2B,CAAA;AAEjC,aAAW,CAAC,UAAU,UAAU,KAAK,OAAO,QAAQ,MAAM,GAAG;AAC3D,cAAU,IAAI,MAAM,UAAU,QAAQ,EAAE,IAAI;AAAA,MAC1C,CAAC,QAAQ,GAAG;AAAA,IAAA;AAAA,EAEhB;AAEO,SAAA;AACT;AAE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A,EAE9B;AAEO,SAAA;AACT;AACa,MAAA,yBAAyB,CAAC,WAAgB;AACrD,SAAO,OAAO,SAAU,EAAE,gBAAqB;AACvC,UAAA,aAAa,cAAc,YAAY;AAE7C,UAAM,YAAY;AAAA,MAChB,GAAG,uBAAuB,oBAAoB,MAAM,UAAU;AAAA,MAC9D,GAAG,uBAAuB,SAAS,QAAQ,UAAU;AAAA,MACrD,GAAG,wBAAwB,UAAU;AAAA,MACrC,GAAG,wBAAwB,UAAU;AAAA,MACrC,GAAG,sBAAsB,UAAU;AAAA,MACnC,GAAG,uBAAuB,QAAQ,QAAQ,UAAU;AAAA,MACpD,GAAG,uBAAuB,UAAU,UAAU,UAAU;AAAA,MACxD,GAAG,uBAAuB,gBAAgB,UAAU,UAAU;AAAA,MAC9D,GAAG,uBAAuB,eAAe,SAAS,UAAU;AAAA,IAAA;AAG9D,iBAAa,SAAS;AAAA,EAAA,CACvB;AACH;"}
@@ -1,10 +1,3 @@
1
- import { Config } from 'tailwindcss/types/config';
2
- import { PluginCreator } from 'tailwindcss/types/config';
3
-
4
- declare const lightColorPlugin: {
5
- handler: PluginCreator;
6
- config?: Partial<Config> | undefined;
7
- };
8
- export default lightColorPlugin;
1
+ export declare const createLightColorPlugin: (plugin: any) => any;
9
2
 
10
3
  export { }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "tfy-web-components",
4
- "version": "0.0.11",
4
+ "version": "0.0.12",
5
5
  "description": "Truefoundry web components",
6
6
  "author": "Truefoundry",
7
7
  "license": "ISC",