@razorpay/blade 8.12.0 → 8.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/index.d.ts +796 -601
- package/build/components/index.native.d.ts +1471 -1345
- package/build/components/index.native.js +925 -2203
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +3303 -4478
- package/build/components/index.web.js.map +1 -1
- package/build/css/bankingThemeDarkDesktop.css +1 -1
- package/build/css/bankingThemeDarkMobile.css +1 -1
- package/build/css/bankingThemeLightDesktop.css +1 -1
- package/build/css/bankingThemeLightMobile.css +1 -1
- package/build/css/paymentThemeDarkDesktop.css +1 -1
- package/build/css/paymentThemeDarkMobile.css +1 -1
- package/build/css/paymentThemeLightDesktop.css +1 -1
- package/build/css/paymentThemeLightMobile.css +1 -1
- package/build/tokens/index.d.ts +3 -0
- package/build/tokens/index.native.d.ts +3 -0
- package/build/tokens/index.native.js +32 -169
- package/build/tokens/index.native.js.map +1 -1
- package/build/tokens/index.web.js +4371 -4567
- package/build/tokens/index.web.js.map +1 -1
- package/build/utils/index.d.ts +31 -385
- package/build/utils/index.native.d.ts +28 -383
- package/build/utils/index.native.js +10 -4531
- package/build/utils/index.native.js.map +1 -1
- package/build/utils/index.web.js +72 -4861
- package/build/utils/index.web.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default, { ReactChild, ReactElement, ReactNode, SyntheticEvent, KeyboardEvent } from 'react';
|
|
4
|
-
import {
|
|
4
|
+
import { View, ViewStyle, AccessibilityRole, GestureResponderEvent } from 'react-native';
|
|
5
5
|
import * as styled_components from 'styled-components';
|
|
6
6
|
import { CSSObject } from 'styled-components';
|
|
7
7
|
import * as csstype from 'csstype';
|
|
@@ -444,335 +444,25 @@ type ThemeTokens = {
|
|
|
444
444
|
typography: TypographyWithPlatforms;
|
|
445
445
|
};
|
|
446
446
|
|
|
447
|
-
|
|
448
|
-
type AriaRoles =
|
|
449
|
-
| Exclude<AccessibilityRole, 'header' | 'adjustable' | 'image' | 'none' | 'summary'>
|
|
450
|
-
| 'alert'
|
|
451
|
-
| 'alertdialog'
|
|
452
|
-
| 'application'
|
|
453
|
-
| 'article'
|
|
454
|
-
| 'banner'
|
|
455
|
-
| 'button'
|
|
456
|
-
| 'cell'
|
|
457
|
-
| 'checkbox'
|
|
458
|
-
| 'columnheader'
|
|
459
|
-
| 'combobox'
|
|
460
|
-
| 'complementary'
|
|
461
|
-
| 'contentinfo'
|
|
462
|
-
| 'definition'
|
|
463
|
-
| 'dialog'
|
|
464
|
-
| 'directory'
|
|
465
|
-
| 'document'
|
|
466
|
-
| 'feed'
|
|
467
|
-
| 'figure'
|
|
468
|
-
| 'form'
|
|
469
|
-
| 'grid'
|
|
470
|
-
| 'gridcell'
|
|
471
|
-
| 'group'
|
|
472
|
-
| 'heading'
|
|
473
|
-
| 'img'
|
|
474
|
-
| 'link'
|
|
475
|
-
| 'list'
|
|
476
|
-
| 'listbox'
|
|
477
|
-
| 'listitem'
|
|
478
|
-
| 'log'
|
|
479
|
-
| 'main'
|
|
480
|
-
| 'marquee'
|
|
481
|
-
| 'math'
|
|
482
|
-
| 'menu'
|
|
483
|
-
| 'menubar'
|
|
484
|
-
| 'menuitem'
|
|
485
|
-
| 'menuitemcheckbox'
|
|
486
|
-
| 'menuitemradio'
|
|
487
|
-
| 'meter'
|
|
488
|
-
| 'navigation'
|
|
489
|
-
| 'none'
|
|
490
|
-
| 'note'
|
|
491
|
-
| 'option'
|
|
492
|
-
| 'presentation'
|
|
493
|
-
| 'progressbar'
|
|
494
|
-
| 'radio'
|
|
495
|
-
| 'radiogroup'
|
|
496
|
-
| 'region'
|
|
497
|
-
| 'row'
|
|
498
|
-
| 'rowgroup'
|
|
499
|
-
| 'rowheader'
|
|
500
|
-
| 'scrollbar'
|
|
501
|
-
| 'search'
|
|
502
|
-
| 'searchbox'
|
|
503
|
-
| 'separator'
|
|
504
|
-
| 'slider'
|
|
505
|
-
| 'spinbutton'
|
|
506
|
-
| 'status'
|
|
507
|
-
| 'switch'
|
|
508
|
-
| 'tab'
|
|
509
|
-
| 'table'
|
|
510
|
-
| 'tablist'
|
|
511
|
-
| 'tabpanel'
|
|
512
|
-
| 'term'
|
|
513
|
-
| 'textbox'
|
|
514
|
-
| 'timer'
|
|
515
|
-
| 'toolbar'
|
|
516
|
-
| 'tooltip'
|
|
517
|
-
| 'tree'
|
|
518
|
-
| 'treegrid'
|
|
519
|
-
| 'treeitem';
|
|
520
|
-
type AccessibilityProps = AriaAttributes;
|
|
447
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
521
448
|
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
autoComplete?: 'none' | 'inline' | 'list' | 'both';
|
|
536
|
-
/**
|
|
537
|
-
* 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.
|
|
538
|
-
*/
|
|
539
|
-
busy?: boolean;
|
|
540
|
-
/**
|
|
541
|
-
* Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
|
|
542
|
-
* @see aria-pressed @see aria-selected.
|
|
543
|
-
*/
|
|
544
|
-
checked?: boolean | 'mixed';
|
|
545
|
-
/**
|
|
546
|
-
* Defines the total number of columns in a table, grid, or treegrid.
|
|
547
|
-
* @see aria-colindex.
|
|
548
|
-
*/
|
|
549
|
-
colCount?: number;
|
|
550
|
-
/**
|
|
551
|
-
* Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
|
|
552
|
-
* @see aria-colcount @see aria-colspan.
|
|
553
|
-
*/
|
|
554
|
-
colIndex?: number;
|
|
555
|
-
/**
|
|
556
|
-
* Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
557
|
-
* @see aria-colindex @see aria-rowspan.
|
|
558
|
-
*/
|
|
559
|
-
colSpan?: number;
|
|
560
|
-
/**
|
|
561
|
-
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
|
562
|
-
* @see aria-owns.
|
|
563
|
-
*/
|
|
564
|
-
controls?: string;
|
|
565
|
-
/**
|
|
566
|
-
* Indicates the element that represents the current item within a container or set of related elements.
|
|
567
|
-
*/
|
|
568
|
-
current?: boolean | 'page' | 'step' | 'location' | 'date' | 'time';
|
|
569
|
-
/**
|
|
570
|
-
* Identifies the element (or elements) that describes the object.
|
|
571
|
-
* @see aria-labelledby
|
|
572
|
-
*/
|
|
573
|
-
describedBy?: string;
|
|
574
|
-
/**
|
|
575
|
-
* Identifies the element that provides a detailed, extended description for the object.
|
|
576
|
-
* @see aria-describedby.
|
|
577
|
-
*/
|
|
578
|
-
details?: string;
|
|
579
|
-
/**
|
|
580
|
-
* Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
581
|
-
* @see aria-hidden @see aria-readonly.
|
|
582
|
-
*/
|
|
583
|
-
disabled?: boolean;
|
|
584
|
-
/**
|
|
585
|
-
* Indicates what functions can be performed when a dragged object is released on the drop target.
|
|
586
|
-
* @deprecated in ARIA 1.1
|
|
587
|
-
*/
|
|
588
|
-
dropEffect?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup';
|
|
589
|
-
/**
|
|
590
|
-
* Identifies the element that provides an error message for the object.
|
|
591
|
-
* @see aria-invalid @see aria-describedby.
|
|
592
|
-
*/
|
|
593
|
-
errorMessage?: string;
|
|
594
|
-
/**
|
|
595
|
-
* Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
|
|
596
|
-
*/
|
|
597
|
-
expanded?: boolean;
|
|
598
|
-
/**
|
|
599
|
-
* Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
|
|
600
|
-
* allows assistive technology to override the general default of reading in document source order.
|
|
601
|
-
*/
|
|
602
|
-
flowTo?: string;
|
|
603
|
-
/**
|
|
604
|
-
* Indicates an element's "grabbed" state in a drag-and-drop operation.
|
|
605
|
-
* @deprecated in ARIA 1.1
|
|
606
|
-
*/
|
|
607
|
-
grabbed?: boolean;
|
|
608
|
-
/**
|
|
609
|
-
* Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
|
|
610
|
-
*/
|
|
611
|
-
hasPopup?: boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
|
612
|
-
/**
|
|
613
|
-
* Indicates whether the element is exposed to an accessibility API.
|
|
614
|
-
* @see aria-disabled.
|
|
615
|
-
*/
|
|
616
|
-
hidden?: boolean;
|
|
617
|
-
/**
|
|
618
|
-
* Indicates the entered value does not conform to the format expected by the application.
|
|
619
|
-
* @see aria-errormessage.
|
|
620
|
-
*/
|
|
621
|
-
invalid?: boolean | 'grammar' | 'spelling';
|
|
622
|
-
/**
|
|
623
|
-
* Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
|
|
624
|
-
*/
|
|
625
|
-
keyShortcuts?: string;
|
|
626
|
-
/**
|
|
627
|
-
* Defines a string value that labels the current element.
|
|
628
|
-
* @see aria-labelledby.
|
|
629
|
-
*/
|
|
630
|
-
label?: string;
|
|
631
|
-
/**
|
|
632
|
-
* Identifies the element (or elements) that labels the current element.
|
|
633
|
-
* @see aria-describedby.
|
|
634
|
-
*/
|
|
635
|
-
labelledBy?: string;
|
|
636
|
-
/**
|
|
637
|
-
* Defines the hierarchical level of an element within a structure.
|
|
638
|
-
*/
|
|
639
|
-
level?: number;
|
|
640
|
-
/**
|
|
641
|
-
* 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.
|
|
642
|
-
*/
|
|
643
|
-
liveRegion?: 'off' | 'assertive' | 'polite';
|
|
644
|
-
/**
|
|
645
|
-
* Indicates whether an element is modal when displayed.
|
|
646
|
-
*/
|
|
647
|
-
modal?: boolean;
|
|
648
|
-
/**
|
|
649
|
-
* Indicates whether a text box accepts multiple lines of input or only a single line.
|
|
650
|
-
*/
|
|
651
|
-
multiline?: boolean;
|
|
652
|
-
/**
|
|
653
|
-
* Indicates that the user may select more than one item from the current selectable descendants.
|
|
654
|
-
*/
|
|
655
|
-
multiSelectable?: boolean;
|
|
656
|
-
/**
|
|
657
|
-
* Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
|
|
658
|
-
*/
|
|
659
|
-
orientation?: 'horizontal' | 'vertical';
|
|
660
|
-
/**
|
|
661
|
-
* Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
|
|
662
|
-
* between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
|
|
663
|
-
* @see aria-controls.
|
|
664
|
-
*/
|
|
665
|
-
owns?: string;
|
|
666
|
-
/**
|
|
667
|
-
* Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
|
|
668
|
-
* A hint could be a sample value or a brief description of the expected format.
|
|
669
|
-
*/
|
|
670
|
-
placeholder?: string;
|
|
671
|
-
/**
|
|
672
|
-
* 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.
|
|
673
|
-
* @see aria-setsize.
|
|
674
|
-
*/
|
|
675
|
-
posInSet?: number;
|
|
676
|
-
/**
|
|
677
|
-
* Indicates the current "pressed" state of toggle buttons.
|
|
678
|
-
* @see aria-checked @see aria-selected.
|
|
679
|
-
*/
|
|
680
|
-
pressed?: boolean | 'mixed';
|
|
449
|
+
/**
|
|
450
|
+
* Brands a type making them act as nominal
|
|
451
|
+
* @see https://medium.com/@KevinBGreene/surviving-the-typescript-ecosystem-branding-and-type-tagging-6cf6e516523d
|
|
452
|
+
*/
|
|
453
|
+
type Brand<Type, Name extends string> = Type & { __brand__?: Name };
|
|
454
|
+
|
|
455
|
+
type NativeOrWebBrand = Brand<any, 'native' | 'web'>;
|
|
456
|
+
|
|
457
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
declare namespace Platform {
|
|
461
|
+
export type Name = 'web';
|
|
681
462
|
/**
|
|
682
|
-
*
|
|
683
|
-
*
|
|
684
|
-
|
|
685
|
-
readOnly?: boolean;
|
|
686
|
-
/**
|
|
687
|
-
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
|
|
688
|
-
* @see aria-atomic.
|
|
689
|
-
*/
|
|
690
|
-
relevant?:
|
|
691
|
-
| 'additions'
|
|
692
|
-
| 'additions removals'
|
|
693
|
-
| 'additions text'
|
|
694
|
-
| 'all'
|
|
695
|
-
| 'removals'
|
|
696
|
-
| 'removals additions'
|
|
697
|
-
| 'removals text'
|
|
698
|
-
| 'text'
|
|
699
|
-
| 'text additions'
|
|
700
|
-
| 'text removals';
|
|
701
|
-
/**
|
|
702
|
-
* Indicates that user input is required on the element before a form may be submitted.
|
|
703
|
-
*/
|
|
704
|
-
required?: boolean;
|
|
705
|
-
/**
|
|
706
|
-
* Defines a human-readable, author-localized description for the role of an element.
|
|
707
|
-
*/
|
|
708
|
-
roleDescription?: string;
|
|
709
|
-
/**
|
|
710
|
-
* Defines the total number of rows in a table, grid, or treegrid.
|
|
711
|
-
* @see aria-rowindex.
|
|
712
|
-
*/
|
|
713
|
-
rowCount?: number;
|
|
714
|
-
/**
|
|
715
|
-
* Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
|
|
716
|
-
* @see aria-rowcount @see aria-rowspan.
|
|
717
|
-
*/
|
|
718
|
-
rowIndex?: number;
|
|
719
|
-
/**
|
|
720
|
-
* Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
721
|
-
* @see aria-rowindex @see aria-colspan.
|
|
722
|
-
*/
|
|
723
|
-
rowSpan?: number;
|
|
724
|
-
/**
|
|
725
|
-
* Indicates the current "selected" state of various widgets.
|
|
726
|
-
* @see aria-checked @see aria-pressed.
|
|
727
|
-
*/
|
|
728
|
-
selected?: boolean;
|
|
729
|
-
/**
|
|
730
|
-
* 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.
|
|
731
|
-
* @see aria-posinset.
|
|
732
|
-
*/
|
|
733
|
-
setSize?: number;
|
|
734
|
-
/**
|
|
735
|
-
* Indicates if items in a table or grid are sorted in ascending or descending order.
|
|
736
|
-
*/
|
|
737
|
-
sort?: 'none' | 'ascending' | 'descending' | 'other';
|
|
738
|
-
/**
|
|
739
|
-
* Defines the maximum allowed value for a range widget.
|
|
740
|
-
*/
|
|
741
|
-
valueMax?: number;
|
|
742
|
-
/**
|
|
743
|
-
* Defines the minimum allowed value for a range widget.
|
|
744
|
-
*/
|
|
745
|
-
valueMin?: number;
|
|
746
|
-
/**
|
|
747
|
-
* Defines the current value for a range widget.
|
|
748
|
-
* @see aria-valuetext.
|
|
749
|
-
*/
|
|
750
|
-
valueNow?: number;
|
|
751
|
-
/**
|
|
752
|
-
* Defines the human readable text alternative of aria-valuenow for a range widget.
|
|
753
|
-
*/
|
|
754
|
-
valueText?: string;
|
|
755
|
-
};
|
|
756
|
-
|
|
757
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
758
|
-
|
|
759
|
-
/**
|
|
760
|
-
* Brands a type making them act as nominal
|
|
761
|
-
* @see https://medium.com/@KevinBGreene/surviving-the-typescript-ecosystem-branding-and-type-tagging-6cf6e516523d
|
|
762
|
-
*/
|
|
763
|
-
type Brand<Type, Name extends string> = Type & { __brand__?: Name };
|
|
764
|
-
|
|
765
|
-
type NativeOrWebBrand = Brand<any, 'native' | 'web'>;
|
|
766
|
-
|
|
767
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
declare namespace Platform {
|
|
771
|
-
export type Name = 'web';
|
|
772
|
-
/**
|
|
773
|
-
* Right now, the module resolution is set to resolve `.web` files,
|
|
774
|
-
*
|
|
775
|
-
* Thus Platform.Select<> type will return the `web` type
|
|
463
|
+
* Right now, the module resolution is set to resolve `.web` files,
|
|
464
|
+
*
|
|
465
|
+
* Thus Platform.Select<> type will return the `web` type
|
|
776
466
|
*/
|
|
777
467
|
export type Select<Options extends { web: unknown; native: unknown }> = Brand<
|
|
778
468
|
Options[Name],
|
|
@@ -915,6 +605,9 @@ type Elevation = Record<
|
|
|
915
605
|
|
|
916
606
|
type ElevationWithColorModes = Record<ColorSchemeModes, Elevation>;
|
|
917
607
|
|
|
608
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
609
|
+
|
|
610
|
+
|
|
918
611
|
/**
|
|
919
612
|
* @template TokenType token type generic
|
|
920
613
|
* @description Tokenises objects to dot notation strings, eg: `surface.text.normal.lowContrast`
|
|
@@ -1006,6 +699,13 @@ type PickCSSByPlatform<T extends keyof React__default.CSSProperties | keyof View
|
|
|
1006
699
|
native: PickIfExist<ViewStyle, T>;
|
|
1007
700
|
}>;
|
|
1008
701
|
|
|
702
|
+
type BladeElementRef = Platform.Select<{
|
|
703
|
+
web:
|
|
704
|
+
| Pick<HTMLElement, 'focus' | 'scrollIntoView' | 'getBoundingClientRect' | 'clientHeight'>
|
|
705
|
+
| Pick<View, 'focus'>;
|
|
706
|
+
native: React__default.MutableRefObject<any>;
|
|
707
|
+
}>;
|
|
708
|
+
|
|
1009
709
|
declare type ActionListContextProp = Pick<ActionListProps, 'surfaceLevel'>;
|
|
1010
710
|
declare const useActionListContext: () => ActionListContextProp;
|
|
1011
711
|
declare type ActionListProps = {
|
|
@@ -1667,17 +1367,10 @@ declare const validBoxAsValues$1 = [
|
|
|
1667
1367
|
|
|
1668
1368
|
type BoxAsType$1 = typeof validBoxAsValues$1[number];
|
|
1669
1369
|
|
|
1670
|
-
|
|
1370
|
+
// Visual props that are common for both Box and BaseBox
|
|
1371
|
+
type CommonBoxVisualProps$1 = MakeObjectResponsive$1<
|
|
1671
1372
|
{
|
|
1672
1373
|
borderRadius: keyof Border['radius'];
|
|
1673
|
-
backgroundColor:
|
|
1674
|
-
| BackgroundColorString$1<'feedback'>
|
|
1675
|
-
| BackgroundColorString$1<'surface'>
|
|
1676
|
-
| BackgroundColorString$1<'action'>
|
|
1677
|
-
| (string & Record<never, never>);
|
|
1678
|
-
lineHeight: SpacingValueType$1;
|
|
1679
|
-
touchAction: CSSObject['touchAction'];
|
|
1680
|
-
userSelect: CSSObject['userSelect'];
|
|
1681
1374
|
borderWidth: keyof Border['width'];
|
|
1682
1375
|
borderColor: BorderColorString$1<'surface'>;
|
|
1683
1376
|
borderTopWidth: keyof Border['width'];
|
|
@@ -1692,6 +1385,27 @@ type BaseBoxVisualProps = MakeObjectResponsive$1<
|
|
|
1692
1385
|
borderTopRightRadius: keyof Border['radius'];
|
|
1693
1386
|
borderBottomRightRadius: keyof Border['radius'];
|
|
1694
1387
|
borderBottomLeftRadius: keyof Border['radius'];
|
|
1388
|
+
} & PickCSSByPlatform<
|
|
1389
|
+
| 'backgroundImage'
|
|
1390
|
+
| 'backgroundSize'
|
|
1391
|
+
| 'backgroundPosition'
|
|
1392
|
+
| 'backgroundOrigin'
|
|
1393
|
+
| 'backgroundRepeat'
|
|
1394
|
+
>
|
|
1395
|
+
>;
|
|
1396
|
+
|
|
1397
|
+
// Visual props that are specific BaseBox
|
|
1398
|
+
// This is used to ensure some of the more flexible BaseBox props are not passed to Box
|
|
1399
|
+
type BaseBoxVisualProps = MakeObjectResponsive$1<
|
|
1400
|
+
{
|
|
1401
|
+
backgroundColor:
|
|
1402
|
+
| BackgroundColorString$1<'feedback'>
|
|
1403
|
+
| BackgroundColorString$1<'surface'>
|
|
1404
|
+
| BackgroundColorString$1<'action'>
|
|
1405
|
+
| (string & Record<never, never>);
|
|
1406
|
+
lineHeight: SpacingValueType$1;
|
|
1407
|
+
touchAction: CSSObject['touchAction'];
|
|
1408
|
+
userSelect: CSSObject['userSelect'];
|
|
1695
1409
|
} & PickCSSByPlatform<
|
|
1696
1410
|
| 'border'
|
|
1697
1411
|
| 'borderLeft'
|
|
@@ -1703,23 +1417,9 @@ type BaseBoxVisualProps = MakeObjectResponsive$1<
|
|
|
1703
1417
|
>
|
|
1704
1418
|
>;
|
|
1705
1419
|
|
|
1420
|
+
// Visual props that are specific to Box
|
|
1706
1421
|
type BoxVisualProps$1 = MakeObjectResponsive$1<{
|
|
1707
1422
|
backgroundColor: BackgroundColorString$1<'surface'>;
|
|
1708
|
-
borderWidth: keyof Border['width'];
|
|
1709
|
-
borderColor: BorderColorString$1<'surface'>;
|
|
1710
|
-
borderTopWidth: keyof Border['width'];
|
|
1711
|
-
borderTopColor: BorderColorString$1<'surface'>;
|
|
1712
|
-
borderRightWidth: keyof Border['width'];
|
|
1713
|
-
borderRightColor: BorderColorString$1<'surface'>;
|
|
1714
|
-
borderBottomWidth: keyof Border['width'];
|
|
1715
|
-
borderBottomColor: BorderColorString$1<'surface'>;
|
|
1716
|
-
borderLeftWidth: keyof Border['width'];
|
|
1717
|
-
borderLeftColor: BorderColorString$1<'surface'>;
|
|
1718
|
-
borderRadius: keyof Border['radius'];
|
|
1719
|
-
borderTopLeftRadius: keyof Border['radius'];
|
|
1720
|
-
borderTopRightRadius: keyof Border['radius'];
|
|
1721
|
-
borderBottomRightRadius: keyof Border['radius'];
|
|
1722
|
-
borderBottomLeftRadius: keyof Border['radius'];
|
|
1723
1423
|
}> & {
|
|
1724
1424
|
// Intentionally keeping this outside of MakeObjectResponsive since we only want as to be string and not responsive object
|
|
1725
1425
|
// styled-components do not support passing `as` prop as an object
|
|
@@ -1790,6 +1490,7 @@ type BoxProps$1 = Partial<
|
|
|
1790
1490
|
PositionProps$1 &
|
|
1791
1491
|
GridProps$1 &
|
|
1792
1492
|
BoxCallbackProps$1 &
|
|
1493
|
+
CommonBoxVisualProps$1 &
|
|
1793
1494
|
BoxVisualProps$1 & {
|
|
1794
1495
|
children?: React.ReactNode | React.ReactNode[];
|
|
1795
1496
|
tabIndex?: number;
|
|
@@ -1809,6 +1510,316 @@ type BaseBoxProps = Omit<BoxProps$1, keyof BoxVisualProps$1> &
|
|
|
1809
1510
|
> &
|
|
1810
1511
|
BladeCommonEvents$1;
|
|
1811
1512
|
|
|
1513
|
+
// All the WAI-ARIA 1.1 role attribute values from https://www.w3.org/TR/wai-aria-1.1/#role_definitions
|
|
1514
|
+
type AriaRoles =
|
|
1515
|
+
| Exclude<AccessibilityRole, 'header' | 'adjustable' | 'image' | 'none' | 'summary'>
|
|
1516
|
+
| 'alert'
|
|
1517
|
+
| 'alertdialog'
|
|
1518
|
+
| 'application'
|
|
1519
|
+
| 'article'
|
|
1520
|
+
| 'banner'
|
|
1521
|
+
| 'button'
|
|
1522
|
+
| 'cell'
|
|
1523
|
+
| 'checkbox'
|
|
1524
|
+
| 'columnheader'
|
|
1525
|
+
| 'combobox'
|
|
1526
|
+
| 'complementary'
|
|
1527
|
+
| 'contentinfo'
|
|
1528
|
+
| 'definition'
|
|
1529
|
+
| 'dialog'
|
|
1530
|
+
| 'directory'
|
|
1531
|
+
| 'document'
|
|
1532
|
+
| 'feed'
|
|
1533
|
+
| 'figure'
|
|
1534
|
+
| 'form'
|
|
1535
|
+
| 'grid'
|
|
1536
|
+
| 'gridcell'
|
|
1537
|
+
| 'group'
|
|
1538
|
+
| 'heading'
|
|
1539
|
+
| 'img'
|
|
1540
|
+
| 'link'
|
|
1541
|
+
| 'list'
|
|
1542
|
+
| 'listbox'
|
|
1543
|
+
| 'listitem'
|
|
1544
|
+
| 'log'
|
|
1545
|
+
| 'main'
|
|
1546
|
+
| 'marquee'
|
|
1547
|
+
| 'math'
|
|
1548
|
+
| 'menu'
|
|
1549
|
+
| 'menubar'
|
|
1550
|
+
| 'menuitem'
|
|
1551
|
+
| 'menuitemcheckbox'
|
|
1552
|
+
| 'menuitemradio'
|
|
1553
|
+
| 'meter'
|
|
1554
|
+
| 'navigation'
|
|
1555
|
+
| 'none'
|
|
1556
|
+
| 'note'
|
|
1557
|
+
| 'option'
|
|
1558
|
+
| 'presentation'
|
|
1559
|
+
| 'progressbar'
|
|
1560
|
+
| 'radio'
|
|
1561
|
+
| 'radiogroup'
|
|
1562
|
+
| 'region'
|
|
1563
|
+
| 'row'
|
|
1564
|
+
| 'rowgroup'
|
|
1565
|
+
| 'rowheader'
|
|
1566
|
+
| 'scrollbar'
|
|
1567
|
+
| 'search'
|
|
1568
|
+
| 'searchbox'
|
|
1569
|
+
| 'separator'
|
|
1570
|
+
| 'slider'
|
|
1571
|
+
| 'spinbutton'
|
|
1572
|
+
| 'status'
|
|
1573
|
+
| 'switch'
|
|
1574
|
+
| 'tab'
|
|
1575
|
+
| 'table'
|
|
1576
|
+
| 'tablist'
|
|
1577
|
+
| 'tabpanel'
|
|
1578
|
+
| 'term'
|
|
1579
|
+
| 'textbox'
|
|
1580
|
+
| 'timer'
|
|
1581
|
+
| 'toolbar'
|
|
1582
|
+
| 'tooltip'
|
|
1583
|
+
| 'tree'
|
|
1584
|
+
| 'treegrid'
|
|
1585
|
+
| 'treeitem';
|
|
1586
|
+
type AccessibilityProps = AriaAttributes;
|
|
1587
|
+
|
|
1588
|
+
type AriaAttributes = {
|
|
1589
|
+
role: AriaRoles;
|
|
1590
|
+
/**
|
|
1591
|
+
* Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
|
|
1592
|
+
*/
|
|
1593
|
+
activeDescendant?: string;
|
|
1594
|
+
/**
|
|
1595
|
+
* 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.
|
|
1596
|
+
*/
|
|
1597
|
+
atomic?: boolean;
|
|
1598
|
+
/**
|
|
1599
|
+
* 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.
|
|
1600
|
+
*/
|
|
1601
|
+
autoComplete?: 'none' | 'inline' | 'list' | 'both';
|
|
1602
|
+
/**
|
|
1603
|
+
* 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.
|
|
1604
|
+
*/
|
|
1605
|
+
busy?: boolean;
|
|
1606
|
+
/**
|
|
1607
|
+
* Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
|
|
1608
|
+
* @see aria-pressed @see aria-selected.
|
|
1609
|
+
*/
|
|
1610
|
+
checked?: boolean | 'mixed';
|
|
1611
|
+
/**
|
|
1612
|
+
* Defines the total number of columns in a table, grid, or treegrid.
|
|
1613
|
+
* @see aria-colindex.
|
|
1614
|
+
*/
|
|
1615
|
+
colCount?: number;
|
|
1616
|
+
/**
|
|
1617
|
+
* Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
|
|
1618
|
+
* @see aria-colcount @see aria-colspan.
|
|
1619
|
+
*/
|
|
1620
|
+
colIndex?: number;
|
|
1621
|
+
/**
|
|
1622
|
+
* Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
1623
|
+
* @see aria-colindex @see aria-rowspan.
|
|
1624
|
+
*/
|
|
1625
|
+
colSpan?: number;
|
|
1626
|
+
/**
|
|
1627
|
+
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
|
1628
|
+
* @see aria-owns.
|
|
1629
|
+
*/
|
|
1630
|
+
controls?: string;
|
|
1631
|
+
/**
|
|
1632
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
1633
|
+
*/
|
|
1634
|
+
current?: boolean | 'page' | 'step' | 'location' | 'date' | 'time';
|
|
1635
|
+
/**
|
|
1636
|
+
* Identifies the element (or elements) that describes the object.
|
|
1637
|
+
* @see aria-labelledby
|
|
1638
|
+
*/
|
|
1639
|
+
describedBy?: string;
|
|
1640
|
+
/**
|
|
1641
|
+
* Identifies the element that provides a detailed, extended description for the object.
|
|
1642
|
+
* @see aria-describedby.
|
|
1643
|
+
*/
|
|
1644
|
+
details?: string;
|
|
1645
|
+
/**
|
|
1646
|
+
* Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
1647
|
+
* @see aria-hidden @see aria-readonly.
|
|
1648
|
+
*/
|
|
1649
|
+
disabled?: boolean;
|
|
1650
|
+
/**
|
|
1651
|
+
* Indicates what functions can be performed when a dragged object is released on the drop target.
|
|
1652
|
+
* @deprecated in ARIA 1.1
|
|
1653
|
+
*/
|
|
1654
|
+
dropEffect?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup';
|
|
1655
|
+
/**
|
|
1656
|
+
* Identifies the element that provides an error message for the object.
|
|
1657
|
+
* @see aria-invalid @see aria-describedby.
|
|
1658
|
+
*/
|
|
1659
|
+
errorMessage?: string;
|
|
1660
|
+
/**
|
|
1661
|
+
* Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
|
|
1662
|
+
*/
|
|
1663
|
+
expanded?: boolean;
|
|
1664
|
+
/**
|
|
1665
|
+
* Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
|
|
1666
|
+
* allows assistive technology to override the general default of reading in document source order.
|
|
1667
|
+
*/
|
|
1668
|
+
flowTo?: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* Indicates an element's "grabbed" state in a drag-and-drop operation.
|
|
1671
|
+
* @deprecated in ARIA 1.1
|
|
1672
|
+
*/
|
|
1673
|
+
grabbed?: boolean;
|
|
1674
|
+
/**
|
|
1675
|
+
* Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
|
|
1676
|
+
*/
|
|
1677
|
+
hasPopup?: boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
|
1678
|
+
/**
|
|
1679
|
+
* Indicates whether the element is exposed to an accessibility API.
|
|
1680
|
+
* @see aria-disabled.
|
|
1681
|
+
*/
|
|
1682
|
+
hidden?: boolean;
|
|
1683
|
+
/**
|
|
1684
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
1685
|
+
* @see aria-errormessage.
|
|
1686
|
+
*/
|
|
1687
|
+
invalid?: boolean | 'grammar' | 'spelling';
|
|
1688
|
+
/**
|
|
1689
|
+
* Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
|
|
1690
|
+
*/
|
|
1691
|
+
keyShortcuts?: string;
|
|
1692
|
+
/**
|
|
1693
|
+
* Defines a string value that labels the current element.
|
|
1694
|
+
* @see aria-labelledby.
|
|
1695
|
+
*/
|
|
1696
|
+
label?: string;
|
|
1697
|
+
/**
|
|
1698
|
+
* Identifies the element (or elements) that labels the current element.
|
|
1699
|
+
* @see aria-describedby.
|
|
1700
|
+
*/
|
|
1701
|
+
labelledBy?: string;
|
|
1702
|
+
/**
|
|
1703
|
+
* Defines the hierarchical level of an element within a structure.
|
|
1704
|
+
*/
|
|
1705
|
+
level?: number;
|
|
1706
|
+
/**
|
|
1707
|
+
* 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.
|
|
1708
|
+
*/
|
|
1709
|
+
liveRegion?: 'off' | 'assertive' | 'polite';
|
|
1710
|
+
/**
|
|
1711
|
+
* Indicates whether an element is modal when displayed.
|
|
1712
|
+
*/
|
|
1713
|
+
modal?: boolean;
|
|
1714
|
+
/**
|
|
1715
|
+
* Indicates whether a text box accepts multiple lines of input or only a single line.
|
|
1716
|
+
*/
|
|
1717
|
+
multiline?: boolean;
|
|
1718
|
+
/**
|
|
1719
|
+
* Indicates that the user may select more than one item from the current selectable descendants.
|
|
1720
|
+
*/
|
|
1721
|
+
multiSelectable?: boolean;
|
|
1722
|
+
/**
|
|
1723
|
+
* Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
|
|
1724
|
+
*/
|
|
1725
|
+
orientation?: 'horizontal' | 'vertical';
|
|
1726
|
+
/**
|
|
1727
|
+
* Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
|
|
1728
|
+
* between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
|
|
1729
|
+
* @see aria-controls.
|
|
1730
|
+
*/
|
|
1731
|
+
owns?: string;
|
|
1732
|
+
/**
|
|
1733
|
+
* Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
|
|
1734
|
+
* A hint could be a sample value or a brief description of the expected format.
|
|
1735
|
+
*/
|
|
1736
|
+
placeholder?: string;
|
|
1737
|
+
/**
|
|
1738
|
+
* 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.
|
|
1739
|
+
* @see aria-setsize.
|
|
1740
|
+
*/
|
|
1741
|
+
posInSet?: number;
|
|
1742
|
+
/**
|
|
1743
|
+
* Indicates the current "pressed" state of toggle buttons.
|
|
1744
|
+
* @see aria-checked @see aria-selected.
|
|
1745
|
+
*/
|
|
1746
|
+
pressed?: boolean | 'mixed';
|
|
1747
|
+
/**
|
|
1748
|
+
* Indicates that the element is not editable, but is otherwise operable.
|
|
1749
|
+
* @see aria-disabled.
|
|
1750
|
+
*/
|
|
1751
|
+
readOnly?: boolean;
|
|
1752
|
+
/**
|
|
1753
|
+
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
|
|
1754
|
+
* @see aria-atomic.
|
|
1755
|
+
*/
|
|
1756
|
+
relevant?:
|
|
1757
|
+
| 'additions'
|
|
1758
|
+
| 'additions removals'
|
|
1759
|
+
| 'additions text'
|
|
1760
|
+
| 'all'
|
|
1761
|
+
| 'removals'
|
|
1762
|
+
| 'removals additions'
|
|
1763
|
+
| 'removals text'
|
|
1764
|
+
| 'text'
|
|
1765
|
+
| 'text additions'
|
|
1766
|
+
| 'text removals';
|
|
1767
|
+
/**
|
|
1768
|
+
* Indicates that user input is required on the element before a form may be submitted.
|
|
1769
|
+
*/
|
|
1770
|
+
required?: boolean;
|
|
1771
|
+
/**
|
|
1772
|
+
* Defines a human-readable, author-localized description for the role of an element.
|
|
1773
|
+
*/
|
|
1774
|
+
roleDescription?: string;
|
|
1775
|
+
/**
|
|
1776
|
+
* Defines the total number of rows in a table, grid, or treegrid.
|
|
1777
|
+
* @see aria-rowindex.
|
|
1778
|
+
*/
|
|
1779
|
+
rowCount?: number;
|
|
1780
|
+
/**
|
|
1781
|
+
* Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
|
|
1782
|
+
* @see aria-rowcount @see aria-rowspan.
|
|
1783
|
+
*/
|
|
1784
|
+
rowIndex?: number;
|
|
1785
|
+
/**
|
|
1786
|
+
* Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
1787
|
+
* @see aria-rowindex @see aria-colspan.
|
|
1788
|
+
*/
|
|
1789
|
+
rowSpan?: number;
|
|
1790
|
+
/**
|
|
1791
|
+
* Indicates the current "selected" state of various widgets.
|
|
1792
|
+
* @see aria-checked @see aria-pressed.
|
|
1793
|
+
*/
|
|
1794
|
+
selected?: boolean;
|
|
1795
|
+
/**
|
|
1796
|
+
* 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.
|
|
1797
|
+
* @see aria-posinset.
|
|
1798
|
+
*/
|
|
1799
|
+
setSize?: number;
|
|
1800
|
+
/**
|
|
1801
|
+
* Indicates if items in a table or grid are sorted in ascending or descending order.
|
|
1802
|
+
*/
|
|
1803
|
+
sort?: 'none' | 'ascending' | 'descending' | 'other';
|
|
1804
|
+
/**
|
|
1805
|
+
* Defines the maximum allowed value for a range widget.
|
|
1806
|
+
*/
|
|
1807
|
+
valueMax?: number;
|
|
1808
|
+
/**
|
|
1809
|
+
* Defines the minimum allowed value for a range widget.
|
|
1810
|
+
*/
|
|
1811
|
+
valueMin?: number;
|
|
1812
|
+
/**
|
|
1813
|
+
* Defines the current value for a range widget.
|
|
1814
|
+
* @see aria-valuetext.
|
|
1815
|
+
*/
|
|
1816
|
+
valueNow?: number;
|
|
1817
|
+
/**
|
|
1818
|
+
* Defines the human readable text alternative of aria-valuenow for a range widget.
|
|
1819
|
+
*/
|
|
1820
|
+
valueText?: string;
|
|
1821
|
+
};
|
|
1822
|
+
|
|
1812
1823
|
type FeedbackIconColors$1 = `feedback.icon.${DotNotationColorStringToken<
|
|
1813
1824
|
Theme$1['colors']['feedback']['icon']
|
|
1814
1825
|
>}`;
|
|
@@ -2634,8 +2645,8 @@ declare type BackgroundColorString<T extends ColorObjects> = `${T}.background.${
|
|
|
2634
2645
|
declare type BorderColorString<T extends ColorObjects> = `${T}.border.${DotNotationColorStringToken<Theme$1['colors'][T]['border']>}`;
|
|
2635
2646
|
declare const validBoxAsValues: readonly ["div", "section", "footer", "header", "main", "aside", "nav", "span", "label"];
|
|
2636
2647
|
declare type BoxAsType = typeof validBoxAsValues[number];
|
|
2637
|
-
declare type
|
|
2638
|
-
|
|
2648
|
+
declare type CommonBoxVisualProps = MakeObjectResponsive<{
|
|
2649
|
+
borderRadius: keyof Border['radius'];
|
|
2639
2650
|
borderWidth: keyof Border['width'];
|
|
2640
2651
|
borderColor: BorderColorString<'surface'>;
|
|
2641
2652
|
borderTopWidth: keyof Border['width'];
|
|
@@ -2646,11 +2657,13 @@ declare type BoxVisualProps = MakeObjectResponsive<{
|
|
|
2646
2657
|
borderBottomColor: BorderColorString<'surface'>;
|
|
2647
2658
|
borderLeftWidth: keyof Border['width'];
|
|
2648
2659
|
borderLeftColor: BorderColorString<'surface'>;
|
|
2649
|
-
borderRadius: keyof Border['radius'];
|
|
2650
2660
|
borderTopLeftRadius: keyof Border['radius'];
|
|
2651
2661
|
borderTopRightRadius: keyof Border['radius'];
|
|
2652
2662
|
borderBottomRightRadius: keyof Border['radius'];
|
|
2653
2663
|
borderBottomLeftRadius: keyof Border['radius'];
|
|
2664
|
+
} & PickCSSByPlatform<'backgroundImage' | 'backgroundSize' | 'backgroundPosition' | 'backgroundOrigin' | 'backgroundRepeat'>>;
|
|
2665
|
+
declare type BoxVisualProps = MakeObjectResponsive<{
|
|
2666
|
+
backgroundColor: BackgroundColorString<'surface'>;
|
|
2654
2667
|
}> & {
|
|
2655
2668
|
as: BoxAsType;
|
|
2656
2669
|
};
|
|
@@ -2687,7 +2700,7 @@ declare type BoxCallbackProps = Omit<Platform.Select<{
|
|
|
2687
2700
|
};
|
|
2688
2701
|
native: Record<'onMouseOver' | 'onMouseEnter' | 'onMouseLeave' | 'onScroll', undefined>;
|
|
2689
2702
|
}>, '__brand__'>;
|
|
2690
|
-
declare type BoxProps = Partial<PaddingProps & MarginProps & LayoutProps & FlexboxProps & PositionProps & GridProps & BoxCallbackProps & BoxVisualProps & {
|
|
2703
|
+
declare type BoxProps = Partial<PaddingProps & MarginProps & LayoutProps & FlexboxProps & PositionProps & GridProps & BoxCallbackProps & CommonBoxVisualProps & BoxVisualProps & {
|
|
2691
2704
|
children?: React.ReactNode | React.ReactNode[];
|
|
2692
2705
|
tabIndex?: number;
|
|
2693
2706
|
} & TestID$1>;
|
|
@@ -2713,14 +2726,6 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
|
|
|
2713
2726
|
readonly l?: csstype.Property.Display | undefined;
|
|
2714
2727
|
readonly xl?: csstype.Property.Display | undefined;
|
|
2715
2728
|
} | undefined;
|
|
2716
|
-
overflow?: csstype.Property.Overflow | {
|
|
2717
|
-
readonly base?: csstype.Property.Overflow | undefined;
|
|
2718
|
-
readonly xs?: csstype.Property.Overflow | undefined;
|
|
2719
|
-
readonly s?: csstype.Property.Overflow | undefined;
|
|
2720
|
-
readonly m?: csstype.Property.Overflow | undefined;
|
|
2721
|
-
readonly l?: csstype.Property.Overflow | undefined;
|
|
2722
|
-
readonly xl?: csstype.Property.Overflow | undefined;
|
|
2723
|
-
} | undefined;
|
|
2724
2729
|
height: SpacingValueType | {
|
|
2725
2730
|
readonly base?: SpacingValueType | undefined;
|
|
2726
2731
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -2785,6 +2790,14 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
|
|
|
2785
2790
|
readonly l?: csstype.Property.TextAlign | undefined;
|
|
2786
2791
|
readonly xl?: csstype.Property.TextAlign | undefined;
|
|
2787
2792
|
} | undefined;
|
|
2793
|
+
overflow?: csstype.Property.Overflow | {
|
|
2794
|
+
readonly base?: csstype.Property.Overflow | undefined;
|
|
2795
|
+
readonly xs?: csstype.Property.Overflow | undefined;
|
|
2796
|
+
readonly s?: csstype.Property.Overflow | undefined;
|
|
2797
|
+
readonly m?: csstype.Property.Overflow | undefined;
|
|
2798
|
+
readonly l?: csstype.Property.Overflow | undefined;
|
|
2799
|
+
readonly xl?: csstype.Property.Overflow | undefined;
|
|
2800
|
+
} | undefined;
|
|
2788
2801
|
__brand__?: "platform-web" | {
|
|
2789
2802
|
readonly base?: "platform-web" | undefined;
|
|
2790
2803
|
readonly xs?: "platform-web" | undefined;
|
|
@@ -2794,14 +2807,6 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
|
|
|
2794
2807
|
readonly xl?: "platform-web" | undefined;
|
|
2795
2808
|
} | undefined;
|
|
2796
2809
|
} & {
|
|
2797
|
-
order?: csstype.Property.Order | {
|
|
2798
|
-
readonly base?: csstype.Property.Order | undefined;
|
|
2799
|
-
readonly xs?: csstype.Property.Order | undefined;
|
|
2800
|
-
readonly s?: csstype.Property.Order | undefined;
|
|
2801
|
-
readonly m?: csstype.Property.Order | undefined;
|
|
2802
|
-
readonly l?: csstype.Property.Order | undefined;
|
|
2803
|
-
readonly xl?: csstype.Property.Order | undefined;
|
|
2804
|
-
} | undefined;
|
|
2805
2810
|
alignContent?: csstype.Property.AlignContent | {
|
|
2806
2811
|
readonly base?: csstype.Property.AlignContent | undefined;
|
|
2807
2812
|
readonly xs?: csstype.Property.AlignContent | undefined;
|
|
@@ -2898,6 +2903,14 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
|
|
|
2898
2903
|
readonly l?: csstype.Property.JustifySelf | undefined;
|
|
2899
2904
|
readonly xl?: csstype.Property.JustifySelf | undefined;
|
|
2900
2905
|
} | undefined;
|
|
2906
|
+
order?: csstype.Property.Order | {
|
|
2907
|
+
readonly base?: csstype.Property.Order | undefined;
|
|
2908
|
+
readonly xs?: csstype.Property.Order | undefined;
|
|
2909
|
+
readonly s?: csstype.Property.Order | undefined;
|
|
2910
|
+
readonly m?: csstype.Property.Order | undefined;
|
|
2911
|
+
readonly l?: csstype.Property.Order | undefined;
|
|
2912
|
+
readonly xl?: csstype.Property.Order | undefined;
|
|
2913
|
+
} | undefined;
|
|
2901
2914
|
rowGap: SpacingValueType | {
|
|
2902
2915
|
readonly base?: SpacingValueType | undefined;
|
|
2903
2916
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -2996,14 +3009,6 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
|
|
|
2996
3009
|
readonly xl?: "platform-web" | undefined;
|
|
2997
3010
|
} | undefined;
|
|
2998
3011
|
} & {
|
|
2999
|
-
grid?: csstype.Property.Grid | {
|
|
3000
|
-
readonly base?: csstype.Property.Grid | undefined;
|
|
3001
|
-
readonly xs?: csstype.Property.Grid | undefined;
|
|
3002
|
-
readonly s?: csstype.Property.Grid | undefined;
|
|
3003
|
-
readonly m?: csstype.Property.Grid | undefined;
|
|
3004
|
-
readonly l?: csstype.Property.Grid | undefined;
|
|
3005
|
-
readonly xl?: csstype.Property.Grid | undefined;
|
|
3006
|
-
} | undefined;
|
|
3007
3012
|
gridAutoColumns?: csstype.Property.GridAutoColumns<string | number> | {
|
|
3008
3013
|
readonly base?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
3009
3014
|
readonly xs?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
@@ -3084,6 +3089,14 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
|
|
|
3084
3089
|
readonly l?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
3085
3090
|
readonly xl?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
3086
3091
|
} | undefined;
|
|
3092
|
+
grid?: csstype.Property.Grid | {
|
|
3093
|
+
readonly base?: csstype.Property.Grid | undefined;
|
|
3094
|
+
readonly xs?: csstype.Property.Grid | undefined;
|
|
3095
|
+
readonly s?: csstype.Property.Grid | undefined;
|
|
3096
|
+
readonly m?: csstype.Property.Grid | undefined;
|
|
3097
|
+
readonly l?: csstype.Property.Grid | undefined;
|
|
3098
|
+
readonly xl?: csstype.Property.Grid | undefined;
|
|
3099
|
+
} | undefined;
|
|
3087
3100
|
gridArea?: csstype.Property.GridArea | {
|
|
3088
3101
|
readonly base?: csstype.Property.GridArea | undefined;
|
|
3089
3102
|
readonly xs?: csstype.Property.GridArea | undefined;
|
|
@@ -3129,25 +3142,179 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
|
|
|
3129
3142
|
onMouseEnter: React__default.MouseEventHandler<HTMLElement>;
|
|
3130
3143
|
onMouseLeave: React__default.MouseEventHandler<HTMLElement>;
|
|
3131
3144
|
onScroll: React__default.UIEventHandler<HTMLElement>;
|
|
3145
|
+
} & {
|
|
3146
|
+
backgroundImage?: csstype.Property.BackgroundImage | {
|
|
3147
|
+
readonly base?: csstype.Property.BackgroundImage | undefined;
|
|
3148
|
+
readonly xs?: csstype.Property.BackgroundImage | undefined;
|
|
3149
|
+
readonly s?: csstype.Property.BackgroundImage | undefined;
|
|
3150
|
+
readonly m?: csstype.Property.BackgroundImage | undefined;
|
|
3151
|
+
readonly l?: csstype.Property.BackgroundImage | undefined;
|
|
3152
|
+
readonly xl?: csstype.Property.BackgroundImage | undefined;
|
|
3153
|
+
} | undefined;
|
|
3154
|
+
backgroundOrigin?: csstype.Property.BackgroundOrigin | {
|
|
3155
|
+
readonly base?: csstype.Property.BackgroundOrigin | undefined;
|
|
3156
|
+
readonly xs?: csstype.Property.BackgroundOrigin | undefined;
|
|
3157
|
+
readonly s?: csstype.Property.BackgroundOrigin | undefined;
|
|
3158
|
+
readonly m?: csstype.Property.BackgroundOrigin | undefined;
|
|
3159
|
+
readonly l?: csstype.Property.BackgroundOrigin | undefined;
|
|
3160
|
+
readonly xl?: csstype.Property.BackgroundOrigin | undefined;
|
|
3161
|
+
} | undefined;
|
|
3162
|
+
backgroundRepeat?: csstype.Property.BackgroundRepeat | {
|
|
3163
|
+
readonly base?: csstype.Property.BackgroundRepeat | undefined;
|
|
3164
|
+
readonly xs?: csstype.Property.BackgroundRepeat | undefined;
|
|
3165
|
+
readonly s?: csstype.Property.BackgroundRepeat | undefined;
|
|
3166
|
+
readonly m?: csstype.Property.BackgroundRepeat | undefined;
|
|
3167
|
+
readonly l?: csstype.Property.BackgroundRepeat | undefined;
|
|
3168
|
+
readonly xl?: csstype.Property.BackgroundRepeat | undefined;
|
|
3169
|
+
} | undefined;
|
|
3170
|
+
backgroundSize?: csstype.Property.BackgroundSize<string | number> | {
|
|
3171
|
+
readonly base?: csstype.Property.BackgroundSize<string | number> | undefined;
|
|
3172
|
+
readonly xs?: csstype.Property.BackgroundSize<string | number> | undefined;
|
|
3173
|
+
readonly s?: csstype.Property.BackgroundSize<string | number> | undefined;
|
|
3174
|
+
readonly m?: csstype.Property.BackgroundSize<string | number> | undefined;
|
|
3175
|
+
readonly l?: csstype.Property.BackgroundSize<string | number> | undefined;
|
|
3176
|
+
readonly xl?: csstype.Property.BackgroundSize<string | number> | undefined;
|
|
3177
|
+
} | undefined;
|
|
3178
|
+
borderBottomColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | {
|
|
3179
|
+
readonly base?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3180
|
+
readonly xs?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3181
|
+
readonly s?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3182
|
+
readonly m?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3183
|
+
readonly l?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3184
|
+
readonly xl?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3185
|
+
};
|
|
3186
|
+
borderBottomLeftRadius: "none" | "small" | "medium" | "large" | "max" | "round" | {
|
|
3187
|
+
readonly base?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3188
|
+
readonly xs?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3189
|
+
readonly s?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3190
|
+
readonly m?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3191
|
+
readonly l?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3192
|
+
readonly xl?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3193
|
+
};
|
|
3194
|
+
borderBottomRightRadius: "none" | "small" | "medium" | "large" | "max" | "round" | {
|
|
3195
|
+
readonly base?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3196
|
+
readonly xs?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3197
|
+
readonly s?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3198
|
+
readonly m?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3199
|
+
readonly l?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3200
|
+
readonly xl?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3201
|
+
};
|
|
3202
|
+
borderBottomWidth: "none" | "thin" | "thick" | {
|
|
3203
|
+
readonly base?: "none" | "thin" | "thick" | undefined;
|
|
3204
|
+
readonly xs?: "none" | "thin" | "thick" | undefined;
|
|
3205
|
+
readonly s?: "none" | "thin" | "thick" | undefined;
|
|
3206
|
+
readonly m?: "none" | "thin" | "thick" | undefined;
|
|
3207
|
+
readonly l?: "none" | "thin" | "thick" | undefined;
|
|
3208
|
+
readonly xl?: "none" | "thin" | "thick" | undefined;
|
|
3209
|
+
};
|
|
3210
|
+
borderLeftColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | {
|
|
3211
|
+
readonly base?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3212
|
+
readonly xs?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3213
|
+
readonly s?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3214
|
+
readonly m?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3215
|
+
readonly l?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3216
|
+
readonly xl?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3217
|
+
};
|
|
3218
|
+
borderLeftWidth: "none" | "thin" | "thick" | {
|
|
3219
|
+
readonly base?: "none" | "thin" | "thick" | undefined;
|
|
3220
|
+
readonly xs?: "none" | "thin" | "thick" | undefined;
|
|
3221
|
+
readonly s?: "none" | "thin" | "thick" | undefined;
|
|
3222
|
+
readonly m?: "none" | "thin" | "thick" | undefined;
|
|
3223
|
+
readonly l?: "none" | "thin" | "thick" | undefined;
|
|
3224
|
+
readonly xl?: "none" | "thin" | "thick" | undefined;
|
|
3225
|
+
};
|
|
3226
|
+
borderRightColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | {
|
|
3227
|
+
readonly base?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3228
|
+
readonly xs?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3229
|
+
readonly s?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3230
|
+
readonly m?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3231
|
+
readonly l?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3232
|
+
readonly xl?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3233
|
+
};
|
|
3234
|
+
borderRightWidth: "none" | "thin" | "thick" | {
|
|
3235
|
+
readonly base?: "none" | "thin" | "thick" | undefined;
|
|
3236
|
+
readonly xs?: "none" | "thin" | "thick" | undefined;
|
|
3237
|
+
readonly s?: "none" | "thin" | "thick" | undefined;
|
|
3238
|
+
readonly m?: "none" | "thin" | "thick" | undefined;
|
|
3239
|
+
readonly l?: "none" | "thin" | "thick" | undefined;
|
|
3240
|
+
readonly xl?: "none" | "thin" | "thick" | undefined;
|
|
3241
|
+
};
|
|
3242
|
+
borderTopColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | {
|
|
3243
|
+
readonly base?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3244
|
+
readonly xs?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3245
|
+
readonly s?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3246
|
+
readonly m?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3247
|
+
readonly l?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3248
|
+
readonly xl?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3249
|
+
};
|
|
3250
|
+
borderTopLeftRadius: "none" | "small" | "medium" | "large" | "max" | "round" | {
|
|
3251
|
+
readonly base?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3252
|
+
readonly xs?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3253
|
+
readonly s?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3254
|
+
readonly m?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3255
|
+
readonly l?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3256
|
+
readonly xl?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3257
|
+
};
|
|
3258
|
+
borderTopRightRadius: "none" | "small" | "medium" | "large" | "max" | "round" | {
|
|
3259
|
+
readonly base?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3260
|
+
readonly xs?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3261
|
+
readonly s?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3262
|
+
readonly m?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3263
|
+
readonly l?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3264
|
+
readonly xl?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3265
|
+
};
|
|
3266
|
+
borderTopWidth: "none" | "thin" | "thick" | {
|
|
3267
|
+
readonly base?: "none" | "thin" | "thick" | undefined;
|
|
3268
|
+
readonly xs?: "none" | "thin" | "thick" | undefined;
|
|
3269
|
+
readonly s?: "none" | "thin" | "thick" | undefined;
|
|
3270
|
+
readonly m?: "none" | "thin" | "thick" | undefined;
|
|
3271
|
+
readonly l?: "none" | "thin" | "thick" | undefined;
|
|
3272
|
+
readonly xl?: "none" | "thin" | "thick" | undefined;
|
|
3273
|
+
};
|
|
3274
|
+
backgroundPosition?: csstype.Property.BackgroundPosition<string | number> | {
|
|
3275
|
+
readonly base?: csstype.Property.BackgroundPosition<string | number> | undefined;
|
|
3276
|
+
readonly xs?: csstype.Property.BackgroundPosition<string | number> | undefined;
|
|
3277
|
+
readonly s?: csstype.Property.BackgroundPosition<string | number> | undefined;
|
|
3278
|
+
readonly m?: csstype.Property.BackgroundPosition<string | number> | undefined;
|
|
3279
|
+
readonly l?: csstype.Property.BackgroundPosition<string | number> | undefined;
|
|
3280
|
+
readonly xl?: csstype.Property.BackgroundPosition<string | number> | undefined;
|
|
3281
|
+
} | undefined;
|
|
3282
|
+
borderColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | {
|
|
3283
|
+
readonly base?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3284
|
+
readonly xs?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3285
|
+
readonly s?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3286
|
+
readonly m?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3287
|
+
readonly l?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3288
|
+
readonly xl?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
3289
|
+
};
|
|
3290
|
+
borderRadius: "none" | "small" | "medium" | "large" | "max" | "round" | {
|
|
3291
|
+
readonly base?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3292
|
+
readonly xs?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3293
|
+
readonly s?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3294
|
+
readonly m?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3295
|
+
readonly l?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3296
|
+
readonly xl?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
3297
|
+
};
|
|
3298
|
+
borderWidth: "none" | "thin" | "thick" | {
|
|
3299
|
+
readonly base?: "none" | "thin" | "thick" | undefined;
|
|
3300
|
+
readonly xs?: "none" | "thin" | "thick" | undefined;
|
|
3301
|
+
readonly s?: "none" | "thin" | "thick" | undefined;
|
|
3302
|
+
readonly m?: "none" | "thin" | "thick" | undefined;
|
|
3303
|
+
readonly l?: "none" | "thin" | "thick" | undefined;
|
|
3304
|
+
readonly xl?: "none" | "thin" | "thick" | undefined;
|
|
3305
|
+
};
|
|
3306
|
+
__brand__?: "platform-web" | {
|
|
3307
|
+
readonly base?: "platform-web" | undefined;
|
|
3308
|
+
readonly xs?: "platform-web" | undefined;
|
|
3309
|
+
readonly s?: "platform-web" | undefined;
|
|
3310
|
+
readonly m?: "platform-web" | undefined;
|
|
3311
|
+
readonly l?: "platform-web" | undefined;
|
|
3312
|
+
readonly xl?: "platform-web" | undefined;
|
|
3313
|
+
} | undefined;
|
|
3132
3314
|
} & MakeObjectResponsive<{
|
|
3133
3315
|
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";
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
borderTopWidth: "none" | "thin" | "thick";
|
|
3137
|
-
borderTopColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast";
|
|
3138
|
-
borderRightWidth: "none" | "thin" | "thick";
|
|
3139
|
-
borderRightColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast";
|
|
3140
|
-
borderBottomWidth: "none" | "thin" | "thick";
|
|
3141
|
-
borderBottomColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast";
|
|
3142
|
-
borderLeftWidth: "none" | "thin" | "thick";
|
|
3143
|
-
borderLeftColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast";
|
|
3144
|
-
borderRadius: "none" | "small" | "medium" | "large" | "max" | "round";
|
|
3145
|
-
borderTopLeftRadius: "none" | "small" | "medium" | "large" | "max" | "round";
|
|
3146
|
-
borderTopRightRadius: "none" | "small" | "medium" | "large" | "max" | "round";
|
|
3147
|
-
borderBottomRightRadius: "none" | "small" | "medium" | "large" | "max" | "round";
|
|
3148
|
-
borderBottomLeftRadius: "none" | "small" | "medium" | "large" | "max" | "round";
|
|
3149
|
-
}, "backgroundColor" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomWidth" | "borderLeftColor" | "borderLeftWidth" | "borderRightColor" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopWidth" | "borderColor" | "borderRadius" | "borderWidth"> & {
|
|
3150
|
-
as: "header" | "main" | "label" | "aside" | "div" | "footer" | "nav" | "section" | "span";
|
|
3316
|
+
}, "backgroundColor"> & {
|
|
3317
|
+
as: "aside" | "div" | "footer" | "header" | "label" | "main" | "nav" | "section" | "span";
|
|
3151
3318
|
} & {
|
|
3152
3319
|
children?: React__default.ReactNode | React__default.ReactNode[];
|
|
3153
3320
|
tabIndex?: number | undefined;
|
|
@@ -3216,16 +3383,6 @@ declare type CardBodyProps = {
|
|
|
3216
3383
|
} & TestID$1;
|
|
3217
3384
|
declare const CardBody: ({ children, testID }: CardBodyProps) => React__default.ReactElement;
|
|
3218
3385
|
|
|
3219
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
type BladeElementRef = Platform.Select<{
|
|
3223
|
-
web:
|
|
3224
|
-
| Pick<HTMLElement, 'focus' | 'scrollIntoView' | 'getBoundingClientRect' | 'clientHeight'>
|
|
3225
|
-
| Pick<View, 'focus'>;
|
|
3226
|
-
native: React.MutableRefObject<any>;
|
|
3227
|
-
}>;
|
|
3228
|
-
|
|
3229
3386
|
declare type BaseLinkCommonProps = {
|
|
3230
3387
|
intent?: 'positive' | 'negative' | 'notice' | 'information' | 'neutral';
|
|
3231
3388
|
contrast?: 'low' | 'high';
|
|
@@ -3515,7 +3672,7 @@ type BaseTextProps$1 = {
|
|
|
3515
3672
|
* React Native only
|
|
3516
3673
|
*/
|
|
3517
3674
|
numberOfLines?: number;
|
|
3518
|
-
componentName?: 'text' | 'title' | 'heading' | 'code';
|
|
3675
|
+
componentName?: 'base-text' | 'text' | 'title' | 'heading' | 'code';
|
|
3519
3676
|
} & TestID$1 &
|
|
3520
3677
|
StyledPropsBlade;
|
|
3521
3678
|
|
|
@@ -3537,6 +3694,7 @@ type TextCommonProps$1 = {
|
|
|
3537
3694
|
*/
|
|
3538
3695
|
color?: BaseTextProps$1['color'];
|
|
3539
3696
|
textAlign?: BaseTextProps$1['textAlign'];
|
|
3697
|
+
textDecorationLine?: BaseTextProps$1['textDecorationLine'];
|
|
3540
3698
|
} & TestID$1 &
|
|
3541
3699
|
StyledPropsBlade;
|
|
3542
3700
|
|
|
@@ -3840,14 +3998,6 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
3840
3998
|
*/
|
|
3841
3999
|
tabIndex?: number | undefined;
|
|
3842
4000
|
} & TestID$1 & Partial<Omit<MarginProps & Pick<{
|
|
3843
|
-
order?: csstype.Property.Order | {
|
|
3844
|
-
readonly base?: csstype.Property.Order | undefined;
|
|
3845
|
-
readonly xs?: csstype.Property.Order | undefined;
|
|
3846
|
-
readonly s?: csstype.Property.Order | undefined;
|
|
3847
|
-
readonly m?: csstype.Property.Order | undefined;
|
|
3848
|
-
readonly l?: csstype.Property.Order | undefined;
|
|
3849
|
-
readonly xl?: csstype.Property.Order | undefined;
|
|
3850
|
-
} | undefined;
|
|
3851
4001
|
alignContent?: csstype.Property.AlignContent | {
|
|
3852
4002
|
readonly base?: csstype.Property.AlignContent | undefined;
|
|
3853
4003
|
readonly xs?: csstype.Property.AlignContent | undefined;
|
|
@@ -3944,6 +4094,14 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
3944
4094
|
readonly l?: csstype.Property.JustifySelf | undefined;
|
|
3945
4095
|
readonly xl?: csstype.Property.JustifySelf | undefined;
|
|
3946
4096
|
} | undefined;
|
|
4097
|
+
order?: csstype.Property.Order | {
|
|
4098
|
+
readonly base?: csstype.Property.Order | undefined;
|
|
4099
|
+
readonly xs?: csstype.Property.Order | undefined;
|
|
4100
|
+
readonly s?: csstype.Property.Order | undefined;
|
|
4101
|
+
readonly m?: csstype.Property.Order | undefined;
|
|
4102
|
+
readonly l?: csstype.Property.Order | undefined;
|
|
4103
|
+
readonly xl?: csstype.Property.Order | undefined;
|
|
4104
|
+
} | undefined;
|
|
3947
4105
|
rowGap: SpacingValueType | {
|
|
3948
4106
|
readonly base?: SpacingValueType | undefined;
|
|
3949
4107
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -3984,7 +4142,7 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
3984
4142
|
readonly l?: "platform-web" | undefined;
|
|
3985
4143
|
readonly xl?: "platform-web" | undefined;
|
|
3986
4144
|
} | undefined;
|
|
3987
|
-
}, "
|
|
4145
|
+
}, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
3988
4146
|
bottom: SpacingValueType | {
|
|
3989
4147
|
readonly base?: SpacingValueType | undefined;
|
|
3990
4148
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -4042,14 +4200,6 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
4042
4200
|
readonly xl?: "platform-web" | undefined;
|
|
4043
4201
|
} | undefined;
|
|
4044
4202
|
} & Pick<{
|
|
4045
|
-
grid?: csstype.Property.Grid | {
|
|
4046
|
-
readonly base?: csstype.Property.Grid | undefined;
|
|
4047
|
-
readonly xs?: csstype.Property.Grid | undefined;
|
|
4048
|
-
readonly s?: csstype.Property.Grid | undefined;
|
|
4049
|
-
readonly m?: csstype.Property.Grid | undefined;
|
|
4050
|
-
readonly l?: csstype.Property.Grid | undefined;
|
|
4051
|
-
readonly xl?: csstype.Property.Grid | undefined;
|
|
4052
|
-
} | undefined;
|
|
4053
4203
|
gridAutoColumns?: csstype.Property.GridAutoColumns<string | number> | {
|
|
4054
4204
|
readonly base?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
4055
4205
|
readonly xs?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
@@ -4130,6 +4280,14 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
4130
4280
|
readonly l?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
4131
4281
|
readonly xl?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
4132
4282
|
} | undefined;
|
|
4283
|
+
grid?: csstype.Property.Grid | {
|
|
4284
|
+
readonly base?: csstype.Property.Grid | undefined;
|
|
4285
|
+
readonly xs?: csstype.Property.Grid | undefined;
|
|
4286
|
+
readonly s?: csstype.Property.Grid | undefined;
|
|
4287
|
+
readonly m?: csstype.Property.Grid | undefined;
|
|
4288
|
+
readonly l?: csstype.Property.Grid | undefined;
|
|
4289
|
+
readonly xl?: csstype.Property.Grid | undefined;
|
|
4290
|
+
} | undefined;
|
|
4133
4291
|
gridArea?: csstype.Property.GridArea | {
|
|
4134
4292
|
readonly base?: csstype.Property.GridArea | undefined;
|
|
4135
4293
|
readonly xs?: csstype.Property.GridArea | undefined;
|
|
@@ -5142,7 +5300,7 @@ declare type TextInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' | '
|
|
|
5142
5300
|
*/
|
|
5143
5301
|
type?: Type;
|
|
5144
5302
|
} & StyledPropsBlade;
|
|
5145
|
-
declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "
|
|
5303
|
+
declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "placeholder" | "name" | "testID" | "prefix" | "value" | "label" | "onBlur" | "onFocus" | "defaultValue" | "autoCapitalize" | "onChange" | "onSubmit" | "autoFocus" | "isDisabled" | "labelPosition" | "validationState" | "helpText" | "errorText" | "necessityIndicator" | "successText" | "isRequired" | "suffix" | "maxCharacters" | "keyboardReturnKeyType" | "autoCompleteSuggestionType"> & {
|
|
5146
5304
|
/**
|
|
5147
5305
|
* Decides whether to render a clear icon button
|
|
5148
5306
|
*/
|
|
@@ -5174,14 +5332,6 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
|
|
|
5174
5332
|
*/
|
|
5175
5333
|
type?: Type;
|
|
5176
5334
|
} & Partial<Omit<MarginProps & Pick<{
|
|
5177
|
-
order?: csstype.Property.Order | {
|
|
5178
|
-
readonly base?: csstype.Property.Order | undefined;
|
|
5179
|
-
readonly xs?: csstype.Property.Order | undefined;
|
|
5180
|
-
readonly s?: csstype.Property.Order | undefined;
|
|
5181
|
-
readonly m?: csstype.Property.Order | undefined;
|
|
5182
|
-
readonly l?: csstype.Property.Order | undefined;
|
|
5183
|
-
readonly xl?: csstype.Property.Order | undefined;
|
|
5184
|
-
} | undefined;
|
|
5185
5335
|
alignContent?: csstype.Property.AlignContent | {
|
|
5186
5336
|
readonly base?: csstype.Property.AlignContent | undefined;
|
|
5187
5337
|
readonly xs?: csstype.Property.AlignContent | undefined;
|
|
@@ -5278,6 +5428,14 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
|
|
|
5278
5428
|
readonly l?: csstype.Property.JustifySelf | undefined;
|
|
5279
5429
|
readonly xl?: csstype.Property.JustifySelf | undefined;
|
|
5280
5430
|
} | undefined;
|
|
5431
|
+
order?: csstype.Property.Order | {
|
|
5432
|
+
readonly base?: csstype.Property.Order | undefined;
|
|
5433
|
+
readonly xs?: csstype.Property.Order | undefined;
|
|
5434
|
+
readonly s?: csstype.Property.Order | undefined;
|
|
5435
|
+
readonly m?: csstype.Property.Order | undefined;
|
|
5436
|
+
readonly l?: csstype.Property.Order | undefined;
|
|
5437
|
+
readonly xl?: csstype.Property.Order | undefined;
|
|
5438
|
+
} | undefined;
|
|
5281
5439
|
rowGap: SpacingValueType | {
|
|
5282
5440
|
readonly base?: SpacingValueType | undefined;
|
|
5283
5441
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -5318,7 +5476,7 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
|
|
|
5318
5476
|
readonly l?: "platform-web" | undefined;
|
|
5319
5477
|
readonly xl?: "platform-web" | undefined;
|
|
5320
5478
|
} | undefined;
|
|
5321
|
-
}, "
|
|
5479
|
+
}, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
5322
5480
|
bottom: SpacingValueType | {
|
|
5323
5481
|
readonly base?: SpacingValueType | undefined;
|
|
5324
5482
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -5370,20 +5528,12 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
|
|
|
5370
5528
|
__brand__?: "platform-web" | {
|
|
5371
5529
|
readonly base?: "platform-web" | undefined;
|
|
5372
5530
|
readonly xs?: "platform-web" | undefined;
|
|
5373
|
-
readonly s?: "platform-web" | undefined;
|
|
5374
|
-
readonly m?: "platform-web" | undefined;
|
|
5375
|
-
readonly l?: "platform-web" | undefined;
|
|
5376
|
-
readonly xl?: "platform-web" | undefined;
|
|
5377
|
-
} | undefined;
|
|
5378
|
-
} & Pick<{
|
|
5379
|
-
grid?: csstype.Property.Grid | {
|
|
5380
|
-
readonly base?: csstype.Property.Grid | undefined;
|
|
5381
|
-
readonly xs?: csstype.Property.Grid | undefined;
|
|
5382
|
-
readonly s?: csstype.Property.Grid | undefined;
|
|
5383
|
-
readonly m?: csstype.Property.Grid | undefined;
|
|
5384
|
-
readonly l?: csstype.Property.Grid | undefined;
|
|
5385
|
-
readonly xl?: csstype.Property.Grid | undefined;
|
|
5531
|
+
readonly s?: "platform-web" | undefined;
|
|
5532
|
+
readonly m?: "platform-web" | undefined;
|
|
5533
|
+
readonly l?: "platform-web" | undefined;
|
|
5534
|
+
readonly xl?: "platform-web" | undefined;
|
|
5386
5535
|
} | undefined;
|
|
5536
|
+
} & Pick<{
|
|
5387
5537
|
gridAutoColumns?: csstype.Property.GridAutoColumns<string | number> | {
|
|
5388
5538
|
readonly base?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5389
5539
|
readonly xs?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
@@ -5464,6 +5614,14 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
|
|
|
5464
5614
|
readonly l?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
5465
5615
|
readonly xl?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
5466
5616
|
} | undefined;
|
|
5617
|
+
grid?: csstype.Property.Grid | {
|
|
5618
|
+
readonly base?: csstype.Property.Grid | undefined;
|
|
5619
|
+
readonly xs?: csstype.Property.Grid | undefined;
|
|
5620
|
+
readonly s?: csstype.Property.Grid | undefined;
|
|
5621
|
+
readonly m?: csstype.Property.Grid | undefined;
|
|
5622
|
+
readonly l?: csstype.Property.Grid | undefined;
|
|
5623
|
+
readonly xl?: csstype.Property.Grid | undefined;
|
|
5624
|
+
} | undefined;
|
|
5467
5625
|
gridArea?: csstype.Property.GridArea | {
|
|
5468
5626
|
readonly base?: csstype.Property.GridArea | undefined;
|
|
5469
5627
|
readonly xs?: csstype.Property.GridArea | undefined;
|
|
@@ -5537,15 +5695,7 @@ declare type PasswordInputExtraProps = {
|
|
|
5537
5695
|
autoCompleteSuggestionType?: Extract<BaseInputProps['autoCompleteSuggestionType'], 'none' | 'password' | 'newPassword'>;
|
|
5538
5696
|
};
|
|
5539
5697
|
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;
|
|
5540
|
-
declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "
|
|
5541
|
-
order?: csstype.Property.Order | {
|
|
5542
|
-
readonly base?: csstype.Property.Order | undefined;
|
|
5543
|
-
readonly xs?: csstype.Property.Order | undefined;
|
|
5544
|
-
readonly s?: csstype.Property.Order | undefined;
|
|
5545
|
-
readonly m?: csstype.Property.Order | undefined;
|
|
5546
|
-
readonly l?: csstype.Property.Order | undefined;
|
|
5547
|
-
readonly xl?: csstype.Property.Order | undefined;
|
|
5548
|
-
} | undefined;
|
|
5698
|
+
declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "placeholder" | "name" | "testID" | "value" | "label" | "onBlur" | "onFocus" | "defaultValue" | "onChange" | "onSubmit" | "autoFocus" | "isDisabled" | "labelPosition" | "validationState" | "helpText" | "errorText" | "successText" | "isRequired" | "maxCharacters" | "keyboardReturnKeyType" | "autoCompleteSuggestionType"> & PasswordInputExtraProps & Partial<Omit<MarginProps & Pick<{
|
|
5549
5699
|
alignContent?: csstype.Property.AlignContent | {
|
|
5550
5700
|
readonly base?: csstype.Property.AlignContent | undefined;
|
|
5551
5701
|
readonly xs?: csstype.Property.AlignContent | undefined;
|
|
@@ -5642,6 +5792,14 @@ declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseI
|
|
|
5642
5792
|
readonly l?: csstype.Property.JustifySelf | undefined;
|
|
5643
5793
|
readonly xl?: csstype.Property.JustifySelf | undefined;
|
|
5644
5794
|
} | undefined;
|
|
5795
|
+
order?: csstype.Property.Order | {
|
|
5796
|
+
readonly base?: csstype.Property.Order | undefined;
|
|
5797
|
+
readonly xs?: csstype.Property.Order | undefined;
|
|
5798
|
+
readonly s?: csstype.Property.Order | undefined;
|
|
5799
|
+
readonly m?: csstype.Property.Order | undefined;
|
|
5800
|
+
readonly l?: csstype.Property.Order | undefined;
|
|
5801
|
+
readonly xl?: csstype.Property.Order | undefined;
|
|
5802
|
+
} | undefined;
|
|
5645
5803
|
rowGap: SpacingValueType | {
|
|
5646
5804
|
readonly base?: SpacingValueType | undefined;
|
|
5647
5805
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -5682,7 +5840,7 @@ declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseI
|
|
|
5682
5840
|
readonly l?: "platform-web" | undefined;
|
|
5683
5841
|
readonly xl?: "platform-web" | undefined;
|
|
5684
5842
|
} | undefined;
|
|
5685
|
-
}, "
|
|
5843
|
+
}, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
5686
5844
|
bottom: SpacingValueType | {
|
|
5687
5845
|
readonly base?: SpacingValueType | undefined;
|
|
5688
5846
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -5740,14 +5898,6 @@ declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseI
|
|
|
5740
5898
|
readonly xl?: "platform-web" | undefined;
|
|
5741
5899
|
} | undefined;
|
|
5742
5900
|
} & Pick<{
|
|
5743
|
-
grid?: csstype.Property.Grid | {
|
|
5744
|
-
readonly base?: csstype.Property.Grid | undefined;
|
|
5745
|
-
readonly xs?: csstype.Property.Grid | undefined;
|
|
5746
|
-
readonly s?: csstype.Property.Grid | undefined;
|
|
5747
|
-
readonly m?: csstype.Property.Grid | undefined;
|
|
5748
|
-
readonly l?: csstype.Property.Grid | undefined;
|
|
5749
|
-
readonly xl?: csstype.Property.Grid | undefined;
|
|
5750
|
-
} | undefined;
|
|
5751
5901
|
gridAutoColumns?: csstype.Property.GridAutoColumns<string | number> | {
|
|
5752
5902
|
readonly base?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5753
5903
|
readonly xs?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
@@ -5828,6 +5978,14 @@ declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseI
|
|
|
5828
5978
|
readonly l?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
5829
5979
|
readonly xl?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
5830
5980
|
} | undefined;
|
|
5981
|
+
grid?: csstype.Property.Grid | {
|
|
5982
|
+
readonly base?: csstype.Property.Grid | undefined;
|
|
5983
|
+
readonly xs?: csstype.Property.Grid | undefined;
|
|
5984
|
+
readonly s?: csstype.Property.Grid | undefined;
|
|
5985
|
+
readonly m?: csstype.Property.Grid | undefined;
|
|
5986
|
+
readonly l?: csstype.Property.Grid | undefined;
|
|
5987
|
+
readonly xl?: csstype.Property.Grid | undefined;
|
|
5988
|
+
} | undefined;
|
|
5831
5989
|
gridArea?: csstype.Property.GridArea | {
|
|
5832
5990
|
readonly base?: csstype.Property.GridArea | undefined;
|
|
5833
5991
|
readonly xs?: csstype.Property.GridArea | undefined;
|
|
@@ -5880,7 +6038,7 @@ declare type TextAreaProps = Pick<BaseInputProps, 'label' | 'labelPosition' | 'n
|
|
|
5880
6038
|
*/
|
|
5881
6039
|
onClearButtonClick?: () => void;
|
|
5882
6040
|
} & StyledPropsBlade;
|
|
5883
|
-
declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "
|
|
6041
|
+
declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "placeholder" | "name" | "testID" | "value" | "label" | "onBlur" | "onFocus" | "defaultValue" | "onChange" | "onSubmit" | "autoFocus" | "numberOfLines" | "isDisabled" | "labelPosition" | "validationState" | "helpText" | "errorText" | "necessityIndicator" | "successText" | "isRequired" | "maxCharacters"> & {
|
|
5884
6042
|
/**
|
|
5885
6043
|
* Decides whether to render a clear icon button
|
|
5886
6044
|
*/
|
|
@@ -5890,14 +6048,6 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
|
|
|
5890
6048
|
*/
|
|
5891
6049
|
onClearButtonClick?: (() => void) | undefined;
|
|
5892
6050
|
} & Partial<Omit<MarginProps & Pick<{
|
|
5893
|
-
order?: csstype.Property.Order | {
|
|
5894
|
-
readonly base?: csstype.Property.Order | undefined;
|
|
5895
|
-
readonly xs?: csstype.Property.Order | undefined;
|
|
5896
|
-
readonly s?: csstype.Property.Order | undefined;
|
|
5897
|
-
readonly m?: csstype.Property.Order | undefined;
|
|
5898
|
-
readonly l?: csstype.Property.Order | undefined;
|
|
5899
|
-
readonly xl?: csstype.Property.Order | undefined;
|
|
5900
|
-
} | undefined;
|
|
5901
6051
|
alignContent?: csstype.Property.AlignContent | {
|
|
5902
6052
|
readonly base?: csstype.Property.AlignContent | undefined;
|
|
5903
6053
|
readonly xs?: csstype.Property.AlignContent | undefined;
|
|
@@ -5994,6 +6144,14 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
|
|
|
5994
6144
|
readonly l?: csstype.Property.JustifySelf | undefined;
|
|
5995
6145
|
readonly xl?: csstype.Property.JustifySelf | undefined;
|
|
5996
6146
|
} | undefined;
|
|
6147
|
+
order?: csstype.Property.Order | {
|
|
6148
|
+
readonly base?: csstype.Property.Order | undefined;
|
|
6149
|
+
readonly xs?: csstype.Property.Order | undefined;
|
|
6150
|
+
readonly s?: csstype.Property.Order | undefined;
|
|
6151
|
+
readonly m?: csstype.Property.Order | undefined;
|
|
6152
|
+
readonly l?: csstype.Property.Order | undefined;
|
|
6153
|
+
readonly xl?: csstype.Property.Order | undefined;
|
|
6154
|
+
} | undefined;
|
|
5997
6155
|
rowGap: SpacingValueType | {
|
|
5998
6156
|
readonly base?: SpacingValueType | undefined;
|
|
5999
6157
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -6034,7 +6192,7 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
|
|
|
6034
6192
|
readonly l?: "platform-web" | undefined;
|
|
6035
6193
|
readonly xl?: "platform-web" | undefined;
|
|
6036
6194
|
} | undefined;
|
|
6037
|
-
}, "
|
|
6195
|
+
}, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
6038
6196
|
bottom: SpacingValueType | {
|
|
6039
6197
|
readonly base?: SpacingValueType | undefined;
|
|
6040
6198
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -6092,14 +6250,6 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
|
|
|
6092
6250
|
readonly xl?: "platform-web" | undefined;
|
|
6093
6251
|
} | undefined;
|
|
6094
6252
|
} & Pick<{
|
|
6095
|
-
grid?: csstype.Property.Grid | {
|
|
6096
|
-
readonly base?: csstype.Property.Grid | undefined;
|
|
6097
|
-
readonly xs?: csstype.Property.Grid | undefined;
|
|
6098
|
-
readonly s?: csstype.Property.Grid | undefined;
|
|
6099
|
-
readonly m?: csstype.Property.Grid | undefined;
|
|
6100
|
-
readonly l?: csstype.Property.Grid | undefined;
|
|
6101
|
-
readonly xl?: csstype.Property.Grid | undefined;
|
|
6102
|
-
} | undefined;
|
|
6103
6253
|
gridAutoColumns?: csstype.Property.GridAutoColumns<string | number> | {
|
|
6104
6254
|
readonly base?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
6105
6255
|
readonly xs?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
@@ -6180,6 +6330,14 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
|
|
|
6180
6330
|
readonly l?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
6181
6331
|
readonly xl?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
6182
6332
|
} | undefined;
|
|
6333
|
+
grid?: csstype.Property.Grid | {
|
|
6334
|
+
readonly base?: csstype.Property.Grid | undefined;
|
|
6335
|
+
readonly xs?: csstype.Property.Grid | undefined;
|
|
6336
|
+
readonly s?: csstype.Property.Grid | undefined;
|
|
6337
|
+
readonly m?: csstype.Property.Grid | undefined;
|
|
6338
|
+
readonly l?: csstype.Property.Grid | undefined;
|
|
6339
|
+
readonly xl?: csstype.Property.Grid | undefined;
|
|
6340
|
+
} | undefined;
|
|
6183
6341
|
gridArea?: csstype.Property.GridArea | {
|
|
6184
6342
|
readonly base?: csstype.Property.GridArea | undefined;
|
|
6185
6343
|
readonly xs?: csstype.Property.GridArea | undefined;
|
|
@@ -6324,7 +6482,7 @@ declare type SelectInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' |
|
|
|
6324
6482
|
*
|
|
6325
6483
|
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-dropdown-with-select--with-single-select SelectInput Documentation}.
|
|
6326
6484
|
*/
|
|
6327
|
-
declare const SelectInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "
|
|
6485
|
+
declare const SelectInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "placeholder" | "name" | "testID" | "prefix" | "label" | "onBlur" | "onFocus" | "onClick" | "autoFocus" | "isDisabled" | "labelPosition" | "validationState" | "helpText" | "errorText" | "necessityIndicator" | "successText" | "isRequired" | "suffix"> & {
|
|
6328
6486
|
icon?: IconComponent$1 | undefined;
|
|
6329
6487
|
/**
|
|
6330
6488
|
* Controlled value of the Select. Use it in combination of `onChange`.
|
|
@@ -6460,7 +6618,7 @@ declare type BaseTextProps = {
|
|
|
6460
6618
|
* React Native only
|
|
6461
6619
|
*/
|
|
6462
6620
|
numberOfLines?: number;
|
|
6463
|
-
componentName?: 'text' | 'title' | 'heading' | 'code';
|
|
6621
|
+
componentName?: 'base-text' | 'text' | 'title' | 'heading' | 'code';
|
|
6464
6622
|
} & TestID$1 & StyledPropsBlade;
|
|
6465
6623
|
|
|
6466
6624
|
declare const validAsValues$2: readonly ["span", "h1", "h2", "h3", "h4", "h5", "h6"];
|
|
@@ -6477,8 +6635,9 @@ declare type TitleProps = {
|
|
|
6477
6635
|
type?: TextTypes;
|
|
6478
6636
|
children: React.ReactNode;
|
|
6479
6637
|
textAlign?: BaseTextProps['textAlign'];
|
|
6638
|
+
textDecorationLine?: BaseTextProps['textDecorationLine'];
|
|
6480
6639
|
} & TestID$1 & StyledPropsBlade;
|
|
6481
|
-
declare const Title: ({ as, size, type, contrast, color, children, testID, textAlign, ...styledProps }: TitleProps) => ReactElement;
|
|
6640
|
+
declare const Title: ({ as, size, type, contrast, color, children, testID, textAlign, textDecorationLine, ...styledProps }: TitleProps) => ReactElement;
|
|
6482
6641
|
|
|
6483
6642
|
declare type HeadingVariant = 'regular' | 'subheading';
|
|
6484
6643
|
declare type HeadingSize = 'small' | 'medium' | 'large';
|
|
@@ -6495,6 +6654,7 @@ declare type HeadingCommonProps = {
|
|
|
6495
6654
|
contrast?: ColorContrastTypes;
|
|
6496
6655
|
children: React.ReactNode;
|
|
6497
6656
|
textAlign?: BaseTextProps['textAlign'];
|
|
6657
|
+
textDecorationLine?: BaseTextProps['textDecorationLine'];
|
|
6498
6658
|
} & TestID$1 & StyledPropsBlade;
|
|
6499
6659
|
declare type HeadingNormalVariant = HeadingCommonProps & {
|
|
6500
6660
|
variant?: Exclude<HeadingVariant, 'subheading'>;
|
|
@@ -6522,7 +6682,7 @@ declare type HeadingProps<T> = T extends {
|
|
|
6522
6682
|
} ? Variant extends Exclude<HeadingVariant, 'subheading'> ? HeadingNormalVariant : Variant extends 'subheading' ? HeadingSubHeadingVariant : T : T;
|
|
6523
6683
|
declare const Heading: <T extends {
|
|
6524
6684
|
variant: HeadingVariant;
|
|
6525
|
-
}>({ as, variant, size, type, weight, contrast, color, children, testID, textAlign, ...styledProps }: HeadingProps<T>) => ReactElement;
|
|
6685
|
+
}>({ as, variant, size, type, weight, contrast, color, children, testID, textAlign, textDecorationLine, ...styledProps }: HeadingProps<T>) => ReactElement;
|
|
6526
6686
|
|
|
6527
6687
|
declare const validAsValues: readonly ["p", "span", "div", "abbr", "figcaption", "cite", "q"];
|
|
6528
6688
|
declare type TextCommonProps = {
|
|
@@ -6539,6 +6699,7 @@ declare type TextCommonProps = {
|
|
|
6539
6699
|
*/
|
|
6540
6700
|
color?: BaseTextProps['color'];
|
|
6541
6701
|
textAlign?: BaseTextProps['textAlign'];
|
|
6702
|
+
textDecorationLine?: BaseTextProps['textDecorationLine'];
|
|
6542
6703
|
} & TestID$1 & StyledPropsBlade;
|
|
6543
6704
|
declare type TextVariant = 'body' | 'caption';
|
|
6544
6705
|
declare type TextBodyVariant = TextCommonProps & {
|
|
@@ -6559,13 +6720,13 @@ declare type TextProps<T> = T extends {
|
|
|
6559
6720
|
declare type GetTextPropsReturn = Omit<BaseTextProps, 'children'>;
|
|
6560
6721
|
declare type GetTextProps<T extends {
|
|
6561
6722
|
variant: TextVariant;
|
|
6562
|
-
}> = Pick<TextProps<T>, 'type' | 'variant' | 'weight' | 'size' | 'contrast' | 'color' | 'testID' | 'textAlign'>;
|
|
6723
|
+
}> = Pick<TextProps<T>, 'type' | 'variant' | 'weight' | 'size' | 'contrast' | 'color' | 'testID' | 'textAlign' | 'textDecorationLine'>;
|
|
6563
6724
|
declare const getTextProps: <T extends {
|
|
6564
6725
|
variant: TextVariant;
|
|
6565
|
-
}>({ variant, type, weight, size, color, contrast, testID, textAlign, }: GetTextProps<T>) => GetTextPropsReturn;
|
|
6726
|
+
}>({ variant, type, weight, size, color, contrast, testID, textAlign, textDecorationLine, }: GetTextProps<T>) => GetTextPropsReturn;
|
|
6566
6727
|
declare const Text: <T extends {
|
|
6567
6728
|
variant: TextVariant;
|
|
6568
|
-
}>({ as, variant, weight, size, type, contrast, truncateAfterLines, children, color, testID, textAlign, ...styledProps }: TextProps<T>) => ReactElement;
|
|
6729
|
+
}>({ as, variant, weight, size, type, contrast, truncateAfterLines, children, color, testID, textAlign, textDecorationLine, ...styledProps }: TextProps<T>) => ReactElement;
|
|
6569
6730
|
|
|
6570
6731
|
declare type CodeCommonProps = {
|
|
6571
6732
|
/**
|
|
@@ -6873,14 +7034,6 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
6873
7034
|
*/
|
|
6874
7035
|
size?: "small" | "medium" | undefined;
|
|
6875
7036
|
} & TestID$1 & Partial<Omit<MarginProps & Pick<{
|
|
6876
|
-
order?: csstype.Property.Order | {
|
|
6877
|
-
readonly base?: csstype.Property.Order | undefined;
|
|
6878
|
-
readonly xs?: csstype.Property.Order | undefined;
|
|
6879
|
-
readonly s?: csstype.Property.Order | undefined;
|
|
6880
|
-
readonly m?: csstype.Property.Order | undefined;
|
|
6881
|
-
readonly l?: csstype.Property.Order | undefined;
|
|
6882
|
-
readonly xl?: csstype.Property.Order | undefined;
|
|
6883
|
-
} | undefined;
|
|
6884
7037
|
alignContent?: csstype.Property.AlignContent | {
|
|
6885
7038
|
readonly base?: csstype.Property.AlignContent | undefined;
|
|
6886
7039
|
readonly xs?: csstype.Property.AlignContent | undefined;
|
|
@@ -6977,6 +7130,14 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
6977
7130
|
readonly l?: csstype.Property.JustifySelf | undefined;
|
|
6978
7131
|
readonly xl?: csstype.Property.JustifySelf | undefined;
|
|
6979
7132
|
} | undefined;
|
|
7133
|
+
order?: csstype.Property.Order | {
|
|
7134
|
+
readonly base?: csstype.Property.Order | undefined;
|
|
7135
|
+
readonly xs?: csstype.Property.Order | undefined;
|
|
7136
|
+
readonly s?: csstype.Property.Order | undefined;
|
|
7137
|
+
readonly m?: csstype.Property.Order | undefined;
|
|
7138
|
+
readonly l?: csstype.Property.Order | undefined;
|
|
7139
|
+
readonly xl?: csstype.Property.Order | undefined;
|
|
7140
|
+
} | undefined;
|
|
6980
7141
|
rowGap: SpacingValueType | {
|
|
6981
7142
|
readonly base?: SpacingValueType | undefined;
|
|
6982
7143
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -7017,7 +7178,7 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
7017
7178
|
readonly l?: "platform-web" | undefined;
|
|
7018
7179
|
readonly xl?: "platform-web" | undefined;
|
|
7019
7180
|
} | undefined;
|
|
7020
|
-
}, "
|
|
7181
|
+
}, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
7021
7182
|
bottom: SpacingValueType | {
|
|
7022
7183
|
readonly base?: SpacingValueType | undefined;
|
|
7023
7184
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -7075,14 +7236,6 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
7075
7236
|
readonly xl?: "platform-web" | undefined;
|
|
7076
7237
|
} | undefined;
|
|
7077
7238
|
} & Pick<{
|
|
7078
|
-
grid?: csstype.Property.Grid | {
|
|
7079
|
-
readonly base?: csstype.Property.Grid | undefined;
|
|
7080
|
-
readonly xs?: csstype.Property.Grid | undefined;
|
|
7081
|
-
readonly s?: csstype.Property.Grid | undefined;
|
|
7082
|
-
readonly m?: csstype.Property.Grid | undefined;
|
|
7083
|
-
readonly l?: csstype.Property.Grid | undefined;
|
|
7084
|
-
readonly xl?: csstype.Property.Grid | undefined;
|
|
7085
|
-
} | undefined;
|
|
7086
7239
|
gridAutoColumns?: csstype.Property.GridAutoColumns<string | number> | {
|
|
7087
7240
|
readonly base?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
7088
7241
|
readonly xs?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
@@ -7163,6 +7316,14 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
7163
7316
|
readonly l?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
7164
7317
|
readonly xl?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
7165
7318
|
} | undefined;
|
|
7319
|
+
grid?: csstype.Property.Grid | {
|
|
7320
|
+
readonly base?: csstype.Property.Grid | undefined;
|
|
7321
|
+
readonly xs?: csstype.Property.Grid | undefined;
|
|
7322
|
+
readonly s?: csstype.Property.Grid | undefined;
|
|
7323
|
+
readonly m?: csstype.Property.Grid | undefined;
|
|
7324
|
+
readonly l?: csstype.Property.Grid | undefined;
|
|
7325
|
+
readonly xl?: csstype.Property.Grid | undefined;
|
|
7326
|
+
} | undefined;
|
|
7166
7327
|
gridArea?: csstype.Property.GridArea | {
|
|
7167
7328
|
readonly base?: csstype.Property.GridArea | undefined;
|
|
7168
7329
|
readonly xs?: csstype.Property.GridArea | undefined;
|
|
@@ -7687,14 +7848,6 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
7687
7848
|
readonly l?: csstype.Property.Display | undefined;
|
|
7688
7849
|
readonly xl?: csstype.Property.Display | undefined;
|
|
7689
7850
|
} | undefined;
|
|
7690
|
-
overflow?: csstype.Property.Overflow | {
|
|
7691
|
-
readonly base?: csstype.Property.Overflow | undefined;
|
|
7692
|
-
readonly xs?: csstype.Property.Overflow | undefined;
|
|
7693
|
-
readonly s?: csstype.Property.Overflow | undefined;
|
|
7694
|
-
readonly m?: csstype.Property.Overflow | undefined;
|
|
7695
|
-
readonly l?: csstype.Property.Overflow | undefined;
|
|
7696
|
-
readonly xl?: csstype.Property.Overflow | undefined;
|
|
7697
|
-
} | undefined;
|
|
7698
7851
|
height: SpacingValueType | {
|
|
7699
7852
|
readonly base?: SpacingValueType | undefined;
|
|
7700
7853
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -7759,6 +7912,14 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
7759
7912
|
readonly l?: csstype.Property.TextAlign | undefined;
|
|
7760
7913
|
readonly xl?: csstype.Property.TextAlign | undefined;
|
|
7761
7914
|
} | undefined;
|
|
7915
|
+
overflow?: csstype.Property.Overflow | {
|
|
7916
|
+
readonly base?: csstype.Property.Overflow | undefined;
|
|
7917
|
+
readonly xs?: csstype.Property.Overflow | undefined;
|
|
7918
|
+
readonly s?: csstype.Property.Overflow | undefined;
|
|
7919
|
+
readonly m?: csstype.Property.Overflow | undefined;
|
|
7920
|
+
readonly l?: csstype.Property.Overflow | undefined;
|
|
7921
|
+
readonly xl?: csstype.Property.Overflow | undefined;
|
|
7922
|
+
} | undefined;
|
|
7762
7923
|
__brand__?: "platform-web" | {
|
|
7763
7924
|
readonly base?: "platform-web" | undefined;
|
|
7764
7925
|
readonly xs?: "platform-web" | undefined;
|
|
@@ -7768,14 +7929,6 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
7768
7929
|
readonly xl?: "platform-web" | undefined;
|
|
7769
7930
|
} | undefined;
|
|
7770
7931
|
} & {
|
|
7771
|
-
order?: csstype.Property.Order | {
|
|
7772
|
-
readonly base?: csstype.Property.Order | undefined;
|
|
7773
|
-
readonly xs?: csstype.Property.Order | undefined;
|
|
7774
|
-
readonly s?: csstype.Property.Order | undefined;
|
|
7775
|
-
readonly m?: csstype.Property.Order | undefined;
|
|
7776
|
-
readonly l?: csstype.Property.Order | undefined;
|
|
7777
|
-
readonly xl?: csstype.Property.Order | undefined;
|
|
7778
|
-
} | undefined;
|
|
7779
7932
|
alignContent?: csstype.Property.AlignContent | {
|
|
7780
7933
|
readonly base?: csstype.Property.AlignContent | undefined;
|
|
7781
7934
|
readonly xs?: csstype.Property.AlignContent | undefined;
|
|
@@ -7872,6 +8025,14 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
7872
8025
|
readonly l?: csstype.Property.JustifySelf | undefined;
|
|
7873
8026
|
readonly xl?: csstype.Property.JustifySelf | undefined;
|
|
7874
8027
|
} | undefined;
|
|
8028
|
+
order?: csstype.Property.Order | {
|
|
8029
|
+
readonly base?: csstype.Property.Order | undefined;
|
|
8030
|
+
readonly xs?: csstype.Property.Order | undefined;
|
|
8031
|
+
readonly s?: csstype.Property.Order | undefined;
|
|
8032
|
+
readonly m?: csstype.Property.Order | undefined;
|
|
8033
|
+
readonly l?: csstype.Property.Order | undefined;
|
|
8034
|
+
readonly xl?: csstype.Property.Order | undefined;
|
|
8035
|
+
} | undefined;
|
|
7875
8036
|
rowGap: SpacingValueType | {
|
|
7876
8037
|
readonly base?: SpacingValueType | undefined;
|
|
7877
8038
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -7970,14 +8131,6 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
7970
8131
|
readonly xl?: "platform-web" | undefined;
|
|
7971
8132
|
} | undefined;
|
|
7972
8133
|
} & {
|
|
7973
|
-
grid?: csstype.Property.Grid | {
|
|
7974
|
-
readonly base?: csstype.Property.Grid | undefined;
|
|
7975
|
-
readonly xs?: csstype.Property.Grid | undefined;
|
|
7976
|
-
readonly s?: csstype.Property.Grid | undefined;
|
|
7977
|
-
readonly m?: csstype.Property.Grid | undefined;
|
|
7978
|
-
readonly l?: csstype.Property.Grid | undefined;
|
|
7979
|
-
readonly xl?: csstype.Property.Grid | undefined;
|
|
7980
|
-
} | undefined;
|
|
7981
8134
|
gridAutoColumns?: csstype.Property.GridAutoColumns<string | number> | {
|
|
7982
8135
|
readonly base?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
7983
8136
|
readonly xs?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
@@ -8058,6 +8211,14 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
8058
8211
|
readonly l?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
8059
8212
|
readonly xl?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
8060
8213
|
} | undefined;
|
|
8214
|
+
grid?: csstype.Property.Grid | {
|
|
8215
|
+
readonly base?: csstype.Property.Grid | undefined;
|
|
8216
|
+
readonly xs?: csstype.Property.Grid | undefined;
|
|
8217
|
+
readonly s?: csstype.Property.Grid | undefined;
|
|
8218
|
+
readonly m?: csstype.Property.Grid | undefined;
|
|
8219
|
+
readonly l?: csstype.Property.Grid | undefined;
|
|
8220
|
+
readonly xl?: csstype.Property.Grid | undefined;
|
|
8221
|
+
} | undefined;
|
|
8061
8222
|
gridArea?: csstype.Property.GridArea | {
|
|
8062
8223
|
readonly base?: csstype.Property.GridArea | undefined;
|
|
8063
8224
|
readonly xs?: csstype.Property.GridArea | undefined;
|
|
@@ -8103,53 +8264,39 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
8103
8264
|
onMouseEnter: React$1.MouseEventHandler<HTMLElement>;
|
|
8104
8265
|
onMouseLeave: React$1.MouseEventHandler<HTMLElement>;
|
|
8105
8266
|
onScroll: React$1.UIEventHandler<HTMLElement>;
|
|
8106
|
-
} & MakeObjectResponsive<{
|
|
8107
|
-
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";
|
|
8108
|
-
borderWidth: "none" | "thin" | "thick";
|
|
8109
|
-
borderColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast";
|
|
8110
|
-
borderTopWidth: "none" | "thin" | "thick";
|
|
8111
|
-
borderTopColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast";
|
|
8112
|
-
borderRightWidth: "none" | "thin" | "thick";
|
|
8113
|
-
borderRightColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast";
|
|
8114
|
-
borderBottomWidth: "none" | "thin" | "thick";
|
|
8115
|
-
borderBottomColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast";
|
|
8116
|
-
borderLeftWidth: "none" | "thin" | "thick";
|
|
8117
|
-
borderLeftColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast";
|
|
8118
|
-
borderRadius: "none" | "small" | "medium" | "large" | "max" | "round";
|
|
8119
|
-
borderTopLeftRadius: "none" | "small" | "medium" | "large" | "max" | "round";
|
|
8120
|
-
borderTopRightRadius: "none" | "small" | "medium" | "large" | "max" | "round";
|
|
8121
|
-
borderBottomRightRadius: "none" | "small" | "medium" | "large" | "max" | "round";
|
|
8122
|
-
borderBottomLeftRadius: "none" | "small" | "medium" | "large" | "max" | "round";
|
|
8123
|
-
}, "backgroundColor" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomWidth" | "borderLeftColor" | "borderLeftWidth" | "borderRightColor" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopWidth" | "borderColor" | "borderRadius" | "borderWidth"> & {
|
|
8124
|
-
as: "header" | "main" | "label" | "aside" | "div" | "footer" | "nav" | "section" | "span";
|
|
8125
8267
|
} & {
|
|
8126
|
-
|
|
8127
|
-
|
|
8128
|
-
|
|
8129
|
-
|
|
8130
|
-
readonly
|
|
8131
|
-
readonly
|
|
8132
|
-
readonly
|
|
8133
|
-
|
|
8134
|
-
|
|
8135
|
-
readonly
|
|
8268
|
+
backgroundImage?: csstype.Property.BackgroundImage | {
|
|
8269
|
+
readonly base?: csstype.Property.BackgroundImage | undefined;
|
|
8270
|
+
readonly xs?: csstype.Property.BackgroundImage | undefined;
|
|
8271
|
+
readonly s?: csstype.Property.BackgroundImage | undefined;
|
|
8272
|
+
readonly m?: csstype.Property.BackgroundImage | undefined;
|
|
8273
|
+
readonly l?: csstype.Property.BackgroundImage | undefined;
|
|
8274
|
+
readonly xl?: csstype.Property.BackgroundImage | undefined;
|
|
8275
|
+
} | undefined;
|
|
8276
|
+
backgroundOrigin?: csstype.Property.BackgroundOrigin | {
|
|
8277
|
+
readonly base?: csstype.Property.BackgroundOrigin | undefined;
|
|
8278
|
+
readonly xs?: csstype.Property.BackgroundOrigin | undefined;
|
|
8279
|
+
readonly s?: csstype.Property.BackgroundOrigin | undefined;
|
|
8280
|
+
readonly m?: csstype.Property.BackgroundOrigin | undefined;
|
|
8281
|
+
readonly l?: csstype.Property.BackgroundOrigin | undefined;
|
|
8282
|
+
readonly xl?: csstype.Property.BackgroundOrigin | undefined;
|
|
8283
|
+
} | undefined;
|
|
8284
|
+
backgroundRepeat?: csstype.Property.BackgroundRepeat | {
|
|
8285
|
+
readonly base?: csstype.Property.BackgroundRepeat | undefined;
|
|
8286
|
+
readonly xs?: csstype.Property.BackgroundRepeat | undefined;
|
|
8287
|
+
readonly s?: csstype.Property.BackgroundRepeat | undefined;
|
|
8288
|
+
readonly m?: csstype.Property.BackgroundRepeat | undefined;
|
|
8289
|
+
readonly l?: csstype.Property.BackgroundRepeat | undefined;
|
|
8290
|
+
readonly xl?: csstype.Property.BackgroundRepeat | undefined;
|
|
8291
|
+
} | undefined;
|
|
8292
|
+
backgroundSize?: csstype.Property.BackgroundSize<string | number> | {
|
|
8293
|
+
readonly base?: csstype.Property.BackgroundSize<string | number> | undefined;
|
|
8294
|
+
readonly xs?: csstype.Property.BackgroundSize<string | number> | undefined;
|
|
8295
|
+
readonly s?: csstype.Property.BackgroundSize<string | number> | undefined;
|
|
8296
|
+
readonly m?: csstype.Property.BackgroundSize<string | number> | undefined;
|
|
8297
|
+
readonly l?: csstype.Property.BackgroundSize<string | number> | undefined;
|
|
8298
|
+
readonly xl?: csstype.Property.BackgroundSize<string | number> | undefined;
|
|
8136
8299
|
} | undefined;
|
|
8137
|
-
lineHeight: SpacingValueType | {
|
|
8138
|
-
readonly base?: SpacingValueType | undefined;
|
|
8139
|
-
readonly xs?: SpacingValueType | undefined;
|
|
8140
|
-
readonly s?: SpacingValueType | undefined;
|
|
8141
|
-
readonly m?: SpacingValueType | undefined;
|
|
8142
|
-
readonly l?: SpacingValueType | undefined;
|
|
8143
|
-
readonly xl?: SpacingValueType | undefined;
|
|
8144
|
-
};
|
|
8145
|
-
backgroundColor: (string & Record<never, never>) | "feedback.background.neutral.lowContrast" | "feedback.background.neutral.highContrast" | "feedback.background.information.lowContrast" | "feedback.background.information.highContrast" | "feedback.background.negative.lowContrast" | "feedback.background.negative.highContrast" | "feedback.background.notice.lowContrast" | "feedback.background.notice.highContrast" | "feedback.background.positive.lowContrast" | "feedback.background.positive.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "action.background.primary.default" | "action.background.primary.disabled" | "action.background.primary.hover" | "action.background.primary.focus" | "action.background.primary.active" | "action.background.secondary.default" | "action.background.secondary.disabled" | "action.background.secondary.hover" | "action.background.secondary.focus" | "action.background.secondary.active" | "action.background.tertiary.default" | "action.background.tertiary.disabled" | "action.background.tertiary.hover" | "action.background.tertiary.focus" | "action.background.tertiary.active" | {
|
|
8146
|
-
readonly base?: (string & Record<never, never>) | "feedback.background.neutral.lowContrast" | "feedback.background.neutral.highContrast" | "feedback.background.information.lowContrast" | "feedback.background.information.highContrast" | "feedback.background.negative.lowContrast" | "feedback.background.negative.highContrast" | "feedback.background.notice.lowContrast" | "feedback.background.notice.highContrast" | "feedback.background.positive.lowContrast" | "feedback.background.positive.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "action.background.primary.default" | "action.background.primary.disabled" | "action.background.primary.hover" | "action.background.primary.focus" | "action.background.primary.active" | "action.background.secondary.default" | "action.background.secondary.disabled" | "action.background.secondary.hover" | "action.background.secondary.focus" | "action.background.secondary.active" | "action.background.tertiary.default" | "action.background.tertiary.disabled" | "action.background.tertiary.hover" | "action.background.tertiary.focus" | "action.background.tertiary.active" | undefined;
|
|
8147
|
-
readonly xs?: (string & Record<never, never>) | "feedback.background.neutral.lowContrast" | "feedback.background.neutral.highContrast" | "feedback.background.information.lowContrast" | "feedback.background.information.highContrast" | "feedback.background.negative.lowContrast" | "feedback.background.negative.highContrast" | "feedback.background.notice.lowContrast" | "feedback.background.notice.highContrast" | "feedback.background.positive.lowContrast" | "feedback.background.positive.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "action.background.primary.default" | "action.background.primary.disabled" | "action.background.primary.hover" | "action.background.primary.focus" | "action.background.primary.active" | "action.background.secondary.default" | "action.background.secondary.disabled" | "action.background.secondary.hover" | "action.background.secondary.focus" | "action.background.secondary.active" | "action.background.tertiary.default" | "action.background.tertiary.disabled" | "action.background.tertiary.hover" | "action.background.tertiary.focus" | "action.background.tertiary.active" | undefined;
|
|
8148
|
-
readonly s?: (string & Record<never, never>) | "feedback.background.neutral.lowContrast" | "feedback.background.neutral.highContrast" | "feedback.background.information.lowContrast" | "feedback.background.information.highContrast" | "feedback.background.negative.lowContrast" | "feedback.background.negative.highContrast" | "feedback.background.notice.lowContrast" | "feedback.background.notice.highContrast" | "feedback.background.positive.lowContrast" | "feedback.background.positive.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "action.background.primary.default" | "action.background.primary.disabled" | "action.background.primary.hover" | "action.background.primary.focus" | "action.background.primary.active" | "action.background.secondary.default" | "action.background.secondary.disabled" | "action.background.secondary.hover" | "action.background.secondary.focus" | "action.background.secondary.active" | "action.background.tertiary.default" | "action.background.tertiary.disabled" | "action.background.tertiary.hover" | "action.background.tertiary.focus" | "action.background.tertiary.active" | undefined;
|
|
8149
|
-
readonly m?: (string & Record<never, never>) | "feedback.background.neutral.lowContrast" | "feedback.background.neutral.highContrast" | "feedback.background.information.lowContrast" | "feedback.background.information.highContrast" | "feedback.background.negative.lowContrast" | "feedback.background.negative.highContrast" | "feedback.background.notice.lowContrast" | "feedback.background.notice.highContrast" | "feedback.background.positive.lowContrast" | "feedback.background.positive.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "action.background.primary.default" | "action.background.primary.disabled" | "action.background.primary.hover" | "action.background.primary.focus" | "action.background.primary.active" | "action.background.secondary.default" | "action.background.secondary.disabled" | "action.background.secondary.hover" | "action.background.secondary.focus" | "action.background.secondary.active" | "action.background.tertiary.default" | "action.background.tertiary.disabled" | "action.background.tertiary.hover" | "action.background.tertiary.focus" | "action.background.tertiary.active" | undefined;
|
|
8150
|
-
readonly l?: (string & Record<never, never>) | "feedback.background.neutral.lowContrast" | "feedback.background.neutral.highContrast" | "feedback.background.information.lowContrast" | "feedback.background.information.highContrast" | "feedback.background.negative.lowContrast" | "feedback.background.negative.highContrast" | "feedback.background.notice.lowContrast" | "feedback.background.notice.highContrast" | "feedback.background.positive.lowContrast" | "feedback.background.positive.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "action.background.primary.default" | "action.background.primary.disabled" | "action.background.primary.hover" | "action.background.primary.focus" | "action.background.primary.active" | "action.background.secondary.default" | "action.background.secondary.disabled" | "action.background.secondary.hover" | "action.background.secondary.focus" | "action.background.secondary.active" | "action.background.tertiary.default" | "action.background.tertiary.disabled" | "action.background.tertiary.hover" | "action.background.tertiary.focus" | "action.background.tertiary.active" | undefined;
|
|
8151
|
-
readonly xl?: (string & Record<never, never>) | "feedback.background.neutral.lowContrast" | "feedback.background.neutral.highContrast" | "feedback.background.information.lowContrast" | "feedback.background.information.highContrast" | "feedback.background.negative.lowContrast" | "feedback.background.negative.highContrast" | "feedback.background.notice.lowContrast" | "feedback.background.notice.highContrast" | "feedback.background.positive.lowContrast" | "feedback.background.positive.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "action.background.primary.default" | "action.background.primary.disabled" | "action.background.primary.hover" | "action.background.primary.focus" | "action.background.primary.active" | "action.background.secondary.default" | "action.background.secondary.disabled" | "action.background.secondary.hover" | "action.background.secondary.focus" | "action.background.secondary.active" | "action.background.tertiary.default" | "action.background.tertiary.disabled" | "action.background.tertiary.hover" | "action.background.tertiary.focus" | "action.background.tertiary.active" | undefined;
|
|
8152
|
-
};
|
|
8153
8300
|
borderBottomColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | {
|
|
8154
8301
|
readonly base?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
8155
8302
|
readonly xs?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
@@ -8246,6 +8393,78 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
8246
8393
|
readonly l?: "none" | "thin" | "thick" | undefined;
|
|
8247
8394
|
readonly xl?: "none" | "thin" | "thick" | undefined;
|
|
8248
8395
|
};
|
|
8396
|
+
backgroundPosition?: csstype.Property.BackgroundPosition<string | number> | {
|
|
8397
|
+
readonly base?: csstype.Property.BackgroundPosition<string | number> | undefined;
|
|
8398
|
+
readonly xs?: csstype.Property.BackgroundPosition<string | number> | undefined;
|
|
8399
|
+
readonly s?: csstype.Property.BackgroundPosition<string | number> | undefined;
|
|
8400
|
+
readonly m?: csstype.Property.BackgroundPosition<string | number> | undefined;
|
|
8401
|
+
readonly l?: csstype.Property.BackgroundPosition<string | number> | undefined;
|
|
8402
|
+
readonly xl?: csstype.Property.BackgroundPosition<string | number> | undefined;
|
|
8403
|
+
} | undefined;
|
|
8404
|
+
borderColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | {
|
|
8405
|
+
readonly base?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
8406
|
+
readonly xs?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
8407
|
+
readonly s?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
8408
|
+
readonly m?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
8409
|
+
readonly l?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
8410
|
+
readonly xl?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
8411
|
+
};
|
|
8412
|
+
borderRadius: "none" | "small" | "medium" | "large" | "max" | "round" | {
|
|
8413
|
+
readonly base?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
8414
|
+
readonly xs?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
8415
|
+
readonly s?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
8416
|
+
readonly m?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
8417
|
+
readonly l?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
8418
|
+
readonly xl?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
8419
|
+
};
|
|
8420
|
+
borderWidth: "none" | "thin" | "thick" | {
|
|
8421
|
+
readonly base?: "none" | "thin" | "thick" | undefined;
|
|
8422
|
+
readonly xs?: "none" | "thin" | "thick" | undefined;
|
|
8423
|
+
readonly s?: "none" | "thin" | "thick" | undefined;
|
|
8424
|
+
readonly m?: "none" | "thin" | "thick" | undefined;
|
|
8425
|
+
readonly l?: "none" | "thin" | "thick" | undefined;
|
|
8426
|
+
readonly xl?: "none" | "thin" | "thick" | undefined;
|
|
8427
|
+
};
|
|
8428
|
+
__brand__?: "platform-web" | {
|
|
8429
|
+
readonly base?: "platform-web" | undefined;
|
|
8430
|
+
readonly xs?: "platform-web" | undefined;
|
|
8431
|
+
readonly s?: "platform-web" | undefined;
|
|
8432
|
+
readonly m?: "platform-web" | undefined;
|
|
8433
|
+
readonly l?: "platform-web" | undefined;
|
|
8434
|
+
readonly xl?: "platform-web" | undefined;
|
|
8435
|
+
} | undefined;
|
|
8436
|
+
} & MakeObjectResponsive<{
|
|
8437
|
+
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";
|
|
8438
|
+
}, "backgroundColor"> & {
|
|
8439
|
+
as: "aside" | "div" | "footer" | "header" | "label" | "main" | "nav" | "section" | "span";
|
|
8440
|
+
} & {
|
|
8441
|
+
children?: React$1.ReactNode | React$1.ReactNode[];
|
|
8442
|
+
tabIndex?: number | undefined;
|
|
8443
|
+
} & TestID>, "backgroundColor" | "as"> & Partial<{
|
|
8444
|
+
border?: csstype.Property.Border<string | number> | {
|
|
8445
|
+
readonly base?: csstype.Property.Border<string | number> | undefined;
|
|
8446
|
+
readonly xs?: csstype.Property.Border<string | number> | undefined;
|
|
8447
|
+
readonly s?: csstype.Property.Border<string | number> | undefined;
|
|
8448
|
+
readonly m?: csstype.Property.Border<string | number> | undefined;
|
|
8449
|
+
readonly l?: csstype.Property.Border<string | number> | undefined;
|
|
8450
|
+
readonly xl?: csstype.Property.Border<string | number> | undefined;
|
|
8451
|
+
} | undefined;
|
|
8452
|
+
backgroundColor: (string & Record<never, never>) | "feedback.background.neutral.lowContrast" | "feedback.background.neutral.highContrast" | "feedback.background.information.lowContrast" | "feedback.background.information.highContrast" | "feedback.background.negative.lowContrast" | "feedback.background.negative.highContrast" | "feedback.background.notice.lowContrast" | "feedback.background.notice.highContrast" | "feedback.background.positive.lowContrast" | "feedback.background.positive.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "action.background.primary.default" | "action.background.primary.focus" | "action.background.primary.hover" | "action.background.primary.active" | "action.background.primary.disabled" | "action.background.secondary.default" | "action.background.secondary.focus" | "action.background.secondary.hover" | "action.background.secondary.active" | "action.background.secondary.disabled" | "action.background.tertiary.default" | "action.background.tertiary.focus" | "action.background.tertiary.hover" | "action.background.tertiary.active" | "action.background.tertiary.disabled" | {
|
|
8453
|
+
readonly base?: (string & Record<never, never>) | "feedback.background.neutral.lowContrast" | "feedback.background.neutral.highContrast" | "feedback.background.information.lowContrast" | "feedback.background.information.highContrast" | "feedback.background.negative.lowContrast" | "feedback.background.negative.highContrast" | "feedback.background.notice.lowContrast" | "feedback.background.notice.highContrast" | "feedback.background.positive.lowContrast" | "feedback.background.positive.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "action.background.primary.default" | "action.background.primary.focus" | "action.background.primary.hover" | "action.background.primary.active" | "action.background.primary.disabled" | "action.background.secondary.default" | "action.background.secondary.focus" | "action.background.secondary.hover" | "action.background.secondary.active" | "action.background.secondary.disabled" | "action.background.tertiary.default" | "action.background.tertiary.focus" | "action.background.tertiary.hover" | "action.background.tertiary.active" | "action.background.tertiary.disabled" | undefined;
|
|
8454
|
+
readonly xs?: (string & Record<never, never>) | "feedback.background.neutral.lowContrast" | "feedback.background.neutral.highContrast" | "feedback.background.information.lowContrast" | "feedback.background.information.highContrast" | "feedback.background.negative.lowContrast" | "feedback.background.negative.highContrast" | "feedback.background.notice.lowContrast" | "feedback.background.notice.highContrast" | "feedback.background.positive.lowContrast" | "feedback.background.positive.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "action.background.primary.default" | "action.background.primary.focus" | "action.background.primary.hover" | "action.background.primary.active" | "action.background.primary.disabled" | "action.background.secondary.default" | "action.background.secondary.focus" | "action.background.secondary.hover" | "action.background.secondary.active" | "action.background.secondary.disabled" | "action.background.tertiary.default" | "action.background.tertiary.focus" | "action.background.tertiary.hover" | "action.background.tertiary.active" | "action.background.tertiary.disabled" | undefined;
|
|
8455
|
+
readonly s?: (string & Record<never, never>) | "feedback.background.neutral.lowContrast" | "feedback.background.neutral.highContrast" | "feedback.background.information.lowContrast" | "feedback.background.information.highContrast" | "feedback.background.negative.lowContrast" | "feedback.background.negative.highContrast" | "feedback.background.notice.lowContrast" | "feedback.background.notice.highContrast" | "feedback.background.positive.lowContrast" | "feedback.background.positive.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "action.background.primary.default" | "action.background.primary.focus" | "action.background.primary.hover" | "action.background.primary.active" | "action.background.primary.disabled" | "action.background.secondary.default" | "action.background.secondary.focus" | "action.background.secondary.hover" | "action.background.secondary.active" | "action.background.secondary.disabled" | "action.background.tertiary.default" | "action.background.tertiary.focus" | "action.background.tertiary.hover" | "action.background.tertiary.active" | "action.background.tertiary.disabled" | undefined;
|
|
8456
|
+
readonly m?: (string & Record<never, never>) | "feedback.background.neutral.lowContrast" | "feedback.background.neutral.highContrast" | "feedback.background.information.lowContrast" | "feedback.background.information.highContrast" | "feedback.background.negative.lowContrast" | "feedback.background.negative.highContrast" | "feedback.background.notice.lowContrast" | "feedback.background.notice.highContrast" | "feedback.background.positive.lowContrast" | "feedback.background.positive.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "action.background.primary.default" | "action.background.primary.focus" | "action.background.primary.hover" | "action.background.primary.active" | "action.background.primary.disabled" | "action.background.secondary.default" | "action.background.secondary.focus" | "action.background.secondary.hover" | "action.background.secondary.active" | "action.background.secondary.disabled" | "action.background.tertiary.default" | "action.background.tertiary.focus" | "action.background.tertiary.hover" | "action.background.tertiary.active" | "action.background.tertiary.disabled" | undefined;
|
|
8457
|
+
readonly l?: (string & Record<never, never>) | "feedback.background.neutral.lowContrast" | "feedback.background.neutral.highContrast" | "feedback.background.information.lowContrast" | "feedback.background.information.highContrast" | "feedback.background.negative.lowContrast" | "feedback.background.negative.highContrast" | "feedback.background.notice.lowContrast" | "feedback.background.notice.highContrast" | "feedback.background.positive.lowContrast" | "feedback.background.positive.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "action.background.primary.default" | "action.background.primary.focus" | "action.background.primary.hover" | "action.background.primary.active" | "action.background.primary.disabled" | "action.background.secondary.default" | "action.background.secondary.focus" | "action.background.secondary.hover" | "action.background.secondary.active" | "action.background.secondary.disabled" | "action.background.tertiary.default" | "action.background.tertiary.focus" | "action.background.tertiary.hover" | "action.background.tertiary.active" | "action.background.tertiary.disabled" | undefined;
|
|
8458
|
+
readonly xl?: (string & Record<never, never>) | "feedback.background.neutral.lowContrast" | "feedback.background.neutral.highContrast" | "feedback.background.information.lowContrast" | "feedback.background.information.highContrast" | "feedback.background.negative.lowContrast" | "feedback.background.negative.highContrast" | "feedback.background.notice.lowContrast" | "feedback.background.notice.highContrast" | "feedback.background.positive.lowContrast" | "feedback.background.positive.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "action.background.primary.default" | "action.background.primary.focus" | "action.background.primary.hover" | "action.background.primary.active" | "action.background.primary.disabled" | "action.background.secondary.default" | "action.background.secondary.focus" | "action.background.secondary.hover" | "action.background.secondary.active" | "action.background.secondary.disabled" | "action.background.tertiary.default" | "action.background.tertiary.focus" | "action.background.tertiary.hover" | "action.background.tertiary.active" | "action.background.tertiary.disabled" | undefined;
|
|
8459
|
+
};
|
|
8460
|
+
lineHeight: SpacingValueType | {
|
|
8461
|
+
readonly base?: SpacingValueType | undefined;
|
|
8462
|
+
readonly xs?: SpacingValueType | undefined;
|
|
8463
|
+
readonly s?: SpacingValueType | undefined;
|
|
8464
|
+
readonly m?: SpacingValueType | undefined;
|
|
8465
|
+
readonly l?: SpacingValueType | undefined;
|
|
8466
|
+
readonly xl?: SpacingValueType | undefined;
|
|
8467
|
+
};
|
|
8249
8468
|
opacity?: csstype.Property.Opacity | {
|
|
8250
8469
|
readonly base?: csstype.Property.Opacity | undefined;
|
|
8251
8470
|
readonly xs?: csstype.Property.Opacity | undefined;
|
|
@@ -8286,14 +8505,6 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
8286
8505
|
readonly l?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
8287
8506
|
readonly xl?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
8288
8507
|
} | undefined;
|
|
8289
|
-
borderColor: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | {
|
|
8290
|
-
readonly base?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
8291
|
-
readonly xs?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
8292
|
-
readonly s?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
8293
|
-
readonly m?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
8294
|
-
readonly l?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
8295
|
-
readonly xl?: "surface.border.normal.lowContrast" | "surface.border.normal.highContrast" | "surface.border.subtle.lowContrast" | "surface.border.subtle.highContrast" | undefined;
|
|
8296
|
-
};
|
|
8297
8508
|
borderLeft?: csstype.Property.BorderLeft<string | number> | {
|
|
8298
8509
|
readonly base?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
8299
8510
|
readonly xs?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
@@ -8302,14 +8513,6 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
8302
8513
|
readonly l?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
8303
8514
|
readonly xl?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
8304
8515
|
} | undefined;
|
|
8305
|
-
borderRadius: "none" | "small" | "medium" | "large" | "max" | "round" | {
|
|
8306
|
-
readonly base?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
8307
|
-
readonly xs?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
8308
|
-
readonly s?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
8309
|
-
readonly m?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
8310
|
-
readonly l?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
8311
|
-
readonly xl?: "none" | "small" | "medium" | "large" | "max" | "round" | undefined;
|
|
8312
|
-
};
|
|
8313
8516
|
borderRight?: csstype.Property.BorderRight<string | number> | {
|
|
8314
8517
|
readonly base?: csstype.Property.BorderRight<string | number> | undefined;
|
|
8315
8518
|
readonly xs?: csstype.Property.BorderRight<string | number> | undefined;
|
|
@@ -8326,14 +8529,6 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
8326
8529
|
readonly l?: csstype.Property.BorderTop<string | number> | undefined;
|
|
8327
8530
|
readonly xl?: csstype.Property.BorderTop<string | number> | undefined;
|
|
8328
8531
|
} | undefined;
|
|
8329
|
-
borderWidth: "none" | "thin" | "thick" | {
|
|
8330
|
-
readonly base?: "none" | "thin" | "thick" | undefined;
|
|
8331
|
-
readonly xs?: "none" | "thin" | "thick" | undefined;
|
|
8332
|
-
readonly s?: "none" | "thin" | "thick" | undefined;
|
|
8333
|
-
readonly m?: "none" | "thin" | "thick" | undefined;
|
|
8334
|
-
readonly l?: "none" | "thin" | "thick" | undefined;
|
|
8335
|
-
readonly xl?: "none" | "thin" | "thick" | undefined;
|
|
8336
|
-
};
|
|
8337
8532
|
__brand__?: "platform-web" | {
|
|
8338
8533
|
readonly base?: "platform-web" | undefined;
|
|
8339
8534
|
readonly xs?: "platform-web" | undefined;
|