daisyui 2.39.0 → 2.40.0

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/dist/styled.css CHANGED
@@ -63,26 +63,27 @@
63
63
  padding-right: 0.563rem
64
64
  }
65
65
  .btm-nav {
66
- position: fixed;
67
- bottom: 0px;
68
- left: 0px;
69
- right: 0px;
70
- display: flex;
71
- width: 100%;
72
- flex-direction: row;
73
- align-items: center;
74
- justify-content: space-around
66
+ position: fixed;
67
+ bottom: 0px;
68
+ left: 0px;
69
+ right: 0px;
70
+ display: flex;
71
+ width: 100%;
72
+ flex-direction: row;
73
+ align-items: center;
74
+ justify-content: space-around;
75
+ padding-bottom: env(safe-area-inset-bottom)
75
76
  }
76
77
  .btm-nav>* {
77
- position: relative;
78
- display: flex;
79
- height: 100%;
80
- flex-basis: 100%;
81
- cursor: pointer;
82
- flex-direction: column;
83
- align-items: center;
84
- justify-content: center;
85
- gap: 0.25rem
78
+ position: relative;
79
+ display: flex;
80
+ height: 100%;
81
+ flex-basis: 100%;
82
+ cursor: pointer;
83
+ flex-direction: column;
84
+ align-items: center;
85
+ justify-content: center;
86
+ gap: 0.25rem
86
87
  }
87
88
  .breadcrumbs {
88
89
  max-width: 100%;
@@ -294,7 +295,7 @@
294
295
  .collapse:not(.collapse-close)
295
296
  input[type="checkbox"]:checked
296
297
  ~ .collapse-content {
297
- max-height: 9000px;
298
+ max-height: none;
298
299
  }
299
300
  :root .countdown {
300
301
  line-height: 1em;
@@ -1922,7 +1923,7 @@
1922
1923
  width: 0.75rem;
1923
1924
  }
1924
1925
  /* group */
1925
- .btn-group > input[type="radio"].btn:checked,
1926
+ .btn-group > input[type="radio"]:checked.btn,
1926
1927
  .btn-group > .btn-active {
1927
1928
  --tw-border-opacity: 1;
1928
1929
  border-color: hsl(var(--p) / var(--tw-border-opacity));
@@ -1950,17 +1951,17 @@
1950
1951
  }
1951
1952
  .card :where(figure:first-child) {
1952
1953
  overflow: hidden;
1953
- border-top-left-radius: inherit;
1954
- border-top-right-radius: inherit;
1955
- border-bottom-left-radius: unset;
1956
- border-bottom-right-radius: unset;
1954
+ border-start-start-radius: inherit;
1955
+ border-start-end-radius: inherit;
1956
+ border-end-start-radius: unset;
1957
+ border-end-end-radius: unset;
1957
1958
  }
1958
1959
  .card :where(figure:last-child) {
1959
1960
  overflow: hidden;
1960
- border-top-left-radius: unset;
1961
- border-top-right-radius: unset;
1962
- border-bottom-left-radius: inherit;
1963
- border-bottom-right-radius: inherit;
1961
+ border-start-start-radius: unset;
1962
+ border-start-end-radius: unset;
1963
+ border-end-start-radius: inherit;
1964
+ border-end-end-radius: inherit;
1964
1965
  }
1965
1966
  .card:focus-visible {
1966
1967
  outline: 2px solid currentColor;
@@ -2237,11 +2238,6 @@
2237
2238
  display: none;
2238
2239
  }
2239
2240
 
2240
- [dir="rtl"] .checkbox {
2241
- --chkbg: var(--bc);
2242
- --chkfg: var(--b1);
2243
- }
2244
-
2245
2241
  [dir="rtl"] .checkbox:checked,
2246
2242
  [dir="rtl"] .checkbox[checked="true"],
2247
2243
  [dir="rtl"] .checkbox[aria-checked="true"] {
@@ -2473,6 +2469,7 @@
2473
2469
  --tw-text-opacity: 1;
2474
2470
  color: hsl(var(--nc) / var(--tw-text-opacity));
2475
2471
  text-decoration-line: none;
2472
+ border-radius: var(--rounded-btn, 0.5rem);
2476
2473
  border-width: var(--border-btn, 1px);
2477
2474
  animation: button-pop var(--animation-btn, 0.25s) ease-out;
2478
2475
  text-transform: var(--btn-text-case, uppercase);
@@ -2935,8 +2932,8 @@
2935
2932
  --tw-border-opacity: 1;
2936
2933
  border-color: hsl(var(--p) / var(--tw-border-opacity));
2937
2934
  }
2938
- .menu[class*=" p-"] li > *,
2939
- .menu[class^="p-"] li > * {
2935
+ .menu[class*=" p-"]:not(.menu[class*=" p-0"]) li > *,
2936
+ .menu[class^="p-"]:not(.menu[class^="p-0"]) li > * {
2940
2937
  border-radius: var(--rounded-btn, 0.5rem);
2941
2938
  }
2942
2939
  .menu :where(li.bordered > *) {