@gympass/yoga 7.140.0 → 7.141.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/cjs/Input/native/Helper.js +1 -1
- package/cjs/Input/native/Input.js +4 -4
- package/cjs/Input/native/Password.js +1 -1
- package/cjs/Input/web/Field.js +2 -2
- package/cjs/Input/web/Fieldset.js +1 -1
- package/cjs/Input/web/Helper.js +1 -1
- package/cjs/Input/web/Input.js +1 -1
- package/cjs/Input/web/Label.js +1 -1
- package/cjs/Input/web/Password.js +1 -1
- package/cjs/Input/web/Phone.style.js +2 -2
- package/esm/Input/native/Helper.js +1 -1
- package/esm/Input/native/Input.js +4 -4
- package/esm/Input/native/Password.js +1 -1
- package/esm/Input/web/Field.js +2 -2
- package/esm/Input/web/Fieldset.js +1 -1
- package/esm/Input/web/Helper.js +1 -1
- package/esm/Input/web/Input.js +1 -1
- package/esm/Input/web/Label.js +1 -1
- package/esm/Input/web/Password.js +1 -1
- package/esm/Input/web/Phone.style.js +2 -2
- package/package.json +3 -3
- package/typings/Theme/theme/theme.d.ts +37 -37
- package/typings/Theme/theme/v3theme.d.ts +37 -37
|
@@ -71,7 +71,7 @@ const Info = (0, import_styled_components.default)(import_Text.default.Caption)(
|
|
|
71
71
|
font-family: ${baseFont.family};
|
|
72
72
|
color: ${input.helper.color.default};
|
|
73
73
|
|
|
74
|
-
${disabled ? `color: ${colors.
|
|
74
|
+
${disabled ? `color: ${colors.steady};` : ""}
|
|
75
75
|
${focused ? `color: ${input.helper.color.focus};` : ""}
|
|
76
76
|
${error ? `color: ${colors.feedback.attention.dark};` : ""}
|
|
77
77
|
`
|
|
@@ -121,8 +121,8 @@ const Field = import_styled_components.default.TextInput(
|
|
|
121
121
|
${error ? `border-color: ${colors.feedback.attention[1]};` : ""}
|
|
122
122
|
|
|
123
123
|
${disabled ? `
|
|
124
|
-
border-color: ${colors.
|
|
125
|
-
color: ${colors.
|
|
124
|
+
border-color: ${colors.steady};
|
|
125
|
+
color: ${colors.steady};
|
|
126
126
|
` : ""}
|
|
127
127
|
`
|
|
128
128
|
);
|
|
@@ -176,7 +176,7 @@ const Label = (0, import_styled_components.default)(import_react_native.Animated
|
|
|
176
176
|
` : ""}
|
|
177
177
|
|
|
178
178
|
${error ? `color: ${colors.feedback.attention[1]};` : ""}
|
|
179
|
-
${disabled ? `color: ${colors.
|
|
179
|
+
${disabled ? `color: ${colors.steady};` : ""}
|
|
180
180
|
`
|
|
181
181
|
);
|
|
182
182
|
const CloseIcon = import_styled_components.default.View(
|
|
@@ -253,7 +253,7 @@ const Input = import_react.default.forwardRef(
|
|
|
253
253
|
}, [value]);
|
|
254
254
|
const iconColor = () => {
|
|
255
255
|
if (disabled) {
|
|
256
|
-
return colors.
|
|
256
|
+
return colors.steady;
|
|
257
257
|
}
|
|
258
258
|
if (focused) {
|
|
259
259
|
return input.font.color.focus;
|
|
@@ -123,7 +123,7 @@ const Password = import_react.default.forwardRef(
|
|
|
123
123
|
const [focused, setFocused] = (0, import_react.useState)(false);
|
|
124
124
|
const iconColor = () => {
|
|
125
125
|
if (disabled) {
|
|
126
|
-
return colors.
|
|
126
|
+
return colors.steady;
|
|
127
127
|
}
|
|
128
128
|
if (focused) {
|
|
129
129
|
return input.font.color.focus;
|
package/cjs/Input/web/Field.js
CHANGED
|
@@ -114,8 +114,8 @@ const Field = import_styled_components.default.input`
|
|
|
114
114
|
|
|
115
115
|
&:disabled {
|
|
116
116
|
cursor: not-allowed;
|
|
117
|
-
color: ${colors.
|
|
118
|
-
-webkit-text-fill-color: ${colors.
|
|
117
|
+
color: ${colors.steady};
|
|
118
|
+
-webkit-text-fill-color: ${colors.steady};
|
|
119
119
|
opacity: 1;
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -63,7 +63,7 @@ const Fieldset = import_styled_components.default.fieldset`
|
|
|
63
63
|
|
|
64
64
|
${value && !error ? `border-color: ${input.border.color.typed};` : ""}
|
|
65
65
|
|
|
66
|
-
${disabled ? `border-color: ${colors.
|
|
66
|
+
${disabled ? `border-color: ${colors.steady};` : ""}
|
|
67
67
|
|
|
68
68
|
&:hover, &:focus-within {
|
|
69
69
|
&:not(:disabled) {
|
package/cjs/Input/web/Helper.js
CHANGED
|
@@ -70,7 +70,7 @@ const Wrapper = import_styled_components.default.div`
|
|
|
70
70
|
margin-top: ${input.helper.margin.top}px;
|
|
71
71
|
|
|
72
72
|
color: ${error ? colors.feedback.attention[1] : input.helper.color.default};
|
|
73
|
-
${disabled ? `color: ${colors.
|
|
73
|
+
${disabled ? `color: ${colors.steady};` : ""}
|
|
74
74
|
`}
|
|
75
75
|
`;
|
|
76
76
|
const Info = (0, import_styled_components.default)(import_Text.default.Caption)`
|
package/cjs/Input/web/Input.js
CHANGED
package/cjs/Input/web/Label.js
CHANGED
|
@@ -62,7 +62,7 @@ const Label = import_styled_components.default.label`
|
|
|
62
62
|
transition-duration: ${transition.duration[1]}ms;
|
|
63
63
|
transition-timing-function: cubic-bezier(${transition.timing[0].join()});
|
|
64
64
|
|
|
65
|
-
${disabled ? `color: ${colors.
|
|
65
|
+
${disabled ? `color: ${colors.steady};` : ""}
|
|
66
66
|
`}
|
|
67
67
|
`;
|
|
68
68
|
var Label_default = Label;
|
|
@@ -101,7 +101,7 @@ const labelStateColors = ({
|
|
|
101
101
|
yoga: { colors }
|
|
102
102
|
}
|
|
103
103
|
}) => import_styled_components.css`
|
|
104
|
-
${disabled ? `color: ${colors.
|
|
104
|
+
${disabled ? `color: ${colors.steady};` : ""}
|
|
105
105
|
${error ? `color: ${colors.feedback.attention[1]};` : ""}
|
|
106
106
|
`;
|
|
107
107
|
const Container = import_styled_components.default.div`
|
|
@@ -164,7 +164,7 @@ const Container = import_styled_components.default.div`
|
|
|
164
164
|
width: 100%;
|
|
165
165
|
outline: none;
|
|
166
166
|
grid-area: input;
|
|
167
|
-
color: ${disabled ? colors.
|
|
167
|
+
color: ${disabled ? colors.steady : input.font.color.focus};
|
|
168
168
|
font-family: ${baseFont.family}, sans-serif;
|
|
169
169
|
font-size: ${input.font.size}px;
|
|
170
170
|
padding-left: ${spacing.xsmall}px;
|
|
@@ -38,7 +38,7 @@ const Info = styled(Text.Caption)(
|
|
|
38
38
|
font-family: ${baseFont.family};
|
|
39
39
|
color: ${input.helper.color.default};
|
|
40
40
|
|
|
41
|
-
${disabled ? `color: ${colors.
|
|
41
|
+
${disabled ? `color: ${colors.steady};` : ""}
|
|
42
42
|
${focused ? `color: ${input.helper.color.focus};` : ""}
|
|
43
43
|
${error ? `color: ${colors.feedback.attention.dark};` : ""}
|
|
44
44
|
`
|
|
@@ -98,8 +98,8 @@ const Field = styled.TextInput(
|
|
|
98
98
|
${error ? `border-color: ${colors.feedback.attention[1]};` : ""}
|
|
99
99
|
|
|
100
100
|
${disabled ? `
|
|
101
|
-
border-color: ${colors.
|
|
102
|
-
color: ${colors.
|
|
101
|
+
border-color: ${colors.steady};
|
|
102
|
+
color: ${colors.steady};
|
|
103
103
|
` : ""}
|
|
104
104
|
`
|
|
105
105
|
);
|
|
@@ -153,7 +153,7 @@ const Label = styled(Animated.Text)(
|
|
|
153
153
|
` : ""}
|
|
154
154
|
|
|
155
155
|
${error ? `color: ${colors.feedback.attention[1]};` : ""}
|
|
156
|
-
${disabled ? `color: ${colors.
|
|
156
|
+
${disabled ? `color: ${colors.steady};` : ""}
|
|
157
157
|
`
|
|
158
158
|
);
|
|
159
159
|
const CloseIcon = styled.View(
|
|
@@ -230,7 +230,7 @@ const Input = React.forwardRef(
|
|
|
230
230
|
}, [value]);
|
|
231
231
|
const iconColor = () => {
|
|
232
232
|
if (disabled) {
|
|
233
|
-
return colors.
|
|
233
|
+
return colors.steady;
|
|
234
234
|
}
|
|
235
235
|
if (focused) {
|
|
236
236
|
return input.font.color.focus;
|
|
@@ -92,7 +92,7 @@ const Password = React.forwardRef(
|
|
|
92
92
|
const [focused, setFocused] = useState(false);
|
|
93
93
|
const iconColor = () => {
|
|
94
94
|
if (disabled) {
|
|
95
|
-
return colors.
|
|
95
|
+
return colors.steady;
|
|
96
96
|
}
|
|
97
97
|
if (focused) {
|
|
98
98
|
return input.font.color.focus;
|
package/esm/Input/web/Field.js
CHANGED
|
@@ -30,7 +30,7 @@ const Fieldset = styled.fieldset`
|
|
|
30
30
|
|
|
31
31
|
${value && !error ? `border-color: ${input.border.color.typed};` : ""}
|
|
32
32
|
|
|
33
|
-
${disabled ? `border-color: ${colors.
|
|
33
|
+
${disabled ? `border-color: ${colors.steady};` : ""}
|
|
34
34
|
|
|
35
35
|
&:hover, &:focus-within {
|
|
36
36
|
&:not(:disabled) {
|
package/esm/Input/web/Helper.js
CHANGED
|
@@ -38,7 +38,7 @@ const Wrapper = styled.div`
|
|
|
38
38
|
margin-top: ${input.helper.margin.top}px;
|
|
39
39
|
|
|
40
40
|
color: ${error ? colors.feedback.attention[1] : input.helper.color.default};
|
|
41
|
-
${disabled ? `color: ${colors.
|
|
41
|
+
${disabled ? `color: ${colors.steady};` : ""}
|
|
42
42
|
`}
|
|
43
43
|
`;
|
|
44
44
|
const Info = styled(Text.Caption)`
|
package/esm/Input/web/Input.js
CHANGED
package/esm/Input/web/Label.js
CHANGED
|
@@ -29,7 +29,7 @@ const Label = styled.label`
|
|
|
29
29
|
transition-duration: ${transition.duration[1]}ms;
|
|
30
30
|
transition-timing-function: cubic-bezier(${transition.timing[0].join()});
|
|
31
31
|
|
|
32
|
-
${disabled ? `color: ${colors.
|
|
32
|
+
${disabled ? `color: ${colors.steady};` : ""}
|
|
33
33
|
`}
|
|
34
34
|
`;
|
|
35
35
|
var Label_default = Label;
|
|
@@ -68,7 +68,7 @@ const labelStateColors = ({
|
|
|
68
68
|
yoga: { colors }
|
|
69
69
|
}
|
|
70
70
|
}) => css`
|
|
71
|
-
${disabled ? `color: ${colors.
|
|
71
|
+
${disabled ? `color: ${colors.steady};` : ""}
|
|
72
72
|
${error ? `color: ${colors.feedback.attention[1]};` : ""}
|
|
73
73
|
`;
|
|
74
74
|
const Container = styled.div`
|
|
@@ -131,7 +131,7 @@ const Container = styled.div`
|
|
|
131
131
|
width: 100%;
|
|
132
132
|
outline: none;
|
|
133
133
|
grid-area: input;
|
|
134
|
-
color: ${disabled ? colors.
|
|
134
|
+
color: ${disabled ? colors.steady : input.font.color.focus};
|
|
135
135
|
font-family: ${baseFont.family}, sans-serif;
|
|
136
136
|
font-size: ${input.font.size}px;
|
|
137
137
|
padding-left: ${spacing.xsmall}px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gympass/yoga",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.141.0",
|
|
4
4
|
"description": "Gympass component library",
|
|
5
5
|
"main": "./cjs",
|
|
6
6
|
"types": "./typings/index.d.ts",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"react-phone-input-2": "^2.15.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@gympass/yoga-icons": "^1.
|
|
48
|
+
"@gympass/yoga-icons": "^1.43.0",
|
|
49
49
|
"@react-native-community/eslint-config": "^3.0.1",
|
|
50
50
|
"@types/styled-components": "^5.1.34",
|
|
51
51
|
"babel-plugin-inline-react-svg": "^1.1.1",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"react-native": "0.72.3",
|
|
60
60
|
"styled-components": "^4.4.0"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "469252db0b93fed37bf5de82866ea0dfd2ad9fc6",
|
|
63
63
|
"module": "./esm",
|
|
64
64
|
"private": false,
|
|
65
65
|
"react-native": "./cjs/index.native.js"
|
|
@@ -1646,46 +1646,46 @@ declare const composeTheme: (tokens: typeof yogaTokens, customTheming?: {}) => {
|
|
|
1646
1646
|
length: number;
|
|
1647
1647
|
toString(): string;
|
|
1648
1648
|
toLocaleString(): string;
|
|
1649
|
-
pop(): 0 |
|
|
1650
|
-
push(...items: (0 |
|
|
1651
|
-
concat(...items: ConcatArray<0 |
|
|
1652
|
-
concat(...items: (0 |
|
|
1649
|
+
pop(): 0 | 2 | 1 | undefined;
|
|
1650
|
+
push(...items: (0 | 2 | 1)[]): number;
|
|
1651
|
+
concat(...items: ConcatArray<0 | 2 | 1>[]): (0 | 2 | 1)[];
|
|
1652
|
+
concat(...items: (0 | 2 | 1 | ConcatArray<0 | 2 | 1>)[]): (0 | 2 | 1)[];
|
|
1653
1653
|
join(separator?: string | undefined): string;
|
|
1654
|
-
reverse(): (0 |
|
|
1655
|
-
shift(): 0 |
|
|
1656
|
-
slice(start?: number | undefined, end?: number | undefined): (0 |
|
|
1657
|
-
sort(compareFn?: ((a: 0 |
|
|
1658
|
-
splice(start: number, deleteCount?: number | undefined): (0 |
|
|
1659
|
-
splice(start: number, deleteCount: number, ...items: (0 |
|
|
1660
|
-
unshift(...items: (0 |
|
|
1661
|
-
indexOf(searchElement: 0 |
|
|
1662
|
-
lastIndexOf(searchElement: 0 |
|
|
1663
|
-
every<S extends 0 |
|
|
1664
|
-
every(predicate: (value: 0 |
|
|
1665
|
-
some(predicate: (value: 0 |
|
|
1666
|
-
forEach(callbackfn: (value: 0 |
|
|
1667
|
-
map<U>(callbackfn: (value: 0 |
|
|
1668
|
-
filter<S_1 extends 0 |
|
|
1669
|
-
filter(predicate: (value: 0 |
|
|
1670
|
-
reduce(callbackfn: (previousValue: 0 |
|
|
1671
|
-
reduce(callbackfn: (previousValue: 0 |
|
|
1672
|
-
reduce<U_1>(callbackfn: (previousValue: U_1, currentValue: 0 |
|
|
1673
|
-
reduceRight(callbackfn: (previousValue: 0 |
|
|
1674
|
-
reduceRight(callbackfn: (previousValue: 0 |
|
|
1675
|
-
reduceRight<U_2>(callbackfn: (previousValue: U_2, currentValue: 0 |
|
|
1676
|
-
find<S_2 extends 0 |
|
|
1677
|
-
find(predicate: (value: 0 |
|
|
1678
|
-
findIndex(predicate: (value: 0 |
|
|
1679
|
-
fill(value: 0 |
|
|
1680
|
-
copyWithin(target: number, start: number, end?: number | undefined): (0 |
|
|
1681
|
-
entries(): IterableIterator<[number, 0 |
|
|
1654
|
+
reverse(): (0 | 2 | 1)[];
|
|
1655
|
+
shift(): 0 | 2 | 1 | undefined;
|
|
1656
|
+
slice(start?: number | undefined, end?: number | undefined): (0 | 2 | 1)[];
|
|
1657
|
+
sort(compareFn?: ((a: 0 | 2 | 1, b: 0 | 2 | 1) => number) | undefined): (0 | 2 | 1)[];
|
|
1658
|
+
splice(start: number, deleteCount?: number | undefined): (0 | 2 | 1)[];
|
|
1659
|
+
splice(start: number, deleteCount: number, ...items: (0 | 2 | 1)[]): (0 | 2 | 1)[];
|
|
1660
|
+
unshift(...items: (0 | 2 | 1)[]): number;
|
|
1661
|
+
indexOf(searchElement: 0 | 2 | 1, fromIndex?: number | undefined): number;
|
|
1662
|
+
lastIndexOf(searchElement: 0 | 2 | 1, fromIndex?: number | undefined): number;
|
|
1663
|
+
every<S extends 0 | 2 | 1>(predicate: (value: 0 | 2 | 1, index: number, array: (0 | 2 | 1)[]) => value is S, thisArg?: any): this is S[];
|
|
1664
|
+
every(predicate: (value: 0 | 2 | 1, index: number, array: (0 | 2 | 1)[]) => unknown, thisArg?: any): boolean;
|
|
1665
|
+
some(predicate: (value: 0 | 2 | 1, index: number, array: (0 | 2 | 1)[]) => unknown, thisArg?: any): boolean;
|
|
1666
|
+
forEach(callbackfn: (value: 0 | 2 | 1, index: number, array: (0 | 2 | 1)[]) => void, thisArg?: any): void;
|
|
1667
|
+
map<U>(callbackfn: (value: 0 | 2 | 1, index: number, array: (0 | 2 | 1)[]) => U, thisArg?: any): U[];
|
|
1668
|
+
filter<S_1 extends 0 | 2 | 1>(predicate: (value: 0 | 2 | 1, index: number, array: (0 | 2 | 1)[]) => value is S_1, thisArg?: any): S_1[];
|
|
1669
|
+
filter(predicate: (value: 0 | 2 | 1, index: number, array: (0 | 2 | 1)[]) => unknown, thisArg?: any): (0 | 2 | 1)[];
|
|
1670
|
+
reduce(callbackfn: (previousValue: 0 | 2 | 1, currentValue: 0 | 2 | 1, currentIndex: number, array: (0 | 2 | 1)[]) => 0 | 2 | 1): 0 | 2 | 1;
|
|
1671
|
+
reduce(callbackfn: (previousValue: 0 | 2 | 1, currentValue: 0 | 2 | 1, currentIndex: number, array: (0 | 2 | 1)[]) => 0 | 2 | 1, initialValue: 0 | 2 | 1): 0 | 2 | 1;
|
|
1672
|
+
reduce<U_1>(callbackfn: (previousValue: U_1, currentValue: 0 | 2 | 1, currentIndex: number, array: (0 | 2 | 1)[]) => U_1, initialValue: U_1): U_1;
|
|
1673
|
+
reduceRight(callbackfn: (previousValue: 0 | 2 | 1, currentValue: 0 | 2 | 1, currentIndex: number, array: (0 | 2 | 1)[]) => 0 | 2 | 1): 0 | 2 | 1;
|
|
1674
|
+
reduceRight(callbackfn: (previousValue: 0 | 2 | 1, currentValue: 0 | 2 | 1, currentIndex: number, array: (0 | 2 | 1)[]) => 0 | 2 | 1, initialValue: 0 | 2 | 1): 0 | 2 | 1;
|
|
1675
|
+
reduceRight<U_2>(callbackfn: (previousValue: U_2, currentValue: 0 | 2 | 1, currentIndex: number, array: (0 | 2 | 1)[]) => U_2, initialValue: U_2): U_2;
|
|
1676
|
+
find<S_2 extends 0 | 2 | 1>(predicate: (this: void, value: 0 | 2 | 1, index: number, obj: (0 | 2 | 1)[]) => value is S_2, thisArg?: any): S_2 | undefined;
|
|
1677
|
+
find(predicate: (value: 0 | 2 | 1, index: number, obj: (0 | 2 | 1)[]) => unknown, thisArg?: any): 0 | 2 | 1 | undefined;
|
|
1678
|
+
findIndex(predicate: (value: 0 | 2 | 1, index: number, obj: (0 | 2 | 1)[]) => unknown, thisArg?: any): number;
|
|
1679
|
+
fill(value: 0 | 2 | 1, start?: number | undefined, end?: number | undefined): (0 | 2 | 1)[];
|
|
1680
|
+
copyWithin(target: number, start: number, end?: number | undefined): (0 | 2 | 1)[];
|
|
1681
|
+
entries(): IterableIterator<[number, 0 | 2 | 1]>;
|
|
1682
1682
|
keys(): IterableIterator<number>;
|
|
1683
|
-
values(): IterableIterator<0 |
|
|
1684
|
-
includes(searchElement: 0 |
|
|
1685
|
-
flatMap<U_3, This = undefined>(callback: (this: This, value: 0 |
|
|
1683
|
+
values(): IterableIterator<0 | 2 | 1>;
|
|
1684
|
+
includes(searchElement: 0 | 2 | 1, fromIndex?: number | undefined): boolean;
|
|
1685
|
+
flatMap<U_3, This = undefined>(callback: (this: This, value: 0 | 2 | 1, index: number, array: (0 | 2 | 1)[]) => U_3 | readonly U_3[], thisArg?: This | undefined): U_3[];
|
|
1686
1686
|
flat<A, D extends number = 1>(this: A, depth?: D | undefined): FlatArray<A, D>[];
|
|
1687
|
-
at(index: number): 0 |
|
|
1688
|
-
[Symbol.iterator](): IterableIterator<0 |
|
|
1687
|
+
at(index: number): 0 | 2 | 1 | undefined;
|
|
1688
|
+
[Symbol.iterator](): IterableIterator<0 | 2 | 1>;
|
|
1689
1689
|
[Symbol.unscopables](): {
|
|
1690
1690
|
copyWithin: boolean;
|
|
1691
1691
|
entries: boolean;
|
|
@@ -9,46 +9,46 @@ declare const v3theme: {
|
|
|
9
9
|
length: number;
|
|
10
10
|
toString(): string;
|
|
11
11
|
toLocaleString(): string;
|
|
12
|
-
pop(): 0 |
|
|
13
|
-
push(...items: (0 |
|
|
14
|
-
concat(...items: ConcatArray<0 |
|
|
15
|
-
concat(...items: (0 |
|
|
12
|
+
pop(): 0 | 2 | 1 | undefined;
|
|
13
|
+
push(...items: (0 | 2 | 1)[]): number;
|
|
14
|
+
concat(...items: ConcatArray<0 | 2 | 1>[]): (0 | 2 | 1)[];
|
|
15
|
+
concat(...items: (0 | 2 | 1 | ConcatArray<0 | 2 | 1>)[]): (0 | 2 | 1)[];
|
|
16
16
|
join(separator?: string | undefined): string;
|
|
17
|
-
reverse(): (0 |
|
|
18
|
-
shift(): 0 |
|
|
19
|
-
slice(start?: number | undefined, end?: number | undefined): (0 |
|
|
20
|
-
sort(compareFn?: ((a: 0 |
|
|
21
|
-
splice(start: number, deleteCount?: number | undefined): (0 |
|
|
22
|
-
splice(start: number, deleteCount: number, ...items: (0 |
|
|
23
|
-
unshift(...items: (0 |
|
|
24
|
-
indexOf(searchElement: 0 |
|
|
25
|
-
lastIndexOf(searchElement: 0 |
|
|
26
|
-
every<S extends 0 |
|
|
27
|
-
every(predicate: (value: 0 |
|
|
28
|
-
some(predicate: (value: 0 |
|
|
29
|
-
forEach(callbackfn: (value: 0 |
|
|
30
|
-
map<U>(callbackfn: (value: 0 |
|
|
31
|
-
filter<S_1 extends 0 |
|
|
32
|
-
filter(predicate: (value: 0 |
|
|
33
|
-
reduce(callbackfn: (previousValue: 0 |
|
|
34
|
-
reduce(callbackfn: (previousValue: 0 |
|
|
35
|
-
reduce<U_1>(callbackfn: (previousValue: U_1, currentValue: 0 |
|
|
36
|
-
reduceRight(callbackfn: (previousValue: 0 |
|
|
37
|
-
reduceRight(callbackfn: (previousValue: 0 |
|
|
38
|
-
reduceRight<U_2>(callbackfn: (previousValue: U_2, currentValue: 0 |
|
|
39
|
-
find<S_2 extends 0 |
|
|
40
|
-
find(predicate: (value: 0 |
|
|
41
|
-
findIndex(predicate: (value: 0 |
|
|
42
|
-
fill(value: 0 |
|
|
43
|
-
copyWithin(target: number, start: number, end?: number | undefined): (0 |
|
|
44
|
-
entries(): IterableIterator<[number, 0 |
|
|
17
|
+
reverse(): (0 | 2 | 1)[];
|
|
18
|
+
shift(): 0 | 2 | 1 | undefined;
|
|
19
|
+
slice(start?: number | undefined, end?: number | undefined): (0 | 2 | 1)[];
|
|
20
|
+
sort(compareFn?: ((a: 0 | 2 | 1, b: 0 | 2 | 1) => number) | undefined): (0 | 2 | 1)[];
|
|
21
|
+
splice(start: number, deleteCount?: number | undefined): (0 | 2 | 1)[];
|
|
22
|
+
splice(start: number, deleteCount: number, ...items: (0 | 2 | 1)[]): (0 | 2 | 1)[];
|
|
23
|
+
unshift(...items: (0 | 2 | 1)[]): number;
|
|
24
|
+
indexOf(searchElement: 0 | 2 | 1, fromIndex?: number | undefined): number;
|
|
25
|
+
lastIndexOf(searchElement: 0 | 2 | 1, fromIndex?: number | undefined): number;
|
|
26
|
+
every<S extends 0 | 2 | 1>(predicate: (value: 0 | 2 | 1, index: number, array: (0 | 2 | 1)[]) => value is S, thisArg?: any): this is S[];
|
|
27
|
+
every(predicate: (value: 0 | 2 | 1, index: number, array: (0 | 2 | 1)[]) => unknown, thisArg?: any): boolean;
|
|
28
|
+
some(predicate: (value: 0 | 2 | 1, index: number, array: (0 | 2 | 1)[]) => unknown, thisArg?: any): boolean;
|
|
29
|
+
forEach(callbackfn: (value: 0 | 2 | 1, index: number, array: (0 | 2 | 1)[]) => void, thisArg?: any): void;
|
|
30
|
+
map<U>(callbackfn: (value: 0 | 2 | 1, index: number, array: (0 | 2 | 1)[]) => U, thisArg?: any): U[];
|
|
31
|
+
filter<S_1 extends 0 | 2 | 1>(predicate: (value: 0 | 2 | 1, index: number, array: (0 | 2 | 1)[]) => value is S_1, thisArg?: any): S_1[];
|
|
32
|
+
filter(predicate: (value: 0 | 2 | 1, index: number, array: (0 | 2 | 1)[]) => unknown, thisArg?: any): (0 | 2 | 1)[];
|
|
33
|
+
reduce(callbackfn: (previousValue: 0 | 2 | 1, currentValue: 0 | 2 | 1, currentIndex: number, array: (0 | 2 | 1)[]) => 0 | 2 | 1): 0 | 2 | 1;
|
|
34
|
+
reduce(callbackfn: (previousValue: 0 | 2 | 1, currentValue: 0 | 2 | 1, currentIndex: number, array: (0 | 2 | 1)[]) => 0 | 2 | 1, initialValue: 0 | 2 | 1): 0 | 2 | 1;
|
|
35
|
+
reduce<U_1>(callbackfn: (previousValue: U_1, currentValue: 0 | 2 | 1, currentIndex: number, array: (0 | 2 | 1)[]) => U_1, initialValue: U_1): U_1;
|
|
36
|
+
reduceRight(callbackfn: (previousValue: 0 | 2 | 1, currentValue: 0 | 2 | 1, currentIndex: number, array: (0 | 2 | 1)[]) => 0 | 2 | 1): 0 | 2 | 1;
|
|
37
|
+
reduceRight(callbackfn: (previousValue: 0 | 2 | 1, currentValue: 0 | 2 | 1, currentIndex: number, array: (0 | 2 | 1)[]) => 0 | 2 | 1, initialValue: 0 | 2 | 1): 0 | 2 | 1;
|
|
38
|
+
reduceRight<U_2>(callbackfn: (previousValue: U_2, currentValue: 0 | 2 | 1, currentIndex: number, array: (0 | 2 | 1)[]) => U_2, initialValue: U_2): U_2;
|
|
39
|
+
find<S_2 extends 0 | 2 | 1>(predicate: (this: void, value: 0 | 2 | 1, index: number, obj: (0 | 2 | 1)[]) => value is S_2, thisArg?: any): S_2 | undefined;
|
|
40
|
+
find(predicate: (value: 0 | 2 | 1, index: number, obj: (0 | 2 | 1)[]) => unknown, thisArg?: any): 0 | 2 | 1 | undefined;
|
|
41
|
+
findIndex(predicate: (value: 0 | 2 | 1, index: number, obj: (0 | 2 | 1)[]) => unknown, thisArg?: any): number;
|
|
42
|
+
fill(value: 0 | 2 | 1, start?: number | undefined, end?: number | undefined): (0 | 2 | 1)[];
|
|
43
|
+
copyWithin(target: number, start: number, end?: number | undefined): (0 | 2 | 1)[];
|
|
44
|
+
entries(): IterableIterator<[number, 0 | 2 | 1]>;
|
|
45
45
|
keys(): IterableIterator<number>;
|
|
46
|
-
values(): IterableIterator<0 |
|
|
47
|
-
includes(searchElement: 0 |
|
|
48
|
-
flatMap<U_3, This = undefined>(callback: (this: This, value: 0 |
|
|
46
|
+
values(): IterableIterator<0 | 2 | 1>;
|
|
47
|
+
includes(searchElement: 0 | 2 | 1, fromIndex?: number | undefined): boolean;
|
|
48
|
+
flatMap<U_3, This = undefined>(callback: (this: This, value: 0 | 2 | 1, index: number, array: (0 | 2 | 1)[]) => U_3 | readonly U_3[], thisArg?: This | undefined): U_3[];
|
|
49
49
|
flat<A, D extends number = 1>(this: A, depth?: D | undefined): FlatArray<A, D>[];
|
|
50
|
-
at(index: number): 0 |
|
|
51
|
-
[Symbol.iterator](): IterableIterator<0 |
|
|
50
|
+
at(index: number): 0 | 2 | 1 | undefined;
|
|
51
|
+
[Symbol.iterator](): IterableIterator<0 | 2 | 1>;
|
|
52
52
|
[Symbol.unscopables](): {
|
|
53
53
|
copyWithin: boolean;
|
|
54
54
|
entries: boolean;
|