instaui 0.1.11__py3-none-any.whl → 0.1.12__py3-none-any.whl

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.
@@ -0,0 +1,3 @@
1
+ __all__ = ["echarts"]
2
+
3
+ from instaui_echarts import echarts # type: ignore
@@ -0,0 +1,9 @@
1
+ def show_error(msg: str):
2
+ def error_handler(error: Exception):
3
+ from instaui.components.html.paragraph import Paragraph
4
+
5
+ Paragraph(msg).style(
6
+ "border: 1px dashed red;padding: 1em;font-weight: bold;font-size: medium;"
7
+ )
8
+
9
+ return error_handler
@@ -0,0 +1,3 @@
1
+ __all__ = ["mermaid"]
2
+
3
+ from instaui_mermaid import Mermaid as mermaid # type: ignore
@@ -0,0 +1,3 @@
1
+ __all__ = ["code"]
2
+
3
+ from instaui_shiki import shiki as code # type: ignore
@@ -1 +1 @@
1
- :root{color-scheme:light dark}:where(body){--insta-column-gap: 1rem;height:100vh}:where(*){box-sizing:border-box;margin:0;padding:0}:where(#app){height:100%}:where(.app-box,.insta-main){height:100%;overflow-y:auto}:where(.insta-main){--insta-padding: 16px;padding:var(--insta-padding, 16px)}
1
+ :root{color-scheme:light dark}:where(body){--insta-column-gap: 1rem;height:100vh}:where(*){box-sizing:border-box;margin:0;padding:0}:where(#app){height:100%}:where(.app-box,.insta-main){height:100%;overflow-y:auto}:where(.insta-main){--insta-padding: 16px;padding:var(--insta-padding, 16px)}