@nattui/react-components 0.0.31 → 0.0.33

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.
@@ -16,7 +16,7 @@
16
16
  cursor: pointer;
17
17
  user-select: none;
18
18
  outline-width: 2px;
19
- outline-style: hidden;
19
+ outline-style: none;
20
20
  outline-color: var(--color-primary-9);
21
21
  outline-offset: 2px;
22
22
  transition-duration: 150ms;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/button.tsx
2
- import styles2 from "./button.module-OLRLDRY6.module.css";
2
+ import styles2 from "./button.module-BMN5S7JE.module.css";
3
3
 
4
4
  // src/button-spinner.tsx
5
5
  import styles from "./button-spinner.module-T3OGVJS4.module.css";
@@ -88,7 +88,7 @@ var BUTTON_CLASS_NAME = {
88
88
  };
89
89
 
90
90
  // src/input.tsx
91
- import styles3 from "./input.module-RYUICXYE.module.css";
91
+ import styles3 from "./input.module-FRZMYZZD.module.css";
92
92
  import { jsx as jsx3 } from "react/jsx-runtime";
93
93
  function Input(props) {
94
94
  const {
@@ -48,7 +48,9 @@
48
48
  .input:enabled:focus,
49
49
  .input:enabled:hover,
50
50
  .input:enabled[aria-pressed="true"] {
51
- box-shadow: 0 0 0 1px var(--color-gray-6) inset;
51
+ box-shadow:
52
+ 0 -1px 0 0px rgba(0, 0, 0, 7.5%) inset, /* Bottom */
53
+ 0 0 0 1px var(--color-gray-6) inset; /* Border */
52
54
  }
53
55
 
54
56
  .input[data-is-valid="true"] {
@@ -71,6 +73,15 @@
71
73
  0 0 0 1px var(--color-gray-4) inset; /* Border */
72
74
  }
73
75
 
76
+ :global(.dark) .input:enabled:active,
77
+ :global(.dark) .input:enabled:focus,
78
+ :global(.dark) .input:enabled:hover,
79
+ :global(.dark) .input:enabled[aria-pressed="true"] {
80
+ box-shadow:
81
+ 0 1px 0 0px rgba(255, 255, 255, 7.5%) inset, /* Top */
82
+ 0 0 0 1px var(--color-gray-6) inset; /* Border */
83
+ }
84
+
74
85
  /* ===================================================== */
75
86
  /* Password */
76
87
  /* ===================================================== */
package/package.json CHANGED
@@ -46,5 +46,5 @@
46
46
  },
47
47
  "type": "module",
48
48
  "types": "./dist/index.d.ts",
49
- "version": "0.0.31"
49
+ "version": "0.0.33"
50
50
  }