@sqrzro/ui 4.0.0-alpha.67 → 4.0.0-alpha.69

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.
@@ -15,5 +15,5 @@ export type PageProps<T extends Fn | undefined = undefined> = {
15
15
  readonly template?: (props: PageTemplateProps) => React.ReactElement;
16
16
  readonly title?: React.ReactNode | ((data: T extends Fn ? FnReturn<T> : null, pageProps?: NextPageProps) => React.ReactNode);
17
17
  };
18
- declare function Page<T extends Fn | undefined = undefined>(props: PageProps<T>): import("react/jsx-runtime").JSX.Element;
18
+ declare function Page<T extends Fn | undefined = undefined>(props: PageProps<T>): import("react").JSX.Element;
19
19
  export default Page;
@@ -7,7 +7,6 @@ function calculateWidth(text) {
7
7
  return text.length * characterWidth + padding;
8
8
  }
9
9
  async function MailButton({ children, href, styles, }) {
10
- console.log('MailButton', { children, href, styles });
11
10
  const mailConfig = getMailConfig({ styles });
12
11
  const calculatedWidth = calculateWidth(children);
13
12
  return (_jsx("div", { dangerouslySetInnerHTML: {
@@ -8,7 +8,7 @@ declare function createUIContext<TClassNames extends object, TIcons extends obje
8
8
  icons: TIcons;
9
9
  };
10
10
  children: React.ReactNode;
11
- }) => import("react/jsx-runtime").JSX.Element;
11
+ }) => import("react").JSX.Element;
12
12
  useClassNames: <K extends keyof TClassNames>(component: K, config?: {
13
13
  props?: Record<string, boolean>;
14
14
  states?: Record<string, boolean>;
@@ -21,7 +21,7 @@ export declare const UIProvider: ({ data, children }: {
21
21
  icons: UIIcons;
22
22
  };
23
23
  children: React.ReactNode;
24
- }) => import("react/jsx-runtime").JSX.Element, useClassNames: <K extends keyof UIClassNames>(component: K, config?: {
24
+ }) => import("react").JSX.Element, useClassNames: <K extends keyof UIClassNames>(component: K, config?: {
25
25
  props?: Record<string, boolean>;
26
26
  states?: Record<string, boolean>;
27
27
  } | undefined, overrides?: UIClassNames[K] | undefined) => ExtractClassNames<UIClassNames[K]>, useIcon: <K extends keyof UIIcons>(component: K) => UIIcons[K];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sqrzro/ui",
3
3
  "type": "module",
4
- "version": "4.0.0-alpha.67",
4
+ "version": "4.0.0-alpha.69",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "ISC",
@@ -51,29 +51,29 @@
51
51
  ],
52
52
  "dependencies": {
53
53
  "clsx": "^2.1.1",
54
- "drizzle-orm": "^0.45.1",
55
- "next": "^16.2.0",
56
- "react": "^19.2.4",
57
- "react-dom": "^19.2.4",
58
- "tailwind-merge": "^3.5.0",
54
+ "drizzle-orm": "^0.45.2",
55
+ "next": "^16.2.10",
56
+ "react": "^19.2.7",
57
+ "react-dom": "^19.2.7",
58
+ "tailwind-merge": "^3.6.0",
59
59
  "use-deep-compare-effect": "^1.8.1",
60
- "@sqrzro/addons": "^4.0.0-alpha.10",
61
- "@sqrzro/utility": "^4.0.0-alpha.19"
60
+ "@sqrzro/utility": "^4.0.0-alpha.20",
61
+ "@sqrzro/addons": "^4.0.0-alpha.13"
62
62
  },
63
63
  "devDependencies": {
64
- "@storybook/addon-a11y": "^10.3.1",
65
- "@storybook/addon-docs": "^10.3.1",
66
- "@storybook/nextjs": "^10.3.1",
64
+ "@storybook/addon-a11y": "^10.4.6",
65
+ "@storybook/addon-docs": "^10.4.6",
66
+ "@storybook/nextjs": "^10.4.6",
67
67
  "@testing-library/react": "^16.3.2",
68
68
  "@testing-library/user-event": "^14.6.1",
69
- "@types/react": "^19.2.14",
69
+ "@types/react": "^19.2.17",
70
70
  "@types/react-dom": "^19.2.3",
71
- "concurrently": "^9.2.1",
71
+ "concurrently": "^9.2.3",
72
72
  "cpx": "^1.5.0",
73
73
  "next-router-mock": "^1.0.5",
74
74
  "rimraf": "^6.1.3",
75
- "storybook": "^10.3.1",
76
- "tsc-alias": "^1.8.16",
75
+ "storybook": "^10.4.6",
76
+ "tsc-alias": "^1.9.0",
77
77
  "tslib": "^2.8.1",
78
78
  "typescript": "^5.9.3"
79
79
  },