@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.
- package/dist/chunk-3N6JJKMN.mjs +263 -0
- package/dist/commonTypes-cyhMPvmz.d.mts +4 -0
- package/dist/commonTypes-cyhMPvmz.d.ts +4 -0
- package/dist/index.css +3 -0
- package/dist/signature/index.d.mts +11 -0
- package/dist/signature/index.d.ts +11 -0
- package/dist/signature/index.js +151 -0
- package/dist/signature/index.mjs +109 -0
- package/dist/sortButton/index.mjs +8 -261
- package/dist/splitButton/index.d.mts +4 -3
- package/dist/splitButton/index.d.ts +4 -3
- package/dist/splitButton/index.mjs +9 -260
- package/dist/switch/index.d.mts +1 -1
- package/dist/switch/index.d.ts +1 -1
- package/dist/tabs/index.d.mts +1 -1
- package/dist/tabs/index.d.ts +1 -1
- package/dist/textarea/index.d.mts +1 -1
- package/dist/textarea/index.d.ts +1 -1
- package/dist/tooltip/index.d.mts +4 -3
- package/dist/tooltip/index.d.ts +4 -3
- package/dist/tooltip/index.mjs +9 -4
- package/package.json +3 -1
- package/dist/commonTypes-2k6FnHw5.d.mts +0 -4
- package/dist/commonTypes-2k6FnHw5.d.ts +0 -4
- package/dist/commonTypes-f_LVO3Sm.d.mts +0 -5
- package/dist/commonTypes-f_LVO3Sm.d.ts +0 -5
package/dist/tabs/index.d.ts
CHANGED
|
@@ -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-
|
|
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> & {
|
package/dist/textarea/index.d.ts
CHANGED
package/dist/tooltip/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
3
|
-
|
|
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:
|
|
25
|
+
declare const Tooltip: React.FunctionComponent<TooltipTypes>;
|
|
25
26
|
|
|
26
27
|
export { Tooltip };
|
package/dist/tooltip/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
3
|
-
|
|
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:
|
|
25
|
+
declare const Tooltip: React.FunctionComponent<TooltipTypes>;
|
|
25
26
|
|
|
26
27
|
export { Tooltip };
|
package/dist/tooltip/index.mjs
CHANGED
|
@@ -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.
|
|
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": {
|