@ixo/editor 1.0.0 → 1.0.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.
@@ -38,7 +38,7 @@ exports.Button = Button;
38
38
  const React = __importStar(require("react"));
39
39
  const react_slot_1 = require("@radix-ui/react-slot");
40
40
  const class_variance_authority_1 = require("class-variance-authority");
41
- const utils_1 = require("@/lib/utils");
41
+ const utils_1 = require("../../lib/utils");
42
42
  const buttonVariants = (0, class_variance_authority_1.cva)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
43
43
  variants: {
44
44
  variant: {
@@ -35,7 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.CardContent = exports.CardDescription = exports.CardTitle = exports.CardFooter = exports.CardHeader = exports.Card = void 0;
37
37
  const React = __importStar(require("react"));
38
- const utils_1 = require("@/lib/utils");
38
+ const utils_1 = require("../../lib/utils");
39
39
  const Card = React.forwardRef(({ className, ...props }, ref) => (React.createElement("div", { ref: ref, className: (0, utils_1.cn)("rounded-lg border bg-card text-card-foreground shadow-sm", className), ...props })));
40
40
  exports.Card = Card;
41
41
  Card.displayName = "Card";
@@ -46,7 +46,7 @@ exports.DialogTrigger = DialogTrigger;
46
46
  const React = __importStar(require("react"));
47
47
  const DialogPrimitive = __importStar(require("@radix-ui/react-dialog"));
48
48
  const lucide_react_1 = require("lucide-react");
49
- const utils_1 = require("@/lib/utils");
49
+ const utils_1 = require("../../lib/utils");
50
50
  function Dialog({ ...props }) {
51
51
  return React.createElement(DialogPrimitive.Root, { "data-slot": "dialog", ...props });
52
52
  }
@@ -36,7 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.Label = Label;
37
37
  const React = __importStar(require("react"));
38
38
  const LabelPrimitive = __importStar(require("@radix-ui/react-label"));
39
- const utils_1 = require("@/lib/utils");
39
+ const utils_1 = require("../../lib/utils");
40
40
  function Label({ className, ...props }) {
41
41
  return (React.createElement(LabelPrimitive.Root, { "data-slot": "label", className: (0, utils_1.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", className), ...props }));
42
42
  }
@@ -38,7 +38,7 @@ exports.Toggle = Toggle;
38
38
  const React = __importStar(require("react"));
39
39
  const TogglePrimitive = __importStar(require("@radix-ui/react-toggle"));
40
40
  const class_variance_authority_1 = require("class-variance-authority");
41
- const utils_1 = require("@/lib/utils");
41
+ const utils_1 = require("../../lib/utils");
42
42
  const toggleVariants = (0, class_variance_authority_1.cva)("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap", {
43
43
  variants: {
44
44
  variant: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixo/editor",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A custom BlockNote editor wrapper for IXO team",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "./style.css": "./style.css"
20
20
  },
21
21
  "scripts": {
22
- "build": "tsc && npm run copy-css",
22
+ "build": "tsc && tsc-alias && npm run copy-css",
23
23
  "copy-css": "node scripts/build-css.js",
24
24
  "build:watch": "tsc --watch",
25
25
  "dev": "tsc --watch",
@@ -75,6 +75,7 @@
75
75
  "react-dom": "^18.2.0",
76
76
  "rimraf": "^5.0.0",
77
77
  "semantic-release": "^22.0.12",
78
+ "tsc-alias": "^1.8.16",
78
79
  "typescript": "^5.0.0"
79
80
  },
80
81
  "repository": {