@tecsinapse/react-web-kit 3.3.0 → 3.3.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.
@@ -8,6 +8,7 @@ const StyledTextLabel = styled(reactCore.Text)`
8
8
  text-align: center;
9
9
  font-size: 12px;
10
10
  font-weight: bold;
11
+ text-transform: capitalize;
11
12
  `;
12
13
  const TimeDigitContainer = styled(reactNativeWeb.FlatList)`
13
14
  max-height: 150px;
@@ -48,10 +48,7 @@ const ScrollableMonthYearPicker = ({
48
48
  [yearsToShow, firstYear]
49
49
  );
50
50
  const months = [...Array(12)].map(
51
- (_, index) => dateFns.format((/* @__PURE__ */ new Date()).setMonth(index), "MMM", { locale }).slice(
52
- 0,
53
- 3
54
- )
51
+ (_, index) => dateFns.format((/* @__PURE__ */ new Date()).setMonth(index), "MMM", { locale })
55
52
  );
56
53
  const getInitialScrollIndex = (value, data) => {
57
54
  const selectedIndex = data.findIndex((item) => item === value);
@@ -6,6 +6,7 @@ const StyledTextLabel = styled(Text)`
6
6
  text-align: center;
7
7
  font-size: 12px;
8
8
  font-weight: bold;
9
+ text-transform: capitalize;
9
10
  `;
10
11
  const TimeDigitContainer = styled(FlatList)`
11
12
  max-height: 150px;
@@ -27,10 +27,7 @@ const ScrollableMonthYearPicker = ({
27
27
  [yearsToShow, firstYear]
28
28
  );
29
29
  const months = [...Array(12)].map(
30
- (_, index) => format((/* @__PURE__ */ new Date()).setMonth(index), "MMM", { locale }).slice(
31
- 0,
32
- 3
33
- )
30
+ (_, index) => format((/* @__PURE__ */ new Date()).setMonth(index), "MMM", { locale })
34
31
  );
35
32
  const getInitialScrollIndex = (value, data) => {
36
33
  const selectedIndex = data.findIndex((item) => item === value);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tecsinapse/react-web-kit",
3
3
  "description": "TecSinapse React components",
4
- "version": "3.3.0",
4
+ "version": "3.3.1",
5
5
  "license": "MIT",
6
6
  "main": "dist/esm/index.js",
7
7
  "module": "dist/esm/index.js",
@@ -40,5 +40,5 @@
40
40
  "react-dom": "^18.0.0",
41
41
  "react-native-web": ">=0.18.0 <1"
42
42
  },
43
- "gitHead": "755aef933fa22dcbe93c6a93689620d920670928"
43
+ "gitHead": "39dae415fa5201957900f9e7d16381eb86925f68"
44
44
  }