@commonsku/styles 1.11.8 → 1.13.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.es.js +5146 -19375
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +5187 -19378
- package/dist/index.js.map +1 -1
- package/dist/styles/FlexboxGrid.d.ts +1 -0
- package/dist/styles/FlexboxGrid.d.ts.map +1 -1
- package/dist/styles/Input.d.ts +16 -5
- package/dist/styles/Input.d.ts.map +1 -1
- package/dist/styles/MultiProgress.d.ts +27 -0
- package/dist/styles/MultiProgress.d.ts.map +1 -0
- package/dist/styles/Sizer.d.ts +4 -0
- package/dist/styles/Sizer.d.ts.map +1 -1
- package/dist/styles/Tabs.d.ts +2 -2
- package/dist/styles/Tabs.d.ts.map +1 -1
- package/dist/styles/Task.d.ts +27 -5
- package/dist/styles/Task.d.ts.map +1 -1
- package/dist/styles/Text.d.ts +1 -1
- package/dist/styles/Theme.d.ts +19 -0
- package/dist/styles/Theme.d.ts.map +1 -1
- package/dist/styles/calendar/Calendar.d.ts +37 -0
- package/dist/styles/calendar/Calendar.d.ts.map +1 -0
- package/dist/styles/calendar/CalendarDayBody.d.ts +10 -0
- package/dist/styles/calendar/CalendarDayBody.d.ts.map +1 -0
- package/dist/styles/calendar/CalendarDaysBody.d.ts +26 -0
- package/dist/styles/calendar/CalendarDaysBody.d.ts.map +1 -0
- package/dist/styles/calendar/CalendarDaysHeader.d.ts +9 -0
- package/dist/styles/calendar/CalendarDaysHeader.d.ts.map +1 -0
- package/dist/styles/calendar/CalendarWrapper.d.ts +3 -0
- package/dist/styles/calendar/CalendarWrapper.d.ts.map +1 -0
- package/dist/styles/calendar/DaysBodyWrapper.d.ts +3 -0
- package/dist/styles/calendar/DaysBodyWrapper.d.ts.map +1 -0
- package/dist/styles/calendar/DaysHeaderWrapper.d.ts +3 -0
- package/dist/styles/calendar/DaysHeaderWrapper.d.ts.map +1 -0
- package/dist/styles/calendar/DefaultCalendarFooter.d.ts +6 -0
- package/dist/styles/calendar/DefaultCalendarFooter.d.ts.map +1 -0
- package/dist/styles/calendar/DefaultCalendarHeader.d.ts +8 -0
- package/dist/styles/calendar/DefaultCalendarHeader.d.ts.map +1 -0
- package/dist/styles/calendar/DraggableCalendarFooterTasks.d.ts +18 -0
- package/dist/styles/calendar/DraggableCalendarFooterTasks.d.ts.map +1 -0
- package/dist/styles/calendar/DraggableTaskBody.d.ts +11 -0
- package/dist/styles/calendar/DraggableTaskBody.d.ts.map +1 -0
- package/dist/styles/calendar/DraggableTasksCalendar.d.ts +29 -0
- package/dist/styles/calendar/DraggableTasksCalendar.d.ts.map +1 -0
- package/dist/styles/calendar/DroppableDays.d.ts +14 -0
- package/dist/styles/calendar/DroppableDays.d.ts.map +1 -0
- package/dist/styles/calendar/DroppableFooter.d.ts +18 -0
- package/dist/styles/calendar/DroppableFooter.d.ts.map +1 -0
- package/dist/styles/calendar/HeaderWrapper.d.ts +3 -0
- package/dist/styles/calendar/HeaderWrapper.d.ts.map +1 -0
- package/dist/styles/calendar/StyledDayBody.d.ts +8 -0
- package/dist/styles/calendar/StyledDayBody.d.ts.map +1 -0
- package/dist/styles/calendar/StyledDayText.d.ts +7 -0
- package/dist/styles/calendar/StyledDayText.d.ts.map +1 -0
- package/dist/styles/calendar/TasksCalendar.d.ts +43 -0
- package/dist/styles/calendar/TasksCalendar.d.ts.map +1 -0
- package/dist/styles/calendar/TasksCalendarDayBody.d.ts +8 -0
- package/dist/styles/calendar/TasksCalendarDayBody.d.ts.map +1 -0
- package/dist/styles/calendar/TasksCalendarFooter.d.ts +14 -0
- package/dist/styles/calendar/TasksCalendarFooter.d.ts.map +1 -0
- package/dist/styles/calendar/TasksCalendarHeader.d.ts +18 -0
- package/dist/styles/calendar/TasksCalendarHeader.d.ts.map +1 -0
- package/dist/styles/calendar/index.d.ts +18 -0
- package/dist/styles/calendar/index.d.ts.map +1 -0
- package/dist/styles/calendar/styles.d.ts +33 -0
- package/dist/styles/calendar/styles.d.ts.map +1 -0
- package/dist/styles/calendar/types.d.ts +24 -0
- package/dist/styles/calendar/types.d.ts.map +1 -0
- package/dist/styles/hooks/index.d.ts +2 -0
- package/dist/styles/hooks/index.d.ts.map +1 -1
- package/dist/styles/hooks/useCalendar.d.ts +35 -0
- package/dist/styles/hooks/useCalendar.d.ts.map +1 -0
- package/dist/styles/hooks/useWindowSize.d.ts +3 -0
- package/dist/styles/hooks/useWindowSize.d.ts.map +1 -0
- package/dist/styles/icons/CircleProgressIcon.d.ts +12 -0
- package/dist/styles/icons/CircleProgressIcon.d.ts.map +1 -0
- package/dist/styles/icons/GearIcon.d.ts +10 -0
- package/dist/styles/icons/GearIcon.d.ts.map +1 -0
- package/dist/styles/icons/NavConnectIcon.d.ts +11 -0
- package/dist/styles/icons/NavConnectIcon.d.ts.map +1 -0
- package/dist/styles/icons/NavFinanceIcon.d.ts +11 -0
- package/dist/styles/icons/NavFinanceIcon.d.ts.map +1 -0
- package/dist/styles/icons/NavManagementIcon.d.ts +11 -0
- package/dist/styles/icons/NavManagementIcon.d.ts.map +1 -0
- package/dist/styles/icons/NavProdIcon.d.ts +11 -0
- package/dist/styles/icons/NavProdIcon.d.ts.map +1 -0
- package/dist/styles/icons/NavResourcesIcon.d.ts +11 -0
- package/dist/styles/icons/NavResourcesIcon.d.ts.map +1 -0
- package/dist/styles/icons/NavSalesIcon.d.ts +11 -0
- package/dist/styles/icons/NavSalesIcon.d.ts.map +1 -0
- package/dist/styles/icons/NextPrevIcon.d.ts +11 -0
- package/dist/styles/icons/NextPrevIcon.d.ts.map +1 -0
- package/dist/styles/icons/WarningIcon.d.ts +7 -0
- package/dist/styles/icons/WarningIcon.d.ts.map +1 -0
- package/dist/styles/icons/index.d.ts +10 -0
- package/dist/styles/icons/index.d.ts.map +1 -1
- package/dist/styles/index.d.ts +3 -0
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/tables/SimpleWindowedTable.d.ts +22 -0
- package/dist/styles/tables/SimpleWindowedTable.d.ts.map +1 -0
- package/dist/styles/tables/index.d.ts +3 -0
- package/dist/styles/tables/index.d.ts.map +1 -0
- package/dist/styles/tables/scrollbarWidth.d.ts +3 -0
- package/dist/styles/tables/scrollbarWidth.d.ts.map +1 -0
- package/dist/styles/tables/types.d.ts +16 -0
- package/dist/styles/tables/types.d.ts.map +1 -0
- package/package.json +4 -2
|
@@ -8,6 +8,7 @@ export declare type RowPropTypes = {
|
|
|
8
8
|
padded?: boolean;
|
|
9
9
|
start?: boolean;
|
|
10
10
|
end?: boolean;
|
|
11
|
+
middle?: boolean;
|
|
11
12
|
} & SharedStyleTypes;
|
|
12
13
|
export declare const Row: import("styled-components").StyledComponent<"div", any, RowPropTypes, never>;
|
|
13
14
|
export declare type ColPropTypes = SizerTypes & SharedStyleTypes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlexboxGrid.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/FlexboxGrid.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,UAAU,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAE/D,eAAO,MAAM,IAAI,kFAEhB,CAAC;AAEF,oBAAY,YAAY,GAAG;IACvB,OAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAI,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FlexboxGrid.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/FlexboxGrid.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,UAAU,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAE/D,eAAO,MAAM,IAAI,kFAEhB,CAAC;AAEF,oBAAY,YAAY,GAAG;IACvB,OAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,gBAAgB,CAAC;AAErB,eAAO,MAAM,GAAG,8EAef,CAAC;AAEF,oBAAY,YAAY,GAAG,UAAU,GAAG,gBAAgB,CAAC;AAEzD,eAAO,MAAM,GAAG,8EASf,CAAC"}
|
package/dist/styles/Input.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
import { StyledComponentProps } from 'styled-components';
|
|
3
3
|
import { SharedStyleTypes } from './SharedStyles';
|
|
4
4
|
export declare type InputProps = StyledComponentProps<'input', any, {}, never> & {
|
|
@@ -6,6 +6,8 @@ export declare type InputProps = StyledComponentProps<'input', any, {}, never> &
|
|
|
6
6
|
error?: boolean;
|
|
7
7
|
isPercent?: boolean;
|
|
8
8
|
};
|
|
9
|
+
export declare const InputIconLabel: import("styled-components").StyledComponent<"div", any, InputProps, never>;
|
|
10
|
+
export declare const InputIconLabelContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
11
|
export declare const Input: import("styled-components").StyledComponent<"input", any, Pick<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"> & {
|
|
10
12
|
ref?: ((instance: HTMLInputElement | null) => void) | React.RefObject<HTMLInputElement> | null | undefined;
|
|
11
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"> & {
|
|
@@ -60,10 +62,19 @@ export declare const LabeledRadioGroup: React.FC<RadioProps & {
|
|
|
60
62
|
value: any;
|
|
61
63
|
}];
|
|
62
64
|
}>;
|
|
63
|
-
export declare
|
|
64
|
-
|
|
65
|
+
export declare type LabeledCheckboxProps = {
|
|
66
|
+
checked?: boolean;
|
|
67
|
+
disabled?: boolean;
|
|
68
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
65
69
|
label: string | React.ReactNode;
|
|
66
|
-
name?: string
|
|
67
|
-
|
|
70
|
+
name?: string;
|
|
71
|
+
checkboxStyle?: CSSProperties;
|
|
72
|
+
labelStyle?: CSSProperties;
|
|
73
|
+
checkboxPosition?: string;
|
|
74
|
+
hoverByLabel?: boolean;
|
|
75
|
+
stopPropagation?: boolean;
|
|
76
|
+
[key: string]: any;
|
|
77
|
+
};
|
|
78
|
+
export declare const LabeledCheckbox: React.ForwardRefExoticComponent<Pick<LabeledCheckboxProps, string | number> & React.RefAttributes<HTMLInputElement>>;
|
|
68
79
|
export {};
|
|
69
80
|
//# 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,
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAoB,aAAa,EAAE,MAAM,OAAO,CAAA;AAC9D,OAAe,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAEhE,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIhE,oBAAY,UAAU,GAAG,oBAAoB,CAAC,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,KAAK,CAAC,GAAG;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAC,OAAO,CAAC;IAAC,SAAS,CAAC,EAAC,OAAO,CAAA;CAAC,CAAC;AAElI,eAAO,MAAM,cAAc,4EAY1B,CAAA;AAED,eAAO,MAAM,uBAAuB,oEAInC,CAAA;AAED,eAAO,MAAM,KAAK;;;;;;;;;;4BAsBjB,CAAC;AAGF,aAAK,oBAAoB,GAAG,UAAU,GAAG;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAAC,GAAG,gBAAgB,CAAC;AAChH,eAAO,MAAM,YAAY,sHAWxB,CAAA;AAED,eAAO,MAAM,UAAU;;SAuBtB,CAAC;AAEF,aAAK,UAAU,GAAG,oBAAoB,CAAC,OAAO,EAAE,GAAG,EAAE;IAAC,UAAU,CAAC,EAAE,OAAO,CAAA;CAAC,EAAE,KAAK,CAAC,CAAC;AACpF,eAAO,MAAM,KAAK;;;;;;;;;;SAmBjB,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,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;IACtD,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,CAAC;AACF,eAAO,MAAM,eAAe,sHAmC1B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SharedStyleTypes } from './SharedStyles';
|
|
3
|
+
declare type ProgressBarValue = {
|
|
4
|
+
value: number;
|
|
5
|
+
text?: (v?: string | number | Object) => string | number;
|
|
6
|
+
};
|
|
7
|
+
declare type ProgressBarsProps = React.PropsWithChildren<{
|
|
8
|
+
values: ProgressBarValue[];
|
|
9
|
+
max: number;
|
|
10
|
+
color?: string;
|
|
11
|
+
error?: string;
|
|
12
|
+
title?: string;
|
|
13
|
+
} & SharedStyleTypes>;
|
|
14
|
+
declare const MultiProgress: ({ labeled, error, title, values, max: maxVal, ...props }: {
|
|
15
|
+
values: ProgressBarValue[];
|
|
16
|
+
max: number;
|
|
17
|
+
color?: string | undefined;
|
|
18
|
+
error?: string | undefined;
|
|
19
|
+
title?: string | undefined;
|
|
20
|
+
} & SharedStyleTypes & {
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
} & {
|
|
23
|
+
labeled?: boolean | undefined;
|
|
24
|
+
}) => JSX.Element;
|
|
25
|
+
declare const LabeledMultiProgress: (props: ProgressBarsProps) => JSX.Element;
|
|
26
|
+
export { MultiProgress, LabeledMultiProgress };
|
|
27
|
+
//# sourceMappingURL=MultiProgress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultiProgress.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/MultiProgress.tsx"],"names":[],"mappings":"AACA,OAAO,KAAwC,MAAM,OAAO,CAAA;AAC5D,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;CAC1D,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;AAsDtB,QAAA,MAAM,aAAa;YA3DT,gBAAgB,EAAE;SACrB,MAAM;;;;;;;;iBA8FZ,CAAA;AAED,QAAA,MAAM,oBAAoB,UAAW,iBAAiB,gBASrD,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,CAAC"}
|
package/dist/styles/Sizer.d.ts
CHANGED
|
@@ -25,6 +25,10 @@ export declare type SizerTypes = {
|
|
|
25
25
|
mdStyle?: string;
|
|
26
26
|
lgStyle?: string;
|
|
27
27
|
xlStyle?: string;
|
|
28
|
+
start?: boolean;
|
|
29
|
+
end?: boolean;
|
|
30
|
+
center?: boolean;
|
|
31
|
+
totalCols?: number;
|
|
28
32
|
};
|
|
29
33
|
export declare const SizerCss: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<SizerTypes, any>>;
|
|
30
34
|
export declare const SizerWrapper: import("styled-components").StyledComponent<"div", any, SizerTypes, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sizer.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Sizer.tsx"],"names":[],"mappings":"AAGA,oBAAY,UAAU,GAAG;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,GAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,GAAC,MAAM,GAAC,OAAO,CAAC;IAC3B,EAAE,CAAC,EAAE,MAAM,GAAC,MAAM,GAAC,OAAO,CAAC;IAC3B,EAAE,CAAC,EAAE,MAAM,GAAC,MAAM,GAAC,OAAO,CAAC;IAC3B,EAAE,CAAC,EAAE,MAAM,GAAC,MAAM,GAAC,OAAO,CAAC;IAC3B,EAAE,CAAC,EAAE,MAAM,GAAC,MAAM,GAAC,OAAO,CAAC;IAC3B,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,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Sizer.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Sizer.tsx"],"names":[],"mappings":"AAGA,oBAAY,UAAU,GAAG;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,GAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,GAAC,MAAM,GAAC,OAAO,CAAC;IAC3B,EAAE,CAAC,EAAE,MAAM,GAAC,MAAM,GAAC,OAAO,CAAC;IAC3B,EAAE,CAAC,EAAE,MAAM,GAAC,MAAM,GAAC,OAAO,CAAC;IAC3B,EAAE,CAAC,EAAE,MAAM,GAAC,MAAM,GAAC,OAAO,CAAC;IAC3B,EAAE,CAAC,EAAE,MAAM,GAAC,MAAM,GAAC,OAAO,CAAC;IAC3B,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,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAIF,eAAO,MAAM,QAAQ,kHA+DpB,CAAC;AAEF,eAAO,MAAM,YAAY,4EAExB,CAAC"}
|
package/dist/styles/Tabs.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ 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
|
-
declare type TabType = {
|
|
14
|
+
export declare type TabType = {
|
|
15
15
|
label: string;
|
|
16
16
|
content: React.ReactNode;
|
|
17
17
|
onClick?: Function | VoidFunction;
|
|
@@ -20,7 +20,7 @@ declare type StateType = {
|
|
|
20
20
|
selectedTabIndex: number;
|
|
21
21
|
selectedTab: TabType;
|
|
22
22
|
};
|
|
23
|
-
declare type TabsProps = {
|
|
23
|
+
export declare type TabsProps = {
|
|
24
24
|
tabs: TabType[];
|
|
25
25
|
selectedTabIndex?: number;
|
|
26
26
|
padded?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Tabs.tsx"],"names":[],"mappings":"AACA,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,
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Tabs.tsx"],"names":[],"mappings":"AACA,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,OAAO,GAAG;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,OAAO,CAAC,EAAE,QAAQ,GAAC,YAAY,CAAA;CAAC,CAAC;AACjG,aAAK,SAAS,GAAG;IAAC,gBAAgB,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,OAAO,CAAA;CAAC,CAAC;AAClE,oBAAY,SAAS,GAAG;IAAE,IAAI,EAAE,OAAO,EAAE,CAAC;IAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,OAAO,QAAQ,CAAA;CAAE,CAAC;AACvH,cAAM,IAAK,SAAQ,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC;gBACpC,KAAK,EAAE,SAAS;IAQ5B,iBAAiB;IAKjB,MAAM;CAkBP;AAED,OAAO,EAAC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAC,CAAC"}
|
package/dist/styles/Task.d.ts
CHANGED
|
@@ -1,11 +1,33 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SharedStyleTypes } from './SharedStyles';
|
|
3
|
-
declare const
|
|
3
|
+
declare const TaskLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
declare const TaskName: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
declare const StyledTask: import("styled-components").StyledComponent<"div", any, SharedStyleTypes, never>;
|
|
6
|
+
declare const TaskBody: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare type TaskProps = {
|
|
4
8
|
taskName: string;
|
|
5
|
-
date
|
|
9
|
+
date?: string;
|
|
6
10
|
done?: boolean;
|
|
7
11
|
assignee?: string;
|
|
8
|
-
taskBody: string;
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
taskBody: string | React.ReactNode;
|
|
13
|
+
checked?: boolean;
|
|
14
|
+
onClickCheckbox?: (checked?: boolean) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const Task: ({ taskName, date, done, assignee, taskBody, initialChecked, onClickCheckbox, ...props }: React.PropsWithChildren<TaskProps & SharedStyleTypes>) => JSX.Element;
|
|
17
|
+
declare const StyledCalendarTaskBody: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
18
|
+
export declare type CalendarTaskProps = {
|
|
19
|
+
id?: string;
|
|
20
|
+
title: string;
|
|
21
|
+
description: string | React.ReactNode;
|
|
22
|
+
date?: Date;
|
|
23
|
+
completed?: boolean;
|
|
24
|
+
colorType?: string;
|
|
25
|
+
assignee?: string;
|
|
26
|
+
checked?: boolean;
|
|
27
|
+
overdue?: boolean;
|
|
28
|
+
onClickCheckbox?: (checked?: boolean) => any;
|
|
29
|
+
isDescriptionHtml?: boolean;
|
|
30
|
+
};
|
|
31
|
+
declare const CalendarTask: React.ForwardRefExoticComponent<Pick<CalendarTaskProps & SharedStyleTypes, string | number> & React.RefAttributes<HTMLInputElement>>;
|
|
32
|
+
export { Task, StyledTask, TaskLabel, TaskName, TaskBody, StyledCalendarTaskBody, CalendarTask, };
|
|
11
33
|
//# sourceMappingURL=Task.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Task.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Task.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAGlD,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAE/D,QAAA,MAAM,SAAS,oEAAoE,CAAA;AACnF,QAAA,MAAM,QAAQ,oEAA4C,CAAA;AAC1D,QAAA,MAAM,UAAU,kFAAsE,CAAA;AACtF,QAAA,MAAM,QAAQ,oEAAgC,CAAA;AAE9C,oBAAY,SAAS,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,OAAO,KAAK,GAAG,CAAC;CAC9C,CAAC;AACF,QAAA,MAAM,IAAI,4FASP,KAAK,CAAC,iBAAiB,CAAC,SAAS,GAAG,gBAAgB,CAAC,gBAqBvD,CAAA;AAED,QAAA,MAAM,sBAAsB,qEAG3B,CAAC;AAWF,oBAAY,iBAAiB,GAAG;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACtC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,OAAO,KAAK,GAAG,CAAC;IAC7C,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,QAAA,MAAM,YAAY,sIAgEhB,CAAC;AAEH,OAAO,EACL,IAAI,EACJ,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,sBAAsB,EACtB,YAAY,GACb,CAAC"}
|
package/dist/styles/Text.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SharedStyleTypes } from './SharedStyles';
|
|
3
3
|
export declare const Text: import("styled-components").StyledComponent<"span", any, {
|
|
4
|
-
color?: "transparent" | "white" | "black" | "primary" | "cta" | "primary0" | "primary10" | "primary100" | "disabledButton" | "disabledButtonBorder" | "texttitle" | "textlabel" | "textbody" | "textplaceholder" | "bggray" | "bgblue" | "inputBorder" | "special1" | "special2" | "special3" | "primaryBg" | "special2Bg" | "error" | undefined;
|
|
4
|
+
color?: "transparent" | "white" | "black" | "primary" | "cta" | "primary0" | "primary10" | "primary100" | "disabledButton" | "disabledButtonBorder" | "texttitle" | "textlabel" | "textbody" | "textplaceholder" | "bggray" | "bgblue" | "inputBorder" | "special1" | "special2" | "special3" | "primaryBg" | "special2Bg" | "error" | "primary2" | "primary20" | "primary200" | undefined;
|
|
5
5
|
} & SharedStyleTypes, never>;
|
|
6
6
|
export declare const Link: import("styled-components").StyledComponent<React.FC<({
|
|
7
7
|
highlight?: boolean | undefined;
|
package/dist/styles/Theme.d.ts
CHANGED
|
@@ -23,6 +23,9 @@ export declare const colors: {
|
|
|
23
23
|
special2Bg: string;
|
|
24
24
|
transparent: string;
|
|
25
25
|
error: string;
|
|
26
|
+
primary2: string;
|
|
27
|
+
primary20: string;
|
|
28
|
+
primary200: string;
|
|
26
29
|
};
|
|
27
30
|
export declare const fonts: string[];
|
|
28
31
|
export declare const fontSizes: {
|
|
@@ -56,6 +59,9 @@ export declare const themeOptions: {
|
|
|
56
59
|
special2Bg: string;
|
|
57
60
|
transparent: string;
|
|
58
61
|
error: string;
|
|
62
|
+
primary2: string;
|
|
63
|
+
primary20: string;
|
|
64
|
+
primary200: string;
|
|
59
65
|
};
|
|
60
66
|
fonts: string[];
|
|
61
67
|
fontFamily: string;
|
|
@@ -65,6 +71,19 @@ export declare const themeOptions: {
|
|
|
65
71
|
medium: string;
|
|
66
72
|
large: string;
|
|
67
73
|
};
|
|
74
|
+
space: {
|
|
75
|
+
0: string;
|
|
76
|
+
1: string;
|
|
77
|
+
2: string;
|
|
78
|
+
3: string;
|
|
79
|
+
4: string;
|
|
80
|
+
5: string;
|
|
81
|
+
6: string;
|
|
82
|
+
7: string;
|
|
83
|
+
8: string;
|
|
84
|
+
9: string;
|
|
85
|
+
10: string;
|
|
86
|
+
};
|
|
68
87
|
};
|
|
69
88
|
export declare function getColor(color?: string, def?: string): string;
|
|
70
89
|
export declare function getFontSize(value?: string, def?: string): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Theme.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Theme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"Theme.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Theme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BlB,CAAC;AACF,eAAO,MAAM,KAAK,UAAiD,CAAC;AACpE,eAAO,MAAM,SAAS;;;;;CAKrB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBxB,CAAA;AAED,wBAAgB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAG7D;AAED,wBAAgB,WAAW,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAGhE;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,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,CAgB1H;AAID,QAAA,MAAM,KAAK;;;kBAUV,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CSSObject } from 'styled-components';
|
|
3
|
+
export declare type CalendarHeaderComponentProps = {
|
|
4
|
+
onNextWeek: VoidFunction;
|
|
5
|
+
onPrevWeek: VoidFunction;
|
|
6
|
+
onNextMonth: VoidFunction;
|
|
7
|
+
onPrevMonth: VoidFunction;
|
|
8
|
+
currentMonth: Date;
|
|
9
|
+
currentWeek: number;
|
|
10
|
+
selectedDate: Date;
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
export declare type CalendarProps = {
|
|
14
|
+
components?: {
|
|
15
|
+
Header?: (props: React.PropsWithChildren<CalendarHeaderComponentProps>) => React.ReactElement;
|
|
16
|
+
Footer?: (props: React.PropsWithChildren<CalendarHeaderComponentProps>) => React.ReactElement;
|
|
17
|
+
DayBody?: (props: React.PropsWithChildren<{
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}>) => React.ReactElement;
|
|
20
|
+
};
|
|
21
|
+
showHeader?: boolean;
|
|
22
|
+
showFooter?: boolean;
|
|
23
|
+
extraProps?: {
|
|
24
|
+
dayBody?: CSSObject | {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
};
|
|
27
|
+
header?: CSSObject | {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
};
|
|
30
|
+
footer?: CSSObject | {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
declare const Calendar: ({ components, extraProps, ...props }: CalendarProps) => JSX.Element;
|
|
36
|
+
export default Calendar;
|
|
37
|
+
//# sourceMappingURL=Calendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/Calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAU9C,oBAAY,4BAA4B,GAAG;IACvC,UAAU,EAAE,YAAY,CAAC;IACzB,UAAU,EAAE,YAAY,CAAC;IACzB,WAAW,EAAE,YAAY,CAAC;IAC1B,WAAW,EAAE,YAAY,CAAC;IAC1B,YAAY,EAAE,IAAI,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,IAAI,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB,CAAC;AAEF,oBAAY,aAAa,GAAG;IACxB,UAAU,CAAC,EAAE;QACT,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,4BAA4B,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;QAC9F,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,4BAA4B,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;QAC9F,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAE,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;KAC5F,CAAC;IACF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE;QACT,OAAO,CAAC,EAAE,SAAS,GAAG;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAE,CAAC;QAC7C,MAAM,CAAC,EAAE,SAAS,GAAG;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAE,CAAC;QAC5C,MAAM,CAAC,EAAE,SAAS,GAAG;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAE,CAAC;KAC/C,CAAC;CACL,CAAC;AACF,QAAA,MAAM,QAAQ,yCAA+C,aAAa,gBAwEzE,CAAA;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type CalendarDayBodyProps = React.PropsWithChildren<{
|
|
3
|
+
day: Date;
|
|
4
|
+
selectedDate: Date;
|
|
5
|
+
onClick: Function;
|
|
6
|
+
weekend?: boolean;
|
|
7
|
+
}>;
|
|
8
|
+
declare const CalendarDayBody: ({ day, selectedDate, onClick, children, weekend, ...props }: CalendarDayBodyProps) => JSX.Element;
|
|
9
|
+
export default CalendarDayBody;
|
|
10
|
+
//# sourceMappingURL=CalendarDayBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarDayBody.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/CalendarDayBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,aAAK,oBAAoB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAAE,GAAG,EAAE,IAAI,CAAC;IAAC,YAAY,EAAE,IAAI,CAAC;IAAC,OAAO,EAAE,QAAQ,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAE7H,QAAA,MAAM,eAAe,gEAAiE,oBAAoB,gBAqBzG,CAAA;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CSSObject } from 'styled-components';
|
|
3
|
+
declare type CalendarDaysBodyProps = {
|
|
4
|
+
days: Array<{
|
|
5
|
+
__id__: string;
|
|
6
|
+
day: Date;
|
|
7
|
+
}>;
|
|
8
|
+
currentMonth: Date;
|
|
9
|
+
selectedDate: Date;
|
|
10
|
+
onClickDay?: (day: Date) => any;
|
|
11
|
+
dayBodyProps?: CSSObject | {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
weekend?: boolean;
|
|
15
|
+
components?: {
|
|
16
|
+
DayBody?: (props: React.PropsWithChildren<{
|
|
17
|
+
day: Date;
|
|
18
|
+
selectedDate: Date;
|
|
19
|
+
onClick: React.MouseEventHandler;
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}>) => React.ReactElement;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
declare const CalendarDaysBody: ({ days, currentMonth, selectedDate, onClickDay, components, dayBodyProps, weekend, ...props }: CalendarDaysBodyProps) => JSX.Element;
|
|
25
|
+
export default CalendarDaysBody;
|
|
26
|
+
//# sourceMappingURL=CalendarDaysBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarDaysBody.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/CalendarDaysBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAM9C,aAAK,qBAAqB,GAAG;IACzB,IAAI,EAAE,KAAK,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,IAAI,CAAA;KAAC,CAAC,CAAC;IACzC,YAAY,EAAE,IAAI,CAAC;IACnB,YAAY,EAAE,IAAI,CAAC;IACnB,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,IAAI,KAAK,GAAG,CAAC;IAChC,YAAY,CAAC,EAAE,SAAS,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAClD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE;QACT,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC;YAAC,GAAG,EAAE,IAAI,CAAC;YAAC,YAAY,EAAE,IAAI,CAAC;YAAC,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC;YAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAC,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;KAC3J,CAAC;CACL,CAAC;AAEF,QAAA,MAAM,gBAAgB,kGAA8G,qBAAqB,gBAyBxJ,CAAA;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const CalendarDaysHeader: ({ currentMonth, selectedDate, weekend }: {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
currentMonth: Date;
|
|
5
|
+
selectedDate: Date;
|
|
6
|
+
weekend: boolean;
|
|
7
|
+
}) => JSX.Element;
|
|
8
|
+
export default CalendarDaysHeader;
|
|
9
|
+
//# sourceMappingURL=CalendarDaysHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarDaysHeader.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/CalendarDaysHeader.tsx"],"names":[],"mappings":";AAOA,QAAA,MAAM,kBAAkB;;kBAIL,IAAI;kBAAgB,IAAI;aAAW,OAAO;iBAqB5D,CAAA;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarWrapper.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/CalendarWrapper.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,eAAe,oEAWpB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DaysBodyWrapper.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/DaysBodyWrapper.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,eAAe,oEAQpB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DaysHeaderWrapper.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/DaysHeaderWrapper.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,iBAAiB,uGAOtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultCalendarFooter.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/DefaultCalendarFooter.tsx"],"names":[],"mappings":";AAIA,QAAA,MAAM,qBAAqB;iBAET,MAAM;iBAMvB,CAAA;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const DefaultCalendarHeader: ({ onPrevWeek, onNextWeek, currentMonth, }: {
|
|
3
|
+
onPrevWeek: React.MouseEventHandler;
|
|
4
|
+
onNextWeek: React.MouseEventHandler;
|
|
5
|
+
currentMonth: Date;
|
|
6
|
+
}) => JSX.Element;
|
|
7
|
+
export default DefaultCalendarHeader;
|
|
8
|
+
//# sourceMappingURL=DefaultCalendarHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultCalendarHeader.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/DefaultCalendarHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,QAAA,MAAM,qBAAqB;gBAKX,KAAK,CAAC,iBAAiB;gBACvB,KAAK,CAAC,iBAAiB;kBACrB,IAAI;iBAwBrB,CAAA;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CalendarTaskProps } from '../Task';
|
|
3
|
+
import { onUpdateTaskFunc, onClickTaskFunc } from './types';
|
|
4
|
+
export declare type DraggableCalendarFooterTasksProps = {
|
|
5
|
+
onNextWeek: VoidFunction;
|
|
6
|
+
onPrevWeek: VoidFunction;
|
|
7
|
+
onNextMonth: VoidFunction;
|
|
8
|
+
onPrevMonth: VoidFunction;
|
|
9
|
+
currentMonth: Date;
|
|
10
|
+
currentWeek: number;
|
|
11
|
+
selectedDate: Date;
|
|
12
|
+
onClickTask?: onClickTaskFunc;
|
|
13
|
+
onUpdateTask?: onUpdateTaskFunc;
|
|
14
|
+
tasks: Array<CalendarTaskProps>;
|
|
15
|
+
};
|
|
16
|
+
export declare const DraggableCalendarFooterTasks: ({ onClickTask, onUpdateTask, tasks, }: React.PropsWithChildren<DraggableCalendarFooterTasksProps>) => JSX.Element;
|
|
17
|
+
export default DraggableCalendarFooterTasks;
|
|
18
|
+
//# sourceMappingURL=DraggableCalendarFooterTasks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DraggableCalendarFooterTasks.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/DraggableCalendarFooterTasks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAgB,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAG1D,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE5D,oBAAY,iCAAiC,GAAG;IAC5C,UAAU,EAAE,YAAY,CAAC;IACzB,UAAU,EAAE,YAAY,CAAC;IACzB,WAAW,EAAE,YAAY,CAAC;IAC1B,WAAW,EAAE,YAAY,CAAC;IAC1B,YAAY,EAAE,IAAI,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,IAAI,CAAC;IACnB,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACnC,CAAC;AACF,eAAO,MAAM,4BAA4B,0CAItC,KAAK,CAAC,iBAAiB,CAAC,iCAAiC,CAAC,gBAyC5D,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { NewCalendarTaskProps, onClickTaskFunc, onUpdateTaskFunc } from './types';
|
|
3
|
+
export declare type DraggableTaskBodyProps = {
|
|
4
|
+
index: number;
|
|
5
|
+
onClickTask?: onClickTaskFunc;
|
|
6
|
+
onUpdateTask?: onUpdateTaskFunc;
|
|
7
|
+
task: NewCalendarTaskProps;
|
|
8
|
+
};
|
|
9
|
+
declare const DraggableTaskBody: ({ index, task, onUpdateTask, onClickTask, }: DraggableTaskBodyProps) => JSX.Element;
|
|
10
|
+
export default DraggableTaskBody;
|
|
11
|
+
//# sourceMappingURL=DraggableTaskBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DraggableTaskBody.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/DraggableTaskBody.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAElF,oBAAY,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,IAAI,EAAE,oBAAoB,CAAC;CAC5B,CAAC;AACF,QAAA,MAAM,iBAAiB,gDAEpB,sBAAsB,gBA8BxB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CalendarTaskProps } from '../Task';
|
|
3
|
+
import { CalendarProps } from './Calendar';
|
|
4
|
+
import { TabType } from '../Tabs';
|
|
5
|
+
import { useCalendarProps } from '../hooks/useCalendar';
|
|
6
|
+
import { onClickTaskFunc, onUpdateTaskFunc } from './types';
|
|
7
|
+
export declare type DraggableTasksCalendarProps = CalendarProps & {
|
|
8
|
+
tasks: Array<CalendarTaskProps>;
|
|
9
|
+
onUpdateTask: onUpdateTaskFunc;
|
|
10
|
+
onClickTask?: onClickTaskFunc;
|
|
11
|
+
headerTabs?: Array<TabType>;
|
|
12
|
+
footerTasks?: Array<CalendarTaskProps>;
|
|
13
|
+
weekend?: boolean;
|
|
14
|
+
components?: {
|
|
15
|
+
Header?: (props: React.PropsWithChildren<{
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}>) => React.ReactElement;
|
|
18
|
+
Footer?: (props: React.PropsWithChildren<{
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}>) => React.ReactElement;
|
|
21
|
+
};
|
|
22
|
+
onToggleWeekend?: (weekend: boolean) => void;
|
|
23
|
+
showAddTaskBtn?: boolean;
|
|
24
|
+
onClickAddTask?: VoidFunction;
|
|
25
|
+
loading?: boolean;
|
|
26
|
+
} & useCalendarProps;
|
|
27
|
+
declare const DraggableTasksCalendar: ({ tasks, onUpdateTask, onClickTask, headerTabs, footerTasks, components, weekend, onChangeWeek, onChangeMonth, onToggleWeekend, showAddTaskBtn, onClickAddTask, loading, ...props }: DraggableTasksCalendarProps) => JSX.Element;
|
|
28
|
+
export default DraggableTasksCalendar;
|
|
29
|
+
//# sourceMappingURL=DraggableTasksCalendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DraggableTasksCalendar.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/DraggableTasksCalendar.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAE,iBAAiB,EAAG,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AASlC,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,EAAc,eAAe,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAExE,oBAAY,2BAA2B,GAAG,aAAa,GAAG;IACxD,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IAChC,YAAY,EAAE,gBAAgB,CAAC;IAC/B,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAC5B,WAAW,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE;QACX,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAE,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;QACxF,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAE,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;KACzF,CAAC;IACF,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,gBAAgB,CAAC;AAOrB,QAAA,MAAM,sBAAsB,wLAezB,2BAA2B,gBAgO7B,CAAA;AAED,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DaysObject, onClickTaskFunc, onUpdateTaskFunc } from './types';
|
|
3
|
+
export declare type DroppableDaysProps = {
|
|
4
|
+
days: DaysObject;
|
|
5
|
+
selectedDate: Date;
|
|
6
|
+
onClickTask?: onClickTaskFunc;
|
|
7
|
+
onUpdateTask?: onUpdateTaskFunc;
|
|
8
|
+
onClickDay: (day: any) => void;
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
weekend?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const DroppableDays: ({ days, selectedDate, onUpdateTask, onClickDay, onClickTask, weekend, ...props }: DroppableDaysProps) => JSX.Element;
|
|
13
|
+
export default DroppableDays;
|
|
14
|
+
//# sourceMappingURL=DroppableDays.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DroppableDays.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/DroppableDays.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAExE,oBAAY,kBAAkB,GAAG;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,YAAY,EAAE,IAAI,CAAC;IAAC,WAAW,CAAC,EAAE,eAAe,CAAC;IAAC,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAAC,UAAU,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAC;CAAE,CAAC;AAClN,QAAA,MAAM,aAAa,qFAAoF,kBAAkB,gBAgCxH,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CalendarTaskProps } from '../Task';
|
|
3
|
+
import { onClickTaskFunc, onUpdateTaskFunc } from './types';
|
|
4
|
+
declare type DroppableFooterProps = {
|
|
5
|
+
onNextWeek: () => void;
|
|
6
|
+
onPrevWeek: () => void;
|
|
7
|
+
onNextMonth: () => void;
|
|
8
|
+
onPrevMonth: () => void;
|
|
9
|
+
currentMonth: Date;
|
|
10
|
+
currentWeek: number;
|
|
11
|
+
selectedDate: Date;
|
|
12
|
+
onClickTask?: onClickTaskFunc;
|
|
13
|
+
onUpdateTask?: onUpdateTaskFunc;
|
|
14
|
+
tasks: Array<CalendarTaskProps>;
|
|
15
|
+
};
|
|
16
|
+
declare const DroppableFooter: ({ tasks, ...props }: DroppableFooterProps) => JSX.Element;
|
|
17
|
+
export default DroppableFooter;
|
|
18
|
+
//# sourceMappingURL=DroppableFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DroppableFooter.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/DroppableFooter.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,iBAAiB,EAAG,MAAM,SAAS,CAAC;AAG7C,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE5D,aAAK,oBAAoB,GAAG;IAC1B,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,EAAE,IAAI,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,IAAI,CAAC;IACnB,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACjC,CAAC;AACF,QAAA,MAAM,eAAe,wBAAuB,oBAAoB,gBAW/D,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderWrapper.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/HeaderWrapper.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,aAAa,uGAOlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const StyledDayBody: import("styled-components").StyledComponent<"div", any, import("..").SizerTypes & import("..").SharedStyleTypes & {
|
|
2
|
+
selected?: boolean | undefined;
|
|
3
|
+
today?: boolean | undefined;
|
|
4
|
+
row?: boolean | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
}, never>;
|
|
7
|
+
export default StyledDayBody;
|
|
8
|
+
//# sourceMappingURL=StyledDayBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StyledDayBody.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/calendar/StyledDayBody.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,aAAa;;;;;SAoClB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|