daisyui 1.20.1 → 1.21.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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.21.0](https://github.com/saadeghi/daisyui/compare/v1.20.1...v1.21.0) (2022-01-01)
6
+
7
+
8
+ ### Features
9
+
10
+ * responsive table compact (fix [#364](https://github.com/saadeghi/daisyui/issues/364)) ([6e3d9b1](https://github.com/saadeghi/daisyui/commit/6e3d9b1074a3f1b02af27d102c3b13e30427f511))
11
+
5
12
  ### [1.20.1](https://github.com/saadeghi/daisyui/compare/v1.20.0...v1.20.1) (2021-12-30)
6
13
 
7
14
 
package/README.md CHANGED
@@ -79,7 +79,7 @@ Loading CSS files from CDN is not recommended for production. It's better to ins
79
79
 
80
80
 
81
81
  ```html
82
- <link href="https://cdn.jsdelivr.net/npm/daisyui@1.20.0/dist/full.css" rel="stylesheet" type="text/css" />
82
+ <link href="https://cdn.jsdelivr.net/npm/daisyui@1.20.1/dist/full.css" rel="stylesheet" type="text/css" />
83
83
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2/dist/tailwind.min.css" rel="stylesheet" type="text/css" />
84
84
  ```
85
85
 
package/dist/full.css CHANGED
@@ -4644,12 +4644,6 @@ html{
4644
4644
  background-color:hsla(var(--b2) / var(--tw-bg-opacity, 1));
4645
4645
  }
4646
4646
 
4647
- .table-compact td,.table-compact th{
4648
- font-size:.875rem;
4649
- line-height:1.25rem;
4650
- padding:.5rem;
4651
- }
4652
-
4653
4647
  .textarea-bordered{
4654
4648
  --tw-border-opacity:0.2;
4655
4649
  }
@@ -9780,6 +9774,18 @@ html{
9780
9774
  margin-left:50%;
9781
9775
  }
9782
9776
 
9777
+ .table-normal :where(th,td){
9778
+ font-size:1rem;
9779
+ line-height:1.5rem;
9780
+ padding:1rem;
9781
+ }
9782
+
9783
+ .table-compact :where(th,td){
9784
+ font-size:.875rem;
9785
+ line-height:1.25rem;
9786
+ padding:.5rem;
9787
+ }
9788
+
9783
9789
  @media (min-width:640px){
9784
9790
  .sm\:animate-none{
9785
9791
  -webkit-animation:none;
@@ -14492,6 +14498,18 @@ html{
14492
14498
  --tw-translate-y:-50%;
14493
14499
  margin-left:50%;
14494
14500
  }
14501
+
14502
+ .sm\:table-normal :where(th,td){
14503
+ font-size:1rem;
14504
+ line-height:1.5rem;
14505
+ padding:1rem;
14506
+ }
14507
+
14508
+ .sm\:table-compact :where(th,td){
14509
+ font-size:.875rem;
14510
+ line-height:1.25rem;
14511
+ padding:.5rem;
14512
+ }
14495
14513
  }
14496
14514
 
14497
14515
  @media (min-width:768px){
@@ -19206,6 +19224,18 @@ html{
19206
19224
  --tw-translate-y:-50%;
19207
19225
  margin-left:50%;
19208
19226
  }
19227
+
19228
+ .md\:table-normal :where(th,td){
19229
+ font-size:1rem;
19230
+ line-height:1.5rem;
19231
+ padding:1rem;
19232
+ }
19233
+
19234
+ .md\:table-compact :where(th,td){
19235
+ font-size:.875rem;
19236
+ line-height:1.25rem;
19237
+ padding:.5rem;
19238
+ }
19209
19239
  }
19210
19240
 
19211
19241
  @media (min-width:1024px){
@@ -23920,6 +23950,18 @@ html{
23920
23950
  --tw-translate-y:-50%;
23921
23951
  margin-left:50%;
23922
23952
  }
23953
+
23954
+ .lg\:table-normal :where(th,td){
23955
+ font-size:1rem;
23956
+ line-height:1.5rem;
23957
+ padding:1rem;
23958
+ }
23959
+
23960
+ .lg\:table-compact :where(th,td){
23961
+ font-size:.875rem;
23962
+ line-height:1.25rem;
23963
+ padding:.5rem;
23964
+ }
23923
23965
  }
23924
23966
 
23925
23967
  @media (min-width:1280px){
@@ -28634,6 +28676,18 @@ html{
28634
28676
  --tw-translate-y:-50%;
28635
28677
  margin-left:50%;
28636
28678
  }
28679
+
28680
+ .xl\:table-normal :where(th,td){
28681
+ font-size:1rem;
28682
+ line-height:1.5rem;
28683
+ padding:1rem;
28684
+ }
28685
+
28686
+ .xl\:table-compact :where(th,td){
28687
+ font-size:.875rem;
28688
+ line-height:1.25rem;
28689
+ padding:.5rem;
28690
+ }
28637
28691
  }
28638
28692
 
28639
28693
  @media (min-width:1536px){
@@ -33348,5 +33402,17 @@ html{
33348
33402
  --tw-translate-y:-50%;
33349
33403
  margin-left:50%;
33350
33404
  }
33405
+
33406
+ .\32xl\:table-normal :where(th,td){
33407
+ font-size:1rem;
33408
+ line-height:1.5rem;
33409
+ padding:1rem;
33410
+ }
33411
+
33412
+ .\32xl\:table-compact :where(th,td){
33413
+ font-size:.875rem;
33414
+ line-height:1.25rem;
33415
+ padding:.5rem;
33416
+ }
33351
33417
  }
33352
33418
 
package/dist/styled.css CHANGED
@@ -3272,11 +3272,6 @@
3272
3272
  --tw-bg-opacity:1;
3273
3273
  background-color:hsla(var(--b2) / var(--tw-bg-opacity, 1));
3274
3274
  }
3275
- .table-compact td,.table-compact th{
3276
- font-size:.875rem;
3277
- line-height:1.25rem;
3278
- padding:.5rem;
3279
- }
3280
3275
  .textarea{
3281
3276
  --tw-bg-opacity:1;
3282
3277
  background-color:hsla(var(--b1) / var(--tw-bg-opacity, 1));