@razorpay/blade 8.12.1 → 8.14.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.
@@ -2,7 +2,7 @@
2
2
  import * as React$1 from 'react';
3
3
  import React__default, { ReactChild, ReactElement, ReactNode, SyntheticEvent, KeyboardEvent } from 'react';
4
4
  import * as react_native from 'react-native';
5
- import { AccessibilityRole, ViewStyle, ImageSourcePropType, View, GestureResponderEvent, PressableProps } from 'react-native';
5
+ import { View, ViewStyle, AccessibilityRole, ImageSourcePropType, GestureResponderEvent, PressableProps } from 'react-native';
6
6
  import { CSSObject } from 'styled-components';
7
7
  import { ReactDOMAttributes } from '@use-gesture/react/dist/declarations/src/types';
8
8
  import { UseFloatingOptions } from '@floating-ui/react';
@@ -25,6 +25,8 @@ type BorderRadius = Readonly<{
25
25
  type BorderWidth = Readonly<{
26
26
  /** none: 0(px/rem/pt) */
27
27
  none: 0;
28
+ /** thinner: 0.5(px/rem/pt) */
29
+ thinner: 0.5;
28
30
  /** thin: 1(px/rem/pt) */
29
31
  thin: 1;
30
32
  /** thick: 1.5(px/rem/pt) */
@@ -443,1371 +445,1382 @@ type ThemeTokens = {
443
445
  typography: TypographyWithPlatforms;
444
446
  };
445
447
 
446
- // All the WAI-ARIA 1.1 role attribute values from https://www.w3.org/TR/wai-aria-1.1/#role_definitions
447
- type AriaRoles =
448
- | Exclude<AccessibilityRole, 'header' | 'adjustable' | 'image' | 'none' | 'summary'>
449
- | 'alert'
450
- | 'alertdialog'
451
- | 'application'
452
- | 'article'
453
- | 'banner'
454
- | 'button'
455
- | 'cell'
456
- | 'checkbox'
457
- | 'columnheader'
458
- | 'combobox'
459
- | 'complementary'
460
- | 'contentinfo'
461
- | 'definition'
462
- | 'dialog'
463
- | 'directory'
464
- | 'document'
465
- | 'feed'
466
- | 'figure'
467
- | 'form'
468
- | 'grid'
469
- | 'gridcell'
470
- | 'group'
471
- | 'heading'
472
- | 'img'
473
- | 'link'
474
- | 'list'
475
- | 'listbox'
476
- | 'listitem'
477
- | 'log'
478
- | 'main'
479
- | 'marquee'
480
- | 'math'
481
- | 'menu'
482
- | 'menubar'
483
- | 'menuitem'
484
- | 'menuitemcheckbox'
485
- | 'menuitemradio'
486
- | 'meter'
487
- | 'navigation'
488
- | 'none'
489
- | 'note'
490
- | 'option'
491
- | 'presentation'
492
- | 'progressbar'
493
- | 'radio'
494
- | 'radiogroup'
495
- | 'region'
496
- | 'row'
497
- | 'rowgroup'
498
- | 'rowheader'
499
- | 'scrollbar'
500
- | 'search'
501
- | 'searchbox'
502
- | 'separator'
503
- | 'slider'
504
- | 'spinbutton'
505
- | 'status'
506
- | 'switch'
507
- | 'tab'
508
- | 'table'
509
- | 'tablist'
510
- | 'tabpanel'
511
- | 'term'
512
- | 'textbox'
513
- | 'timer'
514
- | 'toolbar'
515
- | 'tooltip'
516
- | 'tree'
517
- | 'treegrid'
518
- | 'treeitem';
519
- type AccessibilityProps = AriaAttributes;
448
+ /* eslint-disable @typescript-eslint/no-explicit-any */
520
449
 
521
- type AriaAttributes = {
522
- role: AriaRoles;
523
- /**
524
- * Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
525
- */
526
- activeDescendant?: string;
527
- /**
528
- * Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
529
- */
530
- atomic?: boolean;
531
- /**
532
- * Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
533
- */
534
- autoComplete?: 'none' | 'inline' | 'list' | 'both';
535
- /**
536
- * Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.
537
- */
538
- busy?: boolean;
539
- /**
540
- * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
541
- * @see aria-pressed @see aria-selected.
542
- */
543
- checked?: boolean | 'mixed';
544
- /**
545
- * Defines the total number of columns in a table, grid, or treegrid.
546
- * @see aria-colindex.
547
- */
548
- colCount?: number;
549
- /**
550
- * Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
551
- * @see aria-colcount @see aria-colspan.
552
- */
553
- colIndex?: number;
554
- /**
555
- * Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
556
- * @see aria-colindex @see aria-rowspan.
557
- */
558
- colSpan?: number;
559
- /**
560
- * Identifies the element (or elements) whose contents or presence are controlled by the current element.
561
- * @see aria-owns.
562
- */
563
- controls?: string;
564
- /**
565
- * Indicates the element that represents the current item within a container or set of related elements.
566
- */
567
- current?: boolean | 'page' | 'step' | 'location' | 'date' | 'time';
568
- /**
569
- * Identifies the element (or elements) that describes the object.
570
- * @see aria-labelledby
571
- */
572
- describedBy?: string;
573
- /**
574
- * Identifies the element that provides a detailed, extended description for the object.
575
- * @see aria-describedby.
576
- */
577
- details?: string;
578
- /**
579
- * Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
580
- * @see aria-hidden @see aria-readonly.
581
- */
582
- disabled?: boolean;
583
- /**
584
- * Indicates what functions can be performed when a dragged object is released on the drop target.
585
- * @deprecated in ARIA 1.1
586
- */
587
- dropEffect?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup';
588
- /**
589
- * Identifies the element that provides an error message for the object.
590
- * @see aria-invalid @see aria-describedby.
591
- */
592
- errorMessage?: string;
593
- /**
594
- * Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
595
- */
596
- expanded?: boolean;
597
- /**
598
- * Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
599
- * allows assistive technology to override the general default of reading in document source order.
600
- */
601
- flowTo?: string;
602
- /**
603
- * Indicates an element's "grabbed" state in a drag-and-drop operation.
604
- * @deprecated in ARIA 1.1
605
- */
606
- grabbed?: boolean;
607
- /**
608
- * Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
609
- */
610
- hasPopup?: boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
611
- /**
612
- * Indicates whether the element is exposed to an accessibility API.
613
- * @see aria-disabled.
614
- */
615
- hidden?: boolean;
616
- /**
617
- * Indicates the entered value does not conform to the format expected by the application.
618
- * @see aria-errormessage.
619
- */
620
- invalid?: boolean | 'grammar' | 'spelling';
621
- /**
622
- * Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
623
- */
624
- keyShortcuts?: string;
625
- /**
626
- * Defines a string value that labels the current element.
627
- * @see aria-labelledby.
628
- */
629
- label?: string;
630
- /**
631
- * Identifies the element (or elements) that labels the current element.
632
- * @see aria-describedby.
633
- */
634
- labelledBy?: string;
635
- /**
636
- * Defines the hierarchical level of an element within a structure.
637
- */
638
- level?: number;
639
- /**
640
- * Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
641
- */
642
- liveRegion?: 'off' | 'assertive' | 'polite';
643
- /**
644
- * Indicates whether an element is modal when displayed.
645
- */
646
- modal?: boolean;
647
- /**
648
- * Indicates whether a text box accepts multiple lines of input or only a single line.
649
- */
650
- multiline?: boolean;
651
- /**
652
- * Indicates that the user may select more than one item from the current selectable descendants.
653
- */
654
- multiSelectable?: boolean;
655
- /**
656
- * Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
657
- */
658
- orientation?: 'horizontal' | 'vertical';
659
- /**
660
- * Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
661
- * between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
662
- * @see aria-controls.
663
- */
664
- owns?: string;
665
- /**
666
- * Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
667
- * A hint could be a sample value or a brief description of the expected format.
668
- */
669
- placeholder?: string;
670
- /**
671
- * Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
672
- * @see aria-setsize.
673
- */
674
- posInSet?: number;
675
- /**
676
- * Indicates the current "pressed" state of toggle buttons.
677
- * @see aria-checked @see aria-selected.
678
- */
679
- pressed?: boolean | 'mixed';
450
+ /**
451
+ * Brands a type making them act as nominal
452
+ * @see https://medium.com/@KevinBGreene/surviving-the-typescript-ecosystem-branding-and-type-tagging-6cf6e516523d
453
+ */
454
+ type Brand<Type, Name extends string> = Type & { __brand__?: Name };
455
+
456
+ type NativeOrWebBrand = Brand<any, 'native' | 'web'>;
457
+
458
+ /* eslint-disable @typescript-eslint/no-namespace */
459
+
460
+
461
+ declare namespace Platform {
462
+ export type Name = 'native';
680
463
  /**
681
- * Indicates that the element is not editable, but is otherwise operable.
682
- * @see aria-disabled.
464
+ * Right now, the module resolution is set to resolve `.native` files,
465
+ *
466
+ * Thus Platform.Select<> type will return the `native` type
683
467
  */
684
- readOnly?: boolean;
468
+ export type Select<Options extends { web: unknown; native: unknown }> = Brand<
469
+ Options[Name],
470
+ 'platform-native'
471
+ >;
472
+
473
+ export type CastNative<T extends NativeOrWebBrand | undefined> = Extract<
474
+ T,
475
+ { __brand__?: 'platform-native' | 'platform-all' }
476
+ >;
477
+
478
+ export type CastWeb<T extends NativeOrWebBrand | undefined> = Extract<
479
+ T,
480
+ { __brand__?: 'platform-web' | 'platform-all' }
481
+ >;
482
+ }
483
+
484
+ type Duration = {
485
+ /** `70` milliseconds */
486
+ '2xquick': 70;
487
+ /** `150` milliseconds */
488
+ xquick: 150;
489
+ /** `200` milliseconds */
490
+ quick: 200;
491
+ /** `250` milliseconds */
492
+ moderate: 250;
493
+ /** `300` milliseconds */
494
+ xmoderate: 300;
495
+ /** `400` milliseconds */
496
+ gentle: 400;
497
+ /** `600` milliseconds */
498
+ xgentle: 600;
499
+ /** `900` milliseconds */
500
+ '2xgentle': 900;
501
+ };
502
+
503
+ type Delay = {
504
+ /** `70` milliseconds */
505
+ '2xshort': 70;
506
+ /** `120` milliseconds */
507
+ xshort: 120;
508
+ /** `180` milliseconds */
509
+ short: 180;
510
+ /** `3000` milliseconds */
511
+ long: 3000;
512
+ /** `5000` milliseconds */
513
+ xlong: 5000;
514
+ };
515
+
516
+ type EasingFunctionFactory = { factory: () => (value: number) => number }; // similar to EasingFunctionFactory of `react-native-reanimated`
517
+ type EasingType<Value extends string> = Platform.Select<{
518
+ web: Value;
519
+ native: EasingFunctionFactory;
520
+ }>;
521
+
522
+ type Easing = {
523
+ /** Easings for all standard animations*/
524
+ standard: {
525
+ /** `cubic-bezier(0.5, 0, 0.3, 1.5)`
526
+ *
527
+ * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
528
+ attentive: EasingType<'cubic-bezier(0.5, 0, 0.3, 1.5)'>;
529
+ /** `cubic-bezier(0.3, 0, 0.2, 1)`
530
+ *
531
+ * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
532
+ effective: EasingType<'cubic-bezier(0.3, 0, 0.2, 1)'>;
533
+ /** `cubic-bezier(0.5, 0, 0, 1)`
534
+ *
535
+ * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
536
+ revealing: EasingType<'cubic-bezier(0.5, 0, 0, 1)'>;
537
+ /** `cubic-bezier(1, 0.5, 0, 0.5)`
538
+ *
539
+ * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
540
+ wary: EasingType<'cubic-bezier(1, 0.5, 0, 0.5)'>;
541
+ };
542
+ /** Easings for all entrance animations*/
543
+ entrance: {
544
+ /** `cubic-bezier(0.5, 0, 0.3, 1.5)`
545
+ *
546
+ * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
547
+ attentive: EasingType<'cubic-bezier(0.5, 0, 0.3, 1.5)'>;
548
+ /** `cubic-bezier(0, 0, 0.2, 1)`
549
+ *
550
+ * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
551
+ effective: EasingType<'cubic-bezier(0, 0, 0.2, 1)'>;
552
+ /** `cubic-bezier(0, 0, 0, 1)`
553
+ *
554
+ * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
555
+ revealing: EasingType<'cubic-bezier(0, 0, 0, 1)'>;
556
+ };
557
+ /** Easings for all exit animations*/
558
+ exit: {
559
+ /** `cubic-bezier(0.7, 0, 0.5, 1)`
560
+ *
561
+ * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
562
+ attentive: EasingType<'cubic-bezier(0.7, 0, 0.5, 1)'>;
563
+ /** `cubic-bezier(0.17, 0, 1, 1)`
564
+ *
565
+ * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
566
+ effective: EasingType<'cubic-bezier(0.17, 0, 1, 1)'>;
567
+ /** `cubic-bezier(0.5, 0, 1, 1)`
568
+ *
569
+ * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
570
+ revealing: EasingType<'cubic-bezier(0.5, 0, 1, 1)'>;
571
+ };
572
+ };
573
+
574
+ type Motion = Readonly<{
575
+ delay: Delay;
576
+ duration: Duration;
577
+ easing: Easing;
578
+ }>;
579
+
580
+ type ElevationLevels = 'none' | 'lowRaised' | 'midRaised' | 'highRaised';
581
+
582
+ type ElevationStyles = Readonly<{
583
+ elevation: number;
584
+ shadowColor: string;
585
+ shadowOpacity: number;
586
+ shadowRadius: number;
587
+ shadowOffset: {
588
+ /**
589
+ * x-axis
590
+ */
591
+ width: number;
592
+ /**
593
+ * y-axis
594
+ */
595
+ height: number;
596
+ };
597
+ }>;
598
+
599
+ type Elevation = Record<
600
+ ElevationLevels,
601
+ Platform.Select<{
602
+ web: string;
603
+ native: ElevationStyles;
604
+ }>
605
+ >;
606
+
607
+ type ElevationWithColorModes = Record<ColorSchemeModes, Elevation>;
608
+
609
+ /* eslint-disable @typescript-eslint/no-explicit-any */
610
+
611
+
612
+ /**
613
+ * @template TokenType token type generic
614
+ * @description Tokenises objects to dot notation strings, eg: `surface.text.normal.lowContrast`
615
+ */
616
+ type DotNotationColorStringToken<TokenType> = {
617
+ [K in keyof TokenType]: `${Extract<K, number | string>}.${TokenType[K] extends Record<
618
+ string,
619
+ string
620
+ >
621
+ ? Extract<keyof TokenType[K], number | string>
622
+ : DotNotationColorStringToken<TokenType[K]>}`;
623
+ }[keyof TokenType];
624
+
625
+ type DotNotationSpacingStringToken = `spacing.${keyof Spacing}`;
626
+
627
+ /**
628
+ * Use this when you want children to be string.
629
+ *
630
+ * This covers scenarios like
631
+ * ```jsx
632
+ * <Title>Hi</Title>
633
+ * <Title>{dynamicVariable} something</Title>
634
+ * ```
635
+ *
636
+ *
637
+ * ### Usage
638
+ *
639
+ * ```ts
640
+ * import type { StringChildrenType } from '~helpers/types';
641
+ *
642
+ * type MyProps = {
643
+ * children: StringChildrenType;
644
+ * }
645
+ * ```
646
+ */
647
+ type StringChildrenType = React__default.ReactText | React__default.ReactText[];
648
+
649
+ /**
650
+ *
651
+ * When combined with union, this type utility will give you autocomplete of union while still supporting any string value as input
652
+ *
653
+ * ### Usage
654
+ *
655
+ * ```ts
656
+ * type ThemeName = 'paymentTheme' | 'bankingTheme' | StringWithAutocomplete;
657
+ * ```
658
+ *
659
+ * This will show paymentTheme and bankingTheme in autocomplete but also allow any other string as value.
660
+ *
661
+ * More details - https://github.com/razorpay/blade/pull/1031/commits/86b6ee0facf45e7556739efcbfa5396b11b1b3c9#r1121298293
662
+ * Related TS Issue - https://github.com/microsoft/TypeScript/issues/29729
663
+ *
664
+ */
665
+ type StringWithAutocomplete = string & Record<never, never>;
666
+
667
+ type TestID = {
668
+ testID?: string;
669
+ };
670
+
671
+ /**
672
+ * Similar to `Pick` except this returns `never` when value doesn't exist (native `Pick` returns `unknown`).
673
+ *
674
+ * You might have to ts-ignore the non-existing type error while using this. This is done so that you can get jsdoc from actual type.
675
+ *
676
+ * E.g. This will pick from ViewStyle prop if value exists else returns undefined.
677
+ *
678
+ * ```ts
679
+ * // @ts-expect-error: T passed here may not neccessarily exist. We return `never` type when it doesn't
680
+ * native: PickIfExist<ViewStyle, T>;
681
+ * ```
682
+ */
683
+ type PickIfExist<T, K extends keyof T> = {
684
+ [P in K]: P extends keyof T ? T[P] : never;
685
+ };
686
+
687
+ /**
688
+ * Picks the types based on the platform (web / native).
689
+ *
690
+ * E.g.
691
+ * ```ts
692
+ * type CSSObject = PickCSSByPlatform<'display'>
693
+ * // On Web --> This will be all possible web display properties like `block`, `flex`, `inline`, and more.
694
+ * // On Native --> This will be just `flex` and `none`
695
+ * ```
696
+ */
697
+ type PickCSSByPlatform<T extends keyof React__default.CSSProperties | keyof ViewStyle> = Platform.Select<{
698
+ web: PickIfExist<CSSObject, T>;
699
+ // @ts-expect-error: T passed here may not neccessarily exist. We return `never` type when it doesn't
700
+ native: PickIfExist<ViewStyle, T>;
701
+ }>;
702
+
703
+ type BladeElementRef = Platform.Select<{
704
+ web:
705
+ | Pick<HTMLElement, 'focus' | 'scrollIntoView' | 'getBoundingClientRect' | 'clientHeight'>
706
+ | Pick<View, 'focus'>;
707
+ native: React__default.MutableRefObject<any>;
708
+ }>;
709
+
710
+ declare type ActionListContextProp = Pick<ActionListProps, 'surfaceLevel'>;
711
+ declare const useActionListContext: () => ActionListContextProp;
712
+ declare type ActionListProps = {
713
+ children: React__default.ReactNode[];
714
+ /**
715
+ * Decides the backgroundColor of ActionList
716
+ */
717
+ surfaceLevel?: Exclude<SurfaceLevels, 1>;
718
+ } & TestID;
719
+ declare const ActionList: React__default.MemoExoticComponent<({ children, surfaceLevel, testID }: ActionListProps) => JSX.Element>;
720
+
721
+ type Theme$1 = {
722
+ name: ThemeTokens['name'];
723
+ border: Border;
724
+ breakpoints: Breakpoints;
725
+ colors: Colors;
726
+ spacing: Spacing;
727
+ motion: Motion;
728
+ elevation: Elevation;
729
+ typography: Typography;
730
+ };
731
+
732
+ /**
733
+ * Returns the value or the responsive object with that value
734
+ *
735
+ * ## Usage
736
+ *
737
+ * Example if you pass string argument, return type will be string or responsive object with string value
738
+ *
739
+ * `MakeValueResponsive<string>`
740
+ * ```ts
741
+ * string |
742
+ * {
743
+ * base?: string;
744
+ * xs?: string;
745
+ * s?: string;
746
+ * // ... other breakpoints
747
+ * }
748
+ * ```
749
+ *
750
+ */
751
+ // When type is `never`, we just want to return `never` rather than { base: never, ...etc } since that prop is intended to be never used
752
+ // Explaination of [T] extends [never] -> https://stackoverflow.com/questions/65492464/typescript-never-type-condition
753
+ type MakeValueResponsive$1<T> = [T] extends [never]
754
+ ? never
755
+ :
756
+ | T
757
+ | {
758
+ // Using this instead of Record to maintain the jsdoc from breakpoints.ts
759
+ [P in keyof Breakpoints]?: T;
760
+ };
761
+
762
+ /**
763
+ * Turns all the values in object into responsive object.
764
+ *
765
+ * ```ts
766
+ * MakeObjectResponsive<{ hello: string}>
767
+ *
768
+ * // Outputs:
769
+ * {
770
+ * hello: string | {
771
+ * base?: string;
772
+ * xs?: string;
773
+ * s?: string;
774
+ * // ... other breakpoints
775
+ * }
776
+ * }
777
+ * ```
778
+ */
779
+ type MakeObjectResponsive$1<
780
+ T,
781
+ // using this workaround to preserve the jsdocs
782
+ // https://github.com/microsoft/TypeScript/issues/31992
783
+ K extends keyof T = Extract<keyof T, string>
784
+ > = {
785
+ [P in K]: MakeValueResponsive$1<T[P]>;
786
+ };
787
+
788
+ type ArrayOfMaxLength4$1<T> = readonly [T?, T?, T?, T?];
789
+ type SpaceUnits$1 = 'px' | '%' | 'fr' | 'rem' | 'em' | 'vh' | 'vw';
790
+
791
+ type SpacingValueType$1 =
792
+ | DotNotationSpacingStringToken
793
+ | `${string}${SpaceUnits$1}`
794
+ | `calc(${string})`
795
+ | 'auto'
796
+ | `min(${string})`
797
+ | `max(${string})`
798
+ | 'none'
799
+ | 'initial'
800
+ | 'fit-content'
801
+ | 'max-content'
802
+ | 'min-content';
803
+
804
+ /**
805
+ * @IMPORTANT
806
+ *
807
+ * I wish there was better way to re-use jsdoc but I checked and there isn't so we have to explicitly add docs to each prop.
808
+ *
809
+ * When you want to change a specific token value, you can select the entire block of spacing value mapping and do find and replace on it
810
+ *
811
+ * Checkout example of find and replace query-
812
+ * {@link https://user-images.githubusercontent.com/30949385/221802507-40c7adbc-484a-47b3-9035-ae1e97080b51.png}
813
+ *
814
+ */
815
+
816
+ type PaddingProps$1 = MakeObjectResponsive$1<{
685
817
  /**
686
- * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
687
- * @see aria-atomic.
818
+ * ### Padding Shorthand
819
+ *
820
+ * #### Usage
821
+ *
822
+ * ```jsx
823
+ * padding="spacing.3"
824
+ * padding="20px"
825
+ * padding={["spacing.3", "spacing.1", "spacing.0", "10px"]}
826
+ * ```
827
+ *
828
+ * ---
829
+ * #### Spacing to Pixel values
830
+ *
831
+ * - `spacing.0` - 0px
832
+ * - `spacing.1` - 2px
833
+ * - `spacing.2` - 4px
834
+ * - `spacing.3` - 8px
835
+ * - `spacing.4` - 12px
836
+ * - `spacing.5` - 16px
837
+ * - `spacing.6` - 20px
838
+ * - `spacing.7` - 24px
839
+ * - `spacing.8` - 32px
840
+ * - `spacing.9` - 40px
841
+ * - `spacing.10` - 48px
842
+ * - `spacing.11` - 56px
843
+ *
844
+ * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
845
+ *
688
846
  */
689
- relevant?:
690
- | 'additions'
691
- | 'additions removals'
692
- | 'additions text'
693
- | 'all'
694
- | 'removals'
695
- | 'removals additions'
696
- | 'removals text'
697
- | 'text'
698
- | 'text additions'
699
- | 'text removals';
847
+ padding: SpacingValueType$1 | ArrayOfMaxLength4$1<SpacingValueType$1>;
700
848
  /**
701
- * Indicates that user input is required on the element before a form may be submitted.
849
+ * ### Padding Horizontal
850
+ *
851
+ * #### Usage
852
+ *
853
+ * ```jsx
854
+ * paddingX="spacing.3"
855
+ * paddingX="20px"
856
+ * ```
857
+ *
858
+ * ---
859
+ * #### Spacing to Pixel values
860
+ *
861
+ * - `spacing.0` - 0px
862
+ * - `spacing.1` - 2px
863
+ * - `spacing.2` - 4px
864
+ * - `spacing.3` - 8px
865
+ * - `spacing.4` - 12px
866
+ * - `spacing.5` - 16px
867
+ * - `spacing.6` - 20px
868
+ * - `spacing.7` - 24px
869
+ * - `spacing.8` - 32px
870
+ * - `spacing.9` - 40px
871
+ * - `spacing.10` - 48px
872
+ * - `spacing.11` - 56px
873
+ *
874
+ * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
875
+ *
702
876
  */
703
- required?: boolean;
877
+ paddingX: SpacingValueType$1;
704
878
  /**
705
- * Defines a human-readable, author-localized description for the role of an element.
879
+ * ### Padding Vertical
880
+ *
881
+ * #### Usage
882
+ *
883
+ * ```jsx
884
+ * paddingY="spacing.3"
885
+ * paddingY="20px"
886
+ * ```
887
+ *
888
+ * ---
889
+ * #### Spacing to Pixel values
890
+ *
891
+ * - `spacing.0` - 0px
892
+ * - `spacing.1` - 2px
893
+ * - `spacing.2` - 4px
894
+ * - `spacing.3` - 8px
895
+ * - `spacing.4` - 12px
896
+ * - `spacing.5` - 16px
897
+ * - `spacing.6` - 20px
898
+ * - `spacing.7` - 24px
899
+ * - `spacing.8` - 32px
900
+ * - `spacing.9` - 40px
901
+ * - `spacing.10` - 48px
902
+ * - `spacing.11` - 56px
903
+ *
904
+ * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
905
+ *
706
906
  */
707
- roleDescription?: string;
907
+ paddingY: SpacingValueType$1;
708
908
  /**
709
- * Defines the total number of rows in a table, grid, or treegrid.
710
- * @see aria-rowindex.
909
+ * ### Padding Top
910
+ *
911
+ * #### Usage
912
+ *
913
+ * ```jsx
914
+ * paddingTop="spacing.3"
915
+ * paddingTop="20px"
916
+ * ```
917
+ *
918
+ * ---
919
+ * #### Spacing to Pixel values
920
+ *
921
+ * - `spacing.0` - 0px
922
+ * - `spacing.1` - 2px
923
+ * - `spacing.2` - 4px
924
+ * - `spacing.3` - 8px
925
+ * - `spacing.4` - 12px
926
+ * - `spacing.5` - 16px
927
+ * - `spacing.6` - 20px
928
+ * - `spacing.7` - 24px
929
+ * - `spacing.8` - 32px
930
+ * - `spacing.9` - 40px
931
+ * - `spacing.10` - 48px
932
+ * - `spacing.11` - 56px
933
+ *
934
+ * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
711
935
  */
712
- rowCount?: number;
936
+ paddingTop: SpacingValueType$1;
713
937
  /**
714
- * Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
715
- * @see aria-rowcount @see aria-rowspan.
938
+ * ### Padding Right
939
+ *
940
+ * #### Usage
941
+ *
942
+ * ```jsx
943
+ * paddingRight="spacing.3"
944
+ * paddingRight="20px"
945
+ * ```
946
+ *
947
+ * ---
948
+ * #### Spacing to Pixel values
949
+ *
950
+ * - `spacing.0` - 0px
951
+ * - `spacing.1` - 2px
952
+ * - `spacing.2` - 4px
953
+ * - `spacing.3` - 8px
954
+ * - `spacing.4` - 12px
955
+ * - `spacing.5` - 16px
956
+ * - `spacing.6` - 20px
957
+ * - `spacing.7` - 24px
958
+ * - `spacing.8` - 32px
959
+ * - `spacing.9` - 40px
960
+ * - `spacing.10` - 48px
961
+ * - `spacing.11` - 56px
962
+ *
963
+ * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
716
964
  */
717
- rowIndex?: number;
965
+ paddingRight: SpacingValueType$1;
718
966
  /**
719
- * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
720
- * @see aria-rowindex @see aria-colspan.
967
+ * ### Padding Bottom
968
+ *
969
+ * #### Usage
970
+ *
971
+ * ```jsx
972
+ * paddingBottom="spacing.3"
973
+ * paddingBottom="20px"
974
+ * ```
975
+ *
976
+ * ---
977
+ * #### Spacing to Pixel values
978
+ *
979
+ * - `spacing.0` - 0px
980
+ * - `spacing.1` - 2px
981
+ * - `spacing.2` - 4px
982
+ * - `spacing.3` - 8px
983
+ * - `spacing.4` - 12px
984
+ * - `spacing.5` - 16px
985
+ * - `spacing.6` - 20px
986
+ * - `spacing.7` - 24px
987
+ * - `spacing.8` - 32px
988
+ * - `spacing.9` - 40px
989
+ * - `spacing.10` - 48px
990
+ * - `spacing.11` - 56px
991
+ *
992
+ * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
721
993
  */
722
- rowSpan?: number;
994
+ paddingBottom: SpacingValueType$1;
723
995
  /**
724
- * Indicates the current "selected" state of various widgets.
725
- * @see aria-checked @see aria-pressed.
996
+ * ### Padding Left
997
+ *
998
+ * #### Usage
999
+ *
1000
+ * ```jsx
1001
+ * paddingLeft="spacing.3"
1002
+ * paddingLeft="20px"
1003
+ * ```
1004
+ *
1005
+ * ---
1006
+ * #### Spacing to Pixel values
1007
+ *
1008
+ * - `spacing.0` - 0px
1009
+ * - `spacing.1` - 2px
1010
+ * - `spacing.2` - 4px
1011
+ * - `spacing.3` - 8px
1012
+ * - `spacing.4` - 12px
1013
+ * - `spacing.5` - 16px
1014
+ * - `spacing.6` - 20px
1015
+ * - `spacing.7` - 24px
1016
+ * - `spacing.8` - 32px
1017
+ * - `spacing.9` - 40px
1018
+ * - `spacing.10` - 48px
1019
+ * - `spacing.11` - 56px
1020
+ *
1021
+ * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
726
1022
  */
727
- selected?: boolean;
1023
+ paddingLeft: SpacingValueType$1;
1024
+ }>;
1025
+
1026
+ type MarginProps$1 = MakeObjectResponsive$1<{
728
1027
  /**
729
- * Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
730
- * @see aria-posinset.
1028
+ * ### Margin Shorthand
1029
+ *
1030
+ * #### Usage
1031
+ *
1032
+ * ```jsx
1033
+ * margin="spacing.3"
1034
+ * margin="20px"
1035
+ * margin={["spacing.3", "spacing.1", "spacing.0", "10px"]}
1036
+ * ```
1037
+ *
1038
+ * ---
1039
+ * #### Spacing to Pixel values
1040
+ *
1041
+ * - `spacing.0` - 0px
1042
+ * - `spacing.1` - 2px
1043
+ * - `spacing.2` - 4px
1044
+ * - `spacing.3` - 8px
1045
+ * - `spacing.4` - 12px
1046
+ * - `spacing.5` - 16px
1047
+ * - `spacing.6` - 20px
1048
+ * - `spacing.7` - 24px
1049
+ * - `spacing.8` - 32px
1050
+ * - `spacing.9` - 40px
1051
+ * - `spacing.10` - 48px
1052
+ * - `spacing.11` - 56px
1053
+ *
1054
+ * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1055
+ *
731
1056
  */
732
- setSize?: number;
1057
+ margin: SpacingValueType$1 | ArrayOfMaxLength4$1<SpacingValueType$1>;
733
1058
  /**
734
- * Indicates if items in a table or grid are sorted in ascending or descending order.
1059
+ * ### Margin Horizontal
1060
+ *
1061
+ * #### Usage
1062
+ *
1063
+ * ```jsx
1064
+ * marginX="spacing.3"
1065
+ * marginX="20px"
1066
+ * ```
1067
+ *
1068
+ * ---
1069
+ * #### Spacing to Pixel values
1070
+ *
1071
+ * - `spacing.0` - 0px
1072
+ * - `spacing.1` - 2px
1073
+ * - `spacing.2` - 4px
1074
+ * - `spacing.3` - 8px
1075
+ * - `spacing.4` - 12px
1076
+ * - `spacing.5` - 16px
1077
+ * - `spacing.6` - 20px
1078
+ * - `spacing.7` - 24px
1079
+ * - `spacing.8` - 32px
1080
+ * - `spacing.9` - 40px
1081
+ * - `spacing.10` - 48px
1082
+ * - `spacing.11` - 56px
1083
+ *
1084
+ * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1085
+ *
735
1086
  */
736
- sort?: 'none' | 'ascending' | 'descending' | 'other';
1087
+ marginX: SpacingValueType$1;
737
1088
  /**
738
- * Defines the maximum allowed value for a range widget.
1089
+ * ### Margin Vertical
1090
+ *
1091
+ * #### Usage
1092
+ *
1093
+ * ```jsx
1094
+ * marginY="spacing.3"
1095
+ * marginY="20px"
1096
+ * ```
1097
+ *
1098
+ * ---
1099
+ * #### Spacing to Pixel values
1100
+ *
1101
+ * - `spacing.0` - 0px
1102
+ * - `spacing.1` - 2px
1103
+ * - `spacing.2` - 4px
1104
+ * - `spacing.3` - 8px
1105
+ * - `spacing.4` - 12px
1106
+ * - `spacing.5` - 16px
1107
+ * - `spacing.6` - 20px
1108
+ * - `spacing.7` - 24px
1109
+ * - `spacing.8` - 32px
1110
+ * - `spacing.9` - 40px
1111
+ * - `spacing.10` - 48px
1112
+ * - `spacing.11` - 56px
1113
+ *
1114
+ * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1115
+ *
739
1116
  */
740
- valueMax?: number;
1117
+ marginY: SpacingValueType$1;
741
1118
  /**
742
- * Defines the minimum allowed value for a range widget.
1119
+ * ### Margin Top
1120
+ *
1121
+ * #### Usage
1122
+ *
1123
+ * ```jsx
1124
+ * marginTop="spacing.3"
1125
+ * marginTop="20px"
1126
+ * ```
1127
+ *
1128
+ * ---
1129
+ * #### Spacing to Pixel values
1130
+ *
1131
+ * - `spacing.0` - 0px
1132
+ * - `spacing.1` - 2px
1133
+ * - `spacing.2` - 4px
1134
+ * - `spacing.3` - 8px
1135
+ * - `spacing.4` - 12px
1136
+ * - `spacing.5` - 16px
1137
+ * - `spacing.6` - 20px
1138
+ * - `spacing.7` - 24px
1139
+ * - `spacing.8` - 32px
1140
+ * - `spacing.9` - 40px
1141
+ * - `spacing.10` - 48px
1142
+ * - `spacing.11` - 56px
1143
+ *
1144
+ * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
743
1145
  */
744
- valueMin?: number;
1146
+ marginTop: SpacingValueType$1;
745
1147
  /**
746
- * Defines the current value for a range widget.
747
- * @see aria-valuetext.
1148
+ * ### Margin Right
1149
+ *
1150
+ * #### Usage
1151
+ *
1152
+ * ```jsx
1153
+ * marginRight="spacing.3"
1154
+ * marginRight="20px"
1155
+ * ```
1156
+ *
1157
+ * ---
1158
+ * #### Spacing to Pixel values
1159
+ *
1160
+ * - `spacing.0` - 0px
1161
+ * - `spacing.1` - 2px
1162
+ * - `spacing.2` - 4px
1163
+ * - `spacing.3` - 8px
1164
+ * - `spacing.4` - 12px
1165
+ * - `spacing.5` - 16px
1166
+ * - `spacing.6` - 20px
1167
+ * - `spacing.7` - 24px
1168
+ * - `spacing.8` - 32px
1169
+ * - `spacing.9` - 40px
1170
+ * - `spacing.10` - 48px
1171
+ * - `spacing.11` - 56px
1172
+ *
1173
+ * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
748
1174
  */
749
- valueNow?: number;
1175
+ marginRight: SpacingValueType$1;
750
1176
  /**
751
- * Defines the human readable text alternative of aria-valuenow for a range widget.
1177
+ * ### Margin Bottom
1178
+ *
1179
+ * #### Usage
1180
+ *
1181
+ * ```jsx
1182
+ * marginBottom="spacing.3"
1183
+ * marginBottom="20px"
1184
+ * ```
1185
+ *
1186
+ * ---
1187
+ * #### Spacing to Pixel values
1188
+ *
1189
+ * - `spacing.0` - 0px
1190
+ * - `spacing.1` - 2px
1191
+ * - `spacing.2` - 4px
1192
+ * - `spacing.3` - 8px
1193
+ * - `spacing.4` - 12px
1194
+ * - `spacing.5` - 16px
1195
+ * - `spacing.6` - 20px
1196
+ * - `spacing.7` - 24px
1197
+ * - `spacing.8` - 32px
1198
+ * - `spacing.9` - 40px
1199
+ * - `spacing.10` - 48px
1200
+ * - `spacing.11` - 56px
1201
+ *
1202
+ * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
752
1203
  */
753
- valueText?: string;
754
- };
755
-
756
- /* eslint-disable @typescript-eslint/no-explicit-any */
757
-
758
- /**
759
- * Brands a type making them act as nominal
760
- * @see https://medium.com/@KevinBGreene/surviving-the-typescript-ecosystem-branding-and-type-tagging-6cf6e516523d
761
- */
762
- type Brand<Type, Name extends string> = Type & { __brand__?: Name };
763
-
764
- type NativeOrWebBrand = Brand<any, 'native' | 'web'>;
765
-
766
- /* eslint-disable @typescript-eslint/no-namespace */
767
-
768
-
769
- declare namespace Platform {
770
- export type Name = 'native';
1204
+ marginBottom: SpacingValueType$1;
771
1205
  /**
772
- * Right now, the module resolution is set to resolve `.native` files,
1206
+ * ### Margin Left
773
1207
  *
774
- * Thus Platform.Select<> type will return the `native` type
1208
+ * #### Usage
1209
+ *
1210
+ * ```jsx
1211
+ * marginLeft="spacing.3"
1212
+ * marginLeft="20px"
1213
+ * ```
1214
+ *
1215
+ * ---
1216
+ * #### Spacing to Pixel values
1217
+ *
1218
+ * - `spacing.0` - 0px
1219
+ * - `spacing.1` - 2px
1220
+ * - `spacing.2` - 4px
1221
+ * - `spacing.3` - 8px
1222
+ * - `spacing.4` - 12px
1223
+ * - `spacing.5` - 16px
1224
+ * - `spacing.6` - 20px
1225
+ * - `spacing.7` - 24px
1226
+ * - `spacing.8` - 32px
1227
+ * - `spacing.9` - 40px
1228
+ * - `spacing.10` - 48px
1229
+ * - `spacing.11` - 56px
1230
+ *
1231
+ * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
775
1232
  */
776
- export type Select<Options extends { web: unknown; native: unknown }> = Brand<
777
- Options[Name],
778
- 'platform-native'
779
- >;
780
-
781
- export type CastNative<T extends NativeOrWebBrand | undefined> = Extract<
782
- T,
783
- { __brand__?: 'platform-native' | 'platform-all' }
784
- >;
1233
+ marginLeft: SpacingValueType$1;
1234
+ }>;
785
1235
 
786
- export type CastWeb<T extends NativeOrWebBrand | undefined> = Extract<
787
- T,
788
- { __brand__?: 'platform-web' | 'platform-all' }
789
- >;
790
- }
1236
+ /* eslint-disable @typescript-eslint/no-explicit-any */
791
1237
 
792
- type Duration = {
793
- /** `70` milliseconds */
794
- '2xquick': 70;
795
- /** `150` milliseconds */
796
- xquick: 150;
797
- /** `200` milliseconds */
798
- quick: 200;
799
- /** `250` milliseconds */
800
- moderate: 250;
801
- /** `300` milliseconds */
802
- xmoderate: 300;
803
- /** `400` milliseconds */
804
- gentle: 400;
805
- /** `600` milliseconds */
806
- xgentle: 600;
807
- /** `900` milliseconds */
808
- '2xgentle': 900;
809
- };
810
1238
 
811
- type Delay = {
812
- /** `70` milliseconds */
813
- '2xshort': 70;
814
- /** `120` milliseconds */
815
- xshort: 120;
816
- /** `180` milliseconds */
817
- short: 180;
818
- /** `3000` milliseconds */
819
- long: 3000;
820
- /** `5000` milliseconds */
821
- xlong: 5000;
1239
+ type BladeCommonEvents$1 = {
1240
+ onBlur?: Platform.Select<{
1241
+ native: undefined | ((event: any) => void);
1242
+ web: React.FocusEventHandler;
1243
+ }>;
1244
+ onFocus?: Platform.Select<{
1245
+ native: undefined | ((event: any) => void);
1246
+ web: React.FocusEventHandler;
1247
+ }>;
1248
+ onMouseLeave?: Platform.Select<{ web: React.MouseEventHandler; native: undefined }>;
1249
+ onMouseMove?: Platform.Select<{ web: React.MouseEventHandler; native: undefined }>;
1250
+ onPointerDown?: Platform.Select<{ web: React.PointerEventHandler; native: undefined }>;
1251
+ onPointerEnter?: Platform.Select<{ web: React.PointerEventHandler; native: undefined }>;
1252
+ onTouchStart?: Platform.Select<{
1253
+ native: undefined | ((event: any) => void);
1254
+ web: React.TouchEventHandler;
1255
+ }>;
1256
+ onTouchEnd?: Platform.Select<{
1257
+ native: undefined | ((event: any) => void);
1258
+ web: React.TouchEventHandler;
1259
+ }>;
822
1260
  };
823
1261
 
824
- type EasingFunctionFactory = { factory: () => (value: number) => number }; // similar to EasingFunctionFactory of `react-native-reanimated`
825
- type EasingType<Value extends string> = Platform.Select<{
826
- web: Value;
827
- native: EasingFunctionFactory;
828
- }>;
1262
+ type LayoutProps$1 = MakeObjectResponsive$1<
1263
+ {
1264
+ height: SpacingValueType$1;
1265
+ minHeight: SpacingValueType$1;
1266
+ maxHeight: SpacingValueType$1;
1267
+ width: SpacingValueType$1;
1268
+ minWidth: SpacingValueType$1;
1269
+ maxWidth: SpacingValueType$1;
1270
+ } & PickCSSByPlatform<'display' | 'overflow' | 'overflowX' | 'overflowY' | 'textAlign'>
1271
+ >;
829
1272
 
830
- type Easing = {
831
- /** Easings for all standard animations*/
832
- standard: {
833
- /** `cubic-bezier(0.5, 0, 0.3, 1.5)`
834
- *
835
- * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
836
- attentive: EasingType<'cubic-bezier(0.5, 0, 0.3, 1.5)'>;
837
- /** `cubic-bezier(0.3, 0, 0.2, 1)`
838
- *
839
- * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
840
- effective: EasingType<'cubic-bezier(0.3, 0, 0.2, 1)'>;
841
- /** `cubic-bezier(0.5, 0, 0, 1)`
842
- *
843
- * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
844
- revealing: EasingType<'cubic-bezier(0.5, 0, 0, 1)'>;
845
- /** `cubic-bezier(1, 0.5, 0, 0.5)`
846
- *
847
- * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
848
- wary: EasingType<'cubic-bezier(1, 0.5, 0, 0.5)'>;
849
- };
850
- /** Easings for all entrance animations*/
851
- entrance: {
852
- /** `cubic-bezier(0.5, 0, 0.3, 1.5)`
853
- *
854
- * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
855
- attentive: EasingType<'cubic-bezier(0.5, 0, 0.3, 1.5)'>;
856
- /** `cubic-bezier(0, 0, 0.2, 1)`
857
- *
858
- * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
859
- effective: EasingType<'cubic-bezier(0, 0, 0.2, 1)'>;
860
- /** `cubic-bezier(0, 0, 0, 1)`
861
- *
862
- * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
863
- revealing: EasingType<'cubic-bezier(0, 0, 0, 1)'>;
864
- };
865
- /** Easings for all exit animations*/
866
- exit: {
867
- /** `cubic-bezier(0.7, 0, 0.5, 1)`
868
- *
869
- * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
870
- attentive: EasingType<'cubic-bezier(0.7, 0, 0.5, 1)'>;
871
- /** `cubic-bezier(0.17, 0, 1, 1)`
1273
+ type FlexboxProps$1 = MakeObjectResponsive$1<
1274
+ {
1275
+ /**
1276
+ * This uses the native gap property which might not work on older browsers.
1277
+ * If you want to support older browsers, you might want to use `margin` instead.
872
1278
  *
873
- * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
874
- effective: EasingType<'cubic-bezier(0.17, 0, 1, 1)'>;
875
- /** `cubic-bezier(0.5, 0, 1, 1)`
1279
+ * @see https://caniuse.com/?search=gap
1280
+ */
1281
+ gap: SpacingValueType$1;
1282
+ /**
1283
+ * This uses the native row-gap property which might not work on older browsers.
1284
+ * If you want to support older browsers, you might want to use `margin` instead.
876
1285
  *
877
- * Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFunctionFactory` for native */
878
- revealing: EasingType<'cubic-bezier(0.5, 0, 1, 1)'>;
879
- };
880
- };
881
-
882
- type Motion = Readonly<{
883
- delay: Delay;
884
- duration: Duration;
885
- easing: Easing;
886
- }>;
887
-
888
- type ElevationLevels = 'none' | 'lowRaised' | 'midRaised' | 'highRaised';
889
-
890
- type ElevationStyles = Readonly<{
891
- elevation: number;
892
- shadowColor: string;
893
- shadowOpacity: number;
894
- shadowRadius: number;
895
- shadowOffset: {
1286
+ * @see https://caniuse.com/?search=row-gap
1287
+ */
1288
+ rowGap: SpacingValueType$1;
896
1289
  /**
897
- * x-axis
1290
+ * This uses the native column-gap property which might not work on older browsers.
1291
+ * If you want to support older browsers, you might want to use `margin` instead.
1292
+ *
1293
+ * @see https://caniuse.com/?search=column-gap
898
1294
  */
899
- width: number;
1295
+ columnGap: SpacingValueType$1;
900
1296
  /**
901
- * y-axis
1297
+ * The **`flex`** CSS shorthand property sets how a flex _item_ will grow or shrink to fit the space available in its flex container.
1298
+ *
1299
+ * @see https://developer.mozilla.org/docs/Web/CSS/flex
902
1300
  */
903
- height: number;
904
- };
905
- }>;
906
-
907
- type Elevation = Record<
908
- ElevationLevels,
909
- Platform.Select<{
910
- web: string;
911
- native: ElevationStyles;
912
- }>
1301
+ flex: string | number;
1302
+ } & PickCSSByPlatform<
1303
+ | 'flexWrap'
1304
+ | 'flexDirection'
1305
+ | 'flexGrow'
1306
+ | 'flexShrink'
1307
+ | 'flexBasis'
1308
+ | 'alignItems'
1309
+ | 'alignContent'
1310
+ | 'alignSelf'
1311
+ | 'justifyItems'
1312
+ | 'justifyContent'
1313
+ | 'justifySelf'
1314
+ | 'placeSelf'
1315
+ | 'order'
1316
+ >
913
1317
  >;
914
1318
 
915
- type ElevationWithColorModes = Record<ColorSchemeModes, Elevation>;
1319
+ type PositionProps$1 = MakeObjectResponsive$1<
1320
+ {
1321
+ top: SpacingValueType$1;
1322
+ right: SpacingValueType$1;
1323
+ bottom: SpacingValueType$1;
1324
+ left: SpacingValueType$1;
1325
+ } & PickCSSByPlatform<'position' | 'zIndex'>
1326
+ >;
916
1327
 
917
- /**
918
- * @template TokenType token type generic
919
- * @description Tokenises objects to dot notation strings, eg: `surface.text.normal.lowContrast`
920
- */
921
- type DotNotationColorStringToken<TokenType> = {
922
- [K in keyof TokenType]: `${Extract<K, number | string>}.${TokenType[K] extends Record<
923
- string,
924
- string
1328
+ type GridProps$1 = MakeObjectResponsive$1<
1329
+ PickCSSByPlatform<
1330
+ | 'grid'
1331
+ | 'gridColumn'
1332
+ | 'gridRow'
1333
+ | 'gridRowStart'
1334
+ | 'gridRowEnd'
1335
+ | 'gridColumnStart'
1336
+ | 'gridColumnEnd'
1337
+ | 'gridArea'
1338
+ | 'gridAutoFlow'
1339
+ | 'gridAutoRows'
1340
+ | 'gridAutoColumns'
1341
+ | 'gridTemplate'
1342
+ | 'gridTemplateAreas'
1343
+ | 'gridTemplateColumns'
1344
+ | 'gridTemplateRows'
925
1345
  >
926
- ? Extract<keyof TokenType[K], number | string>
927
- : DotNotationColorStringToken<TokenType[K]>}`;
928
- }[keyof TokenType];
929
-
930
- type DotNotationSpacingStringToken = `spacing.${keyof Spacing}`;
931
-
932
- /**
933
- * Use this when you want children to be string.
934
- *
935
- * This covers scenarios like
936
- * ```jsx
937
- * <Title>Hi</Title>
938
- * <Title>{dynamicVariable} something</Title>
939
- * ```
940
- *
941
- *
942
- * ### Usage
943
- *
944
- * ```ts
945
- * import type { StringChildrenType } from '~helpers/types';
946
- *
947
- * type MyProps = {
948
- * children: StringChildrenType;
949
- * }
950
- * ```
951
- */
952
- type StringChildrenType = React__default.ReactText | React__default.ReactText[];
953
-
954
- /**
955
- *
956
- * When combined with union, this type utility will give you autocomplete of union while still supporting any string value as input
957
- *
958
- * ### Usage
959
- *
960
- * ```ts
961
- * type ThemeName = 'paymentTheme' | 'bankingTheme' | StringWithAutocomplete;
962
- * ```
963
- *
964
- * This will show paymentTheme and bankingTheme in autocomplete but also allow any other string as value.
965
- *
966
- * More details - https://github.com/razorpay/blade/pull/1031/commits/86b6ee0facf45e7556739efcbfa5396b11b1b3c9#r1121298293
967
- * Related TS Issue - https://github.com/microsoft/TypeScript/issues/29729
968
- *
969
- */
970
- type StringWithAutocomplete = string & Record<never, never>;
1346
+ >;
971
1347
 
972
- type TestID = {
973
- testID?: string;
974
- };
1348
+ type ColorObjects$1 = 'feedback' | 'surface' | 'action';
1349
+ type BackgroundColorString$1<T extends ColorObjects$1> = `${T}.background.${DotNotationColorStringToken<
1350
+ Theme$1['colors'][T]['background']
1351
+ >}`;
1352
+ type BorderColorString$1<T extends ColorObjects$1> = `${T}.border.${DotNotationColorStringToken<
1353
+ Theme$1['colors'][T]['border']
1354
+ >}`;
975
1355
 
976
- /**
977
- * Similar to `Pick` except this returns `never` when value doesn't exist (native `Pick` returns `unknown`).
978
- *
979
- * You might have to ts-ignore the non-existing type error while using this. This is done so that you can get jsdoc from actual type.
980
- *
981
- * E.g. This will pick from ViewStyle prop if value exists else returns undefined.
982
- *
983
- * ```ts
984
- * // @ts-expect-error: T passed here may not neccessarily exist. We return `never` type when it doesn't
985
- * native: PickIfExist<ViewStyle, T>;
986
- * ```
987
- */
988
- type PickIfExist<T, K extends keyof T> = {
989
- [P in K]: P extends keyof T ? T[P] : never;
990
- };
1356
+ // Created this as an array so I can reuse it for runtime validation
1357
+ declare const validBoxAsValues$1 = [
1358
+ 'div',
1359
+ 'section',
1360
+ 'footer',
1361
+ 'header',
1362
+ 'main',
1363
+ 'aside',
1364
+ 'nav',
1365
+ 'span',
1366
+ 'label',
1367
+ ] as const;
991
1368
 
992
- /**
993
- * Picks the types based on the platform (web / native).
994
- *
995
- * E.g.
996
- * ```ts
997
- * type CSSObject = PickCSSByPlatform<'display'>
998
- * // On Web --> This will be all possible web display properties like `block`, `flex`, `inline`, and more.
999
- * // On Native --> This will be just `flex` and `none`
1000
- * ```
1001
- */
1002
- type PickCSSByPlatform<T extends keyof React__default.CSSProperties | keyof ViewStyle> = Platform.Select<{
1003
- web: PickIfExist<CSSObject, T>;
1004
- // @ts-expect-error: T passed here may not neccessarily exist. We return `never` type when it doesn't
1005
- native: PickIfExist<ViewStyle, T>;
1006
- }>;
1369
+ type BoxAsType$1 = typeof validBoxAsValues$1[number];
1007
1370
 
1008
- declare type ActionListContextProp = Pick<ActionListProps, 'surfaceLevel'>;
1009
- declare const useActionListContext: () => ActionListContextProp;
1010
- declare type ActionListProps = {
1011
- children: React__default.ReactNode[];
1012
- /**
1013
- * Decides the backgroundColor of ActionList
1014
- */
1015
- surfaceLevel?: Exclude<SurfaceLevels, 1>;
1016
- } & TestID;
1017
- declare const ActionList: React__default.MemoExoticComponent<({ children, surfaceLevel, testID }: ActionListProps) => JSX.Element>;
1371
+ // Visual props that are common for both Box and BaseBox
1372
+ type CommonBoxVisualProps$1 = MakeObjectResponsive$1<
1373
+ {
1374
+ borderRadius: keyof Border['radius'];
1375
+ borderWidth: keyof Border['width'];
1376
+ borderColor: BorderColorString$1<'surface'>;
1377
+ borderTopWidth: keyof Border['width'];
1378
+ borderTopColor: BorderColorString$1<'surface'>;
1379
+ borderRightWidth: keyof Border['width'];
1380
+ borderRightColor: BorderColorString$1<'surface'>;
1381
+ borderBottomWidth: keyof Border['width'];
1382
+ borderBottomColor: BorderColorString$1<'surface'>;
1383
+ borderLeftWidth: keyof Border['width'];
1384
+ borderLeftColor: BorderColorString$1<'surface'>;
1385
+ borderTopLeftRadius: keyof Border['radius'];
1386
+ borderTopRightRadius: keyof Border['radius'];
1387
+ borderBottomRightRadius: keyof Border['radius'];
1388
+ borderBottomLeftRadius: keyof Border['radius'];
1389
+ } & PickCSSByPlatform<
1390
+ | 'backgroundImage'
1391
+ | 'backgroundSize'
1392
+ | 'backgroundPosition'
1393
+ | 'backgroundOrigin'
1394
+ | 'backgroundRepeat'
1395
+ >
1396
+ >;
1018
1397
 
1019
- type Theme$1 = {
1020
- name: ThemeTokens['name'];
1021
- border: Border;
1022
- breakpoints: Breakpoints;
1023
- colors: Colors;
1024
- spacing: Spacing;
1025
- motion: Motion;
1026
- elevation: Elevation;
1027
- typography: Typography;
1398
+ // Visual props that are specific BaseBox
1399
+ // This is used to ensure some of the more flexible BaseBox props are not passed to Box
1400
+ type BaseBoxVisualProps = MakeObjectResponsive$1<
1401
+ {
1402
+ backgroundColor:
1403
+ | BackgroundColorString$1<'feedback'>
1404
+ | BackgroundColorString$1<'surface'>
1405
+ | BackgroundColorString$1<'action'>
1406
+ | (string & Record<never, never>);
1407
+ lineHeight: SpacingValueType$1;
1408
+ touchAction: CSSObject['touchAction'];
1409
+ userSelect: CSSObject['userSelect'];
1410
+ } & PickCSSByPlatform<
1411
+ | 'border'
1412
+ | 'borderLeft'
1413
+ | 'borderRight'
1414
+ | 'borderTop'
1415
+ | 'borderBottom'
1416
+ | 'opacity'
1417
+ | 'pointerEvents'
1418
+ >
1419
+ >;
1420
+
1421
+ // Visual props that are specific to Box
1422
+ type BoxVisualProps$1 = MakeObjectResponsive$1<{
1423
+ backgroundColor: BackgroundColorString$1<'surface'>;
1424
+ }> & {
1425
+ // Intentionally keeping this outside of MakeObjectResponsive since we only want as to be string and not responsive object
1426
+ // styled-components do not support passing `as` prop as an object
1427
+ as: BoxAsType$1;
1028
1428
  };
1029
1429
 
1030
- /**
1031
- * Returns the value or the responsive object with that value
1032
- *
1033
- * ## Usage
1034
- *
1035
- * Example if you pass string argument, return type will be string or responsive object with string value
1036
- *
1037
- * `MakeValueResponsive<string>`
1038
- * ```ts
1039
- * string |
1040
- * {
1041
- * base?: string;
1042
- * xs?: string;
1043
- * s?: string;
1044
- * // ... other breakpoints
1045
- * }
1046
- * ```
1047
- *
1048
- */
1049
- // When type is `never`, we just want to return `never` rather than { base: never, ...etc } since that prop is intended to be never used
1050
- // Explaination of [T] extends [never] -> https://stackoverflow.com/questions/65492464/typescript-never-type-condition
1051
- type MakeValueResponsive$1<T> = [T] extends [never]
1052
- ? never
1053
- :
1054
- | T
1055
- | {
1056
- // Using this instead of Record to maintain the jsdoc from breakpoints.ts
1057
- [P in keyof Breakpoints]?: T;
1058
- };
1430
+ type StyledPropsBlade = Partial<
1431
+ Omit<
1432
+ MarginProps$1 &
1433
+ Pick<FlexboxProps$1, 'alignSelf' | 'justifySelf' | 'placeSelf' | 'order'> &
1434
+ PositionProps$1 &
1435
+ Pick<
1436
+ GridProps$1,
1437
+ | 'gridColumn'
1438
+ | 'gridRow'
1439
+ | 'gridRowStart'
1440
+ | 'gridRowEnd'
1441
+ | 'gridColumnStart'
1442
+ | 'gridColumnEnd'
1443
+ | 'gridArea'
1444
+ >,
1445
+ '__brand__'
1446
+ >
1447
+ >;
1059
1448
 
1060
- /**
1061
- * Turns all the values in object into responsive object.
1062
- *
1063
- * ```ts
1064
- * MakeObjectResponsive<{ hello: string}>
1065
- *
1066
- * // Outputs:
1067
- * {
1068
- * hello: string | {
1069
- * base?: string;
1070
- * xs?: string;
1071
- * s?: string;
1072
- * // ... other breakpoints
1073
- * }
1074
- * }
1075
- * ```
1076
- */
1077
- type MakeObjectResponsive$1<
1078
- T,
1079
- // using this workaround to preserve the jsdocs
1080
- // https://github.com/microsoft/TypeScript/issues/31992
1081
- K extends keyof T = Extract<keyof T, string>
1082
- > = {
1083
- [P in K]: MakeValueResponsive$1<T[P]>;
1084
- };
1449
+ type BoxCallbackProps$1 = Omit<
1450
+ Platform.Select<{
1451
+ web: {
1452
+ /**
1453
+ * **Warning**
1454
+ *
1455
+ * Make sure to not use Box when you want to create a trigger that performs action on hover.
1456
+ * You would probably want to render it as `button` using `styled.button` instead.
1457
+ *
1458
+ * Use this for hoverable containers in cases like custom menus.
1459
+ */
1460
+ onMouseOver: React.MouseEventHandler<HTMLElement>;
1461
+ /**
1462
+ * **Warning**
1463
+ *
1464
+ * Make sure to not use Box when you want to create a trigger that performs action on hover.
1465
+ * You would probably want to render it as `button` using `styled.button` instead.
1466
+ *
1467
+ * Use this for hoverable containers in cases like custom menus.
1468
+ */
1469
+ onMouseEnter: React.MouseEventHandler<HTMLElement>;
1470
+ /**
1471
+ * **Warning**
1472
+ *
1473
+ * Make sure to not use Box when you want to create a trigger that performs action on hover.
1474
+ * You would probably want to render it as `button` using `styled.button` instead.
1475
+ *
1476
+ * Use this for hoverable containers in cases like custom menus.
1477
+ */
1478
+ onMouseLeave: React.MouseEventHandler<HTMLElement>;
1479
+ onScroll: React.UIEventHandler<HTMLElement>;
1480
+ };
1481
+ native: Record<'onMouseOver' | 'onMouseEnter' | 'onMouseLeave' | 'onScroll', undefined>;
1482
+ }>,
1483
+ '__brand__'
1484
+ >;
1085
1485
 
1086
- type ArrayOfMaxLength4$1<T> = readonly [T?, T?, T?, T?];
1087
- type SpaceUnits$1 = 'px' | '%' | 'fr' | 'rem' | 'em' | 'vh' | 'vw';
1486
+ type BoxProps$1 = Partial<
1487
+ PaddingProps$1 &
1488
+ MarginProps$1 &
1489
+ LayoutProps$1 &
1490
+ FlexboxProps$1 &
1491
+ PositionProps$1 &
1492
+ GridProps$1 &
1493
+ BoxCallbackProps$1 &
1494
+ CommonBoxVisualProps$1 &
1495
+ BoxVisualProps$1 & {
1496
+ children?: React.ReactNode | React.ReactNode[];
1497
+ tabIndex?: number;
1498
+ } & TestID
1499
+ >;
1088
1500
 
1089
- type SpacingValueType$1 =
1090
- | DotNotationSpacingStringToken
1091
- | `${string}${SpaceUnits$1}`
1092
- | `calc(${string})`
1093
- | 'auto'
1094
- | `min(${string})`
1095
- | `max(${string})`
1501
+ // Visual props have different types for BaseBox and Box. BaseBox has more flexible types and more props exposed.
1502
+ // So first we Omit Visual props of Box
1503
+ // Then we append BaseBoxVisualProps and some other props for styled-components like class and id
1504
+ type BaseBoxProps = Omit<BoxProps$1, keyof BoxVisualProps$1> &
1505
+ Partial<
1506
+ BaseBoxVisualProps & {
1507
+ className?: string;
1508
+ id?: string;
1509
+ tabIndex?: number;
1510
+ }
1511
+ > &
1512
+ BladeCommonEvents$1;
1513
+
1514
+ // All the WAI-ARIA 1.1 role attribute values from https://www.w3.org/TR/wai-aria-1.1/#role_definitions
1515
+ type AriaRoles =
1516
+ | Exclude<AccessibilityRole, 'header' | 'adjustable' | 'image' | 'none' | 'summary'>
1517
+ | 'alert'
1518
+ | 'alertdialog'
1519
+ | 'application'
1520
+ | 'article'
1521
+ | 'banner'
1522
+ | 'button'
1523
+ | 'cell'
1524
+ | 'checkbox'
1525
+ | 'columnheader'
1526
+ | 'combobox'
1527
+ | 'complementary'
1528
+ | 'contentinfo'
1529
+ | 'definition'
1530
+ | 'dialog'
1531
+ | 'directory'
1532
+ | 'document'
1533
+ | 'feed'
1534
+ | 'figure'
1535
+ | 'form'
1536
+ | 'grid'
1537
+ | 'gridcell'
1538
+ | 'group'
1539
+ | 'heading'
1540
+ | 'img'
1541
+ | 'link'
1542
+ | 'list'
1543
+ | 'listbox'
1544
+ | 'listitem'
1545
+ | 'log'
1546
+ | 'main'
1547
+ | 'marquee'
1548
+ | 'math'
1549
+ | 'menu'
1550
+ | 'menubar'
1551
+ | 'menuitem'
1552
+ | 'menuitemcheckbox'
1553
+ | 'menuitemradio'
1554
+ | 'meter'
1555
+ | 'navigation'
1096
1556
  | 'none'
1097
- | 'initial'
1098
- | 'fit-content'
1099
- | 'max-content'
1100
- | 'min-content';
1101
-
1102
- /**
1103
- * @IMPORTANT
1104
- *
1105
- * I wish there was better way to re-use jsdoc but I checked and there isn't so we have to explicitly add docs to each prop.
1106
- *
1107
- * When you want to change a specific token value, you can select the entire block of spacing value mapping and do find and replace on it
1108
- *
1109
- * Checkout example of find and replace query-
1110
- * {@link https://user-images.githubusercontent.com/30949385/221802507-40c7adbc-484a-47b3-9035-ae1e97080b51.png}
1111
- *
1112
- */
1557
+ | 'note'
1558
+ | 'option'
1559
+ | 'presentation'
1560
+ | 'progressbar'
1561
+ | 'radio'
1562
+ | 'radiogroup'
1563
+ | 'region'
1564
+ | 'row'
1565
+ | 'rowgroup'
1566
+ | 'rowheader'
1567
+ | 'scrollbar'
1568
+ | 'search'
1569
+ | 'searchbox'
1570
+ | 'separator'
1571
+ | 'slider'
1572
+ | 'spinbutton'
1573
+ | 'status'
1574
+ | 'switch'
1575
+ | 'tab'
1576
+ | 'table'
1577
+ | 'tablist'
1578
+ | 'tabpanel'
1579
+ | 'term'
1580
+ | 'textbox'
1581
+ | 'timer'
1582
+ | 'toolbar'
1583
+ | 'tooltip'
1584
+ | 'tree'
1585
+ | 'treegrid'
1586
+ | 'treeitem';
1587
+ type AccessibilityProps = AriaAttributes;
1113
1588
 
1114
- type PaddingProps$1 = MakeObjectResponsive$1<{
1589
+ type AriaAttributes = {
1590
+ role: AriaRoles;
1115
1591
  /**
1116
- * ### Padding Shorthand
1117
- *
1118
- * #### Usage
1119
- *
1120
- * ```jsx
1121
- * padding="spacing.3"
1122
- * padding="20px"
1123
- * padding={["spacing.3", "spacing.1", "spacing.0", "10px"]}
1124
- * ```
1125
- *
1126
- * ---
1127
- * #### Spacing to Pixel values
1128
- *
1129
- * - `spacing.0` - 0px
1130
- * - `spacing.1` - 2px
1131
- * - `spacing.2` - 4px
1132
- * - `spacing.3` - 8px
1133
- * - `spacing.4` - 12px
1134
- * - `spacing.5` - 16px
1135
- * - `spacing.6` - 20px
1136
- * - `spacing.7` - 24px
1137
- * - `spacing.8` - 32px
1138
- * - `spacing.9` - 40px
1139
- * - `spacing.10` - 48px
1140
- * - `spacing.11` - 56px
1141
- *
1142
- * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1143
- *
1592
+ * Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
1144
1593
  */
1145
- padding: SpacingValueType$1 | ArrayOfMaxLength4$1<SpacingValueType$1>;
1594
+ activeDescendant?: string;
1146
1595
  /**
1147
- * ### Padding Horizontal
1148
- *
1149
- * #### Usage
1150
- *
1151
- * ```jsx
1152
- * paddingX="spacing.3"
1153
- * paddingX="20px"
1154
- * ```
1155
- *
1156
- * ---
1157
- * #### Spacing to Pixel values
1158
- *
1159
- * - `spacing.0` - 0px
1160
- * - `spacing.1` - 2px
1161
- * - `spacing.2` - 4px
1162
- * - `spacing.3` - 8px
1163
- * - `spacing.4` - 12px
1164
- * - `spacing.5` - 16px
1165
- * - `spacing.6` - 20px
1166
- * - `spacing.7` - 24px
1167
- * - `spacing.8` - 32px
1168
- * - `spacing.9` - 40px
1169
- * - `spacing.10` - 48px
1170
- * - `spacing.11` - 56px
1171
- *
1172
- * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1173
- *
1596
+ * Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
1174
1597
  */
1175
- paddingX: SpacingValueType$1;
1598
+ atomic?: boolean;
1176
1599
  /**
1177
- * ### Padding Vertical
1178
- *
1179
- * #### Usage
1180
- *
1181
- * ```jsx
1182
- * paddingY="spacing.3"
1183
- * paddingY="20px"
1184
- * ```
1185
- *
1186
- * ---
1187
- * #### Spacing to Pixel values
1188
- *
1189
- * - `spacing.0` - 0px
1190
- * - `spacing.1` - 2px
1191
- * - `spacing.2` - 4px
1192
- * - `spacing.3` - 8px
1193
- * - `spacing.4` - 12px
1194
- * - `spacing.5` - 16px
1195
- * - `spacing.6` - 20px
1196
- * - `spacing.7` - 24px
1197
- * - `spacing.8` - 32px
1198
- * - `spacing.9` - 40px
1199
- * - `spacing.10` - 48px
1200
- * - `spacing.11` - 56px
1201
- *
1202
- * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1203
- *
1600
+ * Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
1204
1601
  */
1205
- paddingY: SpacingValueType$1;
1602
+ autoComplete?: 'none' | 'inline' | 'list' | 'both';
1206
1603
  /**
1207
- * ### Padding Top
1208
- *
1209
- * #### Usage
1210
- *
1211
- * ```jsx
1212
- * paddingTop="spacing.3"
1213
- * paddingTop="20px"
1214
- * ```
1215
- *
1216
- * ---
1217
- * #### Spacing to Pixel values
1218
- *
1219
- * - `spacing.0` - 0px
1220
- * - `spacing.1` - 2px
1221
- * - `spacing.2` - 4px
1222
- * - `spacing.3` - 8px
1223
- * - `spacing.4` - 12px
1224
- * - `spacing.5` - 16px
1225
- * - `spacing.6` - 20px
1226
- * - `spacing.7` - 24px
1227
- * - `spacing.8` - 32px
1228
- * - `spacing.9` - 40px
1229
- * - `spacing.10` - 48px
1230
- * - `spacing.11` - 56px
1231
- *
1232
- * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1604
+ * Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.
1605
+ */
1606
+ busy?: boolean;
1607
+ /**
1608
+ * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
1609
+ * @see aria-pressed @see aria-selected.
1610
+ */
1611
+ checked?: boolean | 'mixed';
1612
+ /**
1613
+ * Defines the total number of columns in a table, grid, or treegrid.
1614
+ * @see aria-colindex.
1615
+ */
1616
+ colCount?: number;
1617
+ /**
1618
+ * Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
1619
+ * @see aria-colcount @see aria-colspan.
1620
+ */
1621
+ colIndex?: number;
1622
+ /**
1623
+ * Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
1624
+ * @see aria-colindex @see aria-rowspan.
1625
+ */
1626
+ colSpan?: number;
1627
+ /**
1628
+ * Identifies the element (or elements) whose contents or presence are controlled by the current element.
1629
+ * @see aria-owns.
1630
+ */
1631
+ controls?: string;
1632
+ /**
1633
+ * Indicates the element that represents the current item within a container or set of related elements.
1634
+ */
1635
+ current?: boolean | 'page' | 'step' | 'location' | 'date' | 'time';
1636
+ /**
1637
+ * Identifies the element (or elements) that describes the object.
1638
+ * @see aria-labelledby
1639
+ */
1640
+ describedBy?: string;
1641
+ /**
1642
+ * Identifies the element that provides a detailed, extended description for the object.
1643
+ * @see aria-describedby.
1644
+ */
1645
+ details?: string;
1646
+ /**
1647
+ * Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
1648
+ * @see aria-hidden @see aria-readonly.
1649
+ */
1650
+ disabled?: boolean;
1651
+ /**
1652
+ * Indicates what functions can be performed when a dragged object is released on the drop target.
1653
+ * @deprecated in ARIA 1.1
1654
+ */
1655
+ dropEffect?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup';
1656
+ /**
1657
+ * Identifies the element that provides an error message for the object.
1658
+ * @see aria-invalid @see aria-describedby.
1659
+ */
1660
+ errorMessage?: string;
1661
+ /**
1662
+ * Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
1663
+ */
1664
+ expanded?: boolean;
1665
+ /**
1666
+ * Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
1667
+ * allows assistive technology to override the general default of reading in document source order.
1668
+ */
1669
+ flowTo?: string;
1670
+ /**
1671
+ * Indicates an element's "grabbed" state in a drag-and-drop operation.
1672
+ * @deprecated in ARIA 1.1
1673
+ */
1674
+ grabbed?: boolean;
1675
+ /**
1676
+ * Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
1233
1677
  */
1234
- paddingTop: SpacingValueType$1;
1678
+ hasPopup?: boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
1235
1679
  /**
1236
- * ### Padding Right
1237
- *
1238
- * #### Usage
1239
- *
1240
- * ```jsx
1241
- * paddingRight="spacing.3"
1242
- * paddingRight="20px"
1243
- * ```
1244
- *
1245
- * ---
1246
- * #### Spacing to Pixel values
1247
- *
1248
- * - `spacing.0` - 0px
1249
- * - `spacing.1` - 2px
1250
- * - `spacing.2` - 4px
1251
- * - `spacing.3` - 8px
1252
- * - `spacing.4` - 12px
1253
- * - `spacing.5` - 16px
1254
- * - `spacing.6` - 20px
1255
- * - `spacing.7` - 24px
1256
- * - `spacing.8` - 32px
1257
- * - `spacing.9` - 40px
1258
- * - `spacing.10` - 48px
1259
- * - `spacing.11` - 56px
1260
- *
1261
- * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1680
+ * Indicates whether the element is exposed to an accessibility API.
1681
+ * @see aria-disabled.
1262
1682
  */
1263
- paddingRight: SpacingValueType$1;
1683
+ hidden?: boolean;
1264
1684
  /**
1265
- * ### Padding Bottom
1266
- *
1267
- * #### Usage
1268
- *
1269
- * ```jsx
1270
- * paddingBottom="spacing.3"
1271
- * paddingBottom="20px"
1272
- * ```
1273
- *
1274
- * ---
1275
- * #### Spacing to Pixel values
1276
- *
1277
- * - `spacing.0` - 0px
1278
- * - `spacing.1` - 2px
1279
- * - `spacing.2` - 4px
1280
- * - `spacing.3` - 8px
1281
- * - `spacing.4` - 12px
1282
- * - `spacing.5` - 16px
1283
- * - `spacing.6` - 20px
1284
- * - `spacing.7` - 24px
1285
- * - `spacing.8` - 32px
1286
- * - `spacing.9` - 40px
1287
- * - `spacing.10` - 48px
1288
- * - `spacing.11` - 56px
1289
- *
1290
- * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1685
+ * Indicates the entered value does not conform to the format expected by the application.
1686
+ * @see aria-errormessage.
1291
1687
  */
1292
- paddingBottom: SpacingValueType$1;
1688
+ invalid?: boolean | 'grammar' | 'spelling';
1293
1689
  /**
1294
- * ### Padding Left
1295
- *
1296
- * #### Usage
1297
- *
1298
- * ```jsx
1299
- * paddingLeft="spacing.3"
1300
- * paddingLeft="20px"
1301
- * ```
1302
- *
1303
- * ---
1304
- * #### Spacing to Pixel values
1305
- *
1306
- * - `spacing.0` - 0px
1307
- * - `spacing.1` - 2px
1308
- * - `spacing.2` - 4px
1309
- * - `spacing.3` - 8px
1310
- * - `spacing.4` - 12px
1311
- * - `spacing.5` - 16px
1312
- * - `spacing.6` - 20px
1313
- * - `spacing.7` - 24px
1314
- * - `spacing.8` - 32px
1315
- * - `spacing.9` - 40px
1316
- * - `spacing.10` - 48px
1317
- * - `spacing.11` - 56px
1318
- *
1319
- * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1690
+ * Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
1320
1691
  */
1321
- paddingLeft: SpacingValueType$1;
1322
- }>;
1323
-
1324
- type MarginProps$1 = MakeObjectResponsive$1<{
1692
+ keyShortcuts?: string;
1325
1693
  /**
1326
- * ### Margin Shorthand
1327
- *
1328
- * #### Usage
1329
- *
1330
- * ```jsx
1331
- * margin="spacing.3"
1332
- * margin="20px"
1333
- * margin={["spacing.3", "spacing.1", "spacing.0", "10px"]}
1334
- * ```
1335
- *
1336
- * ---
1337
- * #### Spacing to Pixel values
1338
- *
1339
- * - `spacing.0` - 0px
1340
- * - `spacing.1` - 2px
1341
- * - `spacing.2` - 4px
1342
- * - `spacing.3` - 8px
1343
- * - `spacing.4` - 12px
1344
- * - `spacing.5` - 16px
1345
- * - `spacing.6` - 20px
1346
- * - `spacing.7` - 24px
1347
- * - `spacing.8` - 32px
1348
- * - `spacing.9` - 40px
1349
- * - `spacing.10` - 48px
1350
- * - `spacing.11` - 56px
1351
- *
1352
- * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1353
- *
1694
+ * Defines a string value that labels the current element.
1695
+ * @see aria-labelledby.
1354
1696
  */
1355
- margin: SpacingValueType$1 | ArrayOfMaxLength4$1<SpacingValueType$1>;
1697
+ label?: string;
1356
1698
  /**
1357
- * ### Margin Horizontal
1358
- *
1359
- * #### Usage
1360
- *
1361
- * ```jsx
1362
- * marginX="spacing.3"
1363
- * marginX="20px"
1364
- * ```
1365
- *
1366
- * ---
1367
- * #### Spacing to Pixel values
1368
- *
1369
- * - `spacing.0` - 0px
1370
- * - `spacing.1` - 2px
1371
- * - `spacing.2` - 4px
1372
- * - `spacing.3` - 8px
1373
- * - `spacing.4` - 12px
1374
- * - `spacing.5` - 16px
1375
- * - `spacing.6` - 20px
1376
- * - `spacing.7` - 24px
1377
- * - `spacing.8` - 32px
1378
- * - `spacing.9` - 40px
1379
- * - `spacing.10` - 48px
1380
- * - `spacing.11` - 56px
1381
- *
1382
- * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1383
- *
1699
+ * Identifies the element (or elements) that labels the current element.
1700
+ * @see aria-describedby.
1384
1701
  */
1385
- marginX: SpacingValueType$1;
1702
+ labelledBy?: string;
1386
1703
  /**
1387
- * ### Margin Vertical
1388
- *
1389
- * #### Usage
1390
- *
1391
- * ```jsx
1392
- * marginY="spacing.3"
1393
- * marginY="20px"
1394
- * ```
1395
- *
1396
- * ---
1397
- * #### Spacing to Pixel values
1398
- *
1399
- * - `spacing.0` - 0px
1400
- * - `spacing.1` - 2px
1401
- * - `spacing.2` - 4px
1402
- * - `spacing.3` - 8px
1403
- * - `spacing.4` - 12px
1404
- * - `spacing.5` - 16px
1405
- * - `spacing.6` - 20px
1406
- * - `spacing.7` - 24px
1407
- * - `spacing.8` - 32px
1408
- * - `spacing.9` - 40px
1409
- * - `spacing.10` - 48px
1410
- * - `spacing.11` - 56px
1411
- *
1412
- * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1413
- *
1704
+ * Defines the hierarchical level of an element within a structure.
1414
1705
  */
1415
- marginY: SpacingValueType$1;
1706
+ level?: number;
1416
1707
  /**
1417
- * ### Margin Top
1418
- *
1419
- * #### Usage
1420
- *
1421
- * ```jsx
1422
- * marginTop="spacing.3"
1423
- * marginTop="20px"
1424
- * ```
1425
- *
1426
- * ---
1427
- * #### Spacing to Pixel values
1428
- *
1429
- * - `spacing.0` - 0px
1430
- * - `spacing.1` - 2px
1431
- * - `spacing.2` - 4px
1432
- * - `spacing.3` - 8px
1433
- * - `spacing.4` - 12px
1434
- * - `spacing.5` - 16px
1435
- * - `spacing.6` - 20px
1436
- * - `spacing.7` - 24px
1437
- * - `spacing.8` - 32px
1438
- * - `spacing.9` - 40px
1439
- * - `spacing.10` - 48px
1440
- * - `spacing.11` - 56px
1441
- *
1442
- * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1708
+ * Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
1443
1709
  */
1444
- marginTop: SpacingValueType$1;
1710
+ liveRegion?: 'off' | 'assertive' | 'polite';
1445
1711
  /**
1446
- * ### Margin Right
1447
- *
1448
- * #### Usage
1449
- *
1450
- * ```jsx
1451
- * marginRight="spacing.3"
1452
- * marginRight="20px"
1453
- * ```
1454
- *
1455
- * ---
1456
- * #### Spacing to Pixel values
1457
- *
1458
- * - `spacing.0` - 0px
1459
- * - `spacing.1` - 2px
1460
- * - `spacing.2` - 4px
1461
- * - `spacing.3` - 8px
1462
- * - `spacing.4` - 12px
1463
- * - `spacing.5` - 16px
1464
- * - `spacing.6` - 20px
1465
- * - `spacing.7` - 24px
1466
- * - `spacing.8` - 32px
1467
- * - `spacing.9` - 40px
1468
- * - `spacing.10` - 48px
1469
- * - `spacing.11` - 56px
1470
- *
1471
- * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1712
+ * Indicates whether an element is modal when displayed.
1713
+ */
1714
+ modal?: boolean;
1715
+ /**
1716
+ * Indicates whether a text box accepts multiple lines of input or only a single line.
1717
+ */
1718
+ multiline?: boolean;
1719
+ /**
1720
+ * Indicates that the user may select more than one item from the current selectable descendants.
1721
+ */
1722
+ multiSelectable?: boolean;
1723
+ /**
1724
+ * Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
1725
+ */
1726
+ orientation?: 'horizontal' | 'vertical';
1727
+ /**
1728
+ * Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
1729
+ * between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
1730
+ * @see aria-controls.
1472
1731
  */
1473
- marginRight: SpacingValueType$1;
1732
+ owns?: string;
1474
1733
  /**
1475
- * ### Margin Bottom
1476
- *
1477
- * #### Usage
1478
- *
1479
- * ```jsx
1480
- * marginBottom="spacing.3"
1481
- * marginBottom="20px"
1482
- * ```
1483
- *
1484
- * ---
1485
- * #### Spacing to Pixel values
1486
- *
1487
- * - `spacing.0` - 0px
1488
- * - `spacing.1` - 2px
1489
- * - `spacing.2` - 4px
1490
- * - `spacing.3` - 8px
1491
- * - `spacing.4` - 12px
1492
- * - `spacing.5` - 16px
1493
- * - `spacing.6` - 20px
1494
- * - `spacing.7` - 24px
1495
- * - `spacing.8` - 32px
1496
- * - `spacing.9` - 40px
1497
- * - `spacing.10` - 48px
1498
- * - `spacing.11` - 56px
1499
- *
1500
- * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1734
+ * Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
1735
+ * A hint could be a sample value or a brief description of the expected format.
1501
1736
  */
1502
- marginBottom: SpacingValueType$1;
1737
+ placeholder?: string;
1503
1738
  /**
1504
- * ### Margin Left
1505
- *
1506
- * #### Usage
1507
- *
1508
- * ```jsx
1509
- * marginLeft="spacing.3"
1510
- * marginLeft="20px"
1511
- * ```
1512
- *
1513
- * ---
1514
- * #### Spacing to Pixel values
1515
- *
1516
- * - `spacing.0` - 0px
1517
- * - `spacing.1` - 2px
1518
- * - `spacing.2` - 4px
1519
- * - `spacing.3` - 8px
1520
- * - `spacing.4` - 12px
1521
- * - `spacing.5` - 16px
1522
- * - `spacing.6` - 20px
1523
- * - `spacing.7` - 24px
1524
- * - `spacing.8` - 32px
1525
- * - `spacing.9` - 40px
1526
- * - `spacing.10` - 48px
1527
- * - `spacing.11` - 56px
1528
- *
1529
- * {@linkcode https://blade.razorpay.com/?path=/story/tokens-spacing--page&globals=measureEnabled:false Spacing Token Ref}
1739
+ * Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
1740
+ * @see aria-setsize.
1530
1741
  */
1531
- marginLeft: SpacingValueType$1;
1532
- }>;
1533
-
1534
- /* eslint-disable @typescript-eslint/no-explicit-any */
1535
-
1536
-
1537
- type BladeCommonEvents$1 = {
1538
- onBlur?: Platform.Select<{
1539
- native: undefined | ((event: any) => void);
1540
- web: React.FocusEventHandler;
1541
- }>;
1542
- onFocus?: Platform.Select<{
1543
- native: undefined | ((event: any) => void);
1544
- web: React.FocusEventHandler;
1545
- }>;
1546
- onMouseLeave?: Platform.Select<{ web: React.MouseEventHandler; native: undefined }>;
1547
- onMouseMove?: Platform.Select<{ web: React.MouseEventHandler; native: undefined }>;
1548
- onPointerDown?: Platform.Select<{ web: React.PointerEventHandler; native: undefined }>;
1549
- onPointerEnter?: Platform.Select<{ web: React.PointerEventHandler; native: undefined }>;
1550
- onTouchStart?: Platform.Select<{
1551
- native: undefined | ((event: any) => void);
1552
- web: React.TouchEventHandler;
1553
- }>;
1554
- onTouchEnd?: Platform.Select<{
1555
- native: undefined | ((event: any) => void);
1556
- web: React.TouchEventHandler;
1557
- }>;
1558
- };
1559
-
1560
- type LayoutProps$1 = MakeObjectResponsive$1<
1561
- {
1562
- height: SpacingValueType$1;
1563
- minHeight: SpacingValueType$1;
1564
- maxHeight: SpacingValueType$1;
1565
- width: SpacingValueType$1;
1566
- minWidth: SpacingValueType$1;
1567
- maxWidth: SpacingValueType$1;
1568
- } & PickCSSByPlatform<'display' | 'overflow' | 'overflowX' | 'overflowY' | 'textAlign'>
1569
- >;
1570
-
1571
- type FlexboxProps$1 = MakeObjectResponsive$1<
1572
- {
1573
- /**
1574
- * This uses the native gap property which might not work on older browsers.
1575
- * If you want to support older browsers, you might want to use `margin` instead.
1576
- *
1577
- * @see https://caniuse.com/?search=gap
1578
- */
1579
- gap: SpacingValueType$1;
1580
- /**
1581
- * This uses the native row-gap property which might not work on older browsers.
1582
- * If you want to support older browsers, you might want to use `margin` instead.
1583
- *
1584
- * @see https://caniuse.com/?search=row-gap
1585
- */
1586
- rowGap: SpacingValueType$1;
1587
- /**
1588
- * This uses the native column-gap property which might not work on older browsers.
1589
- * If you want to support older browsers, you might want to use `margin` instead.
1590
- *
1591
- * @see https://caniuse.com/?search=column-gap
1592
- */
1593
- columnGap: SpacingValueType$1;
1594
- /**
1595
- * The **`flex`** CSS shorthand property sets how a flex _item_ will grow or shrink to fit the space available in its flex container.
1596
- *
1597
- * @see https://developer.mozilla.org/docs/Web/CSS/flex
1598
- */
1599
- flex: string | number;
1600
- } & PickCSSByPlatform<
1601
- | 'flexWrap'
1602
- | 'flexDirection'
1603
- | 'flexGrow'
1604
- | 'flexShrink'
1605
- | 'flexBasis'
1606
- | 'alignItems'
1607
- | 'alignContent'
1608
- | 'alignSelf'
1609
- | 'justifyItems'
1610
- | 'justifyContent'
1611
- | 'justifySelf'
1612
- | 'placeSelf'
1613
- | 'order'
1614
- >
1615
- >;
1616
-
1617
- type PositionProps$1 = MakeObjectResponsive$1<
1618
- {
1619
- top: SpacingValueType$1;
1620
- right: SpacingValueType$1;
1621
- bottom: SpacingValueType$1;
1622
- left: SpacingValueType$1;
1623
- } & PickCSSByPlatform<'position' | 'zIndex'>
1624
- >;
1625
-
1626
- type GridProps$1 = MakeObjectResponsive$1<
1627
- PickCSSByPlatform<
1628
- | 'grid'
1629
- | 'gridColumn'
1630
- | 'gridRow'
1631
- | 'gridRowStart'
1632
- | 'gridRowEnd'
1633
- | 'gridColumnStart'
1634
- | 'gridColumnEnd'
1635
- | 'gridArea'
1636
- | 'gridAutoFlow'
1637
- | 'gridAutoRows'
1638
- | 'gridAutoColumns'
1639
- | 'gridTemplate'
1640
- | 'gridTemplateAreas'
1641
- | 'gridTemplateColumns'
1642
- | 'gridTemplateRows'
1643
- >
1644
- >;
1645
-
1646
- type ColorObjects$1 = 'feedback' | 'surface' | 'action';
1647
- type BackgroundColorString$1<T extends ColorObjects$1> = `${T}.background.${DotNotationColorStringToken<
1648
- Theme$1['colors'][T]['background']
1649
- >}`;
1650
- type BorderColorString$1<T extends ColorObjects$1> = `${T}.border.${DotNotationColorStringToken<
1651
- Theme$1['colors'][T]['border']
1652
- >}`;
1653
-
1654
- // Created this as an array so I can reuse it for runtime validation
1655
- declare const validBoxAsValues$1 = [
1656
- 'div',
1657
- 'section',
1658
- 'footer',
1659
- 'header',
1660
- 'main',
1661
- 'aside',
1662
- 'nav',
1663
- 'span',
1664
- 'label',
1665
- ] as const;
1666
-
1667
- type BoxAsType$1 = typeof validBoxAsValues$1[number];
1668
-
1669
- type BaseBoxVisualProps = MakeObjectResponsive$1<
1670
- {
1671
- borderRadius: keyof Border['radius'];
1672
- backgroundColor:
1673
- | BackgroundColorString$1<'feedback'>
1674
- | BackgroundColorString$1<'surface'>
1675
- | BackgroundColorString$1<'action'>
1676
- | (string & Record<never, never>);
1677
- lineHeight: SpacingValueType$1;
1678
- touchAction: CSSObject['touchAction'];
1679
- userSelect: CSSObject['userSelect'];
1680
- borderWidth: keyof Border['width'];
1681
- borderColor: BorderColorString$1<'surface'>;
1682
- borderTopWidth: keyof Border['width'];
1683
- borderTopColor: BorderColorString$1<'surface'>;
1684
- borderRightWidth: keyof Border['width'];
1685
- borderRightColor: BorderColorString$1<'surface'>;
1686
- borderBottomWidth: keyof Border['width'];
1687
- borderBottomColor: BorderColorString$1<'surface'>;
1688
- borderLeftWidth: keyof Border['width'];
1689
- borderLeftColor: BorderColorString$1<'surface'>;
1690
- borderTopLeftRadius: keyof Border['radius'];
1691
- borderTopRightRadius: keyof Border['radius'];
1692
- borderBottomRightRadius: keyof Border['radius'];
1693
- borderBottomLeftRadius: keyof Border['radius'];
1694
- } & PickCSSByPlatform<
1695
- | 'border'
1696
- | 'borderLeft'
1697
- | 'borderRight'
1698
- | 'borderTop'
1699
- | 'borderBottom'
1700
- | 'opacity'
1701
- | 'pointerEvents'
1702
- >
1703
- >;
1704
-
1705
- type BoxVisualProps$1 = MakeObjectResponsive$1<{
1706
- backgroundColor: BackgroundColorString$1<'surface'>;
1707
- borderWidth: keyof Border['width'];
1708
- borderColor: BorderColorString$1<'surface'>;
1709
- borderTopWidth: keyof Border['width'];
1710
- borderTopColor: BorderColorString$1<'surface'>;
1711
- borderRightWidth: keyof Border['width'];
1712
- borderRightColor: BorderColorString$1<'surface'>;
1713
- borderBottomWidth: keyof Border['width'];
1714
- borderBottomColor: BorderColorString$1<'surface'>;
1715
- borderLeftWidth: keyof Border['width'];
1716
- borderLeftColor: BorderColorString$1<'surface'>;
1717
- borderRadius: keyof Border['radius'];
1718
- borderTopLeftRadius: keyof Border['radius'];
1719
- borderTopRightRadius: keyof Border['radius'];
1720
- borderBottomRightRadius: keyof Border['radius'];
1721
- borderBottomLeftRadius: keyof Border['radius'];
1722
- }> & {
1723
- // Intentionally keeping this outside of MakeObjectResponsive since we only want as to be string and not responsive object
1724
- // styled-components do not support passing `as` prop as an object
1725
- as: BoxAsType$1;
1742
+ posInSet?: number;
1743
+ /**
1744
+ * Indicates the current "pressed" state of toggle buttons.
1745
+ * @see aria-checked @see aria-selected.
1746
+ */
1747
+ pressed?: boolean | 'mixed';
1748
+ /**
1749
+ * Indicates that the element is not editable, but is otherwise operable.
1750
+ * @see aria-disabled.
1751
+ */
1752
+ readOnly?: boolean;
1753
+ /**
1754
+ * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
1755
+ * @see aria-atomic.
1756
+ */
1757
+ relevant?:
1758
+ | 'additions'
1759
+ | 'additions removals'
1760
+ | 'additions text'
1761
+ | 'all'
1762
+ | 'removals'
1763
+ | 'removals additions'
1764
+ | 'removals text'
1765
+ | 'text'
1766
+ | 'text additions'
1767
+ | 'text removals';
1768
+ /**
1769
+ * Indicates that user input is required on the element before a form may be submitted.
1770
+ */
1771
+ required?: boolean;
1772
+ /**
1773
+ * Defines a human-readable, author-localized description for the role of an element.
1774
+ */
1775
+ roleDescription?: string;
1776
+ /**
1777
+ * Defines the total number of rows in a table, grid, or treegrid.
1778
+ * @see aria-rowindex.
1779
+ */
1780
+ rowCount?: number;
1781
+ /**
1782
+ * Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
1783
+ * @see aria-rowcount @see aria-rowspan.
1784
+ */
1785
+ rowIndex?: number;
1786
+ /**
1787
+ * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
1788
+ * @see aria-rowindex @see aria-colspan.
1789
+ */
1790
+ rowSpan?: number;
1791
+ /**
1792
+ * Indicates the current "selected" state of various widgets.
1793
+ * @see aria-checked @see aria-pressed.
1794
+ */
1795
+ selected?: boolean;
1796
+ /**
1797
+ * Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
1798
+ * @see aria-posinset.
1799
+ */
1800
+ setSize?: number;
1801
+ /**
1802
+ * Indicates if items in a table or grid are sorted in ascending or descending order.
1803
+ */
1804
+ sort?: 'none' | 'ascending' | 'descending' | 'other';
1805
+ /**
1806
+ * Defines the maximum allowed value for a range widget.
1807
+ */
1808
+ valueMax?: number;
1809
+ /**
1810
+ * Defines the minimum allowed value for a range widget.
1811
+ */
1812
+ valueMin?: number;
1813
+ /**
1814
+ * Defines the current value for a range widget.
1815
+ * @see aria-valuetext.
1816
+ */
1817
+ valueNow?: number;
1818
+ /**
1819
+ * Defines the human readable text alternative of aria-valuenow for a range widget.
1820
+ */
1821
+ valueText?: string;
1726
1822
  };
1727
1823
 
1728
- type StyledPropsBlade = Partial<
1729
- Omit<
1730
- MarginProps$1 &
1731
- Pick<FlexboxProps$1, 'alignSelf' | 'justifySelf' | 'placeSelf' | 'order'> &
1732
- PositionProps$1 &
1733
- Pick<
1734
- GridProps$1,
1735
- | 'gridColumn'
1736
- | 'gridRow'
1737
- | 'gridRowStart'
1738
- | 'gridRowEnd'
1739
- | 'gridColumnStart'
1740
- | 'gridColumnEnd'
1741
- | 'gridArea'
1742
- >,
1743
- '__brand__'
1744
- >
1745
- >;
1746
-
1747
- type BoxCallbackProps$1 = Omit<
1748
- Platform.Select<{
1749
- web: {
1750
- /**
1751
- * **Warning**
1752
- *
1753
- * Make sure to not use Box when you want to create a trigger that performs action on hover.
1754
- * You would probably want to render it as `button` using `styled.button` instead.
1755
- *
1756
- * Use this for hoverable containers in cases like custom menus.
1757
- */
1758
- onMouseOver: React.MouseEventHandler<HTMLElement>;
1759
- /**
1760
- * **Warning**
1761
- *
1762
- * Make sure to not use Box when you want to create a trigger that performs action on hover.
1763
- * You would probably want to render it as `button` using `styled.button` instead.
1764
- *
1765
- * Use this for hoverable containers in cases like custom menus.
1766
- */
1767
- onMouseEnter: React.MouseEventHandler<HTMLElement>;
1768
- /**
1769
- * **Warning**
1770
- *
1771
- * Make sure to not use Box when you want to create a trigger that performs action on hover.
1772
- * You would probably want to render it as `button` using `styled.button` instead.
1773
- *
1774
- * Use this for hoverable containers in cases like custom menus.
1775
- */
1776
- onMouseLeave: React.MouseEventHandler<HTMLElement>;
1777
- onScroll: React.UIEventHandler<HTMLElement>;
1778
- };
1779
- native: Record<'onMouseOver' | 'onMouseEnter' | 'onMouseLeave' | 'onScroll', undefined>;
1780
- }>,
1781
- '__brand__'
1782
- >;
1783
-
1784
- type BoxProps$1 = Partial<
1785
- PaddingProps$1 &
1786
- MarginProps$1 &
1787
- LayoutProps$1 &
1788
- FlexboxProps$1 &
1789
- PositionProps$1 &
1790
- GridProps$1 &
1791
- BoxCallbackProps$1 &
1792
- BoxVisualProps$1 & {
1793
- children?: React.ReactNode | React.ReactNode[];
1794
- tabIndex?: number;
1795
- } & TestID
1796
- >;
1797
-
1798
- // Visual props have different types for BaseBox and Box. BaseBox has more flexible types and more props exposed.
1799
- // So first we Omit Visual props of Box
1800
- // Then we append BaseBoxVisualProps and some other props for styled-components like class and id
1801
- type BaseBoxProps = Omit<BoxProps$1, keyof BoxVisualProps$1> &
1802
- Partial<
1803
- BaseBoxVisualProps & {
1804
- className?: string;
1805
- id?: string;
1806
- tabIndex?: number;
1807
- }
1808
- > &
1809
- BladeCommonEvents$1;
1810
-
1811
1824
  type FeedbackIconColors$1 = `feedback.icon.${DotNotationColorStringToken<
1812
1825
  Theme$1['colors']['feedback']['icon']
1813
1826
  >}`;
@@ -2635,8 +2648,8 @@ declare type BackgroundColorString<T extends ColorObjects> = `${T}.background.${
2635
2648
  declare type BorderColorString<T extends ColorObjects> = `${T}.border.${DotNotationColorStringToken<Theme$1['colors'][T]['border']>}`;
2636
2649
  declare const validBoxAsValues: readonly ["div", "section", "footer", "header", "main", "aside", "nav", "span", "label"];
2637
2650
  declare type BoxAsType = typeof validBoxAsValues[number];
2638
- declare type BoxVisualProps = MakeObjectResponsive<{
2639
- backgroundColor: BackgroundColorString<'surface'>;
2651
+ declare type CommonBoxVisualProps = MakeObjectResponsive<{
2652
+ borderRadius: keyof Border['radius'];
2640
2653
  borderWidth: keyof Border['width'];
2641
2654
  borderColor: BorderColorString<'surface'>;
2642
2655
  borderTopWidth: keyof Border['width'];
@@ -2647,11 +2660,13 @@ declare type BoxVisualProps = MakeObjectResponsive<{
2647
2660
  borderBottomColor: BorderColorString<'surface'>;
2648
2661
  borderLeftWidth: keyof Border['width'];
2649
2662
  borderLeftColor: BorderColorString<'surface'>;
2650
- borderRadius: keyof Border['radius'];
2651
2663
  borderTopLeftRadius: keyof Border['radius'];
2652
2664
  borderTopRightRadius: keyof Border['radius'];
2653
2665
  borderBottomRightRadius: keyof Border['radius'];
2654
2666
  borderBottomLeftRadius: keyof Border['radius'];
2667
+ } & PickCSSByPlatform<'backgroundImage' | 'backgroundSize' | 'backgroundPosition' | 'backgroundOrigin' | 'backgroundRepeat'>>;
2668
+ declare type BoxVisualProps = MakeObjectResponsive<{
2669
+ backgroundColor: BackgroundColorString<'surface'>;
2655
2670
  }> & {
2656
2671
  as: BoxAsType;
2657
2672
  };
@@ -2688,7 +2703,7 @@ declare type BoxCallbackProps = Omit<Platform.Select<{
2688
2703
  };
2689
2704
  native: Record<'onMouseOver' | 'onMouseEnter' | 'onMouseLeave' | 'onScroll', undefined>;
2690
2705
  }>, '__brand__'>;
2691
- declare type BoxProps = Partial<PaddingProps & MarginProps & LayoutProps & FlexboxProps & PositionProps & GridProps & BoxCallbackProps & BoxVisualProps & {
2706
+ declare type BoxProps = Partial<PaddingProps & MarginProps & LayoutProps & FlexboxProps & PositionProps & GridProps & BoxCallbackProps & CommonBoxVisualProps & BoxVisualProps & {
2692
2707
  children?: React.ReactNode | React.ReactNode[];
2693
2708
  tabIndex?: number;
2694
2709
  } & TestID>;
@@ -2714,14 +2729,6 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
2714
2729
  readonly l?: "none" | "flex" | undefined;
2715
2730
  readonly xl?: "none" | "flex" | undefined;
2716
2731
  } | undefined;
2717
- overflow?: "hidden" | "scroll" | "visible" | {
2718
- readonly base?: "hidden" | "scroll" | "visible" | undefined;
2719
- readonly xs?: "hidden" | "scroll" | "visible" | undefined;
2720
- readonly s?: "hidden" | "scroll" | "visible" | undefined;
2721
- readonly m?: "hidden" | "scroll" | "visible" | undefined;
2722
- readonly l?: "hidden" | "scroll" | "visible" | undefined;
2723
- readonly xl?: "hidden" | "scroll" | "visible" | undefined;
2724
- } | undefined;
2725
2732
  height: SpacingValueType | {
2726
2733
  readonly base?: SpacingValueType | undefined;
2727
2734
  readonly xs?: SpacingValueType | undefined;
@@ -2765,6 +2772,14 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
2765
2772
  overflowX: never;
2766
2773
  overflowY: never;
2767
2774
  textAlign: never;
2775
+ overflow?: "hidden" | "scroll" | "visible" | {
2776
+ readonly base?: "hidden" | "scroll" | "visible" | undefined;
2777
+ readonly xs?: "hidden" | "scroll" | "visible" | undefined;
2778
+ readonly s?: "hidden" | "scroll" | "visible" | undefined;
2779
+ readonly m?: "hidden" | "scroll" | "visible" | undefined;
2780
+ readonly l?: "hidden" | "scroll" | "visible" | undefined;
2781
+ readonly xl?: "hidden" | "scroll" | "visible" | undefined;
2782
+ } | undefined;
2768
2783
  __brand__?: "platform-native" | {
2769
2784
  readonly base?: "platform-native" | undefined;
2770
2785
  readonly xs?: "platform-native" | undefined;
@@ -2774,7 +2789,6 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
2774
2789
  readonly xl?: "platform-native" | undefined;
2775
2790
  } | undefined;
2776
2791
  } & {
2777
- order: never;
2778
2792
  alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | {
2779
2793
  readonly base?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | undefined;
2780
2794
  readonly xs?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | undefined;
@@ -2857,6 +2871,7 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
2857
2871
  } | undefined;
2858
2872
  justifyItems: never;
2859
2873
  justifySelf: never;
2874
+ order: never;
2860
2875
  rowGap: SpacingValueType | {
2861
2876
  readonly base?: SpacingValueType | undefined;
2862
2877
  readonly xs?: SpacingValueType | undefined;
@@ -2948,7 +2963,6 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
2948
2963
  readonly xl?: "platform-native" | undefined;
2949
2964
  } | undefined;
2950
2965
  } & {
2951
- grid: never;
2952
2966
  gridAutoColumns: never;
2953
2967
  gridAutoFlow: never;
2954
2968
  gridAutoRows: never;
@@ -2959,6 +2973,7 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
2959
2973
  gridTemplateAreas: never;
2960
2974
  gridTemplateColumns: never;
2961
2975
  gridTemplateRows: never;
2976
+ grid: never;
2962
2977
  gridArea: never;
2963
2978
  gridColumn: never;
2964
2979
  gridRow: never;
@@ -2976,25 +2991,144 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
2976
2991
  onMouseEnter: undefined;
2977
2992
  onMouseLeave: undefined;
2978
2993
  onScroll: undefined;
2994
+ } & {
2995
+ backgroundImage: never;
2996
+ backgroundOrigin: never;
2997
+ backgroundRepeat: never;
2998
+ backgroundSize: never;
2999
+ borderBottomColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | {
3000
+ readonly base?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3001
+ readonly xs?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3002
+ readonly s?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3003
+ readonly m?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3004
+ readonly l?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3005
+ readonly xl?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3006
+ };
3007
+ borderBottomLeftRadius: "none" | "small" | "medium" | "large" | "max" | "round" | {
3008
+ readonly base?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3009
+ readonly xs?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3010
+ readonly s?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3011
+ readonly m?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3012
+ readonly l?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3013
+ readonly xl?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3014
+ };
3015
+ borderBottomRightRadius: "none" | "small" | "medium" | "large" | "max" | "round" | {
3016
+ readonly base?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3017
+ readonly xs?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3018
+ readonly s?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3019
+ readonly m?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3020
+ readonly l?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3021
+ readonly xl?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3022
+ };
3023
+ borderBottomWidth: "none" | "thinner" | "thin" | "thick" | {
3024
+ readonly base?: "none" | "thinner" | "thin" | "thick" | undefined;
3025
+ readonly xs?: "none" | "thinner" | "thin" | "thick" | undefined;
3026
+ readonly s?: "none" | "thinner" | "thin" | "thick" | undefined;
3027
+ readonly m?: "none" | "thinner" | "thin" | "thick" | undefined;
3028
+ readonly l?: "none" | "thinner" | "thin" | "thick" | undefined;
3029
+ readonly xl?: "none" | "thinner" | "thin" | "thick" | undefined;
3030
+ };
3031
+ borderLeftColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | {
3032
+ readonly base?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3033
+ readonly xs?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3034
+ readonly s?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3035
+ readonly m?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3036
+ readonly l?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3037
+ readonly xl?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3038
+ };
3039
+ borderLeftWidth: "none" | "thinner" | "thin" | "thick" | {
3040
+ readonly base?: "none" | "thinner" | "thin" | "thick" | undefined;
3041
+ readonly xs?: "none" | "thinner" | "thin" | "thick" | undefined;
3042
+ readonly s?: "none" | "thinner" | "thin" | "thick" | undefined;
3043
+ readonly m?: "none" | "thinner" | "thin" | "thick" | undefined;
3044
+ readonly l?: "none" | "thinner" | "thin" | "thick" | undefined;
3045
+ readonly xl?: "none" | "thinner" | "thin" | "thick" | undefined;
3046
+ };
3047
+ borderRightColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | {
3048
+ readonly base?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3049
+ readonly xs?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3050
+ readonly s?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3051
+ readonly m?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3052
+ readonly l?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3053
+ readonly xl?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3054
+ };
3055
+ borderRightWidth: "none" | "thinner" | "thin" | "thick" | {
3056
+ readonly base?: "none" | "thinner" | "thin" | "thick" | undefined;
3057
+ readonly xs?: "none" | "thinner" | "thin" | "thick" | undefined;
3058
+ readonly s?: "none" | "thinner" | "thin" | "thick" | undefined;
3059
+ readonly m?: "none" | "thinner" | "thin" | "thick" | undefined;
3060
+ readonly l?: "none" | "thinner" | "thin" | "thick" | undefined;
3061
+ readonly xl?: "none" | "thinner" | "thin" | "thick" | undefined;
3062
+ };
3063
+ borderTopColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | {
3064
+ readonly base?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3065
+ readonly xs?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3066
+ readonly s?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3067
+ readonly m?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3068
+ readonly l?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3069
+ readonly xl?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3070
+ };
3071
+ borderTopLeftRadius: "none" | "small" | "medium" | "large" | "max" | "round" | {
3072
+ readonly base?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3073
+ readonly xs?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3074
+ readonly s?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3075
+ readonly m?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3076
+ readonly l?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3077
+ readonly xl?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3078
+ };
3079
+ borderTopRightRadius: "none" | "small" | "medium" | "large" | "max" | "round" | {
3080
+ readonly base?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3081
+ readonly xs?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3082
+ readonly s?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3083
+ readonly m?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3084
+ readonly l?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3085
+ readonly xl?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3086
+ };
3087
+ borderTopWidth: "none" | "thinner" | "thin" | "thick" | {
3088
+ readonly base?: "none" | "thinner" | "thin" | "thick" | undefined;
3089
+ readonly xs?: "none" | "thinner" | "thin" | "thick" | undefined;
3090
+ readonly s?: "none" | "thinner" | "thin" | "thick" | undefined;
3091
+ readonly m?: "none" | "thinner" | "thin" | "thick" | undefined;
3092
+ readonly l?: "none" | "thinner" | "thin" | "thick" | undefined;
3093
+ readonly xl?: "none" | "thinner" | "thin" | "thick" | undefined;
3094
+ };
3095
+ backgroundPosition: never;
3096
+ borderColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | {
3097
+ readonly base?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3098
+ readonly xs?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3099
+ readonly s?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3100
+ readonly m?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3101
+ readonly l?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3102
+ readonly xl?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
3103
+ };
3104
+ borderRadius: "none" | "small" | "medium" | "large" | "max" | "round" | {
3105
+ readonly base?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3106
+ readonly xs?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3107
+ readonly s?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3108
+ readonly m?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3109
+ readonly l?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3110
+ readonly xl?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
3111
+ };
3112
+ borderWidth: "none" | "thinner" | "thin" | "thick" | {
3113
+ readonly base?: "none" | "thinner" | "thin" | "thick" | undefined;
3114
+ readonly xs?: "none" | "thinner" | "thin" | "thick" | undefined;
3115
+ readonly s?: "none" | "thinner" | "thin" | "thick" | undefined;
3116
+ readonly m?: "none" | "thinner" | "thin" | "thick" | undefined;
3117
+ readonly l?: "none" | "thinner" | "thin" | "thick" | undefined;
3118
+ readonly xl?: "none" | "thinner" | "thin" | "thick" | undefined;
3119
+ };
3120
+ __brand__?: "platform-native" | {
3121
+ readonly base?: "platform-native" | undefined;
3122
+ readonly xs?: "platform-native" | undefined;
3123
+ readonly s?: "platform-native" | undefined;
3124
+ readonly m?: "platform-native" | undefined;
3125
+ readonly l?: "platform-native" | undefined;
3126
+ readonly xl?: "platform-native" | undefined;
3127
+ } | undefined;
2979
3128
  } & MakeObjectResponsive<{
2980
3129
  backgroundColor: "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast";
2981
- borderWidth: "none" | "thin" | "thick";
2982
- borderColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast";
2983
- borderTopWidth: "none" | "thin" | "thick";
2984
- borderTopColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast";
2985
- borderRightWidth: "none" | "thin" | "thick";
2986
- borderRightColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast";
2987
- borderBottomWidth: "none" | "thin" | "thick";
2988
- borderBottomColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast";
2989
- borderLeftWidth: "none" | "thin" | "thick";
2990
- borderLeftColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast";
2991
- borderRadius: "none" | "small" | "medium" | "large" | "max" | "round";
2992
- borderTopLeftRadius: "none" | "small" | "medium" | "large" | "max" | "round";
2993
- borderTopRightRadius: "none" | "small" | "medium" | "large" | "max" | "round";
2994
- borderBottomRightRadius: "none" | "small" | "medium" | "large" | "max" | "round";
2995
- borderBottomLeftRadius: "none" | "small" | "medium" | "large" | "max" | "round";
2996
- }, "backgroundColor" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomWidth" | "borderLeftColor" | "borderLeftWidth" | "borderRightColor" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopWidth" | "borderColor" | "borderRadius" | "borderWidth"> & {
2997
- as: "header" | "main" | "label" | "aside" | "div" | "footer" | "nav" | "section" | "span";
3130
+ }, "backgroundColor"> & {
3131
+ as: "aside" | "div" | "footer" | "header" | "label" | "main" | "nav" | "section" | "span";
2998
3132
  } & {
2999
3133
  children?: React__default.ReactNode | React__default.ReactNode[];
3000
3134
  tabIndex?: number | undefined;
@@ -3063,16 +3197,6 @@ declare type CardBodyProps = {
3063
3197
  } & TestID;
3064
3198
  declare const CardBody: ({ children, testID }: CardBodyProps) => React__default.ReactElement;
3065
3199
 
3066
- /* eslint-disable @typescript-eslint/no-explicit-any */
3067
-
3068
-
3069
- type BladeElementRef = Platform.Select<{
3070
- web:
3071
- | Pick<HTMLElement, 'focus' | 'scrollIntoView' | 'getBoundingClientRect' | 'clientHeight'>
3072
- | Pick<View, 'focus'>;
3073
- native: React.MutableRefObject<any>;
3074
- }>;
3075
-
3076
3200
  declare type BaseLinkCommonProps = {
3077
3201
  intent?: 'positive' | 'negative' | 'notice' | 'information' | 'neutral';
3078
3202
  contrast?: 'low' | 'high';
@@ -3384,6 +3508,7 @@ type TextCommonProps$1 = {
3384
3508
  */
3385
3509
  color?: BaseTextProps$1['color'];
3386
3510
  textAlign?: BaseTextProps$1['textAlign'];
3511
+ textDecorationLine?: BaseTextProps$1['textDecorationLine'];
3387
3512
  } & TestID &
3388
3513
  StyledPropsBlade;
3389
3514
 
@@ -3687,7 +3812,6 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
3687
3812
  */
3688
3813
  tabIndex?: number | undefined;
3689
3814
  } & TestID & Partial<Omit<MarginProps & Pick<{
3690
- order: never;
3691
3815
  alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | {
3692
3816
  readonly base?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | undefined;
3693
3817
  readonly xs?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | undefined;
@@ -3770,6 +3894,7 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
3770
3894
  } | undefined;
3771
3895
  justifyItems: never;
3772
3896
  justifySelf: never;
3897
+ order: never;
3773
3898
  rowGap: SpacingValueType | {
3774
3899
  readonly base?: SpacingValueType | undefined;
3775
3900
  readonly xs?: SpacingValueType | undefined;
@@ -3803,7 +3928,7 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
3803
3928
  readonly l?: "platform-native" | undefined;
3804
3929
  readonly xl?: "platform-native" | undefined;
3805
3930
  } | undefined;
3806
- }, "order" | "alignSelf" | "justifySelf" | "placeSelf"> & {
3931
+ }, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
3807
3932
  bottom: SpacingValueType | {
3808
3933
  readonly base?: SpacingValueType | undefined;
3809
3934
  readonly xs?: SpacingValueType | undefined;
@@ -3861,7 +3986,6 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
3861
3986
  readonly xl?: "platform-native" | undefined;
3862
3987
  } | undefined;
3863
3988
  } & Pick<{
3864
- grid: never;
3865
3989
  gridAutoColumns: never;
3866
3990
  gridAutoFlow: never;
3867
3991
  gridAutoRows: never;
@@ -3872,6 +3996,7 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
3872
3996
  gridTemplateAreas: never;
3873
3997
  gridTemplateColumns: never;
3874
3998
  gridTemplateRows: never;
3999
+ grid: never;
3875
4000
  gridArea: never;
3876
4001
  gridColumn: never;
3877
4002
  gridRow: never;
@@ -3962,6 +4087,50 @@ declare type CheckboxGroupProps = {
3962
4087
  } & TestID & StyledPropsBlade;
3963
4088
  declare const CheckboxGroup: ({ children, label, helpText, isDisabled, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...styledProps }: CheckboxGroupProps) => React__default.ReactElement;
3964
4089
 
4090
+ declare type DividerProps = {
4091
+ /**
4092
+ * Sets the orientation of divider
4093
+ *
4094
+ * @default 'horizontal'
4095
+ */
4096
+ orientation?: 'horizontal' | 'vertical';
4097
+ /**
4098
+ * Sets the style of divider
4099
+ *
4100
+ * @default 'solid'
4101
+ */
4102
+ dividerStyle?: 'solid' | 'dashed';
4103
+ /**
4104
+ * Sets the variant of divider
4105
+ *
4106
+ * @default 'normal'
4107
+ */
4108
+ variant?: 'normal' | 'subtle';
4109
+ /**
4110
+ * Sets the thickness of divider
4111
+ *
4112
+ * @default 'thin'
4113
+ */
4114
+ thickness?: 'thinner' | 'thin' | 'thick';
4115
+ /**
4116
+ * Sets the contrast of divider
4117
+ *
4118
+ * @default 'low'
4119
+ */
4120
+ contrast?: 'low' | 'high';
4121
+ /**
4122
+ * Sets the height of divider. Divider uses Flex by default, use height only when parent is not flex.
4123
+ *
4124
+ */
4125
+ height?: CSSObject['height'];
4126
+ /**
4127
+ * Sets the width of divider. Divider uses Flex by default, use width only when parent is not flex.
4128
+ *
4129
+ */
4130
+ width?: CSSObject['width'];
4131
+ };
4132
+ declare const Divider: ({ orientation, dividerStyle, variant, thickness, contrast, height, width, }: DividerProps) => React__default.ReactElement;
4133
+
3965
4134
  declare type DropdownProps = {
3966
4135
  selectionType?: 'single' | 'multiple';
3967
4136
  onDismiss?: () => void;
@@ -4857,7 +5026,7 @@ declare type TextInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' | '
4857
5026
  */
4858
5027
  type?: Type;
4859
5028
  } & StyledPropsBlade;
4860
- declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "testID" | "name" | "placeholder" | "label" | "value" | "prefix" | "onBlur" | "onFocus" | "onChange" | "onSubmit" | "defaultValue" | "autoCapitalize" | "autoFocus" | "isDisabled" | "labelPosition" | "validationState" | "helpText" | "errorText" | "necessityIndicator" | "successText" | "isRequired" | "suffix" | "maxCharacters" | "keyboardReturnKeyType" | "autoCompleteSuggestionType"> & {
5029
+ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "placeholder" | "name" | "testID" | "prefix" | "value" | "label" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "defaultValue" | "autoCapitalize" | "autoFocus" | "isDisabled" | "labelPosition" | "validationState" | "helpText" | "errorText" | "necessityIndicator" | "successText" | "isRequired" | "suffix" | "maxCharacters" | "keyboardReturnKeyType" | "autoCompleteSuggestionType"> & {
4861
5030
  /**
4862
5031
  * Decides whether to render a clear icon button
4863
5032
  */
@@ -4889,7 +5058,6 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
4889
5058
  */
4890
5059
  type?: Type;
4891
5060
  } & Partial<Omit<MarginProps & Pick<{
4892
- order: never;
4893
5061
  alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | {
4894
5062
  readonly base?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | undefined;
4895
5063
  readonly xs?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | undefined;
@@ -4972,6 +5140,7 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
4972
5140
  } | undefined;
4973
5141
  justifyItems: never;
4974
5142
  justifySelf: never;
5143
+ order: never;
4975
5144
  rowGap: SpacingValueType | {
4976
5145
  readonly base?: SpacingValueType | undefined;
4977
5146
  readonly xs?: SpacingValueType | undefined;
@@ -5005,7 +5174,7 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
5005
5174
  readonly l?: "platform-native" | undefined;
5006
5175
  readonly xl?: "platform-native" | undefined;
5007
5176
  } | undefined;
5008
- }, "order" | "alignSelf" | "justifySelf" | "placeSelf"> & {
5177
+ }, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
5009
5178
  bottom: SpacingValueType | {
5010
5179
  readonly base?: SpacingValueType | undefined;
5011
5180
  readonly xs?: SpacingValueType | undefined;
@@ -5063,7 +5232,6 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
5063
5232
  readonly xl?: "platform-native" | undefined;
5064
5233
  } | undefined;
5065
5234
  } & Pick<{
5066
- grid: never;
5067
5235
  gridAutoColumns: never;
5068
5236
  gridAutoFlow: never;
5069
5237
  gridAutoRows: never;
@@ -5074,6 +5242,7 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
5074
5242
  gridTemplateAreas: never;
5075
5243
  gridTemplateColumns: never;
5076
5244
  gridTemplateRows: never;
5245
+ grid: never;
5077
5246
  gridArea: never;
5078
5247
  gridColumn: never;
5079
5248
  gridRow: never;
@@ -5119,8 +5288,7 @@ declare type PasswordInputExtraProps = {
5119
5288
  autoCompleteSuggestionType?: Extract<BaseInputProps['autoCompleteSuggestionType'], 'none' | 'password' | 'newPassword'>;
5120
5289
  };
5121
5290
  declare type PasswordInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' | 'maxCharacters' | 'validationState' | 'errorText' | 'successText' | 'helpText' | 'isDisabled' | 'defaultValue' | 'placeholder' | 'isRequired' | 'value' | 'onChange' | 'onBlur' | 'onSubmit' | 'onFocus' | 'name' | 'autoFocus' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'testID'> & PasswordInputExtraProps & StyledPropsBlade;
5122
- declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "testID" | "name" | "placeholder" | "label" | "value" | "onBlur" | "onFocus" | "onChange" | "onSubmit" | "defaultValue" | "autoFocus" | "isDisabled" | "labelPosition" | "validationState" | "helpText" | "errorText" | "successText" | "isRequired" | "maxCharacters" | "keyboardReturnKeyType" | "autoCompleteSuggestionType"> & PasswordInputExtraProps & Partial<Omit<MarginProps & Pick<{
5123
- order: never;
5291
+ declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "placeholder" | "name" | "testID" | "value" | "label" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "defaultValue" | "autoFocus" | "isDisabled" | "labelPosition" | "validationState" | "helpText" | "errorText" | "successText" | "isRequired" | "maxCharacters" | "keyboardReturnKeyType" | "autoCompleteSuggestionType"> & PasswordInputExtraProps & Partial<Omit<MarginProps & Pick<{
5124
5292
  alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | {
5125
5293
  readonly base?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | undefined;
5126
5294
  readonly xs?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | undefined;
@@ -5203,6 +5371,7 @@ declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseI
5203
5371
  } | undefined;
5204
5372
  justifyItems: never;
5205
5373
  justifySelf: never;
5374
+ order: never;
5206
5375
  rowGap: SpacingValueType | {
5207
5376
  readonly base?: SpacingValueType | undefined;
5208
5377
  readonly xs?: SpacingValueType | undefined;
@@ -5236,7 +5405,7 @@ declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseI
5236
5405
  readonly l?: "platform-native" | undefined;
5237
5406
  readonly xl?: "platform-native" | undefined;
5238
5407
  } | undefined;
5239
- }, "order" | "alignSelf" | "justifySelf" | "placeSelf"> & {
5408
+ }, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
5240
5409
  bottom: SpacingValueType | {
5241
5410
  readonly base?: SpacingValueType | undefined;
5242
5411
  readonly xs?: SpacingValueType | undefined;
@@ -5294,7 +5463,6 @@ declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseI
5294
5463
  readonly xl?: "platform-native" | undefined;
5295
5464
  } | undefined;
5296
5465
  } & Pick<{
5297
- grid: never;
5298
5466
  gridAutoColumns: never;
5299
5467
  gridAutoFlow: never;
5300
5468
  gridAutoRows: never;
@@ -5305,6 +5473,7 @@ declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseI
5305
5473
  gridTemplateAreas: never;
5306
5474
  gridTemplateColumns: never;
5307
5475
  gridTemplateRows: never;
5476
+ grid: never;
5308
5477
  gridArea: never;
5309
5478
  gridColumn: never;
5310
5479
  gridRow: never;
@@ -5329,7 +5498,7 @@ declare type TextAreaProps = Pick<BaseInputProps, 'label' | 'labelPosition' | 'n
5329
5498
  */
5330
5499
  onClearButtonClick?: () => void;
5331
5500
  } & StyledPropsBlade;
5332
- declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "testID" | "name" | "placeholder" | "label" | "value" | "numberOfLines" | "onBlur" | "onFocus" | "onChange" | "onSubmit" | "defaultValue" | "autoFocus" | "isDisabled" | "labelPosition" | "validationState" | "helpText" | "errorText" | "necessityIndicator" | "successText" | "isRequired" | "maxCharacters"> & {
5501
+ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "placeholder" | "name" | "testID" | "value" | "label" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "defaultValue" | "autoFocus" | "numberOfLines" | "isDisabled" | "labelPosition" | "validationState" | "helpText" | "errorText" | "necessityIndicator" | "successText" | "isRequired" | "maxCharacters"> & {
5333
5502
  /**
5334
5503
  * Decides whether to render a clear icon button
5335
5504
  */
@@ -5339,7 +5508,6 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
5339
5508
  */
5340
5509
  onClearButtonClick?: (() => void) | undefined;
5341
5510
  } & Partial<Omit<MarginProps & Pick<{
5342
- order: never;
5343
5511
  alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | {
5344
5512
  readonly base?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | undefined;
5345
5513
  readonly xs?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | undefined;
@@ -5422,6 +5590,7 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
5422
5590
  } | undefined;
5423
5591
  justifyItems: never;
5424
5592
  justifySelf: never;
5593
+ order: never;
5425
5594
  rowGap: SpacingValueType | {
5426
5595
  readonly base?: SpacingValueType | undefined;
5427
5596
  readonly xs?: SpacingValueType | undefined;
@@ -5455,7 +5624,7 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
5455
5624
  readonly l?: "platform-native" | undefined;
5456
5625
  readonly xl?: "platform-native" | undefined;
5457
5626
  } | undefined;
5458
- }, "order" | "alignSelf" | "justifySelf" | "placeSelf"> & {
5627
+ }, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
5459
5628
  bottom: SpacingValueType | {
5460
5629
  readonly base?: SpacingValueType | undefined;
5461
5630
  readonly xs?: SpacingValueType | undefined;
@@ -5513,7 +5682,6 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
5513
5682
  readonly xl?: "platform-native" | undefined;
5514
5683
  } | undefined;
5515
5684
  } & Pick<{
5516
- grid: never;
5517
5685
  gridAutoColumns: never;
5518
5686
  gridAutoFlow: never;
5519
5687
  gridAutoRows: never;
@@ -5524,6 +5692,7 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
5524
5692
  gridTemplateAreas: never;
5525
5693
  gridTemplateColumns: never;
5526
5694
  gridTemplateRows: never;
5695
+ grid: never;
5527
5696
  gridArea: never;
5528
5697
  gridColumn: never;
5529
5698
  gridRow: never;
@@ -5640,7 +5809,7 @@ declare type SelectInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' |
5640
5809
  *
5641
5810
  * Checkout {@link https://blade.razorpay.com/?path=/docs/components-dropdown-with-select--with-single-select SelectInput Documentation}.
5642
5811
  */
5643
- declare const SelectInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "testID" | "name" | "placeholder" | "label" | "prefix" | "onBlur" | "onFocus" | "onClick" | "autoFocus" | "isDisabled" | "labelPosition" | "validationState" | "helpText" | "errorText" | "necessityIndicator" | "successText" | "isRequired" | "suffix"> & {
5812
+ declare const SelectInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "placeholder" | "name" | "testID" | "prefix" | "label" | "onFocus" | "onBlur" | "onClick" | "autoFocus" | "isDisabled" | "labelPosition" | "validationState" | "helpText" | "errorText" | "necessityIndicator" | "successText" | "isRequired" | "suffix"> & {
5644
5813
  icon?: IconComponent$1 | undefined;
5645
5814
  /**
5646
5815
  * Controlled value of the Select. Use it in combination of `onChange`.
@@ -5793,8 +5962,9 @@ declare type TitleProps = {
5793
5962
  type?: TextTypes;
5794
5963
  children: React.ReactNode;
5795
5964
  textAlign?: BaseTextProps['textAlign'];
5965
+ textDecorationLine?: BaseTextProps['textDecorationLine'];
5796
5966
  } & TestID & StyledPropsBlade;
5797
- declare const Title: ({ as, size, type, contrast, color, children, testID, textAlign, ...styledProps }: TitleProps) => ReactElement;
5967
+ declare const Title: ({ as, size, type, contrast, color, children, testID, textAlign, textDecorationLine, ...styledProps }: TitleProps) => ReactElement;
5798
5968
 
5799
5969
  declare type HeadingVariant = 'regular' | 'subheading';
5800
5970
  declare type HeadingSize = 'small' | 'medium' | 'large';
@@ -5811,6 +5981,7 @@ declare type HeadingCommonProps = {
5811
5981
  contrast?: ColorContrastTypes;
5812
5982
  children: React.ReactNode;
5813
5983
  textAlign?: BaseTextProps['textAlign'];
5984
+ textDecorationLine?: BaseTextProps['textDecorationLine'];
5814
5985
  } & TestID & StyledPropsBlade;
5815
5986
  declare type HeadingNormalVariant = HeadingCommonProps & {
5816
5987
  variant?: Exclude<HeadingVariant, 'subheading'>;
@@ -5838,7 +6009,7 @@ declare type HeadingProps<T> = T extends {
5838
6009
  } ? Variant extends Exclude<HeadingVariant, 'subheading'> ? HeadingNormalVariant : Variant extends 'subheading' ? HeadingSubHeadingVariant : T : T;
5839
6010
  declare const Heading: <T extends {
5840
6011
  variant: HeadingVariant;
5841
- }>({ as, variant, size, type, weight, contrast, color, children, testID, textAlign, ...styledProps }: HeadingProps<T>) => ReactElement;
6012
+ }>({ as, variant, size, type, weight, contrast, color, children, testID, textAlign, textDecorationLine, ...styledProps }: HeadingProps<T>) => ReactElement;
5842
6013
 
5843
6014
  declare const validAsValues: readonly ["p", "span", "div", "abbr", "figcaption", "cite", "q"];
5844
6015
  declare type TextCommonProps = {
@@ -5855,6 +6026,7 @@ declare type TextCommonProps = {
5855
6026
  */
5856
6027
  color?: BaseTextProps['color'];
5857
6028
  textAlign?: BaseTextProps['textAlign'];
6029
+ textDecorationLine?: BaseTextProps['textDecorationLine'];
5858
6030
  } & TestID & StyledPropsBlade;
5859
6031
  declare type TextVariant = 'body' | 'caption';
5860
6032
  declare type TextBodyVariant = TextCommonProps & {
@@ -5875,13 +6047,13 @@ declare type TextProps<T> = T extends {
5875
6047
  declare type GetTextPropsReturn = Omit<BaseTextProps, 'children'>;
5876
6048
  declare type GetTextProps<T extends {
5877
6049
  variant: TextVariant;
5878
- }> = Pick<TextProps<T>, 'type' | 'variant' | 'weight' | 'size' | 'contrast' | 'color' | 'testID' | 'textAlign'>;
6050
+ }> = Pick<TextProps<T>, 'type' | 'variant' | 'weight' | 'size' | 'contrast' | 'color' | 'testID' | 'textAlign' | 'textDecorationLine'>;
5879
6051
  declare const getTextProps: <T extends {
5880
6052
  variant: TextVariant;
5881
- }>({ variant, type, weight, size, color, contrast, testID, textAlign, }: GetTextProps<T>) => GetTextPropsReturn;
6053
+ }>({ variant, type, weight, size, color, contrast, testID, textAlign, textDecorationLine, }: GetTextProps<T>) => GetTextPropsReturn;
5882
6054
  declare const Text: <T extends {
5883
6055
  variant: TextVariant;
5884
- }>({ as, variant, weight, size, type, contrast, truncateAfterLines, children, color, testID, textAlign, ...styledProps }: TextProps<T>) => ReactElement;
6056
+ }>({ as, variant, weight, size, type, contrast, truncateAfterLines, children, color, testID, textAlign, textDecorationLine, ...styledProps }: TextProps<T>) => ReactElement;
5885
6057
 
5886
6058
  declare type CodeCommonProps = {
5887
6059
  /**
@@ -6152,7 +6324,6 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
6152
6324
  */
6153
6325
  size?: "small" | "medium" | undefined;
6154
6326
  } & TestID & Partial<Omit<MarginProps & Pick<{
6155
- order: never;
6156
6327
  alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | {
6157
6328
  readonly base?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | undefined;
6158
6329
  readonly xs?: "center" | "flex-end" | "flex-start" | "stretch" | "space-around" | "space-between" | undefined;
@@ -6235,6 +6406,7 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
6235
6406
  } | undefined;
6236
6407
  justifyItems: never;
6237
6408
  justifySelf: never;
6409
+ order: never;
6238
6410
  rowGap: SpacingValueType | {
6239
6411
  readonly base?: SpacingValueType | undefined;
6240
6412
  readonly xs?: SpacingValueType | undefined;
@@ -6268,7 +6440,7 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
6268
6440
  readonly l?: "platform-native" | undefined;
6269
6441
  readonly xl?: "platform-native" | undefined;
6270
6442
  } | undefined;
6271
- }, "order" | "alignSelf" | "justifySelf" | "placeSelf"> & {
6443
+ }, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
6272
6444
  bottom: SpacingValueType | {
6273
6445
  readonly base?: SpacingValueType | undefined;
6274
6446
  readonly xs?: SpacingValueType | undefined;
@@ -6326,7 +6498,6 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
6326
6498
  readonly xl?: "platform-native" | undefined;
6327
6499
  } | undefined;
6328
6500
  } & Pick<{
6329
- grid: never;
6330
6501
  gridAutoColumns: never;
6331
6502
  gridAutoFlow: never;
6332
6503
  gridAutoRows: never;
@@ -6337,6 +6508,7 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
6337
6508
  gridTemplateAreas: never;
6338
6509
  gridTemplateColumns: never;
6339
6510
  gridTemplateRows: never;
6511
+ grid: never;
6340
6512
  gridArea: never;
6341
6513
  gridColumn: never;
6342
6514
  gridRow: never;
@@ -6805,4 +6977,4 @@ declare type BladeCommonEvents = {
6805
6977
  }>;
6806
6978
  };
6807
6979
 
6808
- export { Accordion, AccordionItem, AccordionItemProps, AccordionProps, ActionList, ActionListFooter, ActionListFooterIcon, ActionListFooterProps, ActionListHeader, ActionListHeaderIcon, ActionListHeaderProps, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionDivider, ActionListSectionProps, ActivityIcon, AirplayIcon, Alert, AlertCircleIcon, AlertTriangleIcon as AlertOctagonIcon, AlertOnlyIcon, AlertProps, AlertTriangleIcon$1 as AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, Amount, AmountProps, AnchorIcon, AnnouncementIcon, ApertureIcon, AppStoreIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, Attachment as AttachmentIcon, AwardIcon, Badge, BadgeProps, BankIcon, BarChartAltIcon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BillIcon, BladeCommonEvents, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BottomSheet, BottomSheetBody, BottomSheetBodyProps, BottomSheetFooter, BottomSheetFooterProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetProps, Box, BoxIcon, BoxProps, BoxRefType, BriefcaseIcon, BulkPayoutsIcon, Button, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodepenIcon, CoinsIcon, Collapsible, CollapsibleBody, CollapsibleBodyProps, CollapsibleButton, CollapsibleButtonProps, CollapsibleLink, CollapsibleLinkProps, CollapsibleProps, CommandIcon, CompassIcon, ComponentIds, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, CustomersIcon, CutIcon, DashboardIcon, DeleteIcon, DiscIcon, DollarIcon, DollarsIcon, DownloadCloudIcon, DownloadIcon, Dropdown, DropdownButton, DropdownLink, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EditComposeIcon, EditIcon, EditInlineIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, FullScreenEnterIcon, FullScreenExitIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HashIcon, Heading, HeadingProps, HeadphonesIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconComponent, IconProps, IconSize, ImageIcon, InboxIcon, Indicator, IndicatorProps, InfoIcon, InstagramIcon, InvoicesIcon, ItalicIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link, LinkButtonVariantProps, LinkIcon, LinkProps, List, ListIcon, ListItem, ListItemCode, ListItemCodeProps, ListItemLink, ListItemLinkProps, ListItemProps, ListProps, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MailOpenIcon, MapIcon, MapPinIcon, MaximizeIcon, MenuDotsIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, Modal, ModalBody, ModalBodyProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MoveIcon, MusicIcon, MyAccountIcon, NavigationIcon, OTPInput, OTPInputProps, OctagonIcon, OffersIcon, PackageIcon, PaperclipIcon, PasswordInput, PasswordInputProps, PauseCircleIcon, PauseIcon, PaymentButtonsIcon, PaymentLinksIcon, PaymentPagesIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneOffIcon, PhoneOutgoingIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, PowerIcon, PrinterIcon, ProgressBar, ProgressBarProps, ProgressBarVariant, QRCodeIcon, Radio, RadioGroup, RadioGroupProps, RadioIcon, RadioProps, RazorpayIcon, RazorpayXIcon, RefreshIcon, RepeatIcon, ReportsIcon, RewindIcon, RotateClockWiseIcon, RotateCounterClockWiseIcon, RoutesIcon, RupeeIcon, RupeesIcon, SaveIcon, ScissorsIcon, SearchIcon, SelectInput, SelectInputProps, SendIcon, ServerIcon, SettingsIcon, SettlementsIcon, ShareIcon, ShieldIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SpeakerIcon, Spinner, SpinnerProps, SquareIcon, StampIcon, StarIcon, StopCircleIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, Switch, SwitchProps, TabletIcon, TagIcon, TargetIcon, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextProps, TextVariant, Theme, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, Title, TitleProps, ToggleLeftIcon, ToggleRightIcon, Tooltip, TooltipInteractiveWrapper, TooltipProps, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TvIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VideoIcon, VideoOffIcon, VisuallyHidden, VisuallyHiddenProps, VoicemailIcon, VolumeHighIcon, VolumeIcon, VolumeLowIcon, VolumeMuteIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XSquareIcon, ZapIcon, ZoomInIcon, ZoomOutIcon, announce, clearAnnouncer, destroyAnnouncer, getTextProps, screenReaderStyles, useActionListContext, useTheme };
6980
+ export { Accordion, AccordionItem, AccordionItemProps, AccordionProps, ActionList, ActionListFooter, ActionListFooterIcon, ActionListFooterProps, ActionListHeader, ActionListHeaderIcon, ActionListHeaderProps, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionDivider, ActionListSectionProps, ActivityIcon, AirplayIcon, Alert, AlertCircleIcon, AlertTriangleIcon as AlertOctagonIcon, AlertOnlyIcon, AlertProps, AlertTriangleIcon$1 as AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, Amount, AmountProps, AnchorIcon, AnnouncementIcon, ApertureIcon, AppStoreIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, Attachment as AttachmentIcon, AwardIcon, Badge, BadgeProps, BankIcon, BarChartAltIcon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BillIcon, BladeCommonEvents, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BottomSheet, BottomSheetBody, BottomSheetBodyProps, BottomSheetFooter, BottomSheetFooterProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetProps, Box, BoxIcon, BoxProps, BoxRefType, BriefcaseIcon, BulkPayoutsIcon, Button, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodepenIcon, CoinsIcon, Collapsible, CollapsibleBody, CollapsibleBodyProps, CollapsibleButton, CollapsibleButtonProps, CollapsibleLink, CollapsibleLinkProps, CollapsibleProps, CommandIcon, CompassIcon, ComponentIds, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, CustomersIcon, CutIcon, DashboardIcon, DeleteIcon, DiscIcon, Divider, DividerProps, DollarIcon, DollarsIcon, DownloadCloudIcon, DownloadIcon, Dropdown, DropdownButton, DropdownLink, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EditComposeIcon, EditIcon, EditInlineIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, FullScreenEnterIcon, FullScreenExitIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HashIcon, Heading, HeadingProps, HeadphonesIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconComponent, IconProps, IconSize, ImageIcon, InboxIcon, Indicator, IndicatorProps, InfoIcon, InstagramIcon, InvoicesIcon, ItalicIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link, LinkButtonVariantProps, LinkIcon, LinkProps, List, ListIcon, ListItem, ListItemCode, ListItemCodeProps, ListItemLink, ListItemLinkProps, ListItemProps, ListProps, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MailOpenIcon, MapIcon, MapPinIcon, MaximizeIcon, MenuDotsIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, Modal, ModalBody, ModalBodyProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MoveIcon, MusicIcon, MyAccountIcon, NavigationIcon, OTPInput, OTPInputProps, OctagonIcon, OffersIcon, PackageIcon, PaperclipIcon, PasswordInput, PasswordInputProps, PauseCircleIcon, PauseIcon, PaymentButtonsIcon, PaymentLinksIcon, PaymentPagesIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneOffIcon, PhoneOutgoingIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, PowerIcon, PrinterIcon, ProgressBar, ProgressBarProps, ProgressBarVariant, QRCodeIcon, Radio, RadioGroup, RadioGroupProps, RadioIcon, RadioProps, RazorpayIcon, RazorpayXIcon, RefreshIcon, RepeatIcon, ReportsIcon, RewindIcon, RotateClockWiseIcon, RotateCounterClockWiseIcon, RoutesIcon, RupeeIcon, RupeesIcon, SaveIcon, ScissorsIcon, SearchIcon, SelectInput, SelectInputProps, SendIcon, ServerIcon, SettingsIcon, SettlementsIcon, ShareIcon, ShieldIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SpeakerIcon, Spinner, SpinnerProps, SquareIcon, StampIcon, StarIcon, StopCircleIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, Switch, SwitchProps, TabletIcon, TagIcon, TargetIcon, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextProps, TextVariant, Theme, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, Title, TitleProps, ToggleLeftIcon, ToggleRightIcon, Tooltip, TooltipInteractiveWrapper, TooltipProps, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TvIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VideoIcon, VideoOffIcon, VisuallyHidden, VisuallyHiddenProps, VoicemailIcon, VolumeHighIcon, VolumeIcon, VolumeLowIcon, VolumeMuteIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XSquareIcon, ZapIcon, ZoomInIcon, ZoomOutIcon, announce, clearAnnouncer, destroyAnnouncer, getTextProps, screenReaderStyles, useActionListContext, useTheme };