@sikka/hawa 0.25.2-next → 0.26.0-next

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,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import React__default from 'react';
3
3
  import * as TabsPrimitive from '@radix-ui/react-tabs';
4
- import { R as RadiusType, O as OrientationType } from '../commonTypes-f_LVO3Sm.js';
4
+ import { R as RadiusType, O as OrientationType } from '../commonTypes-cyhMPvmz.js';
5
5
 
6
6
  type ChipColors = "green" | "blue" | "red" | "yellow" | "orange" | "purple" | "cyan" | "hyper" | "oceanic";
7
7
  type ChipTypes = React__default.HTMLAttributes<HTMLSpanElement> & {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { P as PositionType } from '../commonTypes-f_LVO3Sm.mjs';
2
+ import { P as PositionType } from '../commonTypes-_11epZYh.mjs';
3
3
 
4
4
  type LabelProps = {
5
5
  hint?: React.ReactNode;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { P as PositionType } from '../commonTypes-f_LVO3Sm.js';
2
+ import { P as PositionType } from '../commonTypes-_11epZYh.js';
3
3
 
4
4
  type LabelProps = {
5
5
  hint?: React.ReactNode;
@@ -1,6 +1,7 @@
1
- import React__default from 'react';
1
+ import React from 'react';
2
2
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
3
- import { P as PositionType } from '../commonTypes-_11epZYh.mjs';
3
+
4
+ type PositionType = "top" | "bottom" | "right" | "left";
4
5
 
5
6
  type TooltipTypes = {
6
7
  /** Controls the open state of the tooltip. */
@@ -21,6 +22,6 @@ type TooltipTypes = {
21
22
  contentProps?: TooltipPrimitive.TooltipContentProps;
22
23
  providerProps?: TooltipPrimitive.TooltipProviderProps;
23
24
  };
24
- declare const Tooltip: React__default.FunctionComponent<TooltipTypes>;
25
+ declare const Tooltip: React.FunctionComponent<TooltipTypes>;
25
26
 
26
27
  export { Tooltip };
@@ -1,6 +1,7 @@
1
- import React__default from 'react';
1
+ import React from 'react';
2
2
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
3
- import { P as PositionType } from '../commonTypes-_11epZYh.js';
3
+
4
+ type PositionType = "top" | "bottom" | "right" | "left";
4
5
 
5
6
  type TooltipTypes = {
6
7
  /** Controls the open state of the tooltip. */
@@ -21,6 +22,6 @@ type TooltipTypes = {
21
22
  contentProps?: TooltipPrimitive.TooltipContentProps;
22
23
  providerProps?: TooltipPrimitive.TooltipProviderProps;
23
24
  };
24
- declare const Tooltip: React__default.FunctionComponent<TooltipTypes>;
25
+ declare const Tooltip: React.FunctionComponent<TooltipTypes>;
25
26
 
26
27
  export { Tooltip };
@@ -1,10 +1,15 @@
1
- import {
2
- cn
3
- } from "../chunk-TE3BKEXL.mjs";
4
-
5
1
  // components/elements/tooltip/Tooltip.tsx
6
2
  import React from "react";
7
3
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
4
+
5
+ // components/util.ts
6
+ import { clsx } from "clsx";
7
+ import { twMerge } from "tailwind-merge";
8
+ function cn(...inputs) {
9
+ return twMerge(clsx(inputs));
10
+ }
11
+
12
+ // components/elements/tooltip/Tooltip.tsx
8
13
  var TooltipContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React.createElement(
9
14
  TooltipPrimitive.Content,
10
15
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.25.2-next",
3
+ "version": "0.26.0-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",
@@ -99,7 +99,9 @@
99
99
  "react-headless-pagination": "^1.1.4",
100
100
  "react-hook-form": "^7.49.2",
101
101
  "react-select": "^5.8.0",
102
+ "signature_pad": "^4.1.7",
102
103
  "tailwind-merge": "^2.1.0",
104
+ "trim-canvas": "^0.1.2",
103
105
  "zod": "^3.22.4"
104
106
  },
105
107
  "devDependencies": {
@@ -1,4 +0,0 @@
1
- type DirectionType = "rtl" | "ltr";
2
- type RadiusType = "full" | "inherit" | "none";
3
-
4
- export type { DirectionType as D, RadiusType as R };
@@ -1,4 +0,0 @@
1
- type DirectionType = "rtl" | "ltr";
2
- type RadiusType = "full" | "inherit" | "none";
3
-
4
- export type { DirectionType as D, RadiusType as R };
@@ -1,5 +0,0 @@
1
- type PositionType = "top" | "bottom" | "right" | "left";
2
- type OrientationType = "vertical" | "horizontal";
3
- type RadiusType = "full" | "inherit" | "none";
4
-
5
- export type { OrientationType as O, PositionType as P, RadiusType as R };
@@ -1,5 +0,0 @@
1
- type PositionType = "top" | "bottom" | "right" | "left";
2
- type OrientationType = "vertical" | "horizontal";
3
- type RadiusType = "full" | "inherit" | "none";
4
-
5
- export type { OrientationType as O, PositionType as P, RadiusType as R };