ncore-ui-kit 1.0.0-alpha.0 → 1.0.0-alpha.1
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/lib/module/components/localeSwitcher/index.js +11 -1
- package/lib/module/components/localeSwitcher/index.js.map +1 -1
- package/lib/module/components/paletteSwitcher/index.js +12 -2
- package/lib/module/components/paletteSwitcher/index.js.map +1 -1
- package/lib/module/components/themeSwitcher/index.js +11 -1
- package/lib/module/components/themeSwitcher/index.js.map +1 -1
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/package.json +1 -1
- package/lib/module/types/index.js.map +1 -1
- package/lib/module/utils/index.js +3 -1
- package/lib/module/utils/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/src/components/localeSwitcher/index.js +19 -7
- package/lib/src/components/paletteSwitcher/index.js +20 -8
- package/lib/src/components/themeSwitcher/index.js +19 -7
- package/lib/src/index.js +1 -0
- package/lib/src/utils/index.js +3 -1
- package/lib/tsconfig.build.tsbuildinfo +1 -1
- package/lib/typescript/package.json +1 -1
- package/lib/typescript/src/components/header/stylesheet.d.ts +312 -8
- package/lib/typescript/src/components/header/stylesheet.d.ts.map +1 -1
- package/lib/typescript/src/components/localeSwitcher/index.d.ts.map +1 -1
- package/lib/typescript/src/components/localeSwitcher/type.d.ts +1 -0
- package/lib/typescript/src/components/localeSwitcher/type.d.ts.map +1 -1
- package/lib/typescript/src/components/paletteSwitcher/index.d.ts.map +1 -1
- package/lib/typescript/src/components/paletteSwitcher/type.d.ts +1 -0
- package/lib/typescript/src/components/paletteSwitcher/type.d.ts.map +1 -1
- package/lib/typescript/src/components/themeSwitcher/index.d.ts.map +1 -1
- package/lib/typescript/src/components/themeSwitcher/type.d.ts +1 -0
- package/lib/typescript/src/components/themeSwitcher/type.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +2 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/types/index.d.ts +9 -1
- package/lib/typescript/src/types/index.d.ts.map +1 -1
- package/lib/typescript/src/utils/index.d.ts +3 -1
- package/lib/typescript/src/utils/index.d.ts.map +1 -1
- package/package.json +4 -3
- package/src/components/localeSwitcher/index.tsx +27 -14
- package/src/components/localeSwitcher/type.ts +1 -0
- package/src/components/paletteSwitcher/index.tsx +28 -15
- package/src/components/paletteSwitcher/type.ts +1 -0
- package/src/components/themeSwitcher/index.tsx +27 -14
- package/src/components/themeSwitcher/type.ts +1 -0
- package/src/index.tsx +11 -0
- package/src/types/index.ts +17 -1
- package/src/utils/index.ts +7 -1
|
@@ -3,13 +3,162 @@ import type { HeaderDynamicStyleType } from "./type";
|
|
|
3
3
|
import { type Mutable } from "../../types";
|
|
4
4
|
declare const stylesheet: Readonly<{
|
|
5
5
|
container: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
pointerEvents?: "auto" | "none" | "box-none" | "box-only";
|
|
7
|
+
shadowColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
8
|
+
shadowOffset?: Readonly<{
|
|
9
|
+
width?: number;
|
|
10
|
+
height?: number;
|
|
11
|
+
}>;
|
|
12
|
+
shadowOpacity?: number;
|
|
13
|
+
shadowRadius?: number;
|
|
14
|
+
transform?: ReadonlyArray<Readonly<import("react-native/types_generated/Libraries/StyleSheet/private/_TransformStyle").MaximumOneOf<import("react-native/types_generated/Libraries/StyleSheet/private/_TransformStyle").MergeUnion<{
|
|
15
|
+
readonly perspective: number | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
16
|
+
} | {
|
|
17
|
+
readonly rotate: string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
18
|
+
} | {
|
|
19
|
+
readonly rotateX: string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
20
|
+
} | {
|
|
21
|
+
readonly rotateY: string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
22
|
+
} | {
|
|
23
|
+
readonly rotateZ: string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
24
|
+
} | {
|
|
25
|
+
readonly scale: number | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
26
|
+
} | {
|
|
27
|
+
readonly scaleX: number | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
28
|
+
} | {
|
|
29
|
+
readonly scaleY: number | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
30
|
+
} | {
|
|
31
|
+
readonly translateX: number | string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
32
|
+
} | {
|
|
33
|
+
readonly translateY: number | string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
34
|
+
} | {
|
|
35
|
+
readonly translate: [number | string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node, number | string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node] | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
36
|
+
} | {
|
|
37
|
+
readonly skewX: string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
38
|
+
} | {
|
|
39
|
+
readonly skewY: string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
40
|
+
} | {
|
|
41
|
+
readonly matrix: ReadonlyArray<number | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node> | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
42
|
+
}>>>> | string;
|
|
43
|
+
transformOrigin?: [string | number, string | number, string | number] | string;
|
|
44
|
+
backfaceVisibility?: "visible" | "hidden";
|
|
45
|
+
backgroundColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
46
|
+
borderColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
47
|
+
borderCurve?: "circular" | "continuous";
|
|
48
|
+
borderBottomColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
49
|
+
borderEndColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
50
|
+
borderLeftColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
51
|
+
borderRightColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
52
|
+
borderStartColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
53
|
+
borderTopColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
54
|
+
borderBlockColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
55
|
+
borderBlockEndColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
56
|
+
borderBlockStartColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
57
|
+
borderRadius?: number | string;
|
|
58
|
+
borderBottomEndRadius?: number | string;
|
|
59
|
+
borderBottomLeftRadius?: number | string;
|
|
60
|
+
borderBottomRightRadius?: number | string;
|
|
61
|
+
borderBottomStartRadius?: number | string;
|
|
62
|
+
borderEndEndRadius?: number | string;
|
|
63
|
+
borderEndStartRadius?: number | string;
|
|
64
|
+
borderStartEndRadius?: number | string;
|
|
65
|
+
borderStartStartRadius?: number | string;
|
|
66
|
+
borderTopEndRadius?: number | string;
|
|
67
|
+
borderTopLeftRadius?: number | string;
|
|
68
|
+
borderTopRightRadius?: number | string;
|
|
69
|
+
borderTopStartRadius?: number | string;
|
|
70
|
+
borderStyle?: "solid" | "dotted" | "dashed";
|
|
71
|
+
borderWidth?: number;
|
|
72
|
+
borderBottomWidth?: number;
|
|
73
|
+
borderEndWidth?: number;
|
|
74
|
+
borderLeftWidth?: number;
|
|
75
|
+
borderRightWidth?: number;
|
|
76
|
+
borderStartWidth?: number;
|
|
77
|
+
borderTopWidth?: number;
|
|
78
|
+
opacity?: number;
|
|
79
|
+
outlineColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
80
|
+
outlineOffset?: number;
|
|
81
|
+
outlineStyle?: "solid" | "dotted" | "dashed";
|
|
82
|
+
outlineWidth?: number;
|
|
83
|
+
elevation?: number;
|
|
84
|
+
cursor?: import("react-native").CursorValue;
|
|
85
|
+
boxShadow?: ReadonlyArray<import("react-native").BoxShadowValue> | string;
|
|
86
|
+
filter?: ReadonlyArray<import("react-native").FilterFunction> | string;
|
|
87
|
+
mixBlendMode?: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity";
|
|
88
|
+
experimental_backgroundImage?: ReadonlyArray<import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").BackgroundImageValue> | string;
|
|
89
|
+
experimental_backgroundSize?: ReadonlyArray<import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").BackgroundSizeValue> | string;
|
|
90
|
+
experimental_backgroundPosition?: ReadonlyArray<import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").BackgroundPositionValue> | string;
|
|
91
|
+
experimental_backgroundRepeat?: ReadonlyArray<import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").BackgroundRepeatValue> | string;
|
|
92
|
+
isolation?: "auto" | "isolate";
|
|
93
|
+
display?: "none" | "flex" | "contents";
|
|
94
|
+
width: import("react-native").DimensionValue;
|
|
95
|
+
height?: import("react-native").DimensionValue;
|
|
96
|
+
bottom?: import("react-native").DimensionValue;
|
|
97
|
+
end?: import("react-native").DimensionValue;
|
|
98
|
+
left?: import("react-native").DimensionValue;
|
|
99
|
+
right?: import("react-native").DimensionValue;
|
|
100
|
+
start?: import("react-native").DimensionValue;
|
|
101
|
+
top?: import("react-native").DimensionValue;
|
|
102
|
+
inset?: import("react-native").DimensionValue;
|
|
103
|
+
insetBlock?: import("react-native").DimensionValue;
|
|
104
|
+
insetBlockEnd?: import("react-native").DimensionValue;
|
|
105
|
+
insetBlockStart?: import("react-native").DimensionValue;
|
|
106
|
+
insetInline?: import("react-native").DimensionValue;
|
|
107
|
+
insetInlineEnd?: import("react-native").DimensionValue;
|
|
108
|
+
insetInlineStart?: import("react-native").DimensionValue;
|
|
109
|
+
minWidth?: import("react-native").DimensionValue;
|
|
110
|
+
maxWidth?: import("react-native").DimensionValue;
|
|
111
|
+
minHeight: import("react-native").DimensionValue;
|
|
112
|
+
maxHeight: import("react-native").DimensionValue;
|
|
113
|
+
margin?: import("react-native").DimensionValue;
|
|
114
|
+
marginBlock?: import("react-native").DimensionValue;
|
|
115
|
+
marginBlockEnd?: import("react-native").DimensionValue;
|
|
116
|
+
marginBlockStart?: import("react-native").DimensionValue;
|
|
117
|
+
marginBottom?: import("react-native").DimensionValue;
|
|
118
|
+
marginEnd?: import("react-native").DimensionValue;
|
|
119
|
+
marginHorizontal?: import("react-native").DimensionValue;
|
|
120
|
+
marginInline?: import("react-native").DimensionValue;
|
|
121
|
+
marginInlineEnd?: import("react-native").DimensionValue;
|
|
122
|
+
marginInlineStart?: import("react-native").DimensionValue;
|
|
123
|
+
marginLeft?: import("react-native").DimensionValue;
|
|
124
|
+
marginRight?: import("react-native").DimensionValue;
|
|
125
|
+
marginStart?: import("react-native").DimensionValue;
|
|
126
|
+
marginTop?: import("react-native").DimensionValue;
|
|
127
|
+
marginVertical?: import("react-native").DimensionValue;
|
|
128
|
+
padding?: import("react-native").DimensionValue;
|
|
129
|
+
paddingBlock?: import("react-native").DimensionValue;
|
|
130
|
+
paddingBlockEnd?: import("react-native").DimensionValue;
|
|
131
|
+
paddingBlockStart?: import("react-native").DimensionValue;
|
|
132
|
+
paddingBottom?: import("react-native").DimensionValue;
|
|
133
|
+
paddingEnd?: import("react-native").DimensionValue;
|
|
134
|
+
paddingHorizontal?: import("react-native").DimensionValue;
|
|
135
|
+
paddingInline?: import("react-native").DimensionValue;
|
|
136
|
+
paddingInlineEnd?: import("react-native").DimensionValue;
|
|
137
|
+
paddingInlineStart?: import("react-native").DimensionValue;
|
|
138
|
+
paddingLeft?: import("react-native").DimensionValue;
|
|
139
|
+
paddingRight?: import("react-native").DimensionValue;
|
|
140
|
+
paddingStart?: import("react-native").DimensionValue;
|
|
141
|
+
paddingTop?: import("react-native").DimensionValue;
|
|
142
|
+
paddingVertical?: import("react-native").DimensionValue;
|
|
143
|
+
position: "absolute" | "relative" | "static";
|
|
144
|
+
flexDirection: "row" | "row-reverse" | "column" | "column-reverse";
|
|
145
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse";
|
|
146
|
+
justifyContent: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly";
|
|
147
|
+
alignItems: "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
|
|
148
|
+
alignSelf?: "auto" | "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
|
|
149
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly";
|
|
150
|
+
overflow?: "visible" | "hidden" | "scroll";
|
|
151
|
+
flex?: number;
|
|
152
|
+
flexGrow?: number;
|
|
153
|
+
flexShrink?: number;
|
|
154
|
+
flexBasis?: number | string;
|
|
155
|
+
aspectRatio?: number | string;
|
|
156
|
+
boxSizing?: "border-box" | "content-box";
|
|
157
|
+
zIndex?: number;
|
|
158
|
+
direction?: "inherit" | "ltr" | "rtl";
|
|
159
|
+
rowGap?: number | string;
|
|
160
|
+
columnGap?: number | string;
|
|
161
|
+
gap?: number | string;
|
|
13
162
|
};
|
|
14
163
|
safeAreaViewContainer: {};
|
|
15
164
|
titleContainer: {
|
|
@@ -31,8 +180,163 @@ declare const stylesheet: Readonly<{
|
|
|
31
180
|
flex: number;
|
|
32
181
|
};
|
|
33
182
|
title: {
|
|
34
|
-
|
|
183
|
+
pointerEvents?: "auto" | "none" | "box-none" | "box-only";
|
|
184
|
+
shadowColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
185
|
+
shadowOffset?: Readonly<{
|
|
186
|
+
width?: number;
|
|
187
|
+
height?: number;
|
|
188
|
+
}>;
|
|
189
|
+
shadowOpacity?: number;
|
|
190
|
+
shadowRadius?: number;
|
|
191
|
+
transform?: ReadonlyArray<Readonly<import("react-native/types_generated/Libraries/StyleSheet/private/_TransformStyle").MaximumOneOf<import("react-native/types_generated/Libraries/StyleSheet/private/_TransformStyle").MergeUnion<{
|
|
192
|
+
readonly perspective: number | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
193
|
+
} | {
|
|
194
|
+
readonly rotate: string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
195
|
+
} | {
|
|
196
|
+
readonly rotateX: string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
197
|
+
} | {
|
|
198
|
+
readonly rotateY: string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
199
|
+
} | {
|
|
200
|
+
readonly rotateZ: string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
201
|
+
} | {
|
|
202
|
+
readonly scale: number | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
203
|
+
} | {
|
|
204
|
+
readonly scaleX: number | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
205
|
+
} | {
|
|
206
|
+
readonly scaleY: number | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
207
|
+
} | {
|
|
208
|
+
readonly translateX: number | string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
209
|
+
} | {
|
|
210
|
+
readonly translateY: number | string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
211
|
+
} | {
|
|
212
|
+
readonly translate: [number | string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node, number | string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node] | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
213
|
+
} | {
|
|
214
|
+
readonly skewX: string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
215
|
+
} | {
|
|
216
|
+
readonly skewY: string | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
217
|
+
} | {
|
|
218
|
+
readonly matrix: ReadonlyArray<number | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node> | import("react-native/types_generated/Libraries/Animated/AnimatedExports").Node;
|
|
219
|
+
}>>>> | string;
|
|
220
|
+
transformOrigin?: [string | number, string | number, string | number] | string;
|
|
221
|
+
backfaceVisibility?: "visible" | "hidden";
|
|
222
|
+
backgroundColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
223
|
+
borderColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
224
|
+
borderCurve?: "circular" | "continuous";
|
|
225
|
+
borderBottomColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
226
|
+
borderEndColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
227
|
+
borderLeftColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
228
|
+
borderRightColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
229
|
+
borderStartColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
230
|
+
borderTopColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
231
|
+
borderBlockColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
232
|
+
borderBlockEndColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
233
|
+
borderBlockStartColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
234
|
+
borderRadius?: number | string;
|
|
235
|
+
borderBottomEndRadius?: number | string;
|
|
236
|
+
borderBottomLeftRadius?: number | string;
|
|
237
|
+
borderBottomRightRadius?: number | string;
|
|
238
|
+
borderBottomStartRadius?: number | string;
|
|
239
|
+
borderEndEndRadius?: number | string;
|
|
240
|
+
borderEndStartRadius?: number | string;
|
|
241
|
+
borderStartEndRadius?: number | string;
|
|
242
|
+
borderStartStartRadius?: number | string;
|
|
243
|
+
borderTopEndRadius?: number | string;
|
|
244
|
+
borderTopLeftRadius?: number | string;
|
|
245
|
+
borderTopRightRadius?: number | string;
|
|
246
|
+
borderTopStartRadius?: number | string;
|
|
247
|
+
borderStyle?: "solid" | "dotted" | "dashed";
|
|
248
|
+
borderWidth?: number;
|
|
249
|
+
borderBottomWidth?: number;
|
|
250
|
+
borderEndWidth?: number;
|
|
251
|
+
borderLeftWidth?: number;
|
|
252
|
+
borderRightWidth?: number;
|
|
253
|
+
borderStartWidth?: number;
|
|
254
|
+
borderTopWidth?: number;
|
|
255
|
+
opacity?: number;
|
|
256
|
+
outlineColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
257
|
+
outlineOffset?: number;
|
|
258
|
+
outlineStyle?: "solid" | "dotted" | "dashed";
|
|
259
|
+
outlineWidth?: number;
|
|
260
|
+
elevation?: number;
|
|
261
|
+
cursor?: import("react-native").CursorValue;
|
|
262
|
+
boxShadow?: ReadonlyArray<import("react-native").BoxShadowValue> | string;
|
|
263
|
+
filter?: ReadonlyArray<import("react-native").FilterFunction> | string;
|
|
264
|
+
mixBlendMode?: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity";
|
|
265
|
+
experimental_backgroundImage?: ReadonlyArray<import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").BackgroundImageValue> | string;
|
|
266
|
+
experimental_backgroundSize?: ReadonlyArray<import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").BackgroundSizeValue> | string;
|
|
267
|
+
experimental_backgroundPosition?: ReadonlyArray<import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").BackgroundPositionValue> | string;
|
|
268
|
+
experimental_backgroundRepeat?: ReadonlyArray<import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").BackgroundRepeatValue> | string;
|
|
269
|
+
isolation?: "auto" | "isolate";
|
|
270
|
+
display?: "none" | "flex" | "contents";
|
|
271
|
+
width?: import("react-native").DimensionValue;
|
|
272
|
+
height?: import("react-native").DimensionValue;
|
|
273
|
+
bottom?: import("react-native").DimensionValue;
|
|
274
|
+
end?: import("react-native").DimensionValue;
|
|
275
|
+
left?: import("react-native").DimensionValue;
|
|
276
|
+
right?: import("react-native").DimensionValue;
|
|
277
|
+
start?: import("react-native").DimensionValue;
|
|
278
|
+
top?: import("react-native").DimensionValue;
|
|
279
|
+
inset?: import("react-native").DimensionValue;
|
|
280
|
+
insetBlock?: import("react-native").DimensionValue;
|
|
281
|
+
insetBlockEnd?: import("react-native").DimensionValue;
|
|
282
|
+
insetBlockStart?: import("react-native").DimensionValue;
|
|
283
|
+
insetInline?: import("react-native").DimensionValue;
|
|
284
|
+
insetInlineEnd?: import("react-native").DimensionValue;
|
|
285
|
+
insetInlineStart?: import("react-native").DimensionValue;
|
|
286
|
+
minWidth?: import("react-native").DimensionValue;
|
|
287
|
+
maxWidth?: import("react-native").DimensionValue;
|
|
288
|
+
minHeight?: import("react-native").DimensionValue;
|
|
289
|
+
maxHeight?: import("react-native").DimensionValue;
|
|
290
|
+
margin?: import("react-native").DimensionValue;
|
|
291
|
+
marginBlock?: import("react-native").DimensionValue;
|
|
292
|
+
marginBlockEnd?: import("react-native").DimensionValue;
|
|
293
|
+
marginBlockStart?: import("react-native").DimensionValue;
|
|
294
|
+
marginBottom?: import("react-native").DimensionValue;
|
|
295
|
+
marginEnd?: import("react-native").DimensionValue;
|
|
296
|
+
marginHorizontal?: import("react-native").DimensionValue;
|
|
297
|
+
marginInline?: import("react-native").DimensionValue;
|
|
298
|
+
marginInlineEnd?: import("react-native").DimensionValue;
|
|
299
|
+
marginInlineStart?: import("react-native").DimensionValue;
|
|
300
|
+
marginLeft?: import("react-native").DimensionValue;
|
|
301
|
+
marginRight?: import("react-native").DimensionValue;
|
|
302
|
+
marginStart?: import("react-native").DimensionValue;
|
|
303
|
+
marginTop?: import("react-native").DimensionValue;
|
|
304
|
+
marginVertical?: import("react-native").DimensionValue;
|
|
305
|
+
padding?: import("react-native").DimensionValue;
|
|
306
|
+
paddingBlock?: import("react-native").DimensionValue;
|
|
307
|
+
paddingBlockEnd?: import("react-native").DimensionValue;
|
|
308
|
+
paddingBlockStart?: import("react-native").DimensionValue;
|
|
309
|
+
paddingBottom?: import("react-native").DimensionValue;
|
|
310
|
+
paddingEnd?: import("react-native").DimensionValue;
|
|
311
|
+
paddingHorizontal?: import("react-native").DimensionValue;
|
|
312
|
+
paddingInline?: import("react-native").DimensionValue;
|
|
313
|
+
paddingInlineEnd?: import("react-native").DimensionValue;
|
|
314
|
+
paddingInlineStart?: import("react-native").DimensionValue;
|
|
315
|
+
paddingLeft?: import("react-native").DimensionValue;
|
|
316
|
+
paddingRight?: import("react-native").DimensionValue;
|
|
317
|
+
paddingStart?: import("react-native").DimensionValue;
|
|
318
|
+
paddingTop?: import("react-native").DimensionValue;
|
|
319
|
+
paddingVertical?: import("react-native").DimensionValue;
|
|
320
|
+
position?: "absolute" | "relative" | "static";
|
|
321
|
+
flexDirection?: "row" | "row-reverse" | "column" | "column-reverse";
|
|
322
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse";
|
|
323
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly";
|
|
324
|
+
alignItems?: "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
|
|
325
|
+
alignSelf?: "auto" | "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
|
|
326
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly";
|
|
327
|
+
overflow?: "visible" | "hidden" | "scroll";
|
|
35
328
|
flex: number;
|
|
329
|
+
flexGrow?: number;
|
|
330
|
+
flexShrink?: number;
|
|
331
|
+
flexBasis?: number | string;
|
|
332
|
+
aspectRatio?: number | string;
|
|
333
|
+
boxSizing?: "border-box" | "content-box";
|
|
334
|
+
zIndex?: number;
|
|
335
|
+
direction?: "inherit" | "ltr" | "rtl";
|
|
336
|
+
rowGap?: number | string;
|
|
337
|
+
columnGap?: number | string;
|
|
338
|
+
gap?: number | string;
|
|
339
|
+
textAlign: "center";
|
|
36
340
|
};
|
|
37
341
|
rightContainer: {};
|
|
38
342
|
leftContainer: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stylesheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/header/stylesheet.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,SAAS,EACd,KAAK,SAAS,EAEjB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACR,sBAAsB,EACzB,MAAM,QAAQ,CAAC;AAChB,OAAO,EACH,KAAK,OAAO,EACf,MAAM,aAAa,CAAC;AAMrB,QAAA,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"stylesheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/header/stylesheet.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,SAAS,EACd,KAAK,SAAS,EAEjB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACR,sBAAsB,EACzB,MAAM,QAAQ,CAAC;AAChB,OAAO,EACH,KAAK,OAAO,EACf,MAAM,aAAa,CAAC;AAMrB,QAAA,MAAM,UAAU;;;;;iBAyEqwuB,CAAC;kBAAoB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAtB,CAAC;kBAAoB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA5BzyuB,CAAC;AAEH,eAAO,MAAM,SAAS,GAAI,+GAQvB,sBAAsB;kBAIZ,OAAO,CAAC,SAAS,CAAC;aAKlB,OAAO,CAAC,SAAS,CAAC;WAGlB,OAAO,CAAC,SAAS,CAAC;CAI9B,CAAC;AACF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/localeSwitcher/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,EAAE,EACV,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,oBAAoB,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/localeSwitcher/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,EAAE,EACV,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,oBAAoB,MAAM,QAAQ,CAAC;AAiB/C,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CA6H7C,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -15,6 +15,7 @@ interface ILocaleSwitcherProps extends Omit<IButtonProps, "onPress"> {
|
|
|
15
15
|
customLocalize?: {
|
|
16
16
|
activeLocale?: keyof NCoreUIKit.LocaleKey;
|
|
17
17
|
};
|
|
18
|
+
isWorkWithHighlightButton?: boolean;
|
|
18
19
|
isWorkWithNextShowSystem?: boolean;
|
|
19
20
|
variants?: LocaleSwitchVariants;
|
|
20
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../../src/components/localeSwitcher/type.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,SAAS,EACd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACR,cAAc,EACjB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAE/C,MAAM,MAAM,mBAAmB,GAAG;IAC9B,eAAe,EAAE,MAAM,UAAU,CAAC,sBAAsB,GAAG,aAAa,CAAC;IACzE,WAAW,EAAE,MAAM,UAAU,CAAC,mBAAmB,GAAG,aAAa,CAAC;IAClE,SAAS,EAAE,MAAM,UAAU,CAAC,mBAAmB,CAAC;IAChD,SAAS,EAAE,MAAM,UAAU,CAAC,SAAS,CAAC;IACtC,IAAI,EAAE,cAAc,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAE9D,UAAU,oBAAqB,SAAQ,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC;IAChE,KAAK,CAAC,EAAE,MAAM,UAAU,CAAC,sBAAsB,GAAG,aAAa,CAAC;IAChE,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,EAAE,GAAG,SAAS,CAAC,SAAS,CAAC,CAAC;IACtD,cAAc,CAAC,EAAE;QACb,YAAY,CAAC,EAAE,MAAM,UAAU,CAAC,SAAS,CAAC;KAC7C,CAAC;IACF,wBAAwB,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
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/paletteSwitcher/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,EAAE,EACV,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,qBAAqB,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/paletteSwitcher/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,EAAE,EACV,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,qBAAqB,MAAM,QAAQ,CAAC;AAkBhD,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,qBAAqB,CA8I9C,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -18,6 +18,7 @@ interface IPaletteSwitcherProps extends Omit<IButtonProps, "onPress"> {
|
|
|
18
18
|
themeKey?: keyof NCoreUIKit.ThemeKey;
|
|
19
19
|
};
|
|
20
20
|
style?: StyleProp<TextStyle>[] | StyleProp<TextStyle>;
|
|
21
|
+
isWorkWithHighlightButton?: boolean;
|
|
21
22
|
isWorkWithNextShowSystem?: boolean;
|
|
22
23
|
variants?: ThemeSwitchVariants;
|
|
23
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../../src/components/paletteSwitcher/type.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,SAAS,EACd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACR,cAAc,EACjB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAE/C,MAAM,MAAM,mBAAmB,GAAG;IAC9B,eAAe,EAAE,MAAM,UAAU,CAAC,sBAAsB,GAAG,aAAa,CAAC;IACzE,WAAW,EAAE,MAAM,UAAU,CAAC,mBAAmB,GAAG,aAAa,CAAC;IAClE,SA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ClE,SAAS,EAAE,MAAM,UAAU,CAAC,mBAAmB,CAAC;IAChD,UAAU,EAAE,MAAM,UAAU,CAAC,UAAU,CAAC;IACxC,IAAI,EAAE,cAAc,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAE7D,UAAU,qBAAsB,SAAQ,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC;IACjE,KAAK,CAAC,EAAE,MAAM,UAAU,CAAC,sBAAsB,GAAG,aAAa,CAAC;IAChE,WAAW,CAAC,EAAE;QACV,cAAc,CAAC,EAAE,MAAM,UAAU,CAAC,iBAAiB,CAAC;QACpD,SAAS,CAAC,EAAE,MAAM,UAAU,CAAC,YAAY,CAAC;QAC1C,UAAU,CAAC,EAAE,MAAM,UAAU,CAAC,UAAU,CAAC;QACzC,QAAQ,CAAC,EAAE,MAAM,UAAU,CAAC,QAAQ,CAAC;KACxC,CAAC;IACF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,EAAE,GAAG,SAAS,CAAC,SAAS,CAAC,CAAC;IACtD,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAClC;AACD,YAAY,EACR,qBAAqB,IAAI,OAAO,EACnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/themeSwitcher/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,EAAE,EACV,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,mBAAmB,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/themeSwitcher/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,EAAE,EACV,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,mBAAmB,MAAM,QAAQ,CAAC;AAiB9C,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,mBAAmB,CAwI1C,CAAC;AACF,eAAe,aAAa,CAAC"}
|
|
@@ -18,6 +18,7 @@ interface IThemeSwitcherProps extends Omit<IButtonProps, "onPress"> {
|
|
|
18
18
|
themeKey?: keyof NCoreUIKit.ThemeKey;
|
|
19
19
|
};
|
|
20
20
|
style?: StyleProp<TextStyle>[] | StyleProp<TextStyle>;
|
|
21
|
+
isWorkWithHighlightButton?: boolean;
|
|
21
22
|
isWorkWithNextShowSystem?: boolean;
|
|
22
23
|
variants?: ThemeSwitchVariants;
|
|
23
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../../src/components/themeSwitcher/type.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,SAAS,EACd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACR,cAAc,EACjB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAE/C,MAAM,MAAM,kBAAkB,GAAG;IAC7B,eAAe,EAAE,MAAM,UAAU,CAAC,sBAAsB,GAAG,aAAa,CAAC;IACzE,WAAW,EAAE,MAAM,UAAU,CAAC,mBAAmB,GAAG,aAAa,CAAC;IAClE,SAAS,EAAE,MAAM,UAAU,CAAC,mBAAmB,CAAC;IAChD,QAAQ,EAAE,MAAM,UAAU,CAAC,QAAQ,CAAC;IACpC,IAAI,EAAE,cAAc,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,kBAAkB,CAAC,CAAC;AAE5D,UAAU,mBAAoB,SAAQ,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC;IAC/D,KAAK,CAAC,EAAE,MAAM,UAAU,CAAC,sBAAsB,GAAG,aAAa,CAAC;IAChE,WAAW,CAAC,EAAE;QACV,cAAc,CAAC,E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,CAAC,EAAE,MAAM,UAAU,CAAC,iBAAiB,CAAC;QACpD,SAAS,CAAC,EAAE,MAAM,UAAU,CAAC,YAAY,CAAC;QAC1C,UAAU,CAAC,EAAE,MAAM,UAAU,CAAC,UAAU,CAAC;QACzC,QAAQ,CAAC,EAAE,MAAM,UAAU,CAAC,QAAQ,CAAC;KACxC,CAAC;IACF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,EAAE,GAAG,SAAS,CAAC,SAAS,CAAC,CAAC;IACtD,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAClC;AACD,YAAY,EACR,mBAAmB,IAAI,OAAO,EACjC,CAAC"}
|
|
@@ -5,6 +5,7 @@ export type { IDateTimePickerRef, EnterMarkdownTypes, ITextAreaInputRef, CodeMar
|
|
|
5
5
|
export { blockquoteMarkdown, centerMarkdown, enterMarkdown, imageMarkdown, parseMarkdown, rightMarkdown, codeMarkdown, leftMarkdown, linkMarkdown, listMarkdown, textMarkdown } from "./components/markdownViewer/util";
|
|
6
6
|
export { mergeTypographyTokens, parseRRuleConfig, mergeTypography, mergeRadiuses, mergePalettes, mergeBorders, mergeSpaces, mergeShapes, mergeTheme } from "./helpers";
|
|
7
7
|
export { NIBGATCommunityIcon, CayCoreIcon, LoadingIcon, NIBGATIcon, TRTRIcon, EnUsIcon } from "./assets/svg";
|
|
8
|
-
export type { PortalizedComponentProps, INCoreUIKitIconProps, GapPropagationType, NCoreUIKitConfig, RecursiveRecord, NCoreUIKitIcon, ModalDataType, SharpnessType, LocalizeType, PaletteType, ThemesType, LocaleType, ThemeType, ModalType, Mutable } from "./types";
|
|
8
|
+
export type { PortalizedComponentProps, INCoreUIKitIconProps, GapPropagationType, NCoreUIKitConfig, RecursiveRecord, NCoreUIKitIcon, ModalDataType, SharpnessType, PureWebStyles, PureRNStyles, LocalizeType, PaletteType, ThemesType, LocaleType, AllStyles, ThemeType, ModalType, Mutable } from "./types";
|
|
9
9
|
export { Portal, Host } from "./helpers/portalize";
|
|
10
|
+
export { androidTypographyFixer, windowHeight, windowWidth, webStyle, uuid } from "./utils";
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,oBAAoB,EACpB,eAAe,EAClB,MAAM,QAAQ,CAAC;AAEhB,OAAO,EACH,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,eAAe,EACf,cAAc,EACjB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACH,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,cAAc,EACd,cAAc,EACd,cAAc,EACd,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,WAAW,EACX,WAAW,EACX,WAAW,EACX,UAAU,EACV,UAAU,EACV,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO,EACP,OAAO,EACP,MAAM,EACN,MAAM,EACN,MAAM,EACN,MAAM,EACN,MAAM,EACN,KAAK,EACL,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,IAAI,EACP,MAAM,cAAc,CAAC;AAEtB,YAAY,EACR,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,cAAc,EACd,aAAa,EACb,YAAY,EACZ,UAAU,EACV,SAAS,EACT,SAAS,EACZ,MAAM,cAAc,CAAC;AAEtB,OAAO,EACH,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACf,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EACH,qBAAqB,EACrB,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,aAAa,EACb,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACb,MAAM,WAAW,CAAC;AAEnB,OAAO,EACH,mBAAmB,EACnB,WAAW,EACX,WAAW,EACX,UAAU,EACV,QAAQ,EACR,QAAQ,EACX,MAAM,cAAc,CAAC;AAEtB,YAAY,EACR,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,aAAa,EACb,aAAa,EACb,YAAY,EACZ,WAAW,EACX,UAAU,EACV,UAAU,EACV,SAAS,EACT,SAAS,EACT,OAAO,EACV,MAAM,SAAS,CAAC;AAEjB,OAAO,EACH,MAAM,EACN,IAAI,EACP,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,oBAAoB,EACpB,eAAe,EAClB,MAAM,QAAQ,CAAC;AAEhB,OAAO,EACH,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,eAAe,EACf,cAAc,EACjB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACH,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,cAAc,EACd,cAAc,EACd,cAAc,EACd,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,WAAW,EACX,WAAW,EACX,WAAW,EACX,UAAU,EACV,UAAU,EACV,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS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C"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type ForwardRefRenderFunction } from "react";
|
|
1
|
+
import { type ForwardRefRenderFunction, type CSSProperties } from "react";
|
|
2
|
+
import type { ImageStyle, TextStyle, ViewStyle } from "react-native";
|
|
2
3
|
import { type INCoreUIKitIconCallbackProps } from "./icon";
|
|
3
4
|
import { type LocalizeType, type LocaleType } from "./locale";
|
|
4
5
|
import { type ModalDataType, type ModalType } from "./modal";
|
|
@@ -10,6 +11,13 @@ export type { INCoreUIKitIconCallbackProps, INCoreUIKitIconProps, NCoreUIKitIcon
|
|
|
10
11
|
export type { ThemeContextStateType, ThemeContextType, ThemeConfigs } from "./theme";
|
|
11
12
|
export type { LocalizeContextStateType, LocalizeContextType } from "./locale";
|
|
12
13
|
export type { GapPropagationType, NCoreUIKitConfig, SharpnessType, ModalDataType, LocalizeType, PaletteType, ThemesType, LocaleType, ModalType, ThemeType };
|
|
14
|
+
export type PureRNStyles = Omit<ViewStyle & TextStyle & ImageStyle, "position" | "cursor" | "filter">;
|
|
15
|
+
export type PureWebStyles = Omit<CSSProperties, "position" | "cursor" | "filter">;
|
|
16
|
+
export type AllStyles = PureRNStyles & PureWebStyles & {
|
|
17
|
+
position?: CSSProperties["position"];
|
|
18
|
+
cursor?: CSSProperties["cursor"];
|
|
19
|
+
filter?: string;
|
|
20
|
+
};
|
|
13
21
|
export type RecursiveRecord = {
|
|
14
22
|
[key: string]: string | RecursiveRecord;
|
|
15
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,wBAAwB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EACrB,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EACR,UAAU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AC,aAAa,CAAC,GAAG,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;SACzF,CAAC;QAEF,KAAK,qBAAqB,GAAG;aACxB,CAAC,IAAI,MAAM,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;SAC1F,CAAC;QAEF,KAAK,qBAAqB,GAAG;aACxB,CAAC,IAAI,MAAM,mBAAmB,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,mBAAmB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;SAC5F,CAAC;QAEF,UAAU,WAAY,SAAQ,qBAAqB;SAClD;QAED,KAAK,eAAe,GAAG;YACnB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;YACjC,KAAK,CAAC,EAAE,eAAe,CAAC;YACxB,IAAI,EAAE,MAAM,CAAC;YACb,GAAG,EAAE,MAAM,CAAC;SACf,CAAC;QAEF,KAAK,eAAe,GAAG;YACnB,MAAM,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;YAC/B,KAAK,EAAE,MAAM,CAAC;SACjB,CAAC;QAEF,KAAK,UAAU,GAAG;YACd,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,CAAC;YACjE,YAAY,EAAE,MAAM,eAAe,CAAC;YACpC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE;gBAC9B,MAAM,EAAE,MAAM,CAAA;aACjB,KAAK,IAAI,CAAC;YACX,QAAQ,EAAE,MAAM,eAAe,CAAC;SACnC,CAAC;KACL;CACJ"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { type ViewStyle } from "react-native";
|
|
2
|
+
import type { AllStyles } from "../types";
|
|
1
3
|
export declare const windowHeight: number;
|
|
2
4
|
export declare const windowWidth: number;
|
|
3
|
-
export declare const webStyle: (styles:
|
|
5
|
+
export declare const webStyle: <T extends AllStyles>(styles: T) => ViewStyle;
|
|
4
6
|
export declare const uuid: () => string;
|
|
5
7
|
export declare const androidTypographyFixer: (defaultPaletteData: NCoreUIKit.Palette) => NCoreUIKit.Palette;
|
|
6
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,SAAS,EAGjB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACR,SAAS,EACZ,MAAM,UAAU,CAAC;AAIlB,eAAO,MAAM,YAAY,QAAoB,CAAC;AAC9C,eAAO,MAAM,WAAW,QAAmB,CAAC;AAE5C,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,SAAS,EAAE,QAAQ,CAAC,KAAG,SAEzD,CAAC;AAEF,eAAO,MAAM,IAAI,cAKhB,CAAC;AAcF,eAAO,MAAM,sBAAsB,GAAI,oBAAoB,UAAU,CAAC,OAAO,KAAG,UAAU,CAAC,OAmC1F,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ncore-ui-kit",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.1",
|
|
4
4
|
"description": "NİBGAT® | NCore - UI Kit for React-Native Mobile Apps.",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|
|
@@ -37,9 +37,10 @@
|
|
|
37
37
|
"clean": "del-cli lib",
|
|
38
38
|
"lint": "eslint . --ext .ts,.tsx --fix",
|
|
39
39
|
"prepare": "bob build && copyfiles -u 1 \"src/variants/**/*.json\" lib/typescript/src/ && node version.mjs",
|
|
40
|
-
"
|
|
40
|
+
"type-check-build": "tsc -p tsconfig.build.json",
|
|
41
|
+
"type-check": "tsc --project tsconfig.json --noEmit",
|
|
41
42
|
"release": "release-it --only-version",
|
|
42
|
-
"build": "yarn clean && yarn lint && yarn
|
|
43
|
+
"build": "yarn clean && yarn lint && yarn type-check-build && yarn prepare && npm publish"
|
|
43
44
|
},
|
|
44
45
|
"keywords": [
|
|
45
46
|
"ncore",
|
|
@@ -18,9 +18,11 @@ import {
|
|
|
18
18
|
EnUsIcon,
|
|
19
19
|
TRTRIcon
|
|
20
20
|
} from "../../assets/svg";
|
|
21
|
+
import HighlightButton from "../highlightButton";
|
|
21
22
|
|
|
22
23
|
const PaletteSwitcher: FC<ILocaleSwitcherProps> = ({
|
|
23
24
|
variants: variantsProps = [],
|
|
25
|
+
isWorkWithHighlightButton,
|
|
24
26
|
isWorkWithNextShowSystem,
|
|
25
27
|
customLocalize,
|
|
26
28
|
color,
|
|
@@ -99,21 +101,22 @@ const PaletteSwitcher: FC<ILocaleSwitcherProps> = ({
|
|
|
99
101
|
|
|
100
102
|
const currentVariant = variants[isWorkWithNextShowSystem ? viewVariantIndex : currentVariantIndex];
|
|
101
103
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
customBorderColor
|
|
104
|
+
const allProps = {
|
|
105
|
+
...props,
|
|
106
|
+
customBorderColor: currentVariant && currentVariant.borderColor ?
|
|
105
107
|
currentVariant.borderColor
|
|
106
108
|
:
|
|
107
|
-
color
|
|
108
|
-
|
|
109
|
-
customColor={currentVariant && currentVariant.backgroundColor ?
|
|
109
|
+
color,
|
|
110
|
+
customColor: currentVariant && currentVariant.backgroundColor ?
|
|
110
111
|
currentVariant.backgroundColor
|
|
111
112
|
:
|
|
112
|
-
color
|
|
113
|
-
|
|
114
|
-
icon={({
|
|
113
|
+
color,
|
|
114
|
+
icon: ({
|
|
115
115
|
color,
|
|
116
116
|
size
|
|
117
|
+
}: {
|
|
118
|
+
color: keyof NCoreUIKit.IconContentColors;
|
|
119
|
+
size: number;
|
|
117
120
|
}) => {
|
|
118
121
|
const Icon = currentVariant?.icon as NCoreUIKitIcon;
|
|
119
122
|
|
|
@@ -122,15 +125,25 @@ const PaletteSwitcher: FC<ILocaleSwitcherProps> = ({
|
|
|
122
125
|
color={color}
|
|
123
126
|
size={size}
|
|
124
127
|
/>;
|
|
125
|
-
}
|
|
126
|
-
onPress
|
|
128
|
+
},
|
|
129
|
+
onPress: () => {
|
|
127
130
|
NCoreUIKitLocalize.switch({
|
|
128
131
|
localeKey: localeKeys[viewVariantIndex] as keyof NCoreUIKit.LocaleKey
|
|
129
132
|
});
|
|
130
|
-
}
|
|
131
|
-
style
|
|
133
|
+
},
|
|
134
|
+
style: [
|
|
132
135
|
style
|
|
133
|
-
]
|
|
136
|
+
]
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
if(isWorkWithHighlightButton) {
|
|
140
|
+
return <HighlightButton
|
|
141
|
+
{...allProps}
|
|
142
|
+
/>;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
return <Button
|
|
146
|
+
{...allProps}
|
|
134
147
|
/>;
|
|
135
148
|
};
|
|
136
149
|
export default PaletteSwitcher;
|
|
@@ -23,6 +23,7 @@ interface ILocaleSwitcherProps extends Omit<IButtonProps, "onPress"> {
|
|
|
23
23
|
customLocalize?: {
|
|
24
24
|
activeLocale?: keyof NCoreUIKit.LocaleKey;
|
|
25
25
|
};
|
|
26
|
+
isWorkWithHighlightButton?: boolean;
|
|
26
27
|
isWorkWithNextShowSystem?: boolean;
|
|
27
28
|
variants?: LocaleSwitchVariants;
|
|
28
29
|
}
|