enwawa-ui 2.0.36 → 2.0.38

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,18 @@
1
1
  # (Fri Sep 22 2023)
2
2
 
3
+ ## 2.0.37
4
+
5
+ ### Patch Changes
6
+
7
+ - ff42635: fix OrDescriptions
8
+ - ff42635: adding TmCustomTabsPage, OrTabsModuleLayout and OrDescriptions
9
+
10
+ ## 2.0.36
11
+
12
+ ### Patch Changes
13
+
14
+ - 9a2605c: adding TmCustomTabsPage, OrTabsModuleLayout and OrDescriptions
15
+
3
16
  ## 2.0.35
4
17
 
5
18
  ### Patch Changes
package/lib/index.d.ts CHANGED
@@ -4331,6 +4331,69 @@ export interface TmCustomTabsPageProps<FormType = any> {
4331
4331
  tabsProps: OrTabsProps;
4332
4332
  }
4333
4333
  export const TmCustomTabsPage: <FormType extends Store>({ avatar, username, phone, balanceLabel, balanceValue, infoIcon, infoLabel, infoValue, mainButtonLabel, mainButtonIcon, onClickLeftArrow, onClickMainAction, formSteps, handleCloseCallback, open, drawerTitle, drawerWidth, disabledButtons, currentFormStep, showFormStepper, onValuesChange, tabsProps, }: TmCustomTabsPageProps<FormType>) => import("react/jsx-runtime").JSX.Element;
4334
+ export interface TmDetailsPageProps<FormType = any> {
4335
+ /**
4336
+ * The ID for input
4337
+ */
4338
+ id?: string;
4339
+ /**
4340
+ * Title of the description set
4341
+ */
4342
+ title: string;
4343
+ /**
4344
+ * Whether the table has border or not
4345
+ */
4346
+ bordered?: boolean;
4347
+ /**
4348
+ * Items to display
4349
+ */
4350
+ items: OrDescriptionsProps['items'];
4351
+ /**
4352
+ * Extra content to display
4353
+ */
4354
+ extra?: OrDescriptionsProps['extra'];
4355
+ /**
4356
+ * Form Steps info
4357
+ */
4358
+ formSteps?: IFormStep<FormType>[];
4359
+ /**
4360
+ * On press cancel and close button function
4361
+ */
4362
+ handleCloseCallback?: () => void;
4363
+ /**
4364
+ * State of the drawer
4365
+ */
4366
+ open?: boolean;
4367
+ /**
4368
+ * Drawer Content
4369
+ */
4370
+ drawerContent?: React.ReactNode;
4371
+ /**
4372
+ * Drawer Title
4373
+ */
4374
+ drawerTitle?: React.ReactNode;
4375
+ /**
4376
+ * Drawer Width
4377
+ */
4378
+ drawerWidth?: number;
4379
+ /**
4380
+ * Disable buttons drawer
4381
+ */
4382
+ disabledButtons?: boolean;
4383
+ /**
4384
+ * current step
4385
+ */
4386
+ currentFormStep?: number;
4387
+ /**
4388
+ * button optional text
4389
+ */
4390
+ showFormStepper?: boolean;
4391
+ /**
4392
+ * On change form content
4393
+ */
4394
+ onValuesChange?: OrFormProps['onValuesChange'];
4395
+ }
4396
+ export const TmDetailsPage: <FormType extends Store>({ title, bordered, items, extra, formSteps, handleCloseCallback, open, drawerTitle, drawerWidth, disabledButtons, currentFormStep, showFormStepper, onValuesChange, }: TmDetailsPageProps<FormType>) => import("react/jsx-runtime").JSX.Element;
4334
4397
  export interface PaymentMethod {
4335
4398
  value: string;
4336
4399
  icon?: React.ReactNode;
@@ -4645,11 +4708,11 @@ export interface OrTabsModuleLayoutProps<FormType = any> {
4645
4708
  /**
4646
4709
  * Info label
4647
4710
  */
4648
- infoLabel: string;
4711
+ infoLabel?: string;
4649
4712
  /**
4650
4713
  * Info value
4651
4714
  */
4652
- infoValue: string;
4715
+ infoValue?: string;
4653
4716
  /**
4654
4717
  * Main button label
4655
4718
  */
@@ -4729,6 +4792,10 @@ export interface OrDescriptionsProps extends DescriptionsProps {
4729
4792
  * Items to display
4730
4793
  */
4731
4794
  items: DescriptionsProps['items'];
4795
+ /**
4796
+ * Extra content to display
4797
+ */
4798
+ extra?: DescriptionsProps['extra'];
4732
4799
  }
4733
4800
  export const OrDescriptions: React.FC<OrDescriptionsProps>;
4734
4801
  export interface AtInputStatusProps {