aport-tools 2.0.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! aport-tools v2.0.1 | ISC */
1
+ /*! aport-tools v2.1.2 | ISC */
2
2
  import React, { createContext, useState, useEffect, useContext } from 'react';
3
3
  import { Appearance, StyleSheet, View, Text, Switch } from 'react-native';
4
4
  import AsyncStorage from '@react-native-async-storage/async-storage';
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! aport-tools v2.0.1 | ISC */
1
+ /*! aport-tools v2.1.2 | ISC */
2
2
  'use strict';
3
3
 
4
4
  var React = require('react');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aport-tools",
3
- "version": "2.0.1",
3
+ "version": "2.1.2",
4
4
  "description": "Aport mobile Tools with modern and minimalistic design",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -41,15 +41,13 @@
41
41
  "@rollup/plugin-typescript": "^12.1.0",
42
42
  "@types/react": "^18.3.10",
43
43
  "@types/react-native": "^0.73.0",
44
- "@types/styled-components-react-native": "^5.2.5",
45
44
  "rollup": "^4.22.5",
46
45
  "rollup-plugin-peer-deps-external": "^2.2.4",
47
46
  "typescript": "^5.6.2"
48
47
  },
49
48
  "peerDependencies": {
50
- "@react-native-async-storage/async-storage": "^2.0.0",
49
+ "@react-native-async-storage/async-storage": "^1.0.0 || ^2.0.0",
51
50
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
52
- "react-native": ">=0.60",
53
- "styled-components": "^6.1.13"
51
+ "react-native": ">=0.60"
54
52
  }
55
53
  }
package/rollup.config.mjs CHANGED
@@ -49,6 +49,5 @@ export default {
49
49
  'react',
50
50
  'react-native',
51
51
  '@react-native-async-storage/async-storage',
52
- 'styled-components',
53
52
  ],
54
53
  };
package/index.ts DELETED
@@ -1 +0,0 @@
1
- export { default as ButtonComponent } from "./src/Button";