enwawa-ui 2.0.9 → 2.0.11

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/lib/index.d.ts CHANGED
@@ -818,6 +818,10 @@ export interface MlCardProps {
818
818
  * align self for the card
819
819
  */
820
820
  $alignSelf?: 'center' | 'flex-start' | 'flex-end' | 'stretch' | 'baseline';
821
+ /**
822
+ * margin for the card
823
+ */
824
+ $margin?: number | 'auto';
821
825
  }
822
826
  /**
823
827
  * Primary input UI component for user interaction
@@ -3027,6 +3031,7 @@ export interface OrFormInLineItem {
3027
3031
  * file list for the file-input component
3028
3032
  */
3029
3033
  fileList?: MlUploadProps['fileList'];
3034
+ noStyle?: boolean;
3030
3035
  }
3031
3036
  export interface OrFormItemsInlineProps {
3032
3037
  inputs?: Array<OrFormInLineItem | Array<OrFormInLineItem | OrFormInLineItem[]>>;
@@ -3776,6 +3781,32 @@ export interface TmMapPageProps {
3776
3781
  realtimeMarkers?: MarkersArray[];
3777
3782
  }
3778
3783
  export const TmMapPage: React.FC<TmMapPageProps>;
3784
+ export interface OrRentalLayoutProps {
3785
+ /**
3786
+ * Children component
3787
+ */
3788
+ children?: React.ReactNode;
3789
+ /**
3790
+ * Background source
3791
+ */
3792
+ $backgroundSrc?: string;
3793
+ }
3794
+ export const OrRentalLayout: React.FC<OrRentalLayoutProps>;
3795
+ export interface TmQuoteResultPageProps {
3796
+ /**
3797
+ * Background source
3798
+ */
3799
+ $backgroundSrc?: string;
3800
+ /**
3801
+ * Rental result
3802
+ */
3803
+ rentalResult: OrRentalResultProps;
3804
+ /**
3805
+ * Rental vehicle item
3806
+ */
3807
+ rentalVehicleItem: OrRentalVehicleItemProps;
3808
+ }
3809
+ export const TmQuoteResultPage: ({ $backgroundSrc, rentalResult, rentalVehicleItem }: TmQuoteResultPageProps) => import("react/jsx-runtime").JSX.Element;
3779
3810
  export interface TmRechargePageProps<FormType = any> {
3780
3811
  /**
3781
3812
  * Page title
@@ -3950,17 +3981,6 @@ export interface TmRechargePageProps<FormType = any> {
3950
3981
  rate?: number;
3951
3982
  }
3952
3983
  export const TmRechargePage: <FormType extends Store>({ title, subtitle, balance, cardTitle, fontSize, height, ruleAmount, form, initialValues, onFinish, amountPlaceholder, currenciesOptions, defaultCurrency, amountToPayText, amountToPay, couponText, discount, totalText, taxText, tax, payBtn, drawerTitle, open, paymentMethods, currentPaymentSelectedFields, disabledButton, showPaymentMethods, termsDisclaimer, onCloseDrawer, showLeftArrow, onClickLeftArrow, editable, rate, values }: TmRechargePageProps<FormType>) => import("react/jsx-runtime").JSX.Element;
3953
- export interface OrRentalLayoutProps {
3954
- /**
3955
- * Children component
3956
- */
3957
- children?: React.ReactNode;
3958
- /**
3959
- * Background source
3960
- */
3961
- $backgroundSrc?: string;
3962
- }
3963
- export const OrRentalLayout: React.FC<OrRentalLayoutProps>;
3964
3984
  export interface TmRentalsPageProps<FormType = any> {
3965
3985
  /**
3966
3986
  * Form Steps info
@@ -4223,6 +4243,10 @@ export interface OrRentalResultProps {
4223
4243
  * Number of minimum passengers required
4224
4244
  */
4225
4245
  minPassengersRequired: string;
4246
+ /**
4247
+ * The max width of the card
4248
+ */
4249
+ $maxWidth?: number;
4226
4250
  }
4227
4251
  export const OrRentalResult: React.FC<OrRentalResultProps>;
4228
4252
  export interface OrRentalVehicleItemProps {
@@ -4245,6 +4269,13 @@ export interface OrRentalVehicleItemProps {
4245
4269
  icon: AtIconProps['name'];
4246
4270
  text: string;
4247
4271
  }[];
4272
+ /**
4273
+ * The extras of the vehicle
4274
+ */
4275
+ extras: {
4276
+ label: string;
4277
+ text: string;
4278
+ }[];
4248
4279
  /**
4249
4280
  * The price of the vehicle
4250
4281
  */
@@ -4253,6 +4284,10 @@ export interface OrRentalVehicleItemProps {
4253
4284
  * The on click event
4254
4285
  */
4255
4286
  onClick: () => void;
4287
+ /**
4288
+ * The max width of the card
4289
+ */
4290
+ $maxWidth?: number;
4256
4291
  }
4257
4292
  export const OrRentalVehicleItem: React.FC<OrRentalVehicleItemProps>;
4258
4293
  export interface AtInputStatusProps {