@julseb-lib/react 0.0.44 → 0.0.45

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/dist/index.umd.js CHANGED
@@ -2596,14 +2596,20 @@ React keys must be passed directly to JSX without using spread:
2596
2596
  color: ${({theme:l,$accentColor:c})=>s.ColorsHoverDefault(c,l)};
2597
2597
  ${({$gap:l})=>s.Flexbox({$gap:l})}
2598
2598
 
2599
+ &:disabled {
2600
+ color: ${({theme:l})=>l.GRAY_500};
2601
+ }
2602
+
2599
2603
  @media ${V.HOVER} {
2600
- &:hover {
2601
- background-color: ${({theme:l,$accentColor:c})=>s.ColorsHoverHover(c,l)};
2602
- color: ${({theme:l})=>l.BACKGROUND};
2603
- }
2604
+ &:not(:disabled) {
2605
+ &:hover {
2606
+ background-color: ${({theme:l,$accentColor:c})=>s.ColorsHoverHover(c,l)};
2607
+ color: ${({theme:l})=>l.BACKGROUND};
2608
+ }
2604
2609
 
2605
- &:active {
2606
- background-color: ${({theme:l,$accentColor:c})=>s.ColorsHoverActive(c,l)};
2610
+ &:active {
2611
+ background-color: ${({theme:l,$accentColor:c})=>s.ColorsHoverActive(c,l)};
2612
+ }
2607
2613
  }
2608
2614
  }
2609
2615
  `,Z7=m.span`
@@ -107,16 +107,22 @@ const StyledDropdownItem = styled.button<{
107
107
  $gap,
108
108
  })}
109
109
 
110
+ &:disabled {
111
+ color: ${({ theme }) => theme.GRAY_500};
112
+ }
113
+
110
114
  @media ${MEDIA.HOVER} {
111
- &:hover {
112
- background-color: ${({ theme, $accentColor }) =>
113
- Mixins.ColorsHoverHover($accentColor, theme)};
114
- color: ${({ theme }) => theme.BACKGROUND};
115
- }
115
+ &:not(:disabled) {
116
+ &:hover {
117
+ background-color: ${({ theme, $accentColor }) =>
118
+ Mixins.ColorsHoverHover($accentColor, theme)};
119
+ color: ${({ theme }) => theme.BACKGROUND};
120
+ }
116
121
 
117
- &:active {
118
- background-color: ${({ theme, $accentColor }) =>
119
- Mixins.ColorsHoverActive($accentColor, theme)};
122
+ &:active {
123
+ background-color: ${({ theme, $accentColor }) =>
124
+ Mixins.ColorsHoverActive($accentColor, theme)};
125
+ }
120
126
  }
121
127
  }
122
128
  `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@julseb-lib/react",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "scripts": {