wensity 0.1.0 → 0.1.1
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/dist/index.js +4 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,9 +6,9 @@ import { dirname as dirname5, join as join6 } from "path";
|
|
|
6
6
|
|
|
7
7
|
// src/constants.ts
|
|
8
8
|
var CLI_NAME = "wensity";
|
|
9
|
-
var CLI_VERSION = "0.1.
|
|
9
|
+
var CLI_VERSION = "0.1.1";
|
|
10
10
|
var CONFIG_FILE_NAME = "wensity.json";
|
|
11
|
-
var DEFAULT_API_ORIGIN = "https://wensity.com";
|
|
11
|
+
var DEFAULT_API_ORIGIN = "https://ui.wensity.com";
|
|
12
12
|
var DEFAULT_REGISTRY_PATH = "/api/registry";
|
|
13
13
|
var DEFAULT_COMPONENTS_DIR = "src/components/wensity";
|
|
14
14
|
var DEFAULT_UTILS_PATH = "src/lib/utils";
|
|
@@ -437,7 +437,7 @@ function formatErrorMessage(payload) {
|
|
|
437
437
|
if (code === "pro_license_required") {
|
|
438
438
|
const base = message ?? "This component requires Wensity Pro.";
|
|
439
439
|
return `${base}
|
|
440
|
-
Upgrade here: https://wensity.com/pricing`;
|
|
440
|
+
Upgrade here: https://ui.wensity.com/pricing`;
|
|
441
441
|
}
|
|
442
442
|
return message;
|
|
443
443
|
}
|
|
@@ -542,7 +542,7 @@ import * as React from "react";
|
|
|
542
542
|
import { cn } from "${utilsImport}";
|
|
543
543
|
|
|
544
544
|
type Size = "sm" | "md" | "lg";
|
|
545
|
-
type Tone = "chili" | "
|
|
545
|
+
type Tone = "chili" | "emerald" | "sky" | "amber" | "white" | "graphite";
|
|
546
546
|
|
|
547
547
|
type SharedProps = {
|
|
548
548
|
children: React.ReactNode;
|
|
@@ -566,7 +566,6 @@ const sizes: Record<Size, string> = {
|
|
|
566
566
|
|
|
567
567
|
const tones: Record<Tone, string> = {
|
|
568
568
|
chili: "from-chili-400 via-chili-500 to-chili-700 text-white shadow-[0_10px_30px_-10px_rgba(205,28,24,0.55)]",
|
|
569
|
-
violet: "from-violet-300 via-violet-600 to-violet-800 text-white shadow-[0_10px_30px_-10px_rgba(124,58,237,0.55)]",
|
|
570
569
|
emerald: "from-emerald-300 via-emerald-600 to-emerald-800 text-white shadow-[0_10px_30px_-10px_rgba(16,185,129,0.55)]",
|
|
571
570
|
sky: "from-sky-300 via-sky-600 to-sky-800 text-white shadow-[0_10px_30px_-10px_rgba(14,165,233,0.55)]",
|
|
572
571
|
amber: "from-amber-300 via-amber-500 to-amber-700 text-black shadow-[0_10px_30px_-10px_rgba(245,158,11,0.55)]",
|