@lctafrica/ui 1.2.0 → 1.2.1

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.
@@ -2,4 +2,4 @@ import { ModalProps } from '../modal/Modal';
2
2
  import { ModalThemeVariantsProps } from '../modal/modal-theme-variants';
3
3
  import { ModalFooterProps } from '../ModalFooter';
4
4
  export type ConfirmModalProps = ModalProps & ModalFooterProps & ModalThemeVariantsProps;
5
- export declare function ConfirmModal({ onCancel, onConfirm, confirmButtonLabel, cancelButtonLabel, children, headerLeft, headingClassName, descriptionClassName, className, variant, ...rest }: ConfirmModalProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function ConfirmModal({ onCancel, onConfirm, confirmButtonLabel, cancelButtonLabel, children, headerLeft, titleClassName, descriptionClassName, className, variant, ...rest }: ConfirmModalProps): import("react/jsx-runtime").JSX.Element;
@@ -6,9 +6,9 @@ export type ModalProps = {
6
6
  description?: string;
7
7
  children?: ReactNode;
8
8
  className?: string;
9
- headingClassName?: string;
9
+ titleClassName?: string;
10
10
  descriptionClassName?: string;
11
11
  shouldShowCloseButton?: boolean;
12
12
  headerLeft?: ReactNode;
13
13
  };
14
- export declare function Modal({ isOpen, onClose, description, title, children, className, descriptionClassName, headingClassName, shouldShowCloseButton, headerLeft, }: ModalProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function Modal({ isOpen, onClose, description, title, children, className, descriptionClassName, titleClassName, shouldShowCloseButton, headerLeft, }: ModalProps): import("react/jsx-runtime").JSX.Element;
@@ -6,4 +6,4 @@ export type PromptModalProps = Omit<ModalProps, "children"> & Omit<ModalFooterPr
6
6
  promptPlaceHolder?: string;
7
7
  onConfirm(promptInput: string): void;
8
8
  } & ModalThemeVariantsProps;
9
- export declare function PromptModal({ onCancel, onConfirm, confirmButtonLabel, cancelButtonLabel, promptLabel, promptPlaceHolder, variant, headingClassName, descriptionClassName, className, ...rest }: PromptModalProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function PromptModal({ onCancel, onConfirm, confirmButtonLabel, cancelButtonLabel, promptLabel, promptPlaceHolder, variant, titleClassName, descriptionClassName, className, ...rest }: PromptModalProps): import("react/jsx-runtime").JSX.Element;
package/dist/index.js CHANGED
@@ -11927,7 +11927,7 @@ function Wc({
11927
11927
  children: n,
11928
11928
  className: i,
11929
11929
  descriptionClassName: a,
11930
- headingClassName: s,
11930
+ titleClassName: s,
11931
11931
  shouldShowCloseButton: l = !0,
11932
11932
  headerLeft: c
11933
11933
  }) {
@@ -12007,7 +12007,7 @@ function LM({
12007
12007
  cancelButtonLabel: o = "Cancel",
12008
12008
  children: n,
12009
12009
  headerLeft: i,
12010
- headingClassName: a,
12010
+ titleClassName: a,
12011
12011
  descriptionClassName: s,
12012
12012
  className: l,
12013
12013
  variant: c = "informative",
@@ -12018,7 +12018,7 @@ function LM({
12018
12018
  {
12019
12019
  headerLeft: i || /* @__PURE__ */ v(Zx, { variant: c }),
12020
12020
  className: M("min-w-175 pr-10", l),
12021
- headingClassName: M("text-gray-600 font-normal", a),
12021
+ titleClassName: M("text-gray-600 font-normal", a),
12022
12022
  descriptionClassName: M(
12023
12023
  "text-lct-medium-text text-base",
12024
12024
  s
@@ -27433,7 +27433,7 @@ function eT({
27433
27433
  promptLabel: n,
27434
27434
  promptPlaceHolder: i,
27435
27435
  variant: a = "informative",
27436
- headingClassName: s,
27436
+ titleClassName: s,
27437
27437
  descriptionClassName: l,
27438
27438
  className: c,
27439
27439
  ...u
@@ -27448,7 +27448,7 @@ function eT({
27448
27448
  Wc,
27449
27449
  {
27450
27450
  className: M("min-w-175", c),
27451
- headingClassName: M("text-gray-600 font-normal", s),
27451
+ titleClassName: M("text-gray-600 font-normal", s),
27452
27452
  descriptionClassName: M(
27453
27453
  "text-lct-medium-text text-base",
27454
27454
  l
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lctafrica/ui",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",