@selfdecode/sd-component-library 2.45.19 → 2.45.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/animations/up-down-arrow/up-down-arrow.d.ts +1 -0
- package/lib/components/bicolor-badge/interfaces.d.ts +1 -0
- package/lib/components/boxes/index.d.ts +5 -0
- package/lib/components/breadcrumbs/breadcrumb/breadcrumb.d.ts +1 -1
- package/lib/components/checkboxes/checkbox/checkbox.d.ts +1 -0
- package/lib/components/complex/footer/partials/footer-link/footer-link.d.ts +1 -0
- package/lib/components/complex/footer/partials/footer-section/footer-section.d.ts +1 -0
- package/lib/components/complex/footer/partials/footer-social/footer-social.d.ts +1 -0
- package/lib/components/complex/footer/presentational/footer-presentational.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/menu-row.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/new-apps.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/menu-box/menu-box.d.ts +1 -0
- package/lib/components/complex/navbar/presentational/interfaces.d.ts +1 -1
- package/lib/components/complex/navbar/presentational/navbar-presentational.d.ts +1 -0
- package/lib/components/complex/updated-navbar/constants.d.ts +2 -1
- package/lib/components/containers/flex-center/flex-center.d.ts +1 -1
- package/lib/components/containers/grid-containers/grid-container-v2/grid-container-v2.d.ts +1 -1
- package/lib/components/containers/grid-containers/index.d.ts +7 -0
- package/lib/components/containers/index.d.ts +6 -0
- package/lib/components/containers/layout-independend-max-width-container/index.d.ts +1 -0
- package/lib/components/containers/layout-independend-max-width-container/interfaces.d.ts +3 -0
- package/lib/components/containers/layout-independend-max-width-container/layout-independent-max-width-container.d.ts +3 -0
- package/lib/components/containers/max-width-container/max-width-container.d.ts +3 -2
- package/lib/components/containers/max-width-container-v2/max-width-container-v2.d.ts +1 -2
- package/lib/components/containers/section-container/section-container.d.ts +1 -0
- package/lib/components/feature-explanation/feature-explanation.d.ts +1 -0
- package/lib/components/inputs/input/interfaces.d.ts +2 -1
- package/lib/components/inputs/multi-row-secondary-text-input/interfaces.d.ts +2 -0
- package/lib/components/inputs/primary-text-input/interfaces.d.ts +1 -1
- package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-results-box/search-autocomplete-results-box.d.ts +1 -0
- package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-row/search-autocomplete-row.d.ts +1 -0
- package/lib/components/inputs/search-autocomplete-input/search-autocomplete-input.d.ts +1 -0
- package/lib/components/inputs/search-input/partials/search-box/search-box.d.ts +1 -0
- package/lib/components/inputs/text-input/interfaces.d.ts +1 -1
- package/lib/components/labels/base-label/base-label.d.ts +1 -0
- package/lib/components/radio-button/radio-button.d.ts +1 -0
- package/lib/components/ratings/five-stars-rating/five-stars-rating.d.ts +1 -0
- package/lib/components/selectors/compact-primary-selector/compact-primary-selector.d.ts +1 -0
- package/lib/components/selectors/custom-scrollable-selector/custom-scrollable-selector.d.ts +1 -0
- package/lib/components/selectors/custom-scrollable-selector/partials/custom-scrollable-options-box/custom-scrollable-options-box.d.ts +1 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/custom-scrollable-options-box/custom-scrollable-options-box.d.ts +1 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/option-row/option-row.d.ts +1 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/primary-custom-scrollable-selector.d.ts +1 -0
- package/lib/components/selectors/primary-selector/primary-selector.d.ts +1 -0
- package/lib/components/selectors/secondary-custom-selector/partials/secondary-custom-selector-options-box/secondary-custom-selector-options-box.d.ts +1 -0
- package/lib/components/selectors/secondary-custom-selector/secondary-custom-selector.d.ts +1 -0
- package/lib/components/selectors/secondary-selector/secondary-selector.d.ts +1 -0
- package/lib/components/selectors/selector/selector.d.ts +1 -0
- package/lib/components/selectors/selector-v2/partials/base-selector-v2/base-selector-v2.d.ts +1 -0
- package/lib/components/selectors/selector-v2/selector-v2.d.ts +1 -0
- package/lib/components/selectors/tertiary-selector/tertiary-selector.d.ts +1 -0
- package/lib/components/slider/partials/step-circles/step-circles.d.ts +1 -0
- package/lib/components/slider/slider.d.ts +1 -0
- package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +1 -0
- package/lib/components/tabs/tab-bar/tab-bar.d.ts +1 -0
- package/lib/components/tabs/tabbed-view/tabbed-view.d.ts +1 -0
- package/lib/components/tabs/tabs-menu/tabs-menu.d.ts +1 -0
- package/lib/components/texts/base-text/base-text.d.ts +1 -0
- package/lib/components/texts/eighteen-bold/eighteen-bold.d.ts +1 -0
- package/lib/components/texts/eighteen-regular/eighteen-regular.d.ts +1 -0
- package/lib/components/texts/fifty-five-sb/fifty-five-sb.d.ts +1 -0
- package/lib/components/texts/fourteen-regular/fourteen-regular.d.ts +1 -0
- package/lib/components/texts/fourteen-sb/fourteen-sb.d.ts +1 -0
- package/lib/components/texts/fourty-bold/fourty-bold.d.ts +1 -0
- package/lib/components/texts/no-translate/no-translate.d.ts +1 -0
- package/lib/components/texts/sixteen-regular/sixteen-regular.d.ts +1 -0
- package/lib/components/texts/ten-sb/ten-sb.d.ts +1 -0
- package/lib/components/texts/thirteen-bold/thirteen-bold.d.ts +1 -0
- package/lib/components/texts/thirteen-regular/thirteen-regular.d.ts +1 -0
- package/lib/components/texts/thirteen-sb/thirteen-sb.d.ts +1 -0
- package/lib/components/texts/thirty-two-bold/thirty-two-bold.d.ts +1 -0
- package/lib/components/texts/thirty-two-regular/thirty-two-regular.d.ts +1 -0
- package/lib/components/texts/twelve-regular/twelve-regular.d.ts +1 -0
- package/lib/components/texts/twelve-sb/twelve-sb.d.ts +1 -0
- package/lib/components/texts/twenty-four-bold/twenty-four-bold.d.ts +1 -0
- package/lib/components/texts/twenty-four-regular/twenty-four-regular.d.ts +1 -0
- package/lib/components/utils/scroll-to-top/scroll-to-top.d.ts +1 -0
- package/lib/components/utils/scroll-to-top-on-mount/scroll-to-top-on-mount.d.ts +1 -0
- package/lib/core/custom-hooks.d.ts +8 -0
- package/lib/core/routes.d.ts +4 -0
- package/lib/index.d.ts +3 -19
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/lib/components/containers/responsive-containers/responsive-container-t1/index.d.ts +0 -1
- package/lib/components/containers/responsive-containers/responsive-container-t1/interfaces.d.ts +0 -2
- package/lib/components/containers/responsive-containers/responsive-container-t1/responsive-grid-container-t1.d.ts +0 -9
- package/lib/components/containers/responsive-containers/responsive-container-t2/index.d.ts +0 -1
- package/lib/components/containers/responsive-containers/responsive-container-t2/interfaces.d.ts +0 -2
- package/lib/components/containers/responsive-containers/responsive-container-t2/responsive-grid-container-t2.d.ts +0 -9
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { DesktopHiddenBox } from "./desktop-hidden-box";
|
|
2
|
+
export { MobileHiddenBox } from "./mobile-hidden-box";
|
|
3
|
+
export { NoTranslateBox } from "./no-translate-box";
|
|
4
|
+
export { OutsideClickBox } from "./outside-click-box";
|
|
5
|
+
export { ScrollOnHoverBox } from "./scroll-on-hover-box";
|
|
@@ -82,7 +82,7 @@ export declare type NavbarProps = {
|
|
|
82
82
|
* What to do when the logout button has been pressed.
|
|
83
83
|
*
|
|
84
84
|
* Default value: () => {
|
|
85
|
-
* window.location.href = "/account/logout";
|
|
85
|
+
* window.location.href = "/service/account/logout";
|
|
86
86
|
* }
|
|
87
87
|
*/
|
|
88
88
|
onLogout?: () => void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { Routes } from "../../../core/routes";
|
|
2
3
|
export declare const professionalToolsItem: {
|
|
3
4
|
title: string;
|
|
4
5
|
items: {
|
|
@@ -37,7 +38,7 @@ export declare const getMyAccountItem: (isProfessional?: boolean, isLegacy?: boo
|
|
|
37
38
|
isInternal?: undefined;
|
|
38
39
|
} | {
|
|
39
40
|
title: string;
|
|
40
|
-
url:
|
|
41
|
+
url: Routes;
|
|
41
42
|
isInternal: boolean;
|
|
42
43
|
})[];
|
|
43
44
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { FlexProps } from "rebass";
|
|
3
|
-
export declare const FlexCenter: React.ForwardRefExoticComponent<Pick<FlexProps, "flex" | "cite" | "data" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "width" | "
|
|
3
|
+
export declare const FlexCenter: React.ForwardRefExoticComponent<Pick<FlexProps, "flex" | "cite" | "data" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "width" | "backgroundColor" | "px" | "py" | "m" | "mt" | "mr" | "mb" | "ml" | "onChange" | "hidden" | "sizes" | "content" | "variant" | "tx" | "as" | "css" | "key" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "mx" | "marginX" | "my" | "marginY" | "padding" | "pt" | "paddingTop" | "pr" | "paddingRight" | "pb" | "paddingBottom" | "pl" | "paddingLeft" | "paddingX" | "paddingY" | "height" | "minWidth" | "minHeight" | "maxWidth" | "maxHeight" | "display" | "verticalAlign" | "size" | "overflow" | "overflowX" | "overflowY" | "fontSize" | "color" | "bg" | "opacity" | "order" | "alignSelf" | "sx" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "alignContent" | "alignItems" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { GridContainerV2Props as Props } from "./interfaces";
|
|
3
|
-
export declare const GridContainerV2: React.ForwardRefExoticComponent<Pick<Props, "flex" | "cite" | "data" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "width" | "
|
|
3
|
+
export declare const GridContainerV2: React.ForwardRefExoticComponent<Pick<Props, "flex" | "cite" | "data" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "width" | "backgroundColor" | "px" | "py" | "m" | "mt" | "mr" | "mb" | "ml" | "onChange" | "hidden" | "sizes" | "content" | "variant" | "tx" | "as" | "css" | "key" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "mx" | "marginX" | "my" | "marginY" | "padding" | "pt" | "paddingTop" | "pr" | "paddingRight" | "pb" | "paddingBottom" | "pl" | "paddingLeft" | "paddingX" | "paddingY" | "height" | "minWidth" | "minHeight" | "maxWidth" | "maxHeight" | "verticalAlign" | "size" | "overflow" | "overflowX" | "overflowY" | "fontSize" | "color" | "bg" | "opacity" | "order" | "alignSelf" | "sx" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "alignContent" | "alignItems" | "flexDirection" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "gap"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { BaseGridContainer } from "./base-grid-container";
|
|
2
|
+
export type { BaseGridContainerProps } from "./base-grid-container";
|
|
3
|
+
export { FrFrContainer } from "./fr-fr-container";
|
|
4
|
+
export { FrMaxContainer } from "./fr-max-container";
|
|
5
|
+
export { GridContainerV2 as Grid } from "./grid-container-v2";
|
|
6
|
+
export { MaxFrContainer } from "./max-fr-container";
|
|
7
|
+
export { MaxMaxContainer } from "./max-max-container";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { FlexCenter } from "./flex-center";
|
|
2
|
+
export * from "./grid-containers";
|
|
3
|
+
export { LayoutIndependentMaxWidthContainer } from "./layout-independend-max-width-container";
|
|
4
|
+
export { MaxWidthContainer } from "./max-width-container";
|
|
5
|
+
export { MaxWidthContainerV2 as MaxWidth } from "./max-width-container-v2";
|
|
6
|
+
export { SectionContainer } from "./section-container";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LayoutIndependentMaxWidthContainer } from "./layout-independent-max-width-container";
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { MaxWidthContainerProps as Props } from "./interfaces";
|
|
3
|
+
export declare const MaxWidthContainer: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
3
|
-
export declare const MaxWidthContainerV2: React.FC<Props>;
|
|
2
|
+
export declare const MaxWidthContainerV2: React.ForwardRefExoticComponent<import("../max-width-container/interfaces").MaxWidthContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { InputProps as RebassInputProps } from "@rebass/forms";
|
|
1
2
|
import { SxProps } from "rebass";
|
|
2
3
|
import { BaseComponentProps } from "../../interfaces";
|
|
3
|
-
export declare type InputProps = BaseComponentProps & {
|
|
4
|
+
export declare type InputProps = BaseComponentProps & Pick<RebassInputProps, "maxLength"> & {
|
|
4
5
|
/**
|
|
5
6
|
* The callback to run when the input element changes.
|
|
6
7
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TextInputProps } from "../text-input";
|
|
2
|
-
export declare type PrimaryTextInputProps = Pick<TextInputProps, "onChange" | "value" | "type" | "placeholder" | "onKeyPress" | "focusInput" | "padding" | "textAlign" | "width" | "m" | "mt" | "mr" | "mb" | "ml" | "onFocus" | "autoFocus" | "errorBackground" | "sx" | "id" | "disabled"> & {
|
|
2
|
+
export declare type PrimaryTextInputProps = Pick<TextInputProps, "onChange" | "value" | "type" | "placeholder" | "onKeyPress" | "focusInput" | "padding" | "textAlign" | "width" | "m" | "mt" | "mr" | "mb" | "ml" | "onFocus" | "autoFocus" | "errorBackground" | "sx" | "id" | "disabled" | "maxLength"> & {
|
|
3
3
|
/**
|
|
4
4
|
* Optional error message
|
|
5
5
|
*/
|
|
@@ -7,4 +7,4 @@ export declare type TextInputProps = {
|
|
|
7
7
|
* The label for the text input
|
|
8
8
|
*/
|
|
9
9
|
label?: string;
|
|
10
|
-
} & Pick<InputProps, "onChange" | "variant" | "placeholder" | "onKeyPress" | "focusInput" | "value" | "type" | "padding" | "textAlign" | "width" | "m" | "mt" | "mr" | "mb" | "ml" | "inputMode" | "onFocus" | "disabled" | "autoFocus" | "errorBackground" | "sx" | "id">;
|
|
10
|
+
} & Pick<InputProps, "onChange" | "variant" | "placeholder" | "onKeyPress" | "focusInput" | "value" | "type" | "padding" | "textAlign" | "width" | "m" | "mt" | "mr" | "mb" | "ml" | "inputMode" | "onFocus" | "disabled" | "autoFocus" | "errorBackground" | "sx" | "id" | "maxLength">;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CompactPrimarySelectorProps as Props } from "./interfaces";
|
|
2
3
|
export declare const CompactPrimarySelector: <T extends string = string>(props: Pick<import("../selector").SelectorProps<T>, "width" | "m" | "mt" | "mr" | "mb" | "ml" | "onChange" | "name" | "defaultValue" | "textTransform" | "selectorLabel" | "options" | "disabledTextValue" | "hideDefaultOnSelect" | "labelMargin" | "translateSelect">) => JSX.Element;
|
|
@@ -73,3 +73,11 @@ export declare function useElementCoordinates<T extends Element = HTMLElement>()
|
|
|
73
73
|
x: number;
|
|
74
74
|
y: number;
|
|
75
75
|
};
|
|
76
|
+
export declare function useBoundingClientRect<T extends Element = HTMLElement>(settings?: {
|
|
77
|
+
listenForResize?: boolean;
|
|
78
|
+
debounceDelay?: number;
|
|
79
|
+
checkEachRender?: boolean;
|
|
80
|
+
}): {
|
|
81
|
+
ref: RefObject<T>;
|
|
82
|
+
rect: DOMRect | undefined;
|
|
83
|
+
};
|