@ornikar/kitt-universal 7.6.0 → 7.8.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/ExternalAppLink/ExternalAppLink.d.ts +31 -0
- package/dist/definitions/ExternalAppLink/ExternalAppLink.d.ts.map +1 -0
- package/dist/definitions/Picker/Picker.d.ts.map +1 -1
- package/dist/definitions/forms/InputText/InputText.d.ts.map +1 -1
- package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts +1 -1
- package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts.map +1 -1
- package/dist/definitions/index.d.ts +2 -0
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/index-browser-all.es.android.js +167 -37
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js +167 -37
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +167 -37
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +142 -17
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js +100 -23
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.js +73 -1
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ComponentProps, ReactElement, VoidFunctionComponent } from 'react';
|
|
2
|
+
import type { PressableProps, TextProps } from 'react-native';
|
|
3
|
+
declare type ExternalAppLinkScheme = 'sms' | 'tel' | 'mailto';
|
|
4
|
+
export interface ExternalAppLinkAsComponentMinimumRequiredProps {
|
|
5
|
+
href?: TextProps['href'];
|
|
6
|
+
hrefAttrs?: TextProps['hrefAttrs'];
|
|
7
|
+
onPress?: PressableProps['onPress'];
|
|
8
|
+
}
|
|
9
|
+
export interface ExternalAppLinkProps<C extends VoidFunctionComponent<any>> {
|
|
10
|
+
as: C;
|
|
11
|
+
appScheme: ExternalAppLinkScheme;
|
|
12
|
+
appValue: string;
|
|
13
|
+
onPress?: PressableProps['onPress'];
|
|
14
|
+
onOpenAppError?: (err: string) => void;
|
|
15
|
+
}
|
|
16
|
+
export interface ExternalAppLinkPhoneProps<C extends VoidFunctionComponent<any>> extends Partial<ExternalAppLinkProps<C>> {
|
|
17
|
+
phoneNumber: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ExternalAppLinkMailProps<C extends VoidFunctionComponent<any>> extends Partial<ExternalAppLinkProps<C>> {
|
|
20
|
+
emailAddress: string;
|
|
21
|
+
}
|
|
22
|
+
/** @internal for ExternalAppLink.web.tsx only */
|
|
23
|
+
export declare type ExternalAppLinkSendableComponentProps<C extends VoidFunctionComponent<any>> = Omit<ComponentProps<C>, keyof ExternalAppLinkProps<C> & keyof ExternalAppLinkAsComponentMinimumRequiredProps>;
|
|
24
|
+
export declare function ExternalAppLink<C extends VoidFunctionComponent<any>>({ as: Component, appScheme, appValue, onPress, onOpenAppError, ...rest }: ExternalAppLinkProps<C> & ExternalAppLinkSendableComponentProps<C>): ReactElement;
|
|
25
|
+
export declare namespace ExternalAppLink {
|
|
26
|
+
var Sms: <C extends VoidFunctionComponent<any>>({ phoneNumber, children, ...rest }: ExternalAppLinkPhoneProps<C> & ExternalAppLinkSendableComponentProps<C>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
27
|
+
var Tel: <C extends VoidFunctionComponent<any>>({ phoneNumber, children, ...rest }: ExternalAppLinkPhoneProps<C> & ExternalAppLinkSendableComponentProps<C>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
28
|
+
var Mail: <C extends VoidFunctionComponent<any>>({ emailAddress, children, ...rest }: ExternalAppLinkMailProps<C> & ExternalAppLinkSendableComponentProps<C>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=ExternalAppLink.d.ts.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,CAAC,IAAI,IAAI,CAC5F,cAAc,CAAC,CAAC,CAAC,EACjB,MAAM,oBAAoB,CAAC,CAAC,CAAC,GAAG,MAAM,8CAA8C,CACrF,CAAC;AAEF,wBAAgB,eAAe,CAAC,CAAC,SAAS,qBAAqB,CAAC,GAAG,CAAC,EAAE,EACpE,EAAE,EAAE,SAAS,EACb,SAAS,EACT,QAAQ,EACR,OAAO,EACP,cAAc,EACd,GAAG,IAAI,EACR,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAAG,qCAAqC,CAAC,CAAC,CAAC,GAAG,YAAY,CA2BnF;yBAlCe,eAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Picker.d.ts","sourceRoot":"","sources":["../../../src/Picker/Picker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASrD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,WAAW,WAAW,CAAC,CAAC;IAC5B,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,SAAS,CAAC;IACjB,YAAY,EAAE,CAAC,CAAC;IAChB,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IACpC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,MAAM,CAAC,CAAC,EAAE,EACxB,QAAQ,EACR,SAAS,EACT,KAAK,EACL,YAAY,EACZ,mBAAmB,EACnB,MAAM,EACN,eAAe,EACf,OAAO,GACR,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"Picker.d.ts","sourceRoot":"","sources":["../../../src/Picker/Picker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,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,SAAS,CAAC;IAClB,gBAAgB;IAChB,kBAAkB,CAAC,EAAE,YAAY,CAAC;CACnC;
|
|
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;AAI7D,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;AAyCD,eAAO,MAAM,SAAS,wGAwDrB,CAAC"}
|
|
@@ -6,6 +6,6 @@ interface WebInputTextContainerProps extends InputTextContainerProps {
|
|
|
6
6
|
}
|
|
7
7
|
export declare const InputTextContainer: import("react").ForwardRefExoticComponent<Pick<import("type-fest").Except<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & WebInputTextContainerProps & {
|
|
8
8
|
as?: import("react").ElementType<any> | undefined;
|
|
9
|
-
}, "theme">, "slot" | "style" | "title" | "children" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "color" | "key" | "as" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "hidden" | "onError" | "onLoad" | "onLoadStart" | "onProgress" | "onBlur" | "onFocus" | "$isDisabled" | "className" | "onChange" | "id" | "placeholder" | "onScroll" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "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" | "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"
|
|
9
|
+
}, "theme">, "slot" | "style" | "title" | "children" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "color" | "key" | "as" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "hidden" | "onError" | "onLoad" | "onLoadStart" | "onProgress" | "onBlur" | "onFocus" | "$isDisabled" | "className" | "onChange" | "id" | "placeholder" | "onScroll" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "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" | "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"> & import("react").RefAttributes<unknown>>;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=InputTextContainer.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputTextContainer.web.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputText/InputTextContainer.web.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAEpE,UAAU,0BAA2B,SAAQ,uBAAuB;IAClE,KAAK,EAAE,YAAY,CAAC;CACrB;AAED,eAAO,MAAM,kBAAkB;;
|
|
1
|
+
{"version":3,"file":"InputTextContainer.web.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputText/InputTextContainer.web.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAEpE,UAAU,0BAA2B,SAAQ,uBAAuB;IAClE,KAAK,EAAE,YAAY,CAAC;CACrB;AAED,eAAO,MAAM,kBAAkB;;mkJAyC7B,CAAC"}
|
|
@@ -6,6 +6,8 @@ export type { CardProps } from './Card/Card';
|
|
|
6
6
|
export { Card } from './Card/Card';
|
|
7
7
|
export type { EmojiProps } from './Emoji/Emoji';
|
|
8
8
|
export { Emoji } from './Emoji/Emoji';
|
|
9
|
+
export type { ExternalAppLinkProps } from './ExternalAppLink/ExternalAppLink';
|
|
10
|
+
export { ExternalAppLink } from './ExternalAppLink/ExternalAppLink';
|
|
9
11
|
export type { ExternalLinkProps } from './ExternalLink/ExternalLink';
|
|
10
12
|
export { ExternalLink } from './ExternalLink/ExternalLink';
|
|
11
13
|
export type { CheckboxProps } from './forms/Checkbox/Checkbox';
|
|
@@ -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,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,YAAY,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAA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AAY,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"}
|
|
@@ -10,6 +10,8 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
10
10
|
import Animated, { useSharedValue, useAnimatedStyle, interpolateColor, withSpring, useAnimatedProps, withDelay, withTiming, Easing as Easing$1, withRepeat, interpolate } from 'react-native-reanimated';
|
|
11
11
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
12
12
|
import { parse } from 'twemoji-parser';
|
|
13
|
+
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
14
|
+
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
13
15
|
import { openBrowserAsync } from 'expo-web-browser';
|
|
14
16
|
import DateTimePicker, { DateTimePickerAndroid } from '@react-native-community/datetimepicker';
|
|
15
17
|
import { FormattedMessage } from 'react-intl';
|
|
@@ -103,7 +105,7 @@ var KittBreakpointsMax = {
|
|
|
103
105
|
LARGE: KittBreakpoints.WIDE - 1
|
|
104
106
|
};
|
|
105
107
|
|
|
106
|
-
var _excluded$
|
|
108
|
+
var _excluded$i = ["accessibilityRole", "base", "small", "medium", "large", "variant", "color", "textAlign"];
|
|
107
109
|
var IsHeaderTypographyContext = /*#__PURE__*/createContext(undefined);
|
|
108
110
|
var TypographyColorContext = /*#__PURE__*/createContext('black');
|
|
109
111
|
function useTypographyColor() {
|
|
@@ -185,7 +187,7 @@ function Typography(_ref5) {
|
|
|
185
187
|
variant = _ref5.variant,
|
|
186
188
|
color = _ref5.color,
|
|
187
189
|
textAlign = _ref5.textAlign,
|
|
188
|
-
otherProps = _objectWithoutProperties(_ref5, _excluded$
|
|
190
|
+
otherProps = _objectWithoutProperties(_ref5, _excluded$i);
|
|
189
191
|
|
|
190
192
|
var isHeaderTypographyInContext = useContext(IsHeaderTypographyContext);
|
|
191
193
|
var hasTypographyAncestor = isHeaderTypographyInContext !== undefined;
|
|
@@ -273,7 +275,7 @@ Typography.h4 = createHeading(4, 'header4');
|
|
|
273
275
|
|
|
274
276
|
Typography.h5 = createHeading(5, 'header5');
|
|
275
277
|
|
|
276
|
-
var _excluded$
|
|
278
|
+
var _excluded$h = ["size", "round", "light", "sizeVariant"];
|
|
277
279
|
|
|
278
280
|
var getInitials = function (firstname, lastname) {
|
|
279
281
|
return "".concat(firstname[0]).concat(lastname[0]).toUpperCase();
|
|
@@ -344,7 +346,7 @@ function Avatar(_ref6) {
|
|
|
344
346
|
round = _ref6.round,
|
|
345
347
|
light = _ref6.light,
|
|
346
348
|
sizeVariant = _ref6.sizeVariant,
|
|
347
|
-
props = _objectWithoutProperties(_ref6, _excluded$
|
|
349
|
+
props = _objectWithoutProperties(_ref6, _excluded$h);
|
|
348
350
|
|
|
349
351
|
return /*#__PURE__*/jsx(StyledAvatarView, {
|
|
350
352
|
$size: size,
|
|
@@ -514,12 +516,12 @@ var BaseStyledButtonPressable = /*#__PURE__*/styled.View.withConfig({
|
|
|
514
516
|
return defaultPadding;
|
|
515
517
|
});
|
|
516
518
|
|
|
517
|
-
var _excluded$
|
|
518
|
-
_excluded2$
|
|
519
|
+
var _excluded$g = ["color"],
|
|
520
|
+
_excluded2$3 = ["color"];
|
|
519
521
|
|
|
520
522
|
function TypographyIconSpecifiedColor(_ref) {
|
|
521
523
|
var color = _ref.color,
|
|
522
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
524
|
+
props = _objectWithoutProperties(_ref, _excluded$g);
|
|
523
525
|
|
|
524
526
|
var theme = /*#__PURE__*/useTheme();
|
|
525
527
|
return /*#__PURE__*/jsx(Icon, _objectSpread(_objectSpread({}, props), {}, {
|
|
@@ -536,7 +538,7 @@ function TypographyIconInheritColor(props) {
|
|
|
536
538
|
|
|
537
539
|
function TypographyIcon(_ref2) {
|
|
538
540
|
var color = _ref2.color,
|
|
539
|
-
props = _objectWithoutProperties(_ref2, _excluded2$
|
|
541
|
+
props = _objectWithoutProperties(_ref2, _excluded2$3);
|
|
540
542
|
|
|
541
543
|
if (color) {
|
|
542
544
|
return /*#__PURE__*/jsx(TypographyIconSpecifiedColor, _objectSpread({
|
|
@@ -551,7 +553,7 @@ function isSubtle(type) {
|
|
|
551
553
|
return type.startsWith('subtle');
|
|
552
554
|
}
|
|
553
555
|
|
|
554
|
-
var _excluded$
|
|
556
|
+
var _excluded$f = ["type", "variant", "isDisabled", "$isStretch", "icon", "children"];
|
|
555
557
|
|
|
556
558
|
var getTextColorByType = function (type, variant) {
|
|
557
559
|
switch (type) {
|
|
@@ -693,7 +695,7 @@ function ButtonContent(_ref7) {
|
|
|
693
695
|
$isStretch = _ref7.$isStretch,
|
|
694
696
|
icon = _ref7.icon,
|
|
695
697
|
children = _ref7.children,
|
|
696
|
-
props = _objectWithoutProperties(_ref7, _excluded$
|
|
698
|
+
props = _objectWithoutProperties(_ref7, _excluded$f);
|
|
697
699
|
|
|
698
700
|
var color = isDisabled ? 'black-light' : getTextColorByType(type, variant);
|
|
699
701
|
return /*#__PURE__*/jsx(ButtonContentContainer, {
|
|
@@ -843,6 +845,130 @@ function Emoji(_ref3) {
|
|
|
843
845
|
});
|
|
844
846
|
}
|
|
845
847
|
|
|
848
|
+
var _excluded$e = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
|
|
849
|
+
_excluded2$2 = ["phoneNumber", "children"],
|
|
850
|
+
_excluded3$1 = ["phoneNumber", "children"],
|
|
851
|
+
_excluded4 = ["emailAddress", "children"];
|
|
852
|
+
function ExternalAppLink(_ref) {
|
|
853
|
+
var Component = _ref.as,
|
|
854
|
+
appScheme = _ref.appScheme,
|
|
855
|
+
appValue = _ref.appValue,
|
|
856
|
+
onPress = _ref.onPress,
|
|
857
|
+
onOpenAppError = _ref.onOpenAppError,
|
|
858
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
859
|
+
|
|
860
|
+
var href = "".concat(appScheme, ":").concat(appValue);
|
|
861
|
+
|
|
862
|
+
var handleOnPress = /*#__PURE__*/function () {
|
|
863
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(e) {
|
|
864
|
+
var canOpen;
|
|
865
|
+
return _regeneratorRuntime.wrap(function (_context) {
|
|
866
|
+
while (1) {
|
|
867
|
+
switch (_context.prev = _context.next) {
|
|
868
|
+
case 0:
|
|
869
|
+
_context.prev = 0;
|
|
870
|
+
_context.next = 3;
|
|
871
|
+
return Linking.canOpenURL(href);
|
|
872
|
+
|
|
873
|
+
case 3:
|
|
874
|
+
canOpen = _context.sent;
|
|
875
|
+
|
|
876
|
+
if (!canOpen) {
|
|
877
|
+
_context.next = 12;
|
|
878
|
+
break;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
Linking.openURL(href)["catch"](function (err) {
|
|
882
|
+
console.error("An error occurred while opening ".concat(href), err);
|
|
883
|
+
onOpenAppError === null || onOpenAppError === void 0 ? void 0 : onOpenAppError("An error occurred while opening ".concat(href));
|
|
884
|
+
});
|
|
885
|
+
|
|
886
|
+
if (!onPress) {
|
|
887
|
+
_context.next = 10;
|
|
888
|
+
break;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
onPress(e);
|
|
892
|
+
|
|
893
|
+
if (!(e !== null && e !== void 0 && e.defaultPrevented)) {
|
|
894
|
+
_context.next = 10;
|
|
895
|
+
break;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
return _context.abrupt("return");
|
|
899
|
+
|
|
900
|
+
case 10:
|
|
901
|
+
_context.next = 13;
|
|
902
|
+
break;
|
|
903
|
+
|
|
904
|
+
case 12:
|
|
905
|
+
onOpenAppError === null || onOpenAppError === void 0 ? void 0 : onOpenAppError("Cannot open url: ".concat(href));
|
|
906
|
+
|
|
907
|
+
case 13:
|
|
908
|
+
_context.next = 18;
|
|
909
|
+
break;
|
|
910
|
+
|
|
911
|
+
case 15:
|
|
912
|
+
_context.prev = 15;
|
|
913
|
+
_context.t0 = _context["catch"](0);
|
|
914
|
+
onOpenAppError === null || onOpenAppError === void 0 ? void 0 : onOpenAppError('An error occured with Linkinf.canOpenURL');
|
|
915
|
+
|
|
916
|
+
case 18:
|
|
917
|
+
case "end":
|
|
918
|
+
return _context.stop();
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
}, _callee, null, [[0, 15]]);
|
|
922
|
+
}));
|
|
923
|
+
|
|
924
|
+
return function () {
|
|
925
|
+
return _ref2.apply(this, arguments);
|
|
926
|
+
};
|
|
927
|
+
}();
|
|
928
|
+
|
|
929
|
+
return /*#__PURE__*/jsx(Component, _objectSpread(_objectSpread({
|
|
930
|
+
href: href
|
|
931
|
+
}, rest), {}, {
|
|
932
|
+
onPress: handleOnPress
|
|
933
|
+
}));
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
ExternalAppLink.Sms = function (_ref3) {
|
|
937
|
+
var phoneNumber = _ref3.phoneNumber,
|
|
938
|
+
children = _ref3.children,
|
|
939
|
+
rest = _objectWithoutProperties(_ref3, _excluded2$2);
|
|
940
|
+
|
|
941
|
+
return /*#__PURE__*/jsx(ExternalAppLink, _objectSpread(_objectSpread({}, rest), {}, {
|
|
942
|
+
appScheme: "sms",
|
|
943
|
+
appValue: phoneNumber,
|
|
944
|
+
children: children
|
|
945
|
+
}));
|
|
946
|
+
};
|
|
947
|
+
|
|
948
|
+
ExternalAppLink.Tel = function (_ref4) {
|
|
949
|
+
var phoneNumber = _ref4.phoneNumber,
|
|
950
|
+
children = _ref4.children,
|
|
951
|
+
rest = _objectWithoutProperties(_ref4, _excluded3$1);
|
|
952
|
+
|
|
953
|
+
return /*#__PURE__*/jsx(ExternalAppLink, _objectSpread(_objectSpread({}, rest), {}, {
|
|
954
|
+
appScheme: "tel",
|
|
955
|
+
appValue: phoneNumber,
|
|
956
|
+
children: children
|
|
957
|
+
}));
|
|
958
|
+
};
|
|
959
|
+
|
|
960
|
+
ExternalAppLink.Mail = function (_ref5) {
|
|
961
|
+
var emailAddress = _ref5.emailAddress,
|
|
962
|
+
children = _ref5.children,
|
|
963
|
+
rest = _objectWithoutProperties(_ref5, _excluded4);
|
|
964
|
+
|
|
965
|
+
return /*#__PURE__*/jsx(ExternalAppLink, _objectSpread(_objectSpread({}, rest), {}, {
|
|
966
|
+
appScheme: "mailto",
|
|
967
|
+
appValue: emailAddress,
|
|
968
|
+
children: children
|
|
969
|
+
}));
|
|
970
|
+
};
|
|
971
|
+
|
|
846
972
|
var defaultOpenLinkBehavior = {
|
|
847
973
|
"native": 'openInModal',
|
|
848
974
|
web: 'targetBlank'
|
|
@@ -2405,7 +2531,13 @@ var StyledTextInput = /*#__PURE__*/styled(TextInput).withConfig({
|
|
|
2405
2531
|
}, function (_ref2) {
|
|
2406
2532
|
var theme = _ref2.theme,
|
|
2407
2533
|
multiline = _ref2.multiline;
|
|
2408
|
-
|
|
2534
|
+
var shouldHandleSingleLineOnIOS = Platform.OS === 'ios' && !multiline; // On basic text input, we set the line-height to zero for iOS to fix vertical text alignment
|
|
2535
|
+
// This is a iOS only fix since having 0 as a line-height value breaks text inputs on Android
|
|
2536
|
+
|
|
2537
|
+
if (shouldHandleSingleLineOnIOS) {
|
|
2538
|
+
return 0;
|
|
2539
|
+
}
|
|
2540
|
+
|
|
2409
2541
|
var typeConfigKey = getTypographyTypeConfigKey(theme);
|
|
2410
2542
|
return "".concat(theme.kitt.typography.types.bodies.configs.body[typeConfigKey].lineHeight, "px");
|
|
2411
2543
|
}, function (_ref3) {
|
|
@@ -3536,32 +3668,30 @@ function Picker(_ref) {
|
|
|
3536
3668
|
variant: "bold",
|
|
3537
3669
|
children: title
|
|
3538
3670
|
})
|
|
3539
|
-
}), /*#__PURE__*/jsx(
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
var item = child; // iOS Picker doesn't support a custom Item component, we need to override its props manually for the selected one
|
|
3671
|
+
}), Platform.OS === 'ios' ? /*#__PURE__*/jsx(Picker$1, {
|
|
3672
|
+
testID: testID,
|
|
3673
|
+
selectedValue: value,
|
|
3674
|
+
itemStyle: theme.picker.ios["default"],
|
|
3675
|
+
onValueChange: function onValueChange(itemValue) {
|
|
3676
|
+
return setValue(itemValue);
|
|
3677
|
+
},
|
|
3678
|
+
children: React.Children.map(children, function (child) {
|
|
3679
|
+
var item = child; // iOS Picker doesn't support a custom Item component, we need to override its props manually for the selected one
|
|
3549
3680
|
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
})
|
|
3681
|
+
return /*#__PURE__*/cloneElement(item, {
|
|
3682
|
+
color: item.props.value === value ? theme.picker.ios.selected.color : undefined
|
|
3683
|
+
});
|
|
3684
|
+
})
|
|
3685
|
+
}) : /*#__PURE__*/jsx(ScrollView, {
|
|
3686
|
+
testID: testID,
|
|
3687
|
+
children: React.Children.map(children, function (child) {
|
|
3688
|
+
var item = child;
|
|
3689
|
+
return /*#__PURE__*/cloneElement(item, {
|
|
3690
|
+
onPress: function onPress(newValue) {
|
|
3691
|
+
return setValue(newValue);
|
|
3692
|
+
},
|
|
3693
|
+
isSelected: item.props.value === value
|
|
3694
|
+
});
|
|
3565
3695
|
})
|
|
3566
3696
|
}), /*#__PURE__*/jsx(Modal.Footer, {
|
|
3567
3697
|
children: /*#__PURE__*/jsx(Button, {
|
|
@@ -4564,5 +4694,5 @@ function withTheme(WrappedComponent) {
|
|
|
4564
4694
|
});
|
|
4565
4695
|
}
|
|
4566
4696
|
|
|
4567
|
-
export { Avatar, Button, Card, Checkbox, DatePicker, Emoji, ExternalLink, Flex, FullScreenModal, Icon, IconButton, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpoints, KittBreakpointsMax, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MatchWindowSize, Message, Modal, Notification, Overlay, PageLoader, Picker, Radio, DeprecatedSection as Section, Skeleton, SpinningIcon, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, createWindowSizeHelper, hex2rgba, matchWindowSize, styledTextInputMixin, theme, useKittTheme, useMatchWindowSize, useStoryBlockColor, withTheme };
|
|
4697
|
+
export { Avatar, Button, Card, Checkbox, DatePicker, Emoji, ExternalAppLink, ExternalLink, Flex, FullScreenModal, Icon, IconButton, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpoints, KittBreakpointsMax, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MatchWindowSize, Message, Modal, Notification, Overlay, PageLoader, Picker, Radio, DeprecatedSection as Section, Skeleton, SpinningIcon, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, createWindowSizeHelper, hex2rgba, matchWindowSize, styledTextInputMixin, theme, useKittTheme, useMatchWindowSize, useStoryBlockColor, withTheme };
|
|
4568
4698
|
//# sourceMappingURL=index-browser-all.es.android.js.map
|