Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
91bf897
chore(form-field): form refactor
hebernardEquisoft Apr 24, 2024
274633d
Merge branch 'master' into dev/DS-924-2
hebernardEquisoft Apr 26, 2024
a62ebb4
chore(form-field): update snapshots
hebernardEquisoft Apr 26, 2024
aac841d
chore(form-field): update snapshots
hebernardEquisoft Apr 26, 2024
e2f1103
Merge branch 'master' into dev/DS-924-2
hebernardEquisoft Jun 6, 2024
cfb44ab
chore(form-field): post review changes
hebernardEquisoft Jun 6, 2024
34c1a19
chore(form-field): post review changes test fixes
hebernardEquisoft Jun 6, 2024
ae09d48
chore(form-field): fix
hebernardEquisoft Jun 6, 2024
550534a
chore(field-container): apply suggested changes
hebernardEquisoft Aug 1, 2024
e70a4cb
chore(field-container): refactor
hebernardEquisoft Aug 1, 2024
4e6c937
chore(field-container): refactor
hebernardEquisoft Aug 1, 2024
507141a
chore(field-container): snapshots
hebernardEquisoft Aug 1, 2024
92de5df
chore(field-container): refactor
hebernardEquisoft Aug 1, 2024
477b7a4
Merge branch 'master' into dev/DS-924-2
hebernardEquisoft Aug 1, 2024
336467b
chore(field-container): post review changes
hebernardEquisoft Aug 1, 2024
a8ca4e4
chore(field-container): snapshots
hebernardEquisoft Aug 1, 2024
96d3be6
chore(field-container): post review changes
hebernardEquisoft Aug 1, 2024
6b2d700
Merge branch 'master' into dev/DS-924-2
hebernardEquisoft Dec 2, 2024
68f1396
chore(form-field): post master merge
hebernardEquisoft Dec 2, 2024
e39014b
chore(form-field): post master merge
hebernardEquisoft Dec 2, 2024
b86c8ee
chore(form-field): post master merge
hebernardEquisoft Dec 2, 2024
5d9fccb
chore(form-field): post master merge
hebernardEquisoft Dec 3, 2024
5b6ca16
chore(form-field): post master merge
hebernardEquisoft Dec 3, 2024
556ff6f
chore(form-field): post master merge
hebernardEquisoft Dec 3, 2024
238c656
chore(form-field): post master merge
hebernardEquisoft Dec 3, 2024
f990d0c
chore(form-field): post master merge
hebernardEquisoft Dec 3, 2024
88891eb
chore(form-field): post review changes
hebernardEquisoft Dec 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions packages/react/src/components/combobox/combobox.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ input + .c2 {
>
<label
class="c2 c3"
data-testid="field-label"
for="uuid1"
id="uuid1_label"
>
Expand Down Expand Up @@ -770,6 +771,7 @@ input + .c2 {
>
<label
class="c2 c3"
data-testid="field-label"
for="uuid1"
id="uuid1_label"
>
Expand Down Expand Up @@ -1540,6 +1542,18 @@ input + .c2 {
margin-left: var(--spacing-half);
}

.c4 {
color: #60666E;
display: block;
font-size: 0.75rem;
font-weight: var(--font-normal);
-webkit-letter-spacing: 0.02rem;
-moz-letter-spacing: 0.02rem;
-ms-letter-spacing: 0.02rem;
letter-spacing: 0.02rem;
line-height: 1.25rem;
}

.c0 {
margin: 0 0 var(--spacing-3x);
}
Expand All @@ -1554,18 +1568,6 @@ input + .c2 {
margin-bottom: var(--spacing-half);
}

.c4 {
color: #60666E;
display: block;
font-size: 0.75rem;
font-weight: var(--font-normal);
-webkit-letter-spacing: 0.02rem;
-moz-letter-spacing: 0.02rem;
-ms-letter-spacing: 0.02rem;
letter-spacing: 0.02rem;
line-height: 1.25rem;
}

.c10 {
background-color: #FFFFFF;
border: 1px solid #878F9A;
Expand Down Expand Up @@ -1724,13 +1726,15 @@ input + .c2 {
>
<label
class="c2 c3"
data-testid="field-label"
for="uuid1"
id="uuid1_label"
>
Select an option
</label>
<span
class="c4"
data-testid="field-hint"
id="uuid1_hint"
>
Hint
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/components/combobox/combobox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { useTranslation } from '../../i18n/use-translation';
import { ResolvedTheme } from '../../themes/theme';
import { focus } from '../../utils/css-state';
import { useDeviceContext } from '../device-context-provider/device-context-provider';
import { FieldContainer } from '../field-container/field-container';
import { FieldContainer } from '../../internal/field/container/field-container';
import { IconButton } from '../buttons/icon-button';
import { Listbox, ListboxOption } from '../listbox/listbox';
import { TooltipProps } from '../tooltip/tooltip';
Expand Down Expand Up @@ -77,7 +77,7 @@ const Textbox = styled.input<TextboxProps>`
width: 100%;

${focus};

&::placeholder {
color: ${({ theme }) => theme.component['combobox-placeholder-text-color']};
font-style: italic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ label + .c3 {
>
<label
class="c1 c2"
data-testid="field-label"
for="uuid1"
id="uuid1_label"
>
Expand Down Expand Up @@ -740,6 +741,7 @@ label + .c3 {
>
<label
class="c1 c2"
data-testid="field-label"
for="uuid1"
id="uuid1_label"
>
Expand Down Expand Up @@ -1132,6 +1134,7 @@ label + .c3 {
>
<label
class="c1 c2"
data-testid="field-label"
for="uuid1"
id="uuid1_label"
>
Expand Down Expand Up @@ -1524,6 +1527,7 @@ label + .c3 {
>
<label
class="c1 c2"
data-testid="field-label"
for="uuid1"
id="uuid1_label"
>
Expand Down Expand Up @@ -1944,6 +1948,7 @@ label + .c5 {
>
<label
class="c1 c2"
data-testid="field-label"
for="uuid1"
id="uuid1_label"
>
Expand Down Expand Up @@ -2352,6 +2357,7 @@ label + .c3 {
>
<label
class="c1 c2"
data-testid="field-label"
for="uuid1"
id="uuid1_label"
>
Expand Down Expand Up @@ -2910,6 +2916,7 @@ label + .c3 {
>
<label
class="c1 c2"
data-testid="field-label"
for="uuid1"
id="uuid1_label"
>
Expand Down Expand Up @@ -4211,6 +4218,7 @@ label + .c3 {
>
<label
class="c1 c2"
data-testid="field-label"
for="uuid1"
id="uuid1_label"
>
Expand Down Expand Up @@ -5487,6 +5495,7 @@ label + .c3 {
>
<label
class="c1 c2"
data-testid="field-label"
for="uuid1"
id="uuid1_label"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { v4 as uuid } from '../../utils/uuid';
import { AbstractButton } from '../buttons/abstract/abstract-button';
import { Button } from '../buttons/button';
import { useDeviceContext } from '../device-context-provider/device-context-provider';
import { FieldContainer } from '../field-container/field-container';
import { FieldContainer } from '../../internal/field/container/field-container';
import { Icon } from '../icon/icon';
import { inputsStyle } from '../text-input/styles/inputs';
import { TooltipProps } from '../tooltip/tooltip';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ input + .c2 {
>
<label
class="c2 c3"
data-testid="field-label"
for="uuid1"
id="uuid1_label"
>
Expand Down Expand Up @@ -453,6 +454,18 @@ input + .c2 {
margin-left: var(--spacing-half);
}

.c4 {
color: #60666E;
display: block;
font-size: 0.75rem;
font-weight: var(--font-normal);
-webkit-letter-spacing: 0.02rem;
-moz-letter-spacing: 0.02rem;
-ms-letter-spacing: 0.02rem;
letter-spacing: 0.02rem;
line-height: 1.25rem;
}

.c0 {
margin: 0 0 var(--spacing-3x);
}
Expand All @@ -467,18 +480,6 @@ input + .c2 {
margin-bottom: var(--spacing-half);
}

.c4 {
color: #60666E;
display: block;
font-size: 0.75rem;
font-weight: var(--font-normal);
-webkit-letter-spacing: 0.02rem;
-moz-letter-spacing: 0.02rem;
-ms-letter-spacing: 0.02rem;
letter-spacing: 0.02rem;
line-height: 1.25rem;
}

.c9 {
background-color: #FFFFFF;
border: 1px solid #878F9A;
Expand Down Expand Up @@ -665,13 +666,15 @@ input + .c2 {
>
<label
class="c2 c3"
data-testid="field-label"
for="uuid1"
id="uuid1_label"
>
Select an option
</label>
<span
class="c4"
data-testid="field-hint"
id="uuid1_hint"
>
Hint
Expand Down Expand Up @@ -1138,6 +1141,7 @@ input + .c2 {
>
<label
class="c2 c3"
data-testid="field-label"
for="uuid1"
id="uuid1_label"
>
Expand Down Expand Up @@ -2355,6 +2359,18 @@ input + .c2 {
margin-left: var(--spacing-half);
}

.c4 {
color: #60666E;
display: block;
font-size: 0.75rem;
font-weight: var(--font-normal);
-webkit-letter-spacing: 0.02rem;
-moz-letter-spacing: 0.02rem;
-ms-letter-spacing: 0.02rem;
letter-spacing: 0.02rem;
line-height: 1.25rem;
}

.c0 {
margin: 0 0 var(--spacing-3x);
}
Expand All @@ -2369,18 +2385,6 @@ input + .c2 {
margin-bottom: var(--spacing-half);
}

.c4 {
color: #60666E;
display: block;
font-size: 0.75rem;
font-weight: var(--font-normal);
-webkit-letter-spacing: 0.02rem;
-moz-letter-spacing: 0.02rem;
-ms-letter-spacing: 0.02rem;
letter-spacing: 0.02rem;
line-height: 1.25rem;
}

.c8 {
background-color: #FFFFFF;
border: 1px solid #878F9A;
Expand Down Expand Up @@ -2562,13 +2566,15 @@ input + .c2 {
>
<label
class="c2 c3"
data-testid="field-label"
for="uuid1"
id="uuid1_label"
>
Select an option
</label>
<span
class="c4"
data-testid="field-hint"
id="uuid1_hint"
>
Hint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { ResolvedTheme } from '../../themes/theme';
import { focus } from '../../utils/css-state';
import { isLetterOrNumber } from '../../utils/regex';
import { useDeviceContext } from '../device-context-provider/device-context-provider';
import { FieldContainer } from '../field-container/field-container';
import { FieldContainer } from '../../internal/field/container/field-container';
import { Icon, IconName } from '../icon/icon';
import { Listbox, ListboxOption } from '../listbox/listbox';
import { TooltipProps } from '../tooltip/tooltip';
Expand Down
10 changes: 0 additions & 10 deletions packages/react/src/components/feedbacks/invalid-field.test.tsx

This file was deleted.

This file was deleted.

Loading