-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructured as monorepo, made some room for native version
- Loading branch information
Showing
62 changed files
with
7,139 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"packages": ["packages/*"], | ||
"version": "independent" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,7 @@ | ||
{ | ||
"name": "react-insta-stories", | ||
"version": "2.0.1", | ||
"description": "A React component for Instagram like stories", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"build": "rm -rf ./dist && webpack --mode production", | ||
"build:dev": "rm -rf ./dist && webpack --mode development", | ||
"prestart": "rm -rf ./dist && webpack --mode development", | ||
"start": "webpack-dev-server --open", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/mohitk05/react-insta-stories.git" | ||
}, | ||
"keywords": [ | ||
"stories", | ||
"react", | ||
"instagram" | ||
], | ||
"author": "mohitk05", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/mohitk05/react-insta-stories/issues" | ||
}, | ||
"homepage": "https://github.com/mohitk05/react-insta-stories#readme", | ||
"devDependencies": { | ||
"@babel/core": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"@babel/preset-react": "^7.0.0", | ||
"@types/react": "^16.9.2", | ||
"@types/react-dom": "^16.8.5", | ||
"babel-loader": "^8.0.6", | ||
"css-loader": "^3.2.0", | ||
"react": "^16.10.2", | ||
"source-map-loader": "^0.2.4", | ||
"style-loader": "^1.0.0", | ||
"ts-loader": "^6.0.4", | ||
"typescript": "^3.5.3", | ||
"webpack": "^4.41.0", | ||
"webpack-cli": "^3.3.9", | ||
"webpack-dev-server": "^3.8.1" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.2" | ||
}, | ||
"dependencies": {} | ||
"name": "root", | ||
"private": true, | ||
"devDependencies": { | ||
"lerna": "^3.18.1" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.App { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
filter: drop-shadow(0 2px 15px #eee); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"name": "react-insta-stories", | ||
"version": "2.0.1", | ||
"description": "A React component for Instagram like stories", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"scripts": { | ||
"build": "rm -rf ./dist && webpack --mode production", | ||
"build:dev": "rm -rf ./dist && webpack --mode development", | ||
"prestart": "rm -rf ./dist && webpack --mode development", | ||
"start": "webpack-dev-server --open", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/mohitk05/react-insta-stories.git" | ||
}, | ||
"keywords": [ | ||
"stories", | ||
"react", | ||
"instagram" | ||
], | ||
"author": "mohitk05", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/mohitk05/react-insta-stories/issues" | ||
}, | ||
"homepage": "https://github.com/mohitk05/react-insta-stories#readme", | ||
"devDependencies": { | ||
"@babel/core": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"@babel/preset-react": "^7.0.0", | ||
"@types/react": "^16.9.2", | ||
"@types/react-dom": "^16.8.5", | ||
"babel-loader": "^8.0.6", | ||
"css-loader": "^3.2.0", | ||
"react": "^16.10.2", | ||
"source-map-loader": "^0.2.4", | ||
"style-loader": "^1.0.0", | ||
"ts-loader": "^6.0.4", | ||
"typescript": "^3.5.3", | ||
"webpack": "^4.41.0", | ||
"webpack-cli": "^3.3.9", | ||
"webpack-dev-server": "^3.8.1" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.2" | ||
}, | ||
"dependencies": {} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/// <reference types="react" /> | ||
export default function (): JSX.Element; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/// <reference types="react" /> | ||
import { HeaderProps } from './../interfaces'; | ||
declare const Header: ({ profileImage, heading, subheading }: HeaderProps) => JSX.Element; | ||
export default Header; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/// <reference types="react" /> | ||
import { ProgressProps } from './../interfaces'; | ||
declare const _default: (props: ProgressProps) => JSX.Element; | ||
export default _default; |
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
packages/react-insta-stories/src/components/ProgressArray.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/// <reference types="react" /> | ||
declare const _default: () => JSX.Element; | ||
export default _default; |
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
packages/react-insta-stories/src/components/ProgressWrapper.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/// <reference types="react" /> | ||
import { ProgressWrapperProps } from './../interfaces'; | ||
declare const ProgressWrapper: (props: ProgressWrapperProps) => JSX.Element; | ||
export default ProgressWrapper; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/// <reference types="react" /> | ||
import { SeeMoreProps } from './../interfaces'; | ||
export default function seeMore(props: SeeMoreProps): JSX.Element; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/// <reference types="react" /> | ||
import { StoryProps } from "./../interfaces"; | ||
declare const Story: (props: StoryProps) => JSX.Element; | ||
export default Story; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import React from 'react'; | ||
import { GlobalCtx } from '../interfaces'; | ||
declare const GlobalContext: React.Context<GlobalCtx>; | ||
export default GlobalContext; |
File renamed without changes.
Oops, something went wrong.