@delightui/components 0.1.42 → 0.1.44

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.
package/dist/index.d.ts CHANGED
@@ -688,6 +688,7 @@ type SliderProps = React.HTMLAttributes<HTMLDivElement> & {
688
688
 
689
689
  declare const Slider: (props: SliderProps) => React__default.JSX.Element;
690
690
 
691
+ type AccordionSizeEnum = 'Small' | 'Medium' | 'Large';
691
692
  type AccordionSummaryProps = {
692
693
  children: ReactNode;
693
694
  className?: string;
@@ -710,6 +711,11 @@ type AccordionDetailsProps = {
710
711
  type AccordionProps = {
711
712
  children: ReactNode;
712
713
  className?: string;
714
+ /**
715
+ * The size of the accordion.
716
+ * @default 'Medium'
717
+ */
718
+ size?: AccordionSizeEnum;
713
719
  /**
714
720
  * Whether the accordion is expanded by default.
715
721
  * @default false
@@ -1310,6 +1316,7 @@ declare const useField: <T extends FieldValue = FieldValue>(props: UseFieldProps
1310
1316
  requiredField: boolean | undefined;
1311
1317
  invalidField: boolean | undefined;
1312
1318
  formFieldId: string | undefined;
1319
+ name: string | undefined;
1313
1320
  };
1314
1321
 
1315
1322
  declare const FormField: (props: FormFieldProviderProps & FormFieldProps) => React__default.JSX.Element;
@@ -1394,16 +1401,16 @@ declare const Modal: (props: ModalProps) => React__default.JSX.Element;
1394
1401
 
1395
1402
  /**
1396
1403
  * Defines the type of modal footer layout.
1397
- * @default "1 button"
1404
+ * @default "1Button"
1398
1405
  */
1399
- type ModalFooterTypeEnum = "1 button" | "2 buttons";
1406
+ type ModalFooterTypeEnum = "1Button" | "2Buttons";
1400
1407
  /**
1401
1408
  * Props for the ModalFooter component.
1402
1409
  */
1403
1410
  type ModalFooterProps = Omit<HTMLAttributes<HTMLDivElement>, 'style'> & {
1404
1411
  /**
1405
1412
  * Determines whether the footer contains one or two buttons.
1406
- * @default "1 button"
1413
+ * @default "1Button"
1407
1414
  */
1408
1415
  type?: ModalFooterTypeEnum;
1409
1416
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delightui/components",
3
- "version": "0.1.42",
3
+ "version": "0.1.44",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "vite",