Skip to content

Commit

Permalink
initial build
Browse files Browse the repository at this point in the history
  • Loading branch information
realfresh committed Aug 7, 2019
0 parents commit f2b7fbb
Show file tree
Hide file tree
Showing 29 changed files with 1,215 additions and 0 deletions.
100 changes: 100 additions & 0 deletions .gitignore
@@ -0,0 +1,100 @@
# Created by .ignore support plugin (hsz.mobi)
### Node template
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

.idea/

keys/

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache/

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

### Sass template
.sass-cache/
*.css.map
*.sass.map
*.scss.map
100 changes: 100 additions & 0 deletions .npmignore
@@ -0,0 +1,100 @@
# Created by .ignore support plugin (hsz.mobi)
### Node template
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

.idea/

keys/

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache/

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

### Sass template
.sass-cache/
*.css.map
*.sass.map
*.scss.map
Empty file added README.md
Empty file.
2 changes: 2 additions & 0 deletions dist/module/generateCss.d.ts
@@ -0,0 +1,2 @@
import { UntrusiveOptions } from "./types";
export declare const generateCss: (wrapperId: string, { bgColor, barColor, height }: UntrusiveOptions) => string;
6 changes: 6 additions & 0 deletions dist/module/generateCss.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/module/generateCss.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions dist/module/index.d.ts
@@ -0,0 +1,12 @@
import { UntrusiveOptions } from "./types";
export default class Untrusive {
id: string;
wrapperId: string;
cssId: string;
constructor(opts: UntrusiveOptions);
init: (opts: UntrusiveOptions) => void;
toggle: () => void;
start: () => void;
stop: () => void;
}
export { UntrusiveOptions };
81 changes: 81 additions & 0 deletions dist/module/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/module/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions dist/module/styleClasses.d.ts
@@ -0,0 +1,5 @@
export declare const styleClasses: {
wrapper: string;
wrapper_active: string;
bar: string;
};
6 changes: 6 additions & 0 deletions dist/module/styleClasses.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/module/styleClasses.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions dist/module/types.d.ts
@@ -0,0 +1,5 @@
export interface UntrusiveOptions {
bgColor: string;
barColor: string;
height?: number;
}
1 change: 1 addition & 0 deletions dist/module/types.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/module/types.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f2b7fbb

Please sign in to comment.