From a57c47e8fc2be4a13e72705c857719924843c43a Mon Sep 17 00:00:00 2001
From: Matthew Hartstonge
Date: Thu, 17 Oct 2024 17:53:50 +1300
Subject: [PATCH 1/5] docs: migrates url references to ember-adopted-addons.
---
README.md | 4 ++--
addon/components/paper-menu/content/component.js | 4 ++--
addon/components/paper-select/ebd-content/component.js | 2 +-
addon/utils/ebd-get-parent.js | 4 ++--
package.json | 4 ++--
tests/dummy/app/templates/addons.hbs | 2 +-
tests/dummy/app/templates/components/page-toolbar.hbs | 2 +-
tests/dummy/app/templates/cookbook.hbs | 2 +-
tests/dummy/app/templates/index.hbs | 2 +-
9 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/README.md b/README.md
index 053ff85a9..17b38ed4c 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
This project aims to bring Google's new [Material Design](https://www.google.com/design/spec/material-design/introduction.html) to Ember. The goal is to encapsulate everything possible in Ember components. This project is packaged as an [Ember-cli](http://www.ember-cli.com/) addon.
-[Explore Ember Paper docs »](https://miguelcobain.github.io/ember-paper/)
+[Explore Ember Paper docs »](https://adopted-ember-addons.github.io/ember-paper/)
## Installation
@@ -23,7 +23,7 @@ Navigate through the docs to understand how to use each component.
- Contributors can often be found on the [#e-paper channel on discord](https://discord.gg/zT3asNS).
-- The [GitHub milestone issue](https://github.com/miguelcobain/ember-paper/issues/249) tracks our progress to version 1.0.
+- The [GitHub milestone issue](https://github.com/adopted-ember-addons/ember-paper/issues/249) tracks our progress to version 1.0.
- Building the `ember-paper` demo application will give you your own up-to-date reference. This can be accomplished by cloning ember-paper as if it were an application and running `ember server`.
diff --git a/addon/components/paper-menu/content/component.js b/addon/components/paper-menu/content/component.js
index 96a62be56..d97162e19 100644
--- a/addon/components/paper-menu/content/component.js
+++ b/addon/components/paper-menu/content/component.js
@@ -61,8 +61,8 @@ class PaperMenuContent extends Component {
async animateOut(element) {
let parentElement = this.renderInPlace ? element.parentElement.parentElement : element.parentElement;
- // workaround for https://github.com/miguelcobain/ember-paper/issues/1151. See also https://github.com/emberjs/ember.js/issues/18795.
- // & https://github.com/miguelcobain/ember-paper/issues/1166
+ // workaround for https://github.com/adopted-ember-addons/ember-paper/issues/1151. See also https://github.com/emberjs/ember.js/issues/18795.
+ // & https://github.com/adopted-ember-addons/ember-paper/issues/1166
if (!parentElement) {
parentElement = ebdGetParent(getOwner(this));
}
diff --git a/addon/components/paper-select/ebd-content/component.js b/addon/components/paper-select/ebd-content/component.js
index f406b3249..0688c62d0 100644
--- a/addon/components/paper-select/ebd-content/component.js
+++ b/addon/components/paper-select/ebd-content/component.js
@@ -69,7 +69,7 @@ class PaperSelectEbdContent extends Component {
async animateOut(dropdownElement) {
let parentElement = this.renderInPlace ? dropdownElement.parentElement.parentElement : dropdownElement.parentElement;
- // workaround for https://github.com/miguelcobain/ember-paper/issues/1166
+ // workaround for https://github.com/adopted-ember-addons/ember-paper/issues/1166
if (!parentElement) {
parentElement = ebdGetParent(getOwner(this));
}
diff --git a/addon/utils/ebd-get-parent.js b/addon/utils/ebd-get-parent.js
index 35030c8b9..57eff2b16 100644
--- a/addon/utils/ebd-get-parent.js
+++ b/addon/utils/ebd-get-parent.js
@@ -4,8 +4,8 @@ import requirejs from 'require';
export default function ebdGetParent(owner) {
// Try to fix :
- // - https://github.com/miguelcobain/ember-paper/issues/1151
- // - https://github.com/miguelcobain/ember-paper/issues/1166
+ // - https://github.com/adopted-ember-addons/ember-paper/issues/1151
+ // - https://github.com/adopted-ember-addons/ember-paper/issues/1166
// By doing like https://github.com/cibernox/ember-basic-dropdown/blob/850c227c0a58148056d55d41aa0e5d88656b8165/addon/components/basic-dropdown.js#L273-L290
let config = owner.resolveRegistration('config:environment');
let id;
diff --git a/package.json b/package.json
index a8f12ac24..4f43f7b46 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,7 @@
"paper"
],
"bugs": {
- "url": "https://github.com/miguelcobain/ember-paper/issues"
+ "url": "https://github.com/adopted-ember-addons/ember-paper/issues"
},
"repository": "https://github.com/adopted-ember-addons/ember-paper",
"license": "MIT",
@@ -118,7 +118,7 @@
},
"ember-addon": {
"configPath": "tests/dummy/config",
- "demoURL": "https://miguelcobain.github.io/ember-paper",
+ "demoURL": "https://adopted-ember-addons.github.io/ember-paper",
"before": "ember-cli-sri",
"versionCompatibility": {
"ember": ">=3.20.0 < 4.0.0"
diff --git a/tests/dummy/app/templates/addons.hbs b/tests/dummy/app/templates/addons.hbs
index 0e11c3d75..49ad6f256 100644
--- a/tests/dummy/app/templates/addons.hbs
+++ b/tests/dummy/app/templates/addons.hbs
@@ -178,7 +178,7 @@
Contributing an addon
- If you have an ember-paper
specific component, service etc that you think would be usable by others, please feel free to create an ember addon, publish to npm then submit a pull request on GitHub for it to be included here.
+ If you have an ember-paper
specific component, service etc that you think would be usable by others, please feel free to create an ember addon, publish to npm then submit a pull request on GitHub for it to be included here.
diff --git a/tests/dummy/app/templates/components/page-toolbar.hbs b/tests/dummy/app/templates/components/page-toolbar.hbs
index 86f5f6fc7..55aacc131 100644
--- a/tests/dummy/app/templates/components/page-toolbar.hbs
+++ b/tests/dummy/app/templates/components/page-toolbar.hbs
@@ -22,7 +22,7 @@
diff --git a/tests/dummy/app/templates/index.hbs b/tests/dummy/app/templates/index.hbs
index e8b1bc7e4..6785e98b4 100644
--- a/tests/dummy/app/templates/index.hbs
+++ b/tests/dummy/app/templates/index.hbs
@@ -80,7 +80,7 @@
{{!-- Place this tag where you want the button to render. --}}
- Fork
+ Fork
From d463dae7130ccb7db5ccc774c997af05c246b016 Mon Sep 17 00:00:00 2001
From: Matthew Hartstonge
Date: Fri, 18 Oct 2024 16:07:32 +1300
Subject: [PATCH 2/5] chore: change docs url to netlify.
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 17b38ed4c..d8358f6a2 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
This project aims to bring Google's new [Material Design](https://www.google.com/design/spec/material-design/introduction.html) to Ember. The goal is to encapsulate everything possible in Ember components. This project is packaged as an [Ember-cli](http://www.ember-cli.com/) addon.
-[Explore Ember Paper docs »](https://adopted-ember-addons.github.io/ember-paper/)
+[Explore Ember Paper docs »](https://ember-paper.netlify.app)
## Installation
From ad0930a6eafcbb62132900a4b1790aa09dd1aaaa Mon Sep 17 00:00:00 2001
From: Matthew Hartstonge
Date: Fri, 18 Oct 2024 16:15:05 +1300
Subject: [PATCH 3/5] chore(package.json): change demoURL to netlify.
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 4f43f7b46..b5965b233 100644
--- a/package.json
+++ b/package.json
@@ -118,7 +118,7 @@
},
"ember-addon": {
"configPath": "tests/dummy/config",
- "demoURL": "https://adopted-ember-addons.github.io/ember-paper",
+ "demoURL": "https://ember-paper.netlify.app",
"before": "ember-cli-sri",
"versionCompatibility": {
"ember": ">=3.20.0 < 4.0.0"
From 4d6827cd3f1c08941e1119f72467e41dfeb40034 Mon Sep 17 00:00:00 2001
From: Matthew Hartstonge
Date: Fri, 18 Oct 2024 16:26:02 +1300
Subject: [PATCH 4/5] fix(docs): updates the github fork button.
---
tests/dummy/app/index.html | 5 +++--
tests/dummy/app/templates/index.hbs | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/tests/dummy/app/index.html b/tests/dummy/app/index.html
index 993868194..6f614f7bd 100644
--- a/tests/dummy/app/index.html
+++ b/tests/dummy/app/index.html
@@ -24,7 +24,8 @@
{{content-for "body-footer"}}
-
-
+
+ {{!-- Place this tag in your head or just before your close body tag. --}}
+