@ornikar/kitt-universal 3.0.0-beta.1 → 3.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.
Files changed (52) hide show
  1. package/dist/definitions/Button/AnimatedButtonPressable.d.ts +14 -0
  2. package/dist/definitions/Button/AnimatedButtonPressable.d.ts.map +1 -0
  3. package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts +17 -0
  4. package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts.map +1 -0
  5. package/dist/definitions/Button/BaseStyledButtonPressable.d.ts +11 -0
  6. package/dist/definitions/Button/BaseStyledButtonPressable.d.ts.map +1 -0
  7. package/dist/definitions/Button/Button.d.ts +9 -4
  8. package/dist/definitions/Button/Button.d.ts.map +1 -1
  9. package/dist/definitions/Button/ButtonContent.d.ts +11 -3
  10. package/dist/definitions/Button/ButtonContent.d.ts.map +1 -1
  11. package/dist/definitions/Button/StyledDisabled.d.ts +3 -0
  12. package/dist/definitions/Button/StyledDisabled.d.ts.map +1 -0
  13. package/dist/definitions/Button/isSubtle.d.ts +3 -0
  14. package/dist/definitions/Button/isSubtle.d.ts.map +1 -0
  15. package/dist/definitions/Icon/SpinningIcon.web.d.ts.map +1 -1
  16. package/dist/definitions/IconButton/PressableIconButton.d.ts.map +1 -1
  17. package/dist/definitions/Loader/LargeLoader.web.d.ts.map +1 -1
  18. package/dist/definitions/Loader/Loader.d.ts +1 -1
  19. package/dist/definitions/Loader/Loader.d.ts.map +1 -1
  20. package/dist/definitions/themes/default.d.ts +3 -43
  21. package/dist/definitions/themes/default.d.ts.map +1 -1
  22. package/dist/definitions/themes/late-ocean/buttonLateOceanTheme.d.ts +42 -35
  23. package/dist/definitions/themes/late-ocean/buttonLateOceanTheme.d.ts.map +1 -1
  24. package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts +2 -0
  25. package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts.map +1 -1
  26. package/dist/definitions/typography/Typography.d.ts +11 -11
  27. package/dist/definitions/typography/TypographyIcon.d.ts +2 -2
  28. package/dist/definitions/typography/TypographyIcon.d.ts.map +1 -1
  29. package/dist/definitions/typography/TypographyLink.d.ts.map +1 -1
  30. package/dist/definitions/utils/withTheme.d.ts +2 -2
  31. package/dist/definitions/utils/withTheme.d.ts.map +1 -1
  32. package/dist/index-browser-all.es.android.js +402 -223
  33. package/dist/index-browser-all.es.android.js.map +1 -1
  34. package/dist/index-browser-all.es.css +1 -1
  35. package/dist/index-browser-all.es.ios.js +402 -223
  36. package/dist/index-browser-all.es.ios.js.map +1 -1
  37. package/dist/index-browser-all.es.js +406 -227
  38. package/dist/index-browser-all.es.js.map +1 -1
  39. package/dist/index-browser-all.es.web.js +399 -214
  40. package/dist/index-browser-all.es.web.js.map +1 -1
  41. package/dist/index-node-14.17.cjs.css +1 -1
  42. package/dist/index-node-14.17.cjs.js +428 -196
  43. package/dist/index-node-14.17.cjs.js.map +1 -1
  44. package/dist/index-node-14.17.cjs.web.css +5 -0
  45. package/dist/index-node-14.17.cjs.web.js +3173 -0
  46. package/dist/index-node-14.17.cjs.web.js.map +1 -0
  47. package/dist/styles.css +2 -1
  48. package/dist/tsbuildinfo +1 -1
  49. package/package.json +9 -8
  50. package/CHANGELOG.md +0 -131
  51. package/dist/definitions/Button/ButtonPressable.d.ts +0 -13
  52. package/dist/definitions/Button/ButtonPressable.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornikar/kitt-universal",
3
- "version": "3.0.0-beta.1",
3
+ "version": "3.2.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,13 +24,13 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.13.0",
27
+ "@floating-ui/react-dom": "^0.4.2",
28
+ "@floating-ui/react-native": "^0.4.2",
27
29
  "@linaria/react": "3.0.0-beta.15",
28
- "@ornikar/kitt-icons": "^2.1.0",
30
+ "@ornikar/kitt-icons": "^2.1.1",
29
31
  "@react-native-community/datetimepicker": "^5.1.0",
30
32
  "twemoji-parser": "13.1.0",
31
- "type-fest": "^1.0.0",
32
- "@floating-ui/react-dom": "^0.4.2",
33
- "@floating-ui/react-native": "^0.4.2"
33
+ "type-fest": "^2.0.0"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@storybook/addons": ">= 6.0.0",
@@ -56,9 +56,9 @@
56
56
  }
57
57
  },
58
58
  "devDependencies": {
59
- "@babel/core": "7.16.7",
59
+ "@babel/core": "7.16.10",
60
60
  "@types/react": "17.0.38",
61
- "@types/styled-components": "5.1.20",
61
+ "@types/styled-components": "5.1.21",
62
62
  "@types/styled-components-react-native": "5.1.3",
63
63
  "@types/twemoji-parser": "13.1.1",
64
64
  "react": "17.0.1",
@@ -70,5 +70,6 @@
70
70
  "react-native-safe-area-context": "3.3.2",
71
71
  "react-native-web": "0.17.5",
72
72
  "styled-components": "5.3.3"
73
- }
73
+ },
74
+ "gitHead": "e0567b7a97c38fe1e2b3d2792062dcfea311ecaf"
74
75
  }
package/CHANGELOG.md DELETED
@@ -1,131 +0,0 @@
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
- # [2.5.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@2.4.0...@ornikar/kitt-universal@2.5.0) (2022-01-06)
7
-
8
-
9
- ### Features
10
-
11
- * **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))
12
-
13
-
14
-
15
-
16
-
17
- # [2.4.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@2.3.0...@ornikar/kitt-universal@2.4.0) (2022-01-06)
18
-
19
-
20
- ### Features
21
-
22
- * **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))
23
- * **kitt-universal:** add Emoji & TypographyEmoji components [no issue] ([#1172](https://github.com/ornikar/kitt/issues/1172)) ([629779b](https://github.com/ornikar/kitt/commit/629779bb92b4631d6e1efd90faae3f04c4921ea9))
24
-
25
-
26
-
27
-
28
-
29
- # [2.3.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@2.2.0...@ornikar/kitt-universal@2.3.0) (2022-01-05)
30
-
31
-
32
- ### Features
33
-
34
- * link implementation CME-130 ([#1186](https://github.com/ornikar/kitt/issues/1186)) ([570a9ff](https://github.com/ornikar/kitt/commit/570a9ffcd59f2ab49a664966b9e8bd3f3a4562fb))
35
-
36
-
37
-
38
-
39
-
40
- # [2.2.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@2.1.1...@ornikar/kitt-universal@2.2.0) (2022-01-05)
41
-
42
-
43
- ### Bug Fixes
44
-
45
- * **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))
46
- * **kitt-universal/Button:** onPress prop optional [no issue] ([#1191](https://github.com/ornikar/kitt/issues/1191)) ([a8e0a0c](https://github.com/ornikar/kitt/commit/a8e0a0cadce17c1d58bfae2effb92be349935c50))
47
-
48
-
49
- ### Features
50
-
51
- * **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))
52
-
53
-
54
-
55
-
56
-
57
- ## [2.1.1](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@2.1.0...@ornikar/kitt-universal@2.1.1) (2022-01-03)
58
-
59
-
60
- ### Bug Fixes
61
-
62
- * **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))
63
-
64
-
65
-
66
-
67
-
68
- # [2.1.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@2.0.0...@ornikar/kitt-universal@2.1.0) (2021-12-31)
69
-
70
-
71
- ### Features
72
-
73
- * **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))
74
- * **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))
75
-
76
-
77
-
78
-
79
-
80
- # [2.0.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@1.1.0...@ornikar/kitt-universal@2.0.0) (2021-12-30)
81
-
82
-
83
- ### Features
84
-
85
- * delete italic and grey typography variants CME-135 ([#1171](https://github.com/ornikar/kitt/issues/1171)) ([4ab1bcf](https://github.com/ornikar/kitt/commit/4ab1bcf8d952864fa6454ed910d8dfe566b51f20))
86
- * **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))
87
- * **kitt-universal:** add primary light color CME-134 ([#1170](https://github.com/ornikar/kitt/issues/1170)) ([1806341](https://github.com/ornikar/kitt/commit/18063412af87fcae66232406e96f215cf4f5482c))
88
-
89
-
90
- ### BREAKING CHANGES
91
-
92
- * grey, grey-light and italic typography are removed without fallback
93
-
94
-
95
-
96
-
97
-
98
- # [1.1.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@1.0.2...@ornikar/kitt-universal@1.1.0) (2021-12-23)
99
-
100
-
101
- ### Features
102
-
103
- * add down right icon [no issue] ([#1168](https://github.com/ornikar/kitt/issues/1168)) ([ee8b2c4](https://github.com/ornikar/kitt/commit/ee8b2c434c7c19ca5d4cb5236d57e2403d9134d8))
104
- * kitt universal - add icon button [no issue] ([#1156](https://github.com/ornikar/kitt/issues/1156)) ([72fdc8b](https://github.com/ornikar/kitt/commit/72fdc8b4fee12b14b7c53bda692e4dfa78a91a71))
105
-
106
-
107
-
108
-
109
-
110
- ## [1.0.2](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@1.0.1...@ornikar/kitt-universal@1.0.2) (2021-12-20)
111
-
112
- **Note:** Version bump only for package @ornikar/kitt-universal
113
-
114
-
115
-
116
-
117
-
118
- ## [1.0.1](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@1.0.0...@ornikar/kitt-universal@1.0.1) (2021-12-09)
119
-
120
-
121
- ### Bug Fixes
122
-
123
- * downgrade node minimum required version [no issue] ([#1141](https://github.com/ornikar/kitt/issues/1141)) ([637dd07](https://github.com/ornikar/kitt/commit/637dd0768a1dba3e5577770f80bfe56dee7dad38))
124
-
125
-
126
-
127
-
128
-
129
- # 1.0.0 (2021-12-08)
130
-
131
- **Note:** Version bump only for package @ornikar/kitt-universal
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- /// <reference types="styled-components-react-native" />
3
- import type { PressableProps } from 'react-native';
4
- import type { ButtonType } from './Button';
5
- interface ButtonPressableProps extends PressableProps {
6
- type: ButtonType;
7
- isPressed?: boolean;
8
- disabled?: boolean;
9
- stretch?: boolean;
10
- }
11
- export declare const ButtonPressable: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>>, import("styled-components").DefaultTheme, ButtonPressableProps, never>;
12
- export {};
13
- //# sourceMappingURL=ButtonPressable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ButtonPressable.d.ts","sourceRoot":"","sources":["../../../src/Button/ButtonPressable.tsx"],"names":[],"mappings":";;AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,UAAU,oBAAqB,SAAQ,cAAc;IACnD,IAAI,EAAE,UAAU,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,eAAe,mQAqB3B,CAAC"}