free-astro-components 0.0.38 → 0.0.39

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "A collection of free Astro components",
4
4
  "author": "Denis Ventura",
5
5
  "type": "module",
6
- "version": "0.0.38",
6
+ "version": "0.0.39",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": {
@@ -14,7 +14,7 @@ const { label } = Astro.props
14
14
  type="checkbox"
15
15
  />
16
16
  <svg
17
- class="ac-theme-switch-icon ac-theme-switch-icon--dark block w-5 h-5"
17
+ class="ac-theme-switch-icon ac-theme-switch-icon--dark"
18
18
  viewBox="0 0 24 24"
19
19
  >
20
20
  <path
@@ -22,7 +22,7 @@ const { label } = Astro.props
22
22
  fill="currentColor"></path>
23
23
  </svg>
24
24
  <svg
25
- class="ac-theme-switch-icon ac-theme-switch-icon--light hidden w-5 h-5"
25
+ class="ac-theme-switch-icon ac-theme-switch-icon--light"
26
26
  viewBox="0 0 24 24"
27
27
  >
28
28
  <path
@@ -31,7 +31,7 @@ const { label } = Astro.props
31
31
  </svg>
32
32
  {
33
33
  label ? (
34
- <span class="ac-theme-switch-label absolute opacity-0 w-0 h-0 overflow-hidden">
34
+ <span class="ac-theme-switch-label">
35
35
  {label}
36
36
  </span>
37
37
  ) : (
@@ -45,7 +45,7 @@ const { label } = Astro.props
45
45
  <style>
46
46
  .ac-theme-switch-wrapper {
47
47
  cursor: pointer;
48
- display: inline-flex;
48
+ display: flex;
49
49
  align-items: center;
50
50
  gap: var(--ac-spacing-2);
51
51
  font-family: var(--ac-font-sans);