draft-components 4.10.0 → 4.10.2

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.
@@ -4244,21 +4244,18 @@
4244
4244
  }
4245
4245
 
4246
4246
  .dc-form-field__label_sr-only {
4247
- position: absolute;
4248
- width: 1px;
4249
- height: 1px;
4250
- padding: 0;
4251
- margin: -1px;
4247
+ display: block;
4248
+ width: 0;
4249
+ height: 0;
4250
+ margin: 0;
4252
4251
  overflow: hidden;
4253
- white-space: nowrap;
4254
- border: 0;
4255
- clip: rect(0, 0, 0, 0);
4256
4252
  }
4257
4253
 
4258
4254
  .dc-form-field__input,
4259
4255
  .dc-form-field__error,
4260
4256
  .dc-form-field__hint {
4261
4257
  width: 100%;
4258
+ min-width: 0;
4262
4259
  }
4263
4260
 
4264
4261
  .dc-form-field__error,
@@ -11,21 +11,18 @@
11
11
  }
12
12
 
13
13
  .dc-form-field__label_sr-only {
14
- position: absolute;
15
- width: 1px;
16
- height: 1px;
17
- padding: 0;
18
- margin: -1px;
14
+ display: block;
15
+ width: 0;
16
+ height: 0;
17
+ margin: 0;
19
18
  overflow: hidden;
20
- white-space: nowrap;
21
- border: 0;
22
- clip: rect(0, 0, 0, 0);
23
19
  }
24
20
 
25
21
  .dc-form-field__input,
26
22
  .dc-form-field__error,
27
23
  .dc-form-field__hint {
28
24
  width: 100%;
25
+ min-width: 0;
29
26
  }
30
27
 
31
28
  .dc-form-field__error,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "draft-components",
3
- "version": "4.10.0",
3
+ "version": "4.10.2",
4
4
  "description": "The React based UI components library.",
5
5
  "type": "module",
6
6
  "exports": {