Skip to content

Commit

Permalink
Merge pull request #55 from josemarluedke/feat/rename-modals-to-overlays
Browse files Browse the repository at this point in the history
Rename modals package to overlays
  • Loading branch information
josemarluedke committed Apr 2, 2020
2 parents 41c8d23 + 18d1169 commit e8301e5
Show file tree
Hide file tree
Showing 40 changed files with 15 additions and 15 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/modals/README.md → packages/overlays/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@frontile/modals
@frontile/overlays
==============================================================================

[Short description of the addon.]
Expand All @@ -16,7 +16,7 @@ Installation
------------------------------------------------------------------------------

```
ember install @frontile/modals
ember install @frontile/overlays
```


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@frontile/modals",
"name": "@frontile/overlays",
"version": "0.0.0",
"description": "Component Library for Ember Octane apps: modals",
"description": "Component Library for Ember Octane apps: overlays",
"keywords": [
"ember-addon"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { resolve, isEmpty } = require('@frontile/tailwindcss-plugin-helpers');
module.exports = plugin.withOptions(function (userConfig) {
return function ({ addComponents, theme }) {
const { options } = resolve(
'@frontile/modals',
'@frontile/overlays',
require('./addon/tailwind/default-options'),
userConfig,
theme
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>@frontile/modals</title>
<title>@frontile/overlays</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const path = require('path');
delete require.cache[
path.join(
path.dirname(require.resolve('@frontile/modals')),
path.dirname(require.resolve('@frontile/overlays')),
'addon/tailwind/default-options.js'
)
];
Expand All @@ -14,5 +14,5 @@ module.exports = {
extend: {}
},
variants: {},
plugins: [require('@frontile/modals/tailwind')]
plugins: [require('@frontile/overlays/tailwind')]
};
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="container p-4 mx-auto">
<div class="flex flex-wrap items-center justify-between mb-6">
<h2 class="inline-block text-3xl font-bold text-teal-600">
@frontile/modals
@frontile/overlays
</h2>

<a href="/tests?hidepassed" class="px-4 py-2 text-teal-600 border border-teal-600 rounded hover:bg-teal-700 hover:text-white">
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>@frontile/modals Tests</title>
<title>@frontile/overlays Tests</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
"tests/dummy/app/*",
"app/*"
],
"@frontile/modals": [
"@frontile/overlays": [
"addon"
],
"@frontile/modals/*": [
"@frontile/overlays/*": [
"addon/*"
],
"@frontile/modals/test-support": [
"@frontile/overlays/test-support": [
"addon-test-support"
],
"@frontile/modals/test-support/*": [
"@frontile/overlays/test-support/*": [
"addon-test-support/*"
],
"*": [
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Types for compiled templates
declare module '@frontile/modals/templates/*' {
declare module '@frontile/overlays/templates/*' {
import { TemplateFactory } from 'htmlbars-inline-precompile';
const tmpl: TemplateFactory;
export default tmpl;
Expand Down
File renamed without changes.

0 comments on commit e8301e5

Please sign in to comment.