@seakoi/native-ui 1.0.0 → 1.1.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 +559 -265
- package/dist/commonjs/components/base/carousel/carousel-item.js +21 -0
- package/dist/commonjs/components/base/carousel/carousel.js +489 -0
- package/dist/commonjs/components/base/carousel/index.js +36 -0
- package/dist/commonjs/components/base/carousel/style/index.js +47 -0
- package/dist/commonjs/components/base/carousel/types.js +5 -0
- package/dist/commonjs/components/base/carousel/utils.js +27 -0
- package/dist/commonjs/components/base/index.js +34 -23
- package/dist/module/components/base/carousel/carousel-item.js +16 -0
- package/dist/module/components/base/carousel/carousel.js +484 -0
- package/dist/module/components/base/carousel/index.js +9 -0
- package/dist/module/components/base/carousel/style/index.js +43 -0
- package/dist/module/components/base/carousel/types.js +3 -0
- package/dist/module/components/base/carousel/utils.js +20 -0
- package/dist/module/components/base/index.js +1 -0
- package/dist/typescript/commonjs/src/components/base/carousel/carousel-item.d.ts +4 -0
- package/dist/typescript/commonjs/src/components/base/carousel/carousel-item.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/base/carousel/carousel.d.ts +7 -0
- package/dist/typescript/commonjs/src/components/base/carousel/carousel.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/base/carousel/index.d.ts +7 -0
- package/dist/typescript/commonjs/src/components/base/carousel/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/base/carousel/style/index.d.ts +41 -0
- package/dist/typescript/commonjs/src/components/base/carousel/style/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/base/carousel/types.d.ts +113 -0
- package/dist/typescript/commonjs/src/components/base/carousel/types.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/base/carousel/utils.d.ts +6 -0
- package/dist/typescript/commonjs/src/components/base/carousel/utils.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/base/index.d.ts +1 -0
- package/dist/typescript/commonjs/src/components/base/index.d.ts.map +1 -1
- package/dist/typescript/module/src/components/base/carousel/carousel-item.d.ts +4 -0
- package/dist/typescript/module/src/components/base/carousel/carousel-item.d.ts.map +1 -0
- package/dist/typescript/module/src/components/base/carousel/carousel.d.ts +7 -0
- package/dist/typescript/module/src/components/base/carousel/carousel.d.ts.map +1 -0
- package/dist/typescript/module/src/components/base/carousel/index.d.ts +7 -0
- package/dist/typescript/module/src/components/base/carousel/index.d.ts.map +1 -0
- package/dist/typescript/module/src/components/base/carousel/style/index.d.ts +41 -0
- package/dist/typescript/module/src/components/base/carousel/style/index.d.ts.map +1 -0
- package/dist/typescript/module/src/components/base/carousel/types.d.ts +113 -0
- package/dist/typescript/module/src/components/base/carousel/types.d.ts.map +1 -0
- package/dist/typescript/module/src/components/base/carousel/utils.d.ts +6 -0
- package/dist/typescript/module/src/components/base/carousel/utils.d.ts.map +1 -0
- package/dist/typescript/module/src/components/base/index.d.ts +1 -0
- package/dist/typescript/module/src/components/base/index.d.ts.map +1 -1
- package/package.json +3 -2
- package/src/components/base/carousel/carousel-item.tsx +11 -0
- package/src/components/base/carousel/carousel.tsx +691 -0
- package/src/components/base/carousel/index.ts +8 -0
- package/src/components/base/carousel/style/index.ts +42 -0
- package/src/components/base/carousel/types.ts +134 -0
- package/src/components/base/carousel/utils.ts +26 -0
- package/src/components/base/index.ts +1 -0
|
@@ -80,7 +80,7 @@ Object.keys(_index7).forEach(function (key) {
|
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
|
-
var _index8 = require("./
|
|
83
|
+
var _index8 = require("./carousel/index.js");
|
|
84
84
|
Object.keys(_index8).forEach(function (key) {
|
|
85
85
|
if (key === "default" || key === "__esModule") return;
|
|
86
86
|
if (key in exports && exports[key] === _index8[key]) return;
|
|
@@ -91,7 +91,7 @@ Object.keys(_index8).forEach(function (key) {
|
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
93
|
});
|
|
94
|
-
var _index9 = require("./
|
|
94
|
+
var _index9 = require("./cell/index.js");
|
|
95
95
|
Object.keys(_index9).forEach(function (key) {
|
|
96
96
|
if (key === "default" || key === "__esModule") return;
|
|
97
97
|
if (key in exports && exports[key] === _index9[key]) return;
|
|
@@ -102,7 +102,7 @@ Object.keys(_index9).forEach(function (key) {
|
|
|
102
102
|
}
|
|
103
103
|
});
|
|
104
104
|
});
|
|
105
|
-
var _index0 = require("./
|
|
105
|
+
var _index0 = require("./checkbox/index.js");
|
|
106
106
|
Object.keys(_index0).forEach(function (key) {
|
|
107
107
|
if (key === "default" || key === "__esModule") return;
|
|
108
108
|
if (key in exports && exports[key] === _index0[key]) return;
|
|
@@ -113,7 +113,7 @@ Object.keys(_index0).forEach(function (key) {
|
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
115
|
});
|
|
116
|
-
var _index1 = require("./
|
|
116
|
+
var _index1 = require("./collapse/index.js");
|
|
117
117
|
Object.keys(_index1).forEach(function (key) {
|
|
118
118
|
if (key === "default" || key === "__esModule") return;
|
|
119
119
|
if (key in exports && exports[key] === _index1[key]) return;
|
|
@@ -124,7 +124,7 @@ Object.keys(_index1).forEach(function (key) {
|
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
});
|
|
127
|
-
var _index10 = require("./
|
|
127
|
+
var _index10 = require("./countdown/index.js");
|
|
128
128
|
Object.keys(_index10).forEach(function (key) {
|
|
129
129
|
if (key === "default" || key === "__esModule") return;
|
|
130
130
|
if (key in exports && exports[key] === _index10[key]) return;
|
|
@@ -135,7 +135,7 @@ Object.keys(_index10).forEach(function (key) {
|
|
|
135
135
|
}
|
|
136
136
|
});
|
|
137
137
|
});
|
|
138
|
-
var _index11 = require("./date-picker
|
|
138
|
+
var _index11 = require("./date-picker/index.js");
|
|
139
139
|
Object.keys(_index11).forEach(function (key) {
|
|
140
140
|
if (key === "default" || key === "__esModule") return;
|
|
141
141
|
if (key in exports && exports[key] === _index11[key]) return;
|
|
@@ -146,7 +146,7 @@ Object.keys(_index11).forEach(function (key) {
|
|
|
146
146
|
}
|
|
147
147
|
});
|
|
148
148
|
});
|
|
149
|
-
var _index12 = require("./
|
|
149
|
+
var _index12 = require("./date-picker-view/index.js");
|
|
150
150
|
Object.keys(_index12).forEach(function (key) {
|
|
151
151
|
if (key === "default" || key === "__esModule") return;
|
|
152
152
|
if (key in exports && exports[key] === _index12[key]) return;
|
|
@@ -157,7 +157,7 @@ Object.keys(_index12).forEach(function (key) {
|
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
159
|
});
|
|
160
|
-
var _index13 = require("./
|
|
160
|
+
var _index13 = require("./divider/index.js");
|
|
161
161
|
Object.keys(_index13).forEach(function (key) {
|
|
162
162
|
if (key === "default" || key === "__esModule") return;
|
|
163
163
|
if (key in exports && exports[key] === _index13[key]) return;
|
|
@@ -168,7 +168,7 @@ Object.keys(_index13).forEach(function (key) {
|
|
|
168
168
|
}
|
|
169
169
|
});
|
|
170
170
|
});
|
|
171
|
-
var _index14 = require("./
|
|
171
|
+
var _index14 = require("./flex/index.js");
|
|
172
172
|
Object.keys(_index14).forEach(function (key) {
|
|
173
173
|
if (key === "default" || key === "__esModule") return;
|
|
174
174
|
if (key in exports && exports[key] === _index14[key]) return;
|
|
@@ -179,7 +179,7 @@ Object.keys(_index14).forEach(function (key) {
|
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
181
|
});
|
|
182
|
-
var _index15 = require("./
|
|
182
|
+
var _index15 = require("./form/index.js");
|
|
183
183
|
Object.keys(_index15).forEach(function (key) {
|
|
184
184
|
if (key === "default" || key === "__esModule") return;
|
|
185
185
|
if (key in exports && exports[key] === _index15[key]) return;
|
|
@@ -190,7 +190,7 @@ Object.keys(_index15).forEach(function (key) {
|
|
|
190
190
|
}
|
|
191
191
|
});
|
|
192
192
|
});
|
|
193
|
-
var _index16 = require("./
|
|
193
|
+
var _index16 = require("./input/index.js");
|
|
194
194
|
Object.keys(_index16).forEach(function (key) {
|
|
195
195
|
if (key === "default" || key === "__esModule") return;
|
|
196
196
|
if (key in exports && exports[key] === _index16[key]) return;
|
|
@@ -201,7 +201,7 @@ Object.keys(_index16).forEach(function (key) {
|
|
|
201
201
|
}
|
|
202
202
|
});
|
|
203
203
|
});
|
|
204
|
-
var _index17 = require("./
|
|
204
|
+
var _index17 = require("./link/index.js");
|
|
205
205
|
Object.keys(_index17).forEach(function (key) {
|
|
206
206
|
if (key === "default" || key === "__esModule") return;
|
|
207
207
|
if (key in exports && exports[key] === _index17[key]) return;
|
|
@@ -212,7 +212,7 @@ Object.keys(_index17).forEach(function (key) {
|
|
|
212
212
|
}
|
|
213
213
|
});
|
|
214
214
|
});
|
|
215
|
-
var _index18 = require("./
|
|
215
|
+
var _index18 = require("./loading/index.js");
|
|
216
216
|
Object.keys(_index18).forEach(function (key) {
|
|
217
217
|
if (key === "default" || key === "__esModule") return;
|
|
218
218
|
if (key in exports && exports[key] === _index18[key]) return;
|
|
@@ -223,7 +223,7 @@ Object.keys(_index18).forEach(function (key) {
|
|
|
223
223
|
}
|
|
224
224
|
});
|
|
225
225
|
});
|
|
226
|
-
var _index19 = require("./
|
|
226
|
+
var _index19 = require("./modal/index.js");
|
|
227
227
|
Object.keys(_index19).forEach(function (key) {
|
|
228
228
|
if (key === "default" || key === "__esModule") return;
|
|
229
229
|
if (key in exports && exports[key] === _index19[key]) return;
|
|
@@ -234,7 +234,7 @@ Object.keys(_index19).forEach(function (key) {
|
|
|
234
234
|
}
|
|
235
235
|
});
|
|
236
236
|
});
|
|
237
|
-
var _index20 = require("./
|
|
237
|
+
var _index20 = require("./nav-bar/index.js");
|
|
238
238
|
Object.keys(_index20).forEach(function (key) {
|
|
239
239
|
if (key === "default" || key === "__esModule") return;
|
|
240
240
|
if (key in exports && exports[key] === _index20[key]) return;
|
|
@@ -245,7 +245,7 @@ Object.keys(_index20).forEach(function (key) {
|
|
|
245
245
|
}
|
|
246
246
|
});
|
|
247
247
|
});
|
|
248
|
-
var _index21 = require("./picker
|
|
248
|
+
var _index21 = require("./picker/index.js");
|
|
249
249
|
Object.keys(_index21).forEach(function (key) {
|
|
250
250
|
if (key === "default" || key === "__esModule") return;
|
|
251
251
|
if (key in exports && exports[key] === _index21[key]) return;
|
|
@@ -256,7 +256,7 @@ Object.keys(_index21).forEach(function (key) {
|
|
|
256
256
|
}
|
|
257
257
|
});
|
|
258
258
|
});
|
|
259
|
-
var _index22 = require("./
|
|
259
|
+
var _index22 = require("./picker-view/index.js");
|
|
260
260
|
Object.keys(_index22).forEach(function (key) {
|
|
261
261
|
if (key === "default" || key === "__esModule") return;
|
|
262
262
|
if (key in exports && exports[key] === _index22[key]) return;
|
|
@@ -267,7 +267,7 @@ Object.keys(_index22).forEach(function (key) {
|
|
|
267
267
|
}
|
|
268
268
|
});
|
|
269
269
|
});
|
|
270
|
-
var _index23 = require("./
|
|
270
|
+
var _index23 = require("./portal/index.js");
|
|
271
271
|
Object.keys(_index23).forEach(function (key) {
|
|
272
272
|
if (key === "default" || key === "__esModule") return;
|
|
273
273
|
if (key in exports && exports[key] === _index23[key]) return;
|
|
@@ -278,7 +278,7 @@ Object.keys(_index23).forEach(function (key) {
|
|
|
278
278
|
}
|
|
279
279
|
});
|
|
280
280
|
});
|
|
281
|
-
var _index24 = require("./
|
|
281
|
+
var _index24 = require("./radio/index.js");
|
|
282
282
|
Object.keys(_index24).forEach(function (key) {
|
|
283
283
|
if (key === "default" || key === "__esModule") return;
|
|
284
284
|
if (key in exports && exports[key] === _index24[key]) return;
|
|
@@ -289,7 +289,7 @@ Object.keys(_index24).forEach(function (key) {
|
|
|
289
289
|
}
|
|
290
290
|
});
|
|
291
291
|
});
|
|
292
|
-
var _index25 = require("./
|
|
292
|
+
var _index25 = require("./result/index.js");
|
|
293
293
|
Object.keys(_index25).forEach(function (key) {
|
|
294
294
|
if (key === "default" || key === "__esModule") return;
|
|
295
295
|
if (key in exports && exports[key] === _index25[key]) return;
|
|
@@ -300,7 +300,7 @@ Object.keys(_index25).forEach(function (key) {
|
|
|
300
300
|
}
|
|
301
301
|
});
|
|
302
302
|
});
|
|
303
|
-
var _index26 = require("./
|
|
303
|
+
var _index26 = require("./surface/index.js");
|
|
304
304
|
Object.keys(_index26).forEach(function (key) {
|
|
305
305
|
if (key === "default" || key === "__esModule") return;
|
|
306
306
|
if (key in exports && exports[key] === _index26[key]) return;
|
|
@@ -311,7 +311,7 @@ Object.keys(_index26).forEach(function (key) {
|
|
|
311
311
|
}
|
|
312
312
|
});
|
|
313
313
|
});
|
|
314
|
-
var _index27 = require("./
|
|
314
|
+
var _index27 = require("./switch/index.js");
|
|
315
315
|
Object.keys(_index27).forEach(function (key) {
|
|
316
316
|
if (key === "default" || key === "__esModule") return;
|
|
317
317
|
if (key in exports && exports[key] === _index27[key]) return;
|
|
@@ -322,7 +322,7 @@ Object.keys(_index27).forEach(function (key) {
|
|
|
322
322
|
}
|
|
323
323
|
});
|
|
324
324
|
});
|
|
325
|
-
var _index28 = require("./
|
|
325
|
+
var _index28 = require("./tabs/index.js");
|
|
326
326
|
Object.keys(_index28).forEach(function (key) {
|
|
327
327
|
if (key === "default" || key === "__esModule") return;
|
|
328
328
|
if (key in exports && exports[key] === _index28[key]) return;
|
|
@@ -332,4 +332,15 @@ Object.keys(_index28).forEach(function (key) {
|
|
|
332
332
|
return _index28[key];
|
|
333
333
|
}
|
|
334
334
|
});
|
|
335
|
+
});
|
|
336
|
+
var _index29 = require("./text/index.js");
|
|
337
|
+
Object.keys(_index29).forEach(function (key) {
|
|
338
|
+
if (key === "default" || key === "__esModule") return;
|
|
339
|
+
if (key in exports && exports[key] === _index29[key]) return;
|
|
340
|
+
Object.defineProperty(exports, key, {
|
|
341
|
+
enumerable: true,
|
|
342
|
+
get: function () {
|
|
343
|
+
return _index29[key];
|
|
344
|
+
}
|
|
345
|
+
});
|
|
335
346
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { View } from 'react-native';
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
export const CarouselItem = ({
|
|
6
|
+
children,
|
|
7
|
+
style
|
|
8
|
+
}) => {
|
|
9
|
+
return /*#__PURE__*/_jsx(View, {
|
|
10
|
+
style: [{
|
|
11
|
+
height: '100%',
|
|
12
|
+
width: '100%'
|
|
13
|
+
}, style],
|
|
14
|
+
children: children
|
|
15
|
+
});
|
|
16
|
+
};
|