@umami/react-zen 0.245.0 → 0.246.0

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.
@@ -84,7 +84,7 @@ const preset: Config = {
84
84
  },
85
85
  plugins: [
86
86
  plugin(({ addVariant }) => {
87
- // React Aria state variants
87
+ // Component state variants
88
88
  addVariant('pressed', '&[data-pressed]');
89
89
  addVariant('selected', '&[data-selected]');
90
90
  addVariant('disabled', '&[data-disabled]');
@@ -94,16 +94,14 @@ const preset: Config = {
94
94
  addVariant('indeterminate', '&[data-indeterminate]');
95
95
  addVariant('expanded', '&[data-expanded]');
96
96
  addVariant('readonly', '&[data-readonly]');
97
- addVariant('entering', '&[data-entering]');
98
- addVariant('exiting', '&[data-exiting]');
99
97
  addVariant('dragging', '&[data-dragging]');
100
98
  addVariant('outside-month', '&[data-outside-month]');
101
99
 
102
100
  // Placement variants for Popover/Tooltip
103
- addVariant('placement-top', "&[data-placement='top']");
104
- addVariant('placement-bottom', "&[data-placement='bottom']");
105
- addVariant('placement-left', "&[data-placement='left']");
106
- addVariant('placement-right', "&[data-placement='right']");
101
+ addVariant('placement-top', "&[data-side='top']");
102
+ addVariant('placement-bottom', "&[data-side='bottom']");
103
+ addVariant('placement-left', "&[data-side='left']");
104
+ addVariant('placement-right', "&[data-side='right']");
107
105
 
108
106
  // Orientation variants
109
107
  addVariant('orientation-horizontal', "&[data-orientation='horizontal']");