daisyui 1.22.0 → 1.22.1

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,14 @@
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.22.1](https://github.com/saadeghi/daisyui/compare/v1.22.0...v1.22.1) (2022-01-12)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * [#394](https://github.com/saadeghi/daisyui/issues/394) prevent toggle from shrinking by default ([2676cc8](https://github.com/saadeghi/daisyui/commit/2676cc8b5fff495129f466175ccf7f9087dafb59))
11
+ * **breadcrumbs:** Remove the breadcrumb separator background color ([6ec8f5e](https://github.com/saadeghi/daisyui/commit/6ec8f5e92a8a113a4b0f398a6fc78eaf58f765f1))
12
+
5
13
  ## [1.22.0](https://github.com/saadeghi/daisyui/compare/v1.20.1...v1.22.0) (2022-01-08)
6
14
 
7
15
 
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.21.0/dist/full.css" rel="stylesheet" type="text/css" />
82
+ <link href="https://cdn.jsdelivr.net/npm/daisyui@1.22.0/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
 
@@ -154,7 +154,7 @@ Read the documents for more info:
154
154
  - [x] Checkbox
155
155
  - [x] Radio
156
156
  - [x] Range slider
157
- - [ ] Rating
157
+ - [x] Rating
158
158
  - [x] Toggle
159
159
  - [ ] Upload
160
160
  - [x] Hero
@@ -218,6 +218,10 @@ Read the documents for more info:
218
218
  - Courses
219
219
  - [Building with SvelteKit and GraphCMS](https://explorers.netlify.com/learn/building-with-sveltekit-and-graphcms)
220
220
  - [Svelte for Beginners by Mike Karan](https://www.udemy.com/course/svelte-for-beginners/)
221
+ - [React Front To Back 2022 by Brad Traversy](https://www.udemy.com/course/react-front-to-back-2022/)
222
+ - [Build Instagram profile page UI clone w/Next.js TailwindCSS](https://www.udemy.com/course/build-instagram-profile-page-ui-clone-nextjs-tailwindcss/)
223
+ - [Instagram UI Clone Login Page w/ NextJS & TailwindCSS](https://www.udemy.com/course/instagram-ui-clone-login-page-w-nextjs-tailwindcss/)
224
+ - [Build your Developer Portfolio and Blog from Scratch with Svelte and GraphCMS](https://www.freecodecamp.org/news/build-your-developer-portfolio-from-scratch-with-sveltekit-and-graphcms/)
221
225
 
222
226
  </details>
223
227
 
package/dist/full.css CHANGED
@@ -2520,6 +2520,31 @@ html{
2520
2520
  box-shadow:0 0 0 2px hsl(var(--b1)), 0 0 0 4px hsla(var(--bc) / .2);
2521
2521
  }
2522
2522
 
2523
+ .toggle{
2524
+ flex-shrink:0;
2525
+ --chkbg:hsla(var(--bc) / .2);
2526
+ --focus-shadow:0 0 0;
2527
+ --handleoffset:1.5rem;
2528
+ -webkit-appearance:none;
2529
+ -moz-appearance:none;
2530
+ appearance:none;
2531
+ --tw-bg-opacity:1;
2532
+ --tw-bg-opacity:0.2;
2533
+ background-color:hsla(var(--bc) / var(--tw-bg-opacity, 1));
2534
+ --tw-border-opacity:1;
2535
+ --tw-border-opacity:0.2;
2536
+ border-color:hsla(var(--bc) / var(--tw-border-opacity, 1));
2537
+ border-width:1px;
2538
+ cursor:pointer;
2539
+ height:1.5rem;
2540
+ width:3rem;
2541
+ transition-timing-function:cubic-bezier(.4, 0, .2, 1);
2542
+ transition-duration:.3s;
2543
+ border-radius:var(--rounded-badge, 1.9rem);
2544
+ transition:background,box-shadow var(--animation-input, .2s) ease-in-out;
2545
+ box-shadow:calc(var(--handleoffset)*-1) 0 0 2px hsl(var(--b1)) inset, 0 0 0 2px hsl(var(--b1)) inset, var(--focus-shadow);
2546
+ }
2547
+
2523
2548
  .toggle:focus{
2524
2549
  outline:2px solid transparent;
2525
2550
  outline-offset:2px;
@@ -2773,6 +2798,7 @@ html{
2773
2798
  transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2774
2799
  border-top:1px solid;
2775
2800
  border-right:1px solid;
2801
+ background-color:transparent;
2776
2802
  }
2777
2803
 
2778
2804
  .btn:active:focus,.btn:active:hover{
@@ -4818,30 +4844,6 @@ html{
4818
4844
  color:hsla(var(--bc) / var(--tw-placeholder-opacity, 1));
4819
4845
  }
4820
4846
 
4821
- .toggle{
4822
- --chkbg:hsla(var(--bc) / .2);
4823
- --focus-shadow:0 0 0;
4824
- --handleoffset:1.5rem;
4825
- -webkit-appearance:none;
4826
- -moz-appearance:none;
4827
- appearance:none;
4828
- --tw-bg-opacity:1;
4829
- --tw-bg-opacity:0.2;
4830
- background-color:hsla(var(--bc) / var(--tw-bg-opacity, 1));
4831
- --tw-border-opacity:1;
4832
- --tw-border-opacity:0.2;
4833
- border-color:hsla(var(--bc) / var(--tw-border-opacity, 1));
4834
- border-width:1px;
4835
- cursor:pointer;
4836
- height:1.5rem;
4837
- width:3rem;
4838
- transition-timing-function:cubic-bezier(.4, 0, .2, 1);
4839
- transition-duration:.3s;
4840
- border-radius:var(--rounded-badge, 1.9rem);
4841
- transition:background,box-shadow var(--animation-input, .2s) ease-in-out;
4842
- box-shadow:calc(var(--handleoffset)*-1) 0 0 2px hsl(var(--b1)) inset, 0 0 0 2px hsl(var(--b1)) inset, var(--focus-shadow);
4843
- }
4844
-
4845
4847
  .toggle:focus-visible{
4846
4848
  --focus-shadow:0 0 0 2px hsl(var(--b1)), 0 0 0 4px hsl(var(--bc));
4847
4849
  }
package/dist/styled.css CHANGED
@@ -1029,10 +1029,14 @@
1029
1029
  outline:2px solid transparent;
1030
1030
  outline-offset:2px;
1031
1031
  }
1032
- .toggle:focus{
1032
+ .toggle{
1033
+ flex-shrink:0;
1034
+ }
1035
+ .toggle:focus{
1033
1036
  outline:2px solid transparent;
1034
1037
  outline-offset:2px;
1035
- }.tooltip{
1038
+ }
1039
+ .tooltip{
1036
1040
  display:inline-block;
1037
1041
  position:relative;
1038
1042
  --tooltip-offset:calc(100% + 1px + var(--tooltip-tail, 0px));
@@ -1284,6 +1288,7 @@
1284
1288
  --tw-rotate:45deg;
1285
1289
  border-top:1px solid;
1286
1290
  border-right:1px solid;
1291
+ background-color:transparent;
1287
1292
  }.btn{
1288
1293
  font-weight:600;
1289
1294
  text-transform:uppercase;