@itcase/forms 1.1.6 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,22 +1,3 @@
1
- .form-checkbox {
2
- &&_state {
3
- &_success {
4
- & .checkbox__state {
5
- border: solid 1px var(--checkbox-success-border);
6
- }
7
- }
8
- &_error {
9
- & .checkbox__state {
10
- border: solid 1px var(--checkbox-error-border);
11
- }
12
- }
13
- &_focus {
14
- & .checkbox__state {
15
- /* border: solid 1px var(--checkbox-focus-border); */
16
- }
17
- }
18
- }
19
- }
20
1
  .form-field {
21
2
  &_type_checkbox {
22
3
  ^&__label {
@@ -26,9 +7,4 @@
26
7
  padding: 0 0 0 28px;
27
8
  }
28
9
  }
29
- }
30
- :root {
31
- --checkbox-success-border: var(--color-success-border-primary);
32
- --checkbox-error-border: var(--color-error-border-primary);
33
- --checkbox-focus-border: var(--color-surface-border-quaternary);
34
- }
10
+ }
@@ -1,27 +1,3 @@
1
- .form-datepicker {
2
- &&_state {
3
- &_success {
4
- /* & .input {
5
- border: solid 1px var(--datepicker-success-border);
6
- &:hover {
7
- border: solid 1px var(--datepicker-success-border-hover);
8
- }
9
- } */
10
- }
11
- &_error {
12
- & .input {
13
- border: solid 1px var(--datepicker-error-border);
14
- }
15
- }
16
- &_focus {
17
- /* & .input {
18
- background: var(--datepicker-focus-background);
19
- border: solid 1px var(--datepicker-focus-border);
20
- } */
21
- }
22
- }
23
- }
24
-
25
1
  :root {
26
2
  --datepicker-success-border: var(--color-success-border-primary);
27
3
  --datepicker-success-border-hover: var(--color-surface-border-quaternary);
@@ -138,13 +138,24 @@
138
138
  justify-content: space-between;
139
139
  }
140
140
  &_sticky {
141
+ min-height: 100%;
141
142
  position: relative;
142
- &^^&__button {
143
+ display: flex;
144
+ flex-direction: column;
145
+ ^^&__title {
146
+ position: sticky;
147
+ top: 0;
148
+ z-index: 1;
149
+ }
150
+ ^^&__wrapper {
151
+ overflow: scroll;
152
+ flex: 1;
153
+ }
154
+ ^^&__button {
143
155
  width: 100%;
144
- position: fixed;
145
- left: 0;
156
+ position: sticky;
146
157
  bottom: 0;
147
- z-index: 100;
158
+ z-index: 1;
148
159
  }
149
160
  }
150
161
  }
@@ -152,7 +163,6 @@
152
163
  .form {
153
164
  min-width: 100%;
154
165
  &__wrapper {
155
- height: 100%;
156
166
  min-width: 100%;
157
167
  position: relative;
158
168
  }