@eqtylab/equality 3.2.4 → 3.2.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.
@@ -7,9 +7,6 @@
7
7
  @supports (color: color-mix(in lab, red, red)) {
8
8
  background-color: color-mix(in oklab, var(--color-black, color(display-p3 0 0 0)) 80%, transparent);
9
9
  }
10
- --tw-backdrop-blur: blur(4px);
11
- -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
12
- backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
13
10
  &[data-state="open"] {
14
11
  animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
15
12
  }
@@ -120,42 +117,6 @@
120
117
  margin-top: calc(0.25rem * 0);
121
118
  }
122
119
  }
123
- @property --tw-backdrop-blur {
124
- syntax: "*";
125
- inherits: false;
126
- }
127
- @property --tw-backdrop-brightness {
128
- syntax: "*";
129
- inherits: false;
130
- }
131
- @property --tw-backdrop-contrast {
132
- syntax: "*";
133
- inherits: false;
134
- }
135
- @property --tw-backdrop-grayscale {
136
- syntax: "*";
137
- inherits: false;
138
- }
139
- @property --tw-backdrop-hue-rotate {
140
- syntax: "*";
141
- inherits: false;
142
- }
143
- @property --tw-backdrop-invert {
144
- syntax: "*";
145
- inherits: false;
146
- }
147
- @property --tw-backdrop-opacity {
148
- syntax: "*";
149
- inherits: false;
150
- }
151
- @property --tw-backdrop-saturate {
152
- syntax: "*";
153
- inherits: false;
154
- }
155
- @property --tw-backdrop-sepia {
156
- syntax: "*";
157
- inherits: false;
158
- }
159
120
  @property --tw-translate-x {
160
121
  syntax: "*";
161
122
  inherits: false;
@@ -21,9 +21,6 @@
21
21
  @supports (color: color-mix(in lab, red, red)) {
22
22
  background-color: color-mix(in oklab, var(--color-black, color(display-p3 0 0 0)) 80%, transparent);
23
23
  }
24
- --tw-backdrop-blur: blur(4px);
25
- -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
26
- backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
27
24
  }
28
25
  .dialog-content {
29
26
  max-height: 85vh;
@@ -147,42 +144,6 @@
147
144
  padding-inline: calc(0.25rem * 6);
148
145
  padding-block: calc(0.25rem * 3);
149
146
  }
150
- @property --tw-backdrop-blur {
151
- syntax: "*";
152
- inherits: false;
153
- }
154
- @property --tw-backdrop-brightness {
155
- syntax: "*";
156
- inherits: false;
157
- }
158
- @property --tw-backdrop-contrast {
159
- syntax: "*";
160
- inherits: false;
161
- }
162
- @property --tw-backdrop-grayscale {
163
- syntax: "*";
164
- inherits: false;
165
- }
166
- @property --tw-backdrop-hue-rotate {
167
- syntax: "*";
168
- inherits: false;
169
- }
170
- @property --tw-backdrop-invert {
171
- syntax: "*";
172
- inherits: false;
173
- }
174
- @property --tw-backdrop-opacity {
175
- syntax: "*";
176
- inherits: false;
177
- }
178
- @property --tw-backdrop-saturate {
179
- syntax: "*";
180
- inherits: false;
181
- }
182
- @property --tw-backdrop-sepia {
183
- syntax: "*";
184
- inherits: false;
185
- }
186
147
  @property --tw-border-style {
187
148
  syntax: "*";
188
149
  inherits: false;
@@ -7,9 +7,6 @@
7
7
  @supports (color: color-mix(in lab, red, red)) {
8
8
  background-color: color-mix(in oklab, var(--color-black, color(display-p3 0 0 0)) 80%, transparent);
9
9
  }
10
- --tw-backdrop-blur: blur(4px);
11
- -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
12
- backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
13
10
  }
14
11
  .drawer-content {
15
12
  border-style: var(--tw-border-style);
@@ -30,6 +27,8 @@
30
27
  bottom: calc(0.25rem * 0);
31
28
  z-index: 50;
32
29
  height: auto;
30
+ display: flex;
31
+ flex-direction: column;
33
32
  }
34
33
  .drawer-content-divider {
35
34
  background-color: var(--color-border, color(display-p3 0.7432 0.7432 0.7432));
@@ -82,42 +81,6 @@
82
81
  .drawer-inner-content {
83
82
  padding-inline: calc(0.25rem * 4);
84
83
  }
85
- @property --tw-backdrop-blur {
86
- syntax: "*";
87
- inherits: false;
88
- }
89
- @property --tw-backdrop-brightness {
90
- syntax: "*";
91
- inherits: false;
92
- }
93
- @property --tw-backdrop-contrast {
94
- syntax: "*";
95
- inherits: false;
96
- }
97
- @property --tw-backdrop-grayscale {
98
- syntax: "*";
99
- inherits: false;
100
- }
101
- @property --tw-backdrop-hue-rotate {
102
- syntax: "*";
103
- inherits: false;
104
- }
105
- @property --tw-backdrop-invert {
106
- syntax: "*";
107
- inherits: false;
108
- }
109
- @property --tw-backdrop-opacity {
110
- syntax: "*";
111
- inherits: false;
112
- }
113
- @property --tw-backdrop-saturate {
114
- syntax: "*";
115
- inherits: false;
116
- }
117
- @property --tw-backdrop-sepia {
118
- syntax: "*";
119
- inherits: false;
120
- }
121
84
  @property --tw-border-style {
122
85
  syntax: "*";
123
86
  inherits: false;
package/dist/index.cjs CHANGED
@@ -2432,6 +2432,7 @@ var MotionCollapsibleContent = ({
2432
2432
  className
2433
2433
  }) => {
2434
2434
  const [contentHeight, setContentHeight] = React15.useState(0);
2435
+ const [isSettled, setIsSettled] = React15.useState(false);
2435
2436
  const contentRef = React15.useRef(null);
2436
2437
  React15.useEffect(() => {
2437
2438
  if (contentRef.current) {
@@ -2452,7 +2453,13 @@ var MotionCollapsibleContent = ({
2452
2453
  animate: { height: contentHeight, opacity: 1 },
2453
2454
  exit: { height: 0, opacity: 0 },
2454
2455
  transition: { duration: 0.3, ease: "easeInOut" },
2455
- className: cn(styles28__default.default["motion-collapsible"], className),
2456
+ onAnimationStart: () => setIsSettled(false),
2457
+ onAnimationComplete: () => setIsSettled(isOpen),
2458
+ className: cn(
2459
+ styles28__default.default["motion-collapsible"],
2460
+ isSettled && styles28__default.default["motion-collapsible--settled"],
2461
+ className
2462
+ ),
2456
2463
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { ref: contentRef, children })
2457
2464
  },
2458
2465
  "motion-content"