enwawa-ui 2.4.1 → 2.4.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
@@ -2241,6 +2241,57 @@ export interface OrColProps {
2241
2241
  $flexDirection?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
2242
2242
  }
2243
2243
  export const OrCol: React.FC<OrColProps>;
2244
+ export interface MlDetailsCardProps extends MlCardProps {
2245
+ /**
2246
+ * The items to display
2247
+ */
2248
+ items?: {
2249
+ title: React.ReactNode;
2250
+ content: React.ReactNode;
2251
+ }[];
2252
+ /**
2253
+ * the direction of the card details
2254
+ */
2255
+ direction?: 'row' | 'column';
2256
+ }
2257
+ /**
2258
+ * Primary input UI component for user interaction
2259
+ */
2260
+ export const OrCardDetails: React.FC<MlDetailsCardProps>;
2261
+ export interface MlRequestCardProps extends MlCardProps {
2262
+ /**
2263
+ * The from direction
2264
+ */
2265
+ fromText: string;
2266
+ /**
2267
+ * The to direction
2268
+ */
2269
+ toText: string;
2270
+ /**
2271
+ * The pickup time
2272
+ */
2273
+ fromTime: string;
2274
+ /**
2275
+ * The dropoff time
2276
+ */
2277
+ toTime: string;
2278
+ /**
2279
+ * vehicle spare
2280
+ */
2281
+ vehicle?: React.ReactNode;
2282
+ /**
2283
+ * The request date
2284
+ */
2285
+ date?: string;
2286
+ /**
2287
+ * The component status
2288
+ */
2289
+ leftBadgeStatus?: React.ReactNode;
2290
+ }
2291
+ /**
2292
+ * Primary input UI component for user interaction
2293
+ */
2294
+ export const OrCardRequestSummary: React.FC<MlRequestCardProps>;
2244
2295
  export interface OrCollapseProps {
2245
2296
  /**
2246
2297
  * If true, Collapse renders as an Accordion.
@@ -4545,6 +4596,54 @@ export interface TmRentalsPageProps<FormType = any> {
4545
4596
  disclaimerMessage?: string;
4546
4597
  }
4547
4598
  export const TmRentalsPage: <FormType extends Store>({ formSteps, onValuesChange, currentFormStep, disabledButtons, showFormStepper, $backgroundSrc, disclaimer, disclaimerHref, disclaimerMessage, }: TmRentalsPageProps<FormType>) => import("react/jsx-runtime").JSX.Element;
4599
+ export interface TmRequestsPageProps {
4600
+ username?: string;
4601
+ /**
4602
+ * Main button label
4603
+ */
4604
+ mainButtonLabel?: string;
4605
+ /**
4606
+ * Main button icon
4607
+ */
4608
+ mainButtonIcon?: AtIconProps['name'];
4609
+ /**
4610
+ * Main button label
4611
+ */
4612
+ cancelButtonLabel?: string;
4613
+ /**
4614
+ * cancel button icon
4615
+ */
4616
+ cancelButtonIcon?: AtIconProps['name'];
4617
+ /**
4618
+ * Left arrow click event
4619
+ */
4620
+ onClickLeftArrow?: () => void;
4621
+ /**
4622
+ * Main action click event
4623
+ */
4624
+ onClickMainAction?: () => void;
4625
+ /**
4626
+ * cancel action click event
4627
+ */
4628
+ onClickCancelAction?: () => void;
4629
+ /**
4630
+ * disabled cancel Button
4631
+ */
4632
+ disabledCancelButton?: boolean;
4633
+ /**
4634
+ * disabled Main Button
4635
+ */
4636
+ disabledMainButton?: boolean;
4637
+ /**
4638
+ * left column content
4639
+ */
4640
+ firstColumnContent: React.ReactNode;
4641
+ /**
4642
+ * right column content
4643
+ */
4644
+ secondColumnContent: React.ReactNode;
4645
+ }
4646
+ export const TmRequestsPage: React.FC<TmRequestsPageProps>;
4548
4647
  export interface PaymentMethod {
4549
4648
  value: string;
4550
4649
  icon?: React.ReactNode;