enwawa-ui 2.0.28 → 2.0.31

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # (Fri Sep 22 2023)
2
2
 
3
+ ## 2.0.29
4
+
5
+ ### Patch Changes
6
+
7
+ - 6ad5441: adding minor fixes on form
8
+ - 022d96f: adding list input component to form
9
+
3
10
  ## 2.0.26
4
11
 
5
12
  ### Patch Changes
package/lib/index.d.ts CHANGED
@@ -1756,6 +1756,14 @@ export interface MlInputListProps {
1756
1756
  * The icon for the bottom button
1757
1757
  */
1758
1758
  bottomButtonIcon?: React.ReactNode;
1759
+ /**
1760
+ * The function to fetch the place details
1761
+ */
1762
+ fetchPlaceDetails?: (data: any, id: string) => void;
1763
+ /**
1764
+ * The minimum number of items
1765
+ */
1766
+ minItems?: number;
1759
1767
  }
1760
1768
  export const MlInputList: React.FC<MlInputListProps>;
1761
1769
  export interface OrPlanCardsProps {
@@ -3079,7 +3087,7 @@ export interface OrFormInLineItem {
3079
3087
  /**
3080
3088
  * Type of components available for the form
3081
3089
  */
3082
- component: 'radio' | 'number-input' | 'checkbox' | 'select' | 'select-multiple' | 'text' | 'phone' | 'date-picker' | 'date-range-picker' | 'cvc' | 'name' | 'select-input' | 'info' | 'copy-info' | 'status-info' | 'file-input' | 'collapse' | 'download-upload' | 'summary' | 'qr-code' | 'select-table' | 'google-map' | 'google-autocomplete-search' | 'stepper' | 'input-list' | 'button';
3090
+ component: 'radio' | 'number-input' | 'checkbox' | 'select' | 'select-multiple' | 'text' | 'phone' | 'date-picker' | 'date-range-picker' | 'cvc' | 'name' | 'select-input' | 'info' | 'copy-info' | 'status-info' | 'file-input' | 'collapse' | 'download-upload' | 'summary' | 'qr-code' | 'select-table' | 'google-map' | 'google-autocomplete-search' | 'stepper' | 'input-list' | 'button' | 'image';
3083
3091
  /**
3084
3092
  * Label of the field
3085
3093
  */
@@ -3258,6 +3266,18 @@ export interface OrFormInLineItem {
3258
3266
  * The icon of the button
3259
3267
  */
3260
3268
  icon?: AtButtonProps['icon'];
3269
+ /**
3270
+ * The function to fetch the place details
3271
+ */
3272
+ fetchPlaceDetails?: (data: any, id: string) => void;
3273
+ /**
3274
+ * The minimum number of items
3275
+ */
3276
+ minItems?: number;
3277
+ /**
3278
+ * The props for the image field
3279
+ */
3280
+ imageProps?: AtImageProps;
3261
3281
  }
3262
3282
  export interface OrFormItemsInlineProps {
3263
3283
  inputs?: Array<OrFormInLineItem | Array<OrFormInLineItem | OrFormInLineItem[]>>;