@impulse-ui-native/datetime 2.4.0 → 2.6.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/package.json +10 -10
- package/dist/constants/index.d.mts +0 -1
- package/dist/constants/index.js +0 -2
- package/dist/constants/index.js.map +0 -1
- package/dist/constants/picker.constants.d.mts +0 -11
- package/dist/constants/picker.constants.js +0 -17
- package/dist/constants/picker.constants.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@impulse-ui-native/datetime",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "Date and time selection components for ImpulseUI Native applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
],
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@impulse-ui-native/core": "2.
|
|
32
|
-
"@impulse-ui-native/
|
|
33
|
-
"@impulse-ui-native/
|
|
34
|
-
"@impulse-ui-native/
|
|
35
|
-
"@impulse-ui-native/
|
|
36
|
-
"@impulse-ui-native/
|
|
37
|
-
"@impulse-ui-native/
|
|
31
|
+
"@impulse-ui-native/core": "2.6.0",
|
|
32
|
+
"@impulse-ui-native/flyout": "2.6.0",
|
|
33
|
+
"@impulse-ui-native/theme": "2.6.0",
|
|
34
|
+
"@impulse-ui-native/icon": "2.6.0",
|
|
35
|
+
"@impulse-ui-native/primitives": "2.6.0",
|
|
36
|
+
"@impulse-ui-native/select": "2.6.0",
|
|
37
|
+
"@impulse-ui-native/portal": "2.6.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/react": "~19.2.14",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"react": "19.2.3",
|
|
45
45
|
"react-native": "0.86.2",
|
|
46
46
|
"typescript": "~6.0.3",
|
|
47
|
-
"@impulse-ui-native/
|
|
47
|
+
"@impulse-ui-native/eslint-config": "1.0.0",
|
|
48
48
|
"@impulse-ui-native/prettier-config": "1.0.0",
|
|
49
|
-
"@impulse-ui-native/
|
|
49
|
+
"@impulse-ui-native/tsconfig": "1.0.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=18",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ColumnWidth, ContainerHeight, InitialScrollIndexConfiguration, ItemHeight, ListWidth, VerticalPadding, VisibleItems } from './picker.constants.mjs';
|
package/dist/constants/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/constants/index.ts"],"sourcesContent":["export * from \"./picker.constants\";\n"],"mappings":"AAAA,cAAc;","names":[]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare const ItemHeight = 50;
|
|
2
|
-
declare const VisibleItems = 5;
|
|
3
|
-
declare const ContainerHeight: number;
|
|
4
|
-
declare const VerticalPadding: number;
|
|
5
|
-
declare const ColumnWidth = 70;
|
|
6
|
-
declare const ListWidth = 30;
|
|
7
|
-
declare const InitialScrollIndexConfiguration: {
|
|
8
|
-
viewOffset: number;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export { ColumnWidth, ContainerHeight, InitialScrollIndexConfiguration, ItemHeight, ListWidth, VerticalPadding, VisibleItems };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const ItemHeight = 50;
|
|
2
|
-
const VisibleItems = 5;
|
|
3
|
-
const ContainerHeight = ItemHeight * VisibleItems;
|
|
4
|
-
const VerticalPadding = ContainerHeight / 2 - ItemHeight / 2;
|
|
5
|
-
const ColumnWidth = 70;
|
|
6
|
-
const ListWidth = 30;
|
|
7
|
-
const InitialScrollIndexConfiguration = { viewOffset: -VerticalPadding };
|
|
8
|
-
export {
|
|
9
|
-
ColumnWidth,
|
|
10
|
-
ContainerHeight,
|
|
11
|
-
InitialScrollIndexConfiguration,
|
|
12
|
-
ItemHeight,
|
|
13
|
-
ListWidth,
|
|
14
|
-
VerticalPadding,
|
|
15
|
-
VisibleItems
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=picker.constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/constants/picker.constants.ts"],"sourcesContent":["export const ItemHeight = 50;\nexport const VisibleItems = 5;\nexport const ContainerHeight = ItemHeight * VisibleItems;\nexport const VerticalPadding = ContainerHeight / 2 - ItemHeight / 2;\nexport const ColumnWidth = 70;\nexport const ListWidth = 30;\nexport const InitialScrollIndexConfiguration = { viewOffset: -VerticalPadding };\n"],"mappings":"AAAO,MAAM,aAAa;AACnB,MAAM,eAAe;AACrB,MAAM,kBAAkB,aAAa;AACrC,MAAM,kBAAkB,kBAAkB,IAAI,aAAa;AAC3D,MAAM,cAAc;AACpB,MAAM,YAAY;AAClB,MAAM,kCAAkC,EAAE,YAAY,CAAC,gBAAgB;","names":[]}
|