diff --git a/addon/components/au-accordion.gts b/addon/components/au-accordion.gts index 41043c6dc..3fd550668 100644 --- a/addon/components/au-accordion.gts +++ b/addon/components/au-accordion.gts @@ -8,6 +8,8 @@ import AuContent from './au-content'; import AuIcon, { type AuIconSignature } from './au-icon'; import AuLoader from './au-loader'; import AuToolbar from './au-toolbar'; +import { NavDownIcon } from './icons/nav-down'; +import { NavRightIcon } from './icons/nav-right'; const autofocus = modifier(function autofocus(element: HTMLElement) { element.focus(); @@ -48,7 +50,7 @@ export default class AuAccordion extends Component { if (this.args.iconOpen) { return this.args.iconOpen; } else { - return 'nav-down'; + return NavDownIcon; } } @@ -56,7 +58,7 @@ export default class AuAccordion extends Component { if (this.args.iconClosed) { return this.args.iconClosed; } else { - return 'nav-right'; + return NavRightIcon; } } diff --git a/addon/components/au-alert.gts b/addon/components/au-alert.gts index 483940c5a..2c46664a8 100644 --- a/addon/components/au-alert.gts +++ b/addon/components/au-alert.gts @@ -3,6 +3,7 @@ import { action } from '@ember/object'; import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import AuIcon, { type AuIconSignature } from './au-icon'; +import { CrossIcon } from './icons/cross'; export interface AuAlertSignature { Args: { @@ -79,7 +80,7 @@ export default class AuAlert extends Component { data-test-alert-close {{on "click" this.closeAlert}} > - + Sluit {{/if}} diff --git a/addon/components/au-card.gts b/addon/components/au-card.gts index 960afdd94..ecaf2586d 100644 --- a/addon/components/au-card.gts +++ b/addon/components/au-card.gts @@ -7,6 +7,10 @@ import AuBadge from './au-badge'; import AuButton from './au-button'; import AuContent, { type AuContentSignature } from './au-content'; import AuIcon, { type AuIconSignature } from './au-icon'; +import { AddIcon } from './icons/add'; +import { NavDownIcon } from './icons/nav-down'; +import { NavUpIcon } from './icons/nav-up'; +import { RemoveIcon } from './icons/remove'; export interface AuCardSignature { Args: { @@ -128,12 +132,16 @@ export default class AuCard extends Component { aria-expanded={{if this.sectionOpen "true" "false"}} > {{#if this.sectionOpen}} - + Verberg {{else}} - + Toon @@ -158,12 +166,20 @@ export default class AuCard extends Component { aria-expanded={{if this.sectionOpen "true" "false"}} > {{#if this.sectionOpen}} - + Verberg {{else}} - + Toon diff --git a/addon/components/au-data-table/number-pagination.hbs b/addon/components/au-data-table/number-pagination.hbs index e6bbe15f3..a7cbd0ff0 100644 --- a/addon/components/au-data-table/number-pagination.hbs +++ b/addon/components/au-data-table/number-pagination.hbs @@ -12,7 +12,7 @@
  • vorige @@ -24,7 +24,7 @@
  • diff --git a/addon/components/au-data-table/number-pagination.js b/addon/components/au-data-table/number-pagination.js index 7700314d9..2ea9898a4 100644 --- a/addon/components/au-data-table/number-pagination.js +++ b/addon/components/au-data-table/number-pagination.js @@ -1,9 +1,14 @@ import NumberPagination from 'ember-data-table/components/number-pagination'; import { computed } from '@ember/object'; +import { NavLeftIcon } from '../icons/nav-left'; +import { NavRightIcon } from '../icons/nav-right'; export default NumberPagination.extend({ tagName: '', + NavLeftIcon, + NavRightIcon, + totalItems: computed('total', 'nbOfItems', function () { return this.total ? this.total : this.nbOfItems; }), diff --git a/addon/components/au-data-table/text-search.hbs b/addon/components/au-data-table/text-search.hbs index 620acd680..14477e83b 100644 --- a/addon/components/au-data-table/text-search.hbs +++ b/addon/components/au-data-table/text-search.hbs @@ -5,6 +5,6 @@ class="au-c-input au-c-input--block" /> - + \ No newline at end of file diff --git a/addon/components/au-data-table/text-search.js b/addon/components/au-data-table/text-search.js index 78738c564..cff3fc3df 100644 --- a/addon/components/au-data-table/text-search.js +++ b/addon/components/au-data-table/text-search.js @@ -1,3 +1,6 @@ import TextSearch from 'ember-data-table/components/text-search'; +import { SearchIcon } from '../icons/search'; -export default TextSearch.extend({}); +export default TextSearch.extend({ + SearchIcon, +}); diff --git a/addon/components/au-data-table/th-sortable.hbs b/addon/components/au-data-table/th-sortable.hbs index 6938ddada..81700e7bb 100644 --- a/addon/components/au-data-table/th-sortable.hbs +++ b/addon/components/au-data-table/th-sortable.hbs @@ -10,7 +10,7 @@ class="au-c-data-table__sort" > Oplopend sorteren - + {{else if (eq this.order "asc")}} {{else}} {{/if}} \ No newline at end of file diff --git a/addon/components/au-data-table/th-sortable.js b/addon/components/au-data-table/th-sortable.js index 0bb3f3e08..8c3b76b19 100644 --- a/addon/components/au-data-table/th-sortable.js +++ b/addon/components/au-data-table/th-sortable.js @@ -1,3 +1,10 @@ import ThSortable from 'ember-data-table/components/th-sortable'; +import { NavDownIcon } from '../icons/nav-down'; +import { NavUpIcon } from '../icons/nav-up'; +import { NavUpDownIcon } from '../icons/nav-up-down'; -export default ThSortable.extend({}); +export default ThSortable.extend({ + NavDownIcon, + NavUpIcon, + NavUpDownIcon, +}); diff --git a/addon/components/au-date-input.gts b/addon/components/au-date-input.gts index 3146f7079..b51ebce0b 100644 --- a/addon/components/au-date-input.gts +++ b/addon/components/au-date-input.gts @@ -3,6 +3,7 @@ import AuInput, { type AuInputSignature } from './au-input'; import auDateInput, { type AuDateInputModifierSignature, } from '../modifiers/au-date-input'; +import { CalendarIcon } from './icons/calendar'; export interface AuDateInputSignature { Args: { @@ -23,7 +24,7 @@ export default class AuDateInput extends Component { { > {{#if this.warning}} { {{/if}} {{#if this.error}} { data-test-file-card-delete {{on "click" this.delete}} > - + Verwijderen {{/if}} @@ -65,7 +67,7 @@ export default class AuFileCard extends Component { download={{@filename}} data-test-file-card-download > - + Download bestand diff --git a/addon/components/au-file-upload.gts b/addon/components/au-file-upload.gts index f75b5d87d..07fcb85c1 100644 --- a/addon/components/au-file-upload.gts +++ b/addon/components/au-file-upload.gts @@ -10,6 +10,8 @@ import type { FileQueueService, UploadFile } from 'ember-file-upload'; import AuAlert from './au-alert'; import AuHelpText from './au-help-text'; import AuIcon from './au-icon'; +import { AttachmentIcon } from './icons/attachment'; +import { AlertTriangleIcon } from './icons/alert-triangle'; export interface AuFileUploadSignature { Args: { @@ -194,7 +196,7 @@ export default class AuFileUpload extends Component { > {{#if dropzone.active}}

    - + {{this.helpTextDragDrop}}

    {{else if queue.files.length}} @@ -212,7 +214,7 @@ export default class AuFileUpload extends Component { /> - + {{this.title}} {{#if dropzone.supported}} @@ -228,7 +230,7 @@ export default class AuFileUpload extends Component { {{#if this.hasErrors}} { > {{#if this.warning}} { {{/if}} {{#if this.error}} { Contacteer ons diff --git a/addon/components/au-modal.gjs b/addon/components/au-modal.gjs index 18238bab1..025edc4ba 100644 --- a/addon/components/au-modal.gjs +++ b/addon/components/au-modal.gjs @@ -5,6 +5,7 @@ import { on } from '@ember/modifier'; import { action } from '@ember/object'; import Component from '@glimmer/component'; import { focusTrap } from 'ember-focus-trap'; +import { CrossIcon } from './icons/cross'; import { cn } from '../private/helpers/class-names'; // TODO: replace these with the named imports from ember-truth-helpers v4 once our dependencies support that version @@ -133,7 +134,7 @@ export default class AuModal extends Component { data-test-modal-close {{on "click" this.handleCloseClick}} > - + Venster sluiten