Skip to content

Commit 9f075de

Browse files
committed
refactor(dropzone): update values for pointer-events custom prop
This removes the `--mod-*` prefixed custom properties for pointer-events used within Drop Zone-nested Illustrated Messages. These custom properties were preventing interactions within the Illustrated Message component. Instead, over in Illustrated Message, we'll keep the `--mod-*` custom props available in the stack defined for `pointer-events`, but we'll set a fallback value of `auto`, which will preserve the ability for consumers to use the mod but also get the default style if it is not set.
1 parent c71fd14 commit 9f075de

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

components/dropzone/index.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ governing permissions and limitations under the License.
5656
--spectrum-drop-zone-content-color: var(--spectrum-white);
5757

5858
/* Settings for a nested illustrated message */
59-
--mod-illustrated-message-pointer-events: none;
6059
--mod-illustrated-message-content-maximum-width: var(--mod-drop-zone-content-maximum-width, var(--spectrum-drop-zone-content-maximum-width));
6160
--mod-illustrated-message-illustration-color: var(--mod-drop-zone-illustration-color, var(--spectrum-drop-zone-illustration-color));
6261
--mod-illustrated-message-title-to-heading: var(--mod-drop-zone-illustration-to-heading, var(--spectrum-drop-zone-illustration-to-heading));
@@ -69,7 +68,6 @@ governing permissions and limitations under the License.
6968
--mod-illustrated-message-title-color: var(--mod-drop-zone-heading-color, var(--spectrum-drop-zone-heading-color));
7069
--mod-illustrated-message-description-position: relative;
7170
--mod-illustrated-message-description-z-index: 10;
72-
--mod-illustrated-message-description-pointer-events: initial;
7371
--mod-illustrated-message-heading-to-description: 0;
7472
--mod-illustrated-message-description-font-family: var(--mod-drop-zone-body-font-family, var(--spectrum-drop-zone-body-font-family));
7573
--mod-illustrated-message-description-font-weight: var(--mod-drop-zone-body-font-weight, var(--spectrum-drop-zone-body-font-weight));

0 commit comments

Comments
 (0)