@commonsku/styles 1.13.5 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2617 -0
- package/dist/index.es.js +3338 -4413
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3407 -4444
- package/dist/index.js.map +1 -1
- package/dist/styles/Accordion.d.ts.map +1 -1
- package/dist/styles/Artwork.d.ts +1 -1
- package/dist/styles/Artwork.d.ts.map +1 -1
- package/dist/styles/Avatar.d.ts +62 -2
- package/dist/styles/Avatar.d.ts.map +1 -1
- package/dist/styles/Box.d.ts +3 -2
- package/dist/styles/Box.d.ts.map +1 -1
- package/dist/styles/Button.d.ts +58 -5
- package/dist/styles/Button.d.ts.map +1 -1
- package/dist/styles/Datepicker.d.ts +12 -13
- package/dist/styles/Datepicker.d.ts.map +1 -1
- package/dist/styles/DropArea.d.ts +3 -2
- package/dist/styles/DropArea.d.ts.map +1 -1
- package/dist/styles/Dropdown.d.ts +18 -13
- package/dist/styles/Dropdown.d.ts.map +1 -1
- package/dist/styles/ErrorBoundary.d.ts +2 -2
- package/dist/styles/ErrorBoundary.d.ts.map +1 -1
- package/dist/styles/Feed.d.ts.map +1 -1
- package/dist/styles/FlexboxGrid.d.ts +10 -2
- package/dist/styles/FlexboxGrid.d.ts.map +1 -1
- package/dist/styles/HeadlessTable.d.ts.map +1 -1
- package/dist/styles/IconShowcase.d.ts +25 -0
- package/dist/styles/IconShowcase.d.ts.map +1 -0
- package/dist/styles/Img.d.ts +7 -0
- package/dist/styles/Img.d.ts.map +1 -1
- package/dist/styles/Input.d.ts +34 -35
- package/dist/styles/Input.d.ts.map +1 -1
- package/dist/styles/MultiProgress.d.ts +5 -2
- package/dist/styles/MultiProgress.d.ts.map +1 -1
- package/dist/styles/Product.d.ts.map +1 -1
- package/dist/styles/Select.d.ts +27 -39
- package/dist/styles/Select.d.ts.map +1 -1
- package/dist/styles/SharedStyles.d.ts +0 -1
- package/dist/styles/SharedStyles.d.ts.map +1 -1
- package/dist/styles/SidePanel.d.ts.map +1 -1
- package/dist/styles/Sizer.d.ts +18 -14
- package/dist/styles/Sizer.d.ts.map +1 -1
- package/dist/styles/Spinner.d.ts.map +1 -1
- package/dist/styles/StateDropdown.d.ts +18 -22
- package/dist/styles/StateDropdown.d.ts.map +1 -1
- package/dist/styles/Table.d.ts +4 -4
- package/dist/styles/Table.d.ts.map +1 -1
- package/dist/styles/Tabs.d.ts +8 -7
- package/dist/styles/Tabs.d.ts.map +1 -1
- package/dist/styles/Task.d.ts +10 -3
- package/dist/styles/Task.d.ts.map +1 -1
- package/dist/styles/Text.d.ts +17 -14
- package/dist/styles/Text.d.ts.map +1 -1
- package/dist/styles/Textarea.d.ts +11 -12
- package/dist/styles/Textarea.d.ts.map +1 -1
- package/dist/styles/Theme.d.ts +520 -49
- package/dist/styles/Theme.d.ts.map +1 -1
- package/dist/styles/Thermometer.d.ts +10 -0
- package/dist/styles/Thermometer.d.ts.map +1 -0
- package/dist/styles/Toggle.d.ts +4 -2
- package/dist/styles/Toggle.d.ts.map +1 -1
- package/dist/styles/calendar/Calendar.d.ts.map +1 -1
- package/dist/styles/calendar/CalendarDayBody.d.ts +1 -1
- package/dist/styles/calendar/CalendarDayBody.d.ts.map +1 -1
- package/dist/styles/calendar/DaysHeaderWrapper.d.ts +9 -1
- package/dist/styles/calendar/DaysHeaderWrapper.d.ts.map +1 -1
- package/dist/styles/calendar/DefaultCalendarHeader.d.ts.map +1 -1
- package/dist/styles/calendar/DraggableCalendarFooterTasks.d.ts.map +1 -1
- package/dist/styles/calendar/DraggableTasksCalendar.d.ts +7 -4
- package/dist/styles/calendar/DraggableTasksCalendar.d.ts.map +1 -1
- package/dist/styles/calendar/DroppableFooter.d.ts.map +1 -1
- package/dist/styles/calendar/HeaderWrapper.d.ts +9 -1
- package/dist/styles/calendar/HeaderWrapper.d.ts.map +1 -1
- package/dist/styles/calendar/StyledDayText.d.ts +2 -1
- package/dist/styles/calendar/StyledDayText.d.ts.map +1 -1
- package/dist/styles/calendar/TasksCalendar.d.ts +7 -3
- package/dist/styles/calendar/TasksCalendar.d.ts.map +1 -1
- package/dist/styles/calendar/TasksCalendarFooter.d.ts.map +1 -1
- package/dist/styles/calendar/TasksCalendarHeader.d.ts +9 -3
- package/dist/styles/calendar/TasksCalendarHeader.d.ts.map +1 -1
- package/dist/styles/calendar/styles.d.ts +8 -14
- package/dist/styles/calendar/styles.d.ts.map +1 -1
- package/dist/styles/calendar/types.d.ts +8 -0
- package/dist/styles/calendar/types.d.ts.map +1 -1
- package/dist/styles/colors.d.ts +495 -0
- package/dist/styles/colors.d.ts.map +1 -0
- package/dist/styles/datepickerStyles.d.ts +3 -0
- package/dist/styles/datepickerStyles.d.ts.map +1 -0
- package/dist/styles/globalStyles.d.ts +5 -1
- package/dist/styles/globalStyles.d.ts.map +1 -1
- package/dist/styles/hooks/useCalendar.d.ts +4 -0
- package/dist/styles/hooks/useCalendar.d.ts.map +1 -1
- package/dist/styles/icons/AddIcon.d.ts +6 -0
- package/dist/styles/icons/AddIcon.d.ts.map +1 -0
- package/dist/styles/icons/ArrowIcon.d.ts +9 -0
- package/dist/styles/icons/ArrowIcon.d.ts.map +1 -0
- package/dist/styles/icons/BotIcon.d.ts +6 -0
- package/dist/styles/icons/BotIcon.d.ts.map +1 -0
- package/dist/styles/icons/BulletIcon.d.ts +8 -0
- package/dist/styles/icons/BulletIcon.d.ts.map +1 -0
- package/dist/styles/icons/Calendar2Icon.d.ts +9 -0
- package/dist/styles/icons/Calendar2Icon.d.ts.map +1 -0
- package/dist/styles/icons/CalendarIcon.d.ts +7 -7
- package/dist/styles/icons/CalendarIcon.d.ts.map +1 -1
- package/dist/styles/icons/CheckboxIcon.d.ts +8 -0
- package/dist/styles/icons/CheckboxIcon.d.ts.map +1 -0
- package/dist/styles/icons/CheckmarkIcon.d.ts +8 -0
- package/dist/styles/icons/CheckmarkIcon.d.ts.map +1 -0
- package/dist/styles/icons/CheckmarkOnlyIcon.d.ts +6 -0
- package/dist/styles/icons/CheckmarkOnlyIcon.d.ts.map +1 -0
- package/dist/styles/icons/ChevronIcon.d.ts +9 -0
- package/dist/styles/icons/ChevronIcon.d.ts.map +1 -0
- package/dist/styles/icons/ClipboardIcon.d.ts +6 -0
- package/dist/styles/icons/ClipboardIcon.d.ts.map +1 -0
- package/dist/styles/icons/ClockIcon.d.ts +6 -0
- package/dist/styles/icons/ClockIcon.d.ts.map +1 -0
- package/dist/styles/icons/CrossIcon.d.ts +6 -0
- package/dist/styles/icons/CrossIcon.d.ts.map +1 -0
- package/dist/styles/icons/DollarIcon.d.ts +6 -0
- package/dist/styles/icons/DollarIcon.d.ts.map +1 -0
- package/dist/styles/icons/DownloadIcon.d.ts +1 -1
- package/dist/styles/icons/ErrorIcon.d.ts +8 -0
- package/dist/styles/icons/ErrorIcon.d.ts.map +1 -0
- package/dist/styles/icons/EstimateCircleIcon.d.ts +10 -0
- package/dist/styles/icons/EstimateCircleIcon.d.ts.map +1 -0
- package/dist/styles/icons/FilledChevronIcon.d.ts +9 -0
- package/dist/styles/icons/FilledChevronIcon.d.ts.map +1 -0
- package/dist/styles/icons/FolderIcon.d.ts +6 -0
- package/dist/styles/icons/FolderIcon.d.ts.map +1 -0
- package/dist/styles/icons/GalleryIcon.d.ts +6 -0
- package/dist/styles/icons/GalleryIcon.d.ts.map +1 -0
- package/dist/styles/icons/GearIcon.d.ts +7 -9
- package/dist/styles/icons/GearIcon.d.ts.map +1 -1
- package/dist/styles/icons/LeftArrowIcon.d.ts +8 -0
- package/dist/styles/icons/LeftArrowIcon.d.ts.map +1 -0
- package/dist/styles/icons/ListIcon.d.ts +6 -0
- package/dist/styles/icons/ListIcon.d.ts.map +1 -0
- package/dist/styles/icons/Loading.d.ts +1 -0
- package/dist/styles/icons/Loading.d.ts.map +1 -1
- package/dist/styles/icons/MarketingStatusIcon.d.ts +8 -0
- package/dist/styles/icons/MarketingStatusIcon.d.ts.map +1 -0
- package/dist/styles/icons/NavManagementIcon.d.ts.map +1 -1
- package/dist/styles/icons/OpportunityCircleIcon.d.ts +10 -0
- package/dist/styles/icons/OpportunityCircleIcon.d.ts.map +1 -0
- package/dist/styles/icons/PresentationCircleIcon.d.ts +10 -0
- package/dist/styles/icons/PresentationCircleIcon.d.ts.map +1 -0
- package/dist/styles/icons/PromostandardsIcon.d.ts +8 -0
- package/dist/styles/icons/PromostandardsIcon.d.ts.map +1 -0
- package/dist/styles/icons/RadioIcon.d.ts +8 -0
- package/dist/styles/icons/RadioIcon.d.ts.map +1 -0
- package/dist/styles/icons/ReceiptLongIcon.d.ts +8 -0
- package/dist/styles/icons/ReceiptLongIcon.d.ts.map +1 -0
- package/dist/styles/icons/RightArrowIcon.d.ts +8 -0
- package/dist/styles/icons/RightArrowIcon.d.ts.map +1 -0
- package/dist/styles/icons/SalesDownArrowIcon.d.ts +8 -0
- package/dist/styles/icons/SalesDownArrowIcon.d.ts.map +1 -0
- package/dist/styles/icons/SalesOrderCircleIcon.d.ts +10 -0
- package/dist/styles/icons/SalesOrderCircleIcon.d.ts.map +1 -0
- package/dist/styles/icons/SalesUpArrowIcon.d.ts +8 -0
- package/dist/styles/icons/SalesUpArrowIcon.d.ts.map +1 -0
- package/dist/styles/icons/SearchIcon.d.ts +6 -0
- package/dist/styles/icons/SearchIcon.d.ts.map +1 -0
- package/dist/styles/icons/SubtractIcon.d.ts +6 -0
- package/dist/styles/icons/SubtractIcon.d.ts.map +1 -0
- package/dist/styles/icons/SvgIcon.d.ts +45 -0
- package/dist/styles/icons/SvgIcon.d.ts.map +1 -0
- package/dist/styles/icons/TilesIcon.d.ts +8 -0
- package/dist/styles/icons/TilesIcon.d.ts.map +1 -0
- package/dist/styles/icons/UserIcon.d.ts +6 -0
- package/dist/styles/icons/UserIcon.d.ts.map +1 -0
- package/dist/styles/icons/UsersIcon.d.ts +6 -0
- package/dist/styles/icons/UsersIcon.d.ts.map +1 -0
- package/dist/styles/icons/index.d.ts +38 -7
- package/dist/styles/icons/index.d.ts.map +1 -1
- package/dist/styles/index.d.ts +2 -0
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/tables/SimpleWindowedTable.d.ts +22 -3
- package/dist/styles/tables/SimpleWindowedTable.d.ts.map +1 -1
- package/dist/styles/tables/scrollbarWidth.d.ts.map +1 -1
- package/dist/styles/tables/types.d.ts +6 -1
- package/dist/styles/tables/types.d.ts.map +1 -1
- package/dist/utils/sizes.d.ts +2 -1
- package/dist/utils/sizes.d.ts.map +1 -1
- package/package.json +6 -2
- package/dist/styles/icons/DownArrowIcon.d.ts +0 -10
- package/dist/styles/icons/DownArrowIcon.d.ts.map +0 -1
- package/dist/styles/icons/NextPrevIcon.d.ts +0 -11
- package/dist/styles/icons/NextPrevIcon.d.ts.map +0 -1
- package/dist/styles/icons/UpArrowIcon.d.ts +0 -10
- package/dist/styles/icons/UpArrowIcon.d.ts.map +0 -1
- package/dist/styles/icons/UpDownArrowsIcon.d.ts +0 -10
- package/dist/styles/icons/UpDownArrowsIcon.d.ts.map +0 -1
- package/dist/styles/icons/WarningIcon.d.ts +0 -7
- package/dist/styles/icons/WarningIcon.d.ts.map +0 -1
package/dist/styles/Input.d.ts
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import React, { CSSProperties } from 'react';
|
|
2
|
-
import { StyledComponentProps } from 'styled-components';
|
|
3
2
|
import { SharedStyleTypes } from './SharedStyles';
|
|
4
|
-
|
|
3
|
+
declare type CommonInputProp = {
|
|
5
4
|
noMargin?: boolean;
|
|
6
5
|
error?: boolean;
|
|
7
|
-
isPercent?: boolean;
|
|
8
6
|
};
|
|
9
|
-
|
|
7
|
+
declare type BaseInputProps = CommonInputProp & {
|
|
8
|
+
hasIcon?: boolean;
|
|
9
|
+
} & SharedStyleTypes;
|
|
10
|
+
export declare type InputProps = BaseInputProps & React.InputHTMLAttributes<HTMLInputElement>;
|
|
11
|
+
export declare const InputIconLabel: import("styled-components").StyledComponent<"div", any, CommonInputProp & {
|
|
12
|
+
isActive?: boolean | undefined;
|
|
13
|
+
isDisabled?: boolean | undefined;
|
|
14
|
+
isHover?: boolean | undefined;
|
|
15
|
+
iconPosition?: "left" | "right" | undefined;
|
|
16
|
+
}, never>;
|
|
10
17
|
export declare const InputIconLabelContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
-
export declare const Input: import("styled-components").StyledComponent<"input", any,
|
|
12
|
-
|
|
13
|
-
}, "ref" | "form" | "slot" | "style" | "title" | "pattern" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "name" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step"> & Partial<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "form" | "slot" | "style" | "title" | "pattern" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "name" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step"> & {
|
|
14
|
-
ref?: ((instance: HTMLInputElement | null) => void) | React.RefObject<HTMLInputElement> | null | undefined;
|
|
15
|
-
}, never>>, "ref" | "form" | "slot" | "style" | "title" | "pattern" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "name" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step"> & {
|
|
16
|
-
theme?: any;
|
|
17
|
-
} & {
|
|
18
|
-
noMargin?: boolean | undefined;
|
|
19
|
-
error?: boolean | undefined;
|
|
20
|
-
isPercent?: boolean | undefined;
|
|
18
|
+
export declare const Input: import("styled-components").StyledComponent<"input", any, CommonInputProp & {
|
|
19
|
+
hasIcon?: boolean | undefined;
|
|
21
20
|
} & SharedStyleTypes, never>;
|
|
22
|
-
declare
|
|
21
|
+
export declare const LabeledInput: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & CommonInputProp & {
|
|
22
|
+
hasIcon?: boolean | undefined;
|
|
23
|
+
} & SharedStyleTypes & {
|
|
23
24
|
label: string;
|
|
24
|
-
name?: string;
|
|
25
|
-
|
|
26
|
-
} &
|
|
27
|
-
export declare const
|
|
25
|
+
name?: string | undefined;
|
|
26
|
+
labelOnTop?: boolean | undefined;
|
|
27
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
28
|
+
export declare const LabeledIconInput: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & CommonInputProp & {
|
|
29
|
+
hasIcon?: boolean | undefined;
|
|
30
|
+
} & SharedStyleTypes & {
|
|
31
|
+
label?: string | undefined;
|
|
32
|
+
name?: string | undefined;
|
|
33
|
+
labelOnTop?: boolean | undefined;
|
|
34
|
+
Icon: React.ReactElement;
|
|
35
|
+
iconPosition?: "left" | "right" | undefined;
|
|
36
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
28
37
|
export declare const RadioLabel: import("styled-components").StyledComponent<"label", any, {
|
|
29
38
|
disabled?: boolean | undefined;
|
|
30
39
|
}, never>;
|
|
31
|
-
declare type
|
|
40
|
+
declare type BaseRadioProps = {
|
|
32
41
|
isHovering?: boolean;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} & {
|
|
37
|
-
isHovering?: boolean | undefined;
|
|
38
|
-
}, "ref" | "form" | "slot" | "style" | "title" | "pattern" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "name" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "isHovering"> & Partial<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "form" | "slot" | "style" | "title" | "pattern" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "name" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step"> & {
|
|
39
|
-
ref?: ((instance: HTMLInputElement | null) => void) | React.RefObject<HTMLInputElement> | null | undefined;
|
|
40
|
-
} & {
|
|
41
|
-
isHovering?: boolean | undefined;
|
|
42
|
-
}, never>>, "ref" | "form" | "slot" | "style" | "title" | "pattern" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "name" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "isHovering"> & {
|
|
43
|
-
theme?: any;
|
|
44
|
-
}, never>;
|
|
42
|
+
};
|
|
43
|
+
declare type RadioProps = React.InputHTMLAttributes<HTMLInputElement> & BaseRadioProps;
|
|
44
|
+
export declare const Radio: import("styled-components").StyledComponent<"input", any, BaseRadioProps, never>;
|
|
45
45
|
export declare const CheckMark: import("styled-components").StyledComponent<"span", any, {
|
|
46
46
|
checked?: boolean | undefined;
|
|
47
47
|
isHovering?: boolean | undefined;
|
|
@@ -65,7 +65,6 @@ export declare const LabeledRadioGroup: React.FC<RadioProps & {
|
|
|
65
65
|
export declare type LabeledCheckboxProps = {
|
|
66
66
|
checked?: boolean;
|
|
67
67
|
disabled?: boolean;
|
|
68
|
-
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
69
68
|
label: string | React.ReactNode;
|
|
70
69
|
name?: string;
|
|
71
70
|
checkboxStyle?: CSSProperties;
|
|
@@ -74,7 +73,7 @@ export declare type LabeledCheckboxProps = {
|
|
|
74
73
|
hoverByLabel?: boolean;
|
|
75
74
|
stopPropagation?: boolean;
|
|
76
75
|
[key: string]: any;
|
|
77
|
-
}
|
|
78
|
-
export declare const LabeledCheckbox: React.ForwardRefExoticComponent<
|
|
76
|
+
} & React.InputHTMLAttributes<HTMLInputElement>;
|
|
77
|
+
export declare const LabeledCheckbox: React.ForwardRefExoticComponent<LabeledCheckboxProps>;
|
|
79
78
|
export {};
|
|
80
79
|
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAoB,aAAa,
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAoB,aAAa,EAAa,MAAM,OAAO,CAAA;AAGzE,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIhE,aAAK,eAAe,GAAG;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAC,OAAO,CAAC;CAChB,CAAC;AAEF,aAAK,cAAc,GAAG,eAAe,GACjC;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;CAAE,GACtB,gBAAgB,CAAC;AACrB,oBAAY,UAAU,GAAG,cAAc,GACnC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAShD,eAAO,MAAM,cAAc;;;;;SAkC1B,CAAA;AAED,eAAO,MAAM,uBAAuB,oEAsBnC,CAAA;AAED,eAAO,MAAM,KAAK;;4BAwEjB,CAAC;AASF,eAAO,MAAM,YAAY;;;WALhB,MAAM;;;0CAsBZ,CAAC;AAUJ,eAAO,MAAM,gBAAgB;;;;;;UAJrB,MAAM,YAAY;;0CAwJzB,CAAC;AAEF,eAAO,MAAM,UAAU;;SAuBtB,CAAC;AAEF,aAAK,cAAc,GAAG;IAAC,UAAU,CAAC,EAAE,OAAO,CAAA;CAAC,CAAC;AAC7C,aAAK,UAAU,GAAG,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,GAAG,cAAc,CAAC;AAC/E,eAAO,MAAM,KAAK,kFAmBjB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;4BAkCrB,CAAA;AAED,eAAO,MAAM,GAAG;;;;4BAgCf,CAAC;AAUF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,GAAG;IAAC,KAAK,EAAE,MAAM,CAAA;CAAC,CAqB/D,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,GAAG;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,GAAG,CAAA;KAAC,CAAC,CAAA;CAAC,CAU1G,CAAA;AAED,oBAAY,oBAAoB,GAAG;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,GAAC,KAAK,CAAC,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,GAAG,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAChD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,yBAAyB,CAAC,oBAAoB,CAoC9E,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare type ProgressBarsProps = React.PropsWithChildren<{
|
|
|
13
13
|
error?: string;
|
|
14
14
|
title?: string;
|
|
15
15
|
} & SharedStyleTypes>;
|
|
16
|
-
declare const MultiProgress: ({ labeled, error,
|
|
16
|
+
declare const MultiProgress: ({ labeled, error, values, max: maxVal, ...props }: {
|
|
17
17
|
values: ProgressBarValue[];
|
|
18
18
|
max: number;
|
|
19
19
|
color?: string | undefined;
|
|
@@ -23,7 +23,10 @@ declare const MultiProgress: ({ labeled, error, title, values, max: maxVal, ...p
|
|
|
23
23
|
children?: React.ReactNode;
|
|
24
24
|
} & {
|
|
25
25
|
labeled?: boolean | undefined;
|
|
26
|
+
style?: React.CSSProperties | undefined;
|
|
27
|
+
}) => JSX.Element;
|
|
28
|
+
declare const LabeledMultiProgress: ({ title, ...props }: ProgressBarsProps & {
|
|
29
|
+
style?: React.CSSProperties;
|
|
26
30
|
}) => JSX.Element;
|
|
27
|
-
declare const LabeledMultiProgress: (props: ProgressBarsProps) => JSX.Element;
|
|
28
31
|
export { MultiProgress, LabeledMultiProgress };
|
|
29
32
|
//# sourceMappingURL=MultiProgress.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiProgress.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/MultiProgress.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MultiProgress.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/MultiProgress.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgC,MAAM,OAAO,CAAA;AACpD,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAgB/D,aAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,KAAK,MAAM,GAAG,MAAM,CAAC;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AACF,aAAK,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAC/C,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,gBAAgB,CAAC,CAAC;AAuDtB,QAAA,MAAM,aAAa;YA5DT,gBAAgB,EAAE;SACrB,MAAM;;;;;;;;;iBA8FZ,CAAA;AAED,QAAA,MAAM,oBAAoB,wBAGvB,iBAAiB,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,aAAa,CAAA;CAAE,gBAcrD,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Product.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Product.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAmE/D,eAAO,MAAM,OAAO,UAAW;IAAC,GAAG,EAAC,MAAM,CAAC;IAAC,OAAO,EAAC,MAAM,CAAC;IAAC,QAAQ,EAAC,MAAM,CAAC;IAAC,
|
|
1
|
+
{"version":3,"file":"Product.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Product.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAmE/D,eAAO,MAAM,OAAO,UAAW;IAAC,GAAG,EAAC,MAAM,CAAC;IAAC,OAAO,EAAC,MAAM,CAAC;IAAC,QAAQ,EAAC,MAAM,CAAC;IAAC,MAAK,MAAM,CAAC;IAAC,KAAK,CAAC,EAAC,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAC,MAAM,CAAC;IAAC,MAAM,CAAC,EAAC,MAAM,CAAA;CAAC,GAAG,gBAAgB,gBAU5J,CAAA"}
|
package/dist/styles/Select.d.ts
CHANGED
|
@@ -1,50 +1,38 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import BaseSelect, { Props as SelectProps, components, createFilter, mergeStyles } from 'react-select';
|
|
3
|
-
import { Props as CreatableSelectProps, makeCreatableSelect } from 'react-select/creatable';
|
|
4
|
-
import { Props as AsyncSelectProps } from 'react-select/async';
|
|
3
|
+
import BaseCreatableSelect, { Props as CreatableSelectProps, makeCreatableSelect } from 'react-select/creatable';
|
|
4
|
+
import BaseAsyncSelect, { Props as AsyncSelectProps } from 'react-select/async';
|
|
5
5
|
declare type AdditionalSKUSelectProps = {
|
|
6
6
|
noMargin?: boolean;
|
|
7
7
|
error?: boolean;
|
|
8
8
|
menuRelative?: boolean;
|
|
9
9
|
inPopup?: boolean;
|
|
10
10
|
};
|
|
11
|
-
declare type
|
|
12
|
-
declare const SKUSelect: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Pick<SKUSelectProps, string | number> & React.RefAttributes<BaseSelect<{
|
|
13
|
-
label: string;
|
|
14
|
-
value: string;
|
|
15
|
-
}, import("react-select/src/Select").default<{
|
|
16
|
-
label: string;
|
|
17
|
-
value: string;
|
|
18
|
-
}>>>>, any, {}, never>;
|
|
19
|
-
declare const LabeledSelect: ({ parentStyle, ...props }: AdditionalSKUSelectProps & SelectProps<{
|
|
20
|
-
label: string;
|
|
21
|
-
value: string;
|
|
22
|
-
}> & {
|
|
23
|
-
parentStyle?: object | undefined;
|
|
24
|
-
}) => JSX.Element;
|
|
25
|
-
declare const SKUCreatableSelect: ({ noMargin, menuRelative, inPopup, ...props }: AdditionalSKUSelectProps & SelectProps<{
|
|
26
|
-
[key: string]: any;
|
|
27
|
-
}> & import("react-select/creatable").CreatableProps<{
|
|
28
|
-
[key: string]: any;
|
|
29
|
-
}>) => JSX.Element;
|
|
30
|
-
declare const LabeledCreatableSelect: ({ parentStyle, ...props }: AdditionalSKUSelectProps & SelectProps<{
|
|
31
|
-
[key: string]: any;
|
|
32
|
-
}> & import("react-select/creatable").CreatableProps<{
|
|
33
|
-
[key: string]: any;
|
|
34
|
-
}> & {
|
|
35
|
-
parentStyle?: object | undefined;
|
|
36
|
-
}) => JSX.Element;
|
|
37
|
-
declare const SKUAsyncSelect: ({ noMargin, menuRelative, inPopup, ...props }: AdditionalSKUSelectProps & SelectProps<{
|
|
38
|
-
[key: string]: any;
|
|
39
|
-
}> & import("react-select/async").AsyncProps<{
|
|
40
|
-
[key: string]: any;
|
|
41
|
-
}>) => JSX.Element;
|
|
42
|
-
declare const LabeledAsyncSelect: ({ parentStyle, ...props }: AdditionalSKUSelectProps & SelectProps<{
|
|
11
|
+
declare type GenericObject = {
|
|
43
12
|
[key: string]: any;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
13
|
+
};
|
|
14
|
+
declare type SKUSelectProps = AdditionalSKUSelectProps & SelectProps;
|
|
15
|
+
declare type SKUAsyncSelectProps = AdditionalSKUSelectProps & AsyncSelectProps<GenericObject>;
|
|
16
|
+
declare type SKUCreatableSelectProps = AdditionalSKUSelectProps & CreatableSelectProps<GenericObject>;
|
|
17
|
+
declare const SKUSelect: React.ForwardRefExoticComponent<SKUSelectProps & React.RefAttributes<BaseSelect>>;
|
|
18
|
+
declare type LabeledSelectProp = SKUSelectProps & {
|
|
19
|
+
parentStyle?: React.CSSProperties;
|
|
20
|
+
};
|
|
21
|
+
declare type TLabeledSelect = React.ForwardRefExoticComponent<LabeledSelectProp & React.RefAttributes<BaseSelect>>;
|
|
22
|
+
declare const LabeledSelect: TLabeledSelect;
|
|
23
|
+
declare type TSKUCreatableSelect = React.ForwardRefExoticComponent<SKUCreatableSelectProps & React.RefAttributes<BaseCreatableSelect<GenericObject>>>;
|
|
24
|
+
declare const SKUCreatableSelect: TSKUCreatableSelect;
|
|
25
|
+
declare type LabeledCreatableSelectProps = SKUCreatableSelectProps & {
|
|
26
|
+
parentStyle?: React.CSSProperties;
|
|
27
|
+
};
|
|
28
|
+
declare type TLabeledCreatableSelect = React.ForwardRefExoticComponent<LabeledCreatableSelectProps & React.RefAttributes<BaseCreatableSelect<GenericObject>>>;
|
|
29
|
+
declare const LabeledCreatableSelect: TLabeledCreatableSelect;
|
|
30
|
+
declare type TSKUAsyncSelect = React.ForwardRefExoticComponent<SKUAsyncSelectProps & React.RefAttributes<BaseAsyncSelect<GenericObject>>>;
|
|
31
|
+
declare const SKUAsyncSelect: TSKUAsyncSelect;
|
|
32
|
+
declare type LabeledAsyncSelectProps = SKUAsyncSelectProps & {
|
|
33
|
+
parentStyle?: React.CSSProperties;
|
|
34
|
+
};
|
|
35
|
+
declare type TLabeledAsyncSelect = React.ForwardRefExoticComponent<LabeledAsyncSelectProps & React.RefAttributes<BaseAsyncSelect<GenericObject>>>;
|
|
36
|
+
declare const LabeledAsyncSelect: TLabeledAsyncSelect;
|
|
49
37
|
export { SKUSelect as Select, LabeledSelect, SKUCreatableSelect as CreatableSelect, LabeledCreatableSelect, SKUAsyncSelect as AsyncSelect, LabeledAsyncSelect, components, makeCreatableSelect, createFilter, mergeStyles, };
|
|
50
38
|
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,UAAU,EAAE,EAAE,KAAK,IAAI,WAAW,EAAiB,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AACrH,OAAO,mBAAmB,EAAE,EAAE,KAAK,IAAI,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAChH,OAAO,eAAe,EAAE,EAAE,KAAK,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAK/E,aAAK,wBAAwB,GAAG;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAC,OAAO,CAAC;CAClB,CAAA;AAED,aAAK,aAAa,GAAG;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CAAC,CAAC;AAC3C,aAAK,cAAc,GAAG,wBAAwB,GAAG,WAAW,CAAA;AAC5D,aAAK,mBAAmB,GAAG,wBAAwB,GAAG,gBAAgB,CAAC,aAAa,CAAC,CAAA;AACrF,aAAK,uBAAuB,GAAG,wBAAwB,GAAG,oBAAoB,CAAC,aAAa,CAAC,CAAA;AA2M7F,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,yBAAyB,CAAC,cAAc,GAAG,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,CA0B7F,CAAC;AAEL,aAAK,iBAAiB,GAAG,cAAc,GAAG;IAAC,WAAW,CAAC,EAAC,KAAK,CAAC,aAAa,CAAA;CAAC,CAAC;AAC7E,aAAK,cAAc,GAAG,KAAK,CAAC,yBAAyB,CAAC,iBAAiB,GAAG,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;AAC3G,QAAA,MAAM,aAAa,EAAE,cAQlB,CAAC;AAEJ,aAAK,mBAAmB,GAAG,KAAK,CAAC,yBAAyB,CAAC,uBAAuB,GAAG,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;AAC9I,QAAA,MAAM,kBAAkB,EAAE,mBA4BvB,CAAC;AAEJ,aAAK,2BAA2B,GAAG,uBAAuB,GAAG;IAAC,WAAW,CAAC,EAAC,KAAK,CAAC,aAAa,CAAA;CAAC,CAAC;AAChG,aAAK,uBAAuB,GAAG,KAAK,CAAC,yBAAyB,CAAC,2BAA2B,GAAG,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;AACtJ,QAAA,MAAM,sBAAsB,EAAE,uBAQ3B,CAAC;AAGJ,aAAK,eAAe,GAAG,KAAK,CAAC,yBAAyB,CAAC,mBAAmB,GAAG,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;AAClI,QAAA,MAAM,cAAc,EAAE,eA4BnB,CAAC;AAEJ,aAAK,uBAAuB,GAAG,mBAAmB,GAAG;IAAC,WAAW,CAAC,EAAC,KAAK,CAAC,aAAa,CAAA;CAAC,CAAC;AACxF,aAAK,mBAAmB,GAAG,KAAK,CAAC,yBAAyB,CAAC,uBAAuB,GAAG,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;AAC1I,QAAA,MAAM,kBAAkB,EAAE,mBAQvB,CAAC;AAEJ,OAAO,EACL,SAAS,IAAI,MAAM,EACnB,aAAa,EACb,kBAAkB,IAAI,eAAe,EACrC,sBAAsB,EACtB,cAAc,IAAI,WAAW,EAC7B,kBAAkB,EAClB,UAAU,EACV,mBAAmB,EACnB,YAAY,EACZ,WAAW,GACZ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SharedStyles.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/SharedStyles.tsx"],"names":[],"mappings":"AAIA,oBAAY,gBAAgB,GAAG;
|
|
1
|
+
{"version":3,"file":"SharedStyles.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/SharedStyles.tsx"],"names":[],"mappings":"AAIA,oBAAY,gBAAgB,GAAG;IAE7B,EAAE,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAA;AAED,eAAO,MAAM,YAAY,wHAKxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,CAAA;CAuDxD,CAAC;AAEF,eAAO,MAAM,OAAO,kFAA8B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidePanel.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/SidePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAC/D,OAAO,EAAE,UAAU,EAAY,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"SidePanel.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/SidePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAC/D,OAAO,EAAE,UAAU,EAAY,MAAM,SAAS,CAAA;AAI9C,aAAK,aAAa,GAAG;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAeF,eAAO,MAAM,WAAW,+EAmBvB,CAAC;AAOF,QAAA,MAAM,SAAS;aAKF,MAAM,SAAS;WACjB,MAAM;cACH,MAAM,SAAS;;;;kEA2B5B,CAAA;AAgCD,QAAA,MAAM,YAAY;UAAsD,MAAM;;;;aAA0D,MAAM,SAAS;8BAetJ,CAAA;AASD,aAAK,SAAS,GAAG;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAA;AAED,QAAA,MAAM,gBAAgB;UAA8D,MAAM;;;;aAAqE,MAAM,SAAS;8BAgB7K,CAAA;AAED,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,gBAAgB,EAAE,CAAC"}
|
package/dist/styles/Sizer.d.ts
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
|
+
import { CSSObject } from 'styled-components';
|
|
2
|
+
import { TSize } from '../utils';
|
|
3
|
+
export declare type TSizeOffset = 'xsOffset' | 'smOffset' | 'mdOffset' | 'lgOffset' | 'xlOffset';
|
|
4
|
+
export declare type TSizeOffsetRight = 'xsOffsetRight' | 'smOffsetRight' | 'mdOffsetRight' | 'lgOffsetRight' | 'xlOffsetRight';
|
|
5
|
+
export declare type TSizeStyle = 'xsStyle' | 'smStyle' | 'mdStyle' | 'lgStyle' | 'xlStyle';
|
|
1
6
|
export declare type SizerTypes = {
|
|
2
|
-
|
|
3
|
-
collapse?: string | Array<string>;
|
|
7
|
+
collapse?: TSize | Array<TSize>;
|
|
4
8
|
offset?: number;
|
|
5
9
|
first?: string;
|
|
6
10
|
last?: string;
|
|
7
11
|
padded?: boolean;
|
|
8
|
-
xs?: string | number | boolean;
|
|
9
|
-
sm?: string | number | boolean;
|
|
10
|
-
md?: string | number | boolean;
|
|
11
|
-
lg?: string | number | boolean;
|
|
12
|
-
xl?: string | number | boolean;
|
|
12
|
+
xs?: string | number | boolean | CSSObject;
|
|
13
|
+
sm?: string | number | boolean | CSSObject;
|
|
14
|
+
md?: string | number | boolean | CSSObject;
|
|
15
|
+
lg?: string | number | boolean | CSSObject;
|
|
16
|
+
xl?: string | number | boolean | CSSObject;
|
|
13
17
|
xsOffset?: number;
|
|
14
18
|
smOffset?: number;
|
|
15
19
|
mdOffset?: number;
|
|
@@ -20,13 +24,13 @@ export declare type SizerTypes = {
|
|
|
20
24
|
mdOffsetRight?: number;
|
|
21
25
|
lgOffsetRight?: number;
|
|
22
26
|
xlOffsetRight?: number;
|
|
23
|
-
xsStyle?: string;
|
|
24
|
-
smStyle?: string;
|
|
25
|
-
mdStyle?: string;
|
|
26
|
-
lgStyle?: string;
|
|
27
|
-
xlStyle?: string;
|
|
28
|
-
start?: boolean;
|
|
29
|
-
end?: boolean;
|
|
27
|
+
xsStyle?: string | CSSObject;
|
|
28
|
+
smStyle?: string | CSSObject;
|
|
29
|
+
mdStyle?: string | CSSObject;
|
|
30
|
+
lgStyle?: string | CSSObject;
|
|
31
|
+
xlStyle?: string | CSSObject;
|
|
32
|
+
start?: boolean | number;
|
|
33
|
+
end?: boolean | number;
|
|
30
34
|
center?: boolean;
|
|
31
35
|
totalCols?: number;
|
|
32
36
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sizer.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Sizer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Sizer.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Sizer.tsx"],"names":[],"mappings":"AAAA,OAAe,EAAO,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAgB,KAAK,EAAE,MAAM,UAAU,CAAC;AAE/C,oBAAY,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC;AACzF,oBAAY,gBAAgB,GAAG,eAAe,GAAG,eAAe,GAAG,eAAe,GAAG,eAAe,GAAG,eAAe,CAAC;AACvH,oBAAY,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAEnF,oBAAY,UAAU,GAAG;IAErB,QAAQ,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,GAAC,MAAM,GAAC,OAAO,GAAC,SAAS,CAAC;IACrC,EAAE,CAAC,EAAE,MAAM,GAAC,MAAM,GAAC,OAAO,GAAC,SAAS,CAAC;IACrC,EAAE,CAAC,EAAE,MAAM,GAAC,MAAM,GAAC,OAAO,GAAC,SAAS,CAAC;IACrC,EAAE,CAAC,EAAE,MAAM,GAAC,MAAM,GAAC,OAAO,GAAC,SAAS,CAAC;IACrC,EAAE,CAAC,EAAE,MAAM,GAAC,MAAM,GAAC,OAAO,GAAC,SAAS,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,GAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,GAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,GAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,GAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,GAAC,SAAS,CAAC;IAE3B,KAAK,CAAC,EAAE,OAAO,GAAC,MAAM,CAAC;IACvB,GAAG,CAAC,EAAE,OAAO,GAAC,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAIF,eAAO,MAAM,QAAQ,kHAiEpB,CAAC;AAEF,eAAO,MAAM,YAAY,4EAExB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Spinner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAW/D,eAAO,MAAM,OAAO,UAAa,
|
|
1
|
+
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Spinner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAW/D,eAAO,MAAM,OAAO,UAAa,MAAM,iBAAiB,CAAC;IAAC,KAAK,CAAC,EAAC,OAAO,CAAA;CAAC,GAAG,gBAAgB,CAAC,gBAI5F,CAAA"}
|
|
@@ -5,31 +5,27 @@ declare type DropdownContentProps = {
|
|
|
5
5
|
rounded?: boolean;
|
|
6
6
|
showCircles?: boolean;
|
|
7
7
|
scrollContentHeight?: string;
|
|
8
|
+
background?: string;
|
|
8
9
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
} | undefined;
|
|
15
|
-
content: ReactNode | string | any;
|
|
16
|
-
value: string;
|
|
17
|
-
order: number;
|
|
18
|
-
}[];
|
|
19
|
-
value: {
|
|
20
|
-
onClick?: any;
|
|
21
|
-
props?: {
|
|
22
|
-
[key: string]: any;
|
|
23
|
-
} | undefined;
|
|
24
|
-
content: ReactNode | string | any;
|
|
25
|
-
value: string;
|
|
26
|
-
order: number;
|
|
10
|
+
declare type StateDropdownItemProps = {
|
|
11
|
+
onClick?: any;
|
|
12
|
+
props?: {
|
|
13
|
+
[key: string]: any;
|
|
27
14
|
};
|
|
15
|
+
content: ReactNode | string | any;
|
|
16
|
+
value: string;
|
|
17
|
+
order: number;
|
|
18
|
+
};
|
|
19
|
+
declare type StateDropdownProps = {
|
|
20
|
+
items: Array<StateDropdownItemProps>;
|
|
21
|
+
value: StateDropdownItemProps;
|
|
28
22
|
row: any;
|
|
29
|
-
showCircles?: boolean
|
|
30
|
-
maxCircles?: number
|
|
23
|
+
showCircles?: boolean;
|
|
24
|
+
maxCircles?: number;
|
|
31
25
|
dataTip?: any;
|
|
32
|
-
dataFor?: string
|
|
33
|
-
|
|
26
|
+
dataFor?: string;
|
|
27
|
+
background?: string;
|
|
28
|
+
} & DropdownContentProps;
|
|
29
|
+
export declare const StateDropdown: ({ items, text, value, row, showCircles, maxCircles, dataTip, dataFor, background, ...props }: StateDropdownProps) => JSX.Element;
|
|
34
30
|
export {};
|
|
35
31
|
//# sourceMappingURL=StateDropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StateDropdown.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/StateDropdown.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AA0BtE,aAAK,oBAAoB,GAAG;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"StateDropdown.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/StateDropdown.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AA0BtE,aAAK,oBAAoB,GAAG;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAA;AAgED,aAAK,sBAAsB,GAAG;IAC1B,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,KAAK,CAAC,EAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,CAAC;IAC5B,OAAO,EAAE,SAAS,GAAC,MAAM,GAAC,GAAG,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,aAAK,kBAAkB,GAAG;IACtB,KAAK,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACrC,KAAK,EAAE,sBAAsB,CAAC;IAC9B,GAAG,EAAE,GAAG,CAAC;IACT,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,oBAAoB,CAAC;AACzB,eAAO,MAAM,aAAa,iGAWvB,kBAAkB,gBAsDpB,CAAA"}
|
package/dist/styles/Table.d.ts
CHANGED
|
@@ -5,14 +5,14 @@ declare const Table: import("styled-components").StyledComponent<"table", any, {
|
|
|
5
5
|
cellPadding: 0;
|
|
6
6
|
cellSpacing: 0;
|
|
7
7
|
} & SharedStyleTypes, "cellPadding" | "cellSpacing">;
|
|
8
|
-
declare const TH: import("styled-components").StyledComponent<"th", any,
|
|
8
|
+
declare const TH: import("styled-components").StyledComponent<"th", any, {
|
|
9
9
|
clickable?: boolean | undefined;
|
|
10
10
|
sticky?: boolean | undefined;
|
|
11
11
|
stickyTop?: number | undefined;
|
|
12
|
-
} & SharedStyleTypes
|
|
13
|
-
declare const TD: import("styled-components").StyledComponent<"td", any,
|
|
12
|
+
} & SharedStyleTypes & SizerTypes, never>;
|
|
13
|
+
declare const TD: import("styled-components").StyledComponent<"td", any, {
|
|
14
14
|
clickable?: boolean | undefined;
|
|
15
|
-
} & SharedStyleTypes
|
|
15
|
+
} & SharedStyleTypes & SizerTypes, never>;
|
|
16
16
|
declare const TR: import("styled-components").StyledComponent<"tr", any, SizerTypes & {
|
|
17
17
|
selected?: boolean | undefined;
|
|
18
18
|
}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAY,UAAU,EAAE,MAAM,SAAS,CAAC;AAE/C,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAiB/D,QAAA,MAAM,KAAK;;;oDAaV,CAAC;AAEF,QAAA,MAAM,EAAE;;;;
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAY,UAAU,EAAE,MAAM,SAAS,CAAC;AAE/C,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAiB/D,QAAA,MAAM,KAAK;;;oDAaV,CAAC;AAEF,QAAA,MAAM,EAAE;;;;yCAqBP,CAAC;AAEF,QAAA,MAAM,EAAE;;yCAgBP,CAAC;AAEF,QAAA,MAAM,EAAE;;SAQP,CAAC;AAEF,QAAA,MAAM,KAAK,8EAIV,CAAC;AAEF,QAAA,MAAM,KAAK,8EAIV,CAAC;AAQF,QAAA,MAAM,eAAe;;;;;qCAMpB,CAAA;AAED,QAAA,MAAM,QAAQ;;;;;kBAcb,CAAA;AAGD,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,CAAC"}
|
package/dist/styles/Tabs.d.ts
CHANGED
|
@@ -11,24 +11,25 @@ declare const Tab: import("styled-components").StyledComponent<"li", any, {
|
|
|
11
11
|
selected?: boolean | undefined;
|
|
12
12
|
size?: "small" | "medium" | undefined;
|
|
13
13
|
} & SharedStyleTypes, never>;
|
|
14
|
-
export declare type
|
|
14
|
+
export declare type TTab = {
|
|
15
15
|
label: string;
|
|
16
16
|
content: React.ReactNode;
|
|
17
17
|
onClick?: Function | VoidFunction;
|
|
18
18
|
};
|
|
19
|
-
declare type StateType = {
|
|
20
|
-
selectedTabIndex: number;
|
|
21
|
-
selectedTab: TabType;
|
|
22
|
-
};
|
|
23
19
|
export declare type TabsProps = {
|
|
24
|
-
tabs:
|
|
20
|
+
tabs: TTab[];
|
|
25
21
|
selectedTabIndex?: number;
|
|
26
22
|
padded?: boolean;
|
|
27
23
|
size?: keyof typeof tabSizes;
|
|
28
24
|
};
|
|
29
|
-
declare
|
|
25
|
+
declare type TabsState = {
|
|
26
|
+
selectedTabIndex: number;
|
|
27
|
+
};
|
|
28
|
+
declare class Tabs extends Component<TabsProps, TabsState> {
|
|
30
29
|
constructor(props: TabsProps);
|
|
30
|
+
getTab(tabs: TTab[], tabIndex?: number): null | TTab;
|
|
31
31
|
componentDidMount(): void;
|
|
32
|
+
componentDidUpdate(prevProps: Readonly<TabsProps>, prevState: Readonly<TabsState>): void;
|
|
32
33
|
render(): JSX.Element;
|
|
33
34
|
}
|
|
34
35
|
export { TabBar, Tab, Tabs };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Tabs.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAE/D,QAAA,MAAM,QAAQ;;;CAWb,CAAC;AAEF,QAAA,MAAM,MAAM;;4BAUX,CAAA;AAED,QAAA,MAAM,GAAG;;;4BAgBR,CAAA;AAgCD,oBAAY,IAAI,GAAG;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,OAAO,CAAC,EAAE,QAAQ,GAAC,YAAY,CAAA;CAAC,CAAC;AAC9F,oBAAY,SAAS,GAAG;IAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,OAAO,QAAQ,CAAA;CAAE,CAAC;AACpH,aAAK,SAAS,GAAG;IAAC,gBAAgB,EAAE,MAAM,CAAA;CAAC,CAAC;AAE5C,cAAM,IAAK,SAAQ,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC;gBACpC,KAAK,EAAE,SAAS;IAO5B,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,QAAQ,SAAE,GAAG,IAAI,GAAG,IAAI;IAO7C,iBAAiB;IAUjB,kBAAkB,CAAC,SAAS,EAAE,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,EAAE,QAAQ,CAAC,SAAS,CAAC;IAgBjF,MAAM;CAmBP;AAED,OAAO,EAAC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAC,CAAC"}
|