@abdellatifui/react 3.2.81 → 3.2.82

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 (2) hide show
  1. package/dist/nextgen.js +2 -2
  2. package/package.json +1 -1
package/dist/nextgen.js CHANGED
@@ -6372,7 +6372,7 @@ const AlertDialogCancel = React.forwardRef(({ className, ...props }, ref) => /*
6372
6372
  AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
6373
6373
  const ModelContext = createContext({});
6374
6374
  const useRandomId = (length = 8) => {
6375
- return "css-" + Math.random().toString(36).substr(2, length);
6375
+ return "r" + Math.random().toString(36).substr(2, length);
6376
6376
  };
6377
6377
  const GetRandomStr = (options2 = {}) => {
6378
6378
  const {
@@ -28576,7 +28576,7 @@ const ShadcnTabs = forwardRef((props, ref) => {
28576
28576
  theme === "modern" ? "border border-gray-200/60 rounded-md bg-white/50 backdrop-blur-sm p-4 mt-3 shadow-sm" : "border-solid border border-gray-200 p-1 my-1 rounded bg-[#fafafa]",
28577
28577
  bodyClassName
28578
28578
  ), children: _tabs.map((tab) => {
28579
- const id2 = GetRandomStr();
28579
+ const id2 = useRandomId();
28580
28580
  tab.tabs = _tabs;
28581
28581
  tab.props = props;
28582
28582
  if (!tab.value) tab.value = id2;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@abdellatifui/react",
3
3
  "private": false,
4
- "version": "3.2.81",
4
+ "version": "3.2.82",
5
5
  "type": "module",
6
6
  "types": "dist/nextgen.d.ts",
7
7
  "files": [