@ornikar/kitt-universal 1.1.0 → 2.2.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/Button.d.ts +1 -1
- package/dist/definitions/Button/Button.d.ts.map +1 -1
- package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts +2 -4
- package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts.map +1 -1
- package/dist/definitions/IconButton/PressableAnimatedContainer.web.d.ts +4 -0
- package/dist/definitions/IconButton/PressableAnimatedContainer.web.d.ts.map +1 -0
- package/dist/definitions/Tag/Tag.d.ts +6 -3
- package/dist/definitions/Tag/Tag.d.ts.map +1 -1
- package/dist/definitions/primitives/PrimitivePressable.d.ts +1 -1
- package/dist/definitions/primitives/PrimitivePressable.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +33 -9
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts +1 -0
- package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/tagLateOceanTheme.d.ts +30 -3
- package/dist/definitions/themes/late-ocean/tagLateOceanTheme.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts +0 -6
- package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts.map +1 -1
- package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts +2 -0
- package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts.map +1 -1
- package/dist/definitions/typography/Typography.d.ts +2 -2
- package/dist/definitions/typography/Typography.d.ts.map +1 -1
- package/dist/index-browser-all.es.android.js +113 -56
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js +113 -56
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +113 -68
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +98 -40
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js +87 -46
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +7 -7
|
@@ -10,7 +10,7 @@ export interface ButtonProps {
|
|
|
10
10
|
iconSpin?: boolean;
|
|
11
11
|
stretch?: boolean;
|
|
12
12
|
testID?: string;
|
|
13
|
-
onPress
|
|
13
|
+
onPress?: () => void;
|
|
14
14
|
}
|
|
15
15
|
export declare function Button({ children, type, icon, iconPosition, iconSpin, stretch, disabled, onPress, testID, }: ButtonProps): ReactElement;
|
|
16
16
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMrD,oBAAY,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,aAAa,CAAC;AAE5E,aAAK,YAAY,GAAG,OAAO,GAAG,MAAM,CAAC;AAErC,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMrD,oBAAY,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,aAAa,CAAC;AAE5E,aAAK,YAAY,GAAG,OAAO,GAAG,MAAM,CAAC;AAErC,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,IAAkB,EAClB,IAAI,EACJ,YAAqB,EACrB,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,OAAO,EACP,MAAM,GACP,EAAE,WAAW,GAAG,YAAY,CA2B5B"}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import type { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import type { IconButtonContentProps } from './IconButton';
|
|
3
3
|
import type { PressableIconButtonProps } from './PressableIconButton';
|
|
4
|
-
interface
|
|
4
|
+
export interface PressableAnimatedContainerProps {
|
|
5
5
|
children: NonNullable<ReactNode>;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
color: IconButtonContentProps['color'];
|
|
8
8
|
onPress: NonNullable<PressableIconButtonProps['onPress']>;
|
|
9
9
|
}
|
|
10
|
-
declare function
|
|
11
|
-
export declare const PressableAnimatedContainer: typeof WebAnimatedContainer;
|
|
12
|
-
export {};
|
|
10
|
+
export declare function PressableAnimatedContainer({ disabled, color, children, onPress, }: PressableAnimatedContainerProps): ReactElement;
|
|
13
11
|
//# sourceMappingURL=PressableAnimatedContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PressableAnimatedContainer.d.ts","sourceRoot":"","sources":["../../../src/IconButton/PressableAnimatedContainer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PressableAnimatedContainer.d.ts","sourceRoot":"","sources":["../../../src/IconButton/PressableAnimatedContainer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAGtE,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,sBAAsB,CAAC,OAAO,CAAC,CAAC;IACvC,OAAO,EAAE,WAAW,CAAC,wBAAwB,CAAC,SAAS,CAAC,CAAC,CAAC;CAC3D;AAgCD,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,EACR,KAAe,EACf,QAAQ,EACR,OAAO,GACR,EAAE,+BAA+B,GAAG,YAAY,CA6ChD"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { PressableAnimatedContainerProps } from './PressableAnimatedContainer';
|
|
3
|
+
export declare function PressableAnimatedContainer({ children, color, disabled, onPress, }: PressableAnimatedContainerProps): ReactElement;
|
|
4
|
+
//# sourceMappingURL=PressableAnimatedContainer.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PressableAnimatedContainer.web.d.ts","sourceRoot":"","sources":["../../../src/IconButton/PressableAnimatedContainer.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAGpF,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,OAAO,GACR,EAAE,+BAA+B,GAAG,YAAY,CAMhD"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
-
|
|
2
|
+
import type { TypographyColor } from '../typography/Typography';
|
|
3
|
+
export declare type TagType = 'primary' | 'default' | 'danger';
|
|
4
|
+
export declare type TagVariant = 'outline' | 'fill';
|
|
3
5
|
export interface TagProps {
|
|
4
6
|
label: ReactNode;
|
|
5
7
|
type?: TagType;
|
|
8
|
+
variant?: TagVariant;
|
|
6
9
|
}
|
|
7
|
-
export declare
|
|
8
|
-
export {};
|
|
10
|
+
export declare const getLabelColor: (type: TagType, variant: TagVariant) => TypographyColor;
|
|
11
|
+
export declare function Tag({ label, type, variant }: TagProps): ReactElement;
|
|
9
12
|
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAGhE,oBAAY,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEvD,oBAAY,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;AAE5C,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,UAAU,CAAC;CACtB;AAgBD,eAAO,MAAM,aAAa,SAAU,OAAO,WAAW,UAAU,KAAG,eAelE,CAAC;AAEF,wBAAgB,GAAG,CAAC,EAAE,KAAK,EAAE,IAAgB,EAAE,OAAgB,EAAE,EAAE,QAAQ,GAAG,YAAY,CAQzF"}
|
|
@@ -8,7 +8,7 @@ export interface PrimitivePressableProps {
|
|
|
8
8
|
focusable?: PressableProps['focusable'];
|
|
9
9
|
nativeID?: PressableProps['nativeID'];
|
|
10
10
|
accessibilityRole: Extract<PressableProps['accessibilityRole'], 'button' | 'radio' | 'none'>;
|
|
11
|
-
onPress
|
|
11
|
+
onPress?: NonNullable<PressableProps['onPress']>;
|
|
12
12
|
onPressIn?: PressableProps['onPressIn'];
|
|
13
13
|
onPressOut?: PressableProps['onPressOut'];
|
|
14
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrimitivePressable.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitivePressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,WAAW,uBAAuB;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACxC,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC,iBAAiB,EAAE,OAAO,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC,CAAC;IAC7F,OAAO,EAAE,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"PrimitivePressable.d.ts","sourceRoot":"","sources":["../../../src/primitives/PrimitivePressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,WAAW,uBAAuB;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACxC,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC,iBAAiB,EAAE,OAAO,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC,CAAC;IAC7F,OAAO,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC;IAEjD,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IAExC,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;CAC3C;AAED,eAAO,MAAM,kBAAkB,4CAA2E,CAAC"}
|
|
@@ -24,6 +24,7 @@ export declare const theme: {
|
|
|
24
24
|
spacing: number;
|
|
25
25
|
colors: {
|
|
26
26
|
primary: string;
|
|
27
|
+
primaryLight: string;
|
|
27
28
|
accent: string;
|
|
28
29
|
accentLight: string;
|
|
29
30
|
success: string;
|
|
@@ -59,6 +60,8 @@ export declare const theme: {
|
|
|
59
60
|
goldCrayola: string;
|
|
60
61
|
aero: string;
|
|
61
62
|
transparent: string;
|
|
63
|
+
moonPurple: string;
|
|
64
|
+
moonPurpleLight1: string;
|
|
62
65
|
};
|
|
63
66
|
};
|
|
64
67
|
avatar: {
|
|
@@ -179,8 +182,6 @@ export declare const theme: {
|
|
|
179
182
|
colors: {
|
|
180
183
|
black: string;
|
|
181
184
|
'black-light': string;
|
|
182
|
-
grey: string;
|
|
183
|
-
'grey-light': string;
|
|
184
185
|
white: string;
|
|
185
186
|
'white-light': string;
|
|
186
187
|
primary: string;
|
|
@@ -194,7 +195,6 @@ export declare const theme: {
|
|
|
194
195
|
fontFamily: {
|
|
195
196
|
regular: string;
|
|
196
197
|
bold: string;
|
|
197
|
-
italic: string;
|
|
198
198
|
};
|
|
199
199
|
fontWeight: number;
|
|
200
200
|
fontStyle: string;
|
|
@@ -210,17 +210,14 @@ export declare const theme: {
|
|
|
210
210
|
fontFamily: {
|
|
211
211
|
regular: string;
|
|
212
212
|
bold: string;
|
|
213
|
-
italic: string;
|
|
214
213
|
};
|
|
215
214
|
fontWeight: {
|
|
216
215
|
regular: number;
|
|
217
216
|
bold: number;
|
|
218
|
-
italic: number;
|
|
219
217
|
};
|
|
220
218
|
fontStyle: {
|
|
221
219
|
regular: string;
|
|
222
220
|
bold: string;
|
|
223
|
-
italic: string;
|
|
224
221
|
};
|
|
225
222
|
configs: {
|
|
226
223
|
'body-large': import("./late-ocean/typographyLateOceanTheme").TypographyTypeConfig;
|
|
@@ -239,13 +236,40 @@ export declare const theme: {
|
|
|
239
236
|
borderRadius: string;
|
|
240
237
|
padding: string;
|
|
241
238
|
primary: {
|
|
242
|
-
|
|
239
|
+
fill: {
|
|
240
|
+
backgroundColor: string;
|
|
241
|
+
borderWidth: string;
|
|
242
|
+
borderColor: string;
|
|
243
|
+
};
|
|
244
|
+
outline: {
|
|
245
|
+
backgroundColor: string;
|
|
246
|
+
borderWidth: string;
|
|
247
|
+
borderColor: string;
|
|
248
|
+
};
|
|
243
249
|
};
|
|
244
250
|
default: {
|
|
245
|
-
|
|
251
|
+
fill: {
|
|
252
|
+
backgroundColor: string;
|
|
253
|
+
borderWidth: string;
|
|
254
|
+
borderColor: string;
|
|
255
|
+
};
|
|
256
|
+
outline: {
|
|
257
|
+
backgroundColor: string;
|
|
258
|
+
borderWidth: string;
|
|
259
|
+
borderColor: string;
|
|
260
|
+
};
|
|
246
261
|
};
|
|
247
262
|
danger: {
|
|
248
|
-
|
|
263
|
+
fill: {
|
|
264
|
+
backgroundColor: string;
|
|
265
|
+
borderWidth: string;
|
|
266
|
+
borderColor: string;
|
|
267
|
+
};
|
|
268
|
+
outline: {
|
|
269
|
+
backgroundColor: string;
|
|
270
|
+
borderWidth: string;
|
|
271
|
+
borderColor: string;
|
|
272
|
+
};
|
|
249
273
|
};
|
|
250
274
|
};
|
|
251
275
|
shadows: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/themes/default.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAenF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;CAoBvB,CAAC;
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/themes/default.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAenF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;CAoBvB,CAAC;AAIF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAejB,CAAC;AAEF,oBAAY,SAAS,GAAG;IACtB,IAAI,EAAE,OAAO,KAAK,CAAC;IACnB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,WAAW,EAAE,OAAO,WAAW,CAAC;CACjC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colorsLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/colorsLateOceanTheme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"colorsLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/colorsLateOceanTheme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;CAiBhC,CAAC"}
|
|
@@ -2,13 +2,40 @@ export declare const tagLateOceanTheme: {
|
|
|
2
2
|
borderRadius: string;
|
|
3
3
|
padding: string;
|
|
4
4
|
primary: {
|
|
5
|
-
|
|
5
|
+
fill: {
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
borderWidth: string;
|
|
8
|
+
borderColor: string;
|
|
9
|
+
};
|
|
10
|
+
outline: {
|
|
11
|
+
backgroundColor: string;
|
|
12
|
+
borderWidth: string;
|
|
13
|
+
borderColor: string;
|
|
14
|
+
};
|
|
6
15
|
};
|
|
7
16
|
default: {
|
|
8
|
-
|
|
17
|
+
fill: {
|
|
18
|
+
backgroundColor: string;
|
|
19
|
+
borderWidth: string;
|
|
20
|
+
borderColor: string;
|
|
21
|
+
};
|
|
22
|
+
outline: {
|
|
23
|
+
backgroundColor: string;
|
|
24
|
+
borderWidth: string;
|
|
25
|
+
borderColor: string;
|
|
26
|
+
};
|
|
9
27
|
};
|
|
10
28
|
danger: {
|
|
11
|
-
|
|
29
|
+
fill: {
|
|
30
|
+
backgroundColor: string;
|
|
31
|
+
borderWidth: string;
|
|
32
|
+
borderColor: string;
|
|
33
|
+
};
|
|
34
|
+
outline: {
|
|
35
|
+
backgroundColor: string;
|
|
36
|
+
borderWidth: string;
|
|
37
|
+
borderColor: string;
|
|
38
|
+
};
|
|
12
39
|
};
|
|
13
40
|
};
|
|
14
41
|
//# sourceMappingURL=tagLateOceanTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tagLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/tagLateOceanTheme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tagLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/tagLateOceanTheme.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuC7B,CAAC"}
|
|
@@ -12,8 +12,6 @@ export declare const typographyLateOceanTheme: {
|
|
|
12
12
|
colors: {
|
|
13
13
|
black: string;
|
|
14
14
|
'black-light': string;
|
|
15
|
-
grey: string;
|
|
16
|
-
'grey-light': string;
|
|
17
15
|
white: string;
|
|
18
16
|
'white-light': string;
|
|
19
17
|
primary: string;
|
|
@@ -27,7 +25,6 @@ export declare const typographyLateOceanTheme: {
|
|
|
27
25
|
fontFamily: {
|
|
28
26
|
regular: string;
|
|
29
27
|
bold: string;
|
|
30
|
-
italic: string;
|
|
31
28
|
};
|
|
32
29
|
fontWeight: number;
|
|
33
30
|
fontStyle: string;
|
|
@@ -43,17 +40,14 @@ export declare const typographyLateOceanTheme: {
|
|
|
43
40
|
fontFamily: {
|
|
44
41
|
regular: string;
|
|
45
42
|
bold: string;
|
|
46
|
-
italic: string;
|
|
47
43
|
};
|
|
48
44
|
fontWeight: {
|
|
49
45
|
regular: number;
|
|
50
46
|
bold: number;
|
|
51
|
-
italic: number;
|
|
52
47
|
};
|
|
53
48
|
fontStyle: {
|
|
54
49
|
regular: string;
|
|
55
50
|
bold: string;
|
|
56
|
-
italic: string;
|
|
57
51
|
};
|
|
58
52
|
configs: {
|
|
59
53
|
'body-large': TypographyTypeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typographyLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/typographyLateOceanTheme.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE;QACZ,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,aAAa,EAAE;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;CACH;AAiBD,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"typographyLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/typographyLateOceanTheme.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE;QACZ,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,aAAa,EAAE;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;CACH;AAiBD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lateOceanColorPalette.d.ts","sourceRoot":"","sources":["../../../../src/themes/palettes/lateOceanColorPalette.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"lateOceanColorPalette.d.ts","sourceRoot":"","sources":["../../../../src/themes/palettes/lateOceanColorPalette.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;CA0BjC,CAAC"}
|
|
@@ -4,8 +4,8 @@ import type { PrimitiveTextProps } from '../primitives/PrimitiveText';
|
|
|
4
4
|
declare type TypographyHeaderType = `header${'1' | '2' | '3' | '4' | '5'}`;
|
|
5
5
|
declare type TypographyBodyType = 'body' | `body-${'large' | 'medium' | 'small' | 'xsmall'}`;
|
|
6
6
|
declare type TypographyType = TypographyHeaderType | TypographyBodyType;
|
|
7
|
-
declare type TypographyVariant = 'regular' | 'bold'
|
|
8
|
-
export declare type TypographyColor = 'black' | 'black-light' | 'white' | 'white-light' | '
|
|
7
|
+
declare type TypographyVariant = 'regular' | 'bold';
|
|
8
|
+
export declare type TypographyColor = 'black' | 'black-light' | 'white' | 'white-light' | 'primary' | 'primary-light' | 'accent' | 'success' | 'danger';
|
|
9
9
|
export declare function useTypographyColor(): TypographyColor;
|
|
10
10
|
export interface TypographyProps extends Except<PrimitiveTextProps, 'accessibilityRole'> {
|
|
11
11
|
accessibilityRole: NonNullable<PrimitiveTextProps['accessibilityRole']> | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzD,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAGtE,aAAK,oBAAoB,GAAG,SAAS,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,EAAE,CAAC;AACnE,aAAK,kBAAkB,GAAG,MAAM,GAAG,QAAQ,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,EAAE,CAAC;AACrF,aAAK,cAAc,GAAG,oBAAoB,GAAG,kBAAkB,CAAC;AAChE,aAAK,iBAAiB,GAAG,SAAS,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzD,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAGtE,aAAK,oBAAoB,GAAG,SAAS,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,EAAE,CAAC;AACnE,aAAK,kBAAkB,GAAG,MAAM,GAAG,QAAQ,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,EAAE,CAAC;AACrF,aAAK,cAAc,GAAG,oBAAoB,GAAG,kBAAkB,CAAC;AAChE,aAAK,iBAAiB,GAAG,SAAS,GAAG,MAAM,CAAC;AAC5C,oBAAY,eAAe,GACvB,OAAO,GACP,aAAa,GACb,OAAO,GACP,aAAa,GACb,SAAS,GACT,eAAe,GACf,QAAQ,GACR,SAAS,GACT,QAAQ,CAAC;AAKb,wBAAgB,kBAAkB,IAAI,eAAe,CAEpD;AAkDD,MAAM,WAAW,eAAgB,SAAQ,MAAM,CAAC,kBAAkB,EAAE,mBAAmB,CAAC;IAEtF,iBAAiB,EAAE,WAAW,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAC,GAAG,IAAI,CAAC;IAC/E,mEAAmE;IACnE,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,iGAAiG;IACjG,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB;AACD,oBAAY,0BAA0B,GAAG,MAAM,CAAC,eAAe,EAAE,mBAAmB,CAAC,CAAC;AAUtF,wBAAgB,UAAU,CAAC,EACzB,iBAAiB,EACjB,IAAI,EACJ,OAAO,EACP,KAAK,EACL,GAAG,UAAU,EACd,EAAE,eAAe,GAAG,YAAY,GAAG,IAAI,CA6BvC;yBAnCe,UAAU;;;;;;;;;;;;;;;AAqC1B,oBAAY,mBAAmB,GAAG,WAAW,CAAC,eAAe,EAAE,mBAAmB,CAAC,CAAC;AACpF,iBAAS,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CAEhE;AAED,iBAAS,mBAAmB,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CAErE;AAED,oBAAY,sBAAsB,GAAG,0BAA0B,CAAC"}
|