@ornikar/kitt-universal 3.5.0 → 3.8.0-beta.1

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.
Files changed (52) hide show
  1. package/.vscode/settings.json +3 -0
  2. package/CHANGELOG.md +249 -0
  3. package/dist/definitions/Avatar/Avatar.d.ts +9 -4
  4. package/dist/definitions/Avatar/Avatar.d.ts.map +1 -1
  5. package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts +2 -2
  6. package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts.map +1 -1
  7. package/dist/definitions/IconButton/PressableIconButton.d.ts.map +1 -1
  8. package/dist/definitions/index.d.ts +1 -0
  9. package/dist/definitions/index.d.ts.map +1 -1
  10. package/dist/definitions/linaria-themes.d.ts +2 -0
  11. package/dist/definitions/linaria-themes.d.ts.map +1 -0
  12. package/dist/definitions/themes/default.d.ts +22 -31
  13. package/dist/definitions/themes/default.d.ts.map +1 -1
  14. package/dist/definitions/themes/late-ocean/avatarLateOceanTheme.d.ts +9 -10
  15. package/dist/definitions/themes/late-ocean/avatarLateOceanTheme.d.ts.map +1 -1
  16. package/dist/definitions/useKittTheme.d.ts +0 -2
  17. package/dist/definitions/useKittTheme.d.ts.map +1 -1
  18. package/dist/definitions/utils/withTheme.d.ts +2 -2
  19. package/dist/definitions/utils/withTheme.d.ts.map +1 -1
  20. package/dist/index-browser-all.es.android.js +149 -118
  21. package/dist/index-browser-all.es.android.js.map +1 -1
  22. package/dist/index-browser-all.es.css +1 -1
  23. package/dist/index-browser-all.es.ios.js +149 -118
  24. package/dist/index-browser-all.es.ios.js.map +1 -1
  25. package/dist/index-browser-all.es.js +81 -76
  26. package/dist/index-browser-all.es.js.map +1 -1
  27. package/dist/index-browser-all.es.web.js +120 -119
  28. package/dist/index-browser-all.es.web.js.map +1 -1
  29. package/dist/index-node-14.17.cjs.css +1 -1
  30. package/dist/index-node-14.17.cjs.js +62 -50
  31. package/dist/index-node-14.17.cjs.js.map +1 -1
  32. package/dist/index-node-14.17.cjs.web.css +2 -2
  33. package/dist/index-node-14.17.cjs.web.js +91 -82
  34. package/dist/index-node-14.17.cjs.web.js.map +1 -1
  35. package/dist/linaria-themes-browser-all.es.android.js +461 -0
  36. package/dist/linaria-themes-browser-all.es.android.js.map +1 -0
  37. package/dist/linaria-themes-browser-all.es.ios.js +461 -0
  38. package/dist/linaria-themes-browser-all.es.ios.js.map +1 -0
  39. package/dist/linaria-themes-browser-all.es.js +461 -0
  40. package/dist/linaria-themes-browser-all.es.js.map +1 -0
  41. package/dist/linaria-themes-browser-all.es.web.js +459 -0
  42. package/dist/linaria-themes-browser-all.es.web.js.map +1 -0
  43. package/dist/linaria-themes-node-14.17.cjs.js +461 -0
  44. package/dist/linaria-themes-node-14.17.cjs.js.map +1 -0
  45. package/dist/linaria-themes-node-14.17.cjs.web.js +459 -0
  46. package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -0
  47. package/dist/styles.css +2 -2
  48. package/dist/tsbuildinfo +1 -1
  49. package/linaria-themes.js +3 -0
  50. package/linaria-themes.web.js +3 -0
  51. package/package.json +20 -5
  52. package/tsconfig.eslint.json +6 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ "eslint.workingDirectories": ["../../"]
3
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,249 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ # [3.7.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@3.6.0...@ornikar/kitt-universal@3.7.0) (2022-02-14)
7
+
8
+
9
+ ### Features
10
+
11
+ * move breakpoint object inside kitt theme object [no issue] ([#1277](https://github.com/ornikar/kitt/issues/1277)) ([9e589a9](https://github.com/ornikar/kitt/commit/9e589a9d2be2a436b6a49aedabcaf236ca4f008e))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.6.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@3.5.0...@ornikar/kitt-universal@3.6.0) (2022-02-11)
18
+
19
+
20
+ ### Features
21
+
22
+ * export withTheme from kitt universal ([#1276](https://github.com/ornikar/kitt/issues/1276)) ([9df8f4d](https://github.com/ornikar/kitt/commit/9df8f4dde6f9ff8367d61376b96bcabcecfae315))
23
+ * **avatar:** rework universal avatar to match web needs [no issue] ([#1269](https://github.com/ornikar/kitt/issues/1269)) ([cd75b0e](https://github.com/ornikar/kitt/commit/cd75b0e54aa5b69e7ca2efc62b9d217c8f1eb89c))
24
+
25
+
26
+
27
+
28
+
29
+ # [3.5.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@3.4.0...@ornikar/kitt-universal@3.5.0) (2022-02-07)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * **kitt-universal/typography:** fix line-height for medium and wide [no issue] ([#1259](https://github.com/ornikar/kitt/issues/1259)) ([1c213e2](https://github.com/ornikar/kitt/commit/1c213e2069833847a0012794d6b2e496810b5dc5))
35
+ * **kittUniversal:** fix textArea on android [#1250](https://github.com/ornikar/kitt/issues/1250) ([#1256](https://github.com/ornikar/kitt/issues/1256)) ([b80f393](https://github.com/ornikar/kitt/commit/b80f393c610eadc63e410a08f3509e4f7a0fe8b8))
36
+
37
+
38
+ ### Features
39
+
40
+ * kitt universal/skeletons CME-245 ([#1258](https://github.com/ornikar/kitt/issues/1258)) ([fcc68f6](https://github.com/ornikar/kitt/commit/fcc68f6c59128eddeb7efb3d5d3545899e4e9020))
41
+ * **kitt-universal:** export stylewebwrapper [no issue] ([#1268](https://github.com/ornikar/kitt/issues/1268)) ([9040cf3](https://github.com/ornikar/kitt/commit/9040cf35751fa088985376503fd94f62594470a6))
42
+
43
+
44
+
45
+
46
+
47
+ # [3.4.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@3.3.0...@ornikar/kitt-universal@3.4.0) (2022-02-02)
48
+
49
+
50
+ ### Features
51
+
52
+ * **kitt-universal/typography:** default base to body when no ancestors [no issue] ([#1255](https://github.com/ornikar/kitt/issues/1255)) ([ee8e00f](https://github.com/ornikar/kitt/commit/ee8e00f220280a1208ecfe329a41332a8ce55732))
53
+ * kitt universal/remove styling that use data attributes [no issue] ([#1246](https://github.com/ornikar/kitt/issues/1246)) ([1d8d2e8](https://github.com/ornikar/kitt/commit/1d8d2e8a12bf7824afb97f5240db91e60c9ff784))
54
+
55
+
56
+
57
+
58
+
59
+ # [3.3.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@3.2.0...@ornikar/kitt-universal@3.3.0) (2022-01-28)
60
+
61
+
62
+ ### Features
63
+
64
+ * add height in matchWindowSize [no issue] ([#1244](https://github.com/ornikar/kitt/issues/1244)) ([60f8ec8](https://github.com/ornikar/kitt/commit/60f8ec8664cecc9983ef1add121db3b67b0a99ab))
65
+
66
+
67
+
68
+
69
+
70
+ # [3.2.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@3.1.0...@ornikar/kitt-universal@3.2.0) (2022-01-27)
71
+
72
+
73
+ ### Features
74
+
75
+ * kitt universal/improve button component to match web standards CME-43 ([#1201](https://github.com/ornikar/kitt/issues/1201)) ([bf5e801](https://github.com/ornikar/kitt/commit/bf5e80161c244a84181815a157c8179007ea7070))
76
+
77
+
78
+
79
+
80
+
81
+ # [3.1.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@3.0.1...@ornikar/kitt-universal@3.1.0) (2022-01-24)
82
+
83
+
84
+ ### Features
85
+
86
+ * **deps:** update dependency type-fest to v2 ([#1239](https://github.com/ornikar/kitt/issues/1239)) ([8eea5ca](https://github.com/ornikar/kitt/commit/8eea5ca724bb9a81f84a0aaee7c452f5b0b75275))
87
+
88
+
89
+
90
+
91
+
92
+ ## [3.0.1](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@3.0.0...@ornikar/kitt-universal@3.0.1) (2022-01-21)
93
+
94
+ **Note:** Version bump only for package @ornikar/kitt-universal
95
+
96
+
97
+
98
+
99
+
100
+ # [3.0.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@2.5.0...@ornikar/kitt-universal@3.0.0) (2022-01-20)
101
+
102
+
103
+ ### Code Refactoring
104
+
105
+ * remove primitives and use linaria CME-159 ([#1219](https://github.com/ornikar/kitt/issues/1219)) ([4f5c775](https://github.com/ornikar/kitt/commit/4f5c77539916a6db9db437ec3c37f3932d21f8c8))
106
+
107
+
108
+ ### Features
109
+
110
+ * **kitt-universal:** horizontal primitive scroll view CME-158 ([#1207](https://github.com/ornikar/kitt/issues/1207)) ([37569f7](https://github.com/ornikar/kitt/commit/37569f7a5a52c2d97dbbca1fb6c64de182385a86))
111
+ * **kitt-universal:** implement the Tooltip component CME-129 ([#1173](https://github.com/ornikar/kitt/issues/1173)) ([9993cf7](https://github.com/ornikar/kitt/commit/9993cf7651ba7307a01a573665d99e122eb06c7c))
112
+ * typography breakpoints CME-142 ([#1199](https://github.com/ornikar/kitt/issues/1199)) ([1319aa3](https://github.com/ornikar/kitt/commit/1319aa34efc65003ad023ec0f86ac48d837b8e05))
113
+ * **kitt-universal:** add new component timepicker CME-118 ([#1194](https://github.com/ornikar/kitt/issues/1194)) ([ea77b9c](https://github.com/ornikar/kitt/commit/ea77b9c6e8c61744630c7254bfa5a8b15d95e041))
114
+
115
+
116
+ ### BREAKING CHANGES
117
+
118
+ * removed primitives, requires to use kitt-universal babel preset
119
+
120
+
121
+
122
+
123
+
124
+ # [2.5.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@2.4.0...@ornikar/kitt-universal@2.5.0) (2022-01-06)
125
+
126
+
127
+ ### Features
128
+
129
+ * **kitt-universal/PrimitiveScrollView:** add support for bounces [no issue] ([#1200](https://github.com/ornikar/kitt/issues/1200)) ([109a33e](https://github.com/ornikar/kitt/commit/109a33e936cd24ee39a6bc787900ad48c717a843))
130
+
131
+
132
+
133
+
134
+
135
+ # [2.4.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@2.3.0...@ornikar/kitt-universal@2.4.0) (2022-01-06)
136
+
137
+
138
+ ### Features
139
+
140
+ * **kitt-universal:** add accessibilityLabel support in primitives [no issue] ([#1198](https://github.com/ornikar/kitt/issues/1198)) ([679501d](https://github.com/ornikar/kitt/commit/679501d5f93d1cdc0df4f1f5002d57471444f58d))
141
+ * **kitt-universal:** add Emoji & TypographyEmoji components [no issue] ([#1172](https://github.com/ornikar/kitt/issues/1172)) ([629779b](https://github.com/ornikar/kitt/commit/629779bb92b4631d6e1efd90faae3f04c4921ea9))
142
+
143
+
144
+
145
+
146
+
147
+ # [2.3.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@2.2.0...@ornikar/kitt-universal@2.3.0) (2022-01-05)
148
+
149
+
150
+ ### Features
151
+
152
+ * link implementation CME-130 ([#1186](https://github.com/ornikar/kitt/issues/1186)) ([570a9ff](https://github.com/ornikar/kitt/commit/570a9ffcd59f2ab49a664966b9e8bd3f3a4562fb))
153
+
154
+
155
+
156
+
157
+
158
+ # [2.2.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@2.1.1...@ornikar/kitt-universal@2.2.0) (2022-01-05)
159
+
160
+
161
+ ### Bug Fixes
162
+
163
+ * **kitt-universal:** fix Button default background color [no issue] ([#1188](https://github.com/ornikar/kitt/issues/1188)) ([8d17c6e](https://github.com/ornikar/kitt/commit/8d17c6e2fd4a2280841f0c47eafc47c98e46a510))
164
+ * **kitt-universal/Button:** onPress prop optional [no issue] ([#1191](https://github.com/ornikar/kitt/issues/1191)) ([a8e0a0c](https://github.com/ornikar/kitt/commit/a8e0a0cadce17c1d58bfae2effb92be349935c50))
165
+
166
+
167
+ ### Features
168
+
169
+ * **kitt-universal:** add variant prop to Tag component [no issue] ([#1189](https://github.com/ornikar/kitt/issues/1189)) ([3c699b2](https://github.com/ornikar/kitt/commit/3c699b24bd49be978139a0132f0f230139ece294))
170
+
171
+
172
+
173
+
174
+
175
+ ## [2.1.1](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@2.1.0...@ornikar/kitt-universal@2.1.1) (2022-01-03)
176
+
177
+
178
+ ### Bug Fixes
179
+
180
+ * **kitt-universal/PrimitivePressable:** allow undefined onPress prop [no issue] ([#1187](https://github.com/ornikar/kitt/issues/1187)) ([7fd447a](https://github.com/ornikar/kitt/commit/7fd447ada8383f5ada52298bc3619d9a1d3efeae))
181
+
182
+
183
+
184
+
185
+
186
+ # [2.1.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@2.0.0...@ornikar/kitt-universal@2.1.0) (2021-12-31)
187
+
188
+
189
+ ### Features
190
+
191
+ * **deps:** update dependency react-native-reanimated to v2.3.1 ([#1179](https://github.com/ornikar/kitt/issues/1179)) ([39ba391](https://github.com/ornikar/kitt/commit/39ba391e4f009302500b21479af852f0647ea095))
192
+ * **deps:** update dependency react-native-safe-area-context to v3.3.2 ([#1180](https://github.com/ornikar/kitt/issues/1180)) ([9bfc0ca](https://github.com/ornikar/kitt/commit/9bfc0ca35e019ca6d44ba518ebd91fe1e019087f))
193
+
194
+
195
+
196
+
197
+
198
+ # [2.0.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@1.1.0...@ornikar/kitt-universal@2.0.0) (2021-12-30)
199
+
200
+
201
+ ### Features
202
+
203
+ * delete italic and grey typography variants CME-135 ([#1171](https://github.com/ornikar/kitt/issues/1171)) ([4ab1bcf](https://github.com/ornikar/kitt/commit/4ab1bcf8d952864fa6454ed910d8dfe566b51f20))
204
+ * **kitt-universal:** add moonPurple and moonPurleLight1 to kitt-universal [no issue] ([#1169](https://github.com/ornikar/kitt/issues/1169)) ([d0dd1d8](https://github.com/ornikar/kitt/commit/d0dd1d878637182c3e2352e39f9a1813f0c7085a))
205
+ * **kitt-universal:** add primary light color CME-134 ([#1170](https://github.com/ornikar/kitt/issues/1170)) ([1806341](https://github.com/ornikar/kitt/commit/18063412af87fcae66232406e96f215cf4f5482c))
206
+
207
+
208
+ ### BREAKING CHANGES
209
+
210
+ * grey, grey-light and italic typography are removed without fallback
211
+
212
+
213
+
214
+
215
+
216
+ # [1.1.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@1.0.2...@ornikar/kitt-universal@1.1.0) (2021-12-23)
217
+
218
+
219
+ ### Features
220
+
221
+ * add down right icon [no issue] ([#1168](https://github.com/ornikar/kitt/issues/1168)) ([ee8b2c4](https://github.com/ornikar/kitt/commit/ee8b2c434c7c19ca5d4cb5236d57e2403d9134d8))
222
+ * kitt universal - add icon button [no issue] ([#1156](https://github.com/ornikar/kitt/issues/1156)) ([72fdc8b](https://github.com/ornikar/kitt/commit/72fdc8b4fee12b14b7c53bda692e4dfa78a91a71))
223
+
224
+
225
+
226
+
227
+
228
+ ## [1.0.2](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@1.0.1...@ornikar/kitt-universal@1.0.2) (2021-12-20)
229
+
230
+ **Note:** Version bump only for package @ornikar/kitt-universal
231
+
232
+
233
+
234
+
235
+
236
+ ## [1.0.1](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@1.0.0...@ornikar/kitt-universal@1.0.1) (2021-12-09)
237
+
238
+
239
+ ### Bug Fixes
240
+
241
+ * downgrade node minimum required version [no issue] ([#1141](https://github.com/ornikar/kitt/issues/1141)) ([637dd07](https://github.com/ornikar/kitt/commit/637dd0768a1dba3e5577770f80bfe56dee7dad38))
242
+
243
+
244
+
245
+
246
+
247
+ # 1.0.0 (2021-12-08)
248
+
249
+ **Note:** Version bump only for package @ornikar/kitt-universal
@@ -1,14 +1,19 @@
1
1
  import type { ReactElement } from 'react';
2
+ import type { TypographyType } from '../typography/Typography';
3
+ export interface StyledAvatarViewProps {
4
+ $isRound?: boolean;
5
+ $isLight?: boolean;
6
+ $size: number;
7
+ }
2
8
  export interface AvatarProps {
3
9
  size?: number;
4
10
  src?: string | null;
11
+ alt?: string;
5
12
  firstname?: string | null;
6
13
  lastname?: string | null;
14
+ base?: TypographyType;
7
15
  round?: boolean;
8
16
  light?: boolean;
9
17
  }
10
- export interface StyledAvatarViewProps extends Pick<AvatarProps, 'round' | 'light'> {
11
- size: number;
12
- }
13
- export declare function Avatar({ size, ...rest }: AvatarProps): ReactElement;
18
+ export declare function Avatar({ size, base, round, light, ...props }: AvatarProps): ReactElement;
14
19
  //# sourceMappingURL=Avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/Avatar/Avatar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAW1C,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,OAAO,CAAC;IACjF,IAAI,EAAE,MAAM,CAAC;CACd;AA6BD,wBAAgB,MAAM,CAAC,EAAE,IAAS,EAAE,GAAG,IAAI,EAAE,EAAE,WAAW,GAAG,YAAY,CAMxE"}
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/Avatar/Avatar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAK/D,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAsCD,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,MAAM,CAAC,EAAE,IAAS,EAAE,IAAmB,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,GAAG,YAAY,CAM5G"}
@@ -9,9 +9,9 @@ interface AnimatedButtonPressableContainerProps {
9
9
  $isStretch?: boolean;
10
10
  $isSubtle?: boolean;
11
11
  }
12
- export declare const AnimatedButtonPressableContainer: import("react").ComponentType<import("type-fest").Except<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & AnimatedButtonPressableContainerProps & {
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">>;
14
+ }, "theme">, "children" | "style" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "key" | "slot" | "title" | "hidden" | "color" | "as" | "id" | "autoCapitalize" | "autoCorrect" | "defaultValue" | "onBlur" | "onChange" | "onFocus" | "onScroll" | "onKeyPress" | "placeholder" | "spellCheck" | "onError" | "onLoad" | "onLoadStart" | "onProgress" | "$isStretch" | "$type" | "$isDisabled" | "className" | "$isSubtle" | "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 +1 @@
1
- {"version":3,"file":"AnimatedButtonPressable.web.d.ts","sourceRoot":"","sources":["../../../src/Button/AnimatedButtonPressable.web.tsx"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAG3C,UAAU,qCAAqC;IAC7C,KAAK,EAAE,YAAY,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,gCAAgC;;YA0H3C,CAAC;AAEH,eAAO,MAAM,uBAAuB,yHAQnC,CAAC"}
1
+ {"version":3,"file":"AnimatedButtonPressable.web.d.ts","sourceRoot":"","sources":["../../../src/Button/AnimatedButtonPressable.web.tsx"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAG3C,UAAU,qCAAqC;IAC7C,KAAK,EAAE,YAAY,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,gCAAgC;;knJA0H3C,CAAC;AAEH,eAAO,MAAM,uBAAuB,yHAQnC,CAAC"}
@@ -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;AAMnD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AA2E3D,MAAM,WAAW,wBAAyB,SAAQ,cAAc;IAC9D,KAAK,EAAE,sBAAsB,CAAC,OAAO,CAAC,CAAC;CACxC;AAED,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,GAAG,YAAY,CAM/F"}
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;AA2E3D,MAAM,WAAW,wBAAyB,SAAQ,cAAc;IAC9D,KAAK,EAAE,sBAAsB,CAAC,OAAO,CAAC,CAAC;CACxC;AAED,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,GAAG,YAAY,CAM/F"}
@@ -67,5 +67,6 @@ export { createWindowSizeHelper } from './utils/windowSize/createWindowSizeHelpe
67
67
  export { MatchWindowSize } from './utils/windowSize/MatchWindowSize';
68
68
  export { matchWindowSize, useMatchWindowSize } from './utils/windowSize/useMatchWindowSize';
69
69
  export { useWindowSize } from './utils/windowSize/useWindowSize';
70
+ export { withTheme } from './utils/withTheme';
70
71
  export * from '@ornikar/kitt-icons';
71
72
  //# sourceMappingURL=index.d.ts.map
@@ -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,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,YAAY,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvG,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAC9E,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,YAAY,EAAE,aAAa,EAAE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CAAoC,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"}
@@ -0,0 +1,2 @@
1
+ export { theme as defaultThemeLinaria } from './themes/default';
2
+ //# sourceMappingURL=linaria-themes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linaria-themes.d.ts","sourceRoot":"","sources":["../../src/linaria-themes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,24 +1,3 @@
1
- export declare const breakpoints: {
2
- values: {
3
- base: number;
4
- small: number;
5
- medium: number;
6
- large: number;
7
- wide: number;
8
- };
9
- min: {
10
- smallBreakpoint: string;
11
- mediumBreakpoint: string;
12
- largeBreakpoint: string;
13
- wideBreakpoint: string;
14
- };
15
- max: {
16
- smallBreakpoint: string;
17
- mediumBreakpoint: string;
18
- largeBreakpoint: string;
19
- wideBreakpoint: string;
20
- };
21
- };
22
1
  export declare const theme: {
23
2
  spacing: number;
24
3
  colors: {
@@ -66,16 +45,7 @@ export declare const theme: {
66
45
  moonPurpleLight1: string;
67
46
  };
68
47
  };
69
- avatar: {
70
- default: {
71
- color: string;
72
- backgroundColor: string;
73
- };
74
- light: {
75
- color: string;
76
- backgroundColor: string;
77
- };
78
- };
48
+ avatar: import("./late-ocean/avatarLateOceanTheme").AvatarTheme;
79
49
  button: import("./late-ocean/buttonLateOceanTheme").ButtonTheme;
80
50
  card: {
81
51
  borderRadius: string;
@@ -251,6 +221,27 @@ export declare const theme: {
251
221
  };
252
222
  tooltip: import("./late-ocean/tooltip").TooltipTheme;
253
223
  skeleton: import("./late-ocean/skeletonTheme").SkeletonTheme;
224
+ breakpoints: {
225
+ values: {
226
+ base: number;
227
+ small: number;
228
+ medium: number;
229
+ large: number;
230
+ wide: number;
231
+ };
232
+ min: {
233
+ smallBreakpoint: string;
234
+ mediumBreakpoint: string;
235
+ largeBreakpoint: string;
236
+ wideBreakpoint: string;
237
+ };
238
+ max: {
239
+ smallBreakpoint: string;
240
+ mediumBreakpoint: string;
241
+ largeBreakpoint: string;
242
+ wideBreakpoint: string;
243
+ };
244
+ };
254
245
  };
255
246
  export declare type Theme = typeof theme;
256
247
  //# sourceMappingURL=default.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/themes/default.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;CAoBvB,CAAC;AAIF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBjB,CAAC;AAEF,oBAAY,KAAK,GAAG,OAAO,KAAK,CAAC"}
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"}
@@ -1,11 +1,10 @@
1
- export declare const avatarLateOceanTheme: {
2
- default: {
3
- color: string;
4
- backgroundColor: string;
5
- };
6
- light: {
7
- color: string;
8
- backgroundColor: string;
9
- };
10
- };
1
+ export interface AvatarThemeVariant {
2
+ backgroundColor: string;
3
+ }
4
+ export interface AvatarTheme {
5
+ borderRadius: string;
6
+ default: AvatarThemeVariant;
7
+ light: AvatarThemeVariant;
8
+ }
9
+ export declare const avatar: AvatarTheme;
11
10
  //# sourceMappingURL=avatarLateOceanTheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatarLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/avatarLateOceanTheme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;CAShC,CAAC"}
1
+ {"version":3,"file":"avatarLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/avatarLateOceanTheme.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,kBAAkB;IACjC,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,WAAW;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,kBAAkB,CAAC;IAC5B,KAAK,EAAE,kBAAkB,CAAC;CAC3B;AAED,eAAO,MAAM,MAAM,EAAE,WAQpB,CAAC"}
@@ -1,10 +1,8 @@
1
1
  import type { Theme } from './themes/default';
2
- import { breakpoints } from './themes/default';
3
2
  import type { WindowSizeHelper } from './utils/windowSize/createWindowSizeHelper';
4
3
  export interface KittTheme {
5
4
  kitt: Theme;
6
5
  responsive: WindowSizeHelper;
7
- breakpoints: typeof breakpoints;
8
6
  }
9
7
  export declare function useKittTheme(): KittTheme;
10
8
  //# sourceMappingURL=useKittTheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useKittTheme.d.ts","sourceRoot":"","sources":["../../src/useKittTheme.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAIlF,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,KAAK,CAAC;IACZ,UAAU,EAAE,gBAAgB,CAAC;IAC7B,WAAW,EAAE,OAAO,WAAW,CAAC;CACjC;AAED,wBAAgB,YAAY,IAAI,SAAS,CAKxC"}
1
+ {"version":3,"file":"useKittTheme.d.ts","sourceRoot":"","sources":["../../src/useKittTheme.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAIlF,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,KAAK,CAAC;IACZ,UAAU,EAAE,gBAAgB,CAAC;CAC9B;AAED,wBAAgB,YAAY,IAAI,SAAS,CAKxC"}
@@ -1,7 +1,7 @@
1
- import type { ComponentType } from 'react';
1
+ import type { ComponentType, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from 'react';
2
2
  import type { DefaultTheme } from 'styled-components/native';
3
3
  import type { Except } from 'type-fest';
4
4
  export declare function withTheme<Props extends {
5
5
  theme: DefaultTheme;
6
- }>(WrappedComponent: ComponentType<Props>): ComponentType<Except<Props, 'theme'>>;
6
+ }, T>(WrappedComponent: ComponentType<Props>): ForwardRefExoticComponent<PropsWithoutRef<Except<Props, 'theme'>> & RefAttributes<T>>;
7
7
  //# sourceMappingURL=withTheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"withTheme.d.ts","sourceRoot":"","sources":["../../../src/utils/withTheme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAexC,wBAAgB,SAAS,CAAC,KAAK,SAAS;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE,EAC7D,gBAAgB,EAAE,aAAa,CAAC,KAAK,CAAC,GACrC,aAAa,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAMvC"}
1
+ {"version":3,"file":"withTheme.d.ts","sourceRoot":"","sources":["../../../src/utils/withTheme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAyB,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAexC,wBAAgB,SAAS,CAAC,KAAK,SAAS;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE,EAAE,CAAC,EAChE,gBAAgB,EAAE,aAAa,CAAC,KAAK,CAAC,GACrC,yBAAyB,CAAC,eAAe,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,CAOvF"}