@ornikar/kitt-universal 3.8.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts +1 -1
- package/dist/definitions/IconButton/IconButton.d.ts +5 -1
- package/dist/definitions/IconButton/IconButton.d.ts.map +1 -1
- package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts +4 -1
- package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts.map +1 -1
- package/dist/definitions/IconButton/PressableIconButton.d.ts +1 -1
- package/dist/definitions/IconButton/PressableIconButton.d.ts.map +1 -1
- package/dist/definitions/TimePicker/TimePicker.d.ts +1 -1
- package/dist/definitions/TimePicker/TimePicker.d.ts.map +1 -1
- package/dist/definitions/TimePicker/useTimePicker.d.ts +2 -4
- package/dist/definitions/TimePicker/useTimePicker.d.ts.map +1 -1
- package/dist/definitions/forms/InputFeedback/InputFeedback.d.ts +1 -1
- package/dist/definitions/forms/InputFeedback/InputFeedback.d.ts.map +1 -1
- package/dist/definitions/forms/InputIcon/InputIcon.d.ts +9 -0
- package/dist/definitions/forms/InputIcon/InputIcon.d.ts.map +1 -0
- package/dist/definitions/forms/InputPassword/InputPassword.d.ts +7 -0
- package/dist/definitions/forms/InputPassword/InputPassword.d.ts.map +1 -0
- package/dist/definitions/forms/InputPressable/InputPressable.d.ts +6 -0
- package/dist/definitions/forms/InputPressable/InputPressable.d.ts.map +1 -0
- package/dist/definitions/forms/InputText/InputText.d.ts +4 -12
- package/dist/definitions/forms/InputText/InputText.d.ts.map +1 -1
- package/dist/definitions/forms/TextArea/TextArea.d.ts +1 -1
- package/dist/definitions/forms/TextArea/TextArea.d.ts.map +1 -1
- package/dist/definitions/forms/styledTextInputMixin.d.ts +7 -0
- package/dist/definitions/forms/styledTextInputMixin.d.ts.map +1 -0
- package/dist/definitions/forms/utils.d.ts +10 -0
- package/dist/definitions/forms/utils.d.ts.map +1 -0
- package/dist/definitions/index.d.ts +10 -2
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +2 -13
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/forms.d.ts +26 -0
- package/dist/definitions/themes/late-ocean/forms.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/input.d.ts +26 -0
- package/dist/definitions/themes/late-ocean/input.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/textArea.d.ts +5 -0
- package/dist/definitions/themes/late-ocean/textArea.d.ts.map +1 -0
- package/dist/index-browser-all.es.android.js +336 -293
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js +336 -293
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +348 -300
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +346 -304
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js +265 -219
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.js +256 -215
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.android.js +119 -106
- package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.ios.js +119 -106
- package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.js +119 -106
- package/dist/linaria-themes-browser-all.es.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.web.js +119 -106
- package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
- package/dist/linaria-themes-node-14.17.cjs.js +115 -102
- package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-14.17.cjs.web.js +115 -102
- package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/linaria-themes.js +1 -1
- package/package.json +5 -2
- package/typings/react-native-web.d.ts +67 -0
- package/dist/definitions/forms/InputFormState.d.ts +0 -2
- package/dist/definitions/forms/InputFormState.d.ts.map +0 -1
- package/dist/definitions/forms/InputText/useInputText.d.ts +0 -8
- package/dist/definitions/forms/InputText/useInputText.d.ts.map +0 -1
- package/dist/definitions/themes/late-ocean/formLateOceanTheme.d.ts +0 -37
- package/dist/definitions/themes/late-ocean/formLateOceanTheme.d.ts.map +0 -1
- package/dist/definitions/themes/late-ocean/inputLateOceanTheme.d.ts +0 -23
- package/dist/definitions/themes/late-ocean/inputLateOceanTheme.d.ts.map +0 -1
- package/linaria-themes.web.js +0 -3
|
@@ -11,7 +11,7 @@ interface AnimatedButtonPressableContainerProps {
|
|
|
11
11
|
}
|
|
12
12
|
export declare const AnimatedButtonPressableContainer: import("react").ForwardRefExoticComponent<Pick<import("type-fest").Except<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & AnimatedButtonPressableContainerProps & {
|
|
13
13
|
as?: import("react").ElementType<any> | undefined;
|
|
14
|
-
}, "theme">, "children" | "style" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "key" | "slot" | "title" | "hidden" | "color" | "as" | "
|
|
14
|
+
}, "theme">, "children" | "style" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "key" | "slot" | "title" | "hidden" | "color" | "as" | "onError" | "onLoad" | "onLoadStart" | "onProgress" | "$isStretch" | "$type" | "onBlur" | "onFocus" | "$isDisabled" | "className" | "$isSubtle" | "id" | "autoCapitalize" | "autoCorrect" | "defaultValue" | "onChange" | "onScroll" | "onKeyPress" | "placeholder" | "spellCheck" | "aria-checked" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "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" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css"> & import("react").RefAttributes<unknown>>;
|
|
15
15
|
export declare const AnimatedButtonPressable: import("react").ForwardRefExoticComponent<AnimatedButtonPressableProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=AnimatedButtonPressable.web.d.ts.map
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
|
+
import type { AccessibilityRole } from 'react-native';
|
|
2
3
|
export interface IconButtonContentProps {
|
|
3
4
|
icon: NonNullable<ReactElement>;
|
|
4
5
|
color?: 'black' | 'white';
|
|
5
6
|
disabled?: boolean;
|
|
7
|
+
testID?: string;
|
|
8
|
+
accessibilityLabel?: string;
|
|
9
|
+
accessibilityRole?: AccessibilityRole;
|
|
6
10
|
}
|
|
7
11
|
export interface IconButtonProps extends IconButtonContentProps {
|
|
8
12
|
onPress: () => void;
|
|
9
13
|
}
|
|
10
|
-
export declare function IconButton({ icon, color, disabled, onPress }: IconButtonProps): ReactElement;
|
|
14
|
+
export declare function IconButton({ icon, color, disabled, testID, accessibilityLabel, accessibilityRole, onPress, }: IconButtonProps): ReactElement;
|
|
11
15
|
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAmBtD,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAUD,MAAM,WAAW,eAAgB,SAAQ,sBAAsB;IAC7D,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,MAAM,EACN,kBAAkB,EAClB,iBAAiB,EACjB,OAAO,GACR,EAAE,eAAe,GAAG,YAAY,CAahC"}
|
|
@@ -5,7 +5,10 @@ export interface PressableAnimatedContainerProps {
|
|
|
5
5
|
children: NonNullable<ReactNode>;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
color: IconButtonContentProps['color'];
|
|
8
|
+
testID?: IconButtonContentProps['testID'];
|
|
9
|
+
accessibilityLabel?: IconButtonContentProps['accessibilityLabel'];
|
|
10
|
+
accessibilityRole?: IconButtonContentProps['accessibilityRole'];
|
|
8
11
|
onPress: NonNullable<PressableIconButtonProps['onPress']>;
|
|
9
12
|
}
|
|
10
|
-
export declare function PressableAnimatedContainer({ disabled, color, children, onPress, }: PressableAnimatedContainerProps): ReactElement;
|
|
13
|
+
export declare function PressableAnimatedContainer({ disabled, color, testID, accessibilityRole, accessibilityLabel, children, onPress, }: PressableAnimatedContainerProps): ReactElement;
|
|
11
14
|
//# sourceMappingURL=PressableAnimatedContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PressableAnimatedContainer.d.ts","sourceRoot":"","sources":["../../../src/IconButton/PressableAnimatedContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,s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B,EAC5B,kBAAkB,EAClB,QAAQ,EACR,OAAO,GACR,EAAE,+BAA+B,GAAG,YAAY,CA+ChD"}
|
|
@@ -4,5 +4,5 @@ import type { IconButtonContentProps } from './IconButton';
|
|
|
4
4
|
export interface PressableIconButtonProps extends PressableProps {
|
|
5
5
|
color: IconButtonContentProps['color'];
|
|
6
6
|
}
|
|
7
|
-
export declare function PressableIconButton({ color, ...props }: PressableIconButtonProps): ReactElement;
|
|
7
|
+
export declare function PressableIconButton({ color, disabled, ...props }: PressableIconButtonProps): ReactElement;
|
|
8
8
|
//# sourceMappingURL=PressableIconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PressableIconButton.d.ts","sourceRoot":"","sources":["../../../src/IconButton/PressableIconButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAOnD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"PressableIconButton.d.ts","sourceRoot":"","sources":["../../../src/IconButton/PressableIconButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAOnD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AA8E3D,MAAM,WAAW,wBAAyB,SAAQ,cAAc;IAC9D,KAAK,EAAE,sBAAsB,CAAC,OAAO,CAAC,CAAC;CACxC;AAED,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,GAAG,YAAY,CAMzG"}
|
|
@@ -3,7 +3,7 @@ import type { ReactElement, ReactNode } from 'react';
|
|
|
3
3
|
export declare type TimePickerValue = Date | null | undefined;
|
|
4
4
|
export interface TimePickerProps {
|
|
5
5
|
title?: ReactNode;
|
|
6
|
-
state?: TextInputMixinProps['state'];
|
|
6
|
+
state?: TextInputMixinProps['$state'];
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
forceDefaultValue?: TimePickerValue;
|
|
9
9
|
value?: Date | '' | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../src/TimePicker/TimePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../src/TimePicker/TimePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAkBrD,oBAAY,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;AAEtD,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,eAAe,CAAC;IACpC,KAAK,CAAC,EAAE,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IAC1C,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,KAAiB,EACjB,QAAgB,EAChB,iBAAiB,EACjB,KAAK,EACL,mBAAmB,EACnB,QAAQ,EACR,MAAM,GACP,EAAE,eAAe,GAAG,YAAY,CA4ChC"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { InputUIState } from '@ornikar/kitt-universal';
|
|
2
2
|
export declare const timePickerPlaceholder = "--:--";
|
|
3
|
-
declare type TimePickerState = InputTextState;
|
|
4
3
|
export declare const useTimePicker: (value: Date | null, onChange: (time?: Date | null | undefined) => void, onBlur: () => void, disabled: boolean, defaultValue?: Date | null | undefined) => {
|
|
5
4
|
displayedValue: string;
|
|
6
5
|
dateTimePickerValue: Date;
|
|
7
|
-
timePickerState:
|
|
6
|
+
timePickerState: InputUIState;
|
|
8
7
|
isTimePickerModalVisible: boolean;
|
|
9
8
|
handleInputPress: () => void;
|
|
10
9
|
handleModalClose: () => void;
|
|
11
10
|
handleTimeChange: (date?: Date | undefined) => void;
|
|
12
11
|
};
|
|
13
|
-
export {};
|
|
14
12
|
//# sourceMappingURL=useTimePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTimePicker.d.ts","sourceRoot":"","sources":["../../../src/TimePicker/useTimePicker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useTimePicker.d.ts","sourceRoot":"","sources":["../../../src/TimePicker/useTimePicker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAG5D,eAAO,MAAM,qBAAqB,UAAU,CAAC;AAE7C,eAAO,MAAM,aAAa,UACjB,IAAI,GAAG,IAAI,gDACgB,IAAI,UAC9B,MAAM,IAAI,YACR,OAAO;oBAGD,MAAM;yBACD,IAAI;qBACR,YAAY;8BACH,OAAO;sBACf,MAAM,IAAI;sBACV,MAAM,IAAI;mDACO,IAAI;CAwCxC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import type { TypographyProps } from '../../typography/Typography';
|
|
3
|
-
import type { InputFormState } from '../
|
|
3
|
+
import type { InputFormState } from '../utils';
|
|
4
4
|
export interface InputFeedbackProps {
|
|
5
5
|
state?: InputFormState;
|
|
6
6
|
testID?: TypographyProps['testID'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputFeedback.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputFeedback/InputFeedback.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAmB,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAEpF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"InputFeedback.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputFeedback/InputFeedback.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAmB,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAEpF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,MAAM,CAAC,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAC;IACnC,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAClC;AAYD,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,kBAAkB,GAAG,YAAY,CAM3F"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { InputFormState } from 'forms/utils';
|
|
3
|
+
export interface InputIconProps {
|
|
4
|
+
icon: NonNullable<ReactElement>;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
state?: InputFormState;
|
|
7
|
+
}
|
|
8
|
+
export declare function InputIcon({ icon, state, disabled }: InputIconProps): ReactElement;
|
|
9
|
+
//# sourceMappingURL=InputIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputIcon.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputIcon/InputIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAiBlD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB;AAED,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,cAAc,GAAG,YAAY,CAMjF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { InputTextProps } from '../InputText/InputText';
|
|
3
|
+
export interface InputPasswordProps extends InputTextProps {
|
|
4
|
+
isPasswordDefaultVisible?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare function InputPassword({ isPasswordDefaultVisible, right, ...props }: InputPasswordProps): ReactElement;
|
|
7
|
+
//# sourceMappingURL=InputPassword.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputPassword.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputPassword/InputPassword.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG7D,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,wBAAgB,aAAa,CAAC,EAAE,wBAAwB,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,GAAG,YAAY,CAmB7G"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { PressableProps } from 'react-native';
|
|
3
|
+
export interface InputPressableProps extends PressableProps {
|
|
4
|
+
}
|
|
5
|
+
export declare function InputPressable({ ...props }: InputPressableProps): ReactElement;
|
|
6
|
+
//# sourceMappingURL=InputPressable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputPressable.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputPressable/InputPressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAGnD,MAAM,WAAW,mBAAoB,SAAQ,cAAc;CAAG;AAE9D,wBAAgB,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,GAAG,YAAY,CAE9E"}
|
|
@@ -1,23 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference types="react" />
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
3
2
|
import type { TextInput as RNTextInput, TextInputProps as RNTextInputProps } from 'react-native';
|
|
4
|
-
import type { InputFormState } from '../
|
|
5
|
-
declare type InputTextType = 'text' | 'email' | 'password' | 'username';
|
|
6
|
-
export declare type InputTextState = 'default' | 'invalid' | 'disabled' | 'hover' | 'focus';
|
|
3
|
+
import type { InputFormState, InputUIState } from '../utils';
|
|
7
4
|
export interface InputTextProps extends Exclude<RNTextInputProps, 'nativeID'> {
|
|
8
5
|
id?: string;
|
|
9
6
|
name?: string;
|
|
10
7
|
disabled?: boolean;
|
|
11
|
-
type: InputTextType;
|
|
12
8
|
minHeight?: number;
|
|
13
9
|
state?: InputFormState;
|
|
10
|
+
right?: ReactNode;
|
|
14
11
|
/** @internal */
|
|
15
|
-
internalForceState?:
|
|
12
|
+
internalForceState?: InputUIState;
|
|
16
13
|
}
|
|
17
|
-
export interface TextInputMixinProps {
|
|
18
|
-
state: InputTextState;
|
|
19
|
-
}
|
|
20
|
-
export declare const styledTextInputMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<TextInputMixinProps, import("styled-components").DefaultTheme>>;
|
|
21
14
|
export declare const InputText: import("react").ForwardRefExoticComponent<InputTextProps & import("react").RefAttributes<RNTextInput>>;
|
|
22
|
-
export {};
|
|
23
15
|
//# sourceMappingURL=InputText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputText.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputText/InputText.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InputText.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputText/InputText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,SAAS,IAAI,WAAW,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAMjG,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG7D,MAAM,WAAW,cAAe,SAAQ,OAAO,CAAC,gBAAgB,EAAE,UAAU,CAAC;IAC3E,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,gBAAgB;IAChB,kBAAkB,CAAC,EAAE,YAAY,CAAC;CACnC;AAqCD,eAAO,MAAM,SAAS,wGAqDrB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
2
|
import type { InputTextProps } from '../InputText/InputText';
|
|
3
|
-
export interface TextAreaProps extends
|
|
3
|
+
export interface TextAreaProps extends InputTextProps {
|
|
4
4
|
}
|
|
5
5
|
export declare function TextArea({ ...props }: TextAreaProps): ReactElement;
|
|
6
6
|
//# sourceMappingURL=TextArea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/forms/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG7D,MAAM,WAAW,aAAc,SAAQ,
|
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/forms/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG7D,MAAM,WAAW,aAAc,SAAQ,cAAc;CAAG;AAExD,wBAAgB,QAAQ,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,GAAG,YAAY,CAIlE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
2
|
+
import type { InputUIState } from './utils';
|
|
3
|
+
export interface TextInputMixinProps {
|
|
4
|
+
$state: InputUIState;
|
|
5
|
+
}
|
|
6
|
+
export declare const styledTextInputMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<TextInputMixinProps, import("styled-components").DefaultTheme>>;
|
|
7
|
+
//# sourceMappingURL=styledTextInputMixin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styledTextInputMixin.d.ts","sourceRoot":"","sources":["../../../src/forms/styledTextInputMixin.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,YAAY,CAAC;CACtB;AAED,eAAO,MAAM,oBAAoB,gKAiBhC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare type InputFormState = undefined | 'valid' | 'invalid' | 'pending';
|
|
2
|
+
export declare type InputUIState = NonNullable<InputFormState> | 'default' | 'disabled' | 'hover' | 'focus';
|
|
3
|
+
interface GetInputStateConfig {
|
|
4
|
+
isFocused: boolean;
|
|
5
|
+
isDisabled: boolean;
|
|
6
|
+
formState: InputFormState;
|
|
7
|
+
}
|
|
8
|
+
export declare function getInputUIState({ isFocused, isDisabled, formState }: GetInputStateConfig): InputUIState;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/forms/utils.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;AAEzE,oBAAY,YAAY,GAAG,WAAW,CAAC,cAAc,CAAC,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC;AAEpG,UAAU,mBAAmB;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,cAAc,CAAC;CAC3B;AAED,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,mBAAmB,GAAG,YAAY,CAQvG"}
|
|
@@ -12,14 +12,22 @@ export type { InputFeedbackProps } from './forms/InputFeedback/InputFeedback';
|
|
|
12
12
|
export { InputFeedback } from './forms/InputFeedback/InputFeedback';
|
|
13
13
|
export type { InputFieldProps } from './forms/InputField/InputField';
|
|
14
14
|
export { InputField } from './forms/InputField/InputField';
|
|
15
|
-
export type {
|
|
16
|
-
export {
|
|
15
|
+
export type { InputIconProps } from './forms/InputIcon/InputIcon';
|
|
16
|
+
export { InputIcon } from './forms/InputIcon/InputIcon';
|
|
17
|
+
export type { InputPasswordProps } from './forms/InputPassword/InputPassword';
|
|
18
|
+
export { InputPassword } from './forms/InputPassword/InputPassword';
|
|
19
|
+
export { InputPressable } from './forms/InputPressable/InputPressable';
|
|
20
|
+
export type { InputTextProps } from './forms/InputText/InputText';
|
|
21
|
+
export { InputText } from './forms/InputText/InputText';
|
|
17
22
|
export type { LabelProps } from './forms/Label/Label';
|
|
18
23
|
export { Label } from './forms/Label/Label';
|
|
19
24
|
export type { RadioProps } from './forms/Radio/Radio';
|
|
20
25
|
export { Radio } from './forms/Radio/Radio';
|
|
26
|
+
export type { TextInputMixinProps } from './forms/styledTextInputMixin';
|
|
27
|
+
export { styledTextInputMixin } from './forms/styledTextInputMixin';
|
|
21
28
|
export type { TextAreaProps } from './forms/TextArea/TextArea';
|
|
22
29
|
export { TextArea } from './forms/TextArea/TextArea';
|
|
30
|
+
export type { InputFormState, InputUIState } from './forms/utils';
|
|
23
31
|
export type { FullScreenModalProps } from './FullScreenModal/FullScreenModal';
|
|
24
32
|
export { FullScreenModal } from './FullScreenModal/FullScreenModal';
|
|
25
33
|
export type { IconProps } from './Icon/Icon';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,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MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,YAAY,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,YAAY,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,YAAY,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC7F,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,YAAY,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC5F,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,cAAc,qBAAqB,CAAC"}
|
|
@@ -73,19 +73,7 @@ export declare const theme: {
|
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
75
|
forms: {
|
|
76
|
-
input:
|
|
77
|
-
marginTop: string;
|
|
78
|
-
marginBottom: string;
|
|
79
|
-
borderWidth: string;
|
|
80
|
-
borderRadius: string;
|
|
81
|
-
passwordButtonIconSize: number;
|
|
82
|
-
padding: string;
|
|
83
|
-
paddingSingleLineIOS: string;
|
|
84
|
-
selectionColor: string;
|
|
85
|
-
placeholderColor: "black-light";
|
|
86
|
-
textAreaMinHeight: number;
|
|
87
|
-
states: Record<import("..").InputTextState, import("./late-ocean/inputLateOceanTheme").InputStateStyle>;
|
|
88
|
-
};
|
|
76
|
+
input: import("./late-ocean/input").InputTheme;
|
|
89
77
|
radio: {
|
|
90
78
|
size: number;
|
|
91
79
|
unchecked: {
|
|
@@ -107,6 +95,7 @@ export declare const theme: {
|
|
|
107
95
|
labelContainerPaddingBottom: number;
|
|
108
96
|
iconMarginLeft: number;
|
|
109
97
|
};
|
|
98
|
+
textArea: import("./late-ocean/textArea").TextAreaTheme;
|
|
110
99
|
};
|
|
111
100
|
typography: {
|
|
112
101
|
colors: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/themes/default.ts"],"names":[],"mappings":"AAwCA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/themes/default.ts"],"names":[],"mappings":"AAwCA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBjB,CAAC;AAEF,oBAAY,KAAK,GAAG,OAAO,KAAK,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const forms: {
|
|
2
|
+
input: import("./input").InputTheme;
|
|
3
|
+
radio: {
|
|
4
|
+
size: number;
|
|
5
|
+
unchecked: {
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
borderWidth: string;
|
|
8
|
+
borderColor: string;
|
|
9
|
+
};
|
|
10
|
+
checked: {
|
|
11
|
+
backgroundColor: string;
|
|
12
|
+
innerSize: number;
|
|
13
|
+
innerBackgroundColor: string;
|
|
14
|
+
};
|
|
15
|
+
disabled: {
|
|
16
|
+
backgroundColor: string;
|
|
17
|
+
borderColor: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
inputField: {
|
|
21
|
+
labelContainerPaddingBottom: number;
|
|
22
|
+
iconMarginLeft: number;
|
|
23
|
+
};
|
|
24
|
+
textArea: import("./textArea").TextAreaTheme;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=forms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forms.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/forms.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;CAKjB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { InputUIState } from '../../forms/utils';
|
|
2
|
+
import { typographyLateOceanTheme } from './typographyLateOceanTheme';
|
|
3
|
+
export interface InputStateStyle {
|
|
4
|
+
backgroundColor?: string;
|
|
5
|
+
borderColor: string;
|
|
6
|
+
color: keyof typeof typographyLateOceanTheme.colors;
|
|
7
|
+
}
|
|
8
|
+
export declare type InputStateTheme = Record<InputUIState, InputStateStyle>;
|
|
9
|
+
export interface InputTheme {
|
|
10
|
+
color: {
|
|
11
|
+
selection: string;
|
|
12
|
+
placeholder: string;
|
|
13
|
+
};
|
|
14
|
+
borderWidth: string;
|
|
15
|
+
borderRadius: string;
|
|
16
|
+
icon: {
|
|
17
|
+
size: number;
|
|
18
|
+
};
|
|
19
|
+
padding: {
|
|
20
|
+
default: string;
|
|
21
|
+
iOSSingleLine: string;
|
|
22
|
+
};
|
|
23
|
+
states: InputStateTheme;
|
|
24
|
+
}
|
|
25
|
+
export declare const input: InputTheme;
|
|
26
|
+
//# sourceMappingURL=input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,WAAW,eAAe;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,OAAO,wBAAwB,CAAC,MAAM,CAAC;CACrD;AAED,oBAAY,eAAe,GAAG,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC;AAqCpE,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE;QACL,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,OAAO,EAAE;QACP,OAAO,EAAE,MAAM,CAAC;QAChB,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,MAAM,EAAE,eAAe,CAAC;CACzB;AAED,eAAO,MAAM,KAAK,EAAE,UAenB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textArea.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/textArea.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,QAAQ,EAAE,aAEtB,CAAC"}
|