agroptima-design-system 0.27.24 → 0.27.25

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": "agroptima-design-system",
3
- "version": "0.27.24",
3
+ "version": "0.27.25",
4
4
  "scripts": {
5
5
  "dev": "npm run storybook",
6
6
  "storybook": "storybook dev -p 6006 --ci",
@@ -39,12 +39,11 @@
39
39
  no-repeat;
40
40
  }
41
41
  &:hover {
42
- .checkbox:not(:checked):not(.disabled) {
42
+ .checkbox:not(:checked):not(:disabled) {
43
43
  background: url('../icons/checkbox-primary-hover-inactive.svg') left top
44
44
  no-repeat;
45
45
  }
46
46
  }
47
-
48
47
  &.indeterminate {
49
48
  .checkbox:checked {
50
49
  background: url('../icons/checkbox-indeterminate-active.svg') left top
@@ -4,6 +4,10 @@ import { Meta } from "@storybook/blocks";
4
4
 
5
5
  # Changelog
6
6
 
7
+ ## 0.27.25
8
+
9
+ * Fix hover style when Checkbox component is disabled
10
+
7
11
  ## 0.27.24
8
12
 
9
13
  * Hide Safari non-desired details summary default icon on Collapsible component.
@@ -68,3 +68,14 @@ export const Indeterminate: Story = {
68
68
  },
69
69
  parameters: figmaPrimaryDesign,
70
70
  }
71
+
72
+ export const Disabled: Story = {
73
+ args: {
74
+ accessibilityLabel: 'Marks if the user likes videogames',
75
+ variant: 'primary',
76
+ disabled: true,
77
+ label: 'Do you like videogames?',
78
+ id: 'checkbox-videogames-preference',
79
+ },
80
+ parameters: figmaPrimaryDesign,
81
+ }