daisyui 4.0.3 → 4.0.5

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/full.css CHANGED
@@ -2770,7 +2770,19 @@ html {
2770
2770
  padding-right: 2.5rem;
2771
2771
  font-size: 0.875rem;
2772
2772
  line-height: 1.25rem;
2773
- line-height: 2}
2773
+ line-height: 2;
2774
+ border-radius: var(--rounded-btn, 0.5rem);
2775
+ border-width: 1px;
2776
+ border-color: transparent;
2777
+ --tw-bg-opacity: 1;
2778
+ background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
2779
+ background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
2780
+ linear-gradient(135deg, currentColor 50%, transparent 50%);
2781
+ background-position: calc(100% - 20px) calc(1px + 50%),
2782
+ calc(100% - 16.1px) calc(1px + 50%);
2783
+ background-size: 4px 4px,
2784
+ 4px 4px;
2785
+ background-repeat: no-repeat}
2774
2786
  .select[multiple] {
2775
2787
  height: auto}
2776
2788
  .stack {
@@ -2885,8 +2897,8 @@ html {
2885
2897
  .tabs {
2886
2898
  display: grid;
2887
2899
  align-items: flex-end}
2888
- .tabs-lifted:has(.tab-content[class^="rounded-"]) :first-child:not(.tab-active),
2889
- .tabs-lifted:has(.tab-content[class*=" rounded-"]) :first-child:not(.tab-active) {
2900
+ .tabs-lifted:has(.tab-content[class^="rounded-"]) .tab:first-child:not(.tab-active),
2901
+ .tabs-lifted:has(.tab-content[class*=" rounded-"]) .tab:first-child:not(.tab-active) {
2890
2902
  border-bottom-color: transparent}
2891
2903
  .tab {
2892
2904
  position: relative;
@@ -4718,91 +4730,73 @@ details.collapse summary::-webkit-details-marker {
4718
4730
  transform: translateY(-0.125em)}
4719
4731
  100% {
4720
4732
  transform: translateY(0)}}
4721
- .select,
4722
- :where(select.select) {
4723
- border-radius: var(--rounded-btn, 0.5rem);
4724
- border-width: 1px;
4725
- border-color: transparent;
4726
- --tw-bg-opacity: 1;
4727
- background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
4728
- padding-right: 2.5rem;
4729
- background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
4730
- linear-gradient(135deg, currentColor 50%, transparent 50%);
4731
- background-position: calc(100% - 20px) calc(1px + 50%),
4732
- calc(100% - 16.1px) calc(1px + 50%);
4733
- background-size: 4px 4px,
4734
- 4px 4px;
4735
- background-repeat: no-repeat}
4736
- .select-bordered, :where(select.select)-bordered {
4733
+ .select-bordered {
4737
4734
  border-color: var(--fallback-bc,oklch(var(--bc)/0.2))}
4738
- .select:focus, :where(select.select):focus {
4735
+ .select:focus {
4739
4736
  box-shadow: none;
4740
4737
  border-color: var(--fallback-bc,oklch(var(--bc)/0.2));
4741
4738
  outline-style: solid;
4742
4739
  outline-width: 2px;
4743
4740
  outline-offset: 2px;
4744
4741
  outline-color: var(--fallback-bc,oklch(var(--bc)/0.2))}
4745
- .select-ghost, :where(select.select)-ghost {
4742
+ .select-ghost {
4746
4743
  --tw-bg-opacity: 0.05}
4747
- .select-ghost:focus, :where(select.select)-ghost:focus {
4744
+ .select-ghost:focus {
4748
4745
  --tw-bg-opacity: 1;
4749
4746
  --tw-text-opacity: 1;
4750
4747
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)))}
4751
- .select-primary, :where(select.select)-primary {
4748
+ .select-primary {
4752
4749
  --tw-border-opacity: 1;
4753
4750
  border-color: var(--fallback-p,oklch(var(--p)/var(--tw-border-opacity)))}
4754
- .select-primary:focus, :where(select.select)-primary:focus {
4751
+ .select-primary:focus {
4755
4752
  --tw-border-opacity: 1;
4756
4753
  border-color: var(--fallback-p,oklch(var(--p)/var(--tw-border-opacity)));
4757
4754
  outline-color: var(--fallback-p,oklch(var(--p)/1))}
4758
- .select-secondary, :where(select.select)-secondary {
4755
+ .select-secondary {
4759
4756
  --tw-border-opacity: 1;
4760
4757
  border-color: var(--fallback-s,oklch(var(--s)/var(--tw-border-opacity)))}
4761
- .select-secondary:focus, :where(select.select)-secondary:focus {
4758
+ .select-secondary:focus {
4762
4759
  --tw-border-opacity: 1;
4763
4760
  border-color: var(--fallback-s,oklch(var(--s)/var(--tw-border-opacity)));
4764
4761
  outline-color: var(--fallback-s,oklch(var(--s)/1))}
4765
- .select-accent, :where(select.select)-accent {
4762
+ .select-accent {
4766
4763
  --tw-border-opacity: 1;
4767
4764
  border-color: var(--fallback-a,oklch(var(--a)/var(--tw-border-opacity)))}
4768
- .select-accent:focus, :where(select.select)-accent:focus {
4765
+ .select-accent:focus {
4769
4766
  --tw-border-opacity: 1;
4770
4767
  border-color: var(--fallback-a,oklch(var(--a)/var(--tw-border-opacity)));
4771
4768
  outline-color: var(--fallback-a,oklch(var(--a)/1))}
4772
- .select-info, :where(select.select)-info {
4769
+ .select-info {
4773
4770
  --tw-border-opacity: 1;
4774
4771
  border-color: var(--fallback-in,oklch(var(--in)/var(--tw-border-opacity)))}
4775
- .select-info:focus, :where(select.select)-info:focus {
4772
+ .select-info:focus {
4776
4773
  --tw-border-opacity: 1;
4777
4774
  border-color: var(--fallback-in,oklch(var(--in)/var(--tw-border-opacity)));
4778
4775
  outline-color: var(--fallback-in,oklch(var(--in)/1))}
4779
- .select-success, :where(select.select)-success {
4776
+ .select-success {
4780
4777
  --tw-border-opacity: 1;
4781
4778
  border-color: var(--fallback-su,oklch(var(--su)/var(--tw-border-opacity)))}
4782
- .select-success:focus, :where(select.select)-success:focus {
4779
+ .select-success:focus {
4783
4780
  --tw-border-opacity: 1;
4784
4781
  border-color: var(--fallback-su,oklch(var(--su)/var(--tw-border-opacity)));
4785
4782
  outline-color: var(--fallback-su,oklch(var(--su)/1))}
4786
- .select-warning, :where(select.select)-warning {
4783
+ .select-warning {
4787
4784
  --tw-border-opacity: 1;
4788
4785
  border-color: var(--fallback-wa,oklch(var(--wa)/var(--tw-border-opacity)))}
4789
- .select-warning:focus, :where(select.select)-warning:focus {
4786
+ .select-warning:focus {
4790
4787
  --tw-border-opacity: 1;
4791
4788
  border-color: var(--fallback-wa,oklch(var(--wa)/var(--tw-border-opacity)));
4792
4789
  outline-color: var(--fallback-wa,oklch(var(--wa)/1))}
4793
- .select-error, :where(select.select)-error {
4790
+ .select-error {
4794
4791
  --tw-border-opacity: 1;
4795
4792
  border-color: var(--fallback-er,oklch(var(--er)/var(--tw-border-opacity)))}
4796
- .select-error:focus, :where(select.select)-error:focus {
4793
+ .select-error:focus {
4797
4794
  --tw-border-opacity: 1;
4798
4795
  border-color: var(--fallback-er,oklch(var(--er)/var(--tw-border-opacity)));
4799
4796
  outline-color: var(--fallback-er,oklch(var(--er)/1))}
4800
4797
  .select-disabled,
4801
4798
  .select:disabled,
4802
- .select[disabled],
4803
- :where(select.select)-disabled,
4804
- :where(select.select):disabled,
4805
- :where(select.select)[disabled] {
4799
+ .select[disabled] {
4806
4800
  cursor: not-allowed;
4807
4801
  --tw-border-opacity: 1;
4808
4802
  border-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));
@@ -4811,18 +4805,12 @@ details.collapse summary::-webkit-details-marker {
4811
4805
  --tw-text-opacity: 0.2}
4812
4806
  .select-disabled::placeholder,
4813
4807
  .select:disabled::placeholder,
4814
- .select[disabled]::placeholder,
4815
- :where(select.select)-disabled::placeholder,
4816
- :where(select.select):disabled::placeholder,
4817
- :where(select.select)[disabled]::placeholder {
4808
+ .select[disabled]::placeholder {
4818
4809
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));
4819
4810
  --tw-placeholder-opacity: 0.2}
4820
4811
  .select-multiple,
4821
4812
  .select[multiple],
4822
- .select[size].select:not([size="1"]),
4823
- :where(select.select)-multiple,
4824
- :where(select.select)[multiple],
4825
- :where(select.select)[size]:where(select.select):not([size="1"]) {
4813
+ .select[size].select:not([size="1"]) {
4826
4814
  background-image: none;
4827
4815
  padding-right: 1rem}
4828
4816
  [dir="rtl"] .select {
package/dist/styled.css CHANGED
@@ -1142,8 +1142,8 @@
1142
1142
  display: grid;
1143
1143
  align-items: flex-end;
1144
1144
  }
1145
- .tabs-lifted:has(.tab-content[class^="rounded-"]) :first-child:not(.tab-active),
1146
- .tabs-lifted:has(.tab-content[class*=" rounded-"]) :first-child:not(.tab-active) {
1145
+ .tabs-lifted:has(.tab-content[class^="rounded-"]) .tab:first-child:not(.tab-active),
1146
+ .tabs-lifted:has(.tab-content[class*=" rounded-"]) .tab:first-child:not(.tab-active) {
1147
1147
  border-bottom-color: transparent;
1148
1148
  }
1149
1149
  .tab {
@@ -4075,8 +4075,7 @@ details.collapse summary {
4075
4075
  transform: translateY(0);
4076
4076
  }
4077
4077
  }
4078
- .select,
4079
- :where(select.select) {
4078
+ .select {
4080
4079
  border-radius: var(--rounded-btn, 0.5rem);
4081
4080
  border-width: 1px;
4082
4081
  border-color: transparent;
@@ -4084,11 +4083,10 @@ details.collapse summary {
4084
4083
  background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
4085
4084
  padding-right: 2.5rem;
4086
4085
  }
4087
- .select-bordered, :where(select.select)-bordered {
4086
+ .select-bordered {
4088
4087
  border-color: var(--fallback-bc,oklch(var(--bc)/0.2));
4089
4088
  }
4090
- .select,
4091
- :where(select.select) {
4089
+ .select {
4092
4090
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
4093
4091
  linear-gradient(135deg, currentColor 50%, transparent 50%);
4094
4092
  background-position:
@@ -4099,7 +4097,7 @@ details.collapse summary {
4099
4097
  4px 4px;
4100
4098
  background-repeat: no-repeat;
4101
4099
  }
4102
- .select:focus, :where(select.select):focus {
4100
+ .select:focus {
4103
4101
  box-shadow: none;
4104
4102
  border-color: var(--fallback-bc,oklch(var(--bc)/0.2));
4105
4103
  outline-style: solid;
@@ -4107,83 +4105,80 @@ details.collapse summary {
4107
4105
  outline-offset: 2px;
4108
4106
  outline-color: var(--fallback-bc,oklch(var(--bc)/0.2));
4109
4107
  }
4110
- .select-ghost, :where(select.select)-ghost {
4108
+ .select-ghost {
4111
4109
  --tw-bg-opacity: 0.05;
4112
4110
  }
4113
- .select-ghost:focus, :where(select.select)-ghost:focus {
4111
+ .select-ghost:focus {
4114
4112
  --tw-bg-opacity: 1;
4115
4113
  --tw-text-opacity: 1;
4116
4114
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));
4117
4115
  }
4118
- .select-primary, :where(select.select)-primary {
4116
+ .select-primary {
4119
4117
  --tw-border-opacity: 1;
4120
4118
  border-color: var(--fallback-p,oklch(var(--p)/var(--tw-border-opacity)));
4121
4119
  }
4122
- .select-primary:focus, :where(select.select)-primary:focus {
4120
+ .select-primary:focus {
4123
4121
  --tw-border-opacity: 1;
4124
4122
  border-color: var(--fallback-p,oklch(var(--p)/var(--tw-border-opacity)));
4125
4123
  outline-color: var(--fallback-p,oklch(var(--p)/1));
4126
4124
  }
4127
- .select-secondary, :where(select.select)-secondary {
4125
+ .select-secondary {
4128
4126
  --tw-border-opacity: 1;
4129
4127
  border-color: var(--fallback-s,oklch(var(--s)/var(--tw-border-opacity)));
4130
4128
  }
4131
- .select-secondary:focus, :where(select.select)-secondary:focus {
4129
+ .select-secondary:focus {
4132
4130
  --tw-border-opacity: 1;
4133
4131
  border-color: var(--fallback-s,oklch(var(--s)/var(--tw-border-opacity)));
4134
4132
  outline-color: var(--fallback-s,oklch(var(--s)/1));
4135
4133
  }
4136
- .select-accent, :where(select.select)-accent {
4134
+ .select-accent {
4137
4135
  --tw-border-opacity: 1;
4138
4136
  border-color: var(--fallback-a,oklch(var(--a)/var(--tw-border-opacity)));
4139
4137
  }
4140
- .select-accent:focus, :where(select.select)-accent:focus {
4138
+ .select-accent:focus {
4141
4139
  --tw-border-opacity: 1;
4142
4140
  border-color: var(--fallback-a,oklch(var(--a)/var(--tw-border-opacity)));
4143
4141
  outline-color: var(--fallback-a,oklch(var(--a)/1));
4144
4142
  }
4145
- .select-info, :where(select.select)-info {
4143
+ .select-info {
4146
4144
  --tw-border-opacity: 1;
4147
4145
  border-color: var(--fallback-in,oklch(var(--in)/var(--tw-border-opacity)));
4148
4146
  }
4149
- .select-info:focus, :where(select.select)-info:focus {
4147
+ .select-info:focus {
4150
4148
  --tw-border-opacity: 1;
4151
4149
  border-color: var(--fallback-in,oklch(var(--in)/var(--tw-border-opacity)));
4152
4150
  outline-color: var(--fallback-in,oklch(var(--in)/1));
4153
4151
  }
4154
- .select-success, :where(select.select)-success {
4152
+ .select-success {
4155
4153
  --tw-border-opacity: 1;
4156
4154
  border-color: var(--fallback-su,oklch(var(--su)/var(--tw-border-opacity)));
4157
4155
  }
4158
- .select-success:focus, :where(select.select)-success:focus {
4156
+ .select-success:focus {
4159
4157
  --tw-border-opacity: 1;
4160
4158
  border-color: var(--fallback-su,oklch(var(--su)/var(--tw-border-opacity)));
4161
4159
  outline-color: var(--fallback-su,oklch(var(--su)/1));
4162
4160
  }
4163
- .select-warning, :where(select.select)-warning {
4161
+ .select-warning {
4164
4162
  --tw-border-opacity: 1;
4165
4163
  border-color: var(--fallback-wa,oklch(var(--wa)/var(--tw-border-opacity)));
4166
4164
  }
4167
- .select-warning:focus, :where(select.select)-warning:focus {
4165
+ .select-warning:focus {
4168
4166
  --tw-border-opacity: 1;
4169
4167
  border-color: var(--fallback-wa,oklch(var(--wa)/var(--tw-border-opacity)));
4170
4168
  outline-color: var(--fallback-wa,oklch(var(--wa)/1));
4171
4169
  }
4172
- .select-error, :where(select.select)-error {
4170
+ .select-error {
4173
4171
  --tw-border-opacity: 1;
4174
4172
  border-color: var(--fallback-er,oklch(var(--er)/var(--tw-border-opacity)));
4175
4173
  }
4176
- .select-error:focus, :where(select.select)-error:focus {
4174
+ .select-error:focus {
4177
4175
  --tw-border-opacity: 1;
4178
4176
  border-color: var(--fallback-er,oklch(var(--er)/var(--tw-border-opacity)));
4179
4177
  outline-color: var(--fallback-er,oklch(var(--er)/1));
4180
4178
  }
4181
4179
  .select-disabled,
4182
4180
  .select:disabled,
4183
- .select[disabled],
4184
- :where(select.select)-disabled,
4185
- :where(select.select):disabled,
4186
- :where(select.select)[disabled] {
4181
+ .select[disabled] {
4187
4182
  cursor: not-allowed;
4188
4183
  --tw-border-opacity: 1;
4189
4184
  border-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));
@@ -4193,19 +4188,13 @@ details.collapse summary {
4193
4188
  }
4194
4189
  .select-disabled::placeholder,
4195
4190
  .select:disabled::placeholder,
4196
- .select[disabled]::placeholder,
4197
- :where(select.select)-disabled::placeholder,
4198
- :where(select.select):disabled::placeholder,
4199
- :where(select.select)[disabled]::placeholder {
4191
+ .select[disabled]::placeholder {
4200
4192
  color: var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));
4201
4193
  --tw-placeholder-opacity: 0.2;
4202
4194
  }
4203
4195
  .select-multiple,
4204
4196
  .select[multiple],
4205
- .select[size].select:not([size="1"]),
4206
- :where(select.select)-multiple,
4207
- :where(select.select)[multiple],
4208
- :where(select.select)[size]:where(select.select):not([size="1"]) {
4197
+ .select[size].select:not([size="1"]) {
4209
4198
  background-image: none;
4210
4199
  padding-right: 1rem;
4211
4200
  }