-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from TRIPTYK/feature/tk-ui-58
Feature/tk UI 58
- Loading branch information
Showing
24 changed files
with
647 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 13 additions & 1 deletion
14
doc-app/app/controllers/docs/ember-input-validation/prefabs/timepicker.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
import Controller from '@ember/controller'; | ||
import { ImmerChangeset } from 'ember-immer-changeset'; | ||
import { tracked } from '@glimmer/tracking'; | ||
import type Owner from '@ember/owner'; | ||
|
||
export default class DocsEmberInputValidationPrefabsTimepickerController extends Controller { | ||
constructor(owner: Owner) { | ||
super(owner); | ||
this.changeset.addError({ | ||
message: 'This is an error message', | ||
value: '', | ||
originalValue: '', | ||
key: 'error', | ||
}); | ||
} | ||
changeset = new ImmerChangeset({ | ||
time: undefined, | ||
time: null, | ||
disabled: null, | ||
error: null, | ||
}); | ||
} |
13 changes: 13 additions & 0 deletions
13
doc-app/app/controllers/docs/ember-input-validation/prefabs/vat.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,22 @@ | ||
import Controller from '@ember/controller'; | ||
import { ImmerChangeset } from 'ember-immer-changeset'; | ||
import { tracked } from '@glimmer/tracking'; | ||
import type Owner from '@ember/owner'; | ||
|
||
export default class DocsEmberInputValidationPrefabsVATController extends Controller { | ||
constructor(owner: Owner) { | ||
super(owner); | ||
this.changeset.addError({ | ||
message: 'This is an error message', | ||
value: '', | ||
originalValue: '', | ||
key: 'error', | ||
}); | ||
} | ||
|
||
changeset = new ImmerChangeset({ | ||
vat: '', | ||
disabled: '', | ||
error: '', | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.form-doc .button { | ||
@apply btn btn-primary; | ||
} | ||
|
||
.form-content { | ||
@apply grid grid-cols-12 gap-4; | ||
} | ||
|
||
.form-content > * { | ||
@apply col-span-4; | ||
} | ||
|
||
.form-content > .tpk-mobile-container { | ||
@apply col-span-8; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
@import url("checkbox.css"); | ||
@import url("loading.css"); | ||
@import url("radio.css"); | ||
@import url("form.css"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.