myoperator-ui 0.0.232 → 0.0.233

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/dist/index.js +1 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -29647,10 +29647,7 @@ var getTailwindConfig = (prefix = "tw-", hasBootstrap = false) => `/** @type {im
29647
29647
  export default {
29648
29648
  darkMode: ["class"],
29649
29649
  prefix: "${prefix}",${hasBootstrap ? `
29650
- important: true, // Required to override Bootstrap styles
29651
- corePlugins: {
29652
- preflight: false, // Disable Tailwind's CSS reset - Bootstrap handles base styles
29653
- },` : ""}
29650
+ important: true, // Required to override Bootstrap styles` : ""}
29654
29651
  content: [
29655
29652
  "./src/components/ui/**/*.{js,ts,jsx,tsx}",
29656
29653
  "./src/components/custom/**/*.{js,ts,jsx,tsx}",
@@ -30100,7 +30097,6 @@ export function cn(...inputs: ClassValue[]) {
30100
30097
  const existingConfig2 = await fs5.readFile(tailwindConfigPath, "utf-8");
30101
30098
  const hasLegacyColors = existingConfig2.includes("hsl(var(--destructive))") || existingConfig2.includes("hsl(var(--ring))");
30102
30099
  const hasSemanticColors = existingConfig2.includes("semantic-text-primary");
30103
- const needsBootstrapUpdate = hasBootstrap && !existingConfig2.includes("preflight");
30104
30100
  if (!hasLegacyColors && !hasSemanticColors) {
30105
30101
  await fs5.writeFile(tailwindConfigPath, getTailwindConfig(userPrefix, hasBootstrap));
30106
30102
  tailwindUpdated = true;
@@ -30117,9 +30113,6 @@ export function cn(...inputs: ClassValue[]) {
30117
30113
  await fs5.writeFile(tailwindConfigPath, getTailwindConfig(userPrefix, hasBootstrap));
30118
30114
  tailwindUpdated = true;
30119
30115
  }
30120
- } else if (needsBootstrapUpdate) {
30121
- await fs5.writeFile(tailwindConfigPath, getTailwindConfig(userPrefix, hasBootstrap));
30122
- tailwindUpdated = true;
30123
30116
  }
30124
30117
  }
30125
30118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myoperator-ui",
3
- "version": "0.0.232",
3
+ "version": "0.0.233",
4
4
  "description": "CLI for adding myOperator UI components to your project",
5
5
  "type": "module",
6
6
  "exports": "./dist/index.js",