Skip to content

Commit

Permalink
chore: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeAeich committed Feb 9, 2024
2 parents d4f76b9 + abf256c commit 05c1566
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 19 deletions.
4 changes: 0 additions & 4 deletions apps/documentation/docs/design/components/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ import "@elixir-cloud/design/dist/components/code/index.js";

### JSON

<div class="component-name">&lt;ecc-utils-design-code&gt;</div>
Simple code editor to handle Yaml, JSON and multiline text input.
<ClientOnly>
<div :class="isDark ? 'component-dark component' : 'component-light component'">
<ecc-utils-design-code :v-if="renderComponent" :items="primaryItems" :filters="primaryFilters" totalItems="50" language="JSON"></ecc-utils-design-code>
Expand All @@ -80,8 +78,6 @@ import "@elixir-cloud/design/dist/components/code/index.js";

### Indentation

<div class="component-name">&lt;ecc-utils-design-code&gt;</div>
Simple code editor to handle Yaml, JSON and multiline text input.
<ClientOnly>
<div :class="isDark ? 'component-dark component' : 'component-light component'">
<ecc-utils-design-code :v-if="renderComponent" indentation="4"></ecc-utils-design-code>
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ export class TESCreateRun extends LitElement {
key: "executors",
label: "Executors",
type: "group",
fieldOptions: {
required: true,
tooltip:
"A sequence of program arguments to execute, where the first argument is the program to execute (i.e. argv).",
},
groupOptions: {
collapsible: true,
},
Expand All @@ -89,9 +94,6 @@ export class TESCreateRun extends LitElement {
key: "executors",
label: "",
type: "array",
fieldOptions: {
required: true,
},
arrayOptions: {
defaultInstances: 1,
min: 1,
Expand All @@ -103,6 +105,8 @@ export class TESCreateRun extends LitElement {
type: "array",
fieldOptions: {
required: true,
tooltip:
"A sequence of program arguments to execute, where the first argument is the program to execute (i.e. argv).",
},
arrayOptions: {
defaultInstances: 1,
Expand All @@ -111,13 +115,8 @@ export class TESCreateRun extends LitElement {
children: [
{
key: "command",
label: "Command",
label: "",
type: "text",
fieldOptions: {
required: true,
tooltip:
"A sequence of program arguments to execute, where the first argument is the program to execute (i.e. argv).",
},
},
],
},
Expand Down
8 changes: 5 additions & 3 deletions packages/ecc-utils-design/src/components/form/form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,13 +291,13 @@ export default class EccUtilsDesignForm extends LitElement {
? html`
<sl-tooltip content=${field.fieldOptions?.tooltip}>
<label part="${label} ${arrayLabel}" class="array-label">
${field.label}
${field.label} ${field.fieldOptions?.required ? "*" : ""}
</label>
</sl-tooltip>
`
: html`
<label part="${label} ${arrayLabel}" class="array-label">
${field.label}
${field.label} ${field.fieldOptions?.required ? "*" : ""}
</label>
`}
<sl-button
Expand Down Expand Up @@ -398,7 +398,9 @@ export default class EccUtilsDesignForm extends LitElement {
return html` <div class="group-container">
${field.groupOptions?.collapsible
? html` <sl-details
summary=${field.label}
summary=${`${field.label} ${
field.fieldOptions?.required ? "*" : ""
}`}
exportparts="base: ${groupBase}, header: ${groupHeader}, header: ${header}, summary: ${label}, summary: ${groupLabel}, summary-icon: ${groupToggleIcon}, content: ${groupContent}"
>
${renderChildren()}
Expand Down

0 comments on commit 05c1566

Please sign in to comment.