@maif/react-forms 1.4.0 → 1.6.0

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.
Files changed (2) hide show
  1. package/lib/index.css +13 -1
  2. package/package.json +1 -1
package/lib/index.css CHANGED
@@ -20,6 +20,7 @@
20
20
  cursor: pointer;
21
21
  border-width: 1px;
22
22
  background-color: var(--form-bg-color, #fff);
23
+ color: var(--form-text-color, #495057);
23
24
  }
24
25
  .mrf-btn:disabled {
25
26
  opacity: 0.6;
@@ -289,7 +290,7 @@
289
290
  padding: 4px;
290
291
  border: none;
291
292
  background: none;
292
- color: #242729;
293
+ color: var(--form-text-color, #495057);
293
294
  margin-right: 5px;
294
295
  margin-left: 5px;
295
296
  }
@@ -359,4 +360,15 @@
359
360
  width: 20px;
360
361
  height: 20px;
361
362
  box-shadow: 1px 0px 5px 0px rgba(0, 0, 0, 0.3);
363
+ }
364
+
365
+ .react-form-select__menu {
366
+ background-color: var(--form-bg-color, #fff) !important;
367
+ border-color: var(--form-border-color, #ced4da) !important;
368
+ color: var(--form-text-color, #495057) !important;
369
+ }
370
+
371
+ .react-form-select__option--is-focused {
372
+ background-color: var(--form-select-hover-color, #ccc) !important;
373
+ color: var(--form-select-hover-text-color, #000) !important;
362
374
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maif/react-forms",
3
3
  "description": "Build react safe forms as fast as possible",
4
- "version": "1.4.0",
4
+ "version": "1.6.0",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
7
7
  "source": "src/index.ts",