diff --git a/README.md b/README.md
index 83d06065..4a9302cb 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,14 @@
+TODO
+====
+
+Strip the core interaction out of swipe-pages to create an element that just listens to swipe events
+
+wishlist:
+
+* swipes are emitted as an event if possible
+* swiping should translate the element
+* it should bounce back to its resting position when released
+
Packages used
=============
diff --git a/rpg-docs/.meteor/packages b/rpg-docs/.meteor/packages
index 804fa513..061bf2a7 100644
--- a/rpg-docs/.meteor/packages
+++ b/rpg-docs/.meteor/packages
@@ -15,5 +15,3 @@ cw4gn3r:jquery-event-drag
underscore
aldeed:collection2
aldeed:autoform
-multiply:iron-router-progress
-
diff --git a/rpg-docs/.meteor/versions b/rpg-docs/.meteor/versions
index 31008504..14525024 100644
--- a/rpg-docs/.meteor/versions
+++ b/rpg-docs/.meteor/versions
@@ -14,7 +14,6 @@ blaze@2.0.3
boilerplate-generator@1.0.1
callback-hook@1.0.1
check@1.0.2
-coffeescript@1.0.4
ctl-helper@1.0.4
ctl@1.0.2
cw4gn3r:jquery-event-drag@2.2.0
@@ -54,7 +53,6 @@ mobile-status-bar@1.0.1
mongo-livedata@1.0.6
mongo@1.0.8
mrt:moment@2.6.0
-multiply:iron-router-progress@1.0.0
npm-bcrypt@0.7.7
observe-sequence@1.0.3
ordered-dict@1.0.1
diff --git a/rpg-docs/Model/Character/SubSchemas/Effect/Effect.js b/rpg-docs/Model/Character/SubSchemas/Effect/Effect.js
index ecca972e..4a858dae 100644
--- a/rpg-docs/Model/Character/SubSchemas/Effect/Effect.js
+++ b/rpg-docs/Model/Character/SubSchemas/Effect/Effect.js
@@ -30,7 +30,7 @@ Schemas.Effect = new SimpleSchema({
//indicates what the effect originated from
type: {
type: String,
- defaultValue: "default",
- allowedValues: ["default", "inate", "class", "race", "feat", "equippedMagic", "equippedMundane", "external"]
+ defaultValue: "editable",
+ allowedValues: ["editable", "feat", "buff", "equipment", "inate"]
}
});
\ No newline at end of file
diff --git a/rpg-docs/client/globalHelpers/session.js b/rpg-docs/client/globalHelpers/session.js
new file mode 100644
index 00000000..3d01607c
--- /dev/null
+++ b/rpg-docs/client/globalHelpers/session.js
@@ -0,0 +1,3 @@
+Template.registerHelper("session", function(key){
+ return Session.get(key);
+});
\ No newline at end of file
diff --git a/rpg-docs/client/globalHelpers/signedString.js b/rpg-docs/client/globalHelpers/signedString.js
new file mode 100644
index 00000000..f182353c
--- /dev/null
+++ b/rpg-docs/client/globalHelpers/signedString.js
@@ -0,0 +1,3 @@
+Template.registerHelper("signedString", function(number){
+ return number > 0? "+" + number : "" + number;
+});
\ No newline at end of file
diff --git a/rpg-docs/client/views/character/Stats/stats.html b/rpg-docs/client/views/character/Stats/stats.html
index a91846da..d765894e 100644
--- a/rpg-docs/client/views/character/Stats/stats.html
+++ b/rpg-docs/client/views/character/Stats/stats.html
@@ -4,70 +4,72 @@
{{> abilityCards}}
-
+ {{#clickCard class="card" id="armor"}}
{{attributeValue "armor"}}
Armor
-
-
+ {{/clickCard}}
+ {{#clickCard class="card" id="initiative"}}
{{skillMod "initiative"}}
Initiative
-
-
+ {{/clickCard}}
+ {{#clickCard class="card" id="proficiencyBonus"}}
{{attributeValue "proficiencyBonus"}}
Proficiency Bonus
-
-
+ {{/clickCard}}
+ {{#clickCard class="card" id="speed"}}
{{attributeValue "speed"}}
Speed
-
-
+ {{/clickCard}}
+ {{#clickCard class="card" id="passivePerception"}}
{{passiveSkill "perception"}}
Passive Perception
-
-
- {{> hitDice hitDice="d6HitDice" d="6"}}
- {{> hitDice hitDice="d8HitDice" d="8"}}
- {{> hitDice hitDice="d10HitDice" d="10"}}
- {{> hitDice hitDice="d12HitDice" d="12"}}
+ {{/clickCard}}
+ {{#clickCard class="card" id="hitDice"}}
+ {{> hitDice hitDice="d6HitDice" d="6"}}
+ {{> hitDice hitDice="d8HitDice" d="8"}}
+ {{> hitDice hitDice="d10HitDice" d="10"}}
+ {{> hitDice hitDice="d12HitDice" d="12"}}
Hit Dice
-
+ {{/clickCard}}
{{# if canCast}}
-
- {{> spellSlots}}
- Spell Slots
-
+ {{#clickCard class="card" id="spellSlots"}}
+
{{> spellSlots}}
+
Spell Slots
+ {{/clickCard}}
{{/if}}
{{# if attributeBase "rages"}}
-
- {{attributeValue "rages"}}
- rages
-
+ {{#clickCard class="card" id="rages"}}
+
{{attributeValue "rages"}}
+
rages
+ {{/clickCard}}
{{/if}}
{{# if attributeBase "sorceryPoints"}}
-
- {{attributeValue "sorceryPoints"}}
- Sorcery Points
-
+ {{#clickCard class="card" id="sorceryPoints"}}
+
{{attributeValue "sorceryPoints"}}
+
Sorcery Points
+ {{/clickCard}}
{{/if}}
{{# if attributeBase "expertiseDice"}}
-
- {{attributeValue "expertiseDice"}}
- Expertise Dice
-
+ {{#clickCard class="card" id="expertiseDice"}}
+
{{attributeValue "expertiseDice"}}
+
Expertise Dice
+ {{/clickCard}}
{{/if}}
{{# if attributeBase "superiorityDice"}}
-
- {{attributeValue "superiorityDice"}}
- Superiority Dice
-
+ {{#clickCard class="card" id="superiorityDice"}}
+
{{attributeValue "superiorityDice"}}
+
Superiority Dice
+ {{/clickCard}}
{{/if}}
+ {{> attributeDialog character=this}}
+ {{> skillDialog character=this}}
{{# if ../attributeBase hitDice}}
- {{../attributeValue hitDice}}d{{d}} + {{../abilityMod "constitution"}}
+ {{../attributeValue hitDice}}d{{d}} + {{../abilityMod "constitution"}}
{{/if}}
@@ -82,3 +84,59 @@
{{attributeValue "level8SpellSlots"}}
{{attributeValue "level9SpellSlots"}}
+
+
+
+
+ {{#if attributeName}}
+ {{character.attributeValue attributeName}}
+ {{#each effects.add}}
+ {{> attributeEffect}}
+ {{/each}}
+ {{#each effects.mul}}
+ {{> attributeEffect}}
+ {{/each}}
+ {{#each effects.min}}
+ {{> attributeEffect}}
+ {{/each}}
+ {{#each effects.max}}
+ {{> attributeEffect}}
+ {{/each}}
+ {{signedString attribute.adjustment}}
+ {{/if}}
+
+
+
+
+ {{#if editing}}
+
+
+
+ add
+ multiply
+ min
+ max
+
+
+
+
+
+
+
+
+ {{else}}
+
+
{{operation}} {{signedEffectValue}}
{{name}}
+ {{#if editable}}
+
EDIT
+ {{/if}}
+
+ {{/if}}
+
+
+
+
+
+
+
+
diff --git a/rpg-docs/client/views/character/Stats/stats.js b/rpg-docs/client/views/character/Stats/stats.js
new file mode 100644
index 00000000..4c264846
--- /dev/null
+++ b/rpg-docs/client/views/character/Stats/stats.js
@@ -0,0 +1,91 @@
+selectAttribute = function(name, title){
+ Session.set("selectedAttribute", name);
+ Session.set("selectedAttributeTitle", title);
+ Session.set("editingEffect", null);
+ document.querySelector("#attributeDialog").toggle();
+};
+
+selectSkill = function(name, title){
+ Session.set("selectedSkill", name);
+ Session.set("selectedSkillTitle", title);
+ Session.set("editingEffect", null);
+ document.querySelector("#skillDialog").toggle();
+};
+
+Template.stats.events({
+ "click #armor": function(){
+ console.log("clicked armor");
+ selectAttribute("armor", "Armor")
+ }
+});
+
+Template.attributeDialog.helpers({
+ attributeTitle: function(){
+ return Session.get("selectedAttributeTitle");
+ },
+ attributeName: function(){
+ return Session.get("selectedAttribute");
+ },
+ attribute: function(){
+ return this.character.getField(Session.get("selectedAttribute"));
+ },
+ effects: function(){
+ var attribute = this.character.getField(Session.get("selectedAttribute"));
+ return _.groupBy(attribute.effects, "operation");
+ },
+ effectValue: function(){
+ return evaluateEffect(Template.parentData(1).character._id, this);
+ }
+});
+
+Template.attributeEffect.helpers({
+ editing: function(){
+ return Session.get("editingEffect") === this._id;
+ },
+ editable: function(){
+ return this.type === "editable";
+ },
+ operation: function(){
+ switch(this.operation){
+ case "add":
+ return;
+ case "mul":
+ return Spacebars.SafeString("×");
+ case "min":
+ return "min";
+ case "max":
+ return "max";
+ default:
+ return this.operation;
+ }
+ },
+ signedEffectValue: function(){
+ var value = evaluateEffect(Template.parentData(1).character._id, this);
+ return signedString(value);
+ }
+});
+
+Template.attributeEffect.events({
+ "click .editButton": function(event){
+ Session.set("editingEffect", this._id);
+ },
+ "click #doneButton": function(event){
+ var newEffect = {};
+ //TODO setup the changed effect
+ var attribute = Session.get("selectedAttribute");
+ var charId = Template.parentData(2)._id;
+ Meteor.call("updateEffect", charId, attribute, this._id, newEffect)
+ Session.set("editingEffect", null);
+ },
+ "click #cancelButton": function(event){
+ Session.set("editingEffect", null);
+ },
+ "click #deleteButton": function(event){
+ console.log("check that ", Template.parentData(2), "is a character");
+ var attribute = Session.get("selectedAttribute");
+ var pullObject = {};
+ pullObject[attribute + ".effects"] = {_id: this._id};
+ Characters.update(Template.parentData(2)._id, {$pull: pullObject});
+ Session.set("editingEffect", null);
+ }
+});
diff --git a/rpg-docs/client/views/character/abilityCards/abilityCards.css b/rpg-docs/client/views/character/abilityCards/abilityCards.css
index 12af8054..6c6a9c2e 100644
--- a/rpg-docs/client/views/character/abilityCards/abilityCards.css
+++ b/rpg-docs/client/views/character/abilityCards/abilityCards.css
@@ -11,6 +11,7 @@
text-align: center;
background-color: #D50000;
padding: 16px;
+ position: relative;
}
.abilityFlex .card {
diff --git a/rpg-docs/client/views/character/abilityCards/abilityCards.html b/rpg-docs/client/views/character/abilityCards/abilityCards.html
index a2970246..b28de213 100644
--- a/rpg-docs/client/views/character/abilityCards/abilityCards.html
+++ b/rpg-docs/client/views/character/abilityCards/abilityCards.html
@@ -10,6 +10,7 @@
+ {{> ripple color="#eee"}}
{{attributeValue "strength"}}
{{abilityMod "strength"}}
@@ -25,6 +26,7 @@
+ {{> ripple color="#eee"}}
{{attributeValue "dexterity"}}
{{abilityMod "dexterity"}}
@@ -42,6 +44,7 @@
+ {{> ripple color="#eee"}}
{{attributeValue "constitution"}}
{{abilityMod "constitution"}}
@@ -56,6 +59,7 @@
+ {{> ripple color="#eee"}}
{{attributeValue "intelligence"}}
{{abilityMod "intelligence"}}
@@ -75,6 +79,7 @@
+ {{> ripple color="#eee"}}
{{attributeValue "wisdom"}}
{{abilityMod "wisdom"}}
@@ -94,6 +99,7 @@
+ {{> ripple color="#eee"}}
{{attributeValue "charisma"}}
{{abilityMod "charisma"}}
diff --git a/rpg-docs/client/views/character/characterSheet.html b/rpg-docs/client/views/character/characterSheet.html
index bca3a4b9..0a9994ee 100644
--- a/rpg-docs/client/views/character/characterSheet.html
+++ b/rpg-docs/client/views/character/characterSheet.html
@@ -3,17 +3,18 @@
Stats
Features
Inventory
+ Proficiency Bonus
Spellbook
Persona
Journal
-
-
- {{> stats}}
- features
- inventory
- spellBook
- persona
- journal
+
+
+ {{> stats}}
+ features
+ inventory
+ spellBook
+ persona
+ journal
diff --git a/rpg-docs/client/views/character/characterSheet.js b/rpg-docs/client/views/character/characterSheet.js
index ab3b07ac..7966ce43 100644
--- a/rpg-docs/client/views/character/characterSheet.js
+++ b/rpg-docs/client/views/character/characterSheet.js
@@ -1,6 +1,18 @@
Template.characterSheet.created = function(){
Template.instance().selectedTab = new ReactiveVar(0)
-}
+};
+
+var setTab = function(instance, num){
+ instance.selectedTab.set(num);
+};
+
+var incTab = function(instance, num){
+ var current = +instance.selectedTab.get();
+ var selected = current + num;
+ if (selected < 0) return;
+ if (selected >= document.querySelector('#tabPages').children.length) return;
+ setTab(instance, selected);
+};
Template.characterSheet.rendered = function(){
var observer = new ObjectObserver(document.querySelector('#characterSheetTabs'));
@@ -9,11 +21,11 @@ Template.characterSheet.rendered = function(){
Object.keys(changed).forEach(function(property) {
if(property === "selected"){
var selected = changed[property];
- instance.selectedTab.set(selected);
+ setTab(instance, selected);
}
})
});
-}
+};
Template.characterSheet.helpers({
selectedTab: function(){
@@ -22,8 +34,16 @@ Template.characterSheet.helpers({
});
Template.characterSheet.events({
-
-})
+ "#tabPages track": function(event){
+ console.log(event);
+ },
+ "swipeleft": function(event){
+ incTab(Template.instance(), 1);
+ },
+ "swiperight": function(event){
+ incTab(Template.instance(), -1);
+ },
+});
/* requires the following templates
stats
diff --git a/rpg-docs/client/views/character/skills/skills.css b/rpg-docs/client/views/character/skills/skills.css
index 42f3adf7..2c29b89d 100644
--- a/rpg-docs/client/views/character/skills/skills.css
+++ b/rpg-docs/client/views/character/skills/skills.css
@@ -2,6 +2,11 @@
height: 32px;
display: flex;
align-items: center;
+ position: relative;
+}
+
+.skillRow:hover{
+ background: #FFEBEE;
}
.profIcon{
diff --git a/rpg-docs/client/views/character/skills/skills.html b/rpg-docs/client/views/character/skills/skills.html
index 40205c83..1fa0f6f1 100644
--- a/rpg-docs/client/views/character/skills/skills.html
+++ b/rpg-docs/client/views/character/skills/skills.html
@@ -15,6 +15,7 @@
+ {{> ripple}}
{{#if failSkill}}
fail
diff --git a/rpg-docs/client/views/index.html b/rpg-docs/client/views/index.html
index f977fef2..bcb2f040 100644
--- a/rpg-docs/client/views/index.html
+++ b/rpg-docs/client/views/index.html
@@ -1,11 +1,16 @@
RPG Docs
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/rpg-docs/client/views/paperTemplates/clickCard/clickCard.html b/rpg-docs/client/views/paperTemplates/clickCard/clickCard.html
new file mode 100644
index 00000000..cbfeeae6
--- /dev/null
+++ b/rpg-docs/client/views/paperTemplates/clickCard/clickCard.html
@@ -0,0 +1,6 @@
+
+
+ {{> ripple}}
+ {{> UI.contentBlock}}
+
+
\ No newline at end of file
diff --git a/rpg-docs/client/views/paperTemplates/clickCard/clickCard.js b/rpg-docs/client/views/paperTemplates/clickCard/clickCard.js
new file mode 100644
index 00000000..8b92bf1c
--- /dev/null
+++ b/rpg-docs/client/views/paperTemplates/clickCard/clickCard.js
@@ -0,0 +1,8 @@
+Template.clickCard.events({
+ "click paper-shadow ": function(event){
+ event.currentTarget.setZ(2);
+ _.delay(function(){
+ event.currentTarget.setZ(1);
+ }, 300)
+ }
+})
\ No newline at end of file
diff --git a/rpg-docs/client/views/paperTemplates/ripple/ripple.css b/rpg-docs/client/views/paperTemplates/ripple/ripple.css
new file mode 100644
index 00000000..476395f8
--- /dev/null
+++ b/rpg-docs/client/views/paperTemplates/ripple/ripple.css
@@ -0,0 +1,8 @@
+.custom-ripple {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ color: #D50000;
+}
\ No newline at end of file
diff --git a/rpg-docs/client/views/paperTemplates/ripple/ripple.html b/rpg-docs/client/views/paperTemplates/ripple/ripple.html
new file mode 100644
index 00000000..e490c974
--- /dev/null
+++ b/rpg-docs/client/views/paperTemplates/ripple/ripple.html
@@ -0,0 +1,7 @@
+
+ {{#if color}}
+
+ {{else}}
+
+ {{/if}}
+
\ No newline at end of file
diff --git a/rpg-docs/lib/methods/updateEffect.js b/rpg-docs/lib/methods/updateEffect.js
new file mode 100644
index 00000000..be74a399
--- /dev/null
+++ b/rpg-docs/lib/methods/updateEffect.js
@@ -0,0 +1,12 @@
+Meteor.methods({
+ updateEffect: function (charId, attributeName, effectId, newEffect) {
+ var selector = {_id: charId};
+ selector[attributeName + ".effects._id"] = effectId;
+ var setter = {};
+ setter[attributeName + ".effects.$"] = newEffect
+ Characters.update(
+ selector,
+ { $set: setter }
+ )
+ }
+});
\ No newline at end of file
diff --git a/rpg-docs/nohup.out b/rpg-docs/nohup.out
index b659aa0b..52bf12b0 100644
--- a/rpg-docs/nohup.out
+++ b/rpg-docs/nohup.out
@@ -17,3 +17,13 @@
=> Started your app.
=> App running at: http://localhost:3000/
+Can't listen on port 3000. Perhaps another Meteor is running?
+
+Running two copies of Meteor in the same application directory
+will not work. If something else is using port 3000, you can
+specify an alternative port with --port
.
+Can't listen on port 3000. Perhaps another Meteor is running?
+
+Running two copies of Meteor in the same application directory
+will not work. If something else is using port 3000, you can
+specify an alternative port with --port .
diff --git a/rpg-docs/public/bower_components/swipe-pages/.bowerrc b/rpg-docs/public/bower_components/swipe-pages/.bowerrc
new file mode 100644
index 00000000..603834e0
--- /dev/null
+++ b/rpg-docs/public/bower_components/swipe-pages/.bowerrc
@@ -0,0 +1,3 @@
+{
+ "directory": "../"
+}
diff --git a/rpg-docs/public/bower_components/swipe-pages/.gitattributes b/rpg-docs/public/bower_components/swipe-pages/.gitattributes
new file mode 100644
index 00000000..21256661
--- /dev/null
+++ b/rpg-docs/public/bower_components/swipe-pages/.gitattributes
@@ -0,0 +1 @@
+* text=auto
\ No newline at end of file
diff --git a/rpg-docs/public/bower_components/swipe-pages/.gitignore b/rpg-docs/public/bower_components/swipe-pages/.gitignore
new file mode 100644
index 00000000..1e1f77a0
--- /dev/null
+++ b/rpg-docs/public/bower_components/swipe-pages/.gitignore
@@ -0,0 +1,6 @@
+node_modules
+dist
+.sass-cache
+.tmp
+.editorconfig
+.jshintrc
diff --git a/rpg-docs/public/bower_components/swipe-pages/README.md b/rpg-docs/public/bower_components/swipe-pages/README.md
new file mode 100644
index 00000000..9c771652
--- /dev/null
+++ b/rpg-docs/public/bower_components/swipe-pages/README.md
@@ -0,0 +1,35 @@
+swipe-pages
+================
+
+See the [component page](http://TheSeamau5.github.io/swipe-pages) for more information.
+
+
+## TODO
+
+- [x] Improve page scroll stability
+- [x] Improve page scroll performance
+- [ ] Improve performance in swiping between pages (by reusing pages?)
+- [x] Have pages scroll down independently of each other
+- [ ] Make element play nicer with the polymer core-elements (like core-scroll-header-panel and core-list)
+- [ ] Add option to mark each page with a browser tag to resume state from url
+- [x] Include sane defaults for hardware acceleration (translateZ hack in the right places)
+- [ ] Make a nicer demo with more features to better explain the element
+- [ ] Add option to reverse direction for rtl languages
+- [ ] Do some more rigorous testing to ensure stability!!!
+- [ ] Allow for individual pages to be created dynamically.
+
+
+## Installation
+With Bower:
+
+ bower install swipe-pages
+
+## Basic Example
+
+
+ I am page 0
+ I am page 1
+ I am page 2
+
+
+
diff --git a/rpg-docs/public/bower_components/swipe-pages/bower.json b/rpg-docs/public/bower_components/swipe-pages/bower.json
new file mode 100644
index 00000000..3032e99f
--- /dev/null
+++ b/rpg-docs/public/bower_components/swipe-pages/bower.json
@@ -0,0 +1,16 @@
+{
+ "name": "swipe-pages",
+ "version": "0.2.1",
+ "keywords": [
+ "seed",
+ "polymer",
+ "web-components"
+ ],
+ "main": "swipe-pages.html",
+ "dependencies": {
+ "polymer": "Polymer/polymer#^0.4.0"
+ },
+ "devDependencies": {
+ "polymer-test-tools": "Polymer/polymer-test-tools#^0.4.0"
+ }
+}
diff --git a/rpg-docs/public/bower_components/swipe-pages/demo.html b/rpg-docs/public/bower_components/swipe-pages/demo.html
new file mode 100644
index 00000000..b1a32601
--- /dev/null
+++ b/rpg-docs/public/bower_components/swipe-pages/demo.html
@@ -0,0 +1,22 @@
+
+
+
+
+ swipe-pages Demo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/rpg-docs/public/bower_components/swipe-pages/index.html b/rpg-docs/public/bower_components/swipe-pages/index.html
new file mode 100644
index 00000000..c519d0bb
--- /dev/null
+++ b/rpg-docs/public/bower_components/swipe-pages/index.html
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/rpg-docs/public/bower_components/swipe-pages/swipe-page.css b/rpg-docs/public/bower_components/swipe-pages/swipe-page.css
new file mode 100644
index 00000000..3e07708d
--- /dev/null
+++ b/rpg-docs/public/bower_components/swipe-pages/swipe-page.css
@@ -0,0 +1,15 @@
+:host, .pageContainer{
+ display: block;
+ height: 100%;
+ width: 100%;
+}
+
+.pageContainer{
+ overflow-y: auto;
+ background-color: rgba(255,255,255,0);
+
+ /*This is for a bug in chrome where pages flash white. Why? I dunno.
+ But, these two lines solve the problem... so... DO NOT TOUCH THIS!*/
+ backface-visibility: hidden;
+ transform: scale(1);
+}
diff --git a/rpg-docs/public/bower_components/swipe-pages/swipe-page.html b/rpg-docs/public/bower_components/swipe-pages/swipe-page.html
new file mode 100644
index 00000000..1cf33eb8
--- /dev/null
+++ b/rpg-docs/public/bower_components/swipe-pages/swipe-page.html
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/rpg-docs/public/bower_components/swipe-pages/swipe-pages.css b/rpg-docs/public/bower_components/swipe-pages/swipe-pages.css
new file mode 100644
index 00000000..f37ae70b
--- /dev/null
+++ b/rpg-docs/public/bower_components/swipe-pages/swipe-pages.css
@@ -0,0 +1,20 @@
+:host, .pagesContainer {
+ display: block;
+ height: 100%;
+ width: 100%;
+}
+
+:host{
+ overflow: hidden;
+}
+
+.pagesContainer{
+ overflow-x : hidden;
+ overflow-y: hidden;
+ background-color: rgba(255,255,255,0);
+ transform: translateZ(0);
+}
+
+content[select="swipe-page"]::content *{
+ position: relative;
+}
diff --git a/rpg-docs/public/bower_components/swipe-pages/swipe-pages.html b/rpg-docs/public/bower_components/swipe-pages/swipe-pages.html
new file mode 100644
index 00000000..08fc8bb1
--- /dev/null
+++ b/rpg-docs/public/bower_components/swipe-pages/swipe-pages.html
@@ -0,0 +1,279 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/rpg-docs/public/custom_components/swipe-detect/swipe-detect.html b/rpg-docs/public/custom_components/swipe-detect/swipe-detect.html
new file mode 100644
index 00000000..017525ec
--- /dev/null
+++ b/rpg-docs/public/custom_components/swipe-detect/swipe-detect.html
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+