dlg-ui 1.0.24 → 1.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,6 @@
1
+ <div class="btn-primary"
2
+ {{on "click" this.onClick}}
3
+ ...attributes
4
+ >
5
+ {{yield}}
6
+ </div>
@@ -0,0 +1,9 @@
1
+ import Component from '@glimmer/component';
2
+
3
+ export default class ButtonPrimaryComponent extends Component {
4
+ onClick = () => {
5
+ if (this.args.onClick) {
6
+ this.args.onClick();
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,13 @@
1
+ .btn-primary {
2
+ background-color: #eee;
3
+ color: black;
4
+ border: solid;
5
+ padding: 10px 20px;
6
+ cursor: pointer;
7
+ width: fit-content;
8
+ height: fit-content;
9
+ }
10
+
11
+ .btn-primary:hover {
12
+ background-color: #ccc;
13
+ }
@@ -0,0 +1 @@
1
+ export { default } from 'dlg-ui/components/button-primary';
package/index.js CHANGED
@@ -11,7 +11,7 @@ module.exports = {
11
11
  this._super.included.apply(this, arguments);
12
12
 
13
13
  // Concatenate all CSS files into addon.css at build time
14
- this.concatCSSFiles();
14
+ // this.concatCSSFiles();
15
15
  },
16
16
 
17
17
  treeForPublic() {
@@ -31,6 +31,7 @@ module.exports = {
31
31
  'fly-in.css',
32
32
  'navbar.css',
33
33
  'player-card.css',
34
+ 'button.css',
34
35
  ];
35
36
 
36
37
  // Start with existing addon.css content (without the @import statements)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dlg-ui",
3
- "version": "1.0.24",
3
+ "version": "1.0.27",
4
4
  "description": "The default blueprint for ember-cli addons.",
5
5
  "keywords": [
6
6
  "ember-addon"