@delightui/components 0.1.43 → 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delightui/components",
3
- "version": "0.1.43",
3
+ "version": "0.1.44",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "vite",