@ornikar/kitt-universal 16.5.0 → 16.6.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/typography/Typography.d.ts +12 -1
- package/dist/definitions/typography/Typography.d.ts.map +1 -1
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -17,7 +17,7 @@ type TypographyVariant = 'regular' | 'bold';
|
|
|
17
17
|
export declare function useTypographyColor(): ExtendedTypographyColor;
|
|
18
18
|
export declare function getTypographyTypeConfigKeyFromTypeName(breakpointName: KittBreakpointNameEnum): keyof TypographyTypeConfig;
|
|
19
19
|
export type TypographyBreakpointType = Partial<KittResponsiveProp<TypographyType>>;
|
|
20
|
-
type NativeBaseTextPropsAcceptedProps = Pick<ITextProps, keyof Except<TextProps, 'accessibilityRole'> | 'textAlign' | 'textTransform' | 'underline' | NativeBaseAcceptedFlexboxProps> & Pick<TextStyle, 'cursor' | 'transitionProperty' | 'transitionDuration' | 'transitionTimingFunction'>;
|
|
20
|
+
type NativeBaseTextPropsAcceptedProps = Pick<ITextProps, keyof Except<TextProps, 'accessibilityRole'> | 'textAlign' | 'textTransform' | 'underline' | 'strikeThrough' | NativeBaseAcceptedFlexboxProps> & Pick<TextStyle, 'cursor' | 'transitionProperty' | 'transitionDuration' | 'transitionTimingFunction'>;
|
|
21
21
|
export interface TypographyProps extends TypographyBreakpointType, NativeBaseTextPropsAcceptedProps, Pick<PlatformProps<NativeBaseTextPropsAcceptedProps>, '_android' | '_ios' | '_web'> {
|
|
22
22
|
type?: TypographyBreakpointType;
|
|
23
23
|
accessibilityRole: NonNullable<TextProps['accessibilityRole']> | 'paragraph' | null;
|
|
@@ -178,6 +178,7 @@ export declare namespace Typography {
|
|
|
178
178
|
dataDetectorType?: "all" | "none" | "link" | "email" | "phoneNumber" | null | undefined;
|
|
179
179
|
android_hyphenationFrequency?: "normal" | "none" | "full" | undefined;
|
|
180
180
|
underline?: boolean | undefined;
|
|
181
|
+
strikeThrough?: boolean | undefined;
|
|
181
182
|
cursor?: import("react-native").CursorValue | undefined;
|
|
182
183
|
transitionDuration?: string | string[] | undefined;
|
|
183
184
|
transitionProperty?: string | string[] | undefined;
|
|
@@ -330,6 +331,7 @@ export declare namespace Typography {
|
|
|
330
331
|
dataDetectorType?: "all" | "none" | "link" | "email" | "phoneNumber" | null | undefined;
|
|
331
332
|
android_hyphenationFrequency?: "normal" | "none" | "full" | undefined;
|
|
332
333
|
underline?: boolean | undefined;
|
|
334
|
+
strikeThrough?: boolean | undefined;
|
|
333
335
|
cursor?: import("react-native").CursorValue | undefined;
|
|
334
336
|
transitionDuration?: string | string[] | undefined;
|
|
335
337
|
transitionProperty?: string | string[] | undefined;
|
|
@@ -482,6 +484,7 @@ export declare namespace Typography {
|
|
|
482
484
|
dataDetectorType?: "all" | "none" | "link" | "email" | "phoneNumber" | null | undefined;
|
|
483
485
|
android_hyphenationFrequency?: "normal" | "none" | "full" | undefined;
|
|
484
486
|
underline?: boolean | undefined;
|
|
487
|
+
strikeThrough?: boolean | undefined;
|
|
485
488
|
cursor?: import("react-native").CursorValue | undefined;
|
|
486
489
|
transitionDuration?: string | string[] | undefined;
|
|
487
490
|
transitionProperty?: string | string[] | undefined;
|
|
@@ -634,6 +637,7 @@ export declare namespace Typography {
|
|
|
634
637
|
dataDetectorType?: "all" | "none" | "link" | "email" | "phoneNumber" | null | undefined;
|
|
635
638
|
android_hyphenationFrequency?: "normal" | "none" | "full" | undefined;
|
|
636
639
|
underline?: boolean | undefined;
|
|
640
|
+
strikeThrough?: boolean | undefined;
|
|
637
641
|
cursor?: import("react-native").CursorValue | undefined;
|
|
638
642
|
transitionDuration?: string | string[] | undefined;
|
|
639
643
|
transitionProperty?: string | string[] | undefined;
|
|
@@ -786,6 +790,7 @@ export declare namespace Typography {
|
|
|
786
790
|
dataDetectorType?: "all" | "none" | "link" | "email" | "phoneNumber" | null | undefined;
|
|
787
791
|
android_hyphenationFrequency?: "normal" | "none" | "full" | undefined;
|
|
788
792
|
underline?: boolean | undefined;
|
|
793
|
+
strikeThrough?: boolean | undefined;
|
|
789
794
|
cursor?: import("react-native").CursorValue | undefined;
|
|
790
795
|
transitionDuration?: string | string[] | undefined;
|
|
791
796
|
transitionProperty?: string | string[] | undefined;
|
|
@@ -938,6 +943,7 @@ export declare namespace Typography {
|
|
|
938
943
|
dataDetectorType?: "all" | "none" | "link" | "email" | "phoneNumber" | null | undefined;
|
|
939
944
|
android_hyphenationFrequency?: "normal" | "none" | "full" | undefined;
|
|
940
945
|
underline?: boolean | undefined;
|
|
946
|
+
strikeThrough?: boolean | undefined;
|
|
941
947
|
cursor?: import("react-native").CursorValue | undefined;
|
|
942
948
|
transitionDuration?: string | string[] | undefined;
|
|
943
949
|
transitionProperty?: string | string[] | undefined;
|
|
@@ -1090,6 +1096,7 @@ export declare namespace Typography {
|
|
|
1090
1096
|
dataDetectorType?: "all" | "none" | "link" | "email" | "phoneNumber" | null | undefined;
|
|
1091
1097
|
android_hyphenationFrequency?: "normal" | "none" | "full" | undefined;
|
|
1092
1098
|
underline?: boolean | undefined;
|
|
1099
|
+
strikeThrough?: boolean | undefined;
|
|
1093
1100
|
cursor?: import("react-native").CursorValue | undefined;
|
|
1094
1101
|
transitionDuration?: string | string[] | undefined;
|
|
1095
1102
|
transitionProperty?: string | string[] | undefined;
|
|
@@ -1242,6 +1249,7 @@ export declare namespace Typography {
|
|
|
1242
1249
|
dataDetectorType?: "all" | "none" | "link" | "email" | "phoneNumber" | null | undefined;
|
|
1243
1250
|
android_hyphenationFrequency?: "normal" | "none" | "full" | undefined;
|
|
1244
1251
|
underline?: boolean | undefined;
|
|
1252
|
+
strikeThrough?: boolean | undefined;
|
|
1245
1253
|
cursor?: import("react-native").CursorValue | undefined;
|
|
1246
1254
|
transitionDuration?: string | string[] | undefined;
|
|
1247
1255
|
transitionProperty?: string | string[] | undefined;
|
|
@@ -1394,6 +1402,7 @@ export declare namespace Typography {
|
|
|
1394
1402
|
dataDetectorType?: "all" | "none" | "link" | "email" | "phoneNumber" | null | undefined;
|
|
1395
1403
|
android_hyphenationFrequency?: "normal" | "none" | "full" | undefined;
|
|
1396
1404
|
underline?: boolean | undefined;
|
|
1405
|
+
strikeThrough?: boolean | undefined;
|
|
1397
1406
|
cursor?: import("react-native").CursorValue | undefined;
|
|
1398
1407
|
transitionDuration?: string | string[] | undefined;
|
|
1399
1408
|
transitionProperty?: string | string[] | undefined;
|
|
@@ -1546,6 +1555,7 @@ export declare namespace Typography {
|
|
|
1546
1555
|
dataDetectorType?: "all" | "none" | "link" | "email" | "phoneNumber" | null | undefined;
|
|
1547
1556
|
android_hyphenationFrequency?: "normal" | "none" | "full" | undefined;
|
|
1548
1557
|
underline?: boolean | undefined;
|
|
1558
|
+
strikeThrough?: boolean | undefined;
|
|
1549
1559
|
cursor?: import("react-native").CursorValue | undefined;
|
|
1550
1560
|
transitionDuration?: string | string[] | undefined;
|
|
1551
1561
|
transitionProperty?: string | string[] | undefined;
|
|
@@ -1698,6 +1708,7 @@ export declare namespace Typography {
|
|
|
1698
1708
|
dataDetectorType?: "all" | "none" | "link" | "email" | "phoneNumber" | null | undefined;
|
|
1699
1709
|
android_hyphenationFrequency?: "normal" | "none" | "full" | undefined;
|
|
1700
1710
|
underline?: boolean | undefined;
|
|
1711
|
+
strikeThrough?: boolean | undefined;
|
|
1701
1712
|
cursor?: import("react-native").CursorValue | undefined;
|
|
1702
1713
|
transitionDuration?: string | string[] | undefined;
|
|
1703
1714
|
transitionProperty?: string | string[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/typography/Typography.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