@umbra.ui/core 0.4.5 → 0.4.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.
@@ -391,6 +391,7 @@ const handleOverlayClick = () => {
391
391
  <div
392
392
  :class="[
393
393
  $style.button,
394
+ hasCustomLabelSlot ? $style.button_unstyled : null,
394
395
  !hasCustomLabelSlot &&
395
396
  (showPopover ? $style.button_selected : $style.button_normal),
396
397
  ]"
@@ -507,6 +508,11 @@ const handleOverlayClick = () => {
507
508
  transition: padding-left 0.3s, padding-right 0.3s, background-color 0.3s,
508
509
  box-shadow 0.3s;
509
510
  }
511
+ .button_unstyled {
512
+ padding: 0;
513
+ gap: 0;
514
+ transition: none;
515
+ }
510
516
  .button_normal {
511
517
  background-color: var(--picker-button-bg);
512
518
  border: var(--picker-button-border);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbra.ui/core",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "Core components for Umbra UI",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -391,6 +391,7 @@ const handleOverlayClick = () => {
391
391
  <div
392
392
  :class="[
393
393
  $style.button,
394
+ hasCustomLabelSlot ? $style.button_unstyled : null,
394
395
  !hasCustomLabelSlot &&
395
396
  (showPopover ? $style.button_selected : $style.button_normal),
396
397
  ]"
@@ -507,6 +508,11 @@ const handleOverlayClick = () => {
507
508
  transition: padding-left 0.3s, padding-right 0.3s, background-color 0.3s,
508
509
  box-shadow 0.3s;
509
510
  }
511
+ .button_unstyled {
512
+ padding: 0;
513
+ gap: 0;
514
+ transition: none;
515
+ }
510
516
  .button_normal {
511
517
  background-color: var(--picker-button-bg);
512
518
  border: var(--picker-button-border);