Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
AmauryD committed Jul 27, 2022
1 parent 27d0640 commit 755be64
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/ember-input-validation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@triptyk/ember-input-validation",
"version": "0.0.20",
"version": "0.0.21",
"description": "This addon will give you an input in TailwindCSS with Ember",
"keywords": [
"ember-addon",
Expand Down
2 changes: 1 addition & 1 deletion packages/ember-input/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@triptyk/ember-input",
"version": "0.0.20",
"version": "0.0.21",
"description": "This addon will give you an input in TailwindCSS with Ember",
"keywords": [
"ember-addon",
Expand Down
10 changes: 6 additions & 4 deletions packages/ember-modal/addon/components/tpk-modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,14 @@ export default class UiModal extends Component<UiModalArgs> {
outsideClickHandler(e: PointerEvent) {
if (!this.isOnTop) return;
if (this.args.outsideClickHandler) {
if (this.args.outsideClickHandler(e)) {
return this.args.onClose();
if (!this.args.outsideClickHandler(e)) {
this.args.onClose();
return false;
}
return;
return true;
}
return this.args.onClose();
this.args.onClose();
return false;
}

@action
Expand Down
2 changes: 1 addition & 1 deletion packages/ember-modal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@triptyk/ember-modal",
"version": "0.0.20",
"version": "0.0.21",
"description": "Easy tailwindcss modal in Ember.JS",
"keywords": [
"ember-addon",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ module('Integration | Component | modal', function (hooks) {
});
this.set('handler', (e: PointerEvent) => {
if ((e.target as HTMLElement).id !== 'other') {
return true;
return false;
}
return false;
return true;
});
this.set('isOpen', true);
this.set('title', 'My modal');
Expand Down
2 changes: 1 addition & 1 deletion packages/ember-select/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@triptyk/ember-select",
"version": "0.0.20",
"version": "0.0.21",
"description": "This addon will give you a simple select alternative in TailwindCSS with Ember",
"keywords": [
"ember-addon",
Expand Down
2 changes: 1 addition & 1 deletion packages/ember-stepper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@triptyk/ember-stepper",
"version": "0.0.20",
"version": "0.0.21",
"description": "This addon will give you a simple select alternative in TailwindCSS with Ember",
"keywords": [
"ember-addon",
Expand Down

0 comments on commit 755be64

Please sign in to comment.