@nattui/react-components 0.0.5 → 0.0.6

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.
@@ -21,7 +21,7 @@
21
21
  position: relative;
22
22
  transition-duration: 150ms;
23
23
  transition-property:
24
- background-color, border-color, box-shadow, color, opacity, scale;
24
+ background-color, border-color, box-shadow, color, opacity, scale, translate;
25
25
  user-select: none;
26
26
  }
27
27
 
@@ -37,13 +37,6 @@
37
37
  .button:enabled[aria-pressed="true"],
38
38
  .button:enabled:active {
39
39
  scale: 0.985;
40
- }
41
-
42
- /* Active children */
43
- .button:enabled[aria-pressed="true"] > *,
44
- .button:enabled:active > * {
45
- transition-duration: 150ms;
46
- transition-property: translate;
47
40
  translate: 0 1px;
48
41
  }
49
42
 
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  var styles = require('./button-background.module-T5B7XZ2Z.module.css');
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
5
  var styles2 = require('./button-spinner.module-4TBETQ4T.module.css');
6
- var styles3 = require('./button.module-PKQOSOKP.module.css');
6
+ var styles3 = require('./button.module-4G5LYXJH.module.css');
7
7
 
8
8
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
9
9
 
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import styles from './button-background.module-T5B7XZ2Z.module.css';
2
2
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
3
3
  import styles2 from './button-spinner.module-4TBETQ4T.module.css';
4
- import styles3 from './button.module-PKQOSOKP.module.css';
4
+ import styles3 from './button.module-4G5LYXJH.module.css';
5
5
 
6
6
  // src/button-background.tsx
7
7
  function ButtonBackground(props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nattui/react-components",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "A collection of reusable React components built with TypeScript and CSS Modules",
5
5
  "keywords": [
6
6
  "components",
@@ -21,7 +21,7 @@
21
21
  position: relative;
22
22
  transition-duration: 150ms;
23
23
  transition-property:
24
- background-color, border-color, box-shadow, color, opacity, scale;
24
+ background-color, border-color, box-shadow, color, opacity, scale, translate;
25
25
  user-select: none;
26
26
  }
27
27
 
@@ -37,13 +37,6 @@
37
37
  .button:enabled[aria-pressed="true"],
38
38
  .button:enabled:active {
39
39
  scale: 0.985;
40
- }
41
-
42
- /* Active children */
43
- .button:enabled[aria-pressed="true"] > *,
44
- .button:enabled:active > * {
45
- transition-duration: 150ms;
46
- transition-property: translate;
47
40
  translate: 0 1px;
48
41
  }
49
42