@ah-automation.nl/component-lib 0.0.94 → 0.0.96

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.
@@ -1,4 +1,4 @@
1
1
  import * as React from "react";
2
2
  import type { SectionCardProps } from "@/types/section-card";
3
- export declare function SectionCard({ title, description, action, children, footer, size, className, headerClassName, titleClassName, descriptionClassName, contentClassName, footerClassName, }: SectionCardProps): React.ReactElement;
3
+ export declare function SectionCard({ title, description, action, children, footer, size, className, headerClassName, titleClassName, descriptionClassName, contentClassName, footerClassName, ...props }: SectionCardProps): React.ReactElement;
4
4
  //# sourceMappingURL=section-card.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"section-card.d.ts","sourceRoot":"","sources":["../../src/components/section-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAY7D,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,WAAW,EACX,MAAM,EACN,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,SAAS,EACT,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,GAChB,EAAE,gBAAgB,GAAG,KAAK,CAAC,YAAY,CAqBvC"}
1
+ {"version":3,"file":"section-card.d.ts","sourceRoot":"","sources":["../../src/components/section-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAY7D,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,WAAW,EACX,MAAM,EACN,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,SAAS,EACT,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,EACf,GAAG,KAAK,EACT,EAAE,gBAAgB,GAAG,KAAK,CAAC,YAAY,CAqBvC"}
package/dist/index.js CHANGED
@@ -23414,7 +23414,7 @@ function Qfe({
23414
23414
  {
23415
23415
  "data-slot": "dialog-content",
23416
23416
  className: I(
23417
- "fixed top-1/2 left-1/2 z-50 w-200 -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-6 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 overflow-hidden flex flex-col max-h-[min(94svh,1100px)]",
23417
+ "fixed top-1/2 left-1/2 z-50 w-200 -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-background p-6 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 overflow-hidden flex flex-col max-h-[min(94svh,1100px)]",
23418
23418
  e
23419
23419
  ),
23420
23420
  ...r,
@@ -41150,9 +41150,10 @@ function j0e({
41150
41150
  titleClassName: u,
41151
41151
  descriptionClassName: c,
41152
41152
  contentClassName: d,
41153
- footerClassName: f
41153
+ footerClassName: f,
41154
+ ...h
41154
41155
  }) {
41155
- return /* @__PURE__ */ U(lue, { size: a, className: o, children: [
41156
+ return /* @__PURE__ */ U(lue, { size: a, className: o, ...h, children: [
41156
41157
  /* @__PURE__ */ U(sue, { className: l, children: [
41157
41158
  /* @__PURE__ */ x(uue, { className: u, children: e }),
41158
41159
  t != null ? /* @__PURE__ */ x(cue, { className: c, children: t }) : null,
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from "react";
1
+ import type { ComponentProps, ReactNode } from "react";
2
2
  export type SectionCardProps = {
3
3
  title: ReactNode;
4
4
  description?: ReactNode;
@@ -12,5 +12,5 @@ export type SectionCardProps = {
12
12
  descriptionClassName?: string;
13
13
  contentClassName?: string;
14
14
  footerClassName?: string;
15
- };
15
+ } & Omit<ComponentProps<"div">, "title">;
16
16
  //# sourceMappingURL=section-card.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"section-card.d.ts","sourceRoot":"","sources":["../../src/types/section-card.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC"}
1
+ {"version":3,"file":"section-card.d.ts","sourceRoot":"","sources":["../../src/types/section-card.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ah-automation.nl/component-lib",
3
- "version": "0.0.94",
3
+ "version": "0.0.96",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",