@hero-design/rn-work-uikit 1.6.0 → 1.6.2-alpha.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/CHANGELOG.md +13 -0
- package/lib/index.js +350 -265
- package/package.json +2 -2
- package/src/components/TextInput/index.tsx +1 -4
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +71 -0
- package/src/components/TextInput/Group/__tests__/__snapshots__/index.spec.tsx.snap +0 -880
- package/src/components/TextInput/Group/__tests__/index.spec.tsx +0 -179
- package/src/components/TextInput/Group/__tests__/utils.spec.ts +0 -73
- package/src/components/TextInput/Group/index.tsx +0 -107
- package/src/components/TextInput/Group/utils.ts +0 -67
- package/stats/1.6.0/rn-work-uikit-stats.html +0 -4844
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/rn-work-uikit",
|
|
3
|
-
"version": "1.6.0",
|
|
3
|
+
"version": "1.6.2-alpha.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@emotion/native": "^11.9.3",
|
|
24
24
|
"@emotion/primitives-core": "11.0.0",
|
|
25
25
|
"@emotion/react": "^11.9.3",
|
|
26
|
-
"@hero-design/rn": "^8.
|
|
26
|
+
"@hero-design/rn": "^8.104.1-alpha.0",
|
|
27
27
|
"hero-editor": "^1.15.5"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
@@ -28,7 +28,6 @@ import type {
|
|
|
28
28
|
TextInputProps,
|
|
29
29
|
TextInputRef,
|
|
30
30
|
} from './types';
|
|
31
|
-
import Group from './Group';
|
|
32
31
|
|
|
33
32
|
export type {
|
|
34
33
|
TextInputHandles,
|
|
@@ -356,6 +355,4 @@ const TextInput = React.forwardRef<TextInputHandles, TextInputProps>(
|
|
|
356
355
|
|
|
357
356
|
TextInput.displayName = 'TextInput';
|
|
358
357
|
|
|
359
|
-
export default
|
|
360
|
-
Group,
|
|
361
|
-
});
|
|
358
|
+
export default TextInput;
|
|
@@ -702,6 +702,76 @@ exports[`theme returns correct theme object 1`] = `
|
|
|
702
702
|
"titleMarginHorizontal": 7.846153846153847,
|
|
703
703
|
},
|
|
704
704
|
},
|
|
705
|
+
"filterTrigger": {
|
|
706
|
+
"borderWidths": {
|
|
707
|
+
"wrapper": {
|
|
708
|
+
"filled": 2,
|
|
709
|
+
"ghost": 0,
|
|
710
|
+
"outlined": 2,
|
|
711
|
+
},
|
|
712
|
+
},
|
|
713
|
+
"colors": {
|
|
714
|
+
"wrapper": {
|
|
715
|
+
"activeBackground": "#ece8ef",
|
|
716
|
+
"background": {
|
|
717
|
+
"active": {
|
|
718
|
+
"filled": "#ece8ef",
|
|
719
|
+
"filledLabeless": "#f6f6f7",
|
|
720
|
+
"ghost": "transparent",
|
|
721
|
+
"outlined": "transparent",
|
|
722
|
+
},
|
|
723
|
+
"inactive": {
|
|
724
|
+
"filled": "#f6f6f7",
|
|
725
|
+
"ghost": "transparent",
|
|
726
|
+
"outlined": "transparent",
|
|
727
|
+
},
|
|
728
|
+
},
|
|
729
|
+
"border": {
|
|
730
|
+
"active": {
|
|
731
|
+
"filled": "#ece8ef",
|
|
732
|
+
"filledLabeless": "#f6f6f7",
|
|
733
|
+
"ghost": "transparent",
|
|
734
|
+
"outlined": "#001f23",
|
|
735
|
+
},
|
|
736
|
+
"inactive": {
|
|
737
|
+
"filled": "#f6f6f7",
|
|
738
|
+
"ghost": "transparent",
|
|
739
|
+
"outlined": "#e8e9ea",
|
|
740
|
+
},
|
|
741
|
+
},
|
|
742
|
+
"inactiveBackground": "#f6f6f7",
|
|
743
|
+
},
|
|
744
|
+
},
|
|
745
|
+
"lineHeights": {
|
|
746
|
+
"text": 15.76923076923077,
|
|
747
|
+
},
|
|
748
|
+
"radii": {
|
|
749
|
+
"wrapper": {
|
|
750
|
+
"default": 24,
|
|
751
|
+
"labeless": 16,
|
|
752
|
+
},
|
|
753
|
+
},
|
|
754
|
+
"sizes": {
|
|
755
|
+
"wrapperHeight": 35.30769230769231,
|
|
756
|
+
},
|
|
757
|
+
"space": {
|
|
758
|
+
"badge": {
|
|
759
|
+
"labelessBottom": 1.9615384615384617,
|
|
760
|
+
"labelessRight": 1.9615384615384617,
|
|
761
|
+
},
|
|
762
|
+
"wrapper": {
|
|
763
|
+
"default": {
|
|
764
|
+
"paddingHorizontal": 11.76923076923077,
|
|
765
|
+
"paddingVertical": 3.9230769230769234,
|
|
766
|
+
},
|
|
767
|
+
"itemGap": 3.9230769230769234,
|
|
768
|
+
"labeless": {
|
|
769
|
+
"paddingHorizontal": 7.846153846153847,
|
|
770
|
+
"paddingVertical": 3.9230769230769234,
|
|
771
|
+
},
|
|
772
|
+
},
|
|
773
|
+
},
|
|
774
|
+
},
|
|
705
775
|
"floatingIsland": {
|
|
706
776
|
"colors": {
|
|
707
777
|
"wrapperBackground": "#ffffff",
|
|
@@ -736,6 +806,7 @@ exports[`theme returns correct theme object 1`] = `
|
|
|
736
806
|
"colors": {
|
|
737
807
|
"danger": "#cb300a",
|
|
738
808
|
"disabledText": "#bfc1c5",
|
|
809
|
+
"inactive": "#808f91",
|
|
739
810
|
"info": "#b5c3fd",
|
|
740
811
|
"invertedText": "#ffffff",
|
|
741
812
|
"muted": "#4d6265",
|