myoperator-ui 0.0.152-beta.0 → 0.0.152-beta.2

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 +27 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6739,7 +6739,7 @@ export const ApiFeatureCard = React.forwardRef<
6739
6739
  <div
6740
6740
  ref={ref}
6741
6741
  className={cn(
6742
- "flex flex-col gap-6 rounded-lg border border-semantic-border-layout bg-semantic-bg-primary p-6 overflow-hidden",
6742
+ "flex flex-col gap-6 rounded-lg border border-[var(--semantic-border-layout,#E9EAEB)] bg-[var(--semantic-bg-primary,#FFFFFF)] p-6 overflow-hidden",
6743
6743
  className
6744
6744
  )}
6745
6745
  {...props}
@@ -6748,18 +6748,18 @@ export const ApiFeatureCard = React.forwardRef<
6748
6748
  <div className="flex items-center justify-between">
6749
6749
  <div className="flex items-center gap-2.5">
6750
6750
  {/* Icon Container */}
6751
- <div className="flex h-11 w-11 shrink-0 items-center justify-center rounded-[10px] bg-semantic-info-surface">
6752
- <span className="text-[var(--color-primary-950)] [&_svg]:h-5 [&_svg]:w-5">
6751
+ <div className="flex h-11 w-11 shrink-0 items-center justify-center rounded-[10px] bg-[var(--semantic-info-surface,#ECF1FB)]">
6752
+ <span className="text-[var(--semantic-info-primary,#4275D6)] [&_svg]:h-5 [&_svg]:w-5">
6753
6753
  {icon}
6754
6754
  </span>
6755
6755
  </div>
6756
6756
 
6757
6757
  {/* Title and Description */}
6758
6758
  <div className="flex flex-col gap-1.5">
6759
- <h3 className="m-0 text-base font-semibold text-semantic-text-primary">
6759
+ <h3 className="m-0 text-base font-semibold text-[var(--semantic-text-primary,#181D27)]">
6760
6760
  {title}
6761
6761
  </h3>
6762
- <p className="m-0 text-sm text-semantic-text-muted tracking-[0.035px]">
6762
+ <p className="m-0 text-sm text-[var(--semantic-text-muted,#717680)] tracking-[0.035px]">
6763
6763
  {description}
6764
6764
  </p>
6765
6765
  </div>
@@ -6779,8 +6779,8 @@ export const ApiFeatureCard = React.forwardRef<
6779
6779
 
6780
6780
  {/* Capabilities Section */}
6781
6781
  {capabilities.length > 0 && (
6782
- <div className="flex flex-col gap-2.5 border-t border-semantic-border-layout bg-[var(--color-neutral-50)] -mx-6 -mb-6 p-6">
6783
- <span className="text-sm font-semibold uppercase tracking-[0.014px] text-[var(--color-neutral-400)]">
6782
+ <div className="flex flex-col gap-2.5 border-t border-[var(--semantic-border-layout,#E9EAEB)] bg-[var(--color-neutral-50,#FAFAFA)] -mx-6 -mb-6 p-6">
6783
+ <span className="text-sm font-semibold uppercase tracking-[0.014px] text-[var(--color-neutral-400,#A4A7AE)]">
6784
6784
  {capabilitiesLabel}
6785
6785
  </span>
6786
6786
  <div className="flex flex-wrap gap-x-6 gap-y-2">
@@ -6789,8 +6789,8 @@ export const ApiFeatureCard = React.forwardRef<
6789
6789
  key={capability.id}
6790
6790
  className="flex items-center gap-1.5"
6791
6791
  >
6792
- <span className="h-1.5 w-1.5 shrink-0 rounded-full bg-[var(--color-neutral-400)]" />
6793
- <span className="text-sm text-semantic-text-primary tracking-[0.035px]">
6792
+ <span className="h-1.5 w-1.5 shrink-0 rounded-full bg-[var(--semantic-info-primary,#4275D6)]" />
6793
+ <span className="text-sm text-[var(--semantic-text-primary,#181D27)] tracking-[0.035px]">
6794
6794
  {capability.label}
6795
6795
  </span>
6796
6796
  </div>
@@ -8593,6 +8593,15 @@ async function add(components, options) {
8593
8593
  console.log(chalk.yellow("\n Required dependencies:"));
8594
8594
  console.log(chalk.cyan(` npm install ${Array.from(dependencies).join(" ")}`));
8595
8595
  }
8596
+ const hasCustomComponents = installed.some((file) => file.basePath.includes("custom"));
8597
+ if (hasCustomComponents) {
8598
+ console.log(chalk.yellow("\n \u26A0\uFE0F Custom components installed!"));
8599
+ console.log(chalk.white(" Make sure your tailwind.config.js includes:"));
8600
+ console.log(chalk.cyan(" content: ["));
8601
+ console.log(chalk.cyan(' "./src/components/ui/**/*.{js,ts,jsx,tsx}",'));
8602
+ console.log(chalk.cyan(' "./src/components/custom/**/*.{js,ts,jsx,tsx}", // Add this line'));
8603
+ console.log(chalk.cyan(" ]"));
8604
+ }
8596
8605
  console.log("");
8597
8606
  } catch (error) {
8598
8607
  spinner.fail("Failed to install components");
@@ -9599,6 +9608,15 @@ async function sync(options) {
9599
9608
  console.log(chalk3.yellow("\n Required dependencies:"));
9600
9609
  console.log(chalk3.cyan(` npm install ${Array.from(dependencies).join(" ")}`));
9601
9610
  }
9611
+ const hasCustomComponents = installed.some((file) => file.basePath.includes("custom"));
9612
+ if (hasCustomComponents) {
9613
+ console.log(chalk3.yellow("\n \u26A0\uFE0F Custom components installed/updated!"));
9614
+ console.log(chalk3.white(" Make sure your tailwind.config.js includes:"));
9615
+ console.log(chalk3.cyan(" content: ["));
9616
+ console.log(chalk3.cyan(' "./src/components/ui/**/*.{js,ts,jsx,tsx}",'));
9617
+ console.log(chalk3.cyan(' "./src/components/custom/**/*.{js,ts,jsx,tsx}", // Add this line'));
9618
+ console.log(chalk3.cyan(" ]"));
9619
+ }
9602
9620
  console.log("");
9603
9621
  } catch (error) {
9604
9622
  spinner.fail("Sync failed");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myoperator-ui",
3
- "version": "0.0.152-beta.0",
3
+ "version": "0.0.152-beta.2",
4
4
  "description": "CLI for adding myOperator UI components to your project",
5
5
  "type": "module",
6
6
  "exports": "./dist/index.js",