enwawa-ui 2.4.2 → 2.5.2

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
@@ -1122,6 +1122,12 @@ export interface MlBreadcrumbProps {
1122
1122
  separator?: BreadcrumbProps['separator'];
1123
1123
  }
1124
1124
  export const MlBreadcrumb: React.FC<MlBreadcrumbProps>;
1125
+ export interface MlCardIconProps {
1126
+ title: string;
1127
+ icon: AtIconProps['name'];
1128
+ value: string;
1129
+ }
1130
+ export const MlCardIcon: React.FC<MlCardIconProps>;
1125
1131
  export interface MlCarouselProps {
1126
1132
  /**
1127
1133
  * The ID for input
@@ -1713,10 +1719,18 @@ export interface MlRadioGroupProps {
1713
1719
  * orientation
1714
1720
  */
1715
1721
  orientation?: 'horizontal' | 'vertical';
1722
+ /**
1723
+ * card icons group direction
1724
+ */
1725
+ cardsIconOrientation?: 'row' | 'column';
1716
1726
  /**
1717
1727
  * full width
1718
1728
  */
1719
1729
  fullWidth?: boolean;
1730
+ /**
1731
+ * display card checked border
1732
+ */
1733
+ cardChecked?: boolean;
1720
1734
  }
1721
1735
  export const MlRadioGroup: React.FC<MlRadioGroupProps>;
1722
1736
  export interface AtTextInputProps {
@@ -1810,6 +1824,14 @@ export interface MlSearchBoxProps extends AtTextInputProps {
1810
1824
  enterButton?: React.ReactNode;
1811
1825
  }
1812
1826
  export const MlSearchBox: React.FC<MlSearchBoxProps>;
1827
+ export interface MlServicesCardProps {
1828
+ title: string;
1829
+ description: string;
1830
+ price: number;
1831
+ value: string;
1832
+ disabled?: boolean;
1833
+ }
1834
+ export const MlServicesCard: React.FC<MlServicesCardProps>;
1813
1835
  export interface MlTooltipProps {
1814
1836
  /**
1815
1837
  * Children component
@@ -2241,6 +2263,32 @@ export interface OrColProps {
2241
2263
  $flexDirection?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
2242
2264
  }
2243
2265
  export const OrCol: React.FC<OrColProps>;
2266
+ export interface OrBasicUserInfoCardProps extends MlCardProps {
2267
+ /**
2268
+ * User first name
2269
+ */
2270
+ firstName: string;
2271
+ /**
2272
+ * User last name
2273
+ */
2274
+ lastName: string;
2275
+ /**
2276
+ * User phone
2277
+ */
2278
+ phone?: string;
2279
+ /**
2280
+ * User email
2281
+ */
2282
+ email?: string;
2283
+ /**
2284
+ * User avatar
2285
+ */
2286
+ avatar?: string;
2287
+ }
2288
+ /**
2289
+ * Primary input UI component for user interaction
2290
+ */
2291
+ export const OrBasicUserInfoCard: React.FC<OrBasicUserInfoCardProps>;
2244
2292
  export interface MlDetailsCardProps extends MlCardProps {
2245
2293
  /**
2246
2294
  * The items to display
@@ -2258,6 +2306,29 @@ export interface MlDetailsCardProps extends MlCardProps {
2258
2306
  * Primary input UI component for user interaction
2259
2307
  */
2260
2308
  export const OrCardDetails: React.FC<MlDetailsCardProps>;
2309
+ export interface OrCardIconsGroupProps {
2310
+ /**
2311
+ * options onChange event
2312
+ */
2313
+ onChange?: (e: RadioChangeEvent) => void;
2314
+ /**
2315
+ * options
2316
+ */
2317
+ options: Array<MlCardIconProps>;
2318
+ /**
2319
+ * Used for setting the currently selected value
2320
+ */
2321
+ value?: any;
2322
+ /**
2323
+ * card icons group direction
2324
+ */
2325
+ cardsIconOrientation?: 'row' | 'column';
2326
+ /**
2327
+ * disable card icons
2328
+ */
2329
+ disabled?: boolean;
2330
+ }
2331
+ export const OrCardIconsGroup: React.FC<OrCardIconsGroupProps>;
2261
2332
  export interface MlRequestCardProps extends MlCardProps {
2262
2333
  /**
2263
2334
  * The from direction
@@ -4642,8 +4713,13 @@ export interface TmRequestsPageProps {
4642
4713
  * right column content
4643
4714
  */
4644
4715
  secondColumnContent: React.ReactNode;
4716
+ /**
4717
+ * isEditing request
4718
+ */
4719
+ isEditing?: boolean;
4645
4720
  }
4646
4721
  export const TmRequestsPage: React.FC<TmRequestsPageProps>;
4722
+ export const TmRequestsForm: React.FC<TmRequestsPageProps>;
4647
4723
  export interface PaymentMethod {
4648
4724
  value: string;
4649
4725
  icon?: React.ReactNode;
@@ -4930,6 +5006,25 @@ export interface OrRentalVehicleItemProps {
4930
5006
  selectText?: string;
4931
5007
  }
4932
5008
  export const OrRentalVehicleItem: React.FC<OrRentalVehicleItemProps>;
5009
+ export interface OrServiceCardsProps {
5010
+ /**
5011
+ * subscriptions onChange event
5012
+ */
5013
+ onChange?: (e: RadioChangeEvent) => void;
5014
+ /**
5015
+ * services
5016
+ */
5017
+ options: Array<MlSubscriptionCardProps>;
5018
+ /**
5019
+ * Used for setting the currently selected value
5020
+ */
5021
+ value?: any;
5022
+ /**
5023
+ * disable card icons
5024
+ */
5025
+ disabled?: boolean;
5026
+ }
5027
+ export const OrServiceCards: React.FC<OrServiceCardsProps>;
4933
5028
  export interface OrTabsModuleLayoutProps<FormType = any> {
4934
5029
  /**
4935
5030
  * Avatar image