daisyui 2.15.4 → 2.17.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
@@ -179,6 +179,10 @@
179
179
  .btn-group > input[type="radio"].btn:before {
180
180
  content: attr(data-title);
181
181
  }
182
+ .btn-group-vertical {
183
+ flex-direction: column;
184
+ flex-wrap: nowrap;
185
+ }
182
186
  .card {
183
187
  position: relative;
184
188
  display: flex;
@@ -1841,14 +1845,23 @@
1841
1845
  .btn-group > input[type="radio"]:checked.btn:focus-visible, .btn-group > .btn-active:focus-visible {
1842
1846
  outline: 2px solid hsl(var(--p));
1843
1847
  }
1844
- .btn-group > .btn:not(:first-of-type) {
1848
+ .btn-group:not(.btn-group-vertical) > .btn:not(:first-of-type) {
1845
1849
  margin-left: -1px;
1846
1850
  border-top-left-radius: 0px;
1847
1851
  border-bottom-left-radius: 0px;
1848
1852
  }
1849
- .btn-group > .btn:not(:last-of-type) {
1853
+ .btn-group:not(.btn-group-vertical) > .btn:not(:last-of-type) {
1854
+ border-top-right-radius: 0px;
1855
+ border-bottom-right-radius: 0px;
1856
+ }
1857
+ .btn-group-vertical > .btn:not(:first-of-type) {
1858
+ margin-top: -1px;
1859
+ border-top-left-radius: 0px;
1850
1860
  border-top-right-radius: 0px;
1861
+ }
1862
+ .btn-group-vertical > .btn:not(:last-of-type) {
1851
1863
  border-bottom-right-radius: 0px;
1864
+ border-bottom-left-radius: 0px;
1852
1865
  }
1853
1866
  @keyframes button-pop {
1854
1867
  0% {