diff --git a/.ember-cli b/.ember-cli
deleted file mode 100644
index 8c1812cf..00000000
--- a/.ember-cli
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- /**
- Ember CLI sends analytics information by default. The data is completely
- anonymous, but there are times when you might want to disable this behavior.
-
- Setting `disableAnalytics` to true will prevent any data from being sent.
- */
- "disableAnalytics": false,
-
- /**
- Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript
- rather than JavaScript by default, when a TypeScript version of a given blueprint is available.
- */
- "isTypeScriptProject": false
-}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index eda48107..015bd426 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -6,56 +6,86 @@ on:
- main
- master
pull_request: {}
- schedule:
- - cron: "0 3 * * 0" # every Sunday at 3am
-
concurrency:
- group: ci-${{ github.head_ref || github.ref }}
- cancel-in-progress: true
+ group: ci-${{ github.head_ref || github.ref }}
+ cancel-in-progress: true
jobs:
+ lint:
+ name: Lint
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - uses: pnpm/action-setup@v2.2.4
+ with:
+ version: 8
+
+ - uses: actions/setup-node@v3
+ with:
+ node-version: 18.x
+ cache: pnpm
+
+ - name: 'Install dependencies'
+ run: pnpm install --frozen-lockfile
+
+ - name: Lint
+ run: pnpm --filter ember-power-calendar lint
+
test:
- if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
name: "Tests"
runs-on: ubuntu-latest
- timeout-minutes: 10
+ needs: lint
steps:
- uses: actions/checkout@v3
+
+ - uses: pnpm/action-setup@v2.2.4
+ with:
+ version: 8
+
- name: Install Node
uses: actions/setup-node@v3
with:
- node-version: 16.x
- cache: npm
+ node-version: 18.x
+ cache: pnpm
+
- name: Install Dependencies
- run: npm ci
- - name: Lint
- run: npm run lint
+ run: pnpm install --frozen-lockfile
+
- name: Run Tests
- run: npm run test:ember
+ run: pnpm --filter test-app test:ember
floating:
name: "Floating Dependencies"
runs-on: ubuntu-latest
- timeout-minutes: 10
+ needs: lint
steps:
- uses: actions/checkout@v3
+
+ - uses: pnpm/action-setup@v2.2.4
+ with:
+ version: 8
+
- uses: actions/setup-node@v3
with:
- node-version: 16.x
- cache: npm
+ node-version: 18.x
+ cache: pnpm
+
- name: Install Dependencies
- run: npm install --no-shrinkwrap
+ run: pnpm install --frozen-lockfile
+
- name: Run Tests
- run: npm run test:ember
+ run: pnpm --filter test-app test:ember
try-scenarios:
name: ${{ matrix.try-scenario }}
runs-on: ubuntu-latest
- needs: "test"
- timeout-minutes: 10
+ continue-on-error: true
+ needs: test
strategy:
fail-fast: false
@@ -65,7 +95,7 @@ jobs:
- ember-lts-4.4
- ember-lts-4.8
- ember-lts-4.12
- - ember-5.0
+ - ember-lts-5.4
- ember-release
- ember-beta
- ember-canary
@@ -74,12 +104,21 @@ jobs:
steps:
- uses: actions/checkout@v3
+
+ - uses: pnpm/action-setup@v2.2.4
+ with:
+ version: 8
+
- name: Install Node
uses: actions/setup-node@v3
with:
- node-version: 16.x
- cache: npm
+ node-version: 18.x
+ cache: pnpm
+
- name: Install Dependencies
- run: npm ci
+ run: pnpm install --frozen-lockfile
+
- name: Run Tests
- run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup
\ No newline at end of file
+ env:
+ EMBER_TRY_SCENARIO: ${{ matrix.try-scenario }}
+ run: pnpm --filter test-app test:ember-try $EMBER_TRY_SCENARIO
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
new file mode 100644
index 00000000..71cc39d1
--- /dev/null
+++ b/.github/workflows/docs.yml
@@ -0,0 +1,54 @@
+name: Docs CI
+
+on:
+ push:
+ branches:
+ - main
+ - master
+ pull_request:
+
+jobs:
+ lint:
+ name: Lint
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+
+ - uses: pnpm/action-setup@v2.2.4
+ with:
+ version: 8
+
+ - uses: actions/setup-node@v3
+ with:
+ node-version: 18.x
+ cache: 'pnpm'
+
+ - name: 'Install dependencies'
+ run: pnpm install --frozen-lockfile
+
+ - name: Lint
+ run: pnpm --filter docs lint
+
+ test:
+ name: "Tests"
+ runs-on: ubuntu-latest
+ needs: lint
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - uses: pnpm/action-setup@v2.2.4
+ with:
+ version: 8
+
+ - name: Install Node
+ uses: actions/setup-node@v3
+ with:
+ node-version: 18.x
+ cache: pnpm
+
+ - name: Install Dependencies
+ run: pnpm install --frozen-lockfile
+
+ - name: Run Tests
+ run: pnpm --filter docs test:ember
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index f1e859b2..3e58c96d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,32 +1,22 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.
-# compiled output
-/dist/
-/tmp/
-
# dependencies
-/bower_components/
-/node_modules/
+node_modules/
# misc
-/.env*
-/.pnp*
-/.sass-cache
-/.eslintcache
-/connect.lock
-/coverage/
-/libpeerconnection.log
-/npm-debug.log*
-/testem.log
-/yarn-error.log
+.env*
+.pnp*
+.pnpm-debug.log
+.sass-cache
+.eslintcache
+coverage/
+npm-debug.log*
+yarn-error.log
# ember-try
/.node_modules.ember-try/
-/bower.json.ember-try
-/npm-shrinkwrap.json.ember-try
/package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try
+/pnpm-lock.ember-try.yaml
-# broccoli-debug
-/DEBUG/
diff --git a/.netlify b/.netlify
deleted file mode 100644
index 71f0db38..00000000
--- a/.netlify
+++ /dev/null
@@ -1 +0,0 @@
-{"site_id":"3bc9e2fc-5939-49ea-8d05-b51e20353eef","path":"dist"}
\ No newline at end of file
diff --git a/.npmignore b/.npmignore
deleted file mode 100644
index 27849b17..00000000
--- a/.npmignore
+++ /dev/null
@@ -1,41 +0,0 @@
-# compiled output
-/dist/
-/tmp/
-
-# dependencies
-/bower_components/
-
-# misc
-/.bowerrc
-/.editorconfig
-/.ember-cli
-/.env*
-/.eslintcache
-/.eslintignore
-/.eslintrc.js
-/.git/
-/.github/
-/.gitignore
-/.prettierignore
-/.prettierrc.js
-/.stylelintignore
-/.stylelintrc.js
-/.template-lintrc.js
-/.travis.yml
-/.watchmanconfig
-/bower.json
-/CONTRIBUTING.md
-/ember-cli-build.js
-/testem.js
-/tests/
-/yarn-error.log
-/yarn.lock
-.gitkeep
-
-# ember-try
-/.node_modules.ember-try/
-/bower.json.ember-try
-/npm-shrinkwrap.json.ember-try
-/package.json.ember-try
-/package-lock.json.ember-try
-/yarn.lock.ember-try
diff --git a/.nvmrc b/.nvmrc
deleted file mode 100644
index 48082f72..00000000
--- a/.nvmrc
+++ /dev/null
@@ -1 +0,0 @@
-12
diff --git a/.prettierrc.cjs b/.prettierrc.cjs
new file mode 100644
index 00000000..d6a52956
--- /dev/null
+++ b/.prettierrc.cjs
@@ -0,0 +1,6 @@
+'use strict';
+
+module.exports = {
+ plugins: ['prettier-plugin-ember-template-tag'],
+ singleQuote: true,
+};
diff --git a/.stylelintrc.js b/.stylelintrc.js
deleted file mode 100644
index 0b104cb2..00000000
--- a/.stylelintrc.js
+++ /dev/null
@@ -1,14 +0,0 @@
-'use strict';
-
-module.exports = {
- extends: ['stylelint-config-standard-scss', 'stylelint-prettier/recommended'],
- rules: {
- 'no-descending-specificity': null,
- 'color-function-notation': 'legacy',
- 'selector-class-pattern': [
- // https://github.com/btd1337/stylelint-config-sass-guidelines/blob/master/.stylelintrc
- // '^(?:(?:o|c|u|t|s|is|has|_|js|qa)-)?[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*(?:__[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:--[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:\\[.+\\])?$',
- '^(?:(?:o|c|u|t|s|is|has|_|js|qa)-)?[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*(?:__[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)*(?:--[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)*(?:\\[.+\\])?$',
- ],
- },
-};
diff --git a/.watchmanconfig b/.watchmanconfig
deleted file mode 100644
index e7834e3e..00000000
--- a/.watchmanconfig
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "ignore_dirs": ["tmp", "dist"]
-}
diff --git a/CHANGELOG.md b/CHANGELOG.md
deleted file mode 100644
index c36020b6..00000000
--- a/CHANGELOG.md
+++ /dev/null
@@ -1,266 +0,0 @@
-
-
-## v0.21.0 (2023-11-15)
-
-#### :boom: Breaking Change
-* [#338](https://github.com/cibernox/ember-power-calendar/pull/338) Update `peerDependencies` moment & luxon ([@mkszepp](https://github.com/mkszepp))
-* [#335](https://github.com/cibernox/ember-power-calendar/pull/335) Add `registerDateLibrary` to allow register every date library & allow `ember-truth-helpers` v4 ([@mkszepp](https://github.com/mkszepp))
-
-#### :house: Internal
-* [#339](https://github.com/cibernox/ember-power-calendar/pull/339) Add release-it ([@mkszepp](https://github.com/mkszepp))
-
-#### Committers: 1
-- [@mkszepp](https://github.com/mkszepp)
-
-## 0.20.0
-- [BREAKING] Drop support for node < 16 (#328)
-- [BREAKING] Drop support for Ember < 3.28 (#328)
-- [BREAKING] Update components to glimmer (#328)
-- [BREAKING] Update dependencies to latest version (#328)
-- [BREAKING] Replace imports from `ember-power-calendar-utils` to `ember-power-calendar/utils` (#329)
-- [BUGFIX] Add ember-auto-import as dependency (#328)
-- [Internal] Update to ember 4.12 & switch to glimmer components (#328)
-
-## 0.19.0
-- Many updates and fixes (see #303)
-
-## 0.18.0
-- Replace deprecated usages of `{{#with}}` with `{{#let}}`.
-
-## 0.17.0
-- Remove deprecated Ember.assign
-- [BUGFIX] Add `currentCenter` as a dependency for the `days` computed property.
-- Update dependencies to make it compatible with newer ember versions.
-
-## 0.16.5
-- Fix `hasBlock` deprecation.
-- Dependencies updates.
-
-## 0.16.4
-- [BUGFIX] Update version of ember-element-helper for better embroider compatibility
-
-## 0.16.2
-- [ENHANCEMENT] Relax dependency on ember-truth-helpers.
-
-## 0.16.1
-- [ENHANCEMENT] Bump version of `element-closest-polyfill` to 0.0.2
-
-## 0.16.0
-- [ENHANCEMENT] Bump version of `ember-assign-helper` to 0.3.0
-
-## 0.14.5
-- [BUGFIX] Don't set `center` to undefined in days component. Users may subclass it and define center
- as readonly.
-
-## 0.14.4
-- [ENHANCEMENT] Added support for optional `@tag` argument to ``
-
-## 0.14.3
-- [BUGFIX] Remove deprecation by adding a setter for the locale to power-calendar service.
-
-## 0.14.2
-- [BUGFIX] Both `minDate` and `maxDate` should form part of the range and therefore be selectables.
-
-## 0.14.1
-- [ENHANCEMENT] The `` component will display in the `data-power-calendar-id` the value of `calendar.calendarUniqueId`
- if present (it not present, it will display `calendar.uniqueId` as before)
-
-## 0.14.0
-- [BREAKING] Update addon to angle-bracket syntax. It requires Ember 3.11 now. The yielded components are
- now capitalized (e.g. ``).
-
-## 0.13.3
-- [CHORE] Allow ember-concurrency 1.0
-
-## 0.13.2
-- [BUGFIX] Make use of `$nav-button-color--focus`, which before wasn't really being used as intended. This makes it customizable.
-
-## 0.13.1
-- [BUGFIX] Fix bug detecting keyword in package.json
-
-## 0.13.0
-- [ENHANCEMENT] Detect EPC-adapters (like ember-power-calendar-luxon and ember-power-calendar-moment)
- not using a whitelist, but looking for the keyword `ember-power-calendar-adapter` in their package.json
-
-## 0.12.0
-- [ENHANCEMENT] Update ember-concurrency to 0.9 for better octane support
-
-## 0.11.0
-Unsure
-
-## 0.10.3
-- [ENHANCEMENT] Allow range calendar's `actions.select` to take an range. It used to only
- allow a single day from which it constructed a the range. This hasn't change, but now if it receives
- a range it it will use that range it will use as is.
-
-## 0.10.2
-- [ENHANCEMENT] Allow pass a `@unit` and `@format` to the `calendar.Nav` component, which used to be
- hardcoded values (`'month'` and `'MMMM YYYY'` respetively).
-
-## 0.10.1
-- [ENHANCEMENT] Allow multiple calendar's `actions.select` to take an array of days. It used to only
- allow a single day from which it constructed a new list. This hasn't change, but now if it receives
- a list it it will use that list as the final set of values.
-
-## 0.10.0
-- [CHORE] Minimum version of `ember-power-calendar-luxon` has to be 0.1.5 and of `ember-power-calendar-moment` 0.1.4.
- Some utility functions have been extracted there.
-
-## 0.9.7
-- [ENHANCEMENT] `{{#cal.days}}` yields the array of weeks as third argument.
-
-## 0.9.6
-- [ENHANCEMENT] Allow `{{cal.days}}` component to receive a `dayClass` property that can be either a string or a function that takes `(day, calendar, weeks)` and returns a string. That string is added as a class to days.
-
-## 0.9.5
-- [ENHANCEMENT] Add `type` to public API. Possible values: "single" | "multiple" | "range"
-- [DOCS] Document public API object.
-- [CHORE] Update dependencies, including babel 7
-
-## 0.9.4
-- [BUFIX] Fix 0.9.3 in versions of ember-cli >= 3.5
-
-## 0.9.3
-- [BUGFIX] Fix broken dependency check under yarn workspaces.
-
-## 0.9.2
-- [BUGFIX] Fix testing of ember-power-calendar from within a whormole to the root of the body.
-
-## 0.9.1
-- [BUGFIX] Prevent infinite loop rendering the days component
-
-## 0.9.0
-- [BREAKING] Now this addon requires the user to install either `ember-power-calendar-moment` or `ember-power-calendar-luxon`
- to work. However, once installed it should either of those, it should behave the same (obviously you won't ve able to pass
- moment object if you choose the luxon addon)
-
-## 0.8.1
-- [BUGFIX] Update minimum version of `ember-power-calendar-moment` to fix some bugs.
-
-## 0.8.0
-- [CHORE] 🎉🎉**BIG CHANGE**🎉🎉 Now the utility functions don't live on this addon but on another addon
- named `ember-power-calendar-moment`, that for the time being is a runtime dependency so it shouldn't
- be breaking. In an upcoming version it will be removed from the runtime dependencies so user will have
- to explicitly install that other addon.
-
-## 0.8.0-beta.2
-- [BREAKING] Require the new testing API based on `setupTest`/`setupRenderingTest`/`setupApplicationTest` that
- comes with `ember-qunit` 3.2+.
-
-## 0.8.0-beta.1
-- [BREAKING] This addon no longer depends on `ember-moment`, only in `ember-cli-moment-shim`, which
- means it no longer attempts to read the locale from the `service:moment`. You can now set the locale
- (if different from the global moment.js locale) in the `service:power-calendar`.
-
-- [HUGE REFACTOR] The addon is pretty decoupled from moment.js, with the plan of allowing using it
- with luxon.js, or other libraries (maybe without any library!) in the next version.
- It should not be a breaking change, but since it was a very big refactor, update it with care.
- Due to this refactor and the drop of ember-moment, the addon is ~28kb (~4.5kb min+gzip) smaller
- than before.
-
-## 0.7.3
-- [ENHANCEMENT] Add helpful assertions when a calendar receives an invalid date as center and when the user tries to change the center of a calendar without an `onCenterChange` action.
-
-## 0.7.2
-- [FEATURE] Add `proximitySelection` to `power-calendar-range`. When true (default is false) the clicking on the calendar after a range has been selected doesn't start a new range, but moves the closest extreme of the current range, expanding or narrowing it.
-
-## 0.7.1
-- [INTERNAL] Update some testing deps
-
-## 0.7.0
-- [BREAKING] Require Ember >= 2.10
-
-## 0.6.1
-- [BUGFIX] Ensure `addon-test-support/` folder is not blacklisted in NPM
-
-## 0.6.0
-- [ENHANCEMENT] Now the `calendarCenter` and `calendarSelect` helpers are importable from `ember-power-calendar/test-support`
- and can be used in both integration and acceptance tests.
-- [ENHANCEMENT] When the `moveCenter` action was called with a `null`/`undefined` value it could cause
- problems. Now doing that is perfectly legal and it will center the month in the current date.
-
-## 0.5.0
-- [ENHANCEMENT] Allow invocation without block. It renders both nav and days.
-- [BUGFIX] Add `type="button"` to buttons in the nav so they are not implicitly considered
- type submit, leading to submitting the enclosing form.
-- [INTERNAL] The addon is now jQuery free too.
-- [BREAKING] Allow the `ember-power-calendar` SASS/LESS mixin to take a lot more variables
- to customize colors and more. Potentially breaking, but probably not for the big majority.
-
-## 0.4.0
-- [INTERNAL] Update to Babel 6
-
-## 0.3.2
-- [BUGFIX] Broken safari styles due to unnecesary flex position on days.
-
-## 0.3.1
-- [ENHANCEMENT] Added less support.
-
-## 0.3.0
-- [BREAKING] `onSelect` and `onCenterAction` now receive the publicAPI of the component
- as second argument and the event as third.
-
-## 0.2.7
-- [ENHANCEMENT] `data-ember-power-calendar-id` can be bound from the outside
-
-## 0.2.6
-- [ENHANCEMENT] Added an `onInit` action that can be passed from the outside, and it called with the public API
- once.
-
-## 0.2.5
-- [BREAKING] Renamed `service:power-calendar-clock` to just `service:power-calendar`. This service
- wasn't public, so it's unlikely anyone will be affected.
-- [ENHANCEMENT] Added `calendar.uniqueId` to the public API. The `{{cal.days}}` use it to display a `data-power-calendar-id`
- attribute that reference the original calendar.
-- [ENHANCEMENT] The `calendarCenter` and `calendarSelect` test helpers now also work with tagless calendars,
- thanks to the enhancement above.
-
-## 0.2.4
-- [ENHANCEMENT] Add `maxLength` to the `{{cal.days}}` component of multiple selects. It determines the
- max number of day selections the user can make. Once that number is reached no more days can be selected,
- but those selected can be unselected. Defaults to `Infinity` so there is no limit by default.
-
-## 0.2.3
-- [ENHANCEMENT] Allow to disable specific days passing `{{cal.days disabledDates=collection}}`.
- As usual the property can be a collection of Dates or Moments.
-
-## 0.2.2
-- [ENHANCEMENT] Improve default styles of calendar days.
-
-## 0.2.1
-- [ENHANCEMENT] Make Sass mixin more configurable, by accepting more variables. The basic usage remains
- the same, this is not breaking.
-## 0.2.1
-- [BREAKING] The component no longer automatically gets a `ember-power-calendar--loading` when
- the `onCenterChange` returns a promise/task. Instead, the publicAPI of the component will have
- the `loading` flag set to true, and you can use that to any purpose. This flag might change
- in future.
-
-## 0.1.8
-- [BUGFIX] Fix styles in IE11 - @nwhittaker
-
-## 0.1.7
-- [BUGFIX] Fix calculation of days when the `moment` global had a different locale than the `service:moment`.
-
-## 0.1.6
-- [BUGFIX] Make `ember-assign-helper` a runtime dependency.
-
-## 0.1.5
-- [FEATURE] Add `maxRange` to prevent users from selecting ranges > the given duration.
-- [FEATURE] Add `minRange` to prevent users from selecting ranges < the given duration.
-- [BUGFIX] If a range has `start` and `end` in the same day, that day has both `*--range-start` and `*--range-end` classes.
-- [BREAKING] Rename `calendar.actions.changeCenter` to `calendar.actions.moveCenter`.
-- [BUGFIX] Clicking on the last selected day selected it twice instead of removing it.
-
-## 0.1.4
-- [FEATURE] Add `weekdayFormat` to customize the format of the weekdays. Values: "short" (default), "long" and "min".
-
-## 0.1.3
-- [FEATURE] Add `calendarCenter` and `calendarSelect` test-helpers for acceptnace testing.
-
-## 0.1.2
-- [FEATURE] Add `i18n` based in ember-moment.
-
-## 0.1.1
-- [FEATURE] Add `minDate` and `maxDate` to default `` component to disabled days before/after
- some specific date.
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 120000
index 00000000..645ad156
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1 @@
+ember-power-calendar/CHANGELOG.md
\ No newline at end of file
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f1e37d77..8a75b2b0 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,25 +1,31 @@
-# How To Contribute
-
-## Installation
-
-* `git clone `
-* `cd ember-power-select`
-* `npm install`
-
-## Linting
-
-* `npm run lint`
-* `npm run lint:fix`
-
-## Running tests
-
-* `ember test` – Runs the test suite on the current Ember version
-* `ember test --server` – Runs the test suite in "watch mode"
-* `ember try:each` – Runs the test suite against multiple Ember versions
-
-## Running the dummy application
-
-* `ember serve`
-* Visit the dummy application at [http://localhost:4200](http://localhost:4200).
-
-For more information on using ember-cli, visit [https://cli.emberjs.com/release/](https://cli.emberjs.com/release/).
\ No newline at end of file
+# How To Contribute
+
+## Installation
+
+- `git clone `
+- `cd ember-power-calendar`
+- `npm install`
+
+## Linting
+
+- `npm run lint`
+- `npm run lint:fix`
+
+## Building the addon
+
+- `cd ember-power-calendar`
+- `npm build`
+
+## Running tests
+
+- `cd test-app`
+- `npm run test` – Runs the test suite on the current Ember version
+- `npm run test:watch` – Runs the test suite in "watch mode"
+
+## Running the test application
+
+- `cd test-app`
+- `npm run start`
+- Visit the test application at [http://localhost:4200](http://localhost:4200).
+
+For more information on using ember-cli, visit [https://cli.emberjs.com/release/](https://cli.emberjs.com/release/).
diff --git a/LICENSE.md b/LICENSE.md
deleted file mode 100644
index f8d1edb3..00000000
--- a/LICENSE.md
+++ /dev/null
@@ -1,9 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2019
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/LICENSE.md b/LICENSE.md
new file mode 120000
index 00000000..9298a28f
--- /dev/null
+++ b/LICENSE.md
@@ -0,0 +1 @@
+ember-power-calendar/LICENSE.md
\ No newline at end of file
diff --git a/README.md b/README.md
deleted file mode 100644
index 4caabd23..00000000
--- a/README.md
+++ /dev/null
@@ -1,43 +0,0 @@
-# Ember Power Calendar
-
-[![CI](https://github.com/cibernox/ember-power-calendar/actions/workflows/ci.yml/badge.svg)](https://github.com/cibernox/ember-power-calendar/actions/workflows/ci.yml)
-[![Ember Observer Score](http://emberobserver.com/badges/ember-power-calendar.svg)](http://emberobserver.com/addons/ember-power-calendar)
-[![npm version](https://badge.fury.io/js/ember-power-calendar.svg)](https://badge.fury.io/js/ember-power-calendar)
-
-Customizable Calendar Component for Ember.
-
-## Compatibility
-
-* Ember.js v3.28 or above
-* Ember CLI v3.28 or above
-* Node.js v16 or above
-
-## Installation
-
-`ember install ember-power-calendar`
-
-Internet Explorer 11 support requires babel polyfill:
-
-```js
-// ember-cli-build.js
-
-let app = new EmberAddon(defaults, {
- 'ember-cli-babel': {
- includePolyfill: true
- }
-});
-```
-
-## Usage
-
-There are many possible ways to use it, for giving you just a taste of the API:
-
-```hbs
-
-
-
-
-```
-
-Check the full documentation at www.ember-power-calendar.com
-
diff --git a/README.md b/README.md
new file mode 120000
index 00000000..94ddc5b5
--- /dev/null
+++ b/README.md
@@ -0,0 +1 @@
+ember-power-calendar/README.md
\ No newline at end of file
diff --git a/app/components/power-calendar-multiple.js b/app/components/power-calendar-multiple.js
deleted file mode 100644
index 0e059abc..00000000
--- a/app/components/power-calendar-multiple.js
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from 'ember-power-calendar/components/power-calendar-multiple';
diff --git a/app/components/power-calendar-multiple/days.js b/app/components/power-calendar-multiple/days.js
deleted file mode 100644
index 4fe814b1..00000000
--- a/app/components/power-calendar-multiple/days.js
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from 'ember-power-calendar/components/power-calendar-multiple/days';
diff --git a/app/components/power-calendar-range.js b/app/components/power-calendar-range.js
deleted file mode 100644
index 734b3676..00000000
--- a/app/components/power-calendar-range.js
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from 'ember-power-calendar/components/power-calendar-range';
diff --git a/app/components/power-calendar-range/days.js b/app/components/power-calendar-range/days.js
deleted file mode 100644
index 036aaa65..00000000
--- a/app/components/power-calendar-range/days.js
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from 'ember-power-calendar/components/power-calendar-range/days';
diff --git a/app/components/power-calendar.js b/app/components/power-calendar.js
deleted file mode 100644
index 8cdd85c5..00000000
--- a/app/components/power-calendar.js
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from 'ember-power-calendar/components/power-calendar';
diff --git a/app/components/power-calendar/days.js b/app/components/power-calendar/days.js
deleted file mode 100644
index 9f13a16d..00000000
--- a/app/components/power-calendar/days.js
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from 'ember-power-calendar/components/power-calendar/days';
diff --git a/app/components/power-calendar/nav.js b/app/components/power-calendar/nav.js
deleted file mode 100644
index d6f1329b..00000000
--- a/app/components/power-calendar/nav.js
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from 'ember-power-calendar/components/power-calendar/nav';
diff --git a/app/helpers/ember-power-calendar-day-classes.js b/app/helpers/ember-power-calendar-day-classes.js
deleted file mode 100644
index 9c7a0ab0..00000000
--- a/app/helpers/ember-power-calendar-day-classes.js
+++ /dev/null
@@ -1,4 +0,0 @@
-export {
- default,
- emberPowerCalendarDayClasses,
-} from 'ember-power-calendar/helpers/ember-power-calendar-day-classes';
diff --git a/app/helpers/power-calendar-format-date.js b/app/helpers/power-calendar-format-date.js
deleted file mode 100644
index 1a35782b..00000000
--- a/app/helpers/power-calendar-format-date.js
+++ /dev/null
@@ -1,4 +0,0 @@
-export {
- default,
- powerCalendarFormatDate,
-} from 'ember-power-calendar/helpers/power-calendar-format-date';
diff --git a/app/services/power-calendar.js b/app/services/power-calendar.js
deleted file mode 100644
index fc0f3d01..00000000
--- a/app/services/power-calendar.js
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from 'ember-power-calendar/services/power-calendar';
diff --git a/deploy.sh b/deploy.sh
deleted file mode 100755
index da478438..00000000
--- a/deploy.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-
-ember build
-netlify deploy
diff --git a/docs/.editorconfig b/docs/.editorconfig
new file mode 100644
index 00000000..c35a0024
--- /dev/null
+++ b/docs/.editorconfig
@@ -0,0 +1,19 @@
+# EditorConfig helps developers define and maintain consistent
+# coding styles between different editors and IDEs
+# editorconfig.org
+
+root = true
+
+[*]
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+indent_style = space
+indent_size = 2
+
+[*.hbs]
+insert_final_newline = false
+
+[*.{diff,md}]
+trim_trailing_whitespace = false
diff --git a/docs/.ember-cli b/docs/.ember-cli
new file mode 100644
index 00000000..465c4050
--- /dev/null
+++ b/docs/.ember-cli
@@ -0,0 +1,7 @@
+{
+ /**
+ Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript
+ rather than JavaScript by default, when a TypeScript version of a given blueprint is available.
+ */
+ "isTypeScriptProject": false
+}
diff --git a/docs/.eslintignore b/docs/.eslintignore
new file mode 100644
index 00000000..9385391f
--- /dev/null
+++ b/docs/.eslintignore
@@ -0,0 +1,13 @@
+# unconventional js
+/blueprints/*/files/
+
+# compiled output
+/dist/
+
+# misc
+/coverage/
+!.*
+.*/
+
+# ember-try
+/.node_modules.ember-try/
diff --git a/.eslintrc.js b/docs/.eslintrc.js
similarity index 89%
rename from .eslintrc.js
rename to docs/.eslintrc.js
index 10e83a52..25ceaab4 100644
--- a/.eslintrc.js
+++ b/docs/.eslintrc.js
@@ -32,11 +32,11 @@ module.exports = {
'./.stylelintrc.js',
'./.template-lintrc.js',
'./ember-cli-build.js',
- './index.js',
'./testem.js',
'./blueprints/*/index.js',
'./config/**/*.js',
- './tests/dummy/config/**/*.js',
+ './lib/*/index.js',
+ './server/**/*.js',
],
parserOptions: {
sourceType: 'script',
@@ -51,9 +51,6 @@ module.exports = {
// test files
files: ['tests/**/*-test.{js,ts}'],
extends: ['plugin:qunit/recommended'],
- rules: {
- 'qunit/require-expect': 'off',
- },
},
],
};
diff --git a/.prettierignore b/docs/.gitignore
similarity index 63%
rename from .prettierignore
rename to docs/.gitignore
index 4178fd57..71ad79d0 100644
--- a/.prettierignore
+++ b/docs/.gitignore
@@ -1,25 +1,25 @@
-# unconventional js
-/blueprints/*/files/
-/vendor/
-
# compiled output
/dist/
-/tmp/
+/declarations/
# dependencies
-/bower_components/
/node_modules/
# misc
+/.env*
+/.pnp*
+/.eslintcache
/coverage/
-!.*
-.eslintcache
-.lint-todo/
+/npm-debug.log*
+/testem.log
+/yarn-error.log
# ember-try
/.node_modules.ember-try/
-/bower.json.ember-try
/npm-shrinkwrap.json.ember-try
/package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try
+
+# broccoli-debug
+/DEBUG/
diff --git a/docs/.prettierignore b/docs/.prettierignore
new file mode 100644
index 00000000..e8f376b0
--- /dev/null
+++ b/docs/.prettierignore
@@ -0,0 +1,10 @@
+# Prettier is also run from each package, so the ignores here
+# protect against files that may not be within a package
+
+# misc
+!.*
+.lint-todo/
+
+# ember-try
+/.node_modules.ember-try/
+/pnpm-lock.ember-try.yaml
diff --git a/.prettierrc.js b/docs/.prettierrc.js
similarity index 100%
rename from .prettierrc.js
rename to docs/.prettierrc.js
diff --git a/.stylelintignore b/docs/.stylelintignore
similarity index 100%
rename from .stylelintignore
rename to docs/.stylelintignore
diff --git a/docs/.stylelintrc.js b/docs/.stylelintrc.js
new file mode 100644
index 00000000..021c539a
--- /dev/null
+++ b/docs/.stylelintrc.js
@@ -0,0 +1,5 @@
+'use strict';
+
+module.exports = {
+ extends: ['stylelint-config-standard', 'stylelint-prettier/recommended'],
+};
diff --git a/.template-lintrc.js b/docs/.template-lintrc.js
similarity index 100%
rename from .template-lintrc.js
rename to docs/.template-lintrc.js
diff --git a/docs/.watchmanconfig b/docs/.watchmanconfig
new file mode 100644
index 00000000..f9c3d8f8
--- /dev/null
+++ b/docs/.watchmanconfig
@@ -0,0 +1,3 @@
+{
+ "ignore_dirs": ["dist"]
+}
diff --git a/docs/README.md b/docs/README.md
new file mode 100644
index 00000000..b461ac49
--- /dev/null
+++ b/docs/README.md
@@ -0,0 +1,56 @@
+# docs
+
+This README outlines the details of collaborating on this Ember application.
+A short introduction of this app could easily go here.
+
+## Prerequisites
+
+You will need the following things properly installed on your computer.
+
+* [Git](https://git-scm.com/)
+* [Node.js](https://nodejs.org/) (with npm)
+* [Ember CLI](https://cli.emberjs.com/release/)
+* [Google Chrome](https://google.com/chrome/)
+
+## Installation
+
+* `git clone ` this repository
+* `cd docs`
+* `npm install`
+
+## Running / Development
+
+* `ember serve`
+* Visit your app at [http://localhost:4200](http://localhost:4200).
+* Visit your tests at [http://localhost:4200/tests](http://localhost:4200/tests).
+
+### Code Generators
+
+Make use of the many generators for code, try `ember help generate` for more details
+
+### Running Tests
+
+* `ember test`
+* `ember test --server`
+
+### Linting
+
+* `npm run lint`
+* `npm run lint:fix`
+
+### Building
+
+* `ember build` (development)
+* `ember build --environment production` (production)
+
+### Deploying
+
+Specify what it takes to deploy your app.
+
+## Further Reading / Useful Links
+
+* [ember.js](https://emberjs.com/)
+* [ember-cli](https://cli.emberjs.com/release/)
+* Development Browser Extensions
+ * [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)
+ * [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)
diff --git a/tests/dummy/app/app.js b/docs/app/app.js
similarity index 91%
rename from tests/dummy/app/app.js
rename to docs/app/app.js
index d0587d2a..7c2143ef 100644
--- a/tests/dummy/app/app.js
+++ b/docs/app/app.js
@@ -1,7 +1,7 @@
import Application from '@ember/application';
import Resolver from 'ember-resolver';
import loadInitializers from 'ember-load-initializers';
-import config from 'dummy/config/environment';
+import config from 'docs/config/environment';
import { registerDateLibrary } from 'ember-power-calendar';
import DateUtils from 'ember-power-calendar-moment';
diff --git a/addon/.gitkeep b/docs/app/components/.gitkeep
similarity index 100%
rename from addon/.gitkeep
rename to docs/app/components/.gitkeep
diff --git a/tests/dummy/app/components/calendar-nav-with-year-buttons.hbs b/docs/app/components/calendar-nav-with-year-buttons.hbs
similarity index 100%
rename from tests/dummy/app/components/calendar-nav-with-year-buttons.hbs
rename to docs/app/components/calendar-nav-with-year-buttons.hbs
diff --git a/docs/app/components/code-example.hbs b/docs/app/components/code-example.hbs
new file mode 100644
index 00000000..837d3e0a
--- /dev/null
+++ b/docs/app/components/code-example.hbs
@@ -0,0 +1,44 @@
+
+
+ {{#if (and @hbs (eq this.activeTab 'hbs'))}}
+ {{#let (get-code-snippet @hbs) as |snippet|}}
+
+ {{/let}}
+ {{/if}}
+ {{#if @hbs2}}
+ {{#let (get-code-snippet @hbs2) as |snippet|}}
+
+ {{/let}}
+ {{/if}}
+ {{#if (and @js (eq this.activeTab 'js'))}}
+ {{#let (get-code-snippet @js) as |snippet|}}
+
+ {{/let}}
+ {{/if}}
+ {{#if (and @css (eq this.activeTab 'css'))}}
+ {{#let (get-code-snippet @css) as |snippet|}}
+
+ {{/let}}
+ {{/if}}
+ {{#if (and this.showResult (has-block))}}
+
+ {{yield this.partialName}}
+
+ {{/if}}
+
\ No newline at end of file
diff --git a/docs/app/components/code-example.js b/docs/app/components/code-example.js
new file mode 100644
index 00000000..77cc3636
--- /dev/null
+++ b/docs/app/components/code-example.js
@@ -0,0 +1,21 @@
+import Component from '@glimmer/component';
+import { tracked } from '@glimmer/tracking';
+import { action } from '@ember/object';
+
+export default class CodeExampleComponent extends Component {
+ showResult = true;
+ @tracked _activeTab = undefined;
+
+ get activeTab() {
+ return this._activeTab || (this.showResult ? 'result' : 'js');
+ }
+
+ get partialName() {
+ return `snippets/${this.args.hbs.replace('.hbs', '')}`;
+ }
+
+ @action
+ setActiveTab(value) {
+ this._activeTab = value;
+ }
+}
diff --git a/docs/app/components/code-snippet.hbs b/docs/app/components/code-snippet.hbs
new file mode 100644
index 00000000..d07d5e69
--- /dev/null
+++ b/docs/app/components/code-snippet.hbs
@@ -0,0 +1,3 @@
+{{#let (get-code-snippet @name) as |snippet|}}
+
+{{/let}}
\ No newline at end of file
diff --git a/tests/dummy/app/components/code-snippet.js b/docs/app/components/code-snippet.js
similarity index 100%
rename from tests/dummy/app/components/code-snippet.js
rename to docs/app/components/code-snippet.js
diff --git a/tests/dummy/app/components/days-grid-without-mon-or-wed.hbs b/docs/app/components/days-grid-without-mon-or-wed.hbs
similarity index 100%
rename from tests/dummy/app/components/days-grid-without-mon-or-wed.hbs
rename to docs/app/components/days-grid-without-mon-or-wed.hbs
diff --git a/tests/dummy/app/components/days-grid-without-mon-or-wed.js b/docs/app/components/days-grid-without-mon-or-wed.js
similarity index 100%
rename from tests/dummy/app/components/days-grid-without-mon-or-wed.js
rename to docs/app/components/days-grid-without-mon-or-wed.js
diff --git a/tests/dummy/app/components/snippets/action-handling-1.hbs b/docs/app/components/snippets/action-handling-1.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/action-handling-1.hbs
rename to docs/app/components/snippets/action-handling-1.hbs
diff --git a/tests/dummy/app/components/snippets/action-handling-1.js b/docs/app/components/snippets/action-handling-1.js
similarity index 100%
rename from tests/dummy/app/components/snippets/action-handling-1.js
rename to docs/app/components/snippets/action-handling-1.js
diff --git a/tests/dummy/app/components/snippets/action-handling-2.hbs b/docs/app/components/snippets/action-handling-2.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/action-handling-2.hbs
rename to docs/app/components/snippets/action-handling-2.hbs
diff --git a/tests/dummy/app/components/snippets/action-handling-2.js b/docs/app/components/snippets/action-handling-2.js
similarity index 100%
rename from tests/dummy/app/components/snippets/action-handling-2.js
rename to docs/app/components/snippets/action-handling-2.js
diff --git a/tests/dummy/app/components/snippets/action-handling-3.hbs b/docs/app/components/snippets/action-handling-3.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/action-handling-3.hbs
rename to docs/app/components/snippets/action-handling-3.hbs
diff --git a/tests/dummy/app/components/snippets/action-handling-3.js b/docs/app/components/snippets/action-handling-3.js
similarity index 100%
rename from tests/dummy/app/components/snippets/action-handling-3.js
rename to docs/app/components/snippets/action-handling-3.js
diff --git a/tests/dummy/app/components/snippets/datepicker-1.hbs b/docs/app/components/snippets/datepicker-1.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/datepicker-1.hbs
rename to docs/app/components/snippets/datepicker-1.hbs
diff --git a/tests/dummy/app/components/snippets/datepicker-1.js b/docs/app/components/snippets/datepicker-1.js
similarity index 100%
rename from tests/dummy/app/components/snippets/datepicker-1.js
rename to docs/app/components/snippets/datepicker-1.js
diff --git a/tests/dummy/app/components/snippets/how-to-use-it-1.hbs b/docs/app/components/snippets/how-to-use-it-1.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/how-to-use-it-1.hbs
rename to docs/app/components/snippets/how-to-use-it-1.hbs
diff --git a/tests/dummy/app/components/snippets/how-to-use-it-1.js b/docs/app/components/snippets/how-to-use-it-1.js
similarity index 100%
rename from tests/dummy/app/components/snippets/how-to-use-it-1.js
rename to docs/app/components/snippets/how-to-use-it-1.js
diff --git a/tests/dummy/app/components/snippets/how-to-use-it-2.hbs b/docs/app/components/snippets/how-to-use-it-2.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/how-to-use-it-2.hbs
rename to docs/app/components/snippets/how-to-use-it-2.hbs
diff --git a/tests/dummy/app/components/snippets/how-to-use-it-2.js b/docs/app/components/snippets/how-to-use-it-2.js
similarity index 100%
rename from tests/dummy/app/components/snippets/how-to-use-it-2.js
rename to docs/app/components/snippets/how-to-use-it-2.js
diff --git a/tests/dummy/app/components/snippets/how-to-use-it-3.hbs b/docs/app/components/snippets/how-to-use-it-3.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/how-to-use-it-3.hbs
rename to docs/app/components/snippets/how-to-use-it-3.hbs
diff --git a/tests/dummy/app/components/snippets/how-to-use-it-3.js b/docs/app/components/snippets/how-to-use-it-3.js
similarity index 100%
rename from tests/dummy/app/components/snippets/how-to-use-it-3.js
rename to docs/app/components/snippets/how-to-use-it-3.js
diff --git a/tests/dummy/app/components/snippets/how-to-use-it-4.hbs b/docs/app/components/snippets/how-to-use-it-4.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/how-to-use-it-4.hbs
rename to docs/app/components/snippets/how-to-use-it-4.hbs
diff --git a/tests/dummy/app/components/snippets/how-to-use-it-4.js b/docs/app/components/snippets/how-to-use-it-4.js
similarity index 100%
rename from tests/dummy/app/components/snippets/how-to-use-it-4.js
rename to docs/app/components/snippets/how-to-use-it-4.js
diff --git a/tests/dummy/app/components/snippets/how-to-use-it-5.hbs b/docs/app/components/snippets/how-to-use-it-5.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/how-to-use-it-5.hbs
rename to docs/app/components/snippets/how-to-use-it-5.hbs
diff --git a/tests/dummy/app/components/snippets/how-to-use-it-5.js b/docs/app/components/snippets/how-to-use-it-5.js
similarity index 100%
rename from tests/dummy/app/components/snippets/how-to-use-it-5.js
rename to docs/app/components/snippets/how-to-use-it-5.js
diff --git a/tests/dummy/app/components/snippets/i18n-1.hbs b/docs/app/components/snippets/i18n-1.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/i18n-1.hbs
rename to docs/app/components/snippets/i18n-1.hbs
diff --git a/tests/dummy/app/components/snippets/i18n-1.js b/docs/app/components/snippets/i18n-1.js
similarity index 100%
rename from tests/dummy/app/components/snippets/i18n-1.js
rename to docs/app/components/snippets/i18n-1.js
diff --git a/tests/dummy/app/components/snippets/i18n-2.hbs b/docs/app/components/snippets/i18n-2.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/i18n-2.hbs
rename to docs/app/components/snippets/i18n-2.hbs
diff --git a/tests/dummy/app/components/snippets/i18n-2.js b/docs/app/components/snippets/i18n-2.js
similarity index 100%
rename from tests/dummy/app/components/snippets/i18n-2.js
rename to docs/app/components/snippets/i18n-2.js
diff --git a/tests/dummy/app/components/snippets/installation-1.scss b/docs/app/components/snippets/installation-1.scss
similarity index 100%
rename from tests/dummy/app/components/snippets/installation-1.scss
rename to docs/app/components/snippets/installation-1.scss
diff --git a/tests/dummy/app/components/snippets/installation-2.scss b/docs/app/components/snippets/installation-2.scss
similarity index 100%
rename from tests/dummy/app/components/snippets/installation-2.scss
rename to docs/app/components/snippets/installation-2.scss
diff --git a/tests/dummy/app/components/snippets/installation-2a.scss b/docs/app/components/snippets/installation-2a.scss
similarity index 100%
rename from tests/dummy/app/components/snippets/installation-2a.scss
rename to docs/app/components/snippets/installation-2a.scss
diff --git a/tests/dummy/app/components/snippets/installation-3.less b/docs/app/components/snippets/installation-3.less
similarity index 100%
rename from tests/dummy/app/components/snippets/installation-3.less
rename to docs/app/components/snippets/installation-3.less
diff --git a/tests/dummy/app/components/snippets/installation-4.less b/docs/app/components/snippets/installation-4.less
similarity index 100%
rename from tests/dummy/app/components/snippets/installation-4.less
rename to docs/app/components/snippets/installation-4.less
diff --git a/tests/dummy/app/components/snippets/installation.js b/docs/app/components/snippets/installation.js
similarity index 100%
rename from tests/dummy/app/components/snippets/installation.js
rename to docs/app/components/snippets/installation.js
diff --git a/tests/dummy/app/components/snippets/multiple-months-1-css.scss b/docs/app/components/snippets/multiple-months-1-css.scss
similarity index 100%
rename from tests/dummy/app/components/snippets/multiple-months-1-css.scss
rename to docs/app/components/snippets/multiple-months-1-css.scss
diff --git a/tests/dummy/app/components/snippets/multiple-months-1.hbs b/docs/app/components/snippets/multiple-months-1.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/multiple-months-1.hbs
rename to docs/app/components/snippets/multiple-months-1.hbs
diff --git a/tests/dummy/app/components/snippets/multiple-months-1.js b/docs/app/components/snippets/multiple-months-1.js
similarity index 100%
rename from tests/dummy/app/components/snippets/multiple-months-1.js
rename to docs/app/components/snippets/multiple-months-1.js
diff --git a/tests/dummy/app/components/snippets/multiple-months-2-css.css b/docs/app/components/snippets/multiple-months-2-css.css
similarity index 100%
rename from tests/dummy/app/components/snippets/multiple-months-2-css.css
rename to docs/app/components/snippets/multiple-months-2-css.css
diff --git a/tests/dummy/app/components/snippets/multiple-months-2.hbs b/docs/app/components/snippets/multiple-months-2.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/multiple-months-2.hbs
rename to docs/app/components/snippets/multiple-months-2.hbs
diff --git a/tests/dummy/app/components/snippets/multiple-months-2.js b/docs/app/components/snippets/multiple-months-2.js
similarity index 100%
rename from tests/dummy/app/components/snippets/multiple-months-2.js
rename to docs/app/components/snippets/multiple-months-2.js
diff --git a/tests/dummy/app/components/snippets/multiple-selection-1.hbs b/docs/app/components/snippets/multiple-selection-1.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/multiple-selection-1.hbs
rename to docs/app/components/snippets/multiple-selection-1.hbs
diff --git a/tests/dummy/app/components/snippets/multiple-selection-1.js b/docs/app/components/snippets/multiple-selection-1.js
similarity index 100%
rename from tests/dummy/app/components/snippets/multiple-selection-1.js
rename to docs/app/components/snippets/multiple-selection-1.js
diff --git a/tests/dummy/app/components/snippets/multiple-selection-2.hbs b/docs/app/components/snippets/multiple-selection-2.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/multiple-selection-2.hbs
rename to docs/app/components/snippets/multiple-selection-2.hbs
diff --git a/tests/dummy/app/components/snippets/multiple-selection-2.js b/docs/app/components/snippets/multiple-selection-2.js
similarity index 100%
rename from tests/dummy/app/components/snippets/multiple-selection-2.js
rename to docs/app/components/snippets/multiple-selection-2.js
diff --git a/tests/dummy/app/components/snippets/multiple-selection-3.hbs b/docs/app/components/snippets/multiple-selection-3.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/multiple-selection-3.hbs
rename to docs/app/components/snippets/multiple-selection-3.hbs
diff --git a/tests/dummy/app/components/snippets/multiple-selection-3.js b/docs/app/components/snippets/multiple-selection-3.js
similarity index 100%
rename from tests/dummy/app/components/snippets/multiple-selection-3.js
rename to docs/app/components/snippets/multiple-selection-3.js
diff --git a/tests/dummy/app/components/snippets/multiple-selection-4.hbs b/docs/app/components/snippets/multiple-selection-4.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/multiple-selection-4.hbs
rename to docs/app/components/snippets/multiple-selection-4.hbs
diff --git a/tests/dummy/app/components/snippets/multiple-selection-4.js b/docs/app/components/snippets/multiple-selection-4.js
similarity index 100%
rename from tests/dummy/app/components/snippets/multiple-selection-4.js
rename to docs/app/components/snippets/multiple-selection-4.js
diff --git a/tests/dummy/app/components/snippets/nav-select-1-css.css b/docs/app/components/snippets/nav-select-1-css.css
similarity index 100%
rename from tests/dummy/app/components/snippets/nav-select-1-css.css
rename to docs/app/components/snippets/nav-select-1-css.css
diff --git a/tests/dummy/app/components/snippets/nav-select-1.hbs b/docs/app/components/snippets/nav-select-1.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/nav-select-1.hbs
rename to docs/app/components/snippets/nav-select-1.hbs
diff --git a/tests/dummy/app/components/snippets/nav-select-1.js b/docs/app/components/snippets/nav-select-1.js
similarity index 100%
rename from tests/dummy/app/components/snippets/nav-select-1.js
rename to docs/app/components/snippets/nav-select-1.js
diff --git a/tests/dummy/app/components/snippets/nav-select-2.hbs b/docs/app/components/snippets/nav-select-2.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/nav-select-2.hbs
rename to docs/app/components/snippets/nav-select-2.hbs
diff --git a/tests/dummy/app/components/snippets/nav-select-2.js b/docs/app/components/snippets/nav-select-2.js
similarity index 100%
rename from tests/dummy/app/components/snippets/nav-select-2.js
rename to docs/app/components/snippets/nav-select-2.js
diff --git a/tests/dummy/app/components/snippets/nav-select-3.hbs b/docs/app/components/snippets/nav-select-3.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/nav-select-3.hbs
rename to docs/app/components/snippets/nav-select-3.hbs
diff --git a/tests/dummy/app/components/snippets/nav-select-3.js b/docs/app/components/snippets/nav-select-3.js
similarity index 100%
rename from tests/dummy/app/components/snippets/nav-select-3.js
rename to docs/app/components/snippets/nav-select-3.js
diff --git a/tests/dummy/app/components/snippets/range-selection-1.hbs b/docs/app/components/snippets/range-selection-1.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/range-selection-1.hbs
rename to docs/app/components/snippets/range-selection-1.hbs
diff --git a/tests/dummy/app/components/snippets/range-selection-1.js b/docs/app/components/snippets/range-selection-1.js
similarity index 100%
rename from tests/dummy/app/components/snippets/range-selection-1.js
rename to docs/app/components/snippets/range-selection-1.js
diff --git a/tests/dummy/app/components/snippets/range-selection-2.hbs b/docs/app/components/snippets/range-selection-2.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/range-selection-2.hbs
rename to docs/app/components/snippets/range-selection-2.hbs
diff --git a/tests/dummy/app/components/snippets/range-selection-2.js b/docs/app/components/snippets/range-selection-2.js
similarity index 100%
rename from tests/dummy/app/components/snippets/range-selection-2.js
rename to docs/app/components/snippets/range-selection-2.js
diff --git a/tests/dummy/app/components/snippets/range-selection-3.hbs b/docs/app/components/snippets/range-selection-3.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/range-selection-3.hbs
rename to docs/app/components/snippets/range-selection-3.hbs
diff --git a/tests/dummy/app/components/snippets/range-selection-3.js b/docs/app/components/snippets/range-selection-3.js
similarity index 100%
rename from tests/dummy/app/components/snippets/range-selection-3.js
rename to docs/app/components/snippets/range-selection-3.js
diff --git a/tests/dummy/app/components/snippets/range-selection-4.hbs b/docs/app/components/snippets/range-selection-4.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/range-selection-4.hbs
rename to docs/app/components/snippets/range-selection-4.hbs
diff --git a/tests/dummy/app/components/snippets/range-selection-4.js b/docs/app/components/snippets/range-selection-4.js
similarity index 100%
rename from tests/dummy/app/components/snippets/range-selection-4.js
rename to docs/app/components/snippets/range-selection-4.js
diff --git a/tests/dummy/app/components/snippets/range-selection-5.hbs b/docs/app/components/snippets/range-selection-5.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/range-selection-5.hbs
rename to docs/app/components/snippets/range-selection-5.hbs
diff --git a/tests/dummy/app/components/snippets/range-selection-5.js b/docs/app/components/snippets/range-selection-5.js
similarity index 100%
rename from tests/dummy/app/components/snippets/range-selection-5.js
rename to docs/app/components/snippets/range-selection-5.js
diff --git a/tests/dummy/app/components/snippets/range-selection-6.hbs b/docs/app/components/snippets/range-selection-6.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/range-selection-6.hbs
rename to docs/app/components/snippets/range-selection-6.hbs
diff --git a/tests/dummy/app/components/snippets/range-selection-6.js b/docs/app/components/snippets/range-selection-6.js
similarity index 100%
rename from tests/dummy/app/components/snippets/range-selection-6.js
rename to docs/app/components/snippets/range-selection-6.js
diff --git a/tests/dummy/app/components/snippets/range-selection-7.hbs b/docs/app/components/snippets/range-selection-7.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/range-selection-7.hbs
rename to docs/app/components/snippets/range-selection-7.hbs
diff --git a/tests/dummy/app/components/snippets/range-selection-7.js b/docs/app/components/snippets/range-selection-7.js
similarity index 100%
rename from tests/dummy/app/components/snippets/range-selection-7.js
rename to docs/app/components/snippets/range-selection-7.js
diff --git a/tests/dummy/app/components/snippets/system-wide-config-1-js.js b/docs/app/components/snippets/system-wide-config-1-js.js
similarity index 100%
rename from tests/dummy/app/components/snippets/system-wide-config-1-js.js
rename to docs/app/components/snippets/system-wide-config-1-js.js
diff --git a/tests/dummy/app/components/snippets/test-helpers-1-js.js b/docs/app/components/snippets/test-helpers-1-js.js
similarity index 100%
rename from tests/dummy/app/components/snippets/test-helpers-1-js.js
rename to docs/app/components/snippets/test-helpers-1-js.js
diff --git a/tests/dummy/app/components/snippets/test-helpers-2-js.js b/docs/app/components/snippets/test-helpers-2-js.js
similarity index 100%
rename from tests/dummy/app/components/snippets/test-helpers-2-js.js
rename to docs/app/components/snippets/test-helpers-2-js.js
diff --git a/tests/dummy/app/components/snippets/test-helpers-3-js.js b/docs/app/components/snippets/test-helpers-3-js.js
similarity index 100%
rename from tests/dummy/app/components/snippets/test-helpers-3-js.js
rename to docs/app/components/snippets/test-helpers-3-js.js
diff --git a/tests/dummy/app/components/snippets/the-days-0.hbs b/docs/app/components/snippets/the-days-0.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-0.hbs
rename to docs/app/components/snippets/the-days-0.hbs
diff --git a/tests/dummy/app/components/snippets/the-days-0.js b/docs/app/components/snippets/the-days-0.js
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-0.js
rename to docs/app/components/snippets/the-days-0.js
diff --git a/tests/dummy/app/components/snippets/the-days-1.hbs b/docs/app/components/snippets/the-days-1.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-1.hbs
rename to docs/app/components/snippets/the-days-1.hbs
diff --git a/tests/dummy/app/components/snippets/the-days-1.js b/docs/app/components/snippets/the-days-1.js
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-1.js
rename to docs/app/components/snippets/the-days-1.js
diff --git a/tests/dummy/app/components/snippets/the-days-2.hbs b/docs/app/components/snippets/the-days-2.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-2.hbs
rename to docs/app/components/snippets/the-days-2.hbs
diff --git a/tests/dummy/app/components/snippets/the-days-2.js b/docs/app/components/snippets/the-days-2.js
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-2.js
rename to docs/app/components/snippets/the-days-2.js
diff --git a/tests/dummy/app/components/snippets/the-days-3.hbs b/docs/app/components/snippets/the-days-3.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-3.hbs
rename to docs/app/components/snippets/the-days-3.hbs
diff --git a/tests/dummy/app/components/snippets/the-days-3.js b/docs/app/components/snippets/the-days-3.js
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-3.js
rename to docs/app/components/snippets/the-days-3.js
diff --git a/tests/dummy/app/components/snippets/the-days-4.hbs b/docs/app/components/snippets/the-days-4.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-4.hbs
rename to docs/app/components/snippets/the-days-4.hbs
diff --git a/tests/dummy/app/components/snippets/the-days-4.js b/docs/app/components/snippets/the-days-4.js
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-4.js
rename to docs/app/components/snippets/the-days-4.js
diff --git a/tests/dummy/app/components/snippets/the-days-5.hbs b/docs/app/components/snippets/the-days-5.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-5.hbs
rename to docs/app/components/snippets/the-days-5.hbs
diff --git a/tests/dummy/app/components/snippets/the-days-5.js b/docs/app/components/snippets/the-days-5.js
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-5.js
rename to docs/app/components/snippets/the-days-5.js
diff --git a/tests/dummy/app/components/snippets/the-days-6.hbs b/docs/app/components/snippets/the-days-6.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-6.hbs
rename to docs/app/components/snippets/the-days-6.hbs
diff --git a/tests/dummy/app/components/snippets/the-days-6.js b/docs/app/components/snippets/the-days-6.js
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-6.js
rename to docs/app/components/snippets/the-days-6.js
diff --git a/tests/dummy/app/components/snippets/the-days-7.hbs b/docs/app/components/snippets/the-days-7.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-7.hbs
rename to docs/app/components/snippets/the-days-7.hbs
diff --git a/tests/dummy/app/components/snippets/the-days-7.js b/docs/app/components/snippets/the-days-7.js
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-7.js
rename to docs/app/components/snippets/the-days-7.js
diff --git a/tests/dummy/app/components/snippets/the-days-8.hbs b/docs/app/components/snippets/the-days-8.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-8.hbs
rename to docs/app/components/snippets/the-days-8.hbs
diff --git a/tests/dummy/app/components/snippets/the-days-8.js b/docs/app/components/snippets/the-days-8.js
similarity index 100%
rename from tests/dummy/app/components/snippets/the-days-8.js
rename to docs/app/components/snippets/the-days-8.js
diff --git a/tests/dummy/app/components/snippets/the-nav-1.hbs b/docs/app/components/snippets/the-nav-1.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/the-nav-1.hbs
rename to docs/app/components/snippets/the-nav-1.hbs
diff --git a/tests/dummy/app/components/snippets/the-nav-1.js b/docs/app/components/snippets/the-nav-1.js
similarity index 100%
rename from tests/dummy/app/components/snippets/the-nav-1.js
rename to docs/app/components/snippets/the-nav-1.js
diff --git a/tests/dummy/app/components/snippets/the-nav-2.hbs b/docs/app/components/snippets/the-nav-2.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/the-nav-2.hbs
rename to docs/app/components/snippets/the-nav-2.hbs
diff --git a/tests/dummy/app/components/snippets/the-nav-2.js b/docs/app/components/snippets/the-nav-2.js
similarity index 100%
rename from tests/dummy/app/components/snippets/the-nav-2.js
rename to docs/app/components/snippets/the-nav-2.js
diff --git a/tests/dummy/app/components/snippets/the-nav-3.hbs b/docs/app/components/snippets/the-nav-3.hbs
similarity index 100%
rename from tests/dummy/app/components/snippets/the-nav-3.hbs
rename to docs/app/components/snippets/the-nav-3.hbs
diff --git a/tests/dummy/app/components/snippets/the-nav-3.js b/docs/app/components/snippets/the-nav-3.js
similarity index 100%
rename from tests/dummy/app/components/snippets/the-nav-3.js
rename to docs/app/components/snippets/the-nav-3.js
diff --git a/app/.gitkeep b/docs/app/controllers/.gitkeep
similarity index 100%
rename from app/.gitkeep
rename to docs/app/controllers/.gitkeep
diff --git a/tests/dummy/app/controllers/application.js b/docs/app/controllers/application.js
similarity index 100%
rename from tests/dummy/app/controllers/application.js
rename to docs/app/controllers/application.js
diff --git a/tests/dummy/app/controllers/public-pages.js b/docs/app/controllers/public-pages.js
similarity index 100%
rename from tests/dummy/app/controllers/public-pages.js
rename to docs/app/controllers/public-pages.js
diff --git a/tests/dummy/app/controllers/public-pages/cookbook.js b/docs/app/controllers/public-pages/cookbook.js
similarity index 100%
rename from tests/dummy/app/controllers/public-pages/cookbook.js
rename to docs/app/controllers/public-pages/cookbook.js
diff --git a/tests/dummy/app/controllers/public-pages/cookbook/datepicker.js b/docs/app/controllers/public-pages/cookbook/datepicker.js
similarity index 100%
rename from tests/dummy/app/controllers/public-pages/cookbook/datepicker.js
rename to docs/app/controllers/public-pages/cookbook/datepicker.js
diff --git a/tests/dummy/app/controllers/public-pages/cookbook/multiple-months.js b/docs/app/controllers/public-pages/cookbook/multiple-months.js
similarity index 100%
rename from tests/dummy/app/controllers/public-pages/cookbook/multiple-months.js
rename to docs/app/controllers/public-pages/cookbook/multiple-months.js
diff --git a/tests/dummy/app/controllers/public-pages/cookbook/nav-select.js b/docs/app/controllers/public-pages/cookbook/nav-select.js
similarity index 100%
rename from tests/dummy/app/controllers/public-pages/cookbook/nav-select.js
rename to docs/app/controllers/public-pages/cookbook/nav-select.js
diff --git a/tests/dummy/app/controllers/public-pages/docs.js b/docs/app/controllers/public-pages/docs.js
similarity index 100%
rename from tests/dummy/app/controllers/public-pages/docs.js
rename to docs/app/controllers/public-pages/docs.js
diff --git a/tests/dummy/app/controllers/public-pages/docs/action-handling.js b/docs/app/controllers/public-pages/docs/action-handling.js
similarity index 100%
rename from tests/dummy/app/controllers/public-pages/docs/action-handling.js
rename to docs/app/controllers/public-pages/docs/action-handling.js
diff --git a/tests/dummy/app/controllers/public-pages/docs/how-to-use-it.js b/docs/app/controllers/public-pages/docs/how-to-use-it.js
similarity index 100%
rename from tests/dummy/app/controllers/public-pages/docs/how-to-use-it.js
rename to docs/app/controllers/public-pages/docs/how-to-use-it.js
diff --git a/tests/dummy/app/controllers/public-pages/docs/i18n.js b/docs/app/controllers/public-pages/docs/i18n.js
similarity index 100%
rename from tests/dummy/app/controllers/public-pages/docs/i18n.js
rename to docs/app/controllers/public-pages/docs/i18n.js
diff --git a/tests/dummy/app/controllers/public-pages/docs/multiple-selection.js b/docs/app/controllers/public-pages/docs/multiple-selection.js
similarity index 100%
rename from tests/dummy/app/controllers/public-pages/docs/multiple-selection.js
rename to docs/app/controllers/public-pages/docs/multiple-selection.js
diff --git a/tests/dummy/app/controllers/public-pages/docs/range-selection.js b/docs/app/controllers/public-pages/docs/range-selection.js
similarity index 100%
rename from tests/dummy/app/controllers/public-pages/docs/range-selection.js
rename to docs/app/controllers/public-pages/docs/range-selection.js
diff --git a/tests/dummy/app/controllers/public-pages/docs/the-days.js b/docs/app/controllers/public-pages/docs/the-days.js
similarity index 100%
rename from tests/dummy/app/controllers/public-pages/docs/the-days.js
rename to docs/app/controllers/public-pages/docs/the-days.js
diff --git a/tests/dummy/app/controllers/public-pages/docs/the-nav.js b/docs/app/controllers/public-pages/docs/the-nav.js
similarity index 100%
rename from tests/dummy/app/controllers/public-pages/docs/the-nav.js
rename to docs/app/controllers/public-pages/docs/the-nav.js
diff --git a/tests/dummy/app/controllers/public-pages/index.js b/docs/app/controllers/public-pages/index.js
similarity index 100%
rename from tests/dummy/app/controllers/public-pages/index.js
rename to docs/app/controllers/public-pages/index.js
diff --git a/tests/dummy/app/components/.gitkeep b/docs/app/helpers/.gitkeep
similarity index 100%
rename from tests/dummy/app/components/.gitkeep
rename to docs/app/helpers/.gitkeep
diff --git a/tests/dummy/app/helpers/format-date.js b/docs/app/helpers/format-date.js
similarity index 100%
rename from tests/dummy/app/helpers/format-date.js
rename to docs/app/helpers/format-date.js
diff --git a/tests/dummy/app/index.html b/docs/app/index.html
similarity index 87%
rename from tests/dummy/app/index.html
rename to docs/app/index.html
index 33e46551..d44bf268 100644
--- a/tests/dummy/app/index.html
+++ b/docs/app/index.html
@@ -9,14 +9,14 @@
{{content-for "head"}}
-
+
{{content-for "head-footer"}}
{{content-for "body"}}
-
+
{{content-for "body-footer"}}