elseware-ui 2.22.1 → 2.22.3

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.
Files changed (40) hide show
  1. package/README.md +35 -0
  2. package/build/components/data-display/avatar/Avatar.d.ts +7 -9
  3. package/build/components/data-display/badge/Badge.d.ts +8 -10
  4. package/build/components/data-display/banners/TitleBanner.d.ts +6 -13
  5. package/build/components/data-display/banners/index.d.ts +1 -2
  6. package/build/components/data-display/brand/Brand.d.ts +4 -5
  7. package/build/components/data-display/charts/bar-chart/BarChart.d.ts +2 -2
  8. package/build/components/data-display/charts/line-chart/LineChart.d.ts +6 -5
  9. package/build/components/data-display/charts/pie-chart/PieChart.d.ts +2 -2
  10. package/build/components/data-display/chip/Chip.d.ts +7 -7
  11. package/build/components/data-display/flag/Flag.d.ts +4 -6
  12. package/build/components/data-display/flag/index.d.ts +1 -1
  13. package/build/components/data-display/graphs/Graph.d.ts +4 -3
  14. package/build/components/data-display/graphs/com/GraphEdge.d.ts +8 -0
  15. package/build/components/data-display/graphs/com/GraphNode.d.ts +8 -0
  16. package/build/components/data-display/graphs/com/GraphRenderer.d.ts +11 -0
  17. package/build/components/data-display/graphs/index.d.ts +3 -3
  18. package/build/components/data-display/graphs/layouts/gridLayout.d.ts +15 -1
  19. package/build/components/data-display/graphs/layouts/index.d.ts +1 -0
  20. package/build/components/data-display/graphs/layouts/registry.d.ts +14 -0
  21. package/build/components/data-display/graphs/layouts/treeLayout.d.ts +2 -1
  22. package/build/components/data-display/graphs/types.d.ts +1 -1
  23. package/build/components/data-display/image/cloudinary-image/CloudinaryImage.d.ts +3 -3
  24. package/build/components/data-display/image/image/Image.d.ts +3 -3
  25. package/build/components/data-display/info/Info.d.ts +7 -5
  26. package/build/components/data-display/lists/List.d.ts +19 -4
  27. package/build/components/data-display/lists/ListItem.d.ts +10 -10
  28. package/build/components/data-display/lists/index.d.ts +2 -1
  29. package/build/data/enums.d.ts +3 -0
  30. package/build/data/styles.d.ts +70 -0
  31. package/build/index.d.ts +2 -0
  32. package/build/index.es.js +3803 -520
  33. package/build/index.js +3778 -492
  34. package/build/interfaces/components.d.ts +4 -0
  35. package/build/interfaces/index.d.ts +1 -0
  36. package/build/types/components.d.ts +16 -0
  37. package/build/types/index.d.ts +1 -0
  38. package/build/utils/cn.d.ts +2 -0
  39. package/build/utils/index.d.ts +1 -0
  40. package/package.json +2 -1
@@ -0,0 +1,4 @@
1
+ import { HTMLAttributes } from "react";
2
+ export interface BaseComponentProps extends HTMLAttributes<HTMLDivElement> {
3
+ className?: string;
4
+ }
@@ -0,0 +1 @@
1
+ export * from "./components";
@@ -0,0 +1,16 @@
1
+ export type Variant = "default" | "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "light" | "dark";
2
+ export type Shape = "circle" | "roundedSquare" | "softRoundedSquare" | "square";
3
+ export type Size = "xs" | "sm" | "md" | "lg" | "xl";
4
+ export type Appearance = "solid" | "lite" | "ghost";
5
+ export type TextDecoration = "underline" | "overline" | "lineThrough" | "noUnderline";
6
+ export type HyperRefTarget = "blank" | "self" | "parent" | "top";
7
+ type Vertical = "top" | "bottom";
8
+ type Horizontal = "left" | "right";
9
+ export type CardinalPosition = Vertical | Horizontal;
10
+ export type CornerPosition = `${Vertical}-${Horizontal}`;
11
+ export type OctilePosition = CardinalPosition | CornerPosition;
12
+ export type TitleBannerLevel = 1 | 2;
13
+ export type ListBulletType = "dot" | "diamond" | "number" | "none";
14
+ export type ListAlign = "start" | "center";
15
+ export type ListDirection = "vertical" | "horizontal";
16
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./components";
@@ -0,0 +1,2 @@
1
+ import { ClassValue } from "clsx";
2
+ export declare function cn(...inputs: ClassValue[]): string;
@@ -1 +1,2 @@
1
+ export * from "./cn";
1
2
  export * from "./currency";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elseware-ui",
3
- "version": "2.22.1",
3
+ "version": "2.22.3",
4
4
  "private": false,
5
5
  "description": "A modern and customizable React UI component library by elseware Technology.",
6
6
  "keywords": [
@@ -79,6 +79,7 @@
79
79
  "react-simple-maps": "^3.0.0",
80
80
  "react-toastify": "^10.0.5",
81
81
  "react-world-flags": "^1.6.0",
82
+ "tailwind-merge": "^3.5.0",
82
83
  "yup": "^1.3.3"
83
84
  },
84
85
  "devDependencies": {