reflex-components-code 0.9.0__tar.gz → 0.9.1__tar.gz

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.
@@ -1,13 +1,15 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reflex-components-code
3
- Version: 0.9.0
3
+ Version: 0.9.1
4
4
  Summary: Reflex code display components.
5
5
  Author-email: Khaleel Al-Adhami <khaleel@reflex.dev>
6
6
  Maintainer-email: Khaleel Al-Adhami <khaleel@reflex.dev>
7
+ License: Apache-2.0
7
8
  Requires-Python: >=3.10
8
- Requires-Dist: reflex-components-core
9
- Requires-Dist: reflex-components-lucide
10
- Requires-Dist: reflex-components-radix
9
+ Requires-Dist: reflex-base>=0.9.0
10
+ Requires-Dist: reflex-components-core>=0.9.0
11
+ Requires-Dist: reflex-components-lucide>=0.9.0
12
+ Requires-Dist: reflex-components-radix>=0.9.0
11
13
  Description-Content-Type: text/markdown
12
14
 
13
15
  # reflex-components-code
@@ -2,14 +2,16 @@
2
2
  name = "reflex-components-code"
3
3
  dynamic = ["version"]
4
4
  description = "Reflex code display components."
5
+ license.text = "Apache-2.0"
5
6
  readme = "README.md"
6
7
  authors = [{ name = "Khaleel Al-Adhami", email = "khaleel@reflex.dev" }]
7
8
  maintainers = [{ name = "Khaleel Al-Adhami", email = "khaleel@reflex.dev" }]
8
9
  requires-python = ">=3.10"
9
10
  dependencies = [
10
- "reflex-components-core",
11
- "reflex-components-lucide",
12
- "reflex-components-radix",
11
+ "reflex-base >= 0.9.0",
12
+ "reflex-components-core >= 0.9.0",
13
+ "reflex-components-lucide >= 0.9.0",
14
+ "reflex-components-radix >= 0.9.0",
13
15
  ]
14
16
 
15
17
  [tool.hatch.version]
@@ -59,9 +59,9 @@ document.addEventListener('click', function(event) {
59
59
  setTimeout(() => {
60
60
  svgIcon.innerHTML = originalPath; // Restore original SVG content
61
61
  transition(svgIcon, 1, '1');
62
- }, 125);
63
- }, 600);
64
- }, 125);
62
+ }, 60);
63
+ }, 350);
64
+ }, 60);
65
65
  } else {
66
66
  // console.error('SVG element not found within the parent.');
67
67
  }
@@ -803,9 +803,9 @@ class ShikiHighLevelCodeBlock(ShikiCodeBlock):
803
803
  "_hover": {
804
804
  "background": color("gray", 4),
805
805
  },
806
- "transition": "background 0.250s ease-out",
806
+ "transition": "background 0.12s ease-out",
807
807
  "&>svg": {
808
- "transition": "transform 0.250s ease-out, opacity 0.250s ease-out",
808
+ "transition": "transform 0.12s ease-out, opacity 0.12s ease-out",
809
809
  },
810
810
  "_active": {
811
811
  "background": color("gray", 5),