daisyui 3.1.4 → 3.1.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.
package/README.md CHANGED
@@ -227,5 +227,5 @@ Tweet about daisyUI: [![][tweet]][tweet-url]
227
227
  [number-of-components]: https://badgen.net/badge/total%20components/52/green
228
228
  [docs-url-install]: https://daisyui.com/docs/install
229
229
  [docs-url]: https://daisyui.com/
230
- [logo-url]: https://raw.githubusercontent.com/saadeghi/files/main/daisyui/logo-4.svg
230
+ [logo-url]: https://raw.githubusercontent.com/saadeghi/daisyui/master/src/docs/static/images/daisyui-logo/favicon-192.png
231
231
  [banner-url]: https://raw.githubusercontent.com/saadeghi/files/main/daisyui3/banner.png
package/dist/full.css CHANGED
@@ -1645,8 +1645,9 @@ html {
1645
1645
  .link-error:hover {
1646
1646
  --tw-text-opacity: 1;
1647
1647
  color: hsl(var(--er) / var(--tw-text-opacity))}
1648
- .menu li > *:active,
1649
- .menu li > *.active {
1648
+ .menu li > *:not(ul):not(details):active,
1649
+ .menu li > *:not(ul):not(details).active,
1650
+ .menu li > details > summary:active {
1650
1651
  --tw-bg-opacity: 1;
1651
1652
  background-color: hsl(var(--n) / var(--tw-bg-opacity));
1652
1653
  --tw-text-opacity: 1;
@@ -1992,7 +1993,6 @@ html {
1992
1993
  grid-row-start: 1}
1993
1994
  .drawer-side {
1994
1995
  pointer-events: none;
1995
- visibility: hidden;
1996
1996
  position: fixed;
1997
1997
  top: 0px;
1998
1998
  left: 0px;
@@ -2011,6 +2011,16 @@ html {
2011
2011
  scrollbar-width: none}
2012
2012
  .drawer-side::-webkit-scrollbar {
2013
2013
  display: none}
2014
+ .drawer-side > .drawer-overlay {
2015
+ position: sticky;
2016
+ top: 0px;
2017
+ place-self: stretch;
2018
+ cursor: pointer;
2019
+ background-color: transparent;
2020
+ transition: background-color 0.2s cubic-bezier(0, 0, 0.58, 1)}
2021
+ .drawer-side > * {
2022
+ grid-column-start: 1;
2023
+ grid-row-start: 1}
2014
2024
  .drawer-side > *:not(.drawer-overlay) {
2015
2025
  transition: transform 0.4s cubic-bezier(0, 0, 0.58, 1);
2016
2026
  transform: translateX(-100%)}
@@ -2025,16 +2035,8 @@ html {
2025
2035
  .drawer-toggle:checked ~ .drawer-side {
2026
2036
  pointer-events: auto;
2027
2037
  visibility: visible}
2028
- .drawer-toggle:checked ~ .drawer-side > * {
2029
- grid-column-start: 1;
2030
- grid-row-start: 1}
2031
2038
  .drawer-toggle:checked ~ .drawer-side > *:not(.drawer-overlay) {
2032
2039
  transform: translateX(0%)}
2033
- .drawer-toggle:checked ~ .drawer-side > .drawer-overlay {
2034
- position: sticky;
2035
- top: 0px;
2036
- place-self: stretch;
2037
- background-color: hsl(0 0% 0%/0.4)}
2038
2040
  .drawer-end {
2039
2041
  grid-auto-columns: auto max-content}
2040
2042
  .drawer-end .drawer-toggle ~ .drawer-content {
@@ -3765,10 +3767,8 @@ details.collapse summary::-webkit-details-marker {
3765
3767
  --tw-bg-opacity: 0.1}
3766
3768
  .divider:not(:empty) {
3767
3769
  gap: 1rem}
3768
- .drawer-side > .drawer-overlay {
3769
- cursor: pointer;
3770
- background-color: transparent;
3771
- transition: background-color 0.2s cubic-bezier(0, 0, 0.58, 1)}
3770
+ .drawer-toggle:checked ~ .drawer-side > .drawer-overlay {
3771
+ background-color: hsl(0 0% 0%/0.4)}
3772
3772
  .drawer-toggle:focus-visible ~ .drawer-content label.drawer-button {
3773
3773
  outline-style: solid;
3774
3774
  outline-width: 2px;
@@ -4138,18 +4138,21 @@ details.collapse summary::-webkit-details-marker {
4138
4138
  transition-duration: 200ms;
4139
4139
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
4140
4140
  border-radius: var(--rounded-btn, 0.5rem)}
4141
- :where(.menu li:not(.menu-title):not(.disabled) > *:not(ul):not(details):not(.menu-title)):not(.active).focus,
4142
- :where(.menu li:not(.menu-title):not(.disabled) > *:not(ul):not(details):not(.menu-title)):not(.active):focus,
4143
- :where(.menu li:not(.menu-title):not(.disabled) > details > summary:not(.menu-title)):not(.active).focus,
4144
- :where(.menu li:not(.menu-title):not(.disabled) > details > summary:not(.menu-title)):not(.active):focus {
4141
+ :where(.menu li:not(.menu-title):not(.disabled) > *:not(ul):not(details):not(.menu-title)):not(summary):not(.active).focus,
4142
+ :where(.menu li:not(.menu-title):not(.disabled) > *:not(ul):not(details):not(.menu-title)):not(summary):not(.active):focus,
4143
+ :where(.menu li:not(.menu-title):not(.disabled) > *:not(ul):not(details):not(.menu-title)):is(summary):not(.active):focus-visible,
4144
+ :where(.menu li:not(.menu-title):not(.disabled) > details > summary:not(.menu-title)):not(summary):not(.active).focus,
4145
+ :where(.menu li:not(.menu-title):not(.disabled) > details > summary:not(.menu-title)):not(summary):not(.active):focus,
4146
+ :where(.menu li:not(.menu-title):not(.disabled) > details > summary:not(.menu-title)):is(summary):not(.active):focus-visible {
4145
4147
  cursor: pointer;
4146
4148
  background-color: hsl(var(--bc) / 0.1);
4147
4149
  --tw-text-opacity: 1;
4148
4150
  color: hsl(var(--bc) / var(--tw-text-opacity));
4149
4151
  outline: 2px solid transparent;
4150
4152
  outline-offset: 2px}
4151
- .menu li > *:active,
4152
- .menu li > *.active {
4153
+ .menu li > *:not(ul):not(details):active,
4154
+ .menu li > *:not(ul):not(details).active,
4155
+ .menu li > details > summary:active {
4153
4156
  --tw-bg-opacity: 1;
4154
4157
  background-color: hsl(var(--n) / var(--tw-bg-opacity));
4155
4158
  --tw-text-opacity: 1;
@@ -22719,17 +22722,18 @@ details.collapse summary::-webkit-details-marker {
22719
22722
  .menu-horizontal > li:not(.menu-title) > details > ul {
22720
22723
  margin-top: 1rem;
22721
22724
  margin-left: 0px;
22722
- --tw-bg-opacity: 1;
22723
- background-color: hsl(var(--b1) / var(--tw-bg-opacity));
22724
22725
  padding-top: 0.5rem;
22725
22726
  padding-bottom: 0.5rem;
22726
- padding-right: 0.5rem;
22727
+ padding-right: 0.5rem}
22728
+ .menu-horizontal > li > details > ul:before {
22729
+ content: none}
22730
+ :where(.menu-horizontal > li:not(.menu-title) > details > ul) {
22731
+ --tw-bg-opacity: 1;
22732
+ background-color: hsl(var(--b1) / var(--tw-bg-opacity));
22727
22733
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
22728
22734
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
22729
22735
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
22730
22736
  border-radius: var(--rounded-box, 1rem)}
22731
- .menu-horizontal > li > details > ul:before {
22732
- content: none}
22733
22737
  .menu-vertical > li:not(.menu-title) > details > ul {
22734
22738
  margin-top: 0px;
22735
22739
  margin-left: 1rem;
package/dist/styled.css CHANGED
@@ -414,7 +414,6 @@
414
414
  }
415
415
  .drawer-side {
416
416
  pointer-events: none;
417
- visibility: hidden;
418
417
  position: fixed;
419
418
  top: 0px;
420
419
  left: 0px;
@@ -434,6 +433,15 @@
434
433
  }
435
434
  .drawer-side::-webkit-scrollbar {
436
435
  display: none;
436
+ }
437
+ .drawer-side > .drawer-overlay {
438
+ position: sticky;
439
+ top: 0px;
440
+ place-self: stretch;
441
+ }
442
+ .drawer-side > * {
443
+ grid-column-start: 1;
444
+ grid-row-start: 1;
437
445
  }
438
446
  .drawer-side > *:not(.drawer-overlay) {
439
447
  transition: transform 0.4s cubic-bezier(0, 0, 0.58, 1);
@@ -452,19 +460,10 @@
452
460
  .drawer-toggle:checked ~ .drawer-side {
453
461
  pointer-events: auto;
454
462
  visibility: visible;
455
- }
456
- .drawer-toggle:checked ~ .drawer-side > * {
457
- grid-column-start: 1;
458
- grid-row-start: 1;
459
463
  }
460
464
  .drawer-toggle:checked ~ .drawer-side > *:not(.drawer-overlay) {
461
465
  transform: translateX(0%);
462
466
  }
463
- .drawer-toggle:checked ~ .drawer-side > .drawer-overlay {
464
- position: sticky;
465
- top: 0px;
466
- place-self: stretch;
467
- }
468
467
  .drawer-end {
469
468
  grid-auto-columns: auto max-content;
470
469
  }
@@ -3157,10 +3156,12 @@ details.collapse summary {
3157
3156
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
3158
3157
  border-radius: var(--rounded-btn, 0.5rem);
3159
3158
  }
3160
- :where(.menu li:not(.menu-title):not(.disabled) > *:not(ul):not(details):not(.menu-title)):not(.active).focus,
3161
- :where(.menu li:not(.menu-title):not(.disabled) > *:not(ul):not(details):not(.menu-title)):not(.active):focus,
3162
- :where(.menu li:not(.menu-title):not(.disabled) > details > summary:not(.menu-title)):not(.active).focus,
3163
- :where(.menu li:not(.menu-title):not(.disabled) > details > summary:not(.menu-title)):not(.active):focus {
3159
+ :where(.menu li:not(.menu-title):not(.disabled) > *:not(ul):not(details):not(.menu-title)):not(summary):not(.active).focus,
3160
+ :where(.menu li:not(.menu-title):not(.disabled) > *:not(ul):not(details):not(.menu-title)):not(summary):not(.active):focus,
3161
+ :where(.menu li:not(.menu-title):not(.disabled) > *:not(ul):not(details):not(.menu-title)):is(summary):not(.active):focus-visible,
3162
+ :where(.menu li:not(.menu-title):not(.disabled) > details > summary:not(.menu-title)):not(summary):not(.active).focus,
3163
+ :where(.menu li:not(.menu-title):not(.disabled) > details > summary:not(.menu-title)):not(summary):not(.active):focus,
3164
+ :where(.menu li:not(.menu-title):not(.disabled) > details > summary:not(.menu-title)):is(summary):not(.active):focus-visible {
3164
3165
  cursor: pointer;
3165
3166
  background-color: hsl(var(--bc) / 0.1);
3166
3167
  --tw-text-opacity: 1;
@@ -3178,16 +3179,18 @@ details.collapse summary {
3178
3179
  outline-offset: 2px;
3179
3180
  }
3180
3181
  }
3181
- .menu li > *:active,
3182
- .menu li > *.active {
3182
+ .menu li > *:not(ul):not(details):active,
3183
+ .menu li > *:not(ul):not(details).active,
3184
+ .menu li > details > summary:active {
3183
3185
  --tw-bg-opacity: 1;
3184
3186
  background-color: hsl(var(--n) / var(--tw-bg-opacity));
3185
3187
  --tw-text-opacity: 1;
3186
3188
  color: hsl(var(--nc) / var(--tw-text-opacity));
3187
3189
  }
3188
3190
  @media (hover:hover) {
3189
- .menu li > *:active,
3190
- .menu li > *.active {
3191
+ .menu li > *:not(ul):not(details):active,
3192
+ .menu li > *:not(ul):not(details).active,
3193
+ .menu li > details > summary:active {
3191
3194
  --tw-bg-opacity: 1;
3192
3195
  background-color: hsl(var(--n) / var(--tw-bg-opacity));
3193
3196
  --tw-text-opacity: 1;