From d7b8dddd2ed5d50679ae0ba6a2c777fc0e506d16 Mon Sep 17 00:00:00 2001 From: claire bontempo <68122737+hellobontempo@users.noreply.github.com> Date: Wed, 15 Nov 2023 11:58:41 -0800 Subject: [PATCH] UI: HDS adoption replace + /> {{/if}} {{/let}} diff --git a/ui/lib/core/addon/components/json-editor.hbs b/ui/lib/core/addon/components/json-editor.hbs index 83cddee653..b7b15e3b72 100644 --- a/ui/lib/core/addon/components/json-editor.hbs +++ b/ui/lib/core/addon/components/json-editor.hbs @@ -16,16 +16,14 @@ {{yield}} {{#if @example}} - + /> {{/if}}
{{/if}} -
+
{{#if (eq this.kvData.length (inc index))}} - + {{else}} - + /> {{/if}}
diff --git a/ui/lib/core/addon/components/masked-input.hbs b/ui/lib/core/addon/components/masked-input.hbs index 188cb5fc8f..221e6b0fbb 100644 --- a/ui/lib/core/addon/components/masked-input.hbs +++ b/ui/lib/core/addon/components/masked-input.hbs @@ -54,16 +54,15 @@ {{on "click" (fn (mut this.modalOpen) true)}} /> {{/if}} - + {{on "click" this.toggleMask}} + /> {{! CONFIRM DOWNLOAD MODAL }} diff --git a/ui/lib/core/addon/components/object-list-input.hbs b/ui/lib/core/addon/components/object-list-input.hbs index 8885cbf19c..1b0a838e80 100644 --- a/ui/lib/core/addon/components/object-list-input.hbs +++ b/ui/lib/core/addon/components/object-list-input.hbs @@ -6,10 +6,10 @@ {{yield}} {{#each this.inputList as |row index|}} {{#let (get @validationErrors index) as |rowValidations|}} -
+
{{#each-in row as |inputKey value|}} {{#let (find-by "key" inputKey @objectKeys) as |field|}} -
+
{{#if (eq index 0)}}

{{field.label}}

{{/if}} @@ -26,37 +26,38 @@ {{on "input" (fn this.handleInput index)}} /> {{#if (and (not inputError.isValid) inputError.errors)}} - + + + {{inputError.errors}} + + {{/if}} {{/let}}
{{/let}} {{/each-in}} -
+
{{#if (eq index 0)}}
{{/if}} {{#if (eq (inc index) this.inputList.length)}} - + @isFullWidth={{true}} + /> {{else}} - + data-test-object-list-delete-button={{index}} + /> {{/if}}
diff --git a/ui/lib/core/addon/components/search-select-with-modal.hbs b/ui/lib/core/addon/components/search-select-with-modal.hbs index f42fb258d1..2e1f7eed84 100644 --- a/ui/lib/core/addon/components/search-select-with-modal.hbs +++ b/ui/lib/core/addon/components/search-select-with-modal.hbs @@ -71,14 +71,14 @@
{{/if}}
- + />
{{/each}} diff --git a/ui/lib/core/addon/components/search-select.hbs b/ui/lib/core/addon/components/search-select.hbs index de8799c354..f6ba3a4fb2 100644 --- a/ui/lib/core/addon/components/search-select.hbs +++ b/ui/lib/core/addon/components/search-select.hbs @@ -88,14 +88,14 @@ {{selected.addTooltip}} {{/if}} - + />
{{/each}} diff --git a/ui/lib/core/addon/components/string-list.hbs b/ui/lib/core/addon/components/string-list.hbs index 8daedb6407..3c654eecd2 100644 --- a/ui/lib/core/addon/components/string-list.hbs +++ b/ui/lib/core/addon/components/string-list.hbs @@ -37,25 +37,19 @@ {{on "change" (action "inputChanged" index)}} />
-
+
{{#if (eq (inc index) this.inputList.length)}} - + {{else}} - + /> {{/if}}
{{#if (includes index this.indicesWithComma)}} diff --git a/ui/lib/core/addon/components/text-file.hbs b/ui/lib/core/addon/components/text-file.hbs index a2357b46ac..e3fd0ec468 100644 --- a/ui/lib/core/addon/components/text-file.hbs +++ b/ui/lib/core/addon/components/text-file.hbs @@ -18,75 +18,41 @@
-
- - -
+ +
{{/unless}}
{{#if this.showTextArea}} -
-