@xaui/native 0.0.13 → 0.0.15
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/bottom-sheet/index.cjs +470 -0
- package/dist/bottom-sheet/index.d.cts +84 -0
- package/dist/bottom-sheet/index.d.ts +84 -0
- package/dist/bottom-sheet/index.js +7 -0
- package/dist/chip/index.cjs +584 -0
- package/dist/chip/index.d.cts +195 -0
- package/dist/chip/index.d.ts +195 -0
- package/dist/chip/index.js +11 -0
- package/dist/chunk-GAOI4KIV.js +379 -0
- package/dist/chunk-QLEQYKG5.js +509 -0
- package/dist/index.cjs +883 -4
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +12 -0
- package/dist/menu/index.cjs +1 -1
- package/dist/menu/index.js +2 -8
- package/package.json +12 -2
package/dist/index.d.cts
CHANGED
|
@@ -6,6 +6,8 @@ export { Alert } from './alert/index.cjs';
|
|
|
6
6
|
export { Autocomplete, AutocompleteItem } from './autocomplete/index.cjs';
|
|
7
7
|
export { DatePicker } from './datepicker/index.cjs';
|
|
8
8
|
export { Typography } from './typography/index.cjs';
|
|
9
|
+
export { Chip, ChipGroup, ChipItem } from './chip/index.cjs';
|
|
10
|
+
export { BottomSheet } from './bottom-sheet/index.cjs';
|
|
9
11
|
import 'react';
|
|
10
12
|
import './index-BOw6tbkc.cjs';
|
|
11
13
|
import 'react-native';
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export { Alert } from './alert/index.js';
|
|
|
6
6
|
export { Autocomplete, AutocompleteItem } from './autocomplete/index.js';
|
|
7
7
|
export { DatePicker } from './datepicker/index.js';
|
|
8
8
|
export { Typography } from './typography/index.js';
|
|
9
|
+
export { Chip, ChipGroup, ChipItem } from './chip/index.js';
|
|
10
|
+
export { BottomSheet } from './bottom-sheet/index.js';
|
|
9
11
|
import 'react';
|
|
10
12
|
import './index-BOw6tbkc.js';
|
|
11
13
|
import 'react-native';
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Chip,
|
|
3
|
+
ChipGroup,
|
|
4
|
+
ChipItem
|
|
5
|
+
} from "./chunk-QLEQYKG5.js";
|
|
6
|
+
import {
|
|
7
|
+
BottomSheet
|
|
8
|
+
} from "./chunk-GAOI4KIV.js";
|
|
1
9
|
import {
|
|
2
10
|
Avatar,
|
|
3
11
|
AvatarGroup
|
|
@@ -34,6 +42,10 @@ export {
|
|
|
34
42
|
Avatar,
|
|
35
43
|
AvatarGroup,
|
|
36
44
|
Badge,
|
|
45
|
+
BottomSheet,
|
|
46
|
+
Chip,
|
|
47
|
+
ChipGroup,
|
|
48
|
+
ChipItem,
|
|
37
49
|
DatePicker,
|
|
38
50
|
Divider,
|
|
39
51
|
Typography
|
package/dist/menu/index.cjs
CHANGED
|
@@ -251,7 +251,7 @@ var Menu = ({
|
|
|
251
251
|
{
|
|
252
252
|
top: isMeasured ? menuPosition.top : -9999,
|
|
253
253
|
left: isMeasured ? menuPosition.left : -9999,
|
|
254
|
-
backgroundColor: theme.colors.background,
|
|
254
|
+
backgroundColor: theme.mode === "dark" ? theme.colors.default.background : theme.colors.background,
|
|
255
255
|
borderRadius: theme.borderRadius.md,
|
|
256
256
|
opacity: isMeasured ? opacity : 0,
|
|
257
257
|
transform: [{ scale }],
|
package/dist/menu/index.js
CHANGED
|
@@ -4,13 +4,7 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// src/components/menu/menu.tsx
|
|
6
6
|
import React from "react";
|
|
7
|
-
import {
|
|
8
|
-
Animated as Animated2,
|
|
9
|
-
Modal,
|
|
10
|
-
Pressable,
|
|
11
|
-
ScrollView,
|
|
12
|
-
View
|
|
13
|
-
} from "react-native";
|
|
7
|
+
import { Animated as Animated2, Modal, Pressable, ScrollView, View } from "react-native";
|
|
14
8
|
|
|
15
9
|
// src/components/menu/menu.style.ts
|
|
16
10
|
import { StyleSheet } from "react-native";
|
|
@@ -185,7 +179,7 @@ var Menu = ({
|
|
|
185
179
|
{
|
|
186
180
|
top: isMeasured ? menuPosition.top : -9999,
|
|
187
181
|
left: isMeasured ? menuPosition.left : -9999,
|
|
188
|
-
backgroundColor: theme.colors.background,
|
|
182
|
+
backgroundColor: theme.mode === "dark" ? theme.colors.default.background : theme.colors.background,
|
|
189
183
|
borderRadius: theme.borderRadius.md,
|
|
190
184
|
opacity: isMeasured ? opacity : 0,
|
|
191
185
|
transform: [{ scale }],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xaui/native",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "Flutter-inspired React Native UI components with native animations powered by React Native Reanimated",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -102,6 +102,16 @@
|
|
|
102
102
|
"import": "./dist/view/index.js",
|
|
103
103
|
"require": "./dist/view/index.js"
|
|
104
104
|
},
|
|
105
|
+
"./chip": {
|
|
106
|
+
"types": "./dist/chip/index.d.ts",
|
|
107
|
+
"import": "./dist/chip/index.js",
|
|
108
|
+
"require": "./dist/chip/index.js"
|
|
109
|
+
},
|
|
110
|
+
"./bottom-sheet": {
|
|
111
|
+
"types": "./dist/bottom-sheet/index.d.ts",
|
|
112
|
+
"import": "./dist/bottom-sheet/index.js",
|
|
113
|
+
"require": "./dist/bottom-sheet/index.js"
|
|
114
|
+
},
|
|
105
115
|
"./menu": {
|
|
106
116
|
"types": "./dist/menu/index.d.ts",
|
|
107
117
|
"import": "./dist/menu/index.js",
|
|
@@ -119,7 +129,7 @@
|
|
|
119
129
|
},
|
|
120
130
|
"dependencies": {
|
|
121
131
|
"@xaui/core": "0.1.7",
|
|
122
|
-
"@xaui/icons": "0.0.
|
|
132
|
+
"@xaui/icons": "0.0.3"
|
|
123
133
|
},
|
|
124
134
|
"peerDependencies": {
|
|
125
135
|
"react": "^18.0.0 || ^19.0.0",
|