@stokr/components-library 4.2.1 → 4.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/components/Button/Button.styles.d.ts +5 -1
  2. package/dist/components/CardTabs/CardTabs.styles.d.ts +34 -9
  3. package/dist/components/Checkbox/Checkbox.d.ts +3 -1
  4. package/dist/components/Checkbox/Checkbox.styles.d.ts +17 -4
  5. package/dist/components/Collapsible/Collapsible.styles.d.ts +18 -6
  6. package/dist/components/CopyToClipboardTooltip/CopyToClipboardTooltip.styles.d.ts +3 -1
  7. package/dist/components/InfoIcon/InfoIcon.styles.d.ts +8 -2
  8. package/dist/components/Input/Input.styles.d.ts +9 -3
  9. package/dist/components/Lottie/LottieAnimation.d.ts +43 -0
  10. package/dist/components/Lottie/LottieAnimation.js +0 -12
  11. package/dist/components/Lottie/LottieAnimation.styles.d.ts +5 -0
  12. package/dist/components/Lottie/LottieAnimation.styles.js +3 -2
  13. package/dist/components/MaterialIcon/MaterialIcon.styles.d.ts +25 -5
  14. package/dist/components/Modal/Modal.js +19 -24
  15. package/dist/components/Modal/Modal.styles.d.ts +49 -15
  16. package/dist/components/Modal/Modal.styles.js +4 -3
  17. package/dist/components/Modal/SideModal.js +7 -71
  18. package/dist/components/Modal/SideModal.styles.d.ts +12 -4
  19. package/dist/components/Modal/SideModalParts.d.ts +6 -2
  20. package/dist/components/Modal/SuccessModal/SuccessModal.d.ts +42 -0
  21. package/dist/components/Modal/SuccessModal/SuccessModal.js +50 -38
  22. package/dist/components/Modal/bodyScrollLock.d.ts +6 -0
  23. package/dist/components/Modal/bodyScrollLock.js +80 -0
  24. package/dist/components/Modal/lockPageScroll.d.ts +8 -0
  25. package/dist/components/Modal/lockPageScroll.js +62 -0
  26. package/dist/components/Section/Section.styles.d.ts +35 -7
  27. package/dist/components/Skeleton/Skeleton.styles.d.ts +9 -3
  28. package/dist/components/StokrLoader/StokrLoader.d.ts +3 -1
  29. package/dist/components/Text/Text.styles.d.ts +6 -2
  30. package/dist/components/Tooltip/Tooltip.styles.d.ts +6 -2
  31. package/dist/index.d.ts +14 -5
  32. package/dist/styles/rwd.d.ts +3 -1
  33. package/dist/utils/customHooks.d.ts +11 -4
  34. package/dist/utils/customHooks.js +14 -22
  35. package/package.json +13 -3
@@ -24,5 +24,9 @@ export interface ButtonProps {
24
24
  marginTop?: string;
25
25
  marginRight?: string;
26
26
  }
27
- export declare const Button: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, ButtonProps>, ButtonProps>> & string;
27
+ export declare const Button: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('styled-components/dist/types').Merged<import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
28
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
29
+ }, ButtonProps>, ButtonProps>, "black" | "center" | "hidden" | "color" | "content" | "size" | "style" | "disabled" | "form" | "slot" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "marginTop" | "fluid" | "name" | "type" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "minWidth" | "withMarginBottom" | "secondary" | "onlyText" | "negative" | "outline" | "outlineBlack" | "marginRight"> & Partial<Pick<import('styled-components/dist/types').Merged<import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
30
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
31
+ }, ButtonProps>, ButtonProps>, "black" | "center" | "hidden" | "color" | "content" | "size" | "style" | "disabled" | "form" | "slot" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "marginTop" | "fluid" | "name" | "type" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "minWidth" | "withMarginBottom" | "secondary" | "onlyText" | "negative" | "outline" | "outlineBlack" | "marginRight">>> & string;
28
32
  export default Button;
@@ -9,21 +9,27 @@ interface HighlightProps {
9
9
  * The surface behind the active tab, sliding to it. Equal-width tabs let CSS place it from
10
10
  * the index alone, so it is exact on the server render too; the list needs `position: relative`.
11
11
  */
12
- export declare const TabHighlightBase: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, HighlightProps>> & string;
12
+ export declare const TabHighlightBase: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
13
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
14
+ }, HighlightProps>> & string;
13
15
  /** Tab label colour eases with the highlight. */
14
16
  export declare const tabColorTransition: import('styled-components').RuleSet<object>;
15
17
  /**
16
18
  * New tab content fades in from a blur. Key it by the active tab so it replays on each
17
19
  * switch; `$animate` is off until the first switch, so the page does not fade in on load.
18
20
  */
19
- export declare const TabContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
21
+ export declare const TabContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
22
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
23
+ }, {
20
24
  $animate: boolean;
21
25
  }>> & string;
22
26
  /**
23
27
  * The row's bottom rule shows under every tab but the active one: the sliding white highlight
24
28
  * covers it. `$fit`: tabs hug their labels, left-aligned, the rest of the row grey.
25
29
  */
26
- export declare const TabList: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
30
+ export declare const TabList: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
31
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
32
+ }, {
27
33
  $fit?: boolean;
28
34
  $scrollMarginTop?: string;
29
35
  }>> & string;
@@ -32,11 +38,24 @@ export declare const TabList: import('styled-components/dist/types').IStyledComp
32
38
  * edge drawn exactly on the rule lets a hairline of it through (the moving highlight is its own
33
39
  * layer, with anti-aliased edges).
34
40
  */
35
- export declare const TabHighlight: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof HighlightProps> & HighlightProps, never>> & string;
41
+ export declare const TabHighlight: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('styled-components').FastOmit<import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
42
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
43
+ }, HighlightProps>, "as" | "forwardedAs"> & {
44
+ as?: import('styled-components').WebTarget;
45
+ forwardedAs?: import('styled-components').WebTarget;
46
+ }, "style"> & {
47
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars | (import('react').CSSProperties & {
48
+ [key: `--${string}`]: string | number;
49
+ });
50
+ }> & string;
36
51
  /** `$fit` tabs differ in width, so the highlight is placed from the measured active tab. */
37
- export declare const FitHighlight: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
52
+ export declare const FitHighlight: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
53
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
54
+ }> & string;
38
55
  /** `$filled`: the active `$fit` tab paints its own surface until the highlight is measured. */
39
- export declare const Tab: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
56
+ export declare const Tab: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
57
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
58
+ }, {
40
59
  $active: boolean;
41
60
  $fit?: boolean;
42
61
  $stretch?: boolean;
@@ -46,11 +65,17 @@ export declare const Tab: import('styled-components/dist/types').IStyledComponen
46
65
  * Never shrinks: in a row that overflows (fit tabs on mobile), it would squeeze to 0.
47
66
  * `$edge`: the closing divider of stretched tabs, which below desktop would sit on the card's edge.
48
67
  */
49
- export declare const TabDivider: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
68
+ export declare const TabDivider: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
69
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
70
+ }, {
50
71
  $edge?: boolean;
51
72
  }>> & string;
52
73
  /** A card whose header is the tab bar . */
53
- export declare const TabCard: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
74
+ export declare const TabCard: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
75
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
76
+ }> & string;
54
77
  /** The tab panel's content area: 24px, 16px on mobile (Figma 3582:127370). */
55
- export declare const TabCardBody: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
78
+ export declare const TabCardBody: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
79
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
80
+ }> & string;
56
81
  export {};
@@ -1,5 +1,7 @@
1
1
  import { CSSProperties, InputHTMLAttributes, ReactNode } from 'react';
2
- export declare const CheckBoxCaption: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const CheckBoxCaption: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
3
+ style?: CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
4
+ }> & string;
3
5
  export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'value' | 'defaultChecked'> {
4
6
  id: string;
5
7
  text?: ReactNode;
@@ -1,13 +1,26 @@
1
- export declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
1
+ export declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
2
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
3
+ }, {
2
4
  $marginTop?: boolean;
3
5
  }>> & string;
4
- export declare const Label: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "active" | "autoHeightLabel" | "isUp" | "error"> & {
6
+ export declare const Label: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('styled-components').FastOmit<import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "style"> & {
7
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
8
+ }, {
5
9
  autoHeightLabel?: boolean;
6
10
  isUp?: boolean;
7
11
  active?: boolean;
8
12
  error?: boolean;
9
- }, never>> & string;
10
- export declare const Input: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
13
+ }>, "as" | "forwardedAs"> & {
14
+ as?: import('styled-components').WebTarget;
15
+ forwardedAs?: import('styled-components').WebTarget;
16
+ }, "style"> & {
17
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars | (import('react').CSSProperties & {
18
+ [key: `--${string}`]: string | number;
19
+ });
20
+ }> & string;
21
+ export declare const Input: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
22
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
23
+ }, {
11
24
  $error?: boolean;
12
25
  $large?: boolean;
13
26
  $disabled?: boolean;
@@ -1,18 +1,30 @@
1
1
  /** Collapsed, it lifts under the pointer as a collapsed section does. */
2
- export declare const Root: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
2
+ export declare const Root: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
3
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
4
+ }, {
3
5
  $open: boolean;
4
6
  }>> & string;
5
- export declare const Header: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
7
+ export declare const Header: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
8
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
9
+ }, {
6
10
  $divided: boolean;
7
11
  }>> & string;
8
- export declare const Chevron: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
12
+ export declare const Chevron: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
13
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
14
+ }, {
9
15
  $open: boolean;
10
16
  }>> & string;
11
17
  /** Animates height without measuring: grid rows transition between 0fr and 1fr. */
12
- export declare const Body: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
18
+ export declare const Body: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
19
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
20
+ }, {
13
21
  $open: boolean;
14
22
  }>> & string;
15
- export declare const BodyClip: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
16
- export declare const BodyInner: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
23
+ export declare const BodyClip: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
24
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
25
+ }> & string;
26
+ export declare const BodyInner: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
27
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
28
+ }, {
17
29
  $divided: boolean;
18
30
  }>> & string;
@@ -3,4 +3,6 @@
3
3
  * forward refs, and floating-ui needs a real DOM node to measure — so the
4
4
  * tooltip anchors to this span rather than to the icon itself.
5
5
  */
6
- export declare const CopyTrigger: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
6
+ export declare const CopyTrigger: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
7
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
8
+ }> & string;
@@ -4,9 +4,15 @@ type ContainerProps = {
4
4
  noMarginRight?: boolean;
5
5
  fullWidth?: boolean;
6
6
  };
7
- export declare const Container: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ContainerProps>> & string;
7
+ export declare const Container: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
9
+ }, ContainerProps>> & string;
8
10
  type IconProps = {
9
11
  outline?: boolean;
10
12
  };
11
- export declare const Icon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>, IconProps>, IconProps>> & string;
13
+ export declare const Icon: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('styled-components/dist/types').Merged<import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
14
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
15
+ }, IconProps>, IconProps>, "hidden" | "color" | "content" | "style" | "slot" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "outline"> & Partial<Pick<import('styled-components/dist/types').Merged<import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
16
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
17
+ }, IconProps>, IconProps>, "hidden" | "color" | "content" | "style" | "slot" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "outline">>> & string;
12
18
  export {};
@@ -1,15 +1,21 @@
1
- export declare const Label: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {
1
+ export declare const Label: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "style"> & {
2
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
3
+ }, {
2
4
  autoHeightLabel?: boolean;
3
5
  isUp?: boolean;
4
6
  active?: boolean;
5
7
  error?: boolean;
6
8
  }>> & string;
7
- export declare const InputWrap: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
9
+ export declare const InputWrap: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
10
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
11
+ }, {
8
12
  autoHeightLabel?: boolean;
9
13
  disabled?: boolean;
10
14
  dashboard?: boolean;
11
15
  error?: boolean;
12
16
  }>> & string;
13
- export declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
17
+ export declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
18
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
19
+ }, {
14
20
  inverted?: boolean;
15
21
  }>> & string;
@@ -0,0 +1,43 @@
1
+ import { CSSProperties } from 'react';
2
+ export type LottieVariant = 'progress' | 'upload' | 'success';
3
+ /** Frame range `[start, end]`. */
4
+ export type LottieSegment = [number, number];
5
+ /** Named animations bundled with the library — pass `src` to play a custom one instead. */
6
+ export declare const LOTTIE_ANIMATIONS: Record<LottieVariant, {
7
+ src: string;
8
+ segment: LottieSegment | null;
9
+ loop: boolean;
10
+ }>;
11
+ export interface LottieAnimationProps {
12
+ /** Bundled animation to play. */
13
+ variant?: LottieVariant;
14
+ /** A custom `.lottie` URL, played instead of the `variant` one. */
15
+ src?: string;
16
+ /** Defaults to the variant's own setting. */
17
+ loop?: boolean;
18
+ autoplay?: boolean;
19
+ /** Frames to play; a non-looping animation then holds the last one. */
20
+ segment?: LottieSegment;
21
+ speed?: number;
22
+ /** A number is px; a string any CSS length. */
23
+ size?: number | string;
24
+ style?: CSSProperties;
25
+ className?: string;
26
+ }
27
+ /**
28
+ * Bare, embeddable Lottie player — no modal chrome, just the animation.
29
+ * SuccessModal uses this internally for its full-screen variant; use it
30
+ * directly to play the same bundled animations inline anywhere else
31
+ * (e.g. a waiting-for-payment indicator next to a payment card).
32
+ *
33
+ * Hold-at-end: when a `segment` is set, the animation plays once and freezes
34
+ * on the segment's end frame. This is deliberate and defensive — the bundled
35
+ * dotlottie-web build ignores `loop: false` for segmented playback (it keeps
36
+ * replaying) and its `complete`/`frame` events don't fire reliably, so we time
37
+ * the freeze off the animation's own `duration` and pin the final frame. The
38
+ * success checkmark, for instance, draws in and then STAYS instead of
39
+ * flickering back to an empty first frame. Segment-less variants (spinners)
40
+ * are intentionally left running.
41
+ */
42
+ export declare const LottieAnimation: ({ variant, src, loop, autoplay, segment, speed, size, style, className, }: LottieAnimationProps) => import("react/jsx-runtime").JSX.Element;
43
+ export default LottieAnimation;
@@ -1,6 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useRef, useCallback, useEffect } from "react";
3
- import PropTypes from "prop-types";
4
3
  import { DotLottieReact } from "@lottiefiles/dotlottie-react";
5
4
  import { AnimationWrapper } from "./LottieAnimation.styles.js";
6
5
  import progressAnimation from "../../static/animations/progress.lottie.js";
@@ -93,17 +92,6 @@ const LottieAnimation = ({
93
92
  }
94
93
  ) });
95
94
  };
96
- LottieAnimation.propTypes = {
97
- variant: PropTypes.oneOf(Object.keys(LOTTIE_ANIMATIONS)),
98
- src: PropTypes.string,
99
- loop: PropTypes.bool,
100
- autoplay: PropTypes.bool,
101
- segment: PropTypes.arrayOf(PropTypes.number),
102
- speed: PropTypes.number,
103
- size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
104
- style: PropTypes.object,
105
- className: PropTypes.string
106
- };
107
95
  export {
108
96
  LOTTIE_ANIMATIONS,
109
97
  LottieAnimation
@@ -0,0 +1,5 @@
1
+ export declare const AnimationWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
2
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
3
+ }, {
4
+ $size: number | string;
5
+ }>> & string;
@@ -1,7 +1,8 @@
1
1
  import styled from "styled-components";
2
+ const toCss = (size) => typeof size === "number" ? `${size}px` : size;
2
3
  const AnimationWrapper = styled.div`
3
- width: ${(props) => typeof props.$size === "number" ? `${props.$size}px` : props.$size};
4
- height: ${(props) => typeof props.$size === "number" ? `${props.$size}px` : props.$size};
4
+ width: ${(props) => toCss(props.$size)};
5
+ height: ${(props) => toCss(props.$size)};
5
6
  display: flex;
6
7
  align-items: center;
7
8
  justify-content: center;
@@ -1,14 +1,34 @@
1
- export declare const IconBox: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
1
+ export declare const IconBox: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
2
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
3
+ }, {
2
4
  $size: string;
3
5
  $color?: string;
4
6
  }>> & string;
5
7
  /** A registered Material Symbol drawn inline; the files have no fill, so it takes the text colour. */
6
- export declare const InlineIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "$size" | "$color"> & {
8
+ export declare const InlineIcon: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('styled-components').FastOmit<import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
9
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
10
+ }, {
7
11
  $size: string;
8
12
  $color?: string;
9
- }, never>> & string;
13
+ }>, "as" | "forwardedAs"> & {
14
+ as?: import('styled-components').WebTarget;
15
+ forwardedAs?: import('styled-components').WebTarget;
16
+ }, "style"> & {
17
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars | (import('react').CSSProperties & {
18
+ [key: `--${string}`]: string | number;
19
+ });
20
+ }> & string;
10
21
  /** Paints the SVG at `--icon-url` in the text colour, so any colour works without touching the file. */
11
- export declare const MaskedIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "$size" | "$color"> & {
22
+ export declare const MaskedIcon: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('styled-components').FastOmit<import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
23
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
24
+ }, {
12
25
  $size: string;
13
26
  $color?: string;
14
- }, never>> & string;
27
+ }>, "as" | "forwardedAs"> & {
28
+ as?: import('styled-components').WebTarget;
29
+ forwardedAs?: import('styled-components').WebTarget;
30
+ }, "style"> & {
31
+ style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars | (import('react').CSSProperties & {
32
+ [key: `--${string}`]: string | number;
33
+ });
34
+ }> & string;
@@ -1,9 +1,11 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { Portal } from "react-portal";
3
- import { useState, useEffect } from "react";
3
+ import { OutlinedClose } from "./OutlinedClose.js";
4
+ import { lockPageScroll } from "./lockPageScroll.js";
5
+ import { lockBodyScroll } from "./bodyScrollLock.js";
6
+ import { useState, useRef, useEffect } from "react";
4
7
  import { ModalRoot, Dimmer, Box, ModalClose } from "./Modal.styles.js";
5
8
  import { ModalBack, ModalInner, ModalInnerSmartContractAddress, ModalInnerWithBorder, ModalLink, ModalLinkWrap, ModalScroll } from "./Modal.styles.js";
6
- import { OutlinedClose } from "./OutlinedClose.js";
7
9
  const timeout = 300;
8
10
  const Modal = ({
9
11
  children,
@@ -23,6 +25,7 @@ const Modal = ({
23
25
  }) => {
24
26
  const [isVisible, setIsVisible] = useState(false);
25
27
  const [shouldRender, setShouldRender] = useState(false);
28
+ const dimmerRef = useRef(null);
26
29
  useEffect(() => {
27
30
  if (isOpen) {
28
31
  setShouldRender(true);
@@ -35,28 +38,20 @@ const Modal = ({
35
38
  }
36
39
  }, [isOpen]);
37
40
  useEffect(() => {
38
- if (isOpen) {
39
- const scrollY = window.scrollY;
40
- const bodyWidth = document.body.offsetWidth;
41
- const scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;
42
- document.documentElement.style.setProperty("--scrollbar-compensation", `${scrollbarWidth}px`);
43
- document.body.style.width = `${bodyWidth}px`;
44
- document.body.style.position = "fixed";
45
- document.body.style.top = `-${scrollY}px`;
46
- document.body.style.left = "0";
47
- document.body.style.overflow = "hidden";
48
- }
41
+ if (!isOpen) return;
42
+ const unlockPage = lockPageScroll();
43
+ let unlockBody;
44
+ let dimmer = null;
45
+ const timer = setTimeout(() => {
46
+ dimmer = dimmerRef.current;
47
+ if (dimmer) dimmer.style.paddingRight = `${window.innerWidth - document.documentElement.clientWidth}px`;
48
+ unlockBody = lockBodyScroll();
49
+ }, timeout);
49
50
  return () => {
50
- if (isOpen) {
51
- const scrollY = Math.abs(parseInt(document.body.style.top || "0", 10));
52
- document.documentElement.style.setProperty("--scrollbar-compensation", "0px");
53
- document.body.style.width = "";
54
- document.body.style.position = "";
55
- document.body.style.top = "";
56
- document.body.style.left = "";
57
- document.body.style.overflow = "";
58
- window.scrollTo(0, scrollY);
59
- }
51
+ clearTimeout(timer);
52
+ unlockPage();
53
+ if (dimmer) dimmer.style.paddingRight = "";
54
+ unlockBody?.();
60
55
  };
61
56
  }, [isOpen]);
62
57
  if (!shouldRender) return null;
@@ -68,7 +63,7 @@ const Modal = ({
68
63
  opacity: isVisible ? 1 : 0,
69
64
  transition: `opacity ${timeout}ms ease-in-out`
70
65
  },
71
- children: /* @__PURE__ */ jsx(Dimmer, { background, kyc, children: /* @__PURE__ */ jsxs(
66
+ children: /* @__PURE__ */ jsx(Dimmer, { ref: dimmerRef, background, kyc, children: /* @__PURE__ */ jsxs(
72
67
  Box,
73
68
  {
74
69
  kyc,