@appcorp/stellar-solutions-modules 0.1.47 → 0.1.49

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,6 @@
1
1
  import * as React from "react";
2
2
  import useEmblaCarousel, { type UseEmblaCarouselType } from "embla-carousel-react";
3
- import { Button } from "@/components/ui/button";
3
+ import { Button } from "./button";
4
4
  type CarouselApi = UseEmblaCarouselType[1];
5
5
  type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
6
6
  type CarouselOptions = UseCarouselParameters[0];
@@ -67,8 +67,8 @@ exports.CarouselNext = CarouselNext;
67
67
  var React = __importStar(require("react"));
68
68
  var embla_carousel_react_1 = __importDefault(require("embla-carousel-react"));
69
69
  var lucide_react_1 = require("lucide-react");
70
- var utils_1 = require("@/lib/utils");
71
- var button_1 = require("@/components/ui/button");
70
+ var utils_1 = require("../../lib/utils");
71
+ var button_1 = require("./button");
72
72
  var CarouselContext = React.createContext(null);
73
73
  function useCarousel() {
74
74
  var context = React.useContext(CarouselContext);
@@ -61,7 +61,7 @@ var React = __importStar(require("react"));
61
61
  var CheckboxPrimitive = __importStar(require("@radix-ui/react-checkbox"));
62
62
  var lucide_react_1 = require("lucide-react");
63
63
  var utils_1 = require("../../lib/utils");
64
- var label_1 = require("../../components/ui/label");
64
+ var label_1 = require("./label");
65
65
  function Checkbox(_a) {
66
66
  var className = _a.className, error = _a.error, info = _a.info, label = _a.label, id = _a.id, props = __rest(_a, ["className", "error", "info", "label", "id"]);
67
67
  // Determine if there's an error (for aria-invalid and styling)
@@ -40,8 +40,8 @@ exports.CountryCombobox = CountryCombobox;
40
40
  var react_1 = __importStar(require("react"));
41
41
  var lucide_react_1 = require("lucide-react");
42
42
  var utils_1 = require("../../lib/utils");
43
- var button_1 = require("../../components/ui/button");
44
- var label_1 = require("../../components/ui/label");
43
+ var button_1 = require("./button");
44
+ var label_1 = require("./label");
45
45
  var command_1 = require("../../components/ui/command");
46
46
  var popover_1 = require("../../components/ui/popover");
47
47
  function VirtualizedList(_a) {
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { Command as CommandPrimitive } from "cmdk";
3
- import { Dialog } from "../../components/ui/dialog";
3
+ import { Dialog } from "./dialog";
4
4
  declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): React.JSX.Element;
5
5
  declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React.ComponentProps<typeof Dialog> & {
6
6
  title?: string;
@@ -69,7 +69,7 @@ var React = __importStar(require("react"));
69
69
  var cmdk_1 = require("cmdk");
70
70
  var lucide_react_1 = require("lucide-react");
71
71
  var utils_1 = require("../../lib/utils");
72
- var dialog_1 = require("../../components/ui/dialog");
72
+ var dialog_1 = require("./dialog");
73
73
  function Command(_a) {
74
74
  var className = _a.className, props = __rest(_a, ["className"]);
75
75
  return (React.createElement(cmdk_1.Command, __assign({ "data-slot": "command", className: (0, utils_1.cn)("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md", className) }, props)));
@@ -66,7 +66,7 @@ var React = __importStar(require("react"));
66
66
  var react_slot_1 = require("@radix-ui/react-slot");
67
67
  var react_hook_form_1 = require("react-hook-form");
68
68
  var utils_1 = require("../../lib/utils");
69
- var label_1 = require("../../components/ui/label");
69
+ var label_1 = require("./label");
70
70
  var Form = react_hook_form_1.FormProvider;
71
71
  exports.Form = Form;
72
72
  var FormFieldContext = React.createContext({});
@@ -31,8 +31,8 @@ var lucide_react_1 = require("lucide-react");
31
31
  var react_1 = __importDefault(require("react"));
32
32
  var react_2 = require("react");
33
33
  var react_dropzone_1 = require("react-dropzone");
34
- var button_1 = require("@/components/ui/button");
35
- var utils_1 = require("@/lib/utils");
34
+ var button_1 = require("../../button");
35
+ var utils_1 = require("../../../../lib/utils");
36
36
  var renderBytes = function (bytes) {
37
37
  var units = ["B", "KB", "MB", "GB", "TB", "PB"];
38
38
  var size = bytes;
@@ -60,7 +60,7 @@ exports.Switch = void 0;
60
60
  var React = __importStar(require("react"));
61
61
  var SwitchPrimitive = __importStar(require("@radix-ui/react-switch"));
62
62
  var utils_1 = require("../../lib/utils");
63
- var label_1 = require("../../components/ui/label");
63
+ var label_1 = require("./label");
64
64
  var Switch = React.forwardRef(function (_a, ref) {
65
65
  var className = _a.className, error = _a.error, info = _a.info, label = _a.label, required = _a.required, id = _a.id, props = __rest(_a, ["className", "error", "info", "label", "required", "id"]);
66
66
  // Determine if there's an error (for aria-invalid and styling)
@@ -58,7 +58,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
58
58
  exports.Textarea = void 0;
59
59
  var React = __importStar(require("react"));
60
60
  var utils_1 = require("../../lib/utils");
61
- var label_1 = require("../../components/ui/label");
61
+ var label_1 = require("./label");
62
62
  var Textarea = React.forwardRef(function (_a, ref) {
63
63
  var className = _a.className, error = _a.error, info = _a.info, label = _a.label, required = _a.required, id = _a.id, props = __rest(_a, ["className", "error", "info", "label", "required", "id"]);
64
64
  // Determine if there's an error (for aria-invalid and styling)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/stellar-solutions-modules",
3
- "version": "0.1.47",
3
+ "version": "0.1.49",
4
4
  "scripts": {
5
5
  "automate": "./automate.sh",
6
6
  "build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib && cp yarn.lock lib",