diff --git a/.gitignore b/.gitignore index a450d65..ee43924 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,105 @@ +# Created by https://www.gitignore.io/api/osx,windows,phpstorm + +### OSX ### +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + + +### Windows ### +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msm +*.msp + +# Windows shortcuts +*.lnk + + +### PhpStorm ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio + +*.iml + +## Directory-based project format: +.idea/ +# if you remove the above rule, at least ignore the following: + +# User-specific stuff: +# .idea/workspace.xml +# .idea/tasks.xml +# .idea/dictionaries + +# Sensitive or high-churn files: +# .idea/dataSources.ids +# .idea/dataSources.xml +# .idea/sqlDataSources.xml +# .idea/dynamic.xml +# .idea/uiDesigner.xml + +# Gradle: +# .idea/gradle.xml +# .idea/libraries + +# Mongo Explorer plugin: +# .idea/mongoSettings.xml + +## File-based project format: +*.ipr +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties + + bower_components node_modules +material-decorator.js +material-decorator.min.js \ No newline at end of file diff --git a/examples/data/switch.json b/examples/data/switch.json new file mode 100644 index 0000000..6cc03a7 --- /dev/null +++ b/examples/data/switch.json @@ -0,0 +1,21 @@ +{ + "schema": { + "type": "object", + "properties": { + "live": { + "title": "Mode", + "type": "string", + "titleMap": { + "true": "'Yes I do'", + "false": "'Hell no'" + } + } + } + }, + "form": [ + { + "key":"live", + "type":"switch" + } + ] +} \ No newline at end of file diff --git a/examples/material-example.html b/examples/material-example.html index a18fed5..dd396f4 100644 --- a/examples/material-example.html +++ b/examples/material-example.html @@ -184,6 +184,7 @@