@commonsku/styles 1.13.7 → 1.14.2
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 +2580 -0
- package/dist/index.es.js +2556 -5007
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2639 -5073
- package/dist/index.js.map +1 -1
- package/dist/styles/Accordion.d.ts.map +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/Button.d.ts +48 -10
- package/dist/styles/Button.d.ts.map +1 -1
- package/dist/styles/CancelButton.d.ts +11 -0
- package/dist/styles/CancelButton.d.ts.map +1 -0
- package/dist/styles/Datepicker.d.ts +16 -9
- package/dist/styles/Datepicker.d.ts.map +1 -1
- package/dist/styles/DefaultStar.d.ts +12 -0
- package/dist/styles/DefaultStar.d.ts.map +1 -0
- 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 +8 -1
- package/dist/styles/Img.d.ts.map +1 -1
- package/dist/styles/Input.d.ts +17 -49
- package/dist/styles/Input.d.ts.map +1 -1
- package/dist/styles/LightIndicator.d.ts +15 -0
- package/dist/styles/LightIndicator.d.ts.map +1 -0
- 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 -37
- package/dist/styles/Select.d.ts.map +1 -1
- package/dist/styles/SidePanel.d.ts.map +1 -1
- package/dist/styles/Spinner.d.ts.map +1 -1
- package/dist/styles/Task.d.ts +2 -1
- package/dist/styles/Task.d.ts.map +1 -1
- package/dist/styles/Text.d.ts +14 -14
- package/dist/styles/Text.d.ts.map +1 -1
- package/dist/styles/Textarea.d.ts +7 -18
- package/dist/styles/Textarea.d.ts.map +1 -1
- package/dist/styles/Theme.d.ts +288 -138
- package/dist/styles/Theme.d.ts.map +1 -1
- package/dist/styles/Thermometer.d.ts +4 -1
- package/dist/styles/Thermometer.d.ts.map +1 -1
- package/dist/styles/calendar/Calendar.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/HeaderWrapper.d.ts +9 -1
- package/dist/styles/calendar/HeaderWrapper.d.ts.map +1 -1
- package/dist/styles/calendar/TasksCalendar.d.ts +1 -0
- 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.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/colors.d.ts +273 -182
- package/dist/styles/colors.d.ts.map +1 -1
- 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/icons/AddIcon.d.ts +6 -0
- package/dist/styles/icons/AddIcon.d.ts.map +1 -0
- package/dist/styles/icons/AddNoteIcon.d.ts +6 -0
- package/dist/styles/icons/AddNoteIcon.d.ts.map +1 -0
- package/dist/styles/icons/AddTaskIcon.d.ts +6 -0
- package/dist/styles/icons/AddTaskIcon.d.ts.map +1 -0
- package/dist/styles/icons/AlertIcon.d.ts +8 -0
- package/dist/styles/icons/AlertIcon.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/AwaitingProofIcon.d.ts +5 -8
- package/dist/styles/icons/AwaitingProofIcon.d.ts.map +1 -1
- package/dist/styles/icons/BotIcon.d.ts +5 -7
- package/dist/styles/icons/BotIcon.d.ts.map +1 -1
- package/dist/styles/icons/BulletIcon.d.ts +5 -7
- package/dist/styles/icons/BulletIcon.d.ts.map +1 -1
- package/dist/styles/icons/CalendarIcon.d.ts +5 -9
- package/dist/styles/icons/CalendarIcon.d.ts.map +1 -1
- package/dist/styles/icons/ChangeRequestedIcon.d.ts +5 -8
- package/dist/styles/icons/ChangeRequestedIcon.d.ts.map +1 -1
- package/dist/styles/icons/CheckmarkIcon.d.ts +5 -7
- package/dist/styles/icons/CheckmarkIcon.d.ts.map +1 -1
- package/dist/styles/icons/ChevronIcon.d.ts +9 -0
- package/dist/styles/icons/ChevronIcon.d.ts.map +1 -0
- package/dist/styles/icons/CircleProgressIcon.d.ts +13 -10
- package/dist/styles/icons/CircleProgressIcon.d.ts.map +1 -1
- package/dist/styles/icons/ClientApprovedIcon.d.ts +5 -8
- package/dist/styles/icons/ClientApprovedIcon.d.ts.map +1 -1
- 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/ColumnSelectIcon.d.ts +5 -7
- package/dist/styles/icons/ColumnSelectIcon.d.ts.map +1 -1
- package/dist/styles/icons/CompletedCheckmarkIcon.d.ts +6 -0
- package/dist/styles/icons/CompletedCheckmarkIcon.d.ts.map +1 -0
- package/dist/styles/icons/CouponIcon.d.ts +5 -8
- package/dist/styles/icons/CouponIcon.d.ts.map +1 -1
- package/dist/styles/icons/DollarIcon.d.ts +5 -7
- package/dist/styles/icons/DollarIcon.d.ts.map +1 -1
- package/dist/styles/icons/DownloadIcon.d.ts +4 -3
- package/dist/styles/icons/DownloadIcon.d.ts.map +1 -1
- package/dist/styles/icons/EditIcon.d.ts +8 -0
- package/dist/styles/icons/EditIcon.d.ts.map +1 -0
- package/dist/styles/icons/EpsIcon.d.ts +6 -0
- package/dist/styles/icons/EpsIcon.d.ts.map +1 -0
- package/dist/styles/icons/EstimateCircleIcon.d.ts +9 -5
- package/dist/styles/icons/EstimateCircleIcon.d.ts.map +1 -1
- package/dist/styles/icons/EyeIcon.d.ts +8 -0
- package/dist/styles/icons/EyeIcon.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 +5 -7
- package/dist/styles/icons/FolderIcon.d.ts.map +1 -1
- package/dist/styles/icons/GalleryIcon.d.ts +5 -7
- package/dist/styles/icons/GalleryIcon.d.ts.map +1 -1
- package/dist/styles/icons/GearIcon.d.ts +7 -9
- package/dist/styles/icons/GearIcon.d.ts.map +1 -1
- package/dist/styles/icons/GridIcon.d.ts +6 -0
- package/dist/styles/icons/GridIcon.d.ts.map +1 -0
- package/dist/styles/icons/InfoIcon.d.ts +8 -9
- package/dist/styles/icons/InfoIcon.d.ts.map +1 -1
- package/dist/styles/icons/IntegrationsIcon.d.ts +8 -0
- package/dist/styles/icons/IntegrationsIcon.d.ts.map +1 -0
- package/dist/styles/icons/ListIcon.d.ts +5 -7
- package/dist/styles/icons/ListIcon.d.ts.map +1 -1
- package/dist/styles/icons/Loading.d.ts.map +1 -1
- package/dist/styles/icons/LockIcon.d.ts +6 -9
- package/dist/styles/icons/LockIcon.d.ts.map +1 -1
- package/dist/styles/icons/MailIcon.d.ts +8 -0
- package/dist/styles/icons/MailIcon.d.ts.map +1 -0
- package/dist/styles/icons/MarketingStatusIcon.d.ts +8 -0
- package/dist/styles/icons/MarketingStatusIcon.d.ts.map +1 -0
- package/dist/styles/icons/MenuIcon.d.ts +6 -0
- package/dist/styles/icons/MenuIcon.d.ts.map +1 -0
- package/dist/styles/icons/NavConnectIcon.d.ts +7 -10
- package/dist/styles/icons/NavConnectIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavFinanceIcon.d.ts +7 -10
- package/dist/styles/icons/NavFinanceIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavManagementIcon.d.ts +7 -10
- package/dist/styles/icons/NavManagementIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavProdIcon.d.ts +7 -10
- package/dist/styles/icons/NavProdIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavResourcesIcon.d.ts +7 -10
- package/dist/styles/icons/NavResourcesIcon.d.ts.map +1 -1
- package/dist/styles/icons/NavSalesIcon.d.ts +7 -10
- package/dist/styles/icons/NavSalesIcon.d.ts.map +1 -1
- package/dist/styles/icons/NoteIcon.d.ts +5 -8
- package/dist/styles/icons/NoteIcon.d.ts.map +1 -1
- package/dist/styles/icons/OpportunityCircleIcon.d.ts +9 -5
- package/dist/styles/icons/OpportunityCircleIcon.d.ts.map +1 -1
- package/dist/styles/icons/PendingApprovalIcon.d.ts +5 -8
- package/dist/styles/icons/PendingApprovalIcon.d.ts.map +1 -1
- package/dist/styles/icons/PercentIcon.d.ts +6 -0
- package/dist/styles/icons/PercentIcon.d.ts.map +1 -0
- package/dist/styles/icons/PinIcon.d.ts +8 -8
- package/dist/styles/icons/PinIcon.d.ts.map +1 -1
- package/dist/styles/icons/PresentationCircleIcon.d.ts +9 -5
- package/dist/styles/icons/PresentationCircleIcon.d.ts.map +1 -1
- package/dist/styles/icons/PromostandardsIcon.d.ts +5 -7
- package/dist/styles/icons/PromostandardsIcon.d.ts.map +1 -1
- package/dist/styles/icons/ProofReceivedIcon.d.ts +5 -8
- package/dist/styles/icons/ProofReceivedIcon.d.ts.map +1 -1
- package/dist/styles/icons/ProofingCompleteIcon.d.ts +5 -8
- package/dist/styles/icons/ProofingCompleteIcon.d.ts.map +1 -1
- 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 +5 -7
- package/dist/styles/icons/ReceiptLongIcon.d.ts.map +1 -1
- package/dist/styles/icons/SalesArrowIcon.d.ts +9 -0
- package/dist/styles/icons/SalesArrowIcon.d.ts.map +1 -0
- package/dist/styles/icons/SalesOrderCircleIcon.d.ts +9 -5
- package/dist/styles/icons/SalesOrderCircleIcon.d.ts.map +1 -1
- package/dist/styles/icons/SearchIcon.d.ts +6 -0
- package/dist/styles/icons/SearchIcon.d.ts.map +1 -0
- package/dist/styles/icons/StarIcon.d.ts +9 -0
- package/dist/styles/icons/StarIcon.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 +86 -0
- package/dist/styles/icons/SvgIcon.d.ts.map +1 -0
- package/dist/styles/icons/TableIcon.d.ts +5 -9
- package/dist/styles/icons/TableIcon.d.ts.map +1 -1
- package/dist/styles/icons/TargetIcon.d.ts +6 -0
- package/dist/styles/icons/TargetIcon.d.ts.map +1 -0
- package/dist/styles/icons/TaskIcon.d.ts +5 -8
- package/dist/styles/icons/TaskIcon.d.ts.map +1 -1
- package/dist/styles/icons/TemplateIcon.d.ts +8 -0
- package/dist/styles/icons/TemplateIcon.d.ts.map +1 -0
- package/dist/styles/icons/TilesIcon.d.ts +7 -7
- package/dist/styles/icons/TilesIcon.d.ts.map +1 -1
- package/dist/styles/icons/TrashIcon.d.ts +7 -8
- package/dist/styles/icons/TrashIcon.d.ts.map +1 -1
- package/dist/styles/icons/UserIcon.d.ts +5 -7
- package/dist/styles/icons/UserIcon.d.ts.map +1 -1
- package/dist/styles/icons/UsersIcon.d.ts +6 -0
- package/dist/styles/icons/UsersIcon.d.ts.map +1 -0
- package/dist/styles/icons/XIcon.d.ts +6 -0
- package/dist/styles/icons/XIcon.d.ts.map +1 -0
- package/dist/styles/icons/index.d.ts +54 -43
- package/dist/styles/icons/index.d.ts.map +1 -1
- package/dist/styles/index.d.ts +4 -0
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/tables/SimpleWindowedTable.d.ts.map +1 -1
- package/dist/styles/tables/scrollbarWidth.d.ts.map +1 -1
- package/package.json +7 -2
- package/dist/styles/icons/ArrowLeftIcon.d.ts +0 -8
- package/dist/styles/icons/ArrowLeftIcon.d.ts.map +0 -1
- package/dist/styles/icons/ArrowRightIcon.d.ts +0 -8
- package/dist/styles/icons/ArrowRightIcon.d.ts.map +0 -1
- package/dist/styles/icons/Calendar2Icon.d.ts +0 -9
- package/dist/styles/icons/Calendar2Icon.d.ts.map +0 -1
- package/dist/styles/icons/CheckboxIcon.d.ts +0 -8
- package/dist/styles/icons/CheckboxIcon.d.ts.map +0 -1
- package/dist/styles/icons/CrossIcon.d.ts +0 -8
- package/dist/styles/icons/CrossIcon.d.ts.map +0 -1
- package/dist/styles/icons/DownArrowIcon.d.ts +0 -10
- package/dist/styles/icons/DownArrowIcon.d.ts.map +0 -1
- package/dist/styles/icons/ErrorIcon.d.ts +0 -8
- package/dist/styles/icons/ErrorIcon.d.ts.map +0 -1
- package/dist/styles/icons/LeftArrowIcon.d.ts +0 -8
- package/dist/styles/icons/LeftArrowIcon.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/NoMarketingIcon.d.ts +0 -9
- package/dist/styles/icons/NoMarketingIcon.d.ts.map +0 -1
- package/dist/styles/icons/PanelIcon.d.ts +0 -9
- package/dist/styles/icons/PanelIcon.d.ts.map +0 -1
- package/dist/styles/icons/RightArrowIcon.d.ts +0 -8
- package/dist/styles/icons/RightArrowIcon.d.ts.map +0 -1
- package/dist/styles/icons/SalesDownArrowIcon.d.ts +0 -8
- package/dist/styles/icons/SalesDownArrowIcon.d.ts.map +0 -1
- package/dist/styles/icons/SalesUpArrowIcon.d.ts +0 -8
- package/dist/styles/icons/SalesUpArrowIcon.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/icons/YesMarketingIcon.d.ts +0 -9
- package/dist/styles/icons/YesMarketingIcon.d.ts.map +0 -1
|
@@ -1,31 +1,20 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { StyledComponentProps } from 'styled-components';
|
|
3
2
|
import { SharedStyleTypes } from './SharedStyles';
|
|
4
3
|
declare type BaseTextareaProps = {
|
|
5
4
|
noMargin?: boolean;
|
|
6
5
|
error?: boolean;
|
|
7
6
|
hasIcon?: boolean;
|
|
8
7
|
} & SharedStyleTypes;
|
|
9
|
-
export declare const Textarea: import("styled-components").StyledComponent<"textarea", any,
|
|
10
|
-
declare type TextareaProps = StyledComponentProps<'textarea', any, BaseTextareaProps, never>;
|
|
11
|
-
export declare const LabeledTextarea: ({ label, name, ...props }: Pick<Pick<Pick<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "form" | "slot" | "style" | "title" | "className" | "color" | "id" | "lang" | "name" | "role" | "tabIndex" | "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" | "autoFocus" | "disabled" | "value" | "autoComplete" | "maxLength" | "minLength" | "readOnly" | "required" | "cols" | "dirName" | "rows" | "wrap"> & {
|
|
12
|
-
ref?: ((instance: HTMLTextAreaElement | null) => void) | React.RefObject<HTMLTextAreaElement> | null | undefined;
|
|
13
|
-
} & {
|
|
8
|
+
export declare const Textarea: import("styled-components").StyledComponent<"textarea", any, {
|
|
14
9
|
noMargin?: boolean | undefined;
|
|
15
10
|
error?: boolean | undefined;
|
|
16
11
|
hasIcon?: boolean | undefined;
|
|
17
|
-
} & SharedStyleTypes,
|
|
18
|
-
|
|
19
|
-
} & {
|
|
20
|
-
noMargin?: boolean | undefined;
|
|
21
|
-
error?: boolean | undefined;
|
|
22
|
-
hasIcon?: boolean | undefined;
|
|
23
|
-
} & SharedStyleTypes, never>>, "form" | "slot" | "style" | "title" | "ref" | "className" | "color" | "id" | "lang" | "name" | "role" | "tabIndex" | "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" | "autoFocus" | "disabled" | "value" | "autoComplete" | "maxLength" | "minLength" | "readOnly" | "required" | "cols" | "dirName" | "rows" | "wrap" | "pr" | "pl" | "pt" | "pb" | "px" | "py" | "mr" | "ml" | "mt" | "mb" | "mx" | "my" | "block" | "inline_block" | "flex" | "inline_flex" | "grid" | "custom" | "bg" | "float" | "noMargin" | "error" | "hasIcon"> & {
|
|
24
|
-
theme?: any;
|
|
25
|
-
} & {
|
|
12
|
+
} & SharedStyleTypes, never>;
|
|
13
|
+
declare type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement> & BaseTextareaProps & {
|
|
26
14
|
label: string;
|
|
27
|
-
name?: string
|
|
28
|
-
noMargin?: boolean
|
|
29
|
-
} & SharedStyleTypes
|
|
15
|
+
name?: string;
|
|
16
|
+
noMargin?: boolean;
|
|
17
|
+
} & SharedStyleTypes;
|
|
18
|
+
export declare const LabeledTextarea: React.FC<TextareaProps>;
|
|
30
19
|
export {};
|
|
31
20
|
//# sourceMappingURL=Textarea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAE/D,aAAK,iBAAiB,GAAG;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,gBAAgB,CAAC;AACrB,eAAO,MAAM,QAAQ;;;;4BAuEpB,CAAC;AAEF,aAAK,aAAa,GAAG,KAAK,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,GAClE,iBAAiB,GACjB;IACA,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,gBAAgB,CAAC;AACvB,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAOnD,CAAC"}
|
package/dist/styles/Theme.d.ts
CHANGED
|
@@ -1,28 +1,105 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { AdditionalStyles } from "./globalStyles";
|
|
2
3
|
import colors from "./colors";
|
|
3
4
|
export { colors };
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
export declare const fontFamilies: {
|
|
6
|
+
skuFontRegular: string;
|
|
7
|
+
skuFontDemibold: string;
|
|
8
|
+
skuFontBold: string;
|
|
9
|
+
skuFontMedium: string;
|
|
10
|
+
regular: string;
|
|
11
|
+
demibold: string;
|
|
12
|
+
bold: string;
|
|
8
13
|
medium: string;
|
|
9
|
-
|
|
14
|
+
fallbacks: string[];
|
|
15
|
+
};
|
|
16
|
+
export declare const fonts: string[];
|
|
17
|
+
export declare const fontStyles: {
|
|
18
|
+
h1: {
|
|
19
|
+
fontSize: string;
|
|
20
|
+
lineHeight: string;
|
|
21
|
+
fontFamily: string;
|
|
22
|
+
};
|
|
23
|
+
h2: {
|
|
24
|
+
fontSize: string;
|
|
25
|
+
lineHeight: string;
|
|
26
|
+
fontFamily: string;
|
|
27
|
+
};
|
|
28
|
+
h3: {
|
|
29
|
+
fontSize: string;
|
|
30
|
+
lineHeight: string;
|
|
31
|
+
fontFamily: string;
|
|
32
|
+
};
|
|
33
|
+
h4: {
|
|
34
|
+
fontSize: string;
|
|
35
|
+
lineHeight: string;
|
|
36
|
+
fontFamily: string;
|
|
37
|
+
};
|
|
38
|
+
p: {
|
|
39
|
+
large: {
|
|
40
|
+
fontSize: string;
|
|
41
|
+
lineHeight: string;
|
|
42
|
+
fontFamily: string;
|
|
43
|
+
};
|
|
44
|
+
medium: {
|
|
45
|
+
fontSize: string;
|
|
46
|
+
lineHeight: string;
|
|
47
|
+
fontFamily: string;
|
|
48
|
+
};
|
|
49
|
+
small: {
|
|
50
|
+
fontSize: string;
|
|
51
|
+
lineHeight: string;
|
|
52
|
+
fontFamily: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
button: {
|
|
56
|
+
huge: {
|
|
57
|
+
fontSize: string;
|
|
58
|
+
lineHeight: string;
|
|
59
|
+
fontFamily: string;
|
|
60
|
+
};
|
|
61
|
+
large: {
|
|
62
|
+
fontSize: string;
|
|
63
|
+
lineHeight: string;
|
|
64
|
+
fontFamily: string;
|
|
65
|
+
};
|
|
66
|
+
medium: {
|
|
67
|
+
fontSize: string;
|
|
68
|
+
lineHeight: string;
|
|
69
|
+
fontFamily: string;
|
|
70
|
+
};
|
|
71
|
+
small: {
|
|
72
|
+
fontSize: string;
|
|
73
|
+
lineHeight: string;
|
|
74
|
+
fontFamily: string;
|
|
75
|
+
};
|
|
76
|
+
tiny: {
|
|
77
|
+
fontSize: string;
|
|
78
|
+
lineHeight: string;
|
|
79
|
+
fontFamily: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
label: {
|
|
83
|
+
fontSize: string;
|
|
84
|
+
lineHeight: string;
|
|
85
|
+
fontFamily: string;
|
|
86
|
+
};
|
|
10
87
|
};
|
|
11
88
|
export declare const themeOptions: {
|
|
12
89
|
colors: {
|
|
13
90
|
primary1: {
|
|
14
|
-
10: string;
|
|
15
|
-
20: string;
|
|
16
|
-
30: string;
|
|
17
|
-
40: string;
|
|
18
|
-
50: string;
|
|
19
|
-
60: string;
|
|
20
|
-
65: string;
|
|
21
|
-
70: string;
|
|
22
|
-
75: string;
|
|
23
|
-
80: string;
|
|
24
|
-
85: string;
|
|
25
|
-
90: string;
|
|
91
|
+
'10': string;
|
|
92
|
+
'20': string;
|
|
93
|
+
'30': string;
|
|
94
|
+
'40': string;
|
|
95
|
+
'50': string;
|
|
96
|
+
'60': string;
|
|
97
|
+
'65': string;
|
|
98
|
+
'70': string;
|
|
99
|
+
'75': string;
|
|
100
|
+
'80': string;
|
|
101
|
+
'85': string;
|
|
102
|
+
'90': string;
|
|
26
103
|
main: string;
|
|
27
104
|
'main-hover': string;
|
|
28
105
|
light: string;
|
|
@@ -32,15 +109,15 @@ export declare const themeOptions: {
|
|
|
32
109
|
darkest: string;
|
|
33
110
|
};
|
|
34
111
|
secondary1: {
|
|
35
|
-
10: string;
|
|
36
|
-
20: string;
|
|
37
|
-
30: string;
|
|
38
|
-
40: string;
|
|
39
|
-
50: string;
|
|
40
|
-
60: string;
|
|
41
|
-
70: string;
|
|
42
|
-
80: string;
|
|
43
|
-
90: string;
|
|
112
|
+
'10': string;
|
|
113
|
+
'20': string;
|
|
114
|
+
'30': string;
|
|
115
|
+
'40': string;
|
|
116
|
+
'50': string;
|
|
117
|
+
'60': string;
|
|
118
|
+
'70': string;
|
|
119
|
+
'80': string;
|
|
120
|
+
'90': string;
|
|
44
121
|
main: string;
|
|
45
122
|
lightest: string;
|
|
46
123
|
light: string;
|
|
@@ -48,15 +125,15 @@ export declare const themeOptions: {
|
|
|
48
125
|
darkest: string;
|
|
49
126
|
};
|
|
50
127
|
secondary2: {
|
|
51
|
-
10: string;
|
|
52
|
-
20: string;
|
|
53
|
-
30: string;
|
|
54
|
-
40: string;
|
|
55
|
-
50: string;
|
|
56
|
-
60: string;
|
|
57
|
-
70: string;
|
|
58
|
-
80: string;
|
|
59
|
-
90: string;
|
|
128
|
+
'10': string;
|
|
129
|
+
'20': string;
|
|
130
|
+
'30': string;
|
|
131
|
+
'40': string;
|
|
132
|
+
'50': string;
|
|
133
|
+
'60': string;
|
|
134
|
+
'70': string;
|
|
135
|
+
'80': string;
|
|
136
|
+
'90': string;
|
|
60
137
|
main: string;
|
|
61
138
|
lightest: string;
|
|
62
139
|
light: string;
|
|
@@ -64,15 +141,15 @@ export declare const themeOptions: {
|
|
|
64
141
|
darkest: string;
|
|
65
142
|
};
|
|
66
143
|
secondary3: {
|
|
67
|
-
10: string;
|
|
68
|
-
20: string;
|
|
69
|
-
30: string;
|
|
70
|
-
40: string;
|
|
71
|
-
50: string;
|
|
72
|
-
60: string;
|
|
73
|
-
70: string;
|
|
74
|
-
80: string;
|
|
75
|
-
90: string;
|
|
144
|
+
'10': string;
|
|
145
|
+
'20': string;
|
|
146
|
+
'30': string;
|
|
147
|
+
'40': string;
|
|
148
|
+
'50': string;
|
|
149
|
+
'60': string;
|
|
150
|
+
'70': string;
|
|
151
|
+
'80': string;
|
|
152
|
+
'90': string;
|
|
76
153
|
main: string;
|
|
77
154
|
lightest: string;
|
|
78
155
|
light: string;
|
|
@@ -80,15 +157,15 @@ export declare const themeOptions: {
|
|
|
80
157
|
darkest: string;
|
|
81
158
|
};
|
|
82
159
|
secondary4: {
|
|
83
|
-
10: string;
|
|
84
|
-
20: string;
|
|
85
|
-
30: string;
|
|
86
|
-
40: string;
|
|
87
|
-
50: string;
|
|
88
|
-
60: string;
|
|
89
|
-
70: string;
|
|
90
|
-
80: string;
|
|
91
|
-
90: string;
|
|
160
|
+
'10': string;
|
|
161
|
+
'20': string;
|
|
162
|
+
'30': string;
|
|
163
|
+
'40': string;
|
|
164
|
+
'50': string;
|
|
165
|
+
'60': string;
|
|
166
|
+
'70': string;
|
|
167
|
+
'80': string;
|
|
168
|
+
'90': string;
|
|
92
169
|
main: string;
|
|
93
170
|
lightest: string;
|
|
94
171
|
light: string;
|
|
@@ -96,18 +173,18 @@ export declare const themeOptions: {
|
|
|
96
173
|
darkest: string;
|
|
97
174
|
};
|
|
98
175
|
teal: {
|
|
99
|
-
10: string;
|
|
100
|
-
20: string;
|
|
101
|
-
30: string;
|
|
102
|
-
40: string;
|
|
103
|
-
50: string;
|
|
104
|
-
60: string;
|
|
105
|
-
65: string;
|
|
106
|
-
70: string;
|
|
107
|
-
75: string;
|
|
108
|
-
80: string;
|
|
109
|
-
85: string;
|
|
110
|
-
90: string;
|
|
176
|
+
'10': string;
|
|
177
|
+
'20': string;
|
|
178
|
+
'30': string;
|
|
179
|
+
'40': string;
|
|
180
|
+
'50': string;
|
|
181
|
+
'60': string;
|
|
182
|
+
'65': string;
|
|
183
|
+
'70': string;
|
|
184
|
+
'75': string;
|
|
185
|
+
'80': string;
|
|
186
|
+
'85': string;
|
|
187
|
+
'90': string;
|
|
111
188
|
main: string;
|
|
112
189
|
'main-hover': string;
|
|
113
190
|
light: string;
|
|
@@ -117,15 +194,15 @@ export declare const themeOptions: {
|
|
|
117
194
|
darkest: string;
|
|
118
195
|
};
|
|
119
196
|
pink: {
|
|
120
|
-
10: string;
|
|
121
|
-
20: string;
|
|
122
|
-
30: string;
|
|
123
|
-
40: string;
|
|
124
|
-
50: string;
|
|
125
|
-
60: string;
|
|
126
|
-
70: string;
|
|
127
|
-
80: string;
|
|
128
|
-
90: string;
|
|
197
|
+
'10': string;
|
|
198
|
+
'20': string;
|
|
199
|
+
'30': string;
|
|
200
|
+
'40': string;
|
|
201
|
+
'50': string;
|
|
202
|
+
'60': string;
|
|
203
|
+
'70': string;
|
|
204
|
+
'80': string;
|
|
205
|
+
'90': string;
|
|
129
206
|
main: string;
|
|
130
207
|
lightest: string;
|
|
131
208
|
light: string;
|
|
@@ -133,15 +210,15 @@ export declare const themeOptions: {
|
|
|
133
210
|
darkest: string;
|
|
134
211
|
};
|
|
135
212
|
yellow: {
|
|
136
|
-
10: string;
|
|
137
|
-
20: string;
|
|
138
|
-
30: string;
|
|
139
|
-
40: string;
|
|
140
|
-
50: string;
|
|
141
|
-
60: string;
|
|
142
|
-
70: string;
|
|
143
|
-
80: string;
|
|
144
|
-
90: string;
|
|
213
|
+
'10': string;
|
|
214
|
+
'20': string;
|
|
215
|
+
'30': string;
|
|
216
|
+
'40': string;
|
|
217
|
+
'50': string;
|
|
218
|
+
'60': string;
|
|
219
|
+
'70': string;
|
|
220
|
+
'80': string;
|
|
221
|
+
'90': string;
|
|
145
222
|
main: string;
|
|
146
223
|
lightest: string;
|
|
147
224
|
light: string;
|
|
@@ -149,15 +226,15 @@ export declare const themeOptions: {
|
|
|
149
226
|
darkest: string;
|
|
150
227
|
};
|
|
151
228
|
green: {
|
|
152
|
-
10: string;
|
|
153
|
-
20: string;
|
|
154
|
-
30: string;
|
|
155
|
-
40: string;
|
|
156
|
-
50: string;
|
|
157
|
-
60: string;
|
|
158
|
-
70: string;
|
|
159
|
-
80: string;
|
|
160
|
-
90: string;
|
|
229
|
+
'10': string;
|
|
230
|
+
'20': string;
|
|
231
|
+
'30': string;
|
|
232
|
+
'40': string;
|
|
233
|
+
'50': string;
|
|
234
|
+
'60': string;
|
|
235
|
+
'70': string;
|
|
236
|
+
'80': string;
|
|
237
|
+
'90': string;
|
|
161
238
|
main: string;
|
|
162
239
|
lightest: string;
|
|
163
240
|
light: string;
|
|
@@ -165,15 +242,15 @@ export declare const themeOptions: {
|
|
|
165
242
|
darkest: string;
|
|
166
243
|
};
|
|
167
244
|
navy: {
|
|
168
|
-
10: string;
|
|
169
|
-
20: string;
|
|
170
|
-
30: string;
|
|
171
|
-
40: string;
|
|
172
|
-
50: string;
|
|
173
|
-
60: string;
|
|
174
|
-
70: string;
|
|
175
|
-
80: string;
|
|
176
|
-
90: string;
|
|
245
|
+
'10': string;
|
|
246
|
+
'20': string;
|
|
247
|
+
'30': string;
|
|
248
|
+
'40': string;
|
|
249
|
+
'50': string;
|
|
250
|
+
'60': string;
|
|
251
|
+
'70': string;
|
|
252
|
+
'80': string;
|
|
253
|
+
'90': string;
|
|
177
254
|
main: string;
|
|
178
255
|
lightest: string;
|
|
179
256
|
light: string;
|
|
@@ -181,16 +258,16 @@ export declare const themeOptions: {
|
|
|
181
258
|
darkest: string;
|
|
182
259
|
};
|
|
183
260
|
neutrals: {
|
|
184
|
-
10: string;
|
|
185
|
-
20: string;
|
|
186
|
-
30: string;
|
|
187
|
-
40: string;
|
|
188
|
-
50: string;
|
|
189
|
-
60: string;
|
|
190
|
-
70: string;
|
|
191
|
-
80: string;
|
|
192
|
-
90: string;
|
|
193
|
-
100: string;
|
|
261
|
+
'10': string;
|
|
262
|
+
'20': string;
|
|
263
|
+
'30': string;
|
|
264
|
+
'40': string;
|
|
265
|
+
'50': string;
|
|
266
|
+
'60': string;
|
|
267
|
+
'70': string;
|
|
268
|
+
'80': string;
|
|
269
|
+
'90': string;
|
|
270
|
+
'100': string;
|
|
194
271
|
main: string;
|
|
195
272
|
darkest: string;
|
|
196
273
|
dark: string;
|
|
@@ -199,15 +276,15 @@ export declare const themeOptions: {
|
|
|
199
276
|
white: string;
|
|
200
277
|
};
|
|
201
278
|
errors: {
|
|
202
|
-
10: string;
|
|
203
|
-
20: string;
|
|
204
|
-
30: string;
|
|
205
|
-
40: string;
|
|
206
|
-
50: string;
|
|
207
|
-
60: string;
|
|
208
|
-
70: string;
|
|
209
|
-
80: string;
|
|
210
|
-
90: string;
|
|
279
|
+
'10': string;
|
|
280
|
+
'20': string;
|
|
281
|
+
'30': string;
|
|
282
|
+
'40': string;
|
|
283
|
+
'50': string;
|
|
284
|
+
'60': string;
|
|
285
|
+
'70': string;
|
|
286
|
+
'80': string;
|
|
287
|
+
'90': string;
|
|
211
288
|
main: string;
|
|
212
289
|
lightest: string;
|
|
213
290
|
light: string;
|
|
@@ -380,37 +457,109 @@ export declare const themeOptions: {
|
|
|
380
457
|
fonts: string[];
|
|
381
458
|
fontFamily: string;
|
|
382
459
|
fontFamilies: {
|
|
460
|
+
skuFontRegular: string;
|
|
461
|
+
skuFontDemibold: string;
|
|
462
|
+
skuFontBold: string;
|
|
463
|
+
skuFontMedium: string;
|
|
383
464
|
regular: string;
|
|
384
465
|
demibold: string;
|
|
385
466
|
bold: string;
|
|
386
467
|
medium: string;
|
|
387
468
|
fallbacks: string[];
|
|
388
469
|
};
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
470
|
+
fontStyles: {
|
|
471
|
+
h1: {
|
|
472
|
+
fontSize: string;
|
|
473
|
+
lineHeight: string;
|
|
474
|
+
fontFamily: string;
|
|
475
|
+
};
|
|
476
|
+
h2: {
|
|
477
|
+
fontSize: string;
|
|
478
|
+
lineHeight: string;
|
|
479
|
+
fontFamily: string;
|
|
480
|
+
};
|
|
481
|
+
h3: {
|
|
482
|
+
fontSize: string;
|
|
483
|
+
lineHeight: string;
|
|
484
|
+
fontFamily: string;
|
|
485
|
+
};
|
|
486
|
+
h4: {
|
|
487
|
+
fontSize: string;
|
|
488
|
+
lineHeight: string;
|
|
489
|
+
fontFamily: string;
|
|
490
|
+
};
|
|
491
|
+
p: {
|
|
492
|
+
large: {
|
|
493
|
+
fontSize: string;
|
|
494
|
+
lineHeight: string;
|
|
495
|
+
fontFamily: string;
|
|
496
|
+
};
|
|
497
|
+
medium: {
|
|
498
|
+
fontSize: string;
|
|
499
|
+
lineHeight: string;
|
|
500
|
+
fontFamily: string;
|
|
501
|
+
};
|
|
502
|
+
small: {
|
|
503
|
+
fontSize: string;
|
|
504
|
+
lineHeight: string;
|
|
505
|
+
fontFamily: string;
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
button: {
|
|
509
|
+
huge: {
|
|
510
|
+
fontSize: string;
|
|
511
|
+
lineHeight: string;
|
|
512
|
+
fontFamily: string;
|
|
513
|
+
};
|
|
514
|
+
large: {
|
|
515
|
+
fontSize: string;
|
|
516
|
+
lineHeight: string;
|
|
517
|
+
fontFamily: string;
|
|
518
|
+
};
|
|
519
|
+
medium: {
|
|
520
|
+
fontSize: string;
|
|
521
|
+
lineHeight: string;
|
|
522
|
+
fontFamily: string;
|
|
523
|
+
};
|
|
524
|
+
small: {
|
|
525
|
+
fontSize: string;
|
|
526
|
+
lineHeight: string;
|
|
527
|
+
fontFamily: string;
|
|
528
|
+
};
|
|
529
|
+
tiny: {
|
|
530
|
+
fontSize: string;
|
|
531
|
+
lineHeight: string;
|
|
532
|
+
fontFamily: string;
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
label: {
|
|
536
|
+
fontSize: string;
|
|
537
|
+
lineHeight: string;
|
|
538
|
+
fontFamily: string;
|
|
539
|
+
};
|
|
394
540
|
};
|
|
395
541
|
space: {
|
|
396
|
-
0: string;
|
|
397
|
-
1: string;
|
|
398
|
-
2: string;
|
|
399
|
-
3: string;
|
|
400
|
-
4: string;
|
|
401
|
-
5: string;
|
|
402
|
-
6: string;
|
|
403
|
-
7: string;
|
|
404
|
-
8: string;
|
|
405
|
-
9: string;
|
|
406
|
-
10: string;
|
|
542
|
+
'0': string;
|
|
543
|
+
'1': string;
|
|
544
|
+
'2': string;
|
|
545
|
+
'3': string;
|
|
546
|
+
'4': string;
|
|
547
|
+
'5': string;
|
|
548
|
+
'6': string;
|
|
549
|
+
'7': string;
|
|
550
|
+
'8': string;
|
|
551
|
+
'9': string;
|
|
552
|
+
'10': string;
|
|
407
553
|
};
|
|
408
554
|
};
|
|
409
555
|
export declare function getColor(color?: string, def?: string): string;
|
|
410
|
-
export declare function
|
|
556
|
+
export declare function getFontStyle(value?: string, def?: string): string;
|
|
411
557
|
export declare function getThemeColor(props: {
|
|
412
558
|
[key: string]: any;
|
|
413
559
|
}, color: string, fallbackColor?: string): string;
|
|
560
|
+
export declare function getThemeFontStyle(props: {
|
|
561
|
+
[key: string]: any;
|
|
562
|
+
}, value: string, fallbackValue?: string): string;
|
|
414
563
|
export declare function getThemeFontSize(props: {
|
|
415
564
|
[key: string]: any;
|
|
416
565
|
}, value: string, fallbackValue?: string): string;
|
|
@@ -420,9 +569,10 @@ export declare function getThemeFontFamily(props: {
|
|
|
420
569
|
export declare function getThemeProperty(props: {
|
|
421
570
|
[key: string]: any;
|
|
422
571
|
}, prop: string, value?: string, fallbackValue?: string): string;
|
|
423
|
-
declare const Theme: ({ theme, globalStyles, children }: React.PropsWithChildren<{
|
|
572
|
+
declare const Theme: ({ theme, globalStyles, additionalGlobalStyles, children }: React.PropsWithChildren<{
|
|
424
573
|
theme?: object | undefined;
|
|
425
574
|
globalStyles?: boolean | undefined;
|
|
575
|
+
additionalGlobalStyles?: AdditionalStyles | undefined;
|
|
426
576
|
}>) => JSX.Element;
|
|
427
577
|
export default Theme;
|
|
428
578
|
//# sourceMappingURL=Theme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Theme.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Theme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Theme.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Theme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAoB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,OAAO,EAAC,MAAM,EAAC,CAAC;AAGhB,eAAO,MAAM,YAAY;;;;;;;;;;CAiBxB,CAAA;AAMD,eAAO,MAAM,KAAK,UAA4D,CAAC;AAE/E,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsEtB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBxB,CAAA;AAED,wBAAgB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAG7D;AAED,wBAAgB,YAAY,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAGjE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAExG;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAE5G;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAE3G;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,EAAE,aAAa,SAAK,GAAG,MAAM,CAE1F;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CA2B1H;AAGD,QAAA,MAAM,KAAK;;;;kBAYV,CAAC;AAEF,eAAe,KAAK,CAAC"}
|