enwawa-ui 2.3.0 → 2.4.0

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
@@ -65,6 +65,24 @@ export interface AtAvatarProps {
65
65
  crossOrigin?: 'anonymous' | 'use-credentials';
66
66
  }
67
67
  export const AtAvatar: React.FC<AtAvatarProps>;
68
+ export interface AtBadgeCardProps {
69
+ /**
70
+ * Placeholder text to display into the input
71
+ */
72
+ ribbonText?: string;
73
+ /**
74
+ * The input content value
75
+ */
76
+ cardText?: string;
77
+ /**
78
+ * The color of the ribbon badge
79
+ */
80
+ color?: string;
81
+ }
82
+ /**
83
+ * Primary input UI component for user interaction
84
+ */
85
+ export const AtBadgeCard: React.FC<AtBadgeCardProps>;
68
86
  export interface AtButtonProps {
69
87
  /**
70
88
  * The ID for input
@@ -851,9 +869,13 @@ export interface OrTicketCardProps {
851
869
  */
852
870
  description?: React.ReactNode;
853
871
  /**
854
- * input value
872
+ * button value
855
873
  */
856
874
  value?: number;
875
+ /**
876
+ * Used for setting the currently selected value for the input card custom type
877
+ */
878
+ inputValue?: any;
857
879
  /**
858
880
  * Button Value
859
881
  */
@@ -1691,6 +1713,10 @@ export interface MlRadioGroupProps {
1691
1713
  * orientation
1692
1714
  */
1693
1715
  orientation?: 'horizontal' | 'vertical';
1716
+ /**
1717
+ * full width
1718
+ */
1719
+ fullWidth?: boolean;
1694
1720
  }
1695
1721
  export const MlRadioGroup: React.FC<MlRadioGroupProps>;
1696
1722
  export interface AtTextInputProps {
@@ -1854,6 +1880,10 @@ export interface OrPlanCardsProps {
1854
1880
  * Plans and Subscriptions
1855
1881
  */
1856
1882
  subscriptions: Array<MlSubscriptionCardProps>;
1883
+ /**
1884
+ * Used for setting the currently selected value
1885
+ */
1886
+ value?: any;
1857
1887
  }
1858
1888
  export const OrPlanCards: React.FC<OrPlanCardsProps>;
1859
1889
  export interface OrCoinTableProps {
@@ -1869,6 +1899,10 @@ export interface OrCoinTableProps {
1869
1899
  * item selected
1870
1900
  */
1871
1901
  itemSelected?: number;
1902
+ /**
1903
+ * Used for setting the currently selected value for the input card custom type
1904
+ */
1905
+ inputValue?: any;
1872
1906
  }
1873
1907
  export const OrCoinTable: React.FC<OrCoinTableProps>;
1874
1908
  export interface OrTicketsProps {
@@ -1895,6 +1929,10 @@ export interface OrTicketsProps {
1895
1929
  * item selected
1896
1930
  */
1897
1931
  itemSelected?: number;
1932
+ /**
1933
+ * Used for setting the currently selected value for the input card custom type
1934
+ */
1935
+ inputValue?: any;
1898
1936
  }
1899
1937
  export const OrTickets: React.FC<OrTicketsProps>;
1900
1938
  export interface OrRowProps {
@@ -3186,7 +3224,7 @@ export interface OrFormInLineItem {
3186
3224
  /**
3187
3225
  * Type of components available for the form
3188
3226
  */
3189
- 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' | 'time-range-picker' | 'autocomplete-search';
3227
+ 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' | 'time-range-picker' | 'autocomplete-search' | 'tabs' | 'descriptions-table' | 'badge-ribbon';
3190
3228
  /**
3191
3229
  * Label of the field
3192
3230
  */
@@ -3236,6 +3274,8 @@ export interface OrFormInLineItem {
3236
3274
  */
3237
3275
  format?: string;
3238
3276
  textProps?: TextProps | Array<TextProps>;
3277
+ tabProps?: OrTabsProps;
3278
+ badgeCardProps?: AtBadgeCardProps;
3239
3279
  onClick?: () => any;
3240
3280
  /**
3241
3281
  * Limit the number of uploaded files. Will replace current one when maxCount is 1
@@ -3382,6 +3422,10 @@ export interface OrFormInLineItem {
3382
3422
  * The props for the time range picker
3383
3423
  */
3384
3424
  timeRangePickerProps?: AtTimeRangePickerProps;
3425
+ /**
3426
+ * The props for the time range picker
3427
+ */
3428
+ descriptionsTableProps?: DescriptionsProps;
3385
3429
  /**
3386
3430
  * Allow auto clear for a select field
3387
3431
  */