@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.
@@ -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.text.disabled};` : ""}
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.elements.lineAndBorders};
125
- color: ${colors.text.disabled};
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.text.disabled};` : ""}
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.elements.backgroundAndDisabled;
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.elements.backgroundAndDisabled;
126
+ return colors.steady;
127
127
  }
128
128
  if (focused) {
129
129
  return input.font.color.focus;
@@ -114,8 +114,8 @@ const Field = import_styled_components.default.input`
114
114
 
115
115
  &:disabled {
116
116
  cursor: not-allowed;
117
- color: ${colors.text.disabled};
118
- -webkit-text-fill-color: ${colors.text.disabled};
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.elements.lineAndBorders};` : ""}
66
+ ${disabled ? `border-color: ${colors.steady};` : ""}
67
67
 
68
68
  &:hover, &:focus-within {
69
69
  &:not(:disabled) {
@@ -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.text.disabled};` : ""}
73
+ ${disabled ? `color: ${colors.steady};` : ""}
74
74
  `}
75
75
  `;
76
76
  const Info = (0, import_styled_components.default)(import_Text.default.Caption)`
@@ -116,7 +116,7 @@ const IconWrapper = import_styled_components.default.div`
116
116
  cursor: not-allowed;
117
117
  pointer-events: none;
118
118
  svg {
119
- fill: ${colors.text.disabled};
119
+ fill: ${colors.steady};
120
120
  }
121
121
  ` : ""}
122
122
  `}
@@ -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.text.disabled};` : ""}
65
+ ${disabled ? `color: ${colors.steady};` : ""}
66
66
  `}
67
67
  `;
68
68
  var Label_default = Label;
@@ -124,7 +124,7 @@ const IconWrapper = import_styled_components.default.div`
124
124
  fill: ${input.font.color.default};
125
125
 
126
126
  ${disabled ? `
127
- fill: ${colors.elements.backgroundAndDisabled};
127
+ fill: ${colors.steady};
128
128
  pointer-events: none;` : ""}
129
129
  }
130
130
  `}
@@ -101,7 +101,7 @@ const labelStateColors = ({
101
101
  yoga: { colors }
102
102
  }
103
103
  }) => import_styled_components.css`
104
- ${disabled ? `color: ${colors.text.disabled};` : ""}
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.text.disabled : input.font.color.focus};
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.text.disabled};` : ""}
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.elements.lineAndBorders};
102
- color: ${colors.text.disabled};
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.text.disabled};` : ""}
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.elements.backgroundAndDisabled;
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.elements.backgroundAndDisabled;
95
+ return colors.steady;
96
96
  }
97
97
  if (focused) {
98
98
  return input.font.color.focus;
@@ -81,8 +81,8 @@ const Field = styled.input`
81
81
 
82
82
  &:disabled {
83
83
  cursor: not-allowed;
84
- color: ${colors.text.disabled};
85
- -webkit-text-fill-color: ${colors.text.disabled};
84
+ color: ${colors.steady};
85
+ -webkit-text-fill-color: ${colors.steady};
86
86
  opacity: 1;
87
87
  }
88
88
 
@@ -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.elements.lineAndBorders};` : ""}
33
+ ${disabled ? `border-color: ${colors.steady};` : ""}
34
34
 
35
35
  &:hover, &:focus-within {
36
36
  &:not(:disabled) {
@@ -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.text.disabled};` : ""}
41
+ ${disabled ? `color: ${colors.steady};` : ""}
42
42
  `}
43
43
  `;
44
44
  const Info = styled(Text.Caption)`
@@ -94,7 +94,7 @@ const IconWrapper = styled.div`
94
94
  cursor: not-allowed;
95
95
  pointer-events: none;
96
96
  svg {
97
- fill: ${colors.text.disabled};
97
+ fill: ${colors.steady};
98
98
  }
99
99
  ` : ""}
100
100
  `}
@@ -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.text.disabled};` : ""}
32
+ ${disabled ? `color: ${colors.steady};` : ""}
33
33
  `}
34
34
  `;
35
35
  var Label_default = Label;
@@ -93,7 +93,7 @@ const IconWrapper = styled.div`
93
93
  fill: ${input.font.color.default};
94
94
 
95
95
  ${disabled ? `
96
- fill: ${colors.elements.backgroundAndDisabled};
96
+ fill: ${colors.steady};
97
97
  pointer-events: none;` : ""}
98
98
  }
99
99
  `}
@@ -68,7 +68,7 @@ const labelStateColors = ({
68
68
  yoga: { colors }
69
69
  }
70
70
  }) => css`
71
- ${disabled ? `color: ${colors.text.disabled};` : ""}
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.text.disabled : input.font.color.focus};
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.140.0",
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.42.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": "7fa5e1da5b9b34478014f72cecbdff3c92daebd3",
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 | 1 | 2 | undefined;
1650
- push(...items: (0 | 1 | 2)[]): number;
1651
- concat(...items: ConcatArray<0 | 1 | 2>[]): (0 | 1 | 2)[];
1652
- concat(...items: (0 | 1 | 2 | ConcatArray<0 | 1 | 2>)[]): (0 | 1 | 2)[];
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 | 1 | 2)[];
1655
- shift(): 0 | 1 | 2 | undefined;
1656
- slice(start?: number | undefined, end?: number | undefined): (0 | 1 | 2)[];
1657
- sort(compareFn?: ((a: 0 | 1 | 2, b: 0 | 1 | 2) => number) | undefined): (0 | 1 | 2)[];
1658
- splice(start: number, deleteCount?: number | undefined): (0 | 1 | 2)[];
1659
- splice(start: number, deleteCount: number, ...items: (0 | 1 | 2)[]): (0 | 1 | 2)[];
1660
- unshift(...items: (0 | 1 | 2)[]): number;
1661
- indexOf(searchElement: 0 | 1 | 2, fromIndex?: number | undefined): number;
1662
- lastIndexOf(searchElement: 0 | 1 | 2, fromIndex?: number | undefined): number;
1663
- every<S extends 0 | 1 | 2>(predicate: (value: 0 | 1 | 2, index: number, array: (0 | 1 | 2)[]) => value is S, thisArg?: any): this is S[];
1664
- every(predicate: (value: 0 | 1 | 2, index: number, array: (0 | 1 | 2)[]) => unknown, thisArg?: any): boolean;
1665
- some(predicate: (value: 0 | 1 | 2, index: number, array: (0 | 1 | 2)[]) => unknown, thisArg?: any): boolean;
1666
- forEach(callbackfn: (value: 0 | 1 | 2, index: number, array: (0 | 1 | 2)[]) => void, thisArg?: any): void;
1667
- map<U>(callbackfn: (value: 0 | 1 | 2, index: number, array: (0 | 1 | 2)[]) => U, thisArg?: any): U[];
1668
- filter<S_1 extends 0 | 1 | 2>(predicate: (value: 0 | 1 | 2, index: number, array: (0 | 1 | 2)[]) => value is S_1, thisArg?: any): S_1[];
1669
- filter(predicate: (value: 0 | 1 | 2, index: number, array: (0 | 1 | 2)[]) => unknown, thisArg?: any): (0 | 1 | 2)[];
1670
- reduce(callbackfn: (previousValue: 0 | 1 | 2, currentValue: 0 | 1 | 2, currentIndex: number, array: (0 | 1 | 2)[]) => 0 | 1 | 2): 0 | 1 | 2;
1671
- reduce(callbackfn: (previousValue: 0 | 1 | 2, currentValue: 0 | 1 | 2, currentIndex: number, array: (0 | 1 | 2)[]) => 0 | 1 | 2, initialValue: 0 | 1 | 2): 0 | 1 | 2;
1672
- reduce<U_1>(callbackfn: (previousValue: U_1, currentValue: 0 | 1 | 2, currentIndex: number, array: (0 | 1 | 2)[]) => U_1, initialValue: U_1): U_1;
1673
- reduceRight(callbackfn: (previousValue: 0 | 1 | 2, currentValue: 0 | 1 | 2, currentIndex: number, array: (0 | 1 | 2)[]) => 0 | 1 | 2): 0 | 1 | 2;
1674
- reduceRight(callbackfn: (previousValue: 0 | 1 | 2, currentValue: 0 | 1 | 2, currentIndex: number, array: (0 | 1 | 2)[]) => 0 | 1 | 2, initialValue: 0 | 1 | 2): 0 | 1 | 2;
1675
- reduceRight<U_2>(callbackfn: (previousValue: U_2, currentValue: 0 | 1 | 2, currentIndex: number, array: (0 | 1 | 2)[]) => U_2, initialValue: U_2): U_2;
1676
- find<S_2 extends 0 | 1 | 2>(predicate: (this: void, value: 0 | 1 | 2, index: number, obj: (0 | 1 | 2)[]) => value is S_2, thisArg?: any): S_2 | undefined;
1677
- find(predicate: (value: 0 | 1 | 2, index: number, obj: (0 | 1 | 2)[]) => unknown, thisArg?: any): 0 | 1 | 2 | undefined;
1678
- findIndex(predicate: (value: 0 | 1 | 2, index: number, obj: (0 | 1 | 2)[]) => unknown, thisArg?: any): number;
1679
- fill(value: 0 | 1 | 2, start?: number | undefined, end?: number | undefined): (0 | 1 | 2)[];
1680
- copyWithin(target: number, start: number, end?: number | undefined): (0 | 1 | 2)[];
1681
- entries(): IterableIterator<[number, 0 | 1 | 2]>;
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 | 1 | 2>;
1684
- includes(searchElement: 0 | 1 | 2, fromIndex?: number | undefined): boolean;
1685
- flatMap<U_3, This = undefined>(callback: (this: This, value: 0 | 1 | 2, index: number, array: (0 | 1 | 2)[]) => U_3 | readonly U_3[], thisArg?: This | undefined): U_3[];
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 | 1 | 2 | undefined;
1688
- [Symbol.iterator](): IterableIterator<0 | 1 | 2>;
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 | 1 | 2 | undefined;
13
- push(...items: (0 | 1 | 2)[]): number;
14
- concat(...items: ConcatArray<0 | 1 | 2>[]): (0 | 1 | 2)[];
15
- concat(...items: (0 | 1 | 2 | ConcatArray<0 | 1 | 2>)[]): (0 | 1 | 2)[];
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 | 1 | 2)[];
18
- shift(): 0 | 1 | 2 | undefined;
19
- slice(start?: number | undefined, end?: number | undefined): (0 | 1 | 2)[];
20
- sort(compareFn?: ((a: 0 | 1 | 2, b: 0 | 1 | 2) => number) | undefined): (0 | 1 | 2)[];
21
- splice(start: number, deleteCount?: number | undefined): (0 | 1 | 2)[];
22
- splice(start: number, deleteCount: number, ...items: (0 | 1 | 2)[]): (0 | 1 | 2)[];
23
- unshift(...items: (0 | 1 | 2)[]): number;
24
- indexOf(searchElement: 0 | 1 | 2, fromIndex?: number | undefined): number;
25
- lastIndexOf(searchElement: 0 | 1 | 2, fromIndex?: number | undefined): number;
26
- every<S extends 0 | 1 | 2>(predicate: (value: 0 | 1 | 2, index: number, array: (0 | 1 | 2)[]) => value is S, thisArg?: any): this is S[];
27
- every(predicate: (value: 0 | 1 | 2, index: number, array: (0 | 1 | 2)[]) => unknown, thisArg?: any): boolean;
28
- some(predicate: (value: 0 | 1 | 2, index: number, array: (0 | 1 | 2)[]) => unknown, thisArg?: any): boolean;
29
- forEach(callbackfn: (value: 0 | 1 | 2, index: number, array: (0 | 1 | 2)[]) => void, thisArg?: any): void;
30
- map<U>(callbackfn: (value: 0 | 1 | 2, index: number, array: (0 | 1 | 2)[]) => U, thisArg?: any): U[];
31
- filter<S_1 extends 0 | 1 | 2>(predicate: (value: 0 | 1 | 2, index: number, array: (0 | 1 | 2)[]) => value is S_1, thisArg?: any): S_1[];
32
- filter(predicate: (value: 0 | 1 | 2, index: number, array: (0 | 1 | 2)[]) => unknown, thisArg?: any): (0 | 1 | 2)[];
33
- reduce(callbackfn: (previousValue: 0 | 1 | 2, currentValue: 0 | 1 | 2, currentIndex: number, array: (0 | 1 | 2)[]) => 0 | 1 | 2): 0 | 1 | 2;
34
- reduce(callbackfn: (previousValue: 0 | 1 | 2, currentValue: 0 | 1 | 2, currentIndex: number, array: (0 | 1 | 2)[]) => 0 | 1 | 2, initialValue: 0 | 1 | 2): 0 | 1 | 2;
35
- reduce<U_1>(callbackfn: (previousValue: U_1, currentValue: 0 | 1 | 2, currentIndex: number, array: (0 | 1 | 2)[]) => U_1, initialValue: U_1): U_1;
36
- reduceRight(callbackfn: (previousValue: 0 | 1 | 2, currentValue: 0 | 1 | 2, currentIndex: number, array: (0 | 1 | 2)[]) => 0 | 1 | 2): 0 | 1 | 2;
37
- reduceRight(callbackfn: (previousValue: 0 | 1 | 2, currentValue: 0 | 1 | 2, currentIndex: number, array: (0 | 1 | 2)[]) => 0 | 1 | 2, initialValue: 0 | 1 | 2): 0 | 1 | 2;
38
- reduceRight<U_2>(callbackfn: (previousValue: U_2, currentValue: 0 | 1 | 2, currentIndex: number, array: (0 | 1 | 2)[]) => U_2, initialValue: U_2): U_2;
39
- find<S_2 extends 0 | 1 | 2>(predicate: (this: void, value: 0 | 1 | 2, index: number, obj: (0 | 1 | 2)[]) => value is S_2, thisArg?: any): S_2 | undefined;
40
- find(predicate: (value: 0 | 1 | 2, index: number, obj: (0 | 1 | 2)[]) => unknown, thisArg?: any): 0 | 1 | 2 | undefined;
41
- findIndex(predicate: (value: 0 | 1 | 2, index: number, obj: (0 | 1 | 2)[]) => unknown, thisArg?: any): number;
42
- fill(value: 0 | 1 | 2, start?: number | undefined, end?: number | undefined): (0 | 1 | 2)[];
43
- copyWithin(target: number, start: number, end?: number | undefined): (0 | 1 | 2)[];
44
- entries(): IterableIterator<[number, 0 | 1 | 2]>;
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 | 1 | 2>;
47
- includes(searchElement: 0 | 1 | 2, fromIndex?: number | undefined): boolean;
48
- flatMap<U_3, This = undefined>(callback: (this: This, value: 0 | 1 | 2, index: number, array: (0 | 1 | 2)[]) => U_3 | readonly U_3[], thisArg?: This | undefined): U_3[];
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 | 1 | 2 | undefined;
51
- [Symbol.iterator](): IterableIterator<0 | 1 | 2>;
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;