@razorpay/blade 11.18.3 → 11.19.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.
Files changed (101) hide show
  1. package/build/lib/native/components/Button/BaseButton/BaseButton.js +1 -1
  2. package/build/lib/native/components/Button/BaseButton/BaseButton.js.map +1 -1
  3. package/build/lib/native/components/Button/BaseButton/buttonTokens.js +1 -1
  4. package/build/lib/native/components/Button/BaseButton/buttonTokens.js.map +1 -1
  5. package/build/lib/native/components/DatePicker/DatePicker.native.js +7 -0
  6. package/build/lib/native/components/DatePicker/DatePicker.native.js.map +1 -0
  7. package/build/lib/native/components/index.js +1 -0
  8. package/build/lib/native/components/index.js.map +1 -1
  9. package/build/lib/native/tokens/global/size.js +1 -1
  10. package/build/lib/native/tokens/global/size.js.map +1 -1
  11. package/build/lib/native/utils/metaAttribute/metaConstants.js +1 -1
  12. package/build/lib/native/utils/metaAttribute/metaConstants.js.map +1 -1
  13. package/build/lib/web/development/components/BottomSheet/BottomSheetBody.web.js +6 -4
  14. package/build/lib/web/development/components/BottomSheet/BottomSheetBody.web.js.map +1 -1
  15. package/build/lib/web/development/components/Button/BaseButton/BaseButton.js +1 -1
  16. package/build/lib/web/development/components/Button/BaseButton/BaseButton.js.map +1 -1
  17. package/build/lib/web/development/components/Button/BaseButton/buttonTokens.js +2 -2
  18. package/build/lib/web/development/components/Button/BaseButton/buttonTokens.js.map +1 -1
  19. package/build/lib/web/development/components/DatePicker/Calendar.web.js +182 -0
  20. package/build/lib/web/development/components/DatePicker/Calendar.web.js.map +1 -0
  21. package/build/lib/web/development/components/DatePicker/CalendarFooter.web.js +46 -0
  22. package/build/lib/web/development/components/DatePicker/CalendarFooter.web.js.map +1 -0
  23. package/build/lib/web/development/components/DatePicker/CalendarHeader.web.js +162 -0
  24. package/build/lib/web/development/components/DatePicker/CalendarHeader.web.js.map +1 -0
  25. package/build/lib/web/development/components/DatePicker/CalendarStyles.web.js +310 -0
  26. package/build/lib/web/development/components/DatePicker/CalendarStyles.web.js.map +1 -0
  27. package/build/lib/web/development/components/DatePicker/DateInput.web.js +185 -0
  28. package/build/lib/web/development/components/DatePicker/DateInput.web.js.map +1 -0
  29. package/build/lib/web/development/components/DatePicker/DatePicker.web.js +364 -0
  30. package/build/lib/web/development/components/DatePicker/DatePicker.web.js.map +1 -0
  31. package/build/lib/web/development/components/DatePicker/QuickSelection/PresetSideBar.web.js +86 -0
  32. package/build/lib/web/development/components/DatePicker/QuickSelection/PresetSideBar.web.js.map +1 -0
  33. package/build/lib/web/development/components/DatePicker/QuickSelection/QuickSelectionItem.web.js +43 -0
  34. package/build/lib/web/development/components/DatePicker/QuickSelection/QuickSelectionItem.web.js.map +1 -0
  35. package/build/lib/web/development/components/DatePicker/constants.js +22 -0
  36. package/build/lib/web/development/components/DatePicker/constants.js.map +1 -0
  37. package/build/lib/web/development/components/DatePicker/index.js +2 -0
  38. package/build/lib/web/development/components/DatePicker/index.js.map +1 -0
  39. package/build/lib/web/development/components/DatePicker/useControlledDates.js +75 -0
  40. package/build/lib/web/development/components/DatePicker/useControlledDates.js.map +1 -0
  41. package/build/lib/web/development/components/DatePicker/useDatesState.js +149 -0
  42. package/build/lib/web/development/components/DatePicker/useDatesState.js.map +1 -0
  43. package/build/lib/web/development/components/DatePicker/usePopup.js +90 -0
  44. package/build/lib/web/development/components/DatePicker/usePopup.js.map +1 -0
  45. package/build/lib/web/development/components/DatePicker/utils.js +39 -0
  46. package/build/lib/web/development/components/DatePicker/utils.js.map +1 -0
  47. package/build/lib/web/development/components/index.js +2 -0
  48. package/build/lib/web/development/components/index.js.map +1 -1
  49. package/build/lib/web/development/tokens/global/size.js +2 -0
  50. package/build/lib/web/development/tokens/global/size.js.map +1 -1
  51. package/build/lib/web/development/utils/getFocusRingStyles/getFocusRingStyles.web.js +6 -3
  52. package/build/lib/web/development/utils/getFocusRingStyles/getFocusRingStyles.web.js.map +1 -1
  53. package/build/lib/web/development/utils/metaAttribute/metaConstants.js +2 -0
  54. package/build/lib/web/development/utils/metaAttribute/metaConstants.js.map +1 -1
  55. package/build/lib/web/production/components/BottomSheet/BottomSheetBody.web.js +6 -4
  56. package/build/lib/web/production/components/BottomSheet/BottomSheetBody.web.js.map +1 -1
  57. package/build/lib/web/production/components/Button/BaseButton/BaseButton.js +1 -1
  58. package/build/lib/web/production/components/Button/BaseButton/BaseButton.js.map +1 -1
  59. package/build/lib/web/production/components/Button/BaseButton/buttonTokens.js +2 -2
  60. package/build/lib/web/production/components/Button/BaseButton/buttonTokens.js.map +1 -1
  61. package/build/lib/web/production/components/DatePicker/Calendar.web.js +182 -0
  62. package/build/lib/web/production/components/DatePicker/Calendar.web.js.map +1 -0
  63. package/build/lib/web/production/components/DatePicker/CalendarFooter.web.js +46 -0
  64. package/build/lib/web/production/components/DatePicker/CalendarFooter.web.js.map +1 -0
  65. package/build/lib/web/production/components/DatePicker/CalendarHeader.web.js +162 -0
  66. package/build/lib/web/production/components/DatePicker/CalendarHeader.web.js.map +1 -0
  67. package/build/lib/web/production/components/DatePicker/CalendarStyles.web.js +310 -0
  68. package/build/lib/web/production/components/DatePicker/CalendarStyles.web.js.map +1 -0
  69. package/build/lib/web/production/components/DatePicker/DateInput.web.js +185 -0
  70. package/build/lib/web/production/components/DatePicker/DateInput.web.js.map +1 -0
  71. package/build/lib/web/production/components/DatePicker/DatePicker.web.js +364 -0
  72. package/build/lib/web/production/components/DatePicker/DatePicker.web.js.map +1 -0
  73. package/build/lib/web/production/components/DatePicker/QuickSelection/PresetSideBar.web.js +86 -0
  74. package/build/lib/web/production/components/DatePicker/QuickSelection/PresetSideBar.web.js.map +1 -0
  75. package/build/lib/web/production/components/DatePicker/QuickSelection/QuickSelectionItem.web.js +43 -0
  76. package/build/lib/web/production/components/DatePicker/QuickSelection/QuickSelectionItem.web.js.map +1 -0
  77. package/build/lib/web/production/components/DatePicker/constants.js +22 -0
  78. package/build/lib/web/production/components/DatePicker/constants.js.map +1 -0
  79. package/build/lib/web/production/components/DatePicker/index.js +2 -0
  80. package/build/lib/web/production/components/DatePicker/index.js.map +1 -0
  81. package/build/lib/web/production/components/DatePicker/useControlledDates.js +75 -0
  82. package/build/lib/web/production/components/DatePicker/useControlledDates.js.map +1 -0
  83. package/build/lib/web/production/components/DatePicker/useDatesState.js +149 -0
  84. package/build/lib/web/production/components/DatePicker/useDatesState.js.map +1 -0
  85. package/build/lib/web/production/components/DatePicker/usePopup.js +90 -0
  86. package/build/lib/web/production/components/DatePicker/usePopup.js.map +1 -0
  87. package/build/lib/web/production/components/DatePicker/utils.js +39 -0
  88. package/build/lib/web/production/components/DatePicker/utils.js.map +1 -0
  89. package/build/lib/web/production/components/index.js +2 -0
  90. package/build/lib/web/production/components/index.js.map +1 -1
  91. package/build/lib/web/production/tokens/global/size.js +2 -0
  92. package/build/lib/web/production/tokens/global/size.js.map +1 -1
  93. package/build/lib/web/production/utils/getFocusRingStyles/getFocusRingStyles.web.js +6 -3
  94. package/build/lib/web/production/utils/getFocusRingStyles/getFocusRingStyles.web.js.map +1 -1
  95. package/build/lib/web/production/utils/metaAttribute/metaConstants.js +2 -0
  96. package/build/lib/web/production/utils/metaAttribute/metaConstants.js.map +1 -1
  97. package/build/types/components/index.d.ts +1240 -526
  98. package/build/types/components/index.native.d.ts +549 -405
  99. package/build/types/tokens/index.d.ts +2 -0
  100. package/build/types/tokens/index.native.d.ts +2 -0
  101. package/package.json +7 -3
@@ -7,6 +7,8 @@ import { CSSObject } from 'styled-components';
7
7
  import { ReactDOMAttributes } from '@use-gesture/react/dist/declarations/src/types';
8
8
  import { CurrencyCodeType } from '@razorpay/i18nify-js/currency';
9
9
  import * as csstype from 'csstype';
10
+ import { DatePickerProps as DatePickerProps$1, DayOfWeek, DatesRangeValue } from '@mantine/dates';
11
+ export { DateValue, DatesRangeValue } from '@mantine/dates';
10
12
  import { Placement, UseFloatingOptions } from '@floating-ui/react';
11
13
  import { CountryCodeType } from '@razorpay/i18nify-js';
12
14
  import { Toast } from 'react-hot-toast';
@@ -3733,13 +3735,14 @@ type BottomSheetBodyProps = {
3733
3735
  * - Docs: https://blade.razorpay.com/?path=/docs/tokens-spacing--page
3734
3736
  */
3735
3737
  padding?: Extract<SpacingValueType, 'spacing.0' | 'spacing.5'>;
3738
+ overflow?: BaseBoxProps['overflow'];
3736
3739
  };
3737
3740
 
3738
3741
  declare const BottomSheetHeader: ({ title, subtitle, leading, titleSuffix, trailing, showBackButton, onBackButtonClick, children, }: BottomSheetHeaderProps) => React__default.ReactElement;
3739
3742
 
3740
3743
  declare const BottomSheetFooter: ({ children }: BaseFooterProps) => React__default.ReactElement;
3741
3744
 
3742
- declare const BottomSheetBody: ({ children, padding, }: BottomSheetBodyProps) => React__default.ReactElement;
3745
+ declare const BottomSheetBody: ({ children, padding, overflow, }: BottomSheetBodyProps) => React__default.ReactElement;
3743
3746
 
3744
3747
  declare const BottomSheet: ({ isOpen, onDismiss, children, initialFocusRef, snapPoints, zIndex, }: BottomSheetProps) => React__default.ReactElement;
3745
3748
 
@@ -6241,641 +6244,1320 @@ declare const DrawerBody: ({ children }: {
6241
6244
  children: React__default.ReactNode;
6242
6245
  }) => React__default.ReactElement;
6243
6246
 
6244
- type DropdownProps = {
6247
+ type FormInputLabelProps = {
6245
6248
  /**
6246
- * Control open / close state of the Dropdown component
6247
- *
6248
- * This can be used to close the dropdown when button in the footer of dropdown is clicked
6249
+ * Label to be shown for the input field
6249
6250
  */
6250
- isOpen?: boolean;
6251
+ label?: string;
6251
6252
  /**
6252
- * Callback when open state of the dropdown changes
6253
+ * Desktop only prop. Default value on mobile will be `top`
6253
6254
  */
6254
- onOpenChange?: (isOpen: boolean) => void;
6255
- selectionType?: 'single' | 'multiple';
6256
- children: React__default.ReactNode[];
6257
- } & TestID & StyledPropsBlade;
6258
- type DropdownOverlayProps = {
6259
- children: React__default.ReactElement[] | React__default.ReactElement;
6255
+ labelPosition?: 'left' | 'top';
6260
6256
  /**
6261
- * Sets the z-index of the DropdownOverlay
6257
+ * Displays `(optional)` when `optional` is passed or `*` when `required` is passed
6258
+ */
6259
+ necessityIndicator?: 'required' | 'optional' | 'none';
6260
+ };
6261
+
6262
+ type FormInputOnEvent = ({ name, value }: {
6263
+ name?: string;
6264
+ value?: string;
6265
+ }) => void;
6266
+ type FormInputHandleOnKeyDownEvent = ({ name, key, code, event, }: FormInputOnKeyDownEvent) => void;
6267
+ type FormInputOnKeyDownEvent = {
6268
+ name?: string;
6269
+ key?: string;
6270
+ code?: string;
6271
+ event: KeyboardEvent<HTMLInputElement>;
6272
+ };
6273
+ type FormInputValidationProps = {
6274
+ /**
6275
+ * Help text for the input
6276
+ */
6277
+ helpText?: string;
6278
+ /**
6279
+ * Error text for the input
6262
6280
  *
6263
- * @default 1001
6281
+ * Renders when `validationState` is set to 'error'
6264
6282
  */
6265
- zIndex?: number;
6266
- width?: BoxProps['width'];
6283
+ errorText?: string;
6267
6284
  /**
6268
- * Reference to the element which triggers the DropdownOverlay
6285
+ * success text for the input
6269
6286
  *
6270
- * This is used to position the DropdownOverlay relative to a specific element,
6271
- * for example in PhoneNumberInput the DropdownOverlay is positioned relative to the input element
6287
+ * Renders when `validationState` is set to 'success'
6272
6288
  */
6273
- referenceRef?: React__default.MutableRefObject<ContainerElementType | null>;
6289
+ successText?: string;
6274
6290
  /**
6275
- * Sets the placement of the DropdownOverlay
6291
+ * If `error`, the input is marked as invalid,
6292
+ * and `invalid` attribute will be added
6293
+ *
6294
+ * If `success`, the input is marked as valid,
6276
6295
  *
6277
- * @default 'bottom-start'
6278
6296
  */
6279
- defaultPlacement?: Placement;
6280
- } & TestID;
6281
-
6282
- declare const Dropdown: ({ children, isOpen: isOpenControlled, onOpenChange, selectionType, testID, ...styledProps }: DropdownProps) => React__default.ReactElement;
6283
-
6284
- declare const DropdownOverlay: ({ children, testID, zIndex, width, referenceRef, defaultPlacement, }: DropdownOverlayProps) => React__default.ReactElement | null;
6285
-
6286
- type DropdownButtonProps = ButtonProps & {
6287
- onBlur?: BaseButtonProps['onBlur'];
6288
- onKeyDown?: BaseButtonProps['onKeyDown'];
6289
- };
6290
- declare const DropdownButton: ({ children, icon, iconPosition, isDisabled, isFullWidth, isLoading, onClick, onBlur, onKeyDown, size, type, variant, accessibilityLabel, testID, ...styledProps }: DropdownButtonProps) => React__default.ReactElement;
6291
-
6292
- type DropdownLinkProps = LinkButtonVariantProps & {
6293
- onBlur?: BaseLinkProps['onBlur'];
6294
- onKeyDown?: BaseLinkProps['onKeyDown'];
6297
+ validationState?: 'success' | 'error' | 'none';
6295
6298
  };
6296
- declare const DropdownLink: ({ children, icon, iconPosition, onClick, onBlur, onKeyDown, isDisabled, href, target, rel, accessibilityLabel, size, testID, hitSlop, htmlTitle, ...styledProps }: DropdownLinkProps) => React__default.ReactElement;
6297
-
6298
- type DropdownHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'trailing' | 'titleSuffix' | 'testID'>;
6299
- declare const DropdownHeader: ({ title, subtitle, leading, titleSuffix, trailing, testID, }: DropdownHeaderProps) => React__default.ReactElement;
6300
- type DropdownFooter = Pick<BaseFooterProps, 'children' | 'testID'>;
6301
- declare const DropdownFooter: ({ children, testID }: DropdownFooter) => React__default.ReactElement;
6302
6299
 
6303
- interface BladeFile extends File {
6300
+ type CommonAutoCompleteSuggestionTypes = 'none' | 'name' | 'email' | 'username' | 'password' | 'newPassword' | 'oneTimeCode' | 'telephone' | 'postalCode' | 'countryName' | 'creditCardNumber' | 'creditCardCSC' | 'creditCardExpiry' | 'creditCardExpiryMonth' | 'creditCardExpiryYear';
6301
+ type WebAutoCompleteSuggestionType = CommonAutoCompleteSuggestionTypes | 'on';
6302
+ type BaseInputCommonProps = FormInputLabelProps & FormInputValidationProps & {
6304
6303
  /**
6305
- * The unique identifier of the file.
6304
+ * Determines if it needs to be rendered as input, textarea or button
6306
6305
  */
6307
- id?: string;
6306
+ as?: 'input' | 'textarea' | 'button';
6308
6307
  /**
6309
- * The file's upload status.
6308
+ * ID that will be used for accessibility
6310
6309
  */
6311
- status?: 'uploading' | 'success' | 'error';
6310
+ id: string;
6312
6311
  /**
6313
- * The percentage of file upload completion.
6312
+ * Placeholder text to be displayed inside the input field
6314
6313
  */
6315
- uploadPercent?: number;
6314
+ placeholder?: string;
6316
6315
  /**
6317
- * Text indicating an error state
6316
+ * Type of Input Field to be rendered.
6317
+ *
6318
+ * @default text
6318
6319
  */
6319
- errorText?: string;
6320
- }
6321
- type BladeFileList = BladeFile[];
6322
- type FileUploadCommonProps = {
6320
+ type?: 'text' | 'telephone' | 'email' | 'url' | 'number' | 'search' | 'password';
6323
6321
  /**
6324
- * Position of the label relative to the file upload area. Desktop only prop. Default value on mobile will be 'top'
6322
+ * Used to set the default value of input field when it's uncontrolled
6323
+ */
6324
+ defaultValue?: string;
6325
+ /**
6326
+ * The name of the input field.
6325
6327
  *
6326
- * @default 'top'
6328
+ * Useful in form submissions
6327
6329
  */
6328
- labelPosition?: 'top' | 'left';
6330
+ name?: string;
6329
6331
  /**
6330
- * Defines the upload behavior of the FileUpload component
6332
+ * The callback function to be invoked when the input field gets focus
6331
6333
  */
6332
- uploadType?: 'single' | 'multiple';
6334
+ onFocus?: FormInputOnEvent;
6333
6335
  /**
6334
- * File types that can be accepted. See [input's accept attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept)
6335
- *
6336
- * Usage: accept=".jpg, .png, .pdf", accept="image/*", accept="image/png, image/jpeg, application/pdf"
6336
+ * The callback function to be invoked when the value of the input field changes
6337
6337
  */
6338
- accept?: string;
6338
+ onChange?: FormInputOnEvent;
6339
6339
  /**
6340
- * Disables or enables the FileUpload component
6340
+ * The callback function to be invoked when input is clicked
6341
6341
  */
6342
- isDisabled?: boolean;
6342
+ onClick?: FormInputOnEvent;
6343
6343
  /**
6344
- * Sets the required state of the file input
6344
+ * The callback function to be invoked when the value of the input field has any input
6345
+ */
6346
+ onInput?: FormInputOnEvent;
6347
+ /**
6348
+ * The callback function to be invoked whenever there is a keyDown event
6349
+ */
6350
+ onKeyDown?: FormInputHandleOnKeyDownEvent;
6351
+ /**
6352
+ * The callback function to be invoked when the the input field loses focus
6345
6353
  *
6346
- * @default false
6354
+ * For React Native this will call `onEndEditing` event since we want to get the last value of the input field
6347
6355
  */
6348
- isRequired?: boolean;
6356
+ onBlur?: FormInputOnEvent;
6349
6357
  /**
6350
- * Renders a necessity indicator after the label. If `isRequired` is `true`, it defaults to `'required'`
6358
+ * Ignores the blur event animation (Used in Select to ignore blur animation when item in option is clicked)
6351
6359
  */
6352
- necessityIndicator?: 'required' | 'optional' | 'none';
6360
+ shouldIgnoreBlurAnimation?: boolean;
6353
6361
  /**
6354
- * The name of the file upload input, [useful in form submissions](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)
6362
+ * sets boolean that ignores the blur animations on baseinput
6355
6363
  */
6356
- name?: string;
6364
+ setShouldIgnoreBlurAnimation?: (shouldIgnoreBlurAnimation: boolean) => void;
6357
6365
  /**
6358
- * List of files that have been selected/uploaded, useful when the component is controlled
6366
+ * Used to turn the input field to controlled so user can control the value
6359
6367
  */
6360
- fileList?: BladeFileList;
6368
+ value?: string;
6361
6369
  /**
6362
- * Limit the number of files that can be uploaded
6370
+ * Used to disable the input field
6363
6371
  */
6364
- maxCount?: number;
6372
+ isDisabled?: boolean;
6365
6373
  /**
6366
- * Limit the size of the uploaded files (in bytes)
6374
+ * If true, the input is marked as required, and `required` attribute will be added
6367
6375
  */
6368
- maxSize?: number;
6376
+ isRequired?: boolean;
6369
6377
  /**
6370
- * Callback function triggered when files are selected
6378
+ * Icon to be shown at the start of the input field
6371
6379
  */
6372
- onChange?: ({ name, fileList }: {
6373
- name?: string;
6374
- fileList: BladeFileList;
6375
- }) => void;
6380
+ leadingIcon?: IconComponent;
6376
6381
  /**
6377
- * Callback function triggered when the preview icon is clicked
6382
+ * Prefix symbol to be displayed at the beginning of the input field. If leadingIcon is provided it'll be placed after it
6378
6383
  */
6379
- onPreview?: ({ file }: {
6380
- file: File;
6381
- }) => void;
6384
+ prefix?: string;
6382
6385
  /**
6383
- * Callback function triggered when a file is removed
6386
+ * Element to be rendered before suffix. This is decided by the component which is extending BaseInput
6387
+ *
6388
+ * eg: consumers can render a loader or they could render a clear button
6384
6389
  */
6385
- onRemove?: ({ file }: {
6386
- file: File;
6387
- }) => void;
6390
+ trailingInteractionElement?: ReactNode;
6388
6391
  /**
6389
- * Callback function triggered when a file upload is dismissed
6392
+ * Element to be rendered before prefix. This is decided by the component which is extending BaseInput
6393
+ *
6394
+ * eg: consumers can render a country selector or button
6390
6395
  */
6391
- onDismiss?: ({ file }: {
6392
- file: File;
6393
- }) => void;
6396
+ leadingInteractionElement?: ReactNode;
6394
6397
  /**
6395
- * Callback function executed when files are dropped into the upload area
6398
+ * Suffix symbol to be displayed at the end of the input field. If trailingIcon is provided it'll be placed before it
6396
6399
  */
6397
- onDrop?: ({ name, fileList }: {
6398
- name?: string;
6399
- fileList: BladeFileList;
6400
- }) => void;
6400
+ suffix?: string;
6401
6401
  /**
6402
- * State indicating whether there is an error in the FileUpload component
6402
+ * Icon to be displayed at the end of the input field
6403
6403
  */
6404
- validationState?: 'none' | 'error';
6404
+ trailingIcon?: IconComponent;
6405
6405
  /**
6406
- * Additional text providing assistance or guidance
6406
+ * Displays the character counter under the input field
6407
6407
  */
6408
- helpText?: string;
6408
+ maxCharacters?: number;
6409
6409
  /**
6410
- * Text indicating an error state
6410
+ * alignment of the text inside input field
6411
6411
  */
6412
- errorText?: string;
6412
+ textAlign?: 'left' | 'center' | 'right';
6413
6413
  /**
6414
- * Size of the FileUpload component
6414
+ * If true, focuses the input field on load
6415
6415
  *
6416
- * @default 'medium'
6416
+ * **Note:**
6417
+ * Automatically focusing a form control can confuse visually-impaired people using screen-reading technology and people with cognitive impairments.
6418
+ * When autofocus is assigned, screen-readers "teleport" their user to the form control without warning them beforehand.
6417
6419
  */
6418
- size?: 'medium' | 'large';
6420
+ autoFocus?: boolean;
6419
6421
  /**
6420
- * Test ID for automation
6422
+ * Hints the platform to display an appropriate virtual keyboard
6423
+ *
6424
+ * **Native:** Passes as is the `keyboardType` attribute
6425
+ *
6426
+ * **Web:** Passes the value to the `inputMode` attribute
6421
6427
  */
6422
- testID?: string;
6423
- };
6424
- type FileUploadPropsWithA11yLabel = {
6428
+ keyboardType?: 'text' | 'search' | 'telephone' | 'email' | 'url' | 'decimal';
6425
6429
  /**
6426
- * Label to be shown for the input field
6430
+ * determines what return key to show on the keyboard of mobile devices/virtual keyboard
6431
+ * **Note**: Few values are platform dependent and might not render on all the platforms
6432
+ *
6433
+ * `default` is only available on native. it'll be mapped to `enter` for web
6434
+ * `previous` is only available on native android
6427
6435
  */
6428
- label?: undefined;
6436
+ keyboardReturnKeyType?: 'default' | 'go' | 'done' | 'next' | 'previous' | 'search' | 'send';
6429
6437
  /**
6430
- * Accessibility label for the input
6438
+ * Element to be rendered on the trailing slot of input field label
6431
6439
  */
6432
- accessibilityLabel: string;
6433
- };
6434
- type FileUploadPropsWithLabel = {
6440
+ trailingHeaderSlot?: (value?: string) => ReactNode;
6435
6441
  /**
6436
- * Label to be shown for the input field
6442
+ * Element to be rendered on the trailing slot of input field footer
6437
6443
  */
6438
- label: string;
6444
+ trailingFooterSlot?: (value?: string) => ReactNode;
6439
6445
  /**
6440
- * Accessibility label for the input
6446
+ * Sets the textarea's number of lines
6447
+ */
6448
+ numberOfLines?: 2 | 3 | 4 | 5;
6449
+ /**
6450
+ * Sets the accessibility label for the input
6441
6451
  */
6442
6452
  accessibilityLabel?: string;
6443
- };
6444
- type FileUploadProps = (FileUploadPropsWithA11yLabel | FileUploadPropsWithLabel) & FileUploadCommonProps;
6445
-
6446
- /**
6447
- * ### FileUpload Component
6448
- *
6449
- * The FileUpload component is used to handle file attachments, including the drag-and-drop interaction.
6450
- * Primarily, it is used to upload files to a server or to display a list of uploaded files.
6451
- *
6452
- * ---
6453
- *
6454
- * #### Usage
6455
- *
6456
- * ```jsx
6457
- const GSTForm = () => {
6458
- const [selectedFile, setSelectedFile] = useState<BladeFile>();
6459
- const [isLoading, setIsLoading] = useState(false);
6460
-
6461
- return (
6462
- <Box>
6463
- <Heading marginBottom="spacing.4">Add GST Details</Heading>
6464
- <form encType="multipart/form-data" onSubmit={handleSubmit}>
6465
- <FileUpload
6466
- uploadType="single"
6467
- label="Upload GST"
6468
- helpText="Upload .jpg, .jpeg, or .png file only"
6469
- accept=".jpg, .jpeg, .png"
6470
- onChange={({ fileList }) => {
6471
- setSelectedFile(fileList[0]);
6472
- }}
6473
- onDrop={({ fileList }) => {
6474
- setSelectedFile(fileList[0]);
6475
- }}
6476
- isRequired
6477
- necessityIndicator="required"
6478
- />
6479
- <Button type="submit" variant="primary">
6480
- Submit
6481
- </Button>
6482
- {isLoading && (
6483
- <ProgressBar isIndeterminate label="Uploading your GST Certificate..." />
6484
- )}
6485
- </form>
6486
- </Box>
6487
- );
6488
- }
6489
- * ```
6490
- *
6491
- * ---
6492
- *
6493
- * Checkout {@link https://blade.razorpay.com/?path=/docs/components-fileupload FileUpload Documentation}
6494
- *
6495
- */
6496
- declare const FileUpload: React$1.ForwardRefExoticComponent<FileUploadProps & React$1.RefAttributes<BladeElementRef>>;
6497
-
6498
- type IndicatorCommonProps = {
6499
6453
  /**
6500
- * Sets the color tone
6454
+ * Sets the id of the label
6501
6455
  *
6502
- * @default neutral
6456
+ * (Useful when assigning one label to multiple elements using aria-labelledby)
6503
6457
  */
6504
- color?: FeedbackColors | 'primary';
6458
+ labelId?: string;
6505
6459
  /**
6506
- * Sets the emphasis of the indicator
6460
+ * Can be used in select to set the id of the active descendant from the listbox
6461
+ */
6462
+ activeDescendant?: string;
6463
+ /**
6464
+ * Hides the label text
6465
+ */
6466
+ hideLabelText?: boolean;
6467
+ /**
6468
+ * Hides the form hint text
6469
+ */
6470
+ hideFormHint?: boolean;
6471
+ /**
6472
+ * componentName prop sets the data-blade-component attribute name
6473
+ * for internal metric collection purposes
6474
+ */
6475
+ componentName?: string;
6476
+ /**
6477
+ * whether the input has a popup
6478
+ */
6479
+ hasPopup?: AriaAttributes['hasPopup'];
6480
+ /**
6481
+ * id of the popup
6482
+ */
6483
+ popupId?: string;
6484
+ /**
6485
+ * true if popup is in expanded state
6486
+ */
6487
+ isPopupExpanded?: boolean;
6488
+ setInputWrapperRef?: (node: ContainerElementType) => void;
6489
+ /**
6490
+ * sets the autocapitalize behavior for the input
6491
+ */
6492
+ autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
6493
+ /**
6494
+ * constraints the height of input to given number rows
6507
6495
  *
6508
- * If set to intense it will show a background circle
6496
+ * When set to expandable, input takes 1 row in the begining and expands to take 3 when active
6509
6497
  *
6510
- * @default subtle
6498
+ * @default 'single'
6511
6499
  */
6512
- emphasis?: 'subtle' | 'intense';
6500
+ maxTagRows?: 'single' | 'multiple' | 'expandable';
6513
6501
  /**
6514
- * Size of the indicator
6515
- *
6516
- * @default medium
6502
+ * A slot for adding tags to input
6517
6503
  */
6518
- size?: 'small' | 'medium' | 'large';
6519
- } & TestID & StyledPropsBlade;
6520
- type IndicatorWithoutA11yLabel = {
6504
+ tags?: React__default.ReactElement[] | null;
6521
6505
  /**
6522
- * A text label to show alongside the indicator dot
6506
+ * Disables stripping of tags and shows all tags
6523
6507
  */
6524
- children: StringChildrenType;
6508
+ showAllTags?: boolean;
6525
6509
  /**
6526
- * a11y label for screen readers
6510
+ * State variable of active tag index
6527
6511
  */
6528
- accessibilityLabel?: string;
6529
- };
6530
- type IndicatorWithA11yLabel = {
6512
+ activeTagIndex?: number;
6531
6513
  /**
6532
- * a11y label for screen readers
6514
+ * Is this input SelectInput or AutoComplete
6533
6515
  */
6534
- accessibilityLabel: string;
6516
+ isDropdownTrigger?: boolean;
6535
6517
  /**
6536
- * A text label to show alongside the indicator dot
6518
+ * Is the label expected to be rendered inside input?
6519
+ * Used in AutoComplete and Select when label can't exist outside
6520
+ *
6537
6521
  */
6538
- children?: StringChildrenType;
6539
- };
6540
- type IndicatorProps = IndicatorCommonProps & (IndicatorWithA11yLabel | IndicatorWithoutA11yLabel);
6541
- declare const Indicator: ({ accessibilityLabel, children, size, color, emphasis, testID, ...styledProps }: IndicatorProps) => ReactElement;
6542
-
6543
- type FormInputLabelProps = {
6522
+ isLabelInsideInput?: boolean;
6523
+ /**
6524
+ * State setter for active tag index
6525
+ */
6526
+ setActiveTagIndex?: (activeTagIndex: number) => void;
6527
+ /**
6528
+ * Sets the size of the input field
6529
+ * @default medium
6530
+ */
6531
+ size?: 'medium' | 'large';
6532
+ /**
6533
+ * Link button to be rendered at the end of the input field.
6534
+ * **Note:** `size` of the Link will be set to the same size as the input field, `isDisabled` will follow Input's `isDisabled`, & `variant` will be set to `button`.
6535
+ * Example:
6536
+ * ```tsx
6537
+ * trailingButton={<Link onClick={handleClick}>Apply</Link>}
6538
+ * ```
6539
+ */
6540
+ trailingButton?: React__default.ReactElement<LinkProps>;
6541
+ /**
6542
+ * Whether to use Text or Heading component for Input text
6543
+ * @default text
6544
+ **/
6545
+ valueComponentType?: 'text' | 'heading';
6546
+ } & TestID & Platform.Select<{
6547
+ native: {
6548
+ /**
6549
+ * The callback function to be invoked when the value of the input field is submitted.
6550
+ */
6551
+ onSubmit?: FormInputOnEvent;
6552
+ /**
6553
+ * determines what autoComplete suggestion type to show
6554
+ *
6555
+ * Internally it'll render platform specific attributes:
6556
+ *
6557
+ * - web: `autocomplete`
6558
+ * - iOS: `textContentType`
6559
+ * - android: `autoComplete`
6560
+ *
6561
+ */
6562
+ autoCompleteSuggestionType?: CommonAutoCompleteSuggestionTypes;
6563
+ };
6564
+ web: {
6565
+ /**
6566
+ * This is a react-native only prop and has no effect on web.
6567
+ */
6568
+ onSubmit?: undefined;
6569
+ /**
6570
+ * determines what autoComplete suggestion type to show
6571
+ *
6572
+ * Internally it'll render platform specific attributes:
6573
+ *
6574
+ * - web: `autocomplete`
6575
+ * - iOS: `textContentType`
6576
+ * - android: `autoComplete`
6577
+ *
6578
+ */
6579
+ autoCompleteSuggestionType?: WebAutoCompleteSuggestionType;
6580
+ };
6581
+ }> & StyledPropsBlade;
6582
+ type BaseInputPropsWithA11yLabel = {
6544
6583
  /**
6545
6584
  * Label to be shown for the input field
6546
6585
  */
6547
- label?: string;
6586
+ label?: undefined;
6548
6587
  /**
6549
- * Desktop only prop. Default value on mobile will be `top`
6588
+ * Accessibility label for the input
6550
6589
  */
6551
- labelPosition?: 'left' | 'top';
6590
+ accessibilityLabel: string;
6591
+ };
6592
+ type BaseInputPropsWithLabel = {
6552
6593
  /**
6553
- * Displays `(optional)` when `optional` is passed or `*` when `required` is passed
6594
+ * Label to be shown for the input field
6554
6595
  */
6555
- necessityIndicator?: 'required' | 'optional' | 'none';
6596
+ label: string;
6597
+ /**
6598
+ * Accessibility label for the input
6599
+ */
6600
+ accessibilityLabel?: string;
6556
6601
  };
6602
+ type BaseInputProps = (BaseInputPropsWithA11yLabel | BaseInputPropsWithLabel) & BaseInputCommonProps;
6557
6603
 
6558
- type FormInputOnEvent = ({ name, value }: {
6559
- name?: string;
6560
- value?: string;
6561
- }) => void;
6562
- type FormInputHandleOnKeyDownEvent = ({ name, key, code, event, }: FormInputOnKeyDownEvent) => void;
6563
- type FormInputOnKeyDownEvent = {
6564
- name?: string;
6565
- key?: string;
6566
- code?: string;
6567
- event: KeyboardEvent<HTMLInputElement>;
6604
+ type TaggedInputProps = {
6605
+ isTaggedInput?: boolean;
6606
+ tags?: string[];
6607
+ onTagChange?: ({ tags }: {
6608
+ tags: string[];
6609
+ }) => void;
6568
6610
  };
6569
- type FormInputValidationProps = {
6611
+
6612
+ type Type = Exclude<BaseInputProps['type'], 'password'>;
6613
+ type TextInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'necessityIndicator' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'isDisabled' | 'isRequired' | 'prefix' | 'suffix' | 'maxCharacters' | 'autoFocus' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'onSubmit' | 'autoCapitalize' | 'testID' | 'onClick' | 'size' | 'leadingIcon' | 'trailingButton' | 'trailingIcon'> & {
6570
6614
  /**
6571
- * Help text for the input
6615
+ * Decides whether to render a clear icon button
6572
6616
  */
6573
- helpText?: string;
6617
+ showClearButton?: boolean;
6574
6618
  /**
6575
- * Error text for the input
6576
- *
6577
- * Renders when `validationState` is set to 'error'
6619
+ * Event handler to handle the onClick event for clear button. Used when `showClearButton` is `true`
6578
6620
  */
6579
- errorText?: string;
6621
+ onClearButtonClick?: () => void;
6580
6622
  /**
6581
- * success text for the input
6582
- *
6583
- * Renders when `validationState` is set to 'success'
6623
+ * Decides whether to show a loading spinner for the input field.
6584
6624
  */
6585
- successText?: string;
6625
+ isLoading?: boolean;
6586
6626
  /**
6587
- * If `error`, the input is marked as invalid,
6588
- * and `invalid` attribute will be added
6589
- *
6590
- * If `success`, the input is marked as valid,
6591
- *
6627
+ * Icon that will be rendered at the beginning of the input field
6628
+ * @deprecated Use `leadingIcon` instead. This prop will be removed in the next major version.
6592
6629
  */
6593
- validationState?: 'success' | 'error' | 'none';
6630
+ icon?: IconComponent;
6631
+ /**
6632
+ * Type of Input Field to be rendered. Use `PasswordInput` for type `password`
6633
+ *
6634
+ *
6635
+ * **Note on number type**
6636
+ *
6637
+ * `type="number"` internally uses `inputMode="numeric"` instead of HTML's `type="number"` which also allows text characters.
6638
+ * If you have a usecase where you only want to support number input, you can handle it on validations end.
6639
+ *
6640
+ * Check out [Why the GOV.UK Design System team changed the input type for numbers](https://technology.blog.gov.uk/2020/02/24/why-the-gov-uk-design-system-team-changed-the-input-type-for-numbers/) for reasoning
6641
+ *
6642
+ * @default text
6643
+ */
6644
+ type?: Type;
6645
+ } & TaggedInputProps & StyledPropsBlade;
6646
+ type TextInputPropsWithA11yLabel = {
6647
+ /**
6648
+ * Label to be shown for the input field
6649
+ */
6650
+ label?: undefined;
6651
+ /**
6652
+ * Accessibility label for the input
6653
+ */
6654
+ accessibilityLabel: string;
6655
+ };
6656
+ type TextInputPropsWithLabel = {
6657
+ /**
6658
+ * Label to be shown for the input field
6659
+ */
6660
+ label: string;
6661
+ /**
6662
+ * Accessibility label for the input
6663
+ */
6664
+ accessibilityLabel?: string;
6665
+ };
6666
+ type TextInputProps = (TextInputPropsWithA11yLabel | TextInputPropsWithLabel) & TextInputCommonProps;
6667
+ declare const TextInput: React__default.ForwardRefExoticComponent<TextInputProps & React__default.RefAttributes<BladeElementRef>>;
6668
+
6669
+ type Level = 'month' | 'year' | 'decade';
6670
+ type PickerType = 'day' | 'month' | 'year';
6671
+ type Preset = {
6672
+ /**
6673
+ * Label for the preset
6674
+ *
6675
+ * @example 'Last 7 days'
6676
+ */
6677
+ label: string;
6678
+ /**
6679
+ * Value can be a range of dates
6680
+ *
6681
+ * @example with range selection
6682
+ * [dayjs().subtract(7, 'day'), dayjs()]
6683
+ */
6684
+ value: (date: Date) => DatesRangeValue;
6685
+ };
6686
+ type DateSelectionType = 'single' | 'range';
6687
+ type MantineInternalProps = '__onDayMouseEnter' | '__onDayClick' | 'getDayProps' | 'getYearControlProps' | 'getMonthControlProps' | 'onMouseLeave';
6688
+ type CalendarProps<SelectionType extends DateSelectionType> = Pick<DatePickerProps$1<SelectionType extends 'single' ? 'default' : 'range'>, MantineInternalProps | 'value' | 'defaultValue' | 'onChange' | 'onMonthSelect' | 'onYearSelect'> & {
6689
+ /**
6690
+ * Sets the selection mode of the calendar
6691
+ * @default 'single'
6692
+ */
6693
+ selectionType?: SelectionType;
6694
+ /**
6695
+ * Sets the picker type
6696
+ * @default 'date'
6697
+ */
6698
+ picker?: PickerType;
6699
+ /**
6700
+ * Sets the default picker type
6701
+ */
6702
+ defaultPicker?: PickerType;
6703
+ /**
6704
+ * Callback which fires when picker type changes
6705
+ */
6706
+ onPickerChange?: (picker: PickerType) => void;
6707
+ /**
6708
+ * Controlled isOpen state
6709
+ */
6710
+ isOpen?: boolean;
6711
+ /**
6712
+ * Uncontrolled isOpen state
6713
+ */
6714
+ defaultIsOpen?: boolean;
6715
+ /**
6716
+ * Callback which fires when isOpen state changes
6717
+ */
6718
+ onOpenChange?: ({ isOpen }: {
6719
+ isOpen: boolean;
6720
+ }) => void;
6721
+ /**
6722
+ * Defines presets for the date picker
6723
+ *
6724
+ * @example with single selection
6725
+ * [
6726
+ * { label: 'In 7 days', value: dayjs().add(7, 'day') },
6727
+ * { label: 'In a month', value: dayjs().add(1, 'month') },
6728
+ * ]
6729
+ *
6730
+ * @example with range selection
6731
+ * [
6732
+ * { label: 'Last 7 days', value: [dayjs().subtract(7, 'day'), dayjs()] },
6733
+ * { label: 'Last month', value: [dayjs().subtract(1, 'month'), dayjs()] },
6734
+ * ]
6735
+ */
6736
+ presets?: Preset[];
6737
+ /**
6738
+ * Sets the first day of the week in the calendar.
6739
+ *
6740
+ * 0-6 (0=Sunday, 1=Monday, etc.)
6741
+ * @default 1
6742
+ */
6743
+ firstDayOfWeek?: DayOfWeek;
6744
+ /**
6745
+ * Sets the minimum date that can be selected.
6746
+ */
6747
+ minDate?: Date;
6748
+ /**
6749
+ * Sets the maximum date that can be selected.
6750
+ */
6751
+ maxDate?: Date;
6752
+ /**
6753
+ * Disables dates that do not pass the function.
6754
+ */
6755
+ excludeDate?: (date: Date) => boolean;
6756
+ /**
6757
+ * Determines whether single date can be selected as range, applicable only when type="range"
6758
+ * @default false
6759
+ */
6760
+ allowSingleDateInRange?: boolean;
6761
+ /**
6762
+ * Callback which is called whenever the next button is clicked.
6763
+ *
6764
+ * @param date - The updated date.
6765
+ * @param type - The level of the calendar. ("month" | "year" | "decade")
6766
+ */
6767
+ onNext?: ({ date, type }: {
6768
+ date: Date;
6769
+ type: Level;
6770
+ }) => void;
6771
+ /**
6772
+ * Callback which is called whenever the previous button is clicked.
6773
+ *
6774
+ * @param date - The updated date.
6775
+ * @param type - The level of the calendar. ("month" | "year" | "decade")
6776
+ */
6777
+ onPrevious?: ({ date, type }: {
6778
+ date: Date;
6779
+ type: Level;
6780
+ }) => void;
6781
+ };
6782
+ type DatePickerProps<Type extends DateSelectionType> = Omit<CalendarProps<Type>, MantineInternalProps> & Omit<DatePickerCommonInputProps, 'inputRef' | 'referenceProps' | 'labelPosition' | 'name'> & {
6783
+ /**
6784
+ * Sets the label for the input element.
6785
+ */
6786
+ label?: Type extends 'single' ? string : {
6787
+ start: string;
6788
+ end?: string;
6789
+ };
6790
+ /**
6791
+ * Sets the HTML [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname) attribute on the input elements.
6792
+ * Can be used when submitting a form.
6793
+ *
6794
+ * @example 'date' | { start: 'start-date', end: 'end-date' }
6795
+ */
6796
+ name?: Type extends 'single' ? string : {
6797
+ start: string;
6798
+ end?: string;
6799
+ };
6800
+ labelPosition?: BaseInputProps['labelPosition'];
6594
6801
  };
6802
+ type DatePickerCommonInputProps = {
6803
+ labelPosition?: BaseInputProps['labelPosition'];
6804
+ inputRef: React.Ref<any>;
6805
+ referenceProps: any;
6806
+ } & Pick<TextInputProps, 'size' | 'isRequired' | 'necessityIndicator' | 'autoFocus' | 'isDisabled' | 'accessibilityLabel'> & FormInputValidationProps;
6807
+
6808
+ declare const DatePicker: <Type extends DateSelectionType = "single">({ selectionType, allowSingleDateInRange, value, defaultValue, onChange, presets, isOpen, defaultIsOpen, onOpenChange, label, labelPosition, accessibilityLabel, errorText, helpText, isDisabled, isRequired, successText, validationState, size, autoFocus, necessityIndicator, name, defaultPicker, picker, onPickerChange, ...props }: Omit<CalendarProps<Type>, "onMouseLeave" | "__onDayMouseEnter" | "__onDayClick" | "getDayProps" | "getYearControlProps" | "getMonthControlProps"> & Omit<{
6809
+ labelPosition?: "left" | "top" | undefined;
6810
+ inputRef: React__default.Ref<any>;
6811
+ referenceProps: any;
6812
+ } & Pick<TextInputProps, "size" | "autoFocus" | "isDisabled" | "accessibilityLabel" | "isRequired" | "necessityIndicator"> & FormInputValidationProps, "name" | "labelPosition" | "inputRef" | "referenceProps"> & {
6813
+ label?: (Type extends "single" ? string : {
6814
+ start: string;
6815
+ end?: string | undefined;
6816
+ }) | undefined;
6817
+ name?: (Type extends "single" ? string : {
6818
+ start: string;
6819
+ end?: string | undefined;
6820
+ }) | undefined;
6821
+ labelPosition?: "left" | "top" | undefined;
6822
+ } & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
6823
+ bottom: SpacingValueType | {
6824
+ readonly base?: SpacingValueType | undefined;
6825
+ readonly xs?: SpacingValueType | undefined;
6826
+ readonly s?: SpacingValueType | undefined;
6827
+ readonly m?: SpacingValueType | undefined;
6828
+ readonly l?: SpacingValueType | undefined;
6829
+ readonly xl?: SpacingValueType | undefined;
6830
+ };
6831
+ left: SpacingValueType | {
6832
+ readonly base?: SpacingValueType | undefined;
6833
+ readonly xs?: SpacingValueType | undefined;
6834
+ readonly s?: SpacingValueType | undefined;
6835
+ readonly m?: SpacingValueType | undefined;
6836
+ readonly l?: SpacingValueType | undefined;
6837
+ readonly xl?: SpacingValueType | undefined;
6838
+ };
6839
+ position?: csstype.Property.Position | {
6840
+ readonly base?: csstype.Property.Position | undefined;
6841
+ readonly xs?: csstype.Property.Position | undefined;
6842
+ readonly s?: csstype.Property.Position | undefined;
6843
+ readonly m?: csstype.Property.Position | undefined;
6844
+ readonly l?: csstype.Property.Position | undefined;
6845
+ readonly xl?: csstype.Property.Position | undefined;
6846
+ } | undefined;
6847
+ right: SpacingValueType | {
6848
+ readonly base?: SpacingValueType | undefined;
6849
+ readonly xs?: SpacingValueType | undefined;
6850
+ readonly s?: SpacingValueType | undefined;
6851
+ readonly m?: SpacingValueType | undefined;
6852
+ readonly l?: SpacingValueType | undefined;
6853
+ readonly xl?: SpacingValueType | undefined;
6854
+ };
6855
+ top: SpacingValueType | {
6856
+ readonly base?: SpacingValueType | undefined;
6857
+ readonly xs?: SpacingValueType | undefined;
6858
+ readonly s?: SpacingValueType | undefined;
6859
+ readonly m?: SpacingValueType | undefined;
6860
+ readonly l?: SpacingValueType | undefined;
6861
+ readonly xl?: SpacingValueType | undefined;
6862
+ };
6863
+ zIndex?: csstype.Property.ZIndex | {
6864
+ readonly base?: csstype.Property.ZIndex | undefined;
6865
+ readonly xs?: csstype.Property.ZIndex | undefined;
6866
+ readonly s?: csstype.Property.ZIndex | undefined;
6867
+ readonly m?: csstype.Property.ZIndex | undefined;
6868
+ readonly l?: csstype.Property.ZIndex | undefined;
6869
+ readonly xl?: csstype.Property.ZIndex | undefined;
6870
+ } | undefined;
6871
+ __brand__?: "platform-web" | {
6872
+ readonly base?: "platform-web" | undefined;
6873
+ readonly xs?: "platform-web" | undefined;
6874
+ readonly s?: "platform-web" | undefined;
6875
+ readonly m?: "platform-web" | undefined;
6876
+ readonly l?: "platform-web" | undefined;
6877
+ readonly xl?: "platform-web" | undefined;
6878
+ } | undefined;
6879
+ } & Pick<{
6880
+ gridAutoColumns?: csstype.Property.GridAutoColumns<string | number> | {
6881
+ readonly base?: csstype.Property.GridAutoColumns<string | number> | undefined;
6882
+ readonly xs?: csstype.Property.GridAutoColumns<string | number> | undefined;
6883
+ readonly s?: csstype.Property.GridAutoColumns<string | number> | undefined;
6884
+ readonly m?: csstype.Property.GridAutoColumns<string | number> | undefined;
6885
+ readonly l?: csstype.Property.GridAutoColumns<string | number> | undefined;
6886
+ readonly xl?: csstype.Property.GridAutoColumns<string | number> | undefined;
6887
+ } | undefined;
6888
+ gridAutoFlow?: csstype.Property.GridAutoFlow | {
6889
+ readonly base?: csstype.Property.GridAutoFlow | undefined;
6890
+ readonly xs?: csstype.Property.GridAutoFlow | undefined;
6891
+ readonly s?: csstype.Property.GridAutoFlow | undefined;
6892
+ readonly m?: csstype.Property.GridAutoFlow | undefined;
6893
+ readonly l?: csstype.Property.GridAutoFlow | undefined;
6894
+ readonly xl?: csstype.Property.GridAutoFlow | undefined;
6895
+ } | undefined;
6896
+ gridAutoRows?: csstype.Property.GridAutoRows<string | number> | {
6897
+ readonly base?: csstype.Property.GridAutoRows<string | number> | undefined;
6898
+ readonly xs?: csstype.Property.GridAutoRows<string | number> | undefined;
6899
+ readonly s?: csstype.Property.GridAutoRows<string | number> | undefined;
6900
+ readonly m?: csstype.Property.GridAutoRows<string | number> | undefined;
6901
+ readonly l?: csstype.Property.GridAutoRows<string | number> | undefined;
6902
+ readonly xl?: csstype.Property.GridAutoRows<string | number> | undefined;
6903
+ } | undefined;
6904
+ gridColumnEnd?: csstype.Property.GridColumnEnd | {
6905
+ readonly base?: csstype.Property.GridColumnEnd | undefined;
6906
+ readonly xs?: csstype.Property.GridColumnEnd | undefined;
6907
+ readonly s?: csstype.Property.GridColumnEnd | undefined;
6908
+ readonly m?: csstype.Property.GridColumnEnd | undefined;
6909
+ readonly l?: csstype.Property.GridColumnEnd | undefined;
6910
+ readonly xl?: csstype.Property.GridColumnEnd | undefined;
6911
+ } | undefined;
6912
+ gridColumnStart?: csstype.Property.GridColumnStart | {
6913
+ readonly base?: csstype.Property.GridColumnStart | undefined;
6914
+ readonly xs?: csstype.Property.GridColumnStart | undefined;
6915
+ readonly s?: csstype.Property.GridColumnStart | undefined;
6916
+ readonly m?: csstype.Property.GridColumnStart | undefined;
6917
+ readonly l?: csstype.Property.GridColumnStart | undefined;
6918
+ readonly xl?: csstype.Property.GridColumnStart | undefined;
6919
+ } | undefined;
6920
+ gridRowEnd?: csstype.Property.GridRowEnd | {
6921
+ readonly base?: csstype.Property.GridRowEnd | undefined;
6922
+ readonly xs?: csstype.Property.GridRowEnd | undefined;
6923
+ readonly s?: csstype.Property.GridRowEnd | undefined;
6924
+ readonly m?: csstype.Property.GridRowEnd | undefined;
6925
+ readonly l?: csstype.Property.GridRowEnd | undefined;
6926
+ readonly xl?: csstype.Property.GridRowEnd | undefined;
6927
+ } | undefined;
6928
+ gridRowStart?: csstype.Property.GridRowStart | {
6929
+ readonly base?: csstype.Property.GridRowStart | undefined;
6930
+ readonly xs?: csstype.Property.GridRowStart | undefined;
6931
+ readonly s?: csstype.Property.GridRowStart | undefined;
6932
+ readonly m?: csstype.Property.GridRowStart | undefined;
6933
+ readonly l?: csstype.Property.GridRowStart | undefined;
6934
+ readonly xl?: csstype.Property.GridRowStart | undefined;
6935
+ } | undefined;
6936
+ gridTemplateAreas?: csstype.Property.GridTemplateAreas | {
6937
+ readonly base?: csstype.Property.GridTemplateAreas | undefined;
6938
+ readonly xs?: csstype.Property.GridTemplateAreas | undefined;
6939
+ readonly s?: csstype.Property.GridTemplateAreas | undefined;
6940
+ readonly m?: csstype.Property.GridTemplateAreas | undefined;
6941
+ readonly l?: csstype.Property.GridTemplateAreas | undefined;
6942
+ readonly xl?: csstype.Property.GridTemplateAreas | undefined;
6943
+ } | undefined;
6944
+ gridTemplateColumns?: csstype.Property.GridTemplateColumns<string | number> | {
6945
+ readonly base?: csstype.Property.GridTemplateColumns<string | number> | undefined;
6946
+ readonly xs?: csstype.Property.GridTemplateColumns<string | number> | undefined;
6947
+ readonly s?: csstype.Property.GridTemplateColumns<string | number> | undefined;
6948
+ readonly m?: csstype.Property.GridTemplateColumns<string | number> | undefined;
6949
+ readonly l?: csstype.Property.GridTemplateColumns<string | number> | undefined;
6950
+ readonly xl?: csstype.Property.GridTemplateColumns<string | number> | undefined;
6951
+ } | undefined;
6952
+ gridTemplateRows?: csstype.Property.GridTemplateRows<string | number> | {
6953
+ readonly base?: csstype.Property.GridTemplateRows<string | number> | undefined;
6954
+ readonly xs?: csstype.Property.GridTemplateRows<string | number> | undefined;
6955
+ readonly s?: csstype.Property.GridTemplateRows<string | number> | undefined;
6956
+ readonly m?: csstype.Property.GridTemplateRows<string | number> | undefined;
6957
+ readonly l?: csstype.Property.GridTemplateRows<string | number> | undefined;
6958
+ readonly xl?: csstype.Property.GridTemplateRows<string | number> | undefined;
6959
+ } | undefined;
6960
+ grid?: csstype.Property.Grid | {
6961
+ readonly base?: csstype.Property.Grid | undefined;
6962
+ readonly xs?: csstype.Property.Grid | undefined;
6963
+ readonly s?: csstype.Property.Grid | undefined;
6964
+ readonly m?: csstype.Property.Grid | undefined;
6965
+ readonly l?: csstype.Property.Grid | undefined;
6966
+ readonly xl?: csstype.Property.Grid | undefined;
6967
+ } | undefined;
6968
+ gridArea?: csstype.Property.GridArea | {
6969
+ readonly base?: csstype.Property.GridArea | undefined;
6970
+ readonly xs?: csstype.Property.GridArea | undefined;
6971
+ readonly s?: csstype.Property.GridArea | undefined;
6972
+ readonly m?: csstype.Property.GridArea | undefined;
6973
+ readonly l?: csstype.Property.GridArea | undefined;
6974
+ readonly xl?: csstype.Property.GridArea | undefined;
6975
+ } | undefined;
6976
+ gridColumn?: csstype.Property.GridColumn | {
6977
+ readonly base?: csstype.Property.GridColumn | undefined;
6978
+ readonly xs?: csstype.Property.GridColumn | undefined;
6979
+ readonly s?: csstype.Property.GridColumn | undefined;
6980
+ readonly m?: csstype.Property.GridColumn | undefined;
6981
+ readonly l?: csstype.Property.GridColumn | undefined;
6982
+ readonly xl?: csstype.Property.GridColumn | undefined;
6983
+ } | undefined;
6984
+ gridRow?: csstype.Property.GridRow | {
6985
+ readonly base?: csstype.Property.GridRow | undefined;
6986
+ readonly xs?: csstype.Property.GridRow | undefined;
6987
+ readonly s?: csstype.Property.GridRow | undefined;
6988
+ readonly m?: csstype.Property.GridRow | undefined;
6989
+ readonly l?: csstype.Property.GridRow | undefined;
6990
+ readonly xl?: csstype.Property.GridRow | undefined;
6991
+ } | undefined;
6992
+ gridTemplate?: csstype.Property.GridTemplate | {
6993
+ readonly base?: csstype.Property.GridTemplate | undefined;
6994
+ readonly xs?: csstype.Property.GridTemplate | undefined;
6995
+ readonly s?: csstype.Property.GridTemplate | undefined;
6996
+ readonly m?: csstype.Property.GridTemplate | undefined;
6997
+ readonly l?: csstype.Property.GridTemplate | undefined;
6998
+ readonly xl?: csstype.Property.GridTemplate | undefined;
6999
+ } | undefined;
7000
+ __brand__?: "platform-web" | {
7001
+ readonly base?: "platform-web" | undefined;
7002
+ readonly xs?: "platform-web" | undefined;
7003
+ readonly s?: "platform-web" | undefined;
7004
+ readonly m?: "platform-web" | undefined;
7005
+ readonly l?: "platform-web" | undefined;
7006
+ readonly xl?: "platform-web" | undefined;
7007
+ } | undefined;
7008
+ }, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow"> & Pick<{
7009
+ width: SpacingValueType | {
7010
+ readonly base?: SpacingValueType | undefined;
7011
+ readonly xs?: SpacingValueType | undefined;
7012
+ readonly s?: SpacingValueType | undefined;
7013
+ readonly m?: SpacingValueType | undefined;
7014
+ readonly l?: SpacingValueType | undefined;
7015
+ readonly xl?: SpacingValueType | undefined;
7016
+ };
7017
+ display?: csstype.Property.Display | {
7018
+ readonly base?: csstype.Property.Display | undefined;
7019
+ readonly xs?: csstype.Property.Display | undefined;
7020
+ readonly s?: csstype.Property.Display | undefined;
7021
+ readonly m?: csstype.Property.Display | undefined;
7022
+ readonly l?: csstype.Property.Display | undefined;
7023
+ readonly xl?: csstype.Property.Display | undefined;
7024
+ } | undefined;
7025
+ height: SpacingValueType | {
7026
+ readonly base?: SpacingValueType | undefined;
7027
+ readonly xs?: SpacingValueType | undefined;
7028
+ readonly s?: SpacingValueType | undefined;
7029
+ readonly m?: SpacingValueType | undefined;
7030
+ readonly l?: SpacingValueType | undefined;
7031
+ readonly xl?: SpacingValueType | undefined;
7032
+ };
7033
+ maxHeight: SpacingValueType | {
7034
+ readonly base?: SpacingValueType | undefined;
7035
+ readonly xs?: SpacingValueType | undefined;
7036
+ readonly s?: SpacingValueType | undefined;
7037
+ readonly m?: SpacingValueType | undefined;
7038
+ readonly l?: SpacingValueType | undefined;
7039
+ readonly xl?: SpacingValueType | undefined;
7040
+ };
7041
+ maxWidth: SpacingValueType | {
7042
+ readonly base?: SpacingValueType | undefined;
7043
+ readonly xs?: SpacingValueType | undefined;
7044
+ readonly s?: SpacingValueType | undefined;
7045
+ readonly m?: SpacingValueType | undefined;
7046
+ readonly l?: SpacingValueType | undefined;
7047
+ readonly xl?: SpacingValueType | undefined;
7048
+ };
7049
+ minHeight: SpacingValueType | {
7050
+ readonly base?: SpacingValueType | undefined;
7051
+ readonly xs?: SpacingValueType | undefined;
7052
+ readonly s?: SpacingValueType | undefined;
7053
+ readonly m?: SpacingValueType | undefined;
7054
+ readonly l?: SpacingValueType | undefined;
7055
+ readonly xl?: SpacingValueType | undefined;
7056
+ };
7057
+ minWidth: SpacingValueType | {
7058
+ readonly base?: SpacingValueType | undefined;
7059
+ readonly xs?: SpacingValueType | undefined;
7060
+ readonly s?: SpacingValueType | undefined;
7061
+ readonly m?: SpacingValueType | undefined;
7062
+ readonly l?: SpacingValueType | undefined;
7063
+ readonly xl?: SpacingValueType | undefined;
7064
+ };
7065
+ overflowX?: csstype.Property.OverflowX | {
7066
+ readonly base?: csstype.Property.OverflowX | undefined;
7067
+ readonly xs?: csstype.Property.OverflowX | undefined;
7068
+ readonly s?: csstype.Property.OverflowX | undefined;
7069
+ readonly m?: csstype.Property.OverflowX | undefined;
7070
+ readonly l?: csstype.Property.OverflowX | undefined;
7071
+ readonly xl?: csstype.Property.OverflowX | undefined;
7072
+ } | undefined;
7073
+ overflowY?: csstype.Property.OverflowY | {
7074
+ readonly base?: csstype.Property.OverflowY | undefined;
7075
+ readonly xs?: csstype.Property.OverflowY | undefined;
7076
+ readonly s?: csstype.Property.OverflowY | undefined;
7077
+ readonly m?: csstype.Property.OverflowY | undefined;
7078
+ readonly l?: csstype.Property.OverflowY | undefined;
7079
+ readonly xl?: csstype.Property.OverflowY | undefined;
7080
+ } | undefined;
7081
+ textAlign?: csstype.Property.TextAlign | {
7082
+ readonly base?: csstype.Property.TextAlign | undefined;
7083
+ readonly xs?: csstype.Property.TextAlign | undefined;
7084
+ readonly s?: csstype.Property.TextAlign | undefined;
7085
+ readonly m?: csstype.Property.TextAlign | undefined;
7086
+ readonly l?: csstype.Property.TextAlign | undefined;
7087
+ readonly xl?: csstype.Property.TextAlign | undefined;
7088
+ } | undefined;
7089
+ whiteSpace?: csstype.Property.WhiteSpace | {
7090
+ readonly base?: csstype.Property.WhiteSpace | undefined;
7091
+ readonly xs?: csstype.Property.WhiteSpace | undefined;
7092
+ readonly s?: csstype.Property.WhiteSpace | undefined;
7093
+ readonly m?: csstype.Property.WhiteSpace | undefined;
7094
+ readonly l?: csstype.Property.WhiteSpace | undefined;
7095
+ readonly xl?: csstype.Property.WhiteSpace | undefined;
7096
+ } | undefined;
7097
+ overflow?: csstype.Property.Overflow | {
7098
+ readonly base?: csstype.Property.Overflow | undefined;
7099
+ readonly xs?: csstype.Property.Overflow | undefined;
7100
+ readonly s?: csstype.Property.Overflow | undefined;
7101
+ readonly m?: csstype.Property.Overflow | undefined;
7102
+ readonly l?: csstype.Property.Overflow | undefined;
7103
+ readonly xl?: csstype.Property.Overflow | undefined;
7104
+ } | undefined;
7105
+ __brand__?: "platform-web" | {
7106
+ readonly base?: "platform-web" | undefined;
7107
+ readonly xs?: "platform-web" | undefined;
7108
+ readonly s?: "platform-web" | undefined;
7109
+ readonly m?: "platform-web" | undefined;
7110
+ readonly l?: "platform-web" | undefined;
7111
+ readonly xl?: "platform-web" | undefined;
7112
+ } | undefined;
7113
+ }, "display"> & Pick<{
7114
+ elevation?: ElevationLevels | {
7115
+ readonly base?: ElevationLevels | undefined;
7116
+ readonly xs?: ElevationLevels | undefined;
7117
+ readonly s?: ElevationLevels | undefined;
7118
+ readonly m?: ElevationLevels | undefined;
7119
+ readonly l?: ElevationLevels | undefined;
7120
+ readonly xl?: ElevationLevels | undefined;
7121
+ } | undefined;
7122
+ backgroundImage?: csstype.Property.BackgroundImage | {
7123
+ readonly base?: csstype.Property.BackgroundImage | undefined;
7124
+ readonly xs?: csstype.Property.BackgroundImage | undefined;
7125
+ readonly s?: csstype.Property.BackgroundImage | undefined;
7126
+ readonly m?: csstype.Property.BackgroundImage | undefined;
7127
+ readonly l?: csstype.Property.BackgroundImage | undefined;
7128
+ readonly xl?: csstype.Property.BackgroundImage | undefined;
7129
+ } | undefined;
7130
+ backgroundOrigin?: csstype.Property.BackgroundOrigin | {
7131
+ readonly base?: csstype.Property.BackgroundOrigin | undefined;
7132
+ readonly xs?: csstype.Property.BackgroundOrigin | undefined;
7133
+ readonly s?: csstype.Property.BackgroundOrigin | undefined;
7134
+ readonly m?: csstype.Property.BackgroundOrigin | undefined;
7135
+ readonly l?: csstype.Property.BackgroundOrigin | undefined;
7136
+ readonly xl?: csstype.Property.BackgroundOrigin | undefined;
7137
+ } | undefined;
7138
+ backgroundRepeat?: csstype.Property.BackgroundRepeat | {
7139
+ readonly base?: csstype.Property.BackgroundRepeat | undefined;
7140
+ readonly xs?: csstype.Property.BackgroundRepeat | undefined;
7141
+ readonly s?: csstype.Property.BackgroundRepeat | undefined;
7142
+ readonly m?: csstype.Property.BackgroundRepeat | undefined;
7143
+ readonly l?: csstype.Property.BackgroundRepeat | undefined;
7144
+ readonly xl?: csstype.Property.BackgroundRepeat | undefined;
7145
+ } | undefined;
7146
+ backgroundSize?: csstype.Property.BackgroundSize<string | number> | {
7147
+ readonly base?: csstype.Property.BackgroundSize<string | number> | undefined;
7148
+ readonly xs?: csstype.Property.BackgroundSize<string | number> | undefined;
7149
+ readonly s?: csstype.Property.BackgroundSize<string | number> | undefined;
7150
+ readonly m?: csstype.Property.BackgroundSize<string | number> | undefined;
7151
+ readonly l?: csstype.Property.BackgroundSize<string | number> | undefined;
7152
+ readonly xl?: csstype.Property.BackgroundSize<string | number> | undefined;
7153
+ } | undefined;
7154
+ borderBottomColor: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | {
7155
+ readonly base?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7156
+ readonly xs?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7157
+ readonly s?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7158
+ readonly m?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7159
+ readonly l?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7160
+ readonly xl?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7161
+ };
7162
+ borderBottomLeftRadius: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | {
7163
+ readonly base?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7164
+ readonly xs?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7165
+ readonly s?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7166
+ readonly m?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7167
+ readonly l?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7168
+ readonly xl?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7169
+ };
7170
+ borderBottomRightRadius: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | {
7171
+ readonly base?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7172
+ readonly xs?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7173
+ readonly s?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7174
+ readonly m?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7175
+ readonly l?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7176
+ readonly xl?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7177
+ };
7178
+ borderBottomStyle?: csstype.Property.BorderBottomStyle | {
7179
+ readonly base?: csstype.Property.BorderBottomStyle | undefined;
7180
+ readonly xs?: csstype.Property.BorderBottomStyle | undefined;
7181
+ readonly s?: csstype.Property.BorderBottomStyle | undefined;
7182
+ readonly m?: csstype.Property.BorderBottomStyle | undefined;
7183
+ readonly l?: csstype.Property.BorderBottomStyle | undefined;
7184
+ readonly xl?: csstype.Property.BorderBottomStyle | undefined;
7185
+ } | undefined;
7186
+ borderBottomWidth: "none" | "thinner" | "thin" | "thick" | "thicker" | {
7187
+ readonly base?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7188
+ readonly xs?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7189
+ readonly s?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7190
+ readonly m?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7191
+ readonly l?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7192
+ readonly xl?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7193
+ };
7194
+ borderLeftColor: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | {
7195
+ readonly base?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7196
+ readonly xs?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7197
+ readonly s?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7198
+ readonly m?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7199
+ readonly l?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7200
+ readonly xl?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7201
+ };
7202
+ borderLeftStyle?: csstype.Property.BorderLeftStyle | {
7203
+ readonly base?: csstype.Property.BorderLeftStyle | undefined;
7204
+ readonly xs?: csstype.Property.BorderLeftStyle | undefined;
7205
+ readonly s?: csstype.Property.BorderLeftStyle | undefined;
7206
+ readonly m?: csstype.Property.BorderLeftStyle | undefined;
7207
+ readonly l?: csstype.Property.BorderLeftStyle | undefined;
7208
+ readonly xl?: csstype.Property.BorderLeftStyle | undefined;
7209
+ } | undefined;
7210
+ borderLeftWidth: "none" | "thinner" | "thin" | "thick" | "thicker" | {
7211
+ readonly base?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7212
+ readonly xs?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7213
+ readonly s?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7214
+ readonly m?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7215
+ readonly l?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7216
+ readonly xl?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7217
+ };
7218
+ borderRightColor: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | {
7219
+ readonly base?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7220
+ readonly xs?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7221
+ readonly s?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7222
+ readonly m?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7223
+ readonly l?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7224
+ readonly xl?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7225
+ };
7226
+ borderRightStyle?: csstype.Property.BorderRightStyle | {
7227
+ readonly base?: csstype.Property.BorderRightStyle | undefined;
7228
+ readonly xs?: csstype.Property.BorderRightStyle | undefined;
7229
+ readonly s?: csstype.Property.BorderRightStyle | undefined;
7230
+ readonly m?: csstype.Property.BorderRightStyle | undefined;
7231
+ readonly l?: csstype.Property.BorderRightStyle | undefined;
7232
+ readonly xl?: csstype.Property.BorderRightStyle | undefined;
7233
+ } | undefined;
7234
+ borderRightWidth: "none" | "thinner" | "thin" | "thick" | "thicker" | {
7235
+ readonly base?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7236
+ readonly xs?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7237
+ readonly s?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7238
+ readonly m?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7239
+ readonly l?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7240
+ readonly xl?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7241
+ };
7242
+ borderTopColor: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | {
7243
+ readonly base?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7244
+ readonly xs?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7245
+ readonly s?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7246
+ readonly m?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7247
+ readonly l?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7248
+ readonly xl?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7249
+ };
7250
+ borderTopLeftRadius: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | {
7251
+ readonly base?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7252
+ readonly xs?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7253
+ readonly s?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7254
+ readonly m?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7255
+ readonly l?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7256
+ readonly xl?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7257
+ };
7258
+ borderTopRightRadius: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | {
7259
+ readonly base?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7260
+ readonly xs?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7261
+ readonly s?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7262
+ readonly m?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7263
+ readonly l?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7264
+ readonly xl?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7265
+ };
7266
+ borderTopStyle?: csstype.Property.BorderTopStyle | {
7267
+ readonly base?: csstype.Property.BorderTopStyle | undefined;
7268
+ readonly xs?: csstype.Property.BorderTopStyle | undefined;
7269
+ readonly s?: csstype.Property.BorderTopStyle | undefined;
7270
+ readonly m?: csstype.Property.BorderTopStyle | undefined;
7271
+ readonly l?: csstype.Property.BorderTopStyle | undefined;
7272
+ readonly xl?: csstype.Property.BorderTopStyle | undefined;
7273
+ } | undefined;
7274
+ borderTopWidth: "none" | "thinner" | "thin" | "thick" | "thicker" | {
7275
+ readonly base?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7276
+ readonly xs?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7277
+ readonly s?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7278
+ readonly m?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7279
+ readonly l?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7280
+ readonly xl?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7281
+ };
7282
+ clipPath?: csstype.Property.ClipPath | {
7283
+ readonly base?: csstype.Property.ClipPath | undefined;
7284
+ readonly xs?: csstype.Property.ClipPath | undefined;
7285
+ readonly s?: csstype.Property.ClipPath | undefined;
7286
+ readonly m?: csstype.Property.ClipPath | undefined;
7287
+ readonly l?: csstype.Property.ClipPath | undefined;
7288
+ readonly xl?: csstype.Property.ClipPath | undefined;
7289
+ } | undefined;
7290
+ opacity?: csstype.Property.Opacity | {
7291
+ readonly base?: csstype.Property.Opacity | undefined;
7292
+ readonly xs?: csstype.Property.Opacity | undefined;
7293
+ readonly s?: csstype.Property.Opacity | undefined;
7294
+ readonly m?: csstype.Property.Opacity | undefined;
7295
+ readonly l?: csstype.Property.Opacity | undefined;
7296
+ readonly xl?: csstype.Property.Opacity | undefined;
7297
+ } | undefined;
7298
+ pointerEvents?: csstype.Property.PointerEvents | {
7299
+ readonly base?: csstype.Property.PointerEvents | undefined;
7300
+ readonly xs?: csstype.Property.PointerEvents | undefined;
7301
+ readonly s?: csstype.Property.PointerEvents | undefined;
7302
+ readonly m?: csstype.Property.PointerEvents | undefined;
7303
+ readonly l?: csstype.Property.PointerEvents | undefined;
7304
+ readonly xl?: csstype.Property.PointerEvents | undefined;
7305
+ } | undefined;
7306
+ transform?: csstype.Property.Transform | {
7307
+ readonly base?: csstype.Property.Transform | undefined;
7308
+ readonly xs?: csstype.Property.Transform | undefined;
7309
+ readonly s?: csstype.Property.Transform | undefined;
7310
+ readonly m?: csstype.Property.Transform | undefined;
7311
+ readonly l?: csstype.Property.Transform | undefined;
7312
+ readonly xl?: csstype.Property.Transform | undefined;
7313
+ } | undefined;
7314
+ transformOrigin?: csstype.Property.TransformOrigin<string | number> | {
7315
+ readonly base?: csstype.Property.TransformOrigin<string | number> | undefined;
7316
+ readonly xs?: csstype.Property.TransformOrigin<string | number> | undefined;
7317
+ readonly s?: csstype.Property.TransformOrigin<string | number> | undefined;
7318
+ readonly m?: csstype.Property.TransformOrigin<string | number> | undefined;
7319
+ readonly l?: csstype.Property.TransformOrigin<string | number> | undefined;
7320
+ readonly xl?: csstype.Property.TransformOrigin<string | number> | undefined;
7321
+ } | undefined;
7322
+ visibility?: csstype.Property.Visibility | {
7323
+ readonly base?: csstype.Property.Visibility | undefined;
7324
+ readonly xs?: csstype.Property.Visibility | undefined;
7325
+ readonly s?: csstype.Property.Visibility | undefined;
7326
+ readonly m?: csstype.Property.Visibility | undefined;
7327
+ readonly l?: csstype.Property.Visibility | undefined;
7328
+ readonly xl?: csstype.Property.Visibility | undefined;
7329
+ } | undefined;
7330
+ backgroundPosition?: csstype.Property.BackgroundPosition<string | number> | {
7331
+ readonly base?: csstype.Property.BackgroundPosition<string | number> | undefined;
7332
+ readonly xs?: csstype.Property.BackgroundPosition<string | number> | undefined;
7333
+ readonly s?: csstype.Property.BackgroundPosition<string | number> | undefined;
7334
+ readonly m?: csstype.Property.BackgroundPosition<string | number> | undefined;
7335
+ readonly l?: csstype.Property.BackgroundPosition<string | number> | undefined;
7336
+ readonly xl?: csstype.Property.BackgroundPosition<string | number> | undefined;
7337
+ } | undefined;
7338
+ borderColor: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | {
7339
+ readonly base?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7340
+ readonly xs?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7341
+ readonly s?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7342
+ readonly m?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7343
+ readonly l?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7344
+ readonly xl?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
7345
+ };
7346
+ borderRadius: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | {
7347
+ readonly base?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7348
+ readonly xs?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7349
+ readonly s?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7350
+ readonly m?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7351
+ readonly l?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7352
+ readonly xl?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
7353
+ };
7354
+ borderStyle?: csstype.Property.BorderStyle | {
7355
+ readonly base?: csstype.Property.BorderStyle | undefined;
7356
+ readonly xs?: csstype.Property.BorderStyle | undefined;
7357
+ readonly s?: csstype.Property.BorderStyle | undefined;
7358
+ readonly m?: csstype.Property.BorderStyle | undefined;
7359
+ readonly l?: csstype.Property.BorderStyle | undefined;
7360
+ readonly xl?: csstype.Property.BorderStyle | undefined;
7361
+ } | undefined;
7362
+ borderWidth: "none" | "thinner" | "thin" | "thick" | "thicker" | {
7363
+ readonly base?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7364
+ readonly xs?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7365
+ readonly s?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7366
+ readonly m?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7367
+ readonly l?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7368
+ readonly xl?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
7369
+ };
7370
+ __brand__?: "platform-web" | {
7371
+ readonly base?: "platform-web" | undefined;
7372
+ readonly xs?: "platform-web" | undefined;
7373
+ readonly s?: "platform-web" | undefined;
7374
+ readonly m?: "platform-web" | undefined;
7375
+ readonly l?: "platform-web" | undefined;
7376
+ readonly xl?: "platform-web" | undefined;
7377
+ } | undefined;
7378
+ }, "visibility">, "__brand__">>) => React__default.ReactElement;
6595
7379
 
6596
- type CommonAutoCompleteSuggestionTypes = 'none' | 'name' | 'email' | 'username' | 'password' | 'newPassword' | 'oneTimeCode' | 'telephone' | 'postalCode' | 'countryName' | 'creditCardNumber' | 'creditCardCSC' | 'creditCardExpiry' | 'creditCardExpiryMonth' | 'creditCardExpiryYear';
6597
- type WebAutoCompleteSuggestionType = CommonAutoCompleteSuggestionTypes | 'on';
6598
- type BaseInputCommonProps = FormInputLabelProps & FormInputValidationProps & {
6599
- /**
6600
- * Determines if it needs to be rendered as input, textarea or button
6601
- */
6602
- as?: 'input' | 'textarea' | 'button';
6603
- /**
6604
- * ID that will be used for accessibility
6605
- */
6606
- id: string;
6607
- /**
6608
- * Placeholder text to be displayed inside the input field
6609
- */
6610
- placeholder?: string;
6611
- /**
6612
- * Type of Input Field to be rendered.
6613
- *
6614
- * @default text
6615
- */
6616
- type?: 'text' | 'telephone' | 'email' | 'url' | 'number' | 'search' | 'password';
6617
- /**
6618
- * Used to set the default value of input field when it's uncontrolled
6619
- */
6620
- defaultValue?: string;
7380
+ type DropdownProps = {
6621
7381
  /**
6622
- * The name of the input field.
7382
+ * Control open / close state of the Dropdown component
6623
7383
  *
6624
- * Useful in form submissions
6625
- */
6626
- name?: string;
6627
- /**
6628
- * The callback function to be invoked when the input field gets focus
6629
- */
6630
- onFocus?: FormInputOnEvent;
6631
- /**
6632
- * The callback function to be invoked when the value of the input field changes
6633
- */
6634
- onChange?: FormInputOnEvent;
6635
- /**
6636
- * The callback function to be invoked when input is clicked
6637
- */
6638
- onClick?: FormInputOnEvent;
6639
- /**
6640
- * The callback function to be invoked when the value of the input field has any input
7384
+ * This can be used to close the dropdown when button in the footer of dropdown is clicked
6641
7385
  */
6642
- onInput?: FormInputOnEvent;
7386
+ isOpen?: boolean;
6643
7387
  /**
6644
- * The callback function to be invoked whenever there is a keyDown event
7388
+ * Callback when open state of the dropdown changes
6645
7389
  */
6646
- onKeyDown?: FormInputHandleOnKeyDownEvent;
7390
+ onOpenChange?: (isOpen: boolean) => void;
7391
+ selectionType?: 'single' | 'multiple';
7392
+ children: React__default.ReactNode[];
7393
+ } & TestID & StyledPropsBlade;
7394
+ type DropdownOverlayProps = {
7395
+ children: React__default.ReactElement[] | React__default.ReactElement;
6647
7396
  /**
6648
- * The callback function to be invoked when the the input field loses focus
7397
+ * Sets the z-index of the DropdownOverlay
6649
7398
  *
6650
- * For React Native this will call `onEndEditing` event since we want to get the last value of the input field
6651
- */
6652
- onBlur?: FormInputOnEvent;
6653
- /**
6654
- * Ignores the blur event animation (Used in Select to ignore blur animation when item in option is clicked)
6655
- */
6656
- shouldIgnoreBlurAnimation?: boolean;
6657
- /**
6658
- * sets boolean that ignores the blur animations on baseinput
6659
- */
6660
- setShouldIgnoreBlurAnimation?: (shouldIgnoreBlurAnimation: boolean) => void;
6661
- /**
6662
- * Used to turn the input field to controlled so user can control the value
6663
- */
6664
- value?: string;
6665
- /**
6666
- * Used to disable the input field
6667
- */
6668
- isDisabled?: boolean;
6669
- /**
6670
- * If true, the input is marked as required, and `required` attribute will be added
6671
- */
6672
- isRequired?: boolean;
6673
- /**
6674
- * Icon to be shown at the start of the input field
6675
- */
6676
- leadingIcon?: IconComponent;
6677
- /**
6678
- * Prefix symbol to be displayed at the beginning of the input field. If leadingIcon is provided it'll be placed after it
7399
+ * @default 1001
6679
7400
  */
6680
- prefix?: string;
7401
+ zIndex?: number;
7402
+ width?: BoxProps['width'];
6681
7403
  /**
6682
- * Element to be rendered before suffix. This is decided by the component which is extending BaseInput
7404
+ * Reference to the element which triggers the DropdownOverlay
6683
7405
  *
6684
- * eg: consumers can render a loader or they could render a clear button
7406
+ * This is used to position the DropdownOverlay relative to a specific element,
7407
+ * for example in PhoneNumberInput the DropdownOverlay is positioned relative to the input element
6685
7408
  */
6686
- trailingInteractionElement?: ReactNode;
7409
+ referenceRef?: React__default.MutableRefObject<ContainerElementType | null>;
6687
7410
  /**
6688
- * Element to be rendered before prefix. This is decided by the component which is extending BaseInput
7411
+ * Sets the placement of the DropdownOverlay
6689
7412
  *
6690
- * eg: consumers can render a country selector or button
7413
+ * @default 'bottom-start'
6691
7414
  */
6692
- leadingInteractionElement?: ReactNode;
7415
+ defaultPlacement?: Placement;
7416
+ } & TestID;
7417
+
7418
+ declare const Dropdown: ({ children, isOpen: isOpenControlled, onOpenChange, selectionType, testID, ...styledProps }: DropdownProps) => React__default.ReactElement;
7419
+
7420
+ declare const DropdownOverlay: ({ children, testID, zIndex, width, referenceRef, defaultPlacement, }: DropdownOverlayProps) => React__default.ReactElement | null;
7421
+
7422
+ type DropdownButtonProps = ButtonProps & {
7423
+ onBlur?: BaseButtonProps['onBlur'];
7424
+ onKeyDown?: BaseButtonProps['onKeyDown'];
7425
+ };
7426
+ declare const DropdownButton: ({ children, icon, iconPosition, isDisabled, isFullWidth, isLoading, onClick, onBlur, onKeyDown, size, type, variant, accessibilityLabel, testID, ...styledProps }: DropdownButtonProps) => React__default.ReactElement;
7427
+
7428
+ type DropdownLinkProps = LinkButtonVariantProps & {
7429
+ onBlur?: BaseLinkProps['onBlur'];
7430
+ onKeyDown?: BaseLinkProps['onKeyDown'];
7431
+ };
7432
+ declare const DropdownLink: ({ children, icon, iconPosition, onClick, onBlur, onKeyDown, isDisabled, href, target, rel, accessibilityLabel, size, testID, hitSlop, htmlTitle, ...styledProps }: DropdownLinkProps) => React__default.ReactElement;
7433
+
7434
+ type DropdownHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'trailing' | 'titleSuffix' | 'testID'>;
7435
+ declare const DropdownHeader: ({ title, subtitle, leading, titleSuffix, trailing, testID, }: DropdownHeaderProps) => React__default.ReactElement;
7436
+ type DropdownFooter = Pick<BaseFooterProps, 'children' | 'testID'>;
7437
+ declare const DropdownFooter: ({ children, testID }: DropdownFooter) => React__default.ReactElement;
7438
+
7439
+ interface BladeFile extends File {
6693
7440
  /**
6694
- * Suffix symbol to be displayed at the end of the input field. If trailingIcon is provided it'll be placed before it
7441
+ * The unique identifier of the file.
6695
7442
  */
6696
- suffix?: string;
7443
+ id?: string;
6697
7444
  /**
6698
- * Icon to be displayed at the end of the input field
7445
+ * The file's upload status.
6699
7446
  */
6700
- trailingIcon?: IconComponent;
7447
+ status?: 'uploading' | 'success' | 'error';
6701
7448
  /**
6702
- * Displays the character counter under the input field
7449
+ * The percentage of file upload completion.
6703
7450
  */
6704
- maxCharacters?: number;
7451
+ uploadPercent?: number;
6705
7452
  /**
6706
- * alignment of the text inside input field
7453
+ * Text indicating an error state
6707
7454
  */
6708
- textAlign?: 'left' | 'center' | 'right';
7455
+ errorText?: string;
7456
+ }
7457
+ type BladeFileList = BladeFile[];
7458
+ type FileUploadCommonProps = {
6709
7459
  /**
6710
- * If true, focuses the input field on load
7460
+ * Position of the label relative to the file upload area. Desktop only prop. Default value on mobile will be 'top'
6711
7461
  *
6712
- * **Note:**
6713
- * Automatically focusing a form control can confuse visually-impaired people using screen-reading technology and people with cognitive impairments.
6714
- * When autofocus is assigned, screen-readers "teleport" their user to the form control without warning them beforehand.
7462
+ * @default 'top'
6715
7463
  */
6716
- autoFocus?: boolean;
7464
+ labelPosition?: 'top' | 'left';
6717
7465
  /**
6718
- * Hints the platform to display an appropriate virtual keyboard
6719
- *
6720
- * **Native:** Passes as is the `keyboardType` attribute
6721
- *
6722
- * **Web:** Passes the value to the `inputMode` attribute
7466
+ * Defines the upload behavior of the FileUpload component
6723
7467
  */
6724
- keyboardType?: 'text' | 'search' | 'telephone' | 'email' | 'url' | 'decimal';
7468
+ uploadType?: 'single' | 'multiple';
6725
7469
  /**
6726
- * determines what return key to show on the keyboard of mobile devices/virtual keyboard
6727
- * **Note**: Few values are platform dependent and might not render on all the platforms
7470
+ * File types that can be accepted. See [input's accept attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept)
6728
7471
  *
6729
- * `default` is only available on native. it'll be mapped to `enter` for web
6730
- * `previous` is only available on native android
6731
- */
6732
- keyboardReturnKeyType?: 'default' | 'go' | 'done' | 'next' | 'previous' | 'search' | 'send';
6733
- /**
6734
- * Element to be rendered on the trailing slot of input field label
6735
- */
6736
- trailingHeaderSlot?: (value?: string) => ReactNode;
6737
- /**
6738
- * Element to be rendered on the trailing slot of input field footer
6739
- */
6740
- trailingFooterSlot?: (value?: string) => ReactNode;
6741
- /**
6742
- * Sets the textarea's number of lines
7472
+ * Usage: accept=".jpg, .png, .pdf", accept="image/*", accept="image/png, image/jpeg, application/pdf"
6743
7473
  */
6744
- numberOfLines?: 2 | 3 | 4 | 5;
7474
+ accept?: string;
6745
7475
  /**
6746
- * Sets the accessibility label for the input
7476
+ * Disables or enables the FileUpload component
6747
7477
  */
6748
- accessibilityLabel?: string;
7478
+ isDisabled?: boolean;
6749
7479
  /**
6750
- * Sets the id of the label
7480
+ * Sets the required state of the file input
6751
7481
  *
6752
- * (Useful when assigning one label to multiple elements using aria-labelledby)
6753
- */
6754
- labelId?: string;
6755
- /**
6756
- * Can be used in select to set the id of the active descendant from the listbox
6757
- */
6758
- activeDescendant?: string;
6759
- /**
6760
- * Hides the label text
7482
+ * @default false
6761
7483
  */
6762
- hideLabelText?: boolean;
7484
+ isRequired?: boolean;
6763
7485
  /**
6764
- * Hides the form hint text
7486
+ * Renders a necessity indicator after the label. If `isRequired` is `true`, it defaults to `'required'`
6765
7487
  */
6766
- hideFormHint?: boolean;
7488
+ necessityIndicator?: 'required' | 'optional' | 'none';
6767
7489
  /**
6768
- * componentName prop sets the data-blade-component attribute name
6769
- * for internal metric collection purposes
7490
+ * The name of the file upload input, [useful in form submissions](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)
6770
7491
  */
6771
- componentName?: string;
7492
+ name?: string;
6772
7493
  /**
6773
- * whether the input has a popup
7494
+ * List of files that have been selected/uploaded, useful when the component is controlled
6774
7495
  */
6775
- hasPopup?: AriaAttributes['hasPopup'];
7496
+ fileList?: BladeFileList;
6776
7497
  /**
6777
- * id of the popup
7498
+ * Limit the number of files that can be uploaded
6778
7499
  */
6779
- popupId?: string;
7500
+ maxCount?: number;
6780
7501
  /**
6781
- * true if popup is in expanded state
7502
+ * Limit the size of the uploaded files (in bytes)
6782
7503
  */
6783
- isPopupExpanded?: boolean;
6784
- setInputWrapperRef?: (node: ContainerElementType) => void;
7504
+ maxSize?: number;
6785
7505
  /**
6786
- * sets the autocapitalize behavior for the input
7506
+ * Callback function triggered when files are selected
6787
7507
  */
6788
- autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
7508
+ onChange?: ({ name, fileList }: {
7509
+ name?: string;
7510
+ fileList: BladeFileList;
7511
+ }) => void;
6789
7512
  /**
6790
- * constraints the height of input to given number rows
6791
- *
6792
- * When set to expandable, input takes 1 row in the begining and expands to take 3 when active
6793
- *
6794
- * @default 'single'
7513
+ * Callback function triggered when the preview icon is clicked
6795
7514
  */
6796
- maxTagRows?: 'single' | 'multiple' | 'expandable';
7515
+ onPreview?: ({ file }: {
7516
+ file: File;
7517
+ }) => void;
6797
7518
  /**
6798
- * A slot for adding tags to input
7519
+ * Callback function triggered when a file is removed
6799
7520
  */
6800
- tags?: React__default.ReactElement[] | null;
7521
+ onRemove?: ({ file }: {
7522
+ file: File;
7523
+ }) => void;
6801
7524
  /**
6802
- * Disables stripping of tags and shows all tags
7525
+ * Callback function triggered when a file upload is dismissed
6803
7526
  */
6804
- showAllTags?: boolean;
7527
+ onDismiss?: ({ file }: {
7528
+ file: File;
7529
+ }) => void;
6805
7530
  /**
6806
- * State variable of active tag index
7531
+ * Callback function executed when files are dropped into the upload area
6807
7532
  */
6808
- activeTagIndex?: number;
7533
+ onDrop?: ({ name, fileList }: {
7534
+ name?: string;
7535
+ fileList: BladeFileList;
7536
+ }) => void;
6809
7537
  /**
6810
- * Is this input SelectInput or AutoComplete
7538
+ * State indicating whether there is an error in the FileUpload component
6811
7539
  */
6812
- isDropdownTrigger?: boolean;
7540
+ validationState?: 'none' | 'error';
6813
7541
  /**
6814
- * Is the label expected to be rendered inside input?
6815
- * Used in AutoComplete and Select when label can't exist outside
6816
- *
7542
+ * Additional text providing assistance or guidance
6817
7543
  */
6818
- isLabelInsideInput?: boolean;
7544
+ helpText?: string;
6819
7545
  /**
6820
- * State setter for active tag index
7546
+ * Text indicating an error state
6821
7547
  */
6822
- setActiveTagIndex?: (activeTagIndex: number) => void;
7548
+ errorText?: string;
6823
7549
  /**
6824
- * Sets the size of the input field
6825
- * @default medium
7550
+ * Size of the FileUpload component
7551
+ *
7552
+ * @default 'medium'
6826
7553
  */
6827
7554
  size?: 'medium' | 'large';
6828
7555
  /**
6829
- * Link button to be rendered at the end of the input field.
6830
- * **Note:** `size` of the Link will be set to the same size as the input field, `isDisabled` will follow Input's `isDisabled`, & `variant` will be set to `button`.
6831
- * Example:
6832
- * ```tsx
6833
- * trailingButton={<Link onClick={handleClick}>Apply</Link>}
6834
- * ```
7556
+ * Test ID for automation
6835
7557
  */
6836
- trailingButton?: React__default.ReactElement<LinkProps>;
6837
- /**
6838
- * Whether to use Text or Heading component for Input text
6839
- * @default text
6840
- **/
6841
- valueComponentType?: 'text' | 'heading';
6842
- } & TestID & Platform.Select<{
6843
- native: {
6844
- /**
6845
- * The callback function to be invoked when the value of the input field is submitted.
6846
- */
6847
- onSubmit?: FormInputOnEvent;
6848
- /**
6849
- * determines what autoComplete suggestion type to show
6850
- *
6851
- * Internally it'll render platform specific attributes:
6852
- *
6853
- * - web: `autocomplete`
6854
- * - iOS: `textContentType`
6855
- * - android: `autoComplete`
6856
- *
6857
- */
6858
- autoCompleteSuggestionType?: CommonAutoCompleteSuggestionTypes;
6859
- };
6860
- web: {
6861
- /**
6862
- * This is a react-native only prop and has no effect on web.
6863
- */
6864
- onSubmit?: undefined;
6865
- /**
6866
- * determines what autoComplete suggestion type to show
6867
- *
6868
- * Internally it'll render platform specific attributes:
6869
- *
6870
- * - web: `autocomplete`
6871
- * - iOS: `textContentType`
6872
- * - android: `autoComplete`
6873
- *
6874
- */
6875
- autoCompleteSuggestionType?: WebAutoCompleteSuggestionType;
6876
- };
6877
- }> & StyledPropsBlade;
6878
- type BaseInputPropsWithA11yLabel = {
7558
+ testID?: string;
7559
+ };
7560
+ type FileUploadPropsWithA11yLabel = {
6879
7561
  /**
6880
7562
  * Label to be shown for the input field
6881
7563
  */
@@ -6885,7 +7567,7 @@ type BaseInputPropsWithA11yLabel = {
6885
7567
  */
6886
7568
  accessibilityLabel: string;
6887
7569
  };
6888
- type BaseInputPropsWithLabel = {
7570
+ type FileUploadPropsWithLabel = {
6889
7571
  /**
6890
7572
  * Label to be shown for the input field
6891
7573
  */
@@ -6895,7 +7577,104 @@ type BaseInputPropsWithLabel = {
6895
7577
  */
6896
7578
  accessibilityLabel?: string;
6897
7579
  };
6898
- type BaseInputProps = (BaseInputPropsWithA11yLabel | BaseInputPropsWithLabel) & BaseInputCommonProps;
7580
+ type FileUploadProps = (FileUploadPropsWithA11yLabel | FileUploadPropsWithLabel) & FileUploadCommonProps;
7581
+
7582
+ /**
7583
+ * ### FileUpload Component
7584
+ *
7585
+ * The FileUpload component is used to handle file attachments, including the drag-and-drop interaction.
7586
+ * Primarily, it is used to upload files to a server or to display a list of uploaded files.
7587
+ *
7588
+ * ---
7589
+ *
7590
+ * #### Usage
7591
+ *
7592
+ * ```jsx
7593
+ const GSTForm = () => {
7594
+ const [selectedFile, setSelectedFile] = useState<BladeFile>();
7595
+ const [isLoading, setIsLoading] = useState(false);
7596
+
7597
+ return (
7598
+ <Box>
7599
+ <Heading marginBottom="spacing.4">Add GST Details</Heading>
7600
+ <form encType="multipart/form-data" onSubmit={handleSubmit}>
7601
+ <FileUpload
7602
+ uploadType="single"
7603
+ label="Upload GST"
7604
+ helpText="Upload .jpg, .jpeg, or .png file only"
7605
+ accept=".jpg, .jpeg, .png"
7606
+ onChange={({ fileList }) => {
7607
+ setSelectedFile(fileList[0]);
7608
+ }}
7609
+ onDrop={({ fileList }) => {
7610
+ setSelectedFile(fileList[0]);
7611
+ }}
7612
+ isRequired
7613
+ necessityIndicator="required"
7614
+ />
7615
+ <Button type="submit" variant="primary">
7616
+ Submit
7617
+ </Button>
7618
+ {isLoading && (
7619
+ <ProgressBar isIndeterminate label="Uploading your GST Certificate..." />
7620
+ )}
7621
+ </form>
7622
+ </Box>
7623
+ );
7624
+ }
7625
+ * ```
7626
+ *
7627
+ * ---
7628
+ *
7629
+ * Checkout {@link https://blade.razorpay.com/?path=/docs/components-fileupload FileUpload Documentation}
7630
+ *
7631
+ */
7632
+ declare const FileUpload: React$1.ForwardRefExoticComponent<FileUploadProps & React$1.RefAttributes<BladeElementRef>>;
7633
+
7634
+ type IndicatorCommonProps = {
7635
+ /**
7636
+ * Sets the color tone
7637
+ *
7638
+ * @default neutral
7639
+ */
7640
+ color?: FeedbackColors | 'primary';
7641
+ /**
7642
+ * Sets the emphasis of the indicator
7643
+ *
7644
+ * If set to intense it will show a background circle
7645
+ *
7646
+ * @default subtle
7647
+ */
7648
+ emphasis?: 'subtle' | 'intense';
7649
+ /**
7650
+ * Size of the indicator
7651
+ *
7652
+ * @default medium
7653
+ */
7654
+ size?: 'small' | 'medium' | 'large';
7655
+ } & TestID & StyledPropsBlade;
7656
+ type IndicatorWithoutA11yLabel = {
7657
+ /**
7658
+ * A text label to show alongside the indicator dot
7659
+ */
7660
+ children: StringChildrenType;
7661
+ /**
7662
+ * a11y label for screen readers
7663
+ */
7664
+ accessibilityLabel?: string;
7665
+ };
7666
+ type IndicatorWithA11yLabel = {
7667
+ /**
7668
+ * a11y label for screen readers
7669
+ */
7670
+ accessibilityLabel: string;
7671
+ /**
7672
+ * A text label to show alongside the indicator dot
7673
+ */
7674
+ children?: StringChildrenType;
7675
+ };
7676
+ type IndicatorProps = IndicatorCommonProps & (IndicatorWithA11yLabel | IndicatorWithoutA11yLabel);
7677
+ declare const Indicator: ({ accessibilityLabel, children, size, color, emphasis, testID, ...styledProps }: IndicatorProps) => ReactElement;
6899
7678
 
6900
7679
  /**
6901
7680
  * ### SelectInput
@@ -7207,14 +7986,6 @@ type PasswordInputPropsWithLabel = {
7207
7986
  type PasswordInputProps = (PasswordInputPropsWithA11yLabel | PasswordInputPropsWithLabel) & PasswordInputCommonProps;
7208
7987
  declare const PasswordInput: React__default.ForwardRefExoticComponent<PasswordInputProps & React__default.RefAttributes<BladeElementRef>>;
7209
7988
 
7210
- type TaggedInputProps = {
7211
- isTaggedInput?: boolean;
7212
- tags?: string[];
7213
- onTagChange?: ({ tags }: {
7214
- tags: string[];
7215
- }) => void;
7216
- };
7217
-
7218
7989
  type TextAreaCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'necessityIndicator' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'onSubmit' | 'value' | 'isDisabled' | 'isRequired' | 'maxCharacters' | 'autoFocus' | 'numberOfLines' | 'testID' | 'size'> & {
7219
7990
  /**
7220
7991
  * Decides whether to render a clear icon button
@@ -7248,63 +8019,6 @@ type TextAreaPropsWithLabel = {
7248
8019
  type TextAreaProps = (TextAreaPropsWithA11yLabel | TextAreaPropsWithLabel) & TextAreaCommonProps;
7249
8020
  declare const TextArea: React__default.ForwardRefExoticComponent<TextAreaProps & React__default.RefAttributes<BladeElementRef>>;
7250
8021
 
7251
- type Type = Exclude<BaseInputProps['type'], 'password'>;
7252
- type TextInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'necessityIndicator' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'isDisabled' | 'isRequired' | 'prefix' | 'suffix' | 'maxCharacters' | 'autoFocus' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'onSubmit' | 'autoCapitalize' | 'testID' | 'onClick' | 'size' | 'leadingIcon' | 'trailingButton' | 'trailingIcon'> & {
7253
- /**
7254
- * Decides whether to render a clear icon button
7255
- */
7256
- showClearButton?: boolean;
7257
- /**
7258
- * Event handler to handle the onClick event for clear button. Used when `showClearButton` is `true`
7259
- */
7260
- onClearButtonClick?: () => void;
7261
- /**
7262
- * Decides whether to show a loading spinner for the input field.
7263
- */
7264
- isLoading?: boolean;
7265
- /**
7266
- * Icon that will be rendered at the beginning of the input field
7267
- * @deprecated Use `leadingIcon` instead. This prop will be removed in the next major version.
7268
- */
7269
- icon?: IconComponent;
7270
- /**
7271
- * Type of Input Field to be rendered. Use `PasswordInput` for type `password`
7272
- *
7273
- *
7274
- * **Note on number type**
7275
- *
7276
- * `type="number"` internally uses `inputMode="numeric"` instead of HTML's `type="number"` which also allows text characters.
7277
- * If you have a usecase where you only want to support number input, you can handle it on validations end.
7278
- *
7279
- * Check out [Why the GOV.UK Design System team changed the input type for numbers](https://technology.blog.gov.uk/2020/02/24/why-the-gov-uk-design-system-team-changed-the-input-type-for-numbers/) for reasoning
7280
- *
7281
- * @default text
7282
- */
7283
- type?: Type;
7284
- } & TaggedInputProps & StyledPropsBlade;
7285
- type TextInputPropsWithA11yLabel = {
7286
- /**
7287
- * Label to be shown for the input field
7288
- */
7289
- label?: undefined;
7290
- /**
7291
- * Accessibility label for the input
7292
- */
7293
- accessibilityLabel: string;
7294
- };
7295
- type TextInputPropsWithLabel = {
7296
- /**
7297
- * Label to be shown for the input field
7298
- */
7299
- label: string;
7300
- /**
7301
- * Accessibility label for the input
7302
- */
7303
- accessibilityLabel?: string;
7304
- };
7305
- type TextInputProps = (TextInputPropsWithA11yLabel | TextInputPropsWithLabel) & TextInputCommonProps;
7306
- declare const TextInput: React__default.ForwardRefExoticComponent<TextInputProps & React__default.RefAttributes<BladeElementRef>>;
7307
-
7308
8022
  type SearchInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'helpText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'isDisabled' | 'autoFocus' | 'onSubmit' | 'autoCapitalize' | 'testID' | 'onClick' | 'size'> & {
7309
8023
  /**
7310
8024
  * Event handler to handle the onClick event for clear button.
@@ -11928,4 +12642,4 @@ declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => Rea
11928
12642
  */
11929
12643
  declare const screenReaderStyles: CSSObject;
11930
12644
 
11931
- export { AcceptPaymentsIcon, Accordion, AccordionItem, AccordionItemBody, AccordionItemHeader, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemBadge, ActionListItemBadgeGroup, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionProps, ActivityIcon, AddressBookIcon, AffordabilityIcon, AirplayIcon, Alert, AlertCircleIcon, AlertOctagonIcon, AlertOnlyIcon, AlertProps, AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, Amount, AmountProps, AnchorIcon, AnnouncementIcon, ApertureIcon, AppStoreIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, AttachmentIcon, AutoComplete, AutoCompleteProps, AutomateAccountingIcon, AutomatePayrollIcon, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, AwardIcon, Badge, BadgeProps, BankAccountVerificationIcon, BankIcon, BarChartAltIcon, BarChartIcon, BarCodeIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BfsiIcon, BillIcon, BladeCommonEvents, BladeFile, BladeFileList, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BottomSheet, BottomSheetBody, BottomSheetBodyProps, BottomSheetFooter, BottomSheetFooterProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetProps, Box, BoxIcon, BoxProps, BoxRefType, Breadcrumb, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbProps, BriefcaseIcon, BugIcon, BuildingIcon, BulkPayoutsIcon, BusinessBankingIcon, BusinessSpendManagementIcon, Button, ButtonGroup, ButtonGroupProps, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderAmount, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, Carousel, CarouselItem, CarouselProps, CashIcon, CastIcon, CheckCircle2Icon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, ClosedCaptioningIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodeSnippetIcon, CodepenIcon, CoinIcon, CoinsIcon, Collapsible, CollapsibleBody, CollapsibleBodyProps, CollapsibleButton, CollapsibleButtonProps, CollapsibleLink, CollapsibleLinkProps, CollapsibleProps, CommandIcon, CompanyRegistrationIcon, CompassIcon, ComponentIds, ConfettiIcon, ContactlessPaymentIcon, CookieIcon, CopyIcon, CopyrightIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CreditsAndLoansIcon, CropIcon, CrosshairIcon, CurrentAccountIcon, CustomersIcon, CutIcon, DashboardIcon, DeleteIcon, DigitalLendingIcon, DisbursePaymentsIcon, DiscIcon, Display, DisplayProps, Divider, DividerProps, DollarIcon, DollarsIcon, DotIcon, DownloadCloudIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, DrawerHeaderProps, DrawerProps, Dropdown, DropdownButton, DropdownFooter, DropdownHeader, DropdownLink, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EcommerceIcon, EditComposeIcon, EditIcon, EditInlineIcon, EducationIcon, EscrowAccountIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FigmaIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FileUpload, FileUploadProps, FileZipIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, ForexManagementIcon, FreelanceIcon, FullScreenEnterIcon, FullScreenExitIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HashIcon, Heading, HeadingProps, HeadphoneIcon, HeadphonesIcon, HeadsetIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconColors, IconComponent, IconProps, IconSize, Identifier, ImageIcon, InboxIcon, Indicator, IndicatorProps, InfoIcon, InstagramIcon, InstantSettlementIcon, InternationalPaymentsIcon, InvoicesIcon, ItalicIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link, LinkButtonVariantProps, LinkIcon, LinkProps, List, ListIcon, ListItem, ListItemCode, ListItemCodeProps, ListItemLink, ListItemLinkProps, ListItemProps, ListItemText, ListItemTextProps, ListProps, LoaderIcon, LoansForBusinessesIcon, LockIcon, LogInIcon, LogOutIcon, MagicCheckoutIcon, MailIcon, MailOpenIcon, MapIcon, MapPinIcon, MaximizeIcon, MenuDotsIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MobileAppIcon, Modal, ModalBody, ModalBodyProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreIcon, MoreVerticalIcon, MoveIcon, MusicIcon, MyAccountIcon, NavigationIcon, OTPInput, OTPInputCommonProps, OTPInputProps, OctagonIcon, OffersIcon, OptimizerIcon, PackageIcon, PaperclipIcon, PasswordInput, PasswordInputProps, PauseCircleIcon, PauseIcon, PaymentButtonIcon, PaymentButtonsIcon, PaymentGatewayIcon, PaymentLinkIcon, PaymentLinksIcon, PaymentPagesIcon, PayoutLinkIcon, PayrollAddonsIcon, PayrollForCaIcon, PayrollForStartupOrSmeIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneNumberInput, PhoneNumberInputProps, PhoneOffIcon, PhoneOutgoingIcon, PictureInPictureIcon, PieChartIcon, PinIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, Popover, PopoverInteractiveWrapper, PopoverProps, PopoverTriggerProps, PosIcon, PowerIcon, PrinterIcon, ProgressBar, ProgressBarProps, ProgressBarVariant, QRCodeIcon, Radio, RadioGroup, RadioGroupProps, RadioIcon, RadioProps, RazorpayIcon, RazorpayXIcon, RazorpayxPayrollIcon, RefreshIcon, RepeatIcon, ReportsIcon, ResizerIcon, RewindIcon, RotateClockWiseIcon, RotateCounterClockWiseIcon, RouteIcon, RoutesIcon, RupeeIcon, RupeesIcon, SaasIcon, SaveIcon, ScissorsIcon, SearchIcon, SearchInput, SearchInputProps, SelectInput, SelectInputProps, SendIcon, ServerIcon, SettingsIcon, SettlementsIcon, ShareIcon, ShieldIcon, ShoppingBagIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, Skeleton, SkeletonProps, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SolutionsIcon, SourceToPayIcon, SparklesIcon, SpeakerIcon, Spinner, SpinnerProps, SpotlightPopoverStepRenderProps, SpotlightPopoverTour, SpotlightPopoverTourFooter, SpotlightPopoverTourProps, SpotlightPopoverTourStep, SpotlightPopoverTourSteps, SquareIcon, StampIcon, StarIcon, StepGroup, StepGroupProps, StepItem, StepItemIcon, StepItemIndicator, StepItemProps, StopCircleIcon, StorefrontIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, Switch, SwitchProps, TabItem, TabItemProps, TabList, TabPanel, TabPanelProps, Table, TableBackgroundColors, TableBody, TableBodyProps, TableCell, TableCellProps, TableData, TableFooter, TableFooterCell, TableFooterCellProps, TableFooterProps, TableFooterRow, TableFooterRowProps, TableHeader, TableHeaderCell, TableHeaderCellProps, TableHeaderProps, TableHeaderRow, TableHeaderRowProps, TableNode, TablePagination, TablePaginationCommonProps, TablePaginationProps, TablePaginationType, TableProps, TableRow, TableRowProps, TableToolbar, TableToolbarActions, TableToolbarActionsProps, TableToolbarProps, TabletIcon, Tabs, TabsProps, Tag, TagIcon, TagProps, TargetIcon, TaxPaymentsIcon, TestIcon, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextProps, TextVariant, Theme, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, TicketIcon, ToastContainer, ToastProps, ToggleLeftIcon, ToggleRightIcon, TokenHqIcon, Tooltip, TooltipInteractiveWrapper, TooltipProps, TrademarkIcon, TrademarkRegisteredIcon, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TvIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UpiAutopayIcon, UploadCloudIcon, UploadIcon, UseToastReturn, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VendorPaymentsIcon, VideoIcon, VideoOffIcon, ViewLiveDemoIcon, VisuallyHidden, VisuallyHiddenProps, VoicemailIcon, VolumeHighIcon, VolumeIcon, VolumeLowIcon, VolumeMuteIcon, WalletIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XSquareIcon, ZapIcon, ZoomInIcon, ZoomOutIcon, announce, clearAnnouncer, destroyAnnouncer, getHeadingProps, getTextProps, screenReaderStyles, useTheme, useToast };
12645
+ export { AcceptPaymentsIcon, Accordion, AccordionItem, AccordionItemBody, AccordionItemHeader, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemBadge, ActionListItemBadgeGroup, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionProps, ActivityIcon, AddressBookIcon, AffordabilityIcon, AirplayIcon, Alert, AlertCircleIcon, AlertOctagonIcon, AlertOnlyIcon, AlertProps, AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, Amount, AmountProps, AnchorIcon, AnnouncementIcon, ApertureIcon, AppStoreIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, AttachmentIcon, AutoComplete, AutoCompleteProps, AutomateAccountingIcon, AutomatePayrollIcon, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, AwardIcon, Badge, BadgeProps, BankAccountVerificationIcon, BankIcon, BarChartAltIcon, BarChartIcon, BarCodeIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BfsiIcon, BillIcon, BladeCommonEvents, BladeFile, BladeFileList, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BottomSheet, BottomSheetBody, BottomSheetBodyProps, BottomSheetFooter, BottomSheetFooterProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetProps, Box, BoxIcon, BoxProps, BoxRefType, Breadcrumb, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbProps, BriefcaseIcon, BugIcon, BuildingIcon, BulkPayoutsIcon, BusinessBankingIcon, BusinessSpendManagementIcon, Button, ButtonGroup, ButtonGroupProps, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderAmount, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, Carousel, CarouselItem, CarouselProps, CashIcon, CastIcon, CheckCircle2Icon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, ClosedCaptioningIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodeSnippetIcon, CodepenIcon, CoinIcon, CoinsIcon, Collapsible, CollapsibleBody, CollapsibleBodyProps, CollapsibleButton, CollapsibleButtonProps, CollapsibleLink, CollapsibleLinkProps, CollapsibleProps, CommandIcon, CompanyRegistrationIcon, CompassIcon, ComponentIds, ConfettiIcon, ContactlessPaymentIcon, CookieIcon, CopyIcon, CopyrightIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CreditsAndLoansIcon, CropIcon, CrosshairIcon, CurrentAccountIcon, CustomersIcon, CutIcon, DashboardIcon, DatePicker, DatePickerProps, DeleteIcon, DigitalLendingIcon, DisbursePaymentsIcon, DiscIcon, Display, DisplayProps, Divider, DividerProps, DollarIcon, DollarsIcon, DotIcon, DownloadCloudIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, DrawerHeaderProps, DrawerProps, Dropdown, DropdownButton, DropdownFooter, DropdownHeader, DropdownLink, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EcommerceIcon, EditComposeIcon, EditIcon, EditInlineIcon, EducationIcon, EscrowAccountIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FigmaIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FileUpload, FileUploadProps, FileZipIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, ForexManagementIcon, FreelanceIcon, FullScreenEnterIcon, FullScreenExitIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HashIcon, Heading, HeadingProps, HeadphoneIcon, HeadphonesIcon, HeadsetIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconColors, IconComponent, IconProps, IconSize, Identifier, ImageIcon, InboxIcon, Indicator, IndicatorProps, InfoIcon, InstagramIcon, InstantSettlementIcon, InternationalPaymentsIcon, InvoicesIcon, ItalicIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link, LinkButtonVariantProps, LinkIcon, LinkProps, List, ListIcon, ListItem, ListItemCode, ListItemCodeProps, ListItemLink, ListItemLinkProps, ListItemProps, ListItemText, ListItemTextProps, ListProps, LoaderIcon, LoansForBusinessesIcon, LockIcon, LogInIcon, LogOutIcon, MagicCheckoutIcon, MailIcon, MailOpenIcon, MapIcon, MapPinIcon, MaximizeIcon, MenuDotsIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MobileAppIcon, Modal, ModalBody, ModalBodyProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreIcon, MoreVerticalIcon, MoveIcon, MusicIcon, MyAccountIcon, NavigationIcon, OTPInput, OTPInputCommonProps, OTPInputProps, OctagonIcon, OffersIcon, OptimizerIcon, PackageIcon, PaperclipIcon, PasswordInput, PasswordInputProps, PauseCircleIcon, PauseIcon, PaymentButtonIcon, PaymentButtonsIcon, PaymentGatewayIcon, PaymentLinkIcon, PaymentLinksIcon, PaymentPagesIcon, PayoutLinkIcon, PayrollAddonsIcon, PayrollForCaIcon, PayrollForStartupOrSmeIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneNumberInput, PhoneNumberInputProps, PhoneOffIcon, PhoneOutgoingIcon, PictureInPictureIcon, PieChartIcon, PinIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, Popover, PopoverInteractiveWrapper, PopoverProps, PopoverTriggerProps, PosIcon, PowerIcon, PrinterIcon, ProgressBar, ProgressBarProps, ProgressBarVariant, QRCodeIcon, Radio, RadioGroup, RadioGroupProps, RadioIcon, RadioProps, RazorpayIcon, RazorpayXIcon, RazorpayxPayrollIcon, RefreshIcon, RepeatIcon, ReportsIcon, ResizerIcon, RewindIcon, RotateClockWiseIcon, RotateCounterClockWiseIcon, RouteIcon, RoutesIcon, RupeeIcon, RupeesIcon, SaasIcon, SaveIcon, ScissorsIcon, SearchIcon, SearchInput, SearchInputProps, SelectInput, SelectInputProps, SendIcon, ServerIcon, SettingsIcon, SettlementsIcon, ShareIcon, ShieldIcon, ShoppingBagIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, Skeleton, SkeletonProps, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SolutionsIcon, SourceToPayIcon, SparklesIcon, SpeakerIcon, Spinner, SpinnerProps, SpotlightPopoverStepRenderProps, SpotlightPopoverTour, SpotlightPopoverTourFooter, SpotlightPopoverTourProps, SpotlightPopoverTourStep, SpotlightPopoverTourSteps, SquareIcon, StampIcon, StarIcon, StepGroup, StepGroupProps, StepItem, StepItemIcon, StepItemIndicator, StepItemProps, StopCircleIcon, StorefrontIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, Switch, SwitchProps, TabItem, TabItemProps, TabList, TabPanel, TabPanelProps, Table, TableBackgroundColors, TableBody, TableBodyProps, TableCell, TableCellProps, TableData, TableFooter, TableFooterCell, TableFooterCellProps, TableFooterProps, TableFooterRow, TableFooterRowProps, TableHeader, TableHeaderCell, TableHeaderCellProps, TableHeaderProps, TableHeaderRow, TableHeaderRowProps, TableNode, TablePagination, TablePaginationCommonProps, TablePaginationProps, TablePaginationType, TableProps, TableRow, TableRowProps, TableToolbar, TableToolbarActions, TableToolbarActionsProps, TableToolbarProps, TabletIcon, Tabs, TabsProps, Tag, TagIcon, TagProps, TargetIcon, TaxPaymentsIcon, TestIcon, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextProps, TextVariant, Theme, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, TicketIcon, ToastContainer, ToastProps, ToggleLeftIcon, ToggleRightIcon, TokenHqIcon, Tooltip, TooltipInteractiveWrapper, TooltipProps, TrademarkIcon, TrademarkRegisteredIcon, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TvIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UpiAutopayIcon, UploadCloudIcon, UploadIcon, UseToastReturn, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VendorPaymentsIcon, VideoIcon, VideoOffIcon, ViewLiveDemoIcon, VisuallyHidden, VisuallyHiddenProps, VoicemailIcon, VolumeHighIcon, VolumeIcon, VolumeLowIcon, VolumeMuteIcon, WalletIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XSquareIcon, ZapIcon, ZoomInIcon, ZoomOutIcon, announce, clearAnnouncer, destroyAnnouncer, getHeadingProps, getTextProps, screenReaderStyles, useTheme, useToast };