optimized-react-component-library-xyz123 0.13.8 → 0.14.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optimized-react-component-library-xyz123",
3
- "version": "0.13.8",
3
+ "version": "0.14.1",
4
4
  "description": "A modern React component library using TypeScript with React 19 support.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -18,24 +18,6 @@
18
18
  color: var(--dark-text);
19
19
  }
20
20
 
21
- @media (prefers-color-scheme: dark) {
22
- input:autofill,
23
- input:autofill:hover,
24
- input:autofill:focus,
25
- input:-webkit-autofill,
26
- input:-webkit-autofill:hover,
27
- input:-webkit-autofill:focus {
28
- -webkit-box-shadow: 0 0 0 1000px var(--dark-main) inset !important;
29
- box-shadow: 0 0 0 1000px var(--dark-main) inset !important;
30
- -webkit-text-fill-color: var(--dark-text) !important; /* behåller textfärgen */
31
- background-color: var(--dark-main) !important;
32
- }
33
-
34
- /* Firefox */
35
- input:-moz-autofill {
36
- box-shadow: 0 0 0 1000px transparent inset !important;
37
- }
38
- }
39
21
 
40
22
  /*----------COOKIE BANNER-------*/
41
23
  .pts-cookieBanner {
@@ -374,4 +356,23 @@
374
356
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='94' height='94' viewBox='0 0 94 94' fill='none'%3e%3cpath d='M47 11.75C66.4682 11.75 82.25 27.532 82.25 47C82.25 66.4682 66.4682 82.25 47 82.25C27.532 82.25 11.75 66.4682 11.75 47C11.75 27.532 27.532 11.75 47 11.75Z' stroke='%23B07CBF' stroke-opacity='0.25' stroke-width='7.83333' stroke-linecap='round'/%3e%3cpath d='M47 11.75C66.4682 11.75 82.25 27.532 82.25 47' stroke='%23B07CBF' stroke-width='7.83333' stroke-linecap='round'/%3e%3c/svg%3e");
375
357
 
376
358
  }
359
+
360
+
361
+ /*-------------Autofill-----------*/
362
+ input:autofill,
363
+ input:autofill:hover,
364
+ input:autofill:focus,
365
+ input:-webkit-autofill,
366
+ input:-webkit-autofill:hover,
367
+ input:-webkit-autofill:focus {
368
+ -webkit-box-shadow: 0 0 0 1000px var(--dark-main) inset !important;
369
+ box-shadow: 0 0 0 1000px var(--dark-main) inset !important;
370
+ -webkit-text-fill-color: var(--dark-text) !important; /* behåller textfärgen */
371
+ background-color: var(--dark-main) !important;
372
+ }
373
+
374
+ /* Firefox */
375
+ input:-moz-autofill {
376
+ box-shadow: 0 0 0 1000px transparent inset !important;
377
+ }
377
378
  }
@@ -1066,3 +1066,24 @@ div.pts-root-question:last-child {
1066
1066
  background: var(--red-green-red, rgb(211, 165, 0));
1067
1067
  }
1068
1068
  /* ---------- END FILE UPLOAD ---------- */
1069
+
1070
+
1071
+
1072
+
1073
+
1074
+
1075
+ input:autofill,
1076
+ input:autofill:hover,
1077
+ input:autofill:focus,
1078
+ input:-webkit-autofill,
1079
+ input:-webkit-autofill:hover,
1080
+ input:-webkit-autofill:focus {
1081
+ -webkit-box-shadow: 0 0 0 1000px var(--main) inset !important;
1082
+ box-shadow: 0 0 0 1000px var(--main) inset !important;
1083
+ -webkit-text-fill-color: inherit !important; /* behåller textfärgen */
1084
+ background-color: var(--main) !important;
1085
+ }
1086
+ input:-moz-autofill {
1087
+ box-shadow: 0 0 0 1000px transparent inset !important;
1088
+ }
1089
+
@@ -14,24 +14,6 @@
14
14
  --background-third: #414141;
15
15
  }
16
16
 
17
-
18
- input:autofill,
19
- input:autofill:hover,
20
- input:autofill:focus,
21
- input:-webkit-autofill,
22
- input:-webkit-autofill:hover,
23
- input:-webkit-autofill:focus {
24
- -webkit-box-shadow: 0 0 0 1000px var(--main) inset !important;
25
- box-shadow: 0 0 0 1000px var(--main) inset !important;
26
- -webkit-text-fill-color: inherit !important; /* behåller textfärgen */
27
- background-color: var(--main) !important;
28
- }
29
- input:-moz-autofill {
30
- box-shadow: 0 0 0 1000px transparent inset !important;
31
- }
32
-
33
-
34
-
35
17
  body,
36
18
  #root {
37
19
  min-height: 100vh;