@noxlovette/material 0.1.11 → 0.1.12
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.
|
@@ -49,13 +49,13 @@ Icon buttons help people take minor actions and are often used in app bars.
|
|
|
49
49
|
</script>
|
|
50
50
|
|
|
51
51
|
<Tooltip {triggerClass} variant="snack" supportingText={tooltipContent}>
|
|
52
|
-
{#snippet trigger(triggerAttrs)}
|
|
52
|
+
{#snippet trigger({ class: triggerClass_, ...triggerAttrs })}
|
|
53
53
|
{#if variation === 'toggle'}
|
|
54
54
|
<Toggle.Root
|
|
55
55
|
bind:pressed
|
|
56
56
|
{onPressedChange}
|
|
57
57
|
{disabled}
|
|
58
|
-
class={btnCls}
|
|
58
|
+
class={clsx(btnCls, triggerClass_ as string)}
|
|
59
59
|
data-cy="m3-button-icon"
|
|
60
60
|
{...restProps as ToggleRootProps}
|
|
61
61
|
{...triggerAttrs}
|
|
@@ -71,7 +71,7 @@ Icon buttons help people take minor actions and are often used in app bars.
|
|
|
71
71
|
<Button.Root
|
|
72
72
|
{disabled}
|
|
73
73
|
{formaction}
|
|
74
|
-
class={btnCls}
|
|
74
|
+
class={clsx(btnCls, triggerClass_ as string)}
|
|
75
75
|
data-cy="m3-button-icon"
|
|
76
76
|
{...restProps as ButtonRootProps}
|
|
77
77
|
{...triggerAttrs}
|