@mbao01/common 0.2.7 → 0.2.10

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.
@@ -3,21 +3,21 @@ import * as ResizablePrimitive from "react-resizable-panels";
3
3
  declare const Resizable: {
4
4
  ({ className, ...props }: ResizableProps): import("react/jsx-runtime").JSX.Element;
5
5
  Panel: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLElement | HTMLAnchorElement | HTMLSpanElement | HTMLButtonElement | HTMLUListElement | HTMLLIElement | HTMLOListElement | HTMLObjectElement | HTMLLinkElement | HTMLSlotElement | HTMLStyleElement | HTMLTitleElement | HTMLMapElement | HTMLDialogElement | HTMLFormElement | HTMLImageElement | HTMLOptionElement | HTMLTableElement | HTMLTimeElement | HTMLBaseElement | HTMLAreaElement | HTMLAudioElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDivElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadingElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLInputElement | HTMLLabelElement | HTMLLegendElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOutputElement | HTMLParagraphElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSourceElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
6
- className?: string | undefined;
6
+ className?: string;
7
7
  collapsedSize?: number | undefined;
8
8
  collapsible?: boolean | undefined;
9
9
  defaultSize?: number | undefined;
10
- id?: string | undefined;
10
+ id?: string;
11
11
  maxSize?: number | undefined;
12
12
  minSize?: number | undefined;
13
- onCollapse?: ResizablePrimitive.PanelOnCollapse | undefined;
14
- onExpand?: ResizablePrimitive.PanelOnExpand | undefined;
15
- onResize?: ResizablePrimitive.PanelOnResize | undefined;
16
- order?: number | undefined;
17
- style?: object | undefined;
13
+ onCollapse?: ResizablePrimitive.PanelOnCollapse;
14
+ onExpand?: ResizablePrimitive.PanelOnExpand;
15
+ onResize?: ResizablePrimitive.PanelOnResize;
16
+ order?: number;
17
+ style?: object;
18
18
  tagName?: keyof HTMLElementTagNameMap | undefined;
19
19
  } & {
20
- children?: import('react').ReactNode;
20
+ children?: import('react').ReactNode | undefined;
21
21
  } & import('react').RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
22
22
  Handle: ({ withHandle, bordered, className, ...props }: ResizableHandleProps) => import("react/jsx-runtime").JSX.Element;
23
23
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mbao01/common",
3
3
  "private": false,
4
- "version": "0.2.7",
4
+ "version": "0.2.10",
5
5
  "type": "module",
6
6
  "author": "Ayomide Bakare",
7
7
  "license": "MIT",
@@ -99,12 +99,12 @@
99
99
  "cmdk": "^1.1.1",
100
100
  "date-fns": "^4.1.0",
101
101
  "embla-carousel-react": "^8.6.0",
102
- "lucide-react": "^0.503.0",
102
+ "lucide-react": "^0.507.0",
103
103
  "react-day-picker": "^9.6.7",
104
104
  "react-dropzone": "^14.3.8",
105
105
  "react-international-phone": "^4.5.0",
106
106
  "react-otp-input": "^3.1.1",
107
- "react-resizable-panels": "^2.1.8",
107
+ "react-resizable-panels": "^3.0.0",
108
108
  "sonner": "^2.0.3",
109
109
  "tailwind-merge": "^3.2.0",
110
110
  "timescape": "^0.7.1",
@@ -112,7 +112,7 @@
112
112
  "vaul": "^1.1.2"
113
113
  },
114
114
  "devDependencies": {
115
- "@eslint/js": "^9.25.1",
115
+ "@eslint/js": "^9.26.0",
116
116
  "@ianvs/prettier-plugin-sort-imports": "^4.4.1",
117
117
  "@storybook/addon-a11y": "^8.6.12",
118
118
  "@storybook/addon-coverage": "^1.0.5",
@@ -128,23 +128,23 @@
128
128
  "@storybook/react-vite": "^8.6.12",
129
129
  "@storybook/test": "^8.6.12",
130
130
  "@storybook/test-runner": "^0.22.0",
131
- "@tailwindcss/postcss": "^4.1.4",
132
- "@tailwindcss/vite": "^4.1.4",
131
+ "@tailwindcss/postcss": "^4.1.5",
132
+ "@tailwindcss/vite": "^4.1.5",
133
133
  "@testing-library/jest-dom": "^6.6.3",
134
134
  "@testing-library/react": "^16.3.0",
135
135
  "@testing-library/user-event": "^14.6.1",
136
136
  "@types/jest-image-snapshot": "^6.4.0",
137
- "@types/node": "^22.14.1",
137
+ "@types/node": "^22.15.3",
138
138
  "@types/react": "^19.1.2",
139
- "@types/react-dom": "^19.1.2",
140
- "@typescript-eslint/eslint-plugin": "^8.31.0",
141
- "@typescript-eslint/parser": "^8.31.0",
139
+ "@types/react-dom": "^19.1.3",
140
+ "@typescript-eslint/eslint-plugin": "^8.31.1",
141
+ "@typescript-eslint/parser": "^8.31.1",
142
142
  "@vitejs/plugin-react": "^4.4.1",
143
143
  "@vitest/coverage-v8": "^3.1.2",
144
144
  "@vitest/ui": "^3.1.2",
145
145
  "axe-playwright": "^2.1.0",
146
- "daisyui": "^5.0.28",
147
- "eslint": "^9.25.1",
146
+ "daisyui": "^5.0.35",
147
+ "eslint": "^9.26.0",
148
148
  "eslint-plugin-react": "^7.37.5",
149
149
  "eslint-plugin-react-hooks": "^5.2.0",
150
150
  "eslint-plugin-react-refresh": "^0.4.20",
@@ -157,13 +157,13 @@
157
157
  "prettier": "^3.5.3",
158
158
  "react": "^19.1.0",
159
159
  "react-dom": "^19.1.0",
160
- "react-router-dom": "^7.5.1",
160
+ "react-router-dom": "^7.5.3",
161
161
  "recharts": "^2.15.3",
162
162
  "storybook": "^8.6.12",
163
- "tailwindcss": "^4.1.4",
163
+ "tailwindcss": "^4.1.5",
164
164
  "typescript": "^5.8.3",
165
- "typescript-eslint": "^8.31.0",
166
- "vite": "^6.3.2",
165
+ "typescript-eslint": "^8.31.1",
166
+ "vite": "^6.3.4",
167
167
  "vite-plugin-dts": "^4.5.3",
168
168
  "vitest": "^3.1.2"
169
169
  },
@@ -174,5 +174,5 @@
174
174
  "recharts": "2",
175
175
  "typescript": "5"
176
176
  },
177
- "gitHead": "f5b1a027168052ff11a16f60f475c0f2879b5e51"
177
+ "gitHead": "844ae95ba12dbd4ef7785a69472bc388504e1321"
178
178
  }
@@ -57,7 +57,7 @@ export const getButtonClasses = cva("btn", {
57
57
  {
58
58
  variant: undefined,
59
59
  outline: true,
60
- className: "border-neutral-content",
60
+ className: "border-base-content/20",
61
61
  },
62
62
  ],
63
63
  });
@@ -28,7 +28,7 @@ const CardTitle = ({ className, ...props }: CardTitleProps) => (
28
28
  );
29
29
 
30
30
  const CardDescription = ({ className, ...props }: CardDescriptionProps) => (
31
- <p className={cn("text-sm text-muted-foreground", className)} {...props} />
31
+ <div className={cn("text-sm text-muted-foreground", className)} {...props} />
32
32
  );
33
33
 
34
34
  const CardBody = ({ className, ...props }: CardBodyProps) => (
@@ -79,7 +79,7 @@ const SelectTrigger = React.forwardRef<
79
79
  return (
80
80
  <label
81
81
  htmlFor={id}
82
- className={cn(getSelectTriggerClasses({ size, variant, outline }), className)}
82
+ className={cn(getSelectTriggerClasses({ size, wide, variant, outline }), className)}
83
83
  >
84
84
  {labelPosition === "start" && <LabelForSelect>{label}</LabelForSelect>}
85
85
  <SelectPrimitive.Trigger id={id} ref={ref} {...props}>
@@ -94,7 +94,7 @@ const SelectTrigger = React.forwardRef<
94
94
  <SelectPrimitive.Trigger
95
95
  id={id}
96
96
  ref={ref}
97
- className={cn(getSelectTriggerClasses({ size, variant, outline }), className)}
97
+ className={cn(getSelectTriggerClasses({ size, wide, variant, outline }), className)}
98
98
  {...props}
99
99
  >
100
100
  {children}