-
-```
-
-
-Using `` to pass the extra arguments to other components **WILL NOT WORK**. That is because the components are translated to macros before the page render.
-
-You must pass them as the special argument `_attrs`.
-
-```html+jinja
-{#--- WRONG 😵 ---#}
-
-
-{#--- GOOD 👍 ---#}
-
-
-```
-
-
-#### `.set(name=value, ...)`
-
-Sets an attribute or property
-
-- Pass a name and a value to set an attribute (e.g. `type="text"`)
-- Use `True` as a value to set a property (e.g. `disabled`)
-- Use `False` to remove an attribute or property
-- If the attribute is "class", the new classes are appended to
- the old ones (if not repeated) instead of replacing them.
-- The underscores in the names will be translated automatically to dashes,
- so `aria_selected` becomes the attribute `aria-selected`.
-
-```html+jinja title="Adding attributes/properties"
-{% do attrs.set(
- id="loremipsum",
- disabled=True,
- data_test="foobar",
- class="m-2 p-4",
-) %}
-```
-
-```html+jinja title="Removing attributes/properties"
-{% do attrs.set(
- title=False,
- disabled=False,
- data_test=False,
- class=False,
-) %}
-```
-
-#### `.setdefault(name=value, ...)`
-
-Adds an attribute, but only if it's not already present.
-
-The underscores in the names will be translated automatically to dashes, so `aria_selected`
-becomes the attribute `aria-selected`.
-
-```html+jinja
-{% do attrs.setdefault(
- aria_label="Products"
-) %}
-```
-
-#### `.add_class(name1, name2, ...)`
-
-Adds one or more classes to the list of classes, if not already present.
-
-```html+jinja
-{% do attrs.add_class("hidden") %}
-{% do attrs.add_class("active", "animated") %}
-```
-
-#### `.remove_class(name1, name2, ...)`
-
-Removes one or more classes from the list of classes.
-
-```html+jinja
-{% do attrs.remove_class("hidden") %}
-{% do attrs.remove_class("active", "animated") %}
-```
-
-#### `.get(name, default=None)`
-
-Returns the value of the attribute or property,
-or the default value if it doesn't exist.
-
-```html+jinja
-{%- set role = attrs.get("role", "tab") %}
-```
-
-...
\ No newline at end of file
diff --git a/docs/content/guide/css_and_js.md b/docs/content/guide/css_and_js.md
deleted file mode 100644
index 8e296e2..0000000
--- a/docs/content/guide/css_and_js.md
+++ /dev/null
@@ -1,230 +0,0 @@
----
-title: Adding CSS and JS
-description: Your components might need custom styles or custom JavaScript for many reasons.
----
-
-
-Your components might need custom styles or custom JavaScript for many reasons.
-
-Instead of using global stylesheet or script files, writing assets for each individual component has several advantages:
-
-- **Portability**: You can copy a component from one project to another, knowing it will keep working as expected.
-- **Performance**: Only load the CSS and JS that you need on each page. Additionally, the browser will have already cached the assets of the components for other pages that use them.
-- **Simple testing**: You can test the JS of a component independently from others.
-
-## Auto-loading assets
-
-JinjaX searches for `.css` and `.js` files with the same name as your component in the same folder and automatically adds them to the list of assets included on the page. For example, if your component is `components/common/Form.jinja`, both `components/common/Form.css` and `components/common/Form.js` will be added to the list, but only if those files exist.
-
-## Manually declaring assets
-
-In addition to auto-loading assets, the CSS and/or JS of a component can be declared in the metadata header with `{#css ... #}` and `{#js ... #}`.
-
-```html
-{#css lorem.css, ipsum.css #}
-{#js foo.js, bar.js #}
-```
-
-- The file paths must be relative to the root of your components catalog (e.g., `components/form.js`) or absolute (e.g., `http://example.com/styles.css`).
-- Multiple assets must be separated by commas.
-- Only **one** `{#css ... #}` and **one** `{#js ... #}` tag is allowed per component at most, but both are optional.
-
-### Global assets
-
-The best practice is to store both CSS and JS files of the component within the same folder. Doing this has several advantages, including easier component reuse in other projects, improved code readability, and simplified debugging.
-
-However, there are instances when you may need to rely on global CSS or JS files, such as third-party libraries. In such cases, you can specify these dependencies in the component's metadata using URLs that start with either "/", "http://," or "https://."
-
-When you do this, JinjaX will render them as is, instead of prepending them with the component's prefix like it normally does.
-
-For example, this code:
-
-```html+jinja
-{#css foo.css, bar.css, /static/bootstrap.min.css #}
-{#js http://example.com/cdn/moment.js, bar.js #}
-
-{{ catalog.render_assets() }}
-```
-
-will be rendered as this HTML output:
-
-```html
-
-
-
-
-
-```
-
-## Including assets in your pages
-
-The catalog will collect all CSS and JS file paths from the components used on a "page" render on the `catalog.collected_css` and `catalog.collected_js` lists.
-
-For example, after rendering this component:
-
-```html+jinja title="components/MyPage.jinja"
-{#css mypage.css #}
-{#js mypage.js #}
-
-
-
-
- Lizard
- The Iguana is a type of lizard
-
-
- Share
-
-
-
-```
-
-Assuming the `Card` and `Button` components declare CSS assets, this will be the state of the `collected_css` list:
-
-```py
-catalog.collected_css
-['mypage.css', 'card.css', 'button.css']
-```
-
-You can add the `
` and `
-
-
-```
-
-## Middleware
-
-The tags above will not work if your application can't return the content of those files. Currently, it can't.
-
-For that reason, JinjaX includes WSGI middleware that will process those URLs if you add it to your application.
-
-```py
-from flask import Flask
-from jinjax import Catalog
-
-app = Flask(__name__)
-
-# Here we add the Flask Jinja globals, filters, etc., like `url_for()`
-catalog = jinjax.Catalog(jinja_env=app.jinja_env)
-
-catalog.add_folder("myapp/components")
-
-app.wsgi_app = catalog.get_middleware(
- app.wsgi_app,
- autorefresh=app.debug,
-)
-```
-
-The middleware uses the battle-tested [Whitenoise library](http://whitenoise.evans.io/) and will only respond to the *.css* and *.js* files inside the component(s) folder(s). You can configure it to also return files with other extensions. For example:
-
-```python
-catalog.get_middleware(app, allowed_ext=[".css", .js", .svg", ".png"])
-```
-
-Be aware that if you use this option, `get_middleware()` must be called **after** all folders are added.
-
-## Good practices
-
-### CSS Scoping
-
-The styles of your components will not be auto-scoped. This means the styles of a component can affect other components and likewise, it will be affected by global styles or the styles of other components.
-
-To protect yourself against that, *always* add a custom class to the root element(s) of your component and use it to scope the rest of the component styles.
-
-You can even use this syntax now supported by [all modern web browsers](https://caniuse.com/css-nesting):
-
-```sass
-.Parent {
- .foo { ... }
- .bar { ... }
-}
-```
-
-The code above will be interpreted as
-
-```css
-.Parent .foo { ... }
-.Parent .bar { ... }
-```
-
-Example:
-
-```html+jinja title="components/Card.jinja"
-{#css card.css #}
-
-
-
My Card
- ...
-
-```
-
-```sass title="components/card.css"
-/* 🚫 DO NOT do this */
-h1 { font-size: 2em; }
-h2 { font-size: 1.5em; }
-a { color: blue; }
-
-/* 👍 DO THIS instead */
-.Card {
- & h1 { font-size: 2em; }
- & h2 { font-size: 1.5em; }
- & a { color: blue; }
-}
-
-/* 👍 Or this */
-.Card h1 { font-size: 2em; }
-.Card h2 { font-size: 1.5em; }
-.Card a { color: blue; }
-```
-
-
-Always use a class **instead of** an `id`, or the component will not be usable more than once per page.
-
-
-### JS events
-
-Your components might be inserted in the page on-the-fly, after the JavaScript files have been loaded and executed. So, attaching events to the elements on the page on load will not be enough:
-
-```js title="components/card.js"
-// This will fail for any Card component inserted after page load
-document.querySelectorAll('.Card button.share')
- .forEach((node) => {
- node.addEventListener("click", handleClick)
- })
-
-/* ... etc ... */
-```
-
-A solution can be using event delegation:
-
-```js title="components/card.js"
-// This will work for any Card component inserted after page load
-document.addEventListener("click", (event) => {
- if (event.target.matches(".Card button.share")) {
- handleClick(event)
- }
-})
-```
diff --git a/docs/content/guide/index.md b/docs/content/guide/index.md
deleted file mode 100644
index 0c092ea..0000000
--- a/docs/content/guide/index.md
+++ /dev/null
@@ -1,196 +0,0 @@
----
-title: Introduction
----
-
-
-JinjaX is a Python library for creating reusable "components": encapsulated template snippets that can take arguments and render to HTML. They are similar to React or Vue components, but they render on the server side, not in the browser.
-
-
-Unlike Jinja's `{% include "..." %}` or macros, JinjaX components integrate naturally with the rest of your template code.
-
-```html+jinja
-
-
- Products
- {% for product in products %}
-
- {% endfor %}
-
-
-```
-
-## Features
-
-### Simple
-
-JinjaX components are simple Jinja templates. You use them as if they were HTML tags without having to import them: easy to use and easy to read.
-
-### Encapsulated
-
-They are independent of each other and can link to their own CSS and JS, so you can freely copy and paste components between applications.
-
-### Testable
-
-All components can be unit tested independently of the pages where they are used.
-
-### Composable
-
-A JinjaX component can wrap HTML code or other components with a natural syntax, as if they were another tag.
-
-### Modern
-
-They are a great complement to technologies like [TailwindCSS](https://tailwindcss.com/), [htmx](https://htmx.org/), or [Hotwire](https://hotwired.dev/).
-
-## Usage
-
-#### Install
-
-Install the library using `pip`.
-
-```bash
-pip install jinjax
-```
-
-#### Components folder
-
-Then, create a folder that will contain your components, for example:
-
-```
-└ myapp/
- ├── app.py
- ├── components/ 🆕
- │ └── Card.jinja 🆕
- ├── static/
- ├── templates/
- └── views/
-└─ requirements.txt
-```
-
-#### Catalog
-
-Finally, you must create a "catalog" of components in your app. This is the object that manages the components and their global settings. You then add the path of the folder with your components to the catalog:
-
-```python
-from jinjax import Catalog
-
-catalog = Catalog()
-catalog.add_folder("myapp/components")
-```
-
-#### Render
-
-You will use the catalog to render components from your views.
-
-```python
-def myview():
- ...
- return catalog.render(
- "Page",
- title="Lorem ipsum",
- message="Hello",
- )
-```
-
-In this example, it is a component for the whole page, but you can also render smaller components, even from inside a regular Jinja template if you add the catalog as a global:
-
-```python
-app.jinja_env.globals["catalog"] = catalog
-```
-
-```html+jinja
-{% block content %}
-
- {{ catalog.irender("LikeButton", title="Like and subscribe!", post=post) }}
-
-
Lorem ipsum
-{{ catalog.irender("CommentForm", post=post) }}
-{% endblock %}
-```
-
-## How It Works
-
-JinjaX uses Jinja to render the component templates. In fact, it currently works as a pre-processor, replacing all:
-
-```html
-
content
-```
-
-with function calls like:
-
-```html+jinja
-{% call catalog.irender("Component", attr="value") %}content{% endcall %}
-```
-
-These calls are evaluated at render time. Each call loads the source of the component file, parses it to extract the names of CSS/JS files, required and/or optional attributes, pre-processes the template (replacing components with function calls, as before), and finally renders the new template.
-
-### Reusing Jinja's Globals, Filters, and Tests
-
-You can add your own global variables and functions, filters, tests, and Jinja extensions when creating the catalog:
-
-```python
-from jinjax import Catalog
-
-catalog = Catalog(
- globals={ ... },
- filters={ ... },
- tests={ ... },
- extensions=[ ... ],
-)
-```
-
-or afterward.
-
-```python
-catalog.jinja_env.globals.update({ ... })
-catalog.jinja_env.filters.update({ ... })
-catalog.jinja_env.tests.update({ ... })
-catalog.jinja_env.extensions.extend([ ... ])
-```
-
-The ["do" extension](https://jinja.palletsprojects.com/en/3.0.x/extensions/#expression-statement) is enabled by default, so you can write things like:
-
-```html+jinja
-{% do attrs.set(class="btn", disabled=True) %}
-```
-
-### Reusing an Existing Jinja Environment
-
-You can also reuse an existing Jinja Environment, for example:
-
-#### Flask:
-
-```python
-app = Flask(__name__)
-
-# Here we add the Flask Jinja globals, filters, etc., like `url_for()`
-catalog = jinjax.Catalog(jinja_env=app.jinja_env)
-```
-
-#### Django:
-
-First, configure Jinja in `settings.py` and [jinja_env.py](https://docs.djangoproject.com/en/5.0/topics/templates/#django.template.backends.jinja2.Jinja2).
-
-To have a separate "components" folder for shared components and also have "components" subfolders at each Django app level:
-
-```python
-import jinjax
-from jinja2.loaders import FileSystemLoader
-
-def environment(loader: FileSystemLoader, **options):
- env = Environment(loader=loader, **options)
-
- ...
-
- env.add_extension(jinjax.JinjaX)
- catalog = jinjax.Catalog(jinja_env=env)
-
- catalog.add_folder("components")
- for dir in loader.searchpath:
- catalog.add_folder(os.path.join(dir, "components"))
-
- return env
-```
-
-#### FastAPI:
-
-TBD
\ No newline at end of file
diff --git a/docs/content/guide/integrations.md b/docs/content/guide/integrations.md
deleted file mode 100644
index 0884d22..0000000
--- a/docs/content/guide/integrations.md
+++ /dev/null
@@ -1,3 +0,0 @@
----
-title: Integrations
----
\ No newline at end of file
diff --git a/docs/content/guide/motivation.md b/docs/content/guide/motivation.md
deleted file mode 100644
index 90602b5..0000000
--- a/docs/content/guide/motivation.md
+++ /dev/null
@@ -1,115 +0,0 @@
----
-title: Motivation
----
-
-An overview of what Jinja is about, and a glimpse into my disjointed decision-making process that got me here.
-
-
-## Components are cool
-
-Despite the complexity of a single-page application, some programmers claim React or Vue offer a better development experience than traditional server-side rendered templates. I believe this is mostly because of the greatest improvement React introduced to web development: components.
-
-
-Components, *as a way to organize template code*. Reactivity is cool too, but unrelated to the main issue.
-
-
-When writing Python, we aim for the code to be easy to understand and test. However, we often forget all of that when writing templates that don't even meet basic standards: long methods, deep conditional nesting, and mysterious variables everywhere.
-
-Components are way cooler than the HTML soup tag of server-side rendered templates. They make it very clear what arguments they take and how they can render. More than anything, components are modular: markup, logic, and relevant styles all in one package. You can copy and paste them between projects, and you can share them with other people.
-
-This means a community has formed around sharing these components. Now you can easily find hundreds of ready-to-use components—some of them very polished—for every common UI widget, even the "complex" ones, like color-pickers. The big problem is that you can only use them with React (and Vue components with Vue, etc.) and in a single-page application.
-
-Jinja is about bringing that innovation back to server-side-rendered applications.
-
-## Not quite there: Jinja macros
-
-An underestimated feature of Jinja is *macros*. Jinja [macros](https://jinja.palletsprojects.com/en/3.0.x/templates/#macros) are template snippets that work like functions: They can have positional or keyword arguments, and when called return the rendered text inside.
-
-```html+jinja
-{% macro input(name, value="", type="text", size=20) -%}
-
-{%- endmacro %}
-
-{% macro button(type="button") -%}
-
- {{ caller() }}
-
-{%- endmacro %}
-```
-
-You can then import the macro to your template to use it:
-
-```html+jinja
-{% from 'forms.html' import input, button %}
-
-
{{ input("username") }}
-
{{ input("password", type="password") }}
-{% call button("submit") %}Submit{% endcall %}
-```
-You must use the `{% call x %}` to pass the child content to the macro—by using the weird incantation `{{ caller() }}`—otherwise you can just call it like it were a function.
-
-So, can we use macros as components and call it a day? Well... no. This looks terrible:
-
-```html+jinja
-{% call Card(label="Hello") %}
- {% call MyButton(color="blue", shadowSize=2) %}
- {{ Icon(name="ok") }} Click Me
- {% endcall %}
-{% endcall %}
-```
-
-compared to how you would write it with JSX:
-
-```html
-
-
- Click Me
-
-
-```
-
-But macros are *almost* there. They would be a great foundation if we could adjust the syntax just a little.
-
-## Strong alternative: Mako
-
-At some point, I considered dropping this idea and switching to [Mako](https://www.makotemplates.org/), a template library by Michael Bayer (of SQLAlchemy fame).
-
-It's a hidden gem that doesn't get much attention because of network effects. See how close you can get with it:
-
-```html+mako
-<%def name="layout()"> # <--- A "macro"
-
-
-
-
-
-
- ${caller.body()}
-
-
-%def>
-
-## calls the layout def <--- Look! Python-style comments
-
-<%self:layout>
- <%def name="header()"> # <--- This is like a "slot"!
- I am the header
- %def>
- <%def name="sidebar()">
-
- sidebar 1
- sidebar 2
-
- %def>
- this is the body
-%self:layout>
-```
-
-Mako also has `<% include %>`s with arguments, which is another way of doing components if you don't need to pass content.
-
-However, in the end, the network effects, my familiarity with Jinja, and a little of not-invented-here syndrome tipped the scales to write a Jinja extension.
diff --git a/docs/content/guide/performance.md b/docs/content/guide/performance.md
deleted file mode 100644
index 609b952..0000000
--- a/docs/content/guide/performance.md
+++ /dev/null
@@ -1,3 +0,0 @@
----
-title: Performance
----
diff --git a/docs/content/guide/slots.md b/docs/content/guide/slots.md
deleted file mode 100644
index 991f327..0000000
--- a/docs/content/guide/slots.md
+++ /dev/null
@@ -1,175 +0,0 @@
----
-title: Slots / Content
-description: Working with content in components.
----
-
-
-Besides attributes, components can also accept content to render inside them.
-
-
-Everything between the open and close tags of the components will be rendered and passed to the component as an implicit `content` variable
-
-This is a very common pattern, and it is called a **_slot_**. A slot is a placeholder for content that can be provided by the user of the component. For example, we may have a `
` component that supports usage like this:
-
-```html+jinja
-
-
- {{ content }}
-
-```
-
-![slot diagram](/static/img/slots-diagram.png)
-
-The `` is responsible for rendering the outer `` (and its fancy styling), while the inner content is provided by the parent component.
-
-A great use case of the `content` is to make layout components:
-
-
-
-
-## Fallback Content
-
-There are cases when it's useful to specify fallback (i.e. default) content for a slot, to be rendered only when no content is provided. For example, in a `` component:
-
-```html+jinja
-
- {{ content }}
-
-```
-
-We might want the text "Submit" to be rendered inside the `` if the parent didn't provide any slot content. The special "content" variable is just a string like any other, so we can test if it's empty to make "Submit" the fallback content:
-
-```html+jinja
-
- {% if content %}
- {{ content }}
- {% else %}
- Submit
- {% endif %}
-
-```
-
-Now when we use `` in a parent component, providing no content for the slot:
-
-```html+jinja
-
-```
-
-
-The `content` of a self-closing component is an empty string.
-
-
-This will render the fallback content, "Submit":
-
-```html
-Submit
-```
-
-But if we provide content:
-
-```html+jinja
-Save
-```
-
-Then the provided content will be rendered instead:
-
-```html
-Save
-```
-
-
-## Multiple content slots (a.k.a. "named slots")
-
-There are cases when a component is complex enough to need multiple content slots. For example, a `` component might need a `header`, a `body`, and a `footer` content.
-
-One way to implement it is using multiple content slots. To do so, instead of rendering `content` as a string, you can also _call_ it with name. Then, the parent component can provide a content _for_ that name.
-
-![_slot variable](/static/img/slots-_slot.png)
-
-Note the `_slot` special variable. This is automatically available in the content in the parent component and contains the named the component has used to call request its content.
-
-The `_slot` variable is scoped to the content of that component, so it's not available outside of it:
-
-```html+jinja hl_lines="2 7 11"
-
- {% if _slot == "hi" %} {# <--- _slot #}
- Hello{% endif %}
-
-
-
- {% if _slot == "hi" %} {# <--- This _slot is a different one #}
- Sup?{% endif %}
-
-
-{{ _slot }} {# <--- Undefined variable #}
-```
-
-
-## Composability: better than named slots
-
-Named slots are a quick way to have multiple content slots, but are a bit messy beyond some simple cases.
-
-Composability offers a more flexible and idiomatic approach when multiple content slots are needed. The idea is to have separated components for each content slot, and then compose them together. Let's explore this concept using the same example as above.
-
-Consider a `Modal` component that requires three distinct sections: a header, a body, and a footer. Instead of using named slots, we can create separate components for each section and composing them within a `Modal` component wrapper.
-
-```html+jinja
-
-
-
-
- Hello World!
-
-
-
- The modal body.
-
-
-
- Cancel
- Save
-
-
-
-```
-
-Now, the `Modal` component is responsible for rendering the outer `` and its styling, while the inner content is provided by the child components.
-
-
-
-### Advantages of Composability
-
-- **Flexibility**: You can easily rearrange, omit, or add new sections without modifying the core `Modal` component.
-- **Reusability**: Each section (`ModalHeader`, `ModalBody`, `ModalFooter`) can be used independently or within other components.
-- **Maintainability**: It's easier to update or style individual sections without affecting the others.
-
-
-## Testing components with content
-
-To test a component in isolation, you can manually send a content argument using the special `_content` argument:
-
-```python
-catalog.render("PageLayout", title="Hello world", _content="TEST")
-```
-
diff --git a/docs/content/index.md b/docs/content/index.md
deleted file mode 100644
index 69796da..0000000
--- a/docs/content/index.md
+++ /dev/null
@@ -1,8 +0,0 @@
----
-title: Welcome
-component: PageSingle
-description: Super components powers for your Jinja templates
-social_card: SocialCardIndex
----
-
-
diff --git a/docs/content/ui/accordion.md b/docs/content/ui/accordion.md
deleted file mode 100644
index 8676fd5..0000000
--- a/docs/content/ui/accordion.md
+++ /dev/null
@@ -1,43 +0,0 @@
----
-title: Accordion
-description: Component for grouping HTML elements where only one of them can be open at the same time.
----
-
-
- Component for grouping details
HTML elements where only one of them can be open at the same time.
-
-
-An accordion is a vertically stacked group of collapsible sections. HTML has already a native element for this, the `` element, but it doesn't support the "only one open at a time" behavior, so we need to add some JS to make it work, and that's what this component does.
-
-If you don't need to ensure only one section is open at a time, you don't need this component at all, just use the `` element directly.
-
-
-
-
-The `Accordion` is a simple wrapper plus some JS logic, so it doesn't uses any arguments and it's as accesible as the `details` element you put inside.
-
-
-## Events
-
-The `Accordion` doesn't emit or listen to any events, but the `` elements inside do.
-
-In addition to the usual events supported by HTML elements, the `` element supports the `toggle` event, which is dispatched to the `` element whenever its state changes between open and closed. The `Accordion` component listen to it to be able to close the other `` elements when one is opened.
-
-The `toggle` event is sent *after* the state is changed, although if the state changes multiple times before the browser can dispatch the event, the events are coalesced so that only one is sent.
-
-```js
-details.addEventListener("toggle", (event) => {
- if (details.open) {
- /* the element was toggled open */
- } else {
- /* the element was toggled closed */
- }
-});
-```
diff --git a/docs/content/ui/index.md b/docs/content/ui/index.md
deleted file mode 100644
index 0a406a4..0000000
--- a/docs/content/ui/index.md
+++ /dev/null
@@ -1,58 +0,0 @@
----
-title: UI components
-description: Unstyled, fully accessible UI components, to integrate with your projects.
----
-
-
- Unstyled, fully accessible UI components, to integrate with your projects.
-
-
-
-
-
-## How to use
-
-1. Install the `jinjax-ui` python library doing
-
- ```bash
- pip install jinjax-ui
- ```
-
-2. Add it to your *JinjaX* catalog:
-
- ```python
- import jinjax_ui
-
- catalog.add_folder(jinjax_ui.components_path, prefix="")
- ```
-
-3. Use the UI components in your components/templates:
-
- ```html+jinja
- ...
- ```
\ No newline at end of file
diff --git a/docs/content/ui/linkedlist.md b/docs/content/ui/linkedlist.md
deleted file mode 100644
index ac3fce2..0000000
--- a/docs/content/ui/linkedlist.md
+++ /dev/null
@@ -1,19 +0,0 @@
----
-title: Linked Lists
-description: A component to select multiple items from a long list, while keeping them sorted.
----
-
-
- A component to select multiple items from a long list, while keeping them sorted.
-
-
-
-
-The checkboxes above are displayed so you can see how they get checked/unchecked. If you might want to hide them with CSS, the component will keep working as usual, but they must be present.
diff --git a/docs/content/ui/menu.md b/docs/content/ui/menu.md
deleted file mode 100644
index 12539d5..0000000
--- a/docs/content/ui/menu.md
+++ /dev/null
@@ -1,112 +0,0 @@
----
-title: Menu (Dropdown)
-description: Displays a list of options that a user can choose with robust support for keyboard navigation. Built using the Popover API.
----
-
-
- Displays a list of options that a user can choose with robust support for
- keyboard navigation. Built using the Popover API.
-
-
-
-
-**Note:** This component does not handle keyboard shortcuts, here are shown only as an example.
-
-Menus are built using the `Menu`, `MenuButton`, `MenuItem`, and `MenuItemSub` components. Clicking on menu button or activating it with the keyboard will show the corresponding menu.
-
-```html+jinja
-Open menu
-
- item1 〈-- Regular item
- item2
- item3
- item4 〈----------- An item with a submenu
- ... 〈----------- Submenu
-
-
-```
-
-A `Menu` starts hidden on page load by having `display:none` set on it (the Popover API does it automatically). To show/hide the menu, you need to add a `MenuButton`.
-
-When a `Menu` is shown, it has `display:none` removed from it and it is put into the top layer so, unlike just using `position: absolute`, it's guaranteed that it will sit on top of all other page content.
-
-
-## Anchor positioning
-
-By default, the menu appears centered in the layout view, but this component allows you to position it relative to an specific element in the page, using the `anchor` and `anchor-to` attributes.
-
-`anchor` is the ID of the element used as a reference, and `anchor-to` which side of the anchor to use: "top", "bottom", "right", or "left"; with an optional postfix of "start" or "end" ("center" is the default).
-
-
-
-
-
-The positioning is done every time the menu opens, but you can trigger the re-position, for example, on windows resizing, by calling the `jxui-popover/setPosition(menu)` function.
-
-
-## Styling states
-
-| CSS selector | Description
-| ----------------------- | --------------
-| `.ui-menu` | Every menu has this class
-| `.ui-menu:popover-open` | This pseudo-class matches only menus that are currently being shown
-| `::backdrop` | This pseudo-element is a full-screen element placed directly behind showing menu elements in the top layer, allowing effects to be added to the page content behind the menu(s) if desired. You might for example want to blur out the content behind the menu to help focus the user's attention on it
-
-To animate a menu, follow the [Animating popovers section](/headless/popover#animating-popovers) in the Popover page.
-
-
-## Component arguments
-
-### MenuButton
-
-| Argument | Type | Default | Description
-| --------------- | --------- | ---------- | --------------
-| `target` | `str` | | Required. The ID of the linked `Popover` component.
-| `action` | `str` | `"toggle"` | `"open"`, `"close"`, or `"toggle"`.
-| `tag` | `str` | `"button"` | HTML tag of the component.
-
-### Menu
-
-| Argument | Type | Default | Description
-| ------------ | ----- | -------- | --------------
-| `mode` | `str` | `"auto"` | `"auto"` or `"manual"`.
-| `anchor` | `str` | | ID of the element used as an anchor
-| `anchor-to` | `str` | | Which side/position of the anchor to use: "**top**", "**bottom**", "**right**", or "**left**"; with an optional postfix of "**start**", "**end**", "**center**".
-| `tag` | `str` | `"div"` | HTML tag of the component.
-
-### MenuItem
-
-| Argument | Type | Default | Description
-| ------------ | ----- | -------- | --------------
-| `mode` | `str` | `"auto"` | `"auto"` or `"manual"`.
-
-### MenuSubItem
-
-| Argument | Type | Default | Description
-| ------------ | ----- | -------- | --------------
-| `mode` | `str` | `"auto"` | `"auto"` or `"manual"`.
-
-
-## Accessibility notes
-
-### Mouse interaction
-
-- Clicking a `PopButton` will trigger the button action (open, close, or toggle state).
-
-- Clicking outside of a `Popover` will close *all* the `Popover` with `mode="auto"`.
-
-
-### Keyboard interaction
-
-- Pressing the Enter or Space keys on a `PopButton` will trigger
-the button action (open, close, or toggle state), and close *all* the `Popover` with `mode="auto"`.
-
-- Pressing the Escape key will close *all* the `Popover` with `mode="auto"`.
diff --git a/docs/content/ui/popover.md b/docs/content/ui/popover.md
deleted file mode 100644
index 673f96d..0000000
--- a/docs/content/ui/popover.md
+++ /dev/null
@@ -1,204 +0,0 @@
----
-title: Pop-over
-description: A wrapper over the Popover API with anchor positioning.
----
-
-
- A wrapper over the Popover API with anchor positioning.
-
-
-Pop-overs are powerful components with many use cases like edit menus,
-custom notifications, content pickers, or help dialogs.
-
-They can also be used for big hideable sidebars, like a shopping cart or action panels.
-Pop-overs are **always non-modal**. If you want to create a modal popoverover, a `Dialog`
-component is the way to go instead.
-
-
-
-A `Popover` starts hidden on page load by having `display:none` set on it (the Popover API does it automatically). To show/hide the popover, you need to add some control `PopButton`s.
-
-When a popover is shown, it has `display:none` removed from it and it is put into the top layer so, unlike just using `position: absolute`, it's guaranteed that it will sit on top of all other page content.
-
-
-## Anchor positioning
-
-By default, a popover appears centered in the layout view, but this component allows you to position it relative to an specific element in the page, using the `anchor` and `anchor-to` attributes.
-
-`anchor` is the ID of the element used as a reference, and `anchor-to` which side of the anchor to use: "top", "bottom", "right", or "left"; with an optional postfix of "start" or "end" ("center" is the default).
-
-
-
-
-
-The positioning is done every time the popover opens, but you can trigger the re-position, for example, on windows resizing, by calling the `jxui-popover/setPosition(popover)` function.
-
-
-## Styling states
-
-| CSS selector | Description
-| ------------------- | --------------
-| `[popover]` | Every popover has this attribute
-| `:popover-open` | This pseudo-class matches only popovers that are currently being shown
-| `::backdrop` | This pseudo-element is a full-screen element placed directly behind showing popover elements in the top layer, allowing effects to be added to the page content behind the popover(s) if desired. You might for example want to blur out the content behind the popover to help focus the user's attention on it
-
-
-## Closing modes
-
-A `Popover` can be of two types: "auto" or "manual". This is controlled by the `mode` argument.
-
-| Argument | Description
-| ------------------ | --------------
-| `mode="auto"` | The `Popover` will close automatically when the user clicks outside of it, or when presses the Escape key.
-| `mode="manual"` | The `Popover` will not close automatically. It will only close when the user clicks on a linked `PopButton` with `action="close"` or `action="toggle"`.
-
-If the `mode` argument is not set, it defaults to "auto".
-
-
-## `PopButton` actions
-
-A `PopButton` can have an `action` argument, which can be set to one of three values: "open", "close", or "toggle". This argument determines what happens to the target `Popover` when the button is clicked.
-
-| Argument | Description
-| ----------------- | --------------
-| `action="open"` | Opens the target `Popover`. If the `Popover` is already open, it has no effect.
-| `action="close"` | Closes the target `Popover`. If the `Popover` is already closed, it has no effect.
-| `action="toggle"` | This is the default action. It toggles the target `Pop – opening it if it's closed and closing it if it's open.
-
-
-## Animating popovers
-
-Popovers are set to `display:none;` when hidden and `display:block;` when shown, as well as being removed from / added to the [top layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer). Therefore, for popovers to be animated, the `display` property [needs to be animatable].
-
-[Supporting browsers](https://developer.mozilla.org/en-US/docs/Web/CSS/display#browser_compatibility) animate `display` flipping between `none` and another value of `display` so that the animated content is shown for the entire animation duration. So, for example:
-
-- When animating `display` from `none` to `block` (or another visible `display` value), the value will flip to `block` at `0%` of the animation duration so it is visible throughout.
-- When animating `display` from `block` (or another visible `display` value) to `none`, the value will flip to `none` at `100%` of the animation duration so it is visible throughout.
-
-
-When animating using CSS transitions, `transition-behavior:allow-discrete` needs to be set to enable the above behavior. When animating with CSS animations, the above behavior is available by default; an equivalent step is not required.
-
-
-
-### Transitioning a popover
-
-When animating popovers with CSS transitions, the following features are required:
-
-- `@starting-style` at-rule
-
- Provides a set of starting values for properties set on the popover that you want to transition from when it is first shown. This is needed to avoid unexpected behavior. By default, CSS transitions only occur when a property changes from one value to another on a visible element; they are not triggered on an element's first style update, or when the `display` type changes from `none` to another type.
-
-- `display` property
-
- Add `display` to the transitions list so that the popover will remain as `display:block` (or another visible `display` value) for the duration of the transition, ensuring the other transitions are visible.
-
-- `overlay` property
-
- Include `overlay` in the transitions list to ensure the removal of the popover from the top layer is deferred until the transition completes, again ensuring the transition is visible.
-
-- `transition-behavior` property
-
- Set `transition-behavior:allow-discrete` on the `display` and `overlay` transitions (or on the `transition` shorthand) to enable discrete transitions on these two properties that are not by default animatable.
-
-For example, let's say the styles we want to transition are `opacity` and `transform`: we want the popover to fade in or out while moving down or up.
-
-To achieve this, we set a starting state for these properties on the hidden state of the popover element (selected with the `[popover]` attribute selector) and an end state for the shown state of the popover (selected via the `:popover-open` pseudo-class). We also use the `transition` property to define the properties to animate and the animation's duration as the popover gets shown or hidden:
-
-```css
-/*** Transition for the popover itself ***/
-[popover]:popover-open {
- opacity: 1;
- transform: scaleX(1);
-}
-[popover] {
- transition: all 0.2s allow-discrete;
- /* Final state of the exit animation */
- opacity: 0;
- transform: translateY(-3rem);
-}
-[popover]:popover-open {
- opacity: 1;
- transform: translateY(0);
-}
-/* Needs to be after the previous [popover]:popover-open rule
-to take effect, as the specificity is the same */
-@starting-style {
- [popover]:popover-open {
- opacity: 0;
- transform: translateY(-3rem);
- }
-}
-
-/*** Transition for the popover's backdrop ***/
-[popover]::backdrop {
- /* Final state of the exit animation */
- background-color: rgb(0 0 0 / 0%);
- transition: all 0.2s allow-discrete;
-}
-[popover]:popover-open::backdrop {
- background-color: rgb(0 0 0 / 15%);
-}
-@starting-style {
- [popover]:popover-open::backdrop {
- background-color: rgb(0 0 0 / 0%);
- }
-}
-```
-
-You can see a working example of this in the demo [at the beginning of the page](#startpage).
-
-
-Because popovers change from display:none
to display:block
each time they are shown, the popover transitions from its @starting-style
styles to its [popover]:popover-open
styles every time the entry transition occurs. When the popover closes, it transitions from its [popover]:popover-open
state to the default [popover]
state.
-
-So it is possible for the style transition on entry and exit to be different.
-
-
-
-This section was adapted from [Animating popovers](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API/Using#animating_popovers)
-by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/MDN/Community/Roles_teams#contributor), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).
-
-
-
-## Component arguments
-
-### PopButton
-
-| Argument | Type | Default | Description
-| --------------- | --------- | ---------- | --------------
-| `target` | `str` | | Required. The ID of the linked `Popover` component.
-| `action` | `str` | `"toggle"` | `"open"`, `"close"`, or `"toggle"`.
-| `tag` | `str` | `"button"` | HTML tag of the component.
-
-### Pop
-
-| Argument | Type | Default | Description
-| ------------ | ----- | -------- | --------------
-| `mode` | `str` | `"auto"` | `"auto"` or `"manual"`.
-| `anchor` | `str` | | ID of the element used as an anchor
-| `anchor-to` | `str` | | Which side/position of the anchor to use: "**top**", "**bottom**", "**right**", or "**left**"; with an optional postfix of "**start**", "**end**", "**center**".
-| `tag` | `str` | `"div"` | HTML tag of the component.
-
-
-## Accessibility notes
-
-### Mouse interaction
-
-- Clicking a `PopButton` will trigger the button action (open, close, or toggle state).
-
-- Clicking outside of a `Popover` will close *all* the `Popover` with `mode="auto"`.
-
-
-### Keyboard interaction
-
-- Pressing the Enter or Space keys on a `PopButton` will trigger
-the button action (open, close, or toggle state), and close *all* the `Popover` with `mode="auto"`.
-
-- Pressing the Escape key will close *all* the `Popover` with `mode="auto"`.
diff --git a/docs/content/ui/reldate.md b/docs/content/ui/reldate.md
deleted file mode 100644
index e3624c8..0000000
--- a/docs/content/ui/reldate.md
+++ /dev/null
@@ -1,58 +0,0 @@
----
-title: Relative date
-description: A component to convert datetimes to relative dates strings, such as "a minute ago", "in 2 hours", "yesterday", "3 months ago", etc. using JavaScript's Intl.RelativeTimeFormat API.
----
-
-
-A component to convert datetimes to relative dates strings,
-such as "a minute ago", "in 2 hours", "yesterday", "3 months ago",
-etc. using JavaScript's Intl.RelativeTimeFormat API .
-
-
-*Some examples (as if the datetime was `June 20th, 2024 6:30pm`)*:
-
-| Source | Relative date
-| -----------------------------------------| --------------
-| ` ` | 6 months ago
-| ` ` | yesterday
-| ` ` | 5 hours ago
-| ` ` | in 19 hours
-| ` ` | next week
-| ` ` | 32 years ago
-
-
-## How it works
-
-The `RelDate` component is rendered as an empty `` tag and, when the page load, the datetime is rendered by JavaScript.
-
-There is also a `MutationObserver` in place to render the datetime on any `` inserted later to the page by JavaScript.
-
-
-## Localization
-
-The locale used for the localization of the dates is, in order of priority:
-
-1. The optional `lang` attribute of the component; or
-2. The `lang` attribute of the `` tag
-
-Both can be a comma-separated lists of locales (e.g.: `"en-US,en-UK,en`). If none of these attributes exists, or if the locales are not supported by the browser, it fallsback to the default browser language.
-
-*Some examples (as if the datetime was `June 20th, 2024 6:30pm`)*:
-
-| Source | Relative date
-| ---------------------------------------------------------------| --------------
-| ` ` | 6 mesi fa
-| ` ` | hier
-| ` ` | dentro de 19 horas
-| ` ` | dentro de 19 horas
-
-
-## Component arguments
-
-## RelDate
-
-| Argument | Type | Description
-| -----------| ----- | --------------
-| `datetime` | `str` | Required.
-| `lang` | `str` | Optional comma-separated list of locales to use for formatting. If not defined, the attribute `lang` of the `` tag will be used. If that is also not defined, or none of the locales are supported by the browser, the default browser language is used
-| `now` | `str` | Optional ISO-formatted date to use as the "present time". Useful for testing.
diff --git a/docs/content/ui/tabs.md b/docs/content/ui/tabs.md
deleted file mode 100644
index 094e271..0000000
--- a/docs/content/ui/tabs.md
+++ /dev/null
@@ -1,162 +0,0 @@
----
-title: Tabs
-description: Easily create accessible, fully customizable tab interfaces, with robust focus management and keyboard navigation support.
----
-
-
- Easily create accessible, fully customizable tab interfaces, with robust focus management and keyboard navigation support.
-
-
-
-
-Tabs are built using the `TabGroup`, `TabList`, `Tab`, and `TabPanel` components. Clicking on any tab or selecting it with the keyboard will activate the corresponding panel.
-
-
-## Styling states
-
-| CSS selector | Description
-| --------------- | --------------
-| `.ui-hidden` | Added to all `TabPanel` except the one that is active.
-| `.ui-selected` | Added to the selected `Tab`.
-| `.ui-disabled` | Added to disabled `Tab`s.
-
-
-## Disabling a tab
-
-To disable a tab, use the disabled attribute on the `Tab` component. Disabled tabs cannot be selected with the mouse, and are also skipped when navigating the tab list using the keyboard.
-
-
-Disabling tabs might be confusing for users. Instead, I reccomend you either remove it or explain why there is no content for that tab when is selected.
-
-
-
-## Manually activating tabs
-
-By default, tabs are automatically selected as the user navigates through them using the arrow kbds.
-
-If you'd rather not change the current tab until the user presses Enter or Space , use the `manual` attribute on the `TabGroup` component.
-
-Remember to add styles to the `:focus` state of the tab so is clear to the user that the tab is focused.
-
-
-
-The manual prop has no impact on mouse interactions — tabs will still be selected as soon as they are clicked.
-
-
-## Vertical tabs
-
-If you've styled your `TabList` to appear vertically, use the `vertical` attribute to enable navigating with the ↑ and ↓ arrow kbds instead of ← and → , and to update the `aria-orientation` attribute for assistive technologies.
-
-
-
-
-## Controlling the tabs with a ``
-
-Sometimes, you want to display a `` element in addition to tabs. To do so, use the `TabSelect` and `TabOption` components.
-A `TabSelect` component is a wrapper for a `` element, and it accepts `TabOption` components as children.
-
-Note that a `TabSelect` **is not a replacement for a `TabList`**. For accessibility the `TabList` must be remain in your code, even if it's visually hidden.
-
-
-
-
-## Component arguments
-
-### TabGroup
-
-| Argument | Type | Default | Description
-| ----------- | -------- | ---------- | --------------
-| tag | `str` | `"div"` | HTML tag used for rendering the wrapper.
-
-### TabList
-
-| Argument | Type | Default | Description
-| ----------- | -------- | ---------- | --------------
-| vertical | `bool` | `false` | Use the ↑ and ↓ arrow kbds to move between tabs instead of the defaults ← and → arrow kbds.
-| manual | `bool` | `false` | If `true`, selecting a tab with the keyboard won't activate it, you must press Enter os Space kbds to do it.
-| tag | `str` | `"nav"` | HTML tag used for rendering the wrapper.
-
-
-### Tab
-
-| Argument | Type | Default | Description
-| ----------- | -------- | ---------- | --------------
-| target | `str` | | Required. HTML id of the panel associated with this tab.
-| selected | `bool` | `false` | Initially selected tab. Only one tab in the `TabList` can be selected at the time.
-| disabled | `bool` | `false` | If the tab can be selected.
-| tag | `str` | `"button"` | HTML tag used for rendering the tab.
-
-### TabPanel
-
-| Argument | Type | Default | Description
-| ----------- | -------- | ---------- | --------------
-| hidden | `bool` | `false` | Initially hidden panel.
-| tag | `bool` | `"div"` | HTML tag used for rendering the panel.
-
-
-### TabSelect
-
-No arguments.
-
-
-### TabOption
-
-| Argument | Type | Default | Description
-| ----------- | -------- | ---------- | --------------
-| target | `str` | | Required. HTML id of the panel associated with this tab.
-| disabled | `bool` | `false` | Display the option but not allow to select it.
-
-
-## Events
-
-A tab emits a `jxui:tab:selected` event every time is selected. The event contains the `target` property with the tag node.
-
-```js
-document.addEventListener("jxui:tab:selected", (event) => {
- console.log(`'${event.target.textContent}' tab selected`);
-});
-```
-
-
-## Accessibility notes
-
-### Mouse interaction
-
-Clicking a `Tab` will select that tab and display the corresponding `TabPanel`.
-
-### Keyboard interaction
-
-All interactions apply when a `Tab` component is focused.
-
-| Command | Description
-| ------------------------------------------------------------------------------------- | -----------
-| ← / → arrow kbds | Selects the previous/next non-disabled tab, cycling from last to first and vice versa.
-| ↑ / ↓ arrow kbds when `vertical` is set | Selects the previous/next non-disabled tab, cycling from last to first and vice versa.
-| Enter or Space when `manual` is set | Activates the selected tab
-| Home or PageUp | Activates the **first** tab
-| End or PageDown | Activates the **last** tab
diff --git a/docs/deploy.sh b/docs/deploy.sh
deleted file mode 100755
index 9fe8897..0000000
--- a/docs/deploy.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-python docs.py build
-ssh code 'rm -rf /var/www/jinjax/build'
-rsync --recursive --delete --progress build code:/var/www/jinjax/
diff --git a/docs/docs.py b/docs/docs.py
deleted file mode 100755
index d49699f..0000000
--- a/docs/docs.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/usr/bin/env python
-import logging
-from pathlib import Path
-
-import jinjax_ui
-from claydocs import Docs
-
-
-logging.getLogger("jinjax").setLevel(logging.INFO)
-logging.getLogger("jinjax").addHandler(logging.StreamHandler())
-
-here = Path(__file__).parent
-
-pages = [
- "index.md",
- [
- "Guide",
- [
- "guide/index.md",
- "guide/components.md",
- "guide/slots.md",
- "guide/css_and_js.md",
- # "guide/integrations.md",
- # "guide/performance.md",
- "guide/motivation.md",
- ],
- ],
- [
- "API",
- [
- "api.md",
- ],
- ],
- [
- "UI components", [
- "ui/index.md",
- "ui/tabs.md",
- "ui/popover.md",
- "ui/menu.md",
- "ui/accordion.md",
- "ui/linkedlist.md",
- "ui/reldate.md",
- ],
- ],
-]
-
-def get_docs() -> Docs:
- root_path = here / "content"
- docs = Docs(
- pages,
- content_folder=root_path,
- add_ons=[jinjax_ui],
- search=False,
- cache=False,
- domain="https://jinjax.scaletti.dev",
- default_component="Page",
- default_social="SocialCard",
- metadata={
- "name": "JinjaX",
- "language": "en",
- "license": "MIT",
- "version": "0.43",
- "web": "https://jinjax.scaletti.dev",
- }
- )
- docs.add_folder(here / "components")
- docs.add_folder(here / "theme")
- return docs
-
-
-if __name__ == "__main__":
- get_docs().run()
diff --git a/docs/indexer.js b/docs/indexer.js
deleted file mode 100644
index 637645b..0000000
--- a/docs/indexer.js
+++ /dev/null
@@ -1,27 +0,0 @@
-var lunr = require("lunr");
-require("lunr-languages/lunr.stemmer.support")(lunr);
-const fs = require("node:fs");
-
-function build_index([lang, outpath]) {
- lang = lang || "en"
- outpath = outpath || "."
-
- if (lang !== "en") {
- const lunr_lang = require(`lunr-languages/lunr.${lang}`)(lunr);
- this.use(lunr_lang);
- }
-
- const idx = lunr(function() {
- this.ref("id");
- this.field("title", { boost: 10 });
- this.field("body");
- const docs = JSON.parse(fs.readFileSync(`${outpath}/docs-${lang}.json`));
-
- for (let doc in docs) {
- this.add(doc)
- }
- })
- fs.writeFileSync(`${outpath}/search-${lang}.json`, JSON.stringify(idx));
-}
-
-build_index(process.argv.slice(2));
diff --git a/docs/static/docs.css b/docs/static/docs.css
deleted file mode 100644
index 30c9898..0000000
--- a/docs/static/docs.css
+++ /dev/null
@@ -1,413 +0,0 @@
-.bg-cover {
- position: absolute;
- z-index: -1;
- inset: 0;
-}
-
-.Logo {
- display: flex;
- height: 2.5rem;
- align-items: center;
- color: rgb(24 24 27);
- opacity: 0.9;
-
- &:hover {
- opacity: 1;
- }
- & img.light {
- display: block;
- }
- & img.dark {
- display: none;
- }
- &:is(.dark *) img.light {
- display: none;
- }
- &:is(.dark *) img.dark {
- display: block;
- }
-}
-
-.NavLinks {
- & a {
- padding: 0.25rem;
- font-size: 0.875rem;
- line-height: 1.25rem;
- color: rgb(82 82 91);
- }
- & a:hover {
- color: rgb(24 24 27);
- }
-
- & a:is(.dark *) {
- color: rgb(212 212 216);
- }
- & a:is(.dark *):hover {
- color: rgb(255 255 255);
- }
-}
-
-.homepage {
- padding-top: 0;
- padding-bottom: 0;
- padding-left: var(--cd-padding-left);
- padding-right: var(--cd-padding-right);
-}
-.homepage section.hero {
- margin-left: auto;
- margin-right: auto;
- display: flex;
- max-width: 56rem;
- flex-direction: column;
- padding-top: 2.25rem;
- padding-bottom: 2.25rem;
- color: rgb(23 23 23);
-
- &:is(.dark *) {
- color: rgb(245 245 245);
- }
-
- & h1 {
- margin: 0 auto;
- width: 300px;
- height: 140px;
- background-image: url("/static/img/jinjax-logo.svg");
- background-position: center center;
- background-repeat: no-repeat;
- background-size: contain;
- text-indent: -999px;
- display: none;
- }
-
- & h2 {
- font-size: 2.2rem;
- font-weight: 600;
- line-height: 1.2;
- letter-spacing: -0.05em;
- }
- & h2 .g1 {
- background-image: linear-gradient(to bottom right, #fbbf24, #fb923c);
- background-clip: text;
- color: transparent;
- }
-
- & h2 .g2 {
- background-image: linear-gradient(to bottom right, #34d399, #3b82f6);
- background-clip: text;
- color: transparent;
- }
-
- @media (min-width: 768px) {
- & {
- padding-top: 2.5rem;
- padding-bottom: 3rem;
- }
- & h1 {
- display: block;
- width: 300px;
- height: 100px;
- }
- & h2 {
- font-size: 2.4rem;
- text-align: center;
- }
- & h2 .g2 {
- white-space: nowrap;
- }
- }
-
- @media (min-width: 1024px) {
- & h1 {
- width: 400px;
- height: 140px;
- }
- & h2 {
- font-size: 3rem;
- }
- }
-}
-
-.homepage section.code {
- margin-left: -1rem;
- margin-right: -1rem;
- max-width: 72rem;
- border-width: 1px;
- border-color: rgb(212 212 212);
- background-color: rgb(231 229 228);
- padding: 1.5rem 0;
-
- &:is(.dark *) {
- border-color: rgb(82 82 82);
- background-color: rgb(41 37 36);
- }
-
- & .panel {
- display: flex;
- flex-direction: column;
- }
- & .panel ~ .panel {
- margin-top: 1.5rem;
- }
- & h2 {
- margin-bottom: 0.5rem;
- text-align: center;
- font-size: 1.5rem;
- line-height: 1.1;
- font-weight: 700;
- }
- & .highlight {
- flex-grow: 1;
- }
- & pre {
- height: 100%;
- }
-
- @media (min-width: 1024px) {
- & {
- border-radius: 1rem;
- padding: 1.5rem;
- margin-bottom: 2.5rem;
- margin-left: auto;
- margin-right: auto;
- }
- & .stack {
- display: flex;
- align-items: stretch;
- }
- & .panel {
- width: 50%;
- }
- & .panel ~ .panel {
- margin-top: 0;
- margin-left: 0.5rem;
- }
- }
-}
-
-.homepage section.features {
- margin-left: auto;
- margin-right: auto;
- max-width: 56rem;
- padding-top: 2rem;
- padding-bottom: 2rem;
-
- & h2 {
- margin-bottom: 2rem;
- text-align: center;
- font-size: 2.2rem;
- line-height: 1.2;
- font-weight: 800;
- }
- & h2 code {
- font-size: 0.9em;
- }
- & .cards {
- margin-top: 2.5rem;
- display: grid;
- grid-template-columns: repeat(1, minmax(0, 1fr));
- column-gap: 1rem;
- row-gap: 1.5rem;
- font-size: 1rem;
- line-height: 1.4rem;
- }
- & .card {
- margin-left: auto;
- margin-right: auto;
- display: flex;
- flex-direction: column;
- height: 9rem;
- max-width: 28rem;
- border-radius: 1rem;
- border-width: 2px;
- border-color: rgb(245 245 244);
- background-color: rgb(250 250 249);
- padding-top: 1rem;
- padding-bottom: 1rem;
- padding-left: 1.5rem;
- padding-right: 1.5rem;
- box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
- }
- & .card:is(.dark *) {
- border-color: rgb(41 37 36);
- background-color: rgb(41 37 36);
- }
- & .card > .header {
- margin-bottom: 0.5rem;
- display: flex;
- align-items: center;
- flex-direction: row-reverse;
- }
- & .card > .header img {
- float: left;
- max-height: 32px;
- width: 2.5rem;
- padding-right: 0.75rem;
- }
- & .card > .header img:is(.dark *) {
- filter: invert(100%)
- }
- & .card > .header h3 {
- font-size: 1.4rem;
- font-weight: 600;
- color: rgb(24 24 27);
- }
- & .card > .header h3:is(.dark *) {
- color: rgb(228 228 231);
- }
- & .card > .body {
- flex-grow: 1;
- margin-top: 0.5rem;
- font-size: 1rem;
- line-height: 1.4;
- color: rgb(82 82 91);
- }
- & .card a {
- font-weight: 600;
- }
-
- @media (min-width: 768px) {
- & .cards {
- grid-template-columns: repeat(2, minmax(0, 1fr));
- }
- & .card {
- height: 10rem;
- }
- }
-
- @media (min-width: 1280px) {
- & {
- max-width: 1280px;
- }
- & .cards {
- grid-template-columns: repeat(4, minmax(0, 1fr));
- }
- & .card {
- height: 13rem;
- align-items: flex-start;
- padding-top: 1.5rem;
- padding-bottom: 1.5rem;
- }
- }
-}
-
-.homepage section.spaghetti {
- margin-bottom: 1.25rem;
- padding-left: var(--cd-padding-left);
- padding-right: var(--cd-padding-right);
-
- & .wrapper {
- margin-left: auto;
- margin-right: auto;
- max-width: 64rem;
- padding-left: 0.75rem;
- padding-right: 0.75rem;
- padding-top: 2rem;
- padding-bottom: 2rem;
- }
-
- & h2 {
- margin-bottom: 2rem;
- text-align: center;
- font-size: 2.2rem;
- line-height: 1.2;
- font-weight: 800;
- }
-
- & .text {
- position: relative;
- font-size: 1.4rem;
- line-height: 1.4;
- }
- & .text img {
- position: absolute;
- left: 0;
- top: 0;
- display: none;
- height: 100%;
- max-height: 24rem;
- }
- & .text p {
- margin-bottom:1.5rem;
- }
-
- @media (min-width: 640px) {
- & .wrapper {
- padding-top: 3rem;
- padding-bottom: 3rem;
- }
- }
-
- @media (min-width: 1024px) {
- & .wrapper {
- max-width: 72rem;
- }
- & .text {
- padding-left: 440px;
- }
- & .text img {
- display: block;
- }
- }
-}
-
-.homepage section.engage {
- background-image: linear-gradient(to bottom, #d6d3d1, #e7e5e4, #a8a29e);
- margin-left: -1rem;
- margin-right: -1rem;
-
- &:is(.dark *) {
- background-image: linear-gradient(to bottom, #000, #1c1917);
- }
-
- & .wrapper {
- padding-top: 3rem;
- padding-bottom: 3rem;
- text-align: center;
- }
-
- & h3 {
- margin-bottom: 2rem;
- text-align: center;
- font-size: 1.875rem;
- line-height: 1.4;
- font-weight: 800;
- }
-
- & a {
- display: flex-inline;
- align-items: center;
- justify-content: center;
- margin-left: auto;
- margin-right: auto;
- margin-bottom: 1.25rem;
- display: inline-block;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- border-radius: 1rem;
- background-image: linear-gradient(to top right, #a3e635, #65a30d);
- padding: 1rem 2rem;
- text-align: center;
- font-family: var(--cd-font-sans);
- font-size: 1.25rem;
- line-height: 1.75rem;
- font-weight: 700;
- color: rgb(39 39 42);
- text-decoration-line: none;
- box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
- transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
- }
- & a:hover {
- background-image: linear-gradient(to top right, #a3e635, #a3e635);
- color: rgb(0 0 0);
- }
- & a i {
- font-style: normal;
- font-size: 1.2rem;
- }
-
- & .hint {
- font-size: 0.75rem;
- line-height: 1rem;
- }
-}
\ No newline at end of file
diff --git a/docs/static/favicon.ico b/docs/static/favicon.ico
deleted file mode 100644
index 3615f29..0000000
Binary files a/docs/static/favicon.ico and /dev/null differ
diff --git a/docs/static/fonts/karla-bold-ext.woff2 b/docs/static/fonts/karla-bold-ext.woff2
deleted file mode 100644
index 88c185a..0000000
Binary files a/docs/static/fonts/karla-bold-ext.woff2 and /dev/null differ
diff --git a/docs/static/fonts/karla-bold.woff2 b/docs/static/fonts/karla-bold.woff2
deleted file mode 100644
index 244e69d..0000000
Binary files a/docs/static/fonts/karla-bold.woff2 and /dev/null differ
diff --git a/docs/static/fonts/karla-regular-.woff2 b/docs/static/fonts/karla-regular-.woff2
deleted file mode 100644
index 244e69d..0000000
Binary files a/docs/static/fonts/karla-regular-.woff2 and /dev/null differ
diff --git a/docs/static/fonts/karla-regular-ext.woff2 b/docs/static/fonts/karla-regular-ext.woff2
deleted file mode 100644
index 88c185a..0000000
Binary files a/docs/static/fonts/karla-regular-ext.woff2 and /dev/null differ
diff --git a/docs/static/fonts/material-symbols-rounded.woff2 b/docs/static/fonts/material-symbols-rounded.woff2
deleted file mode 100644
index 0200f5e..0000000
Binary files a/docs/static/fonts/material-symbols-rounded.woff2 and /dev/null differ
diff --git a/docs/static/img/anatomy-en.png b/docs/static/img/anatomy-en.png
deleted file mode 100644
index d880437..0000000
Binary files a/docs/static/img/anatomy-en.png and /dev/null differ
diff --git a/docs/static/img/anatomy-en.svg b/docs/static/img/anatomy-en.svg
deleted file mode 100644
index bacfb60..0000000
--- a/docs/static/img/anatomy-en.svg
+++ /dev/null
@@ -1,347 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- components/Form.jinja {#def action, label, method="post" #} {#css form.css, /static/theme.css #} {#js form.js #} {% set method = method.lower() %} < form method= " {{ method }} " action= " {{ action }} " {{ attrs.render(class="form" ) }} > {% if method == "post" -%} <input type="hidden" name="csrf" value="{{token}} " /> {% endif -%} {{ content }} <Button :label="label" /> </form >
-
-
-
-
-
-
-
- Everything before the first dot is the component name
- Arguments definition
- Arguments without a default value are required
- Optional lists of CSS and JS files
- Paths are absolute or relative to the root of
- the components folder
- You can have more than one parent element, unlike React
- You can call any other component and pass attributes to them
-
diff --git a/docs/static/img/anatomy-es.svg b/docs/static/img/anatomy-es.svg
deleted file mode 100644
index a3b3952..0000000
--- a/docs/static/img/anatomy-es.svg
+++ /dev/null
@@ -1,288 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- components/Form.jinja {#def action, label, method="post" #} {#css form.css %} {#js form.js %} {% set method = method.lower() %} < form method= " {{ method }} " action= " {{ action }} " {{ attrs.render(class="form" ) }}
- > {% if method == "post" -%}
- <input type="hidden" name="csrf" value="{{token}} " /> {% endif -%} {{ content }}
- <Button label= {label} >
- </form >
-
-
-
-
-
-
-
- Todo antes del primer punto es el nombre del componente
- Definición de argumentos
- Los argumentos sin valores predefinidos son obligatorios
- Listas opcionales de archivos CSS y JS
- Las rutas son relativas al folder de componentes
- Puedes tener mas de un elemento padre, a diferencia de React
- Puedes llamar a cualquier otro componente
-
diff --git a/docs/static/img/anchors.png b/docs/static/img/anchors.png
deleted file mode 100644
index ba74fe5..0000000
Binary files a/docs/static/img/anchors.png and /dev/null differ
diff --git a/docs/static/img/apple-touch-icon.png b/docs/static/img/apple-touch-icon.png
deleted file mode 100644
index aa04ca4..0000000
Binary files a/docs/static/img/apple-touch-icon.png and /dev/null differ
diff --git a/docs/static/img/composable.svg b/docs/static/img/composable.svg
deleted file mode 100644
index c54628c..0000000
--- a/docs/static/img/composable.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/docs/static/img/encapsulated.svg b/docs/static/img/encapsulated.svg
deleted file mode 100644
index afb9119..0000000
--- a/docs/static/img/encapsulated.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/docs/static/img/favicon.png b/docs/static/img/favicon.png
deleted file mode 100644
index 9b6ccd2..0000000
Binary files a/docs/static/img/favicon.png and /dev/null differ
diff --git a/docs/static/img/favicon.svg b/docs/static/img/favicon.svg
deleted file mode 100644
index d243cf2..0000000
--- a/docs/static/img/favicon.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/docs/static/img/jinjax-logo-w.png b/docs/static/img/jinjax-logo-w.png
deleted file mode 100644
index 74f52c3..0000000
Binary files a/docs/static/img/jinjax-logo-w.png and /dev/null differ
diff --git a/docs/static/img/jinjax-logo-w.svg b/docs/static/img/jinjax-logo-w.svg
deleted file mode 100644
index 0b8c9bf..0000000
--- a/docs/static/img/jinjax-logo-w.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/docs/static/img/jinjax-logo.png b/docs/static/img/jinjax-logo.png
deleted file mode 100644
index 941df9f..0000000
Binary files a/docs/static/img/jinjax-logo.png and /dev/null differ
diff --git a/docs/static/img/jinjax-logo.svg b/docs/static/img/jinjax-logo.svg
deleted file mode 100644
index 4870abb..0000000
--- a/docs/static/img/jinjax-logo.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/docs/static/img/logo.png b/docs/static/img/logo.png
deleted file mode 100644
index 4b12c00..0000000
Binary files a/docs/static/img/logo.png and /dev/null differ
diff --git a/docs/static/img/logo.svg b/docs/static/img/logo.svg
deleted file mode 100644
index ed5ce3f..0000000
--- a/docs/static/img/logo.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/static/img/modern.svg b/docs/static/img/modern.svg
deleted file mode 100644
index e986962..0000000
--- a/docs/static/img/modern.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/static/img/practical.svg b/docs/static/img/practical.svg
deleted file mode 100644
index 702446c..0000000
--- a/docs/static/img/practical.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/docs/static/img/simple.svg b/docs/static/img/simple.svg
deleted file mode 100644
index b69150b..0000000
--- a/docs/static/img/simple.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/docs/static/img/slots-_slot.png b/docs/static/img/slots-_slot.png
deleted file mode 100644
index 93cbab3..0000000
Binary files a/docs/static/img/slots-_slot.png and /dev/null differ
diff --git a/docs/static/img/slots-diagram.png b/docs/static/img/slots-diagram.png
deleted file mode 100644
index c085250..0000000
Binary files a/docs/static/img/slots-diagram.png and /dev/null differ
diff --git a/docs/static/img/spaghetti_code.png b/docs/static/img/spaghetti_code.png
deleted file mode 100644
index df44455..0000000
Binary files a/docs/static/img/spaghetti_code.png and /dev/null differ
diff --git a/docs/static/img/ui-accordion.png b/docs/static/img/ui-accordion.png
deleted file mode 100644
index adddd7b..0000000
Binary files a/docs/static/img/ui-accordion.png and /dev/null differ
diff --git a/docs/static/img/ui-linkedlist.png b/docs/static/img/ui-linkedlist.png
deleted file mode 100644
index 87667ba..0000000
Binary files a/docs/static/img/ui-linkedlist.png and /dev/null differ
diff --git a/docs/static/img/ui-menu.png b/docs/static/img/ui-menu.png
deleted file mode 100644
index ee82e03..0000000
Binary files a/docs/static/img/ui-menu.png and /dev/null differ
diff --git a/docs/static/img/ui-popover.png b/docs/static/img/ui-popover.png
deleted file mode 100644
index 22507f5..0000000
Binary files a/docs/static/img/ui-popover.png and /dev/null differ
diff --git a/docs/static/img/ui-reldate.png b/docs/static/img/ui-reldate.png
deleted file mode 100644
index e2258c5..0000000
Binary files a/docs/static/img/ui-reldate.png and /dev/null differ
diff --git a/docs/static/img/ui-tabs.png b/docs/static/img/ui-tabs.png
deleted file mode 100644
index 7b3bccd..0000000
Binary files a/docs/static/img/ui-tabs.png and /dev/null differ
diff --git a/docs/static/prose.css b/docs/static/prose.css
deleted file mode 100644
index 9a6531d..0000000
--- a/docs/static/prose.css
+++ /dev/null
@@ -1,637 +0,0 @@
-.prose {
- --cd-prose-body: #3f3f46;
- --cd-prose-headings: #18181b;
- --cd-prose-lead: #52525b;
- --cd-prose-links: #18181b;
- --cd-prose-bold: #18181b;
- --cd-prose-counters: #71717a;
- --cd-prose-bullets: #d4d4d8;
- --cd-prose-hr: #e4e4e7;
- --cd-prose-quotes: #18181b;
- --cd-prose-quote-borders: #e4e4e7;
- --cd-prose-captions: #71717a;
- --cd-prose-code: #18181b;
- --cd-prose-pre-code: rgb(238 238 238);
- --cd-prose-pre-border: rgb(51, 51, 51);
- --cd-prose-pre-bg: rgb(24 24 24);
- --cd-prose-th-borders: #ddd;
- --cd-prose-td-borders: #eee;
- --cd-prose-bg-hover: rgba(0,0,0,0.035);
-
- --cd-prose-invert-body: #d4d4d8;
- --cd-prose-invert-headings: #fff;
- --cd-prose-invert-lead: #a1a1aa;
- --cd-prose-invert-links: #fff;
- --cd-prose-invert-bold: #fff;
- --cd-prose-invert-counters: #a1a1aa;
- --cd-prose-invert-bullets: #52525b;
- --cd-prose-invert-hr: #3f3f46;
- --cd-prose-invert-quotes: #f4f4f5;
- --cd-prose-invert-quote-borders: #3f3f46;
- --cd-prose-invert-captions: #a1a1aa;
- --cd-prose-invert-code: #fff;
- --cd-prose-invert-pre-code: rgb(238 238 238);
- --cd-prose-invert-pre-border: rgb(51, 51, 51);
- --cd-prose-invert-pre-bg: rgb(24 24 24);
- --cd-prose-invert-th-borders: #52525b;
- --cd-prose-invert-td-borders: #3f3f46;
- --cd-prose-invert-bg-hover: rgba(0,0,0,0.035);
-}
-
-.dark .prose {
- --cd-prose-body: var(--cd-prose-invert-body);
- --cd-prose-headings: var(--cd-prose-invert-headings);
- --cd-prose-lead: var(--cd-prose-invert-lead);
- --cd-prose-links: var(--cd-prose-invert-links);
- --cd-prose-bold: var(--cd-prose-invert-bold);
- --cd-prose-counters: var(--cd-prose-invert-counters);
- --cd-prose-bullets: var(--cd-prose-invert-bullets);
- --cd-prose-hr: var(--cd-prose-invert-hr);
- --cd-prose-quotes: var(--cd-prose-invert-quotes);
- --cd-prose-quote-borders: var(--cd-prose-invert-quote-borders);
- --cd-prose-captions: var(--cd-prose-invert-captions);
- --cd-prose-code: var(--cd-prose-invert-code);
- --cd-prose-pre-code: var(--cd-prose-invert-pre-code);
- --cd-prose-pre-border: var(--cd-prose-invert-pre-border);
- --cd-prose-pre-bg: var(--cd-prose-invert-pre-bg);
- --cd-prose-th-borders: var(--cd-prose-invert-th-borders);
- --cd-prose-td-borders: var(--cd-prose-invert-td-borders);
- --cd-prose-bg-hover: var(--cd-prose-invert-bg-hover);
-}
-
-.prose {
- font-size: 1em;
- line-height: 1.75;
- color: var(--cd-prose-body);
-}
-
-.prose h1:not(:where([class~="not-prose"] *)) ,
-.prose h2:not(:where([class~="not-prose"] *)) ,
-.prose h3:not(:where([class~="not-prose"] *)) ,
-.prose h4:not(:where([class~="not-prose"] *)) ,
-.prose h5:not(:where([class~="not-prose"] *)) ,
-.prose h6:not(:where([class~="not-prose"] *)) {
- font-family: var(--cd-font-serif);
-}
-
-.prose :where(p):not(:where([class~="not-prose"] *)) {
- margin-top: 1.25em;
- margin-bottom: 1.25em;
-}
-
-.prose :where([class~="lead"]):not(:where([class~="not-prose"] *)) {
- color: var(--cd-prose-lead);
- font-size: 1.25em;
- line-height: 1.6;
- margin-top: 1.2em;
- margin-bottom: 1.2em;
-}
-
-.prose :where(a):not(:where([class~="not-prose"] *)) {
- color: var(--cd-prose-links);
- text-decoration: underline;
- font-weight: 500;
-}
-
-.prose :where(strong):not(:where([class~="not-prose"] *)) {
- color: var(--cd-prose-bold);
- font-weight: 600;
-}
-
-.prose :where(a strong):not(:where([class~="not-prose"] *)) {
- color: inherit;
-}
-
-.prose :where(blockquote strong):not(:where([class~="not-prose"] *)) {
- color: inherit;
-}
-
-.prose :where(thead th strong):not(:where([class~="not-prose"] *)) {
- color: inherit;
-}
-
-.prose :where(ol):not(:where([class~="not-prose"] *)) {
- list-style-type: decimal;
- margin-top: 1.25em;
- margin-bottom: 1.25em;
- padding-left: 1.625em;
-}
-
-.prose :where(ol[type="A"]):not(:where([class~="not-prose"] *)) {
- list-style-type: upper-alpha;
-}
-
-.prose :where(ol[type="a"]):not(:where([class~="not-prose"] *)) {
- list-style-type: lower-alpha;
-}
-
-.prose :where(ol[type="A" s]):not(:where([class~="not-prose"] *)) {
- list-style-type: upper-alpha;
-}
-
-.prose :where(ol[type="a" s]):not(:where([class~="not-prose"] *)) {
- list-style-type: lower-alpha;
-}
-
-.prose :where(ol[type="I"]):not(:where([class~="not-prose"] *)) {
- list-style-type: upper-roman;
-}
-
-.prose :where(ol[type="i"]):not(:where([class~="not-prose"] *)) {
- list-style-type: lower-roman;
-}
-
-.prose :where(ol[type="I" s]):not(:where([class~="not-prose"] *)) {
- list-style-type: upper-roman;
-}
-
-.prose :where(ol[type="i" s]):not(:where([class~="not-prose"] *)) {
- list-style-type: lower-roman;
-}
-
-.prose :where(ol[type="1"]):not(:where([class~="not-prose"] *)) {
- list-style-type: decimal;
-}
-
-.prose :where(ul):not(:where([class~="not-prose"] *)) {
- list-style-type: disc;
- margin-top: 1.25em;
- margin-bottom: 1.25em;
- padding-left: 1.625em;
-}
-
-.prose :where(ol > li):not(:where([class~="not-prose"] *))::marker {
- font-weight: 400;
- color: var(--cd-prose-counters);
-}
-
-.prose :where(ul > li):not(:where([class~="not-prose"] *))::marker {
- color: var(--cd-prose-bullets);
-}
-
-.prose :where(hr):not(:where([class~="not-prose"] *)) {
- border-color: var(--cd-prose-hr);
- border-top-width: 1px;
- margin-top: 3em;
- margin-bottom: 3em;
-}
-
-.prose :where(blockquote):not(:where([class~="not-prose"] *)) {
- font-weight: 500;
- font-style: italic;
- color: var(--cd-prose-quotes);
- border-left-width: 0.25em;
- border-left-color: var(--cd-prose-quote-borders);
- quotes: "\201C""\201D""\2018""\2019";
- margin-top: 1.6em;
- margin-bottom: 1.6em;
- padding-left: 1em;
-}
-
-.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"] *))::before {
- content: open-quote;
-}
-
-.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"] *))::after {
- content: close-quote;
-}
-
-.prose :where(h1):not(:where([class~="not-prose"] *)) {
- color: var(--cd-prose-headings);
- font-weight: 800;
- font-size: 2.2rem;
- margin-top: 0;
- margin-bottom: 0.8888889em;
- line-height: 1.1111111;
-}
-
-.prose :where(h1 strong):not(:where([class~="not-prose"] *)) {
- font-weight: 900;
- color: inherit;
-}
-
-.prose :where(h2):not(:where([class~="not-prose"] *)) {
- color: var(--cd-prose-headings);
- font-weight: 700;
- font-size: 1.8em;
- margin-top: 1.2em;
- margin-bottom: 0.5em;
- line-height: 1.3333333;
-}
-
-.prose :where(h2 strong):not(:where([class~="not-prose"] *)) {
- font-weight: 800;
- color: inherit;
-}
-
-.prose :where(h3):not(:where([class~="not-prose"] *)) {
- color: var(--cd-prose-headings);
- font-weight: 600;
- font-size: 1.4em;
- margin-top: 1.6em;
- margin-bottom: 0.4em;
- line-height: 1.6;
-}
-
-.prose :where(h3 strong):not(:where([class~="not-prose"] *)) {
- font-weight: 700;
- color: inherit;
-}
-
-.prose :where(h4):not(:where([class~="not-prose"] *)) {
- color: var(--cd-prose-headings);
- font-weight: 600;
- font-size: 1.2em;
- margin-top: 1.5em;
- margin-bottom: 0.5em;
- line-height: 1.5;
-}
-
-.prose :where(h4 strong):not(:where([class~="not-prose"] *)) {
- font-weight: 700;
- color: inherit;
-}
-
-.prose :where(h5):not(:where([class~="not-prose"] *)) {
- color: var(--cd-prose-headings);
- font-weight: 600;
- font-size: 1em;
- margin-top: 1em;
- margin-bottom: 0.5em;
- line-height: 1.5;
-}
-
-
-.prose :where(h6):not(:where([class~="not-prose"] *)) {
- color: var(--cd-prose-headings);
- font-weight: 600;
- font-size: 1em;
- margin-top: 1em;
- margin-bottom: 0.5em;
- line-height: 1.4;
-}
-
-
-.prose :where(img):not(:where([class~="not-prose"] *)) {
- margin-top: 2em;
- margin-bottom: 2em;
-}
-
-.prose :where(figure > *):not(:where([class~="not-prose"] *)) {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-.prose :where(figcaption):not(:where([class~="not-prose"] *)) {
- color: var(--cd-prose-captions);
- font-size: 0.875em;
- line-height: 1.4285714;
- margin-top: 0.8571429em;
-}
-
-.prose :where(code):not(:where([class~="not-prose"] *)) {
- color: var(--cd-prose-code);
- font-size: 0.98em;
- letter-spacing: -0.02em;
-}
-.prose :where(code):not(:where(pre code)):not(:where([class~="not-prose"] *)) {
- padding: 0.1em;
- background: var(--cd-bg-color-hover);
-}
-
-.prose :where(a code):not(:where([class~="not-prose"] *)) {
- color: inherit;
-}
-
-.prose :where(h1 code):not(:where([class~="not-prose"] *)) {
- color: inherit;
-}
-
-.prose :where(h2 code):not(:where([class~="not-prose"] *)) {
- color: inherit;
- font-size: 0.875em;
-}
-
-.prose :where(h3 code):not(:where([class~="not-prose"] *)) {
- color: inherit;
- font-size: 0.9em;
-}
-
-.prose :where(h4 code):not(:where([class~="not-prose"] *)) {
- color: inherit;
-}
-
-.prose :where(blockquote code):not(:where([class~="not-prose"] *)) {
- color: inherit;
-}
-
-.prose :where(thead th code):not(:where([class~="not-prose"] *)) {
- color: inherit;
-}
-
-.prose :where(table):not(:where([class~="not-prose"] *)) {
- width: 100%;
- table-layout: auto;
- text-align: left;
- margin-top: 2em;
- margin-bottom: 2em;
- font-size: 0.875em;
- line-height: 1.7142857;
- border-width: 1px;
- border-color: var(--cd-prose-td-borders);
-}
-
-.prose :where(thead):not(:where([class~="not-prose"] *)) {
- border-bottom-width: 1px;
- border-bottom-color: var(--cd-prose-th-borders);
-}
-
-.prose :where(thead th):not(:where([class~="not-prose"] *)) {
- color: var(--cd-prose-headings);
- font-weight: 600;
- vertical-align: bottom;
- border-left-width: 1px;
- border-left-color: var(--cd-prose-th-borders);
- /* text-transform: uppercase; */
-}
-.prose :where(thead th:first-child):not(:where([class~="not-prose"] *)) {
- border-left-width: 0;
-}
-
-.prose :where(tbody tr):not(:where([class~="not-prose"] *)) {
- border-bottom-width: 1px;
- border-bottom-color: var(--cd-prose-td-borders);
- transition: background-color 125ms;
-}
-.prose :where(tbody tr:hover):not(:where([class~="not-prose"] *)) {
- background-color: var(--cd-prose-bg-hover);
-}
-
-.prose :where(tbody tr:last-child):not(:where([class~="not-prose"] *)) {
- border-bottom-width: 0;
-}
-
-.prose :where(tbody td):not(:where([class~="not-prose"] *)) {
- vertical-align: baseline;
- border-left-width: 1px;
- border-left-color: var(--cd-prose-th-borders);
-}
-.prose :where(tbody td:first-child):not(:where([class~="not-prose"] *)) {
- border-left-width: 0;
-}
-.prose :where(tbody td p:first-child):not(:where([class~="not-prose"] *)) {
- margin-top: 0;
-}
-
-.prose :where(tfoot):not(:where([class~="not-prose"] *)) {
- border-top-width: 1px;
- border-top-color: var(--cd-prose-th-borders);
-}
-
-.prose :where(tfoot td):not(:where([class~="not-prose"] *)) {
- vertical-align: top;
-}
-
-.prose :where(th, td):not(:where([class~="not-prose"] *)) {
- padding: 0.5rem 1rem;
-}
-
-.prose :where(video):not(:where([class~="not-prose"] *)) {
- margin-top: 2em;
- margin-bottom: 2em;
-}
-
-.prose :where(figure):not(:where([class~="not-prose"] *)) {
- margin-top: 2em;
- margin-bottom: 2em;
-}
-
-.prose :where(li):not(:where([class~="not-prose"] *)) {
- margin-top: 0.5em;
- margin-bottom: 0.5em;
-}
-
-.prose :where(ol > li):not(:where([class~="not-prose"] *)) {
- padding-left: 0.375em;
-}
-
-.prose :where(ul > li):not(:where([class~="not-prose"] *)) {
- padding-left: 0.375em;
-}
-
-.prose :where(.prose > ul > li p):not(:where([class~="not-prose"] *)) {
- margin-top: 0.75em;
- margin-bottom: 0.75em;
-}
-
-.prose :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)) {
- margin-top: 1.25em;
-}
-
-.prose :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)) {
- margin-bottom: 1.25em;
-}
-
-.prose :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)) {
- margin-top: 1.25em;
-}
-
-.prose :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)) {
- margin-bottom: 1.25em;
-}
-
-.prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"] *)) {
- margin-top: 0.75em;
- margin-bottom: 0.75em;
-}
-
-.prose :where(hr + *):not(:where([class~="not-prose"] *)) {
- margin-top: 0;
-}
-
-.prose :where(h2 + *):not(:where([class~="not-prose"] *)) {
- margin-top: 0;
-}
-
-.prose :where(h3 + *):not(:where([class~="not-prose"] *)) {
- margin-top: 0;
-}
-
-.prose :where(h4 + *):not(:where([class~="not-prose"] *)) {
- margin-top: 0;
-}
-
-.prose :where(.prose > :first-child):not(:where([class~="not-prose"] *)) {
- margin-top: 0;
-}
-
-.prose :where(.prose > :last-child):not(:where([class~="not-prose"] *)) {
- margin-bottom: 0;
-}
-
-.prose :where(.task-list .task-list):not(:where([class~="not-prose"] *)) {
- padding-left: 1em;
-}
-
-.prose :where(dl):not(:where([class~="not-prose"] *)) {
- margin-top: 1.25em;
- margin-bottom: 1.25em;
-}
-
-.prose :where(dt):not(:where([class~="not-prose"] *)) {
- font-weight: bold;
-}
-
-.prose :where(dd):not(:where([class~="not-prose"] *)) {
- padding-left: 1em;
-}
-
-pre {
- border: 1px solid rgb(var(--cd-prose-pre-border));
- overflow-x: auto;
- font-weight: 400;
- font-feature-settings: "kern";
- white-space: pre;
- scrollbar-width: thin;
- padding: 1.25rem 1.5rem;
-}
-pre::-webkit-scrollbar {
- width: 2px;
- background-color: ButtonFace;
-}
-pre:has([data-linenos]) {
- padding-left: 0;
-}
-pre code {
- background-color: transparent;
- border-width: 0;
- border-radius: 0;
- padding: 0;
- font-weight: inherit;
- color: inherit;
- font-size: inherit;
- font-family: inherit;
- line-height: inherit;
-
-}
-pre a {
- text-decoration: none;
-}
-
-.highlight {
- margin-top: 0.5rem;
- margin-bottom: 1rem;
- border-radius: 6px;
-}
-.highlight:has(> .filename) {
- background-color: rgb(249 250 251);
- border: 1px solid rgb(153, 153, 153);
-}
-.highlight:is(.dark *):has(> .filename) {
- background-color: rgb(55 65 81);
- border-color: rgb(75 85 99);
-}
-.highlight > .filename {
- border-radius: 6px 0 0 0;
- display: inline-block;
- border-right: 1px solid rgb(153, 153, 153);
- background-color: #e7e9ed;
- padding: 0.5rem;
- color: #333;
- font-weight: 500;
- font-size: 0.9em;
-}
-.highlight:is(.dark *) > .filename {
- border-color: rgb(75 85 99);
- background-color: #111;
- color: rgb(255 255 255);
-}
-.highlight pre {
- background-color: rgba(0, 0, 0, 0.9);
- border-radius: 6px;
- font-size: 0.98rem;
- line-height: 1.4;
-}
-.highlight .filename + pre {
- border-radius: 0 0 6px 6px;
-}
-.highlight pre code { color: white; }
-
-.highlight pre code [data-linenos]:before {
- content: attr(data-linenos);
- display: inline-block;
- width: 3rem;
- text-align: right;
- padding-right: 1rem;
- white-space: nowrap;
- color: rgb(82 82 91);
- font-size: 0.75rem;
-}
-.highlight .hll {
- background-color: #333;
- display: block;
-}
-
-.highlight .c { color: hsl(31, 76%, 64%) } /* Comment */
-.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
-.highlight .k { color: #66d9ef } /* Keyword */
-.highlight .l { color: #ae81ff } /* Literal */
-.highlight .n { color: #f8f8f2 } /* Name */
-.highlight .o { color: #f92672 } /* Operator */
-.highlight .p { color: #f8f8f2 } /* Punctuation */
-.highlight .cm { color: hsl(30, 20%, 50%) } /* Comment.Multiline */
-.highlight .cp { color: hsl(30, 20%, 50%) } /* Comment.Preproc */
-.highlight .c1 { color: hsl(30, 20%, 50%) } /* Comment.Single */
-.highlight .cs { color: hsl(30, 20%, 50%) } /* Comment.Special */
-.highlight .ge { font-style: italic } /* Generic.Emph */
-.highlight .gs { font-weight: bold } /* Generic.Strong */
-.highlight .kc { color: #66d9ef } /* Keyword.Constant */
-.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
-.highlight .kn { color: #f92672 } /* Keyword.Namespace */
-.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
-.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
-.highlight .kt { color: #66d9ef } /* Keyword.Type */
-.highlight .ld { color: #e6db74 } /* Literal.Date */
-.highlight .m { color: #ae81ff } /* Literal.Number */
-.highlight .s { color: #e6db74 } /* Literal.String */
-.highlight .na { color: #a6e22e } /* Name.Attribute */
-.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
-.highlight .nc { color: #a6e22e } /* Name.Class */
-.highlight .no { color: #66d9ef } /* Name.Constant */
-.highlight .nd { color: #a6e22e } /* Name.Decorator */
-.highlight .ni { color: #f8f8f2 } /* Name.Entity */
-.highlight .ne { color: #a6e22e } /* Name.Exception */
-.highlight .nf { color: #a6e22e } /* Name.Function */
-.highlight .nl { color: #f8f8f2 } /* Name.Label */
-.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
-.highlight .nx { color: #a6e22e } /* Name.Other */
-.highlight .py { color: #f8f8f2 } /* Name.Property */
-.highlight .nt { color: #f92672 } /* Name.Tag */
-.highlight .nv { color: #f8f8f2 } /* Name.Variable */
-.highlight .ow { color: #f92672 } /* Operator.Word */
-.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
-.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
-.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
-.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
-.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
-.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
-.highlight .sc { color: #e6db74 } /* Literal.String.Char */
-.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
-.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
-.highlight .se { color: #ae81ff } /* Literal.String.Escape */
-.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
-.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
-.highlight .sx { color: #e6db74 } /* Literal.String.Other */
-.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
-.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
-.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
-.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
-.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
-.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
-.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
-.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
-
-.highlight .gh { } /* Generic Heading & Diff Header */
-.highlight .gu { color: hsl(30, 20%, 50%); } /* Generic.Subheading & Diff Unified/Comment? */
-.highlight .gd { color: #f92672; } /* Generic.Deleted & Diff Deleted */
-.highlight .gi { color: #a6e22e; } /* Generic.Inserted & Diff Inserted */
diff --git a/docs/static/theme.css b/docs/static/theme.css
deleted file mode 100644
index 8dad4aa..0000000
--- a/docs/static/theme.css
+++ /dev/null
@@ -1,1808 +0,0 @@
-/* latin */
-@font-face {
- font-family: "Karla";
- font-style: normal;
- font-weight: 400;
- src: url("./fonts/karla-regular-.woff2") format("woff2");
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
-}
-/* latin-ext */
-@font-face {
- font-family: "Karla";
- font-style: normal;
- font-weight: 400;
- src: url("./fonts/karla-regular-ext.woff2") format("woff2");
- unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
-}
-/* latin */
-@font-face {
- font-family: "Karla";
- font-style: normal;
- font-weight: 700;
- src: url("./fonts/karla-bold.woff2") format("woff2");
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
-}
-/* latin-ext */
-@font-face {
- font-family: "Karla";
- font-style: normal;
- font-weight: 700;
- src: url("./fonts/karla-bold-ext.woff2") format("woff2");
- unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
-}
-@font-face {
- font-family: "Material Symbols Rounded";
- font-style: normal;
- font-weight: 100 700;
- font-display: block;
- src: url("./fonts/material-symbols-rounded.woff2") format("woff2");
-}
-
-/* ---------------------------------------------------------------------- */
-
-html {
- --cd-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
- --cd-font-sans: Karla, sans-serif;
- --cd-font-icons: "Material Symbols Rounded";
-
- --cd-padding-left: max(1rem, env(safe-area-inset-right));
- --cd-padding-right: max(1rem, env(safe-area-inset-left));
-
- --cd-brand-color: #fbbf24;
- --cd-bg-color-light: rgb(255 255 255);
- --cd-bg-color-dark: rgb(23 23 23);
-
- --cd-bg-color: var(--cd-bg-color-light);
- --cd-bg-color-hover: rgb(240, 240, 240);
- --cd-text-color: rgb(23 23 23);
- --cd-text-color-mild: rgb(63 63 70);
- --cd-border-color: #e3e3e4;
-
- --cd-nav-bg-color: rgba(255, 255, 255, 0.8);
- --cd-nav-bg-color-hover: rgb(244, 244, 244);
-
- --doc-symbol-parameter-fg-color: #df50af;
- --doc-symbol-attribute-fg-color: #953800;
- --doc-symbol-function-fg-color: #8250df;
- --doc-symbol-method-fg-color: #8250df;
- --doc-symbol-class-fg-color: #0550ae;
- --doc-symbol-module-fg-color: #5cad0f;
-
- --doc-symbol-parameter-bg-color: #df50af1a;
- --doc-symbol-attribute-bg-color: #9538001a;
- --doc-symbol-function-bg-color: #8250df1a;
- --doc-symbol-method-bg-color: #8250df1a;
- --doc-symbol-class-bg-color: #0550ae1a;
- --doc-symbol-module-bg-color: #5cad0f1a;
-}
-
-html.dark {
- --cd-brand-color: #3451b2;
-
- --cd-bg-color: var(--cd-bg-color-dark);
- --cd-bg-color-hover: rgb(40 40 40);
- --cd-text-color: rgb(250 250 250);
- --cd-text-color-mild: rgb(161 161 170);
- --cd-border-color: rgb(60 60 60);
-
- --cd-nav-bg-color: rgba(60, 60, 60, 0.8);
- --cd-nav-bg-color-hover: rgb(70, 70, 70);
-
- --doc-symbol-parameter-fg-color: #ffa8cc;
- --doc-symbol-attribute-fg-color: #ffa657;
- --doc-symbol-function-fg-color: #d2a8ff;
- --doc-symbol-method-fg-color: #d2a8ff;
- --doc-symbol-class-fg-color: #79c0ff;
- --doc-symbol-module-fg-color: #baff79;
-
- --doc-symbol-parameter-bg-color: #ffa8cc1a;
- --doc-symbol-attribute-bg-color: #ffa6571a;
- --doc-symbol-function-bg-color: #d2a8ff1a;
- --doc-symbol-method-bg-color: #d2a8ff1a;
- --doc-symbol-class-bg-color: #79c0ff1a;
- --doc-symbol-module-bg-color: #baff791a;
-}
-
-/* ---------------------------------------------------------------------- */
-
-/*
-1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
-2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
-*/
-*,
-::before,
-::after {
- /* 1 */
- box-sizing: border-box;
- /* 2 */
- border-width: 0;
- /* 2 */
- border-style: solid;
- /* 2 */
- border-color: #e5e7eb;
-}
-::before,
-::after {
- --cd-content: "";
-}
-
-/*
-1. Use a consistent sensible line-height in all browsers.
-2. Prevent adjustments of font size after orientation changes in iOS.
-3. Use a more readable tab size.
-4. Set default font sans
-4. Disable tap highlights on iOS
-*/
-html,
-:host {
- /* 1 */
- line-height: 1.5;
- /* 2 */
- tab-size: 4;
- /* 3 */
- -webkit-text-size-adjust: 100%;
- /* 4 */
- font-family: var(--cd-font-sans);
- font-feature-settings: normal;
- font-variation-settings: normal;
- /* 5 */
- -webkit-tap-highlight-color: transparent;
-}
-
-/*
-1. Remove the margin in all browsers.
-2. Inherit line-height from `html` so users can set them as a class
- directly on the `html` element.
-*/
-body {
- /* 1 */
- margin: 0;
- /* 2 */
- line-height: inherit;
-}
-
-/*
-1. Add the correct height in Firefox.
-2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
-3. Ensure horizontal rules are visible by default.
-*/
-hr {
- /* 1 */
- height: 0;
- /* 2 */
- color: inherit;
- /* 3 */
- border-top-width: 1px;
-}
-
-/*
-Add the correct text decoration in Chrome, Edge, and Safari.
-*/
-abbr:where([title]) {
- -webkit-text-decoration: underline dotted;
- text-decoration: underline dotted;
-}
-
-/* Remove the default font size and weight for headings. */
-h1, h2, h3, h4, h5, h6 {
- font-size: inherit;
- font-weight: inherit;
-}
-
-/* Reset links to optimize for opt-in styling instead of opt-out. */
-a {
- color: inherit;
- text-decoration: inherit;
-}
-
-/* Add the correct font weight in Edge and Safari. */
-b, strong {
- font-weight: bolder;
-}
-
-/*
-1. Use the user"s configured `mono` font-family by default.
-2. Correct the odd `em` font sizing in all browsers.
-*/
-code, kbd, samp, pre {
- /* 1 */
- font-family: var(--cd-font-mono);
- font-feature-settings: normal;
- font-variation-settings: normal;
- /* 2 */
- font-size: 1em;
-}
-
-/* Add the correct font size in all browsers. */
-small {
- font-size: 80%;
-}
-
-/*
-Prevent `sub` and `sup` elements from affecting the line height in
-all browsers.
-*/
-sub, sup {
- font-size: 75%;
- line-height: 0;
- position: relative;
- vertical-align: baseline;
-}
-sub {
- bottom: -0.25em;
-}
-sup {
- top: -0.5em;
-}
-
-/*
-1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
-2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
-3. Remove gaps between table borders by default.
-*/
-table {
- /* 1 */
- text-indent: 0;
- /* 2 */
- border-color: inherit;
- /* 3 */
- border-collapse: collapse;
-}
-
-/*
-1. Change the font styles in all browsers.
-2. Remove the margin in Firefox and Safari.
-3. Remove default padding in all browsers.
-*/
-button, input, optgroup, select, textarea {
- /* 1 */
- font-family: inherit;
- font-feature-settings: inherit;
- font-variation-settings: inherit;
- font-size: 100%;
- font-weight: inherit;
- line-height: inherit;
- letter-spacing: inherit;
- color: inherit;
- /* 2 */
- margin: 0;
- /* 3 */
- padding: 0;
-}
-
-/* Remove the inheritance of text transform in Edge and Firefox. */
-button, select {
- text-transform: none;
-}
-
-/*
-1. Correct the inability to style clickable types in iOS and Safari.
-2. Remove default button styles.
-*/
-button,
-input:where([type="button"]),
-input:where([type="reset"]),
-input:where([type="submit"]) {
- /* 1 */
- -webkit-appearance: button;
- /* 2 */
- background-color: transparent;
- background-image: none;
-}
-
-/* Use the modern Firefox focus style for all focusable elements. */
-:-moz-focusring {
- outline: auto;
-}
-
-/* Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) */
-:-moz-ui-invalid {
- box-shadow: none;
-}
-
-/* Add the correct vertical alignment in Chrome and Firefox. */
-progress {
- vertical-align: baseline;
-}
-
-/* Correct the cursor style of increment and decrement buttons in Safari. */
-::-webkit-inner-spin-button,
-::-webkit-outer-spin-button {
- height: auto;
-}
-
-/*
-1. Correct the odd appearance in Chrome and Safari.
-2. Correct the outline style in Safari.
-*/
-[type="search"] {
- /* 1 */
- -webkit-appearance: textfield;
- /* 2 */
- outline-offset: -2px;
-}
-
-/* Remove the inner padding in Chrome and Safari on macOS. */
-::-webkit-search-decoration {
- -webkit-appearance: none;
-}
-
-/*
-1. Correct the inability to style clickable types in iOS and Safari.
-2. Change font properties to `inherit` in Safari.
-*/
-::-webkit-file-upload-button {
- /* 1 */
- -webkit-appearance: button;
- /* 2 */
- font: inherit;
-}
-
-/* Add the correct display in Chrome and Safari. */
-summary {
- display: list-item;
-}
-
-/* Removes the default spacing and border for appropriate elements. */
-blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
- margin: 0;
-}
-fieldset {
- margin: 0;
- padding: 0;
-}
-legend {
- padding: 0;
-}
-ol, ul, menu {
- list-style: none;
- margin: 0;
- padding: 0;
-}
-
-/* Reset default styling for dialogs. */
-dialog {
- padding: 0;
-}
-
-/* Prevent resizing textareas horizontally by default. */
-textarea {
- resize: vertical;
-}
-
-/*
-1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
-2. Set the default placeholder color to the user"s configured gray 400 color.
-*/
-input::-moz-placeholder,
-textarea::-moz-placeholder {
- /* 1 */
- opacity: 1;
- /* 2 */
- color: #9ca3af;
-}
-input::placeholder,
-textarea::placeholder {
- /* 1 */
- opacity: 1;
- /* 2 */
- color: #9ca3af;
-}
-
-/* Set the default cursor for buttons. */
-button,
-[role="button"] {
- cursor: pointer;
-}
-
-/* Make sure disabled buttons don"t get the pointer cursor. */
-:disabled {
- cursor: default;
-}
-
-/*
-1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
-2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
- This can trigger a poorly considered lint error in some tools but is included by design.
-*/
-img, svg, video, canvas, audio, iframe, embed, object {
- /* 1 */
- display: block;
- /* 2 */
- vertical-align: middle;
-}
-
-/*
-Constrain images and videos to the parent width and preserve their
-intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
-*/
-img, video {
- max-width: 100%;
- height: auto;
-}
-
-/* Make elements with the HTML hidden attribute stay hidden by default */
-[hidden] {
- display: none;
-}
-
-/* ---------------------------------------------------------------------- */
-
-html:has(.cd-nav-mobile:popover-open) {
- overflow: hidden !important;
- overflow-x: hidden !important;
- overflow-y: hidden !important;
-}
-body {
- position: relative;
- min-height: 100vh;
- color: var(--cd-text-color);
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- background-color: var(--cd-bg-color-light);
- transition: background 100ms linear;
-}
-html.dark body {
- background-color: var(--cd-bg-color-dark);
-}
-
-.keys,
-kbd:not(.keys > kbd) {
- font-family: var(--cd-font-mono);
- display: inline-block;
- padding: 0.2rem 0.25rem;
- margin-left: 0.1rem;
- margin-right: 0.1rem;
- font-size: 0.875rem;
- line-height: 1;
- font-weight: 500;
- letter-spacing: -0.025em;
- line-height: 1;
- border-radius: 0.25rem;
- border-width: 1px;
- border-color: #ffffff;
- box-shadow: 0 0 2px 0 #000;
-
- &:is(.dark *) {
- border-color: rgb(0 0 0);
- background-color: rgb(24 24 27);
- }
-}
-
-.scrollbar-thin {
- scrollbar-width: thin; /* Firefox */
-}
-.scrollbar-thin::-webkit-scrollbar {
- /* Safari and Chrome */
- width: 2px;
- background-color: ButtonFace;
-}
-.scrollbar-default {
- -ms-overflow-style: auto; /* IE and Edge */
- scrollbar-width: auto; /* Firefox */
-}
-.scrollbar-default::-webkit-scrollbar {
- /* Safari and Chrome */
- width: auto;
-}
-
-a.headerlink {
- margin-left: .25rem;
- display: inline-block;
- text-decoration-line: none;
- opacity: 0;
- transition-property: opacity;
- transition-timing-function: cubic-bezier(.4,0,.2,1);
- transition-duration: .15s;
-}
-h2:hover a.headerlink,
-h3:hover a.headerlink,
-h4:hover a.headerlink,
-h5:hover a.headerlink,
-h6:hover a.headerlink {
- opacity: 0.5;
-}
-
-/* ---------------------------------------------------------------------- */
-
-.doc-symbol {
- border-radius: 0.1rem;
- padding: 0 0.3em;
- font-weight: bold;
-}
-.doc-symbol-attr {
- color: var(--doc-symbol-attribute-fg-color) !important;
- background-color: var(--doc-symbol-attribute-bg-color) !important;
-}
-.doc-symbol-function {
- color: var(--doc-symbol-function-fg-color) !important;
- background-color: var(--doc-symbol-function-bg-color) !important;
-}
-.doc-symbol-method {
- color: var(--doc-symbol-method-fg-color) !important;
- background-color: var(--doc-symbol-method-bg-color) !important;
-}
-.doc-symbol-class {
- color: var(--doc-symbol-class-fg-color) !important;
- background-color: var(--doc-symbol-class-bg-color) !important;
-}
-.doc-symbol-module {
- color: var(--doc-symbol-module-fg-color) !important;
- background-color: var(--doc-symbol-module-bg-color) !important;
-}
-
-.doc-oname {
- font-weight: normal;
-}
-.doc-olabel {
- font-size: 0.6em !important;
- color: #36464e !important;
- font-weight: 400;
- padding: 0.1rem 0.4rem !important;
-}
-
-.doc-attrs ~ .doc-methods,
-.doc-properties ~ .doc-methods {
- margin-top; 1rem;
-}
-
-/* ---------------------------------------------------------------------- */
-
-.icon {
- font-family: var(--cd-font-icons);
- font-weight: normal;
- font-style: normal;
- letter-spacing: normal;
- text-transform: none;
- display: inline-block;
- white-space: nowrap;
- word-wrap: normal;
- direction: ltr;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- text-rendering: optimizeLegibility;
- font-feature-settings: "liga";
- cursor: default;
- pointer-events: none;
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-source {
- display: flex;
- align-items: center;
- font-size: 0.85rem;
- line-height: 1.2;
- white-space: nowrap;
- cursor: pointer;
- text-decoration: none;
- padding: 0.5rem 0.75rem;
- min-width: 150px;
- backdrop-filter: blur(4px);
- background-color: var(--cd-nav-bg-color);
- border-radius: 1rem;
- transition: background 300ms ease-in-out;
-
- &:hover {
- background-color: var(--cd-nav-bg-color-hover);
- }
- & > div {
- opacity: 0.8;
- transition: opacity 300ms ease-in-out;
- }
- &:hover > div {
- opacity: 1;
- }
- & .cd-source__icon {
- padding-right: 0.5rem;
- }
- & .cd-source__icon svg {
- height: 1.5rem;
- width: 1.5rem;
- fill: currentcolor;
- display: block;
- }
- & .cd-source__label {
- font-size: 0.9rem;
- font-weight: bold;
- }
- & .cd-source__repo {
- display: inline-block;
- max-width: calc(100% - 1.2rem);
- overflow: hidden;
- text-overflow: ellipsis;
- vertical-align: middle;
- }
- @media (max-width: 480px) {
- & {
- min-width: 0;
- }
- & .cd-source__icon {
- padding-right: 0;
- }
- & .cd-source__repo {
- display: none;
- }
- }
- & .cd-source__facts {
- display: hidden;
- gap: 0.4rem;
- list-style-type: none;
- margin: 0.1rem 0 0;
- overflow: hidden;
- padding: 0;
- width: 100%;
- opacity: 0;
- transform: translateY(100%);
- transition: all 0.5s ease-out;
- }
- & .cd-source__facts.cd-source__facts--visible {
- display: flex;
- opacity: 1;
- transform: translateY(0);
- }
- & .cd-source__facts [data-fact] {
- overflow: hidden;
- text-overflow: ellipsis;
- display: flex;
- align-items: center;
- line-height: 1;
- }
- & .cd-source__facts [data-fact]:nth-child(1n+2) {
- flex-shrink: 0;
- }
- & .cd-source__facts [data-fact]:not([hidden]):before {
- width: 0.6rem;
- padding-right: 0.8rem;
- font-family: var(--cd-font-icons);
- font-weight: normal;
- font-style: normal;
- letter-spacing: normal;
- text-transform: none;
- display: inline-block;
- white-space: nowrap;
- word-wrap: normal;
- direction: ltr;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- text-rendering: optimizeLegibility;
- font-feature-settings: "liga";
- cursor: default;
- pointer-events: none;
- }
- & .cd-source__facts [data-fact="version"]:not([hidden]):before {
- content: "tag";
- }
- & .cd-source__facts [data-fact="stars"]:not([hidden]):before {
- content: "star";
- }
- & .cd-source__facts [data-fact="forks"]:not([hidden]):before {
- content: "fork_right";
- }
- & .cd-source__facts [data-fact="numrepos"]:not([hidden]):before {
- content: "numbers";
- }
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-cards {
- & {
- display: grid;
- grid-gap: 1rem;
- }
- @media (min-width: 480px) {
- & { grid-template-columns: repeat(2, 1fr); }
- }
- @media (min-width: 900px) {
- & { grid-template-columns: repeat(4, 1fr); }
- }
- & a.card {
- display: block;
- border: 1px solid var(--cd-border-color);
- padding: 1rem;
- border-radius: 6px;
- background-color: var(--cd-bg-color);
- transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
- }
- & a.card:hover {
- display: block;
- background-color: var(--cd-bg-color-hover);
- }
- & a.card h2 {
- text-decoration: none;
- font-family: var(--cd-font-sans);
- font-weight: bold;
- }
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-text-button {
- display: inline-flex;
- cursor: pointer;
- touch-action: manipulation;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- align-items: center;
- justify-content: center;
- white-space: nowrap;
- border-radius: 0.25rem;
- border-width: 1px;
- border-color: rgb(228 228 231);
- background-color: rgb(250 250 250);
- padding: 0.25rem 0.5rem;
- font-size: 0.875rem;
- line-height: 1.25rem;
- font-weight: 600;
- color: rgb(39 39 42);
-
- &:hover {
- border-color: rgb(212 212 216);
- background-color: rgb(244 244 245);
- color: rgb(24 24 27);
- box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);;
- }
- &:focus {
- outline-style: solid;
- outline-offset: 1px;
- outline-color: rgb(82 82 91 / 0.5);
- }
- &:active {
- border-color: rgb(161 161 170);
- }
- &:disabled {
- cursor: default;
- outline: 2px solid transparent;
- outline-offset: 2px;
- }
- &:is(.dark *) {
- border-color: rgb(82 82 91);
- background-color: rgb(82 82 91 / 0.1);
- color: rgb(228 228 231);
- }
- &:is(.dark *):hover {
- border-color: rgb(113 113 122);
- background-color: rgb(24 24 27);
- color: rgb(244 244 245);
- }
- &:is(.dark *):active {
- border-color: var(--cd-bg-color);
- }
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-callout {
- --bg-color: rgb(244 244 245);
- --border-color: rgb(212 212 216);
- --text-color: rgb(39 39 42);
-
- &.type-note,
- &.type-info,
- &.type-todo {
- --bg-color: rgb(244 244 245);
- --border-color: rgb(212 212 216);
- --text-color: rgb(39 39 42);
- }
- &.type-tip {
- --bg-color: rgb(254 249 195);
- --border-color: rgb(254 240 138);
- --text-color: rgb(133 77 14);
- }
- &.type-alert {
- --bg-color: rgb(255 237 213);
- --border-color: rgb(254 215 170);
- --text-color: rgb(154 52 18);
- }
- &.type-warning {
- --bg-color: rgb(255 237 213);
- --border-color: rgb(254 215 170);
- --text-color: rgb(154 52 18);
- }
- &.type-danger {
- --bg-color: rgb(255 228 230);
- --border-color: rgb(254 205 211);
- --text-color: rgb(136 19 55);
- }
- &.type-error {
- --bg-color: rgb(255 228 230);
- --border-color: rgb(254 205 211);
- --text-color: rgb(136 19 55);
- }
- &.type-internal {
- --bg-color: rgb(231 229 228);
- --border-color: rgb(214 211 209);
- --text-color: rgb(28 25 23);
- }
- & {
- position: relative;
- border-top-width: 1px;
- border-bottom-width: 1px;
- overflow: hidden;
- margin-left: -1rem;
- margin-right: -1rem;
- background-color: var(--bg-color);
- border-color: var(--border-color);
- color: var(--text-color);
- }
- @media (min-width: 640px) {
- & {
- border-left-width: 1px;
- border-right-width: 1px;
- border-radius: 0.25rem;
- margin-left: 0;
- margin-right: 0;
- }
- }
- &:is(.dark *) {
- background-color: oklch(from var(--bg-color) calc(l * 2) calc(c * 3) h / 0.8);
- border-color: oklch(from var(--border-color) calc(l * 1.5) c h);
- color: oklch(from var(--text-color) calc(l * 0.5) c h);
- }
- &:is(.dark *) ::selection {
- background-color: oklch(from var(--bg-color) calc(l * 1.2) calc(c * 4) h)
- }
- &:is(aside) {
- display: flex;
- align-items: flex-start;
- padding: 1.25rem 1rem 1rem;
- }
- @media (min-width: 640px) {
- &:is(aside) {
- padding-left: 1.25rem;
- padding-right: 1.25rem;
- }
- }
- & summary {
- display: flex;
- align-items: center;
- font-weight: 700;
- height: 3rem;
- padding-left: 1.25rem;
- padding-right: 1.25rem;
- cursor: pointer;
- }
- & .icon {
- margin: -0.1rem 1rem 0 -0.25rem;
- opacity: 0.9;
- font-size: 1.2rem;
- line-height: 1.4;
- }
- @media (max-width: 639px) {
- & .icon {
- display: none;
- }
- }
- & .icon.arrow {
- margin-left: auto;
- transition-property: transform;
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
- transition-duration: 150ms;
- }
- & details&[open] .icon.arrow {
- transform: rotate(180deg);
- }
- & .content {
- line-height: 1.4;
- }
- & details& .content {
- padding: 0 1rem 1rem;
- }
- @media (min-width: 640px) {
- & details& .content {
- padding: 0 1.25rem 1rem;
- }
- }
-}
-/* Cannot be nested */
-.cd-callout::selection {
- background-color: oklch(from var(--bg-color) calc(l * 0.9) calc(c * 3) h);
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-example-tabs {
- position: relative;
- margin-top: 2rem;
- margin-bottom: 3rem;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- width: 100%;
-
- & .example-tabgroup {
- width: 100%;
- overflow: hidden;
- position: relative;
- border: 1px solid #999;
- border-radius: 0.4rem;
- }
-
- & .example-tablist {
- z-index: 0;
- display: flex;
- border-bottom: 1px solid #999;
- background-color: rgb(249 250 251);
- overflow-x: auto;
- overflow-y: hidden;
- -ms-scroll-chaining: none;
- overscroll-behavior: contain;
- width: 100%;
- text-align: center;
- font-size: 0.875rem;
- line-height: 1.25rem;
- font-weight: 500;
- color: rgb(107 114 128);
- }
- & .example-tablist:is(.dark *) {
- border-color: rgb(75 85 99);
- background-color: rgb(55 65 81);
- color: rgb(156 173 175);
- }
-
- & .example-tab {
- user-select: none;
- border-right-width: 1px;
- border-color: #999;
- background-color: rgb(255 255 255);
- padding: 0.5rem 1.6rem;
- color: #333;
- }
- & .example-tab:is(.dark *) {
- border-color: rgb(75 85 99);
- background-color: rgb(31 41 55);
- color: rgb(255 255 255);
- }
- & .example-tab:not(.ui-disabled):not(.ui-selected):hover {
- background-color: rgb(249 250 251);
- color: rgb(55 65 81);
- }
- & .example-tab:not(.ui-disabled):not(.ui-selected):hover:is(.dark *) {
- background-color: rgb(55 65 81);
- color: rgb(255 255 255);
- }
- & .example-tab.ui-disabled {
- color: rgb(193 204 220);
- }
- & .example-tab.ui-selected {
- color: black;
- background-color: #e7e9ed;
- }
- & .example-tab.ui-selected:is(.dark *) {
- color: white;
- background-color: #111;
- }
-
- & .example-tabpanel {
- width: 100%;
- flex-grow: 0;`
- z-index: 10;
- overflow: auto;
- position: relative;
- max-height: 400px;
- }
- & .example-tabpanel.ui-hidden {
- display: none;
- }
- & .example-tabpanel div.highlight {
- margin: 0;
- padding: 0;
- border-radius: 0;
- font-size: 0.9rem;
- }
- & .example-tabpanel div.highlight pre {
- border-radius: 0;
- }
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-footer {
- padding-top: 1.25rem;
- padding-bottom: 1.25rem;
- padding-left: var(--cd-padding-left);
- padding-right: var(--cd-padding-right);
- font-size: 0.875rem;
- line-height: 1.25rem;
- text-align: center;
- border-top: 1px solid rgb(228 228 231);
-
- &:is(.dark *){
- border-color: rgb(82 82 91);
- }
- & .wrapper {
- display: flex;
- align-items: center;
- }
- & .copy {
- margin-right: auto;
- text-align: left;
- padding: 0 16px;
- }
- & .built-with {
- height: 100%;
- color: rgb(113 113 122);
- }
- & .built-with:is(.dark *) {
- color: inherit;
- }
- & .built-with a {
- text-decoration: underline;
- cursor: pointer;
- }
- & .themeswitch {
- margin-left: 1.5rem;
- margin-right: 0;
- opacity: 0.8;
- border-radius: 1rem;
- background-color: var(--cd-nav-bg-color);
- transition: opacity 300ms ease-in-out, background 300ms ease-in-out;
- padding-left: 0.5rem;
- padding-right: 0.5rem;
- }
- & .themeswitch:hover {
- opacity: 1;
- background-color: var(--cd-nav-bg-color-hover);
- }
- @media (max-width: 640px) {
- & .built-with,
- & .themeswitch {
- display: none;
- }
- }
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-header {
- margin-bottom: 2rem;
-
- & div p {
- margin-bottom: 0.5rem;
- font-size: 0.875rem;
- line-height: 1;
- font-weight: 600;
- }
- & h1 {
- display: inline-block;
- font-size: 1.9rem;
- line-height: 1.25rem;
- color: rgb(24 24 27);
- font-weight: 800;
- margin: 0;
- }
- & h1:is(.dark *) {
- color: rgb(228 228 231);
- }
- @media (min-width: 640px) {
- & h1 {
- font-size: 2.2rem;
- }
- }
- & p.description {
- margin-top: 0.25rem;
- font-size: 1.125rem;
- line-height: 1.75rem;
- color: var(--cd-text-color-mild);
- }
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-navbar {
- display: flex;
- align-items: center;
- border-radius: 1rem;
- padding: 0 0.75rem;
- font-size: 0.875rem;
- font-weight: bold;
- backdrop-filter: blur(4px);
- background-color: var(--cd-nav-bg-color);
- box-shadow: rgb(15, 15, 15) 0px 0px 0px 0px inset,
- rgba(163, 163, 170, 0.3) 0px 0px 0px 1px inset,
- rgba(255, 255, 255, 0.2) 0px 20px 25px -5px,
- rgba(255, 255, 255, 0.2) 0px 8px 10px -6px;
-
- &:is(.dark *) {
- box-shadow: rgb(255, 255, 255) 0px 0px 0px 0px inset,
- rgba(63, 63, 70, 0.3) 0px 0px 0px 1px inset,
- rgba(0, 0, 0, 0.2) 0px 20px 25px -5px,
- rgba(0, 0, 0, 0.2) 0px 8px 10px -6px;
- }
-
- & a {
- white-space: nowrap;
- padding: 0.75rem;
- }
- & a,
- & button {
- opacity: 0.8;
- transition: opacity 300ms ease-in-out, background 300ms ease-in-out;
- border-radius: 4px;
- }
- & a:hover,
- & button:hover {
- opacity: 1;
- background-color: var(--cd-nav-bg-color-hover);
- }
- & a svg {
- height: 20px;
- }
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-nav-top {
- z-index: 1000;
- width: 100%;
- margin-top: 1rem;
-
- /* @media ((min-width: 1024px) and (min-height: 640px)) {
- & {
- position: sticky;
- top: 1rem;
- }
- } */
- & .wrapper {
- margin-left: auto;
- margin-right: auto;
- display: flex;
- max-width: 100rem;
- align-items: center;
- padding-left: var(--cd-padding-left);
- padding-right: var(--cd-padding-right);
- }
-
- & .logo {
- padding: 0.75rem;
- margin-left: -0.75rem;
- margin-right: auto;
- background-color: transparent;
- transition: background 300ms ease-in-out;
- }
- @media (min-width: 640px) {
- & .logo {
- border-radius: 4px;
- backdrop-filter: blur(4px);
- background-color: var(--cd-nav-bg-color);
- }
- }
-
- & .nav-links {
- display: none;
- }
- @media (min-width: 768px) {
- & .nav-links {
- display: inline-flex;
- }
- }
- & .nav-extra {
- margin-left: 0.75rem;
- }
- & .nav-links > .themeswitch {
- border: none;
- outline: none;
- margin-left: 0.25rem;
- }
- & .cd-toggle-sidebar {
- font-size: 1rem;
- margin-left: 0.75rem;
- width: 4.5rem;
- line-height: 1;
- padding: 0.75rem 0.5rem;
- }
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-nav-global {
- /* position: sticky; */
- /* top: 0; */
- z-index: 0;
- width: 12rem;
- border-right-width: 1px;
- border-color: rgb(228 228 231);
- padding-right: 1rem;
- padding-bottom: 2rem;
- font-size: 0.875rem;
- line-height: 1.2;
- flex-shrink: 0;
- /*
- @media (min-height: 640px) {
- & {
- overflow-y: auto;
- height: 100vh;
- top: 3rem;
- min-height: calc(100vh - 3rem);
- }
- } */
-
- @media (min-width: 1536px) {
- & {
- font-size: 1rem;
- line-height: 1.5rem;
- width: 18rem;
- }
- }
- &:is(.dark *) {
- border-color: rgb(82 82 91);
- }
-
- & nav {
- display: flex;
- width: 100%;
- flex-direction: column;
- padding-bottom: 3.5rem;
- }
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-nav-local {
- position: sticky;
- top: 5rem;
- z-index: 0;
- width: 25rem;
- height: calc(100vh - 6.5rem);
- margin-right: -1rem;
- overflow: hidden;
- border-left-width: 1px;
- border-color: rgb(228 228 231);
-
- &:is(.dark *) {
- border-color: rgb(82 82 91);
- }
- & .wrapper {
- position: absolute;
- inset: 0;
- overflow-y: auto;
- overflow-x: hidden;
- -ms-scroll-chaining: none;
- overscroll-behavior: contain;
- scroll-behavior: smooth;
- padding: 1.5rem 0.25rem;
- font-size: 0.9rem;
- line-height: 1.2;
- }
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-nav-mobile {
- position: fixed;
- left: 0;
- top: 0;
- height: 100vh;
- width: 100%;
- min-width: 360px;
- max-width: 640px;
- -ms-scroll-chaining: none;
- overscroll-behavior: contain;
- margin: 0;
- padding: 0 0 4rem 0;
- background-color: var(--cd-bg-color-hover);
- color: var(--cd-text-color);
-
- transition: all 0.2s allow-discrete;
- /* Final state of the exit animation */
- opacity: 0;
- transform: translateX(-100%);
-
- &:popover-open {
- opacity: 1;
- transform: translateX(0);
- }
- /* Needs to be after the previous &:popover-open rule
- to take effect, as the specificity is the same */
- @starting-style {
- &:popover-open {
- opacity: 0;
- transform: translateX(-100%);
- }
- }
-
- @media (min-width: 640px) {
- & {
- border-right: 1px solid var(--cd-border-color);
- }
- }
- & header {
- margin: 1rem 0;
- display: flex;
- align-items: center;
- padding-left: var(--cd-padding-left);
- padding-right: var(--cd-padding-right);
- }
- & .logo {
- margin-right: auto;
- }
- & .themeswitch {
- border: none;
- background: none;
- outline: none;
- }
- & .cd-toggle-sidebar {
- font-size: 1rem;
- margin-left: 0.75rem;
- width: 4.5rem;
- line-height: 1;
- padding: 0.75rem 0.5rem;
- }
-
- & .toc {
- margin-bottom: 1.25rem;
- display: flex;
- flex-direction: column;
- -ms-scroll-chaining: none;
- overscroll-behavior: contain;
- padding-left: var(--cd-padding-left);
- padding-right: var(--cd-padding-right);
- font-size: 1rem;
- line-height: 1.5rem;
- }
-}
-/* Transition for the popover's backdrop.
- ::backdrop cannot be nested */
-.cd-nav-mobile::backdrop {
- transition: all 0.5s allow-discrete;
- /* Final state of the exit animation */
- backdrop-filter: blur(0);
- background-color: rgb(0 0 0 / 0%);
-}
-.cd-nav-mobile:popover-open::backdrop {
- backdrop-filter: blur(2px);
- background-color: rgb(0 0 0 / 15%);
-}
-@starting-style {
- .cd-nav-mobile:popover-open::backdrop {
- backdrop-filter: blur(0);
- background-color: rgb(0 0 0 / 0%);
- }
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-page-single > main {
- margin: 0;
- max-width: 100%;
- padding: 0;
-}
-
-.cd-page {
- & .page-wrapper {
- z-index: 10;
- margin-left: auto;
- margin-right: auto;
- display: flex;
- max-width: 100rem;
- padding-top: 1rem;
- padding-left: var(--cd-padding-left);
- padding-right: var(--cd-padding-right);
- padding-bottom: 1.5rem;
- min-width: 360px;
- }
- & .page-wrapper > main {
- width: 100%;
- padding-top: 1rem;
- }
- @media (min-width: 640px) {
- & {
- padding-bottom: 1rem;
- }
- }
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-prevnext {
- display: flex;
- align-items: stretch;
- width: 100%;
- margin-top: 2rem;
- padding-top: 2rem;
- padding-bottom: 2rem;
- padding-left: var(--cd-padding-left);
- padding-right: var(--cd-padding-right);
- border-top: 1px solid var(--cd-border-color);
- font-family: var(--cd-font-sans);
-
- & a.prev,
- & a.next {
- display: flex;
- align-items: center;
- padding: 0.75rem 0.25rem;
- text-decoration: none;
- width: 50%;
- border: 1px solid var(--cd-border-color);
- color: var(--cd-text-color);
- border-radius: 10px;
- transition: all 0.2s ease-in;
- }
- & a.prev {
- margin-right: 1.25rem;
- justify-content: flex-start;
- text-align: left;
- }
- & a.next {
- margin-left: auto;
- justify-content: flex-end;
- text-align: right;
- }
- & a.prev:hover,
- & a.next:hover {
- border-color: rgb(113, 113, 122);
- }
- &:is(.dark *) a.prev:hover,
- &:is(.dark *) a.next:hover {
- border-color: rgb(150, 150, 150);
- }
- & .section {
- font-size: 0.875rem;
- line-height: 1;
- color: rgb(113, 113, 122);
- margin-bottom: 0.1rem;
- }
- &:is(.dark *) .section {
- color: rgb(150, 150, 150);
- }
- & .title {
- font-size: 1rem;
- line-height: 1.1;
- }
- & i {
- opacity: 0.8;
- font-style: normal;
- font-size: 1.4rem;
- padding: 0 0.5rem;
- }
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-theme-switch {
- display: flex;
- align-items: center;
- justify-content: center;
- -webkit-tap-highlight-color: transparent;
-
- & {
- font-weight: 400;
- height: 2.5rem;
- width: 2.5rem;
- flex-grow: 0;
- padding: 0.2rem;
- }
- @media (min-width: 1024px) {
- & {
- width: auto;
- }
- }
- & svg {
- padding: 0.3rem;
- margin: 0;
- }
- &:is(.dark *) svg {
- padding: 0.1rem;
- }
- & .sun-and-moon {
- pointer-events: none;
- display: block;
- height: 100%;
- width: 100%;
- }
- & .sun {
- transform-origin: center;
- transform: scale(1, 1);
- transform: translate3d(0, 0, 0);
- fill: #3f3f46;
- stroke: transparent;
- }
- &:hover .sun {
- fill: #27272a;
- }
- &:focus-visible .sun {
- fill: #27272a;
- }
- @media (prefers-reduced-motion: no-preference) {
- & .sun {
- transition-property: transform;
- transition-timing-function: cubic-bezier(0.5, 1.25, 0.75, 1.25);
- transition-duration: 0.5s;
- }
- }
- & .sun:is(.dark *) {
- transform: scale(1.75, 1).75;
- fill: #e4e4e7;
- }
- &:hover .sun:is(.dark *) {
- fill: #f4f4f5;
- }
- &:focus-visible .sun:is(.dark *) {
- fill: #f4f4f5;
- }
- @media (prefers-reduced-motion: no-preference) {
- & .sun:is(.dark *) {
- transition-timing-function: cubic-bezier(0.25, 0, 0.3, 1);
- transition-duration: 250ms;
- }
- }
- & .sun-beams {
- transform-origin: center;
- stroke: #3f3f46;
- stroke-width: 2;
- }
- &:hover .sun-beams {
- stroke: #27272a;
- }
- &:focus-visible .sun-beams {
- stroke: #27272a;
- }
- @media (prefers-reduced-motion: no-preference) {
- & .sun-beams {
- transition-property: transform, opacity;
- transition-timing-function: cubic-bezier(0.5, 1.5, 0.75, 1.25);
- transition-duration: 400ms;
- }
- }
- & .sun-beams:is(.dark *) {
- transform: translate3d(0, 0, 0);
- transform: rotate(-25deg);
- stroke: #e4e4e7;
- opacity: 0;
- }
- &:hover .sun-beams:is(.dark *) {
- stroke: #f4f4f5;
- }
- &:focus-visible .sun-beams:is(.dark *) {
- stroke: #f4f4f5;
- }
- @media (prefers-reduced-motion: no-preference) {
- & .sun-beams:is(.dark *) {
- transition-duration: 150ms;
- }
- }
- & .moon {
- transform-origin: center;
- fill: #52525b;
- }
- &:hover .moon {
- fill: #71717a;
- }
- & .moon circle {
- transform: translate3d(0, 0, 0);
- }
- @media (prefers-reduced-motion: no-preference) {
- & .moon circle {
- transition-property: transform;
- transition-timing-function: cubic-bezier(0, 0, 0, 1);
- transition-duration: 0.3s;
- }
- }
- & .moon circle:is(.dark *) {
- transform: translateX(-7px);
- }
- @media (prefers-reduced-motion: no-preference) {
- & .moon circle:is(.dark *) {
- transition-delay: 0.3s;
- }
- }
- & .light-text,
- & .dark-text {
- padding: 0.5rem;
- padding-left: 0;
- display: none;
- white-space: nowrap;
- font-weight: bold;
- text-align: left;
- }
- @media (min-width: 1024px) {
- & .light-text {
- display: block;
- }
- & .light-text:is(.dark *) {
- display: none;
- }
- & .dark-text:is(.dark *) {
- display: block;
- }
- }
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-toc {
- & details,
- & section {
- margin-top: 1.5rem;
- }
-
- & summary {
- margin-bottom: 0.5rem;
- font-weight: 600;
- color: rgb(39 39 42);
- }
- & summary:is(.dark *) {
- color: rgb(244 244 245);
- }
-
- & h2 {
- margin-bottom: 0.5rem;
- font-weight: 600;
- color: rgb(39 39 42);
- }
- & h2:is(.dark *) {
- color: rgb(244 244 245);
- }
-
- & .page {
- border-left-width: 2px;
- border-color: rgb(244 244 245);
- padding-left: 0.5rem;
- }
- & .page:hover {
- border-color: rgb(212 212 216);
- }
-
- & .page:is(.dark *) {
- border-color: rgb(63 63 70 / 0.5);
- }
- & .page:is(.dark *):hover {
- border-color: rgb(161 161 170);
- }
-
- & a {
- position: relative;
- display: flex;
- align-items: center;
- border-radius: 0.25rem;
- border-width: 1px;
- border-color: transparent;
- line-height: 1.2;
- margin: 0;
- padding-top: 0.25rem;
- padding-bottom: 0.25rem;
- padding-left: 0.5rem;
- padding-right: 0.5rem;
- color: rgb(63 63 70);
- }
- & a:hover {
- color: rgb(0 0 0);
- }
- & a:is(.dark *) {
- color: rgb(161 161 170);
- }
- & a:is(.dark *):hover {
- color: rgb(244 244 245);
- }
- & .active a {
- border-color: rgb(228 228 231);
- background-color: rgb(244 244 245);
- font-weight: bold;
- color: rgb(39 39 42);
- }
- & .active:is(.dark *) a {
- color: black;
- }
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-toc-page {
- margin-top: -0.25rem;
-
- & li {
- position: relative;
- display: flex;
- align-items: center;
- }
-
- & li::after {
- content: "";
- display: block;
- position: absolute;
- inset: 0;
- background-color: var(--cd-brand-color);
- border-radius: 0.25rem;
- opacity: 0;
- transition: opacity 0.2s ease-in-out;
- z-index: -1;
- }
-
- & li:has(a.active)::after {
- opacity: 0.15;
- }
-
- & a {
- display: flex;
- align-items: center;
- color: rgb(82 82 91);
- padding: 0.3rem 0 0.3rem 0.5rem;
- }
- & a:is(.dark *) {
- color: rgb(161 161 170);
- }
- & a:hover:not(.active) {
- & span {
- text-decoration: underline;
- }
- }
-
- & li.indent-0 a {
- padding-left: 0rem;
- font-size: smaller;
- text-transform: uppercase;
- font-weight: bold;
- border-bottom-width: 1px;
- }
- & li.indent-1 a {
- padding-left: 0rem;
- font-weight: bold;
- }
- & li.indent-2 a { padding-left: 1rem; }
- & li.indent-3 a { padding-left: 1.5rem; }
- & li.indent-4 a { padding-left: 2rem; }
- & li.indent-5 a { padding-left: 2.5rem; }
- & li.indent-6 a { padding-left: 3rem; }
-
- & li a::before {
- content: "";
- display: inline-flex;
- align-items: center;
- justify-content: right;
- line-height: 1;
- height: 8px;
- width: 8px;
- margin: 0 0.5rem 0 0.5rem;
- flex-grow: 0;
- flex-shrink: 0;
- }
- li.indent-2 a::before { content: "○" }
- li.indent-3 a::before { content: "•" }
- li.indent-4 a::before { content: "·" }
- li.indent-5 a::before { content: "⁃" }
- li.indent-6 a::before { content: "·" }
-
- & li a.active::before {
- content: "";
- border-radius: 3px;
- background-color: var(--cd-brand-color);
- }
-}
-
-/* ---------------------------------------------------------------------- */
-
-.cd-nav-global,
-.cd-nav-local,
-.cd-nav-mobile {
- display: none;
-}
-.cd-nav-mobile:popover-open,
-.cd-nav-top .cd-toggle-sidebar {
- display: block;
-}
-
-@media (min-width: 924px) {
- .cd-nav-mobile,
- .cd-nav-top .cd-toggle-sidebar {
- display: none;
- }
-}
-
-@media (min-width: 924px) {
- .cd-nav-global {
- display: block;
- }
-}
-
-@media (min-width: 1024px) {
- .cd-page .page-wrapper > main {
- margin-left: 2.5rem;
- margin-right: 2.5rem;
- }
- .cd-nav-local {
- display: block;
- }
-}
diff --git a/docs/theme/Autodoc.jinja b/docs/theme/Autodoc.jinja
deleted file mode 100644
index e1a967c..0000000
--- a/docs/theme/Autodoc.jinja
+++ /dev/null
@@ -1,127 +0,0 @@
-{#def
- obj: dict | None = None,
- name: str = "",
- level: int = 2,
- members: bool = True,
-#}
-
-{% set obj = obj or autodoc(name) %}
-
-
- {{ obj.symbol }}
- {{ name or obj.name }}
- {% if obj.label -%}
-
- {{ obj.label }}
-
- {%- endif %}
-
-
-{%- if obj.short_description -%}
-
- {{ obj.short_description | markdown | utils.widont }}
-
-{% endif -%}
-
-{%- if obj.signature -%}
-
-{% filter markdown -%}
-```python
-{{ obj.signature }}
-```
-{%- endfilter %}
-
-{%- endif %}
-
-{% if obj.bases -%}
-
-
Bases:
- {%- for base in obj.bases %} {{ base }}
{% if not loop.last %}, {% endif %}
- {%- endfor %}
-
-
-{%- endif %}
-
-{% if obj.params -%}
-
- Argument Description
-
-
-{%- for param in obj.params %}
-
- {{ param.name }}
- {{ param.description | markdown | utils.widont }}
-
-{%- endfor %}
-
-
-{%- endif %}
-
-{%- if obj.description -%}
-
- {{ obj.description | markdown | utils.widont }}
-
-{% endif -%}
-
-{% if obj.examples -%}
-
-
Example:
-
-{% for ex in obj.examples -%}
-
-{% if ex.description %}{{ ex.description | markdown | utils.widont }}{% endif %}
-{% if ex.snippet %}{{ ex.snippet }}{% endif %}
-
-{% endfor -%}
-
-{%- endif %}
-
-{% if obj.returns -%}
-
- Returns:
-
- {% if ex.returns -%}
- {{ obj.returns }}
- {%- endif %}
- {% if ex.many_returns -%}
-
- {% for return in ex.many_returns %}
- {{ return }}
- {%- endfor %}
-
- {%- endif %}
-
-{%- endif %}
-
-{% if obj.raises -%}
-
-
Raises:
-
-
- {% for raises in obj.raises -%}
- {{ raises.description | markdown | utils.widont }}
-
-{%- endif %}
-
-{% if members -%}
- {% if obj.attrs or obj.properties-%}
-
- {% for attr in obj.attrs -%}
-
- {% endfor %}
- {% for attr in obj.properties %}
-
- {%- endfor %}
-
- {%- endif %}
-
- {% if obj.methods -%}
-
- {% for method in obj.methods %}
-
- {%- endfor %}
-
- {%- endif %}
-{%- endif %}
\ No newline at end of file
diff --git a/docs/theme/Callout.jinja b/docs/theme/Callout.jinja
deleted file mode 100644
index 4279b3a..0000000
--- a/docs/theme/Callout.jinja
+++ /dev/null
@@ -1,45 +0,0 @@
-{#def title="", type="info", icon="", open=True #}
-
-{% set icons = {
- "note": "sticky_note",
- "info": "info",
- "tip": "check_circle",
- "alert": "release_alert",
- "warning": "warning",
- "danger": "release_alert",
- "error": "release_alert",
- "internal": "rocket_launch",
- "todo": "checklist",
-} %}
-
-{% if icon != False %}
- {% set icon = icon or icons.get(type) %}
-{% endif %}
-
-{% do attrs.set(class="type-" + type or "none") %}
-
-{% if title -%}
-
-
-
- {% if icon -%}
- {{ icon }}
- {% endif -%}
- {{ title }}
- keyboard_arrow_down
-
- {{content}}
-
-
-{%- else -%}
-
-
- {% if icon -%}
-
- {{ icon }}
-
- {%- endif %}
- {{content}}
-
-
-{%- endif %}
diff --git a/docs/theme/ExampleTabs.jinja b/docs/theme/ExampleTabs.jinja
deleted file mode 100644
index 0853ec5..0000000
--- a/docs/theme/ExampleTabs.jinja
+++ /dev/null
@@ -1,27 +0,0 @@
-{#def prefix, panels={} #}
-
-
-
-
- {%- for text in panels.keys() %}
- {{ text }}
- {%- endfor %}
-
- {%- for name in panels.values() %}
-
- {{ catalog.irender(name) }}
-
- {%- endfor %}
-
-
diff --git a/docs/theme/Footer.jinja b/docs/theme/Footer.jinja
deleted file mode 100644
index a9e9c5a..0000000
--- a/docs/theme/Footer.jinja
+++ /dev/null
@@ -1,10 +0,0 @@
-
diff --git a/docs/theme/Header.jinja b/docs/theme/Header.jinja
deleted file mode 100644
index 1b719cf..0000000
--- a/docs/theme/Header.jinja
+++ /dev/null
@@ -1,17 +0,0 @@
-{#def title="", section="" #}
-
-{% set section = section or page.section if section != false else None %}
-{% set title = title or page.title %}
-
-
diff --git a/docs/theme/Layout.jinja b/docs/theme/Layout.jinja
deleted file mode 100644
index e76046f..0000000
--- a/docs/theme/Layout.jinja
+++ /dev/null
@@ -1,25 +0,0 @@
-{#def title="", description="" #}
-
-
-
-
-
-
-
-
-
-
-
-{{ catalog.render_assets() }}
-{% if page.prev_page and page.prev_page.url -%}
-
-{% endif -%}
-{% if page.next_page and page.next_page.url -%}
-
-{% endif -%}
-
-
-
-{{ content }}
-
-
diff --git a/docs/theme/MetaTags.jinja b/docs/theme/MetaTags.jinja
deleted file mode 100644
index 2639afb..0000000
--- a/docs/theme/MetaTags.jinja
+++ /dev/null
@@ -1,22 +0,0 @@
-{#def page #}
-
-{% set DEFAULT_TITLE = "JinjaX Documentation" %}
-{% set title = (page.title + " | " + DEFAULT_TITLE) if page.title else DEFAULT_TITLE %}
-{% set description = page.description %}
-
-{{ title }}
-
-
-
-
-
-{% if description -%}
-
-
-{%- endif %}
-
-
-
-
-
-
diff --git a/docs/theme/NavBar.jinja b/docs/theme/NavBar.jinja
deleted file mode 100644
index 50f8ca2..0000000
--- a/docs/theme/NavBar.jinja
+++ /dev/null
@@ -1,3 +0,0 @@
-
-{{ content }}
-
\ No newline at end of file
diff --git a/docs/theme/NavGlobal.jinja b/docs/theme/NavGlobal.jinja
deleted file mode 100644
index 1171db0..0000000
--- a/docs/theme/NavGlobal.jinja
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/docs/theme/NavLocal.jinja b/docs/theme/NavLocal.jinja
deleted file mode 100644
index 2af7606..0000000
--- a/docs/theme/NavLocal.jinja
+++ /dev/null
@@ -1,5 +0,0 @@
-
diff --git a/docs/theme/NavMobile.jinja b/docs/theme/NavMobile.jinja
deleted file mode 100644
index 4126fb0..0000000
--- a/docs/theme/NavMobile.jinja
+++ /dev/null
@@ -1,18 +0,0 @@
-{% do attrs.set(id="navMobile", class="cd-nav-mobile", data_component="NavMobile") %}
-
-
-
-
-
-
diff --git a/docs/theme/NavTop.jinja b/docs/theme/NavTop.jinja
deleted file mode 100644
index 8518391..0000000
--- a/docs/theme/NavTop.jinja
+++ /dev/null
@@ -1,17 +0,0 @@
-
diff --git a/docs/theme/Page.jinja b/docs/theme/Page.jinja
deleted file mode 100644
index 8fec014..0000000
--- a/docs/theme/Page.jinja
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
- {{ content }}
-
-
-
-
-
-
diff --git a/docs/theme/PageSingle.jinja b/docs/theme/PageSingle.jinja
deleted file mode 100644
index d89fd49..0000000
--- a/docs/theme/PageSingle.jinja
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- {{ content }}
-
-
-
diff --git a/docs/theme/PrevNext.jinja b/docs/theme/PrevNext.jinja
deleted file mode 100644
index 9c6a572..0000000
--- a/docs/theme/PrevNext.jinja
+++ /dev/null
@@ -1,26 +0,0 @@
-{#def curr, prev, next #}
-
-
- {% if prev.url -%}
-
- ←
-
-
- {{ prev.section or "Previous" if prev.section != curr.section else "Previous" }}
-
-
{{ prev.title }}
-
-
- {%- endif %}
- {% if next.url -%}
-
-
-
- {{ next.section or "Next" if next.section != curr.section else "Next" }}
-
-
{{ next.title }}
-
- →
-
- {%- endif %}
-
diff --git a/docs/theme/SocialCard.jinja b/docs/theme/SocialCard.jinja
deleted file mode 100644
index 2fe00be..0000000
--- a/docs/theme/SocialCard.jinja
+++ /dev/null
@@ -1,61 +0,0 @@
-{#def page #}
-
-
-
-
-
-
-
{{ page.section }}
-
{{ page.title | utils.widont }}
-
{{ page.description | utils.widont }}
-
-
-
diff --git a/docs/theme/Source.jinja b/docs/theme/Source.jinja
deleted file mode 100644
index c742f56..0000000
--- a/docs/theme/Source.jinja
+++ /dev/null
@@ -1,24 +0,0 @@
-{# def url: str, label: str = "" #}
-{% do attrs.set(href=url, target="_blank") %}
-{% set icon = url.replace("http://", "").replace("https://", "").split(".")[0] %}
-
-
-
- {% if icon == "github" -%}
-
- {% elif icon == "gitlab" -%}
-
- {%- else -%}
-
- {%- endif %}
-
-
-
{{ label or url.split("/", 3)[-1] }}
-
-
-
\ No newline at end of file
diff --git a/docs/theme/Source.js b/docs/theme/Source.js
deleted file mode 100644
index e627460..0000000
--- a/docs/theme/Source.js
+++ /dev/null
@@ -1,123 +0,0 @@
-const ATTR_FACT = "data-fact";
-const CLASS_FACTS = "cd-source__facts";
-const CLASS_FACTS_VISIBLE = `${CLASS_FACTS}--visible`;
-
-document.addEventListener("DOMContentLoaded", function () {
- document.querySelectorAll('[data-component="Source"]').forEach(showFacts);
-});
-
-function showFacts(node) {
- function renderFacts(facts) {
- Array.from(node.querySelectorAll(`[${ATTR_FACT}]`))
- .forEach(function(node) {
- const name = node.getAttribute(ATTR_FACT);
- if (facts[name]) {
- node.removeAttribute("hidden");
- node.innerText = facts[name];
- }
- });
-
- node.querySelector(`.${CLASS_FACTS}`).classList.add(CLASS_FACTS_VISIBLE);
- }
-
- getSourceFacts(node.href, renderFacts);
-}
-
-function getSourceFacts(url, callback) {
- const key = `Source:${url}`;
- let facts = sessionStorage.getItem(key);
- if (facts) {
- callback(JSON.parse(facts));
- return;
- }
-
- fetchSourceFacts(url)
- .then((facts) => {
- if (facts && Object.keys(facts).length) {
- sessionStorage.setItem(key, JSON.stringify(facts));
- callback(facts);
- }
- });
-}
-
-function fetchJSON(url) {
- return fetch(url)
- .then(response => response.json())
- .catch((error) => {
- console.log(error);
- });
-}
-
-function fetchSourceFacts(url) {
- /* Try to match GitHub repository */
- let match = url.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);
- if (match) {
- const [, user, repo] = match;
- return fetchSourceFactsFromGitHub(user, repo);
- }
-
- /* Try to match GitLab repository */
- match = url.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);
- if (match) {
- const [, base, slug] = match;
- return fetchSourceFactsFromGitLab(base, slug);
- }
-
- /* Fallback */
- return null;
-}
-
-function fetchSourceFactsFromGitLab(base, project) {
- const url = `https://${base}/api/v4/projects/${encodeURIComponent(project)}`
-
- fetchJSON(url)
- .then(function({ star_count, forks_count }) {
- return {
- stars: star_count,
- forks: forks_count,
- };
- });
-}
-
-function fetchSourceFactsFromGitHub (user, repo) {
- if (typeof repo === "undefined") {
- return fetchSourceFactsFromGitHubOrg(user);
- } else {
- return fetchSourceFactsFromGitHubRepo(user, repo);
- }
-}
-
-function fetchSourceFactsFromGitHubOrg(user) {
- const url = `https://api.github.com/users/${user}`
-
- fetchJSON(url)
- .then(function(data) {
- return {
- numrepos: data.public_repos,
- };
- });
-}
-
-function fetchSourceFactsFromGitHubRepo(user, repo) {
- const url = `https://api.github.com/repos/${user}/${repo}`
-
- const release = fetchJSON(`${url}/releases/latest`)
- .then((data) => {
- return {
- version: data.tag_name,
- };
- });
-
- const info = fetchJSON(url)
- .then((data) => {
- return {
- stars: data.stargazers_count,
- forks: data.forks_count,
- };
- });
-
- return Promise.all([release, info])
- .then(([release, info]) => {
- return { ...release, ...info };
- });
-}
diff --git a/docs/theme/Test.jinja b/docs/theme/Test.jinja
deleted file mode 100644
index 00176ce..0000000
--- a/docs/theme/Test.jinja
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-{{ content }}
-
-
\ No newline at end of file
diff --git a/docs/theme/ThemeSwitch.jinja b/docs/theme/ThemeSwitch.jinja
deleted file mode 100644
index 3543b73..0000000
--- a/docs/theme/ThemeSwitch.jinja
+++ /dev/null
@@ -1,36 +0,0 @@
-{#def text=true #}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {% if text -%}
- Light
- Dark
- {%- endif %}
-
diff --git a/docs/theme/ThemeSwitch.js b/docs/theme/ThemeSwitch.js
deleted file mode 100644
index c8b2847..0000000
--- a/docs/theme/ThemeSwitch.js
+++ /dev/null
@@ -1,41 +0,0 @@
-import { on } from "./jxui.js";
-
-const SEL_TARGET = ".cd-theme-switch";
-const STORAGE_KEY = "theme";
-
-const DARK = "dark";
-const LIGHT = "light";
-const theme = {value: getColorPreference()};
-
-reflectPreference();
-on("click", SEL_TARGET, onClick);
-// sync with system changes
-window
- .matchMedia("(prefers-color-scheme: dark)")
- .addEventListener("change", ({matches:isDark}) => {
- theme.value = isDark ? DARK : LIGHT
- setPreference()
- });
-
-function onClick (event, target) {
- if (target.matches("[disabled]")) return;
- theme.value = theme.value === LIGHT ? DARK : LIGHT;
- setPreference();
-}
-function setPreference () {
- localStorage.setItem(STORAGE_KEY, theme.value);
- reflectPreference();
-}
-function reflectPreference () {
- const value = getColorPreference ();
- if (value === DARK) {
- document.documentElement.classList.add(DARK);
- document.documentElement.classList.remove(LIGHT);
- } else {
- document.documentElement.classList.add(LIGHT);
- document.documentElement.classList.remove(DARK);
- }
-}
-function getColorPreference () {
- return localStorage.getItem(STORAGE_KEY);
-}
\ No newline at end of file
diff --git a/docs/theme/Toc.jinja b/docs/theme/Toc.jinja
deleted file mode 100644
index 2670b62..0000000
--- a/docs/theme/Toc.jinja
+++ /dev/null
@@ -1,45 +0,0 @@
-{# def toc, page #}
-
-{% macro render_page(url, title) %}
-{% if url != "/" -%}
-
-{%- endif %}
-{% endmacro %}
-
-
-{% macro render_collapsable(title, children) %}
-
- {% if title %}{{ title }} {% endif %}
- {{ render_children(children) }}
-
-{% endmacro %}
-
-
-{% macro render_section(title, children) %}
-
- {% if title %}{{ title }} {% endif %}
- {{ render_children(children) }}
-
-{% endmacro %}
-
-
-{% macro render_children(children, collapsable=True) %}
- {%- for url, title, sub_children in children %}
- {% if sub_children -%}
- {% if collapsable -%}
- {{ render_collapsable(title, sub_children) }}
- {%- else -%}
- {{ render_section(title, sub_children) }}
- {%- endif %}
- {%- else -%}
- {{ render_page(url, title) }}
- {%- endif %}
- {%- endfor %}
-{% endmacro %}
-
-
-
- {{ render_children(toc, collapsable=False) }}
-
\ No newline at end of file
diff --git a/docs/theme/TocPage.jinja b/docs/theme/TocPage.jinja
deleted file mode 100644
index 754b624..0000000
--- a/docs/theme/TocPage.jinja
+++ /dev/null
@@ -1,21 +0,0 @@
-{#def page_toc, max_depth=3 #}
-
-{% macro render_sub_items(pages) %}
-{%- for section in pages %}
-
- {{ section.name }}
-
- {% if section.level <= max_depth -%}
- {{ render_sub_items(section.children) }}
- {%- endif %}
-{%- endfor %}
-{% endmacro %}
-
-
-{%- for section in page_toc %}
-
- {{ section.name }}
-
- {{ render_sub_items(section.children) }}
-{%- endfor %}
-
diff --git a/docs/theme/TocPage.js b/docs/theme/TocPage.js
deleted file mode 100644
index 77bad1e..0000000
--- a/docs/theme/TocPage.js
+++ /dev/null
@@ -1,97 +0,0 @@
-import { on } from "./jxui.js";
-
-const ACTIVE = "active";
-const SEL_BACKTOTOP = ".cd-back-to-top"
-const SEL_PAGETOC = ".cd-toc-page"
-const SEL_TARGET = `${SEL_PAGETOC} a`;
-const SEL_ACTIVE = `${SEL_TARGET}.${ACTIVE}`;
-const SEL_PAGE = "#main.page";
-const SEL_SECTIONS = `${SEL_PAGE} section[id]`;
-const DESKTOP_THRESHOLD = 1024;
-
-on("click", SEL_TARGET, handleClick);
-on("click", SEL_BACKTOTOP, backToTop);
-
-function handleClick(event, target) {
- removeHighlight();
- setTimeout(function () { updateHighlight(target) }, 10);
-}
-
-function updateHighlight (elem) {
- if (window.innerWidth > DESKTOP_THRESHOLD && !elem?.classList.contains(ACTIVE)) {
- removeHighlight();
- if (!elem) return;
- elem.classList.add(ACTIVE);
- }
-}
-
-function removeHighlight () {
- document.querySelectorAll(SEL_ACTIVE).forEach(function (node) {
- node.classList.remove(ACTIVE);
- });
-}
-
-function resetNavPosition () {
- var pagetoc = document.querySelector(SEL_TOC);
- pagetoc?.scroll({ top: 0 });
-}
-
-export function backToTop () {
- window.scrollTo({ top: 0, behavior: "smooth" });
- resetNavPosition();
-}
-
-export function scrollSpy() {
- const sections = Array.from(document.querySelectorAll(SEL_SECTIONS));
-
- function matchingNavLink(elem) {
- if (!elem) return;
- var index = sections.indexOf(elem);
-
- var match;
- while (index >= 0 && !match) {
- var sectionId = sections[index].getAttribute("id");
- if (sectionId) {
- match = document.querySelector(`${SEL_PAGETOC} [href="#${sectionId}"]`);
- }
- index--;
- }
- return match;
- }
-
- function belowBottomHalf(i) {
- return i.boundingClientRect.bottom > (i.rootBounds.bottom + i.rootBounds.top) / 2;
- }
-
- function prevElem(elem) {
- var index = sections.indexOf(elem);
- if (index <= 0) {
- return null;
- }
- return sections[index - 1];
- }
-
- const PAGE_LOAD_BUFFER = 1000;
-
- function navHighlight(entries) {
- entries.forEach(function (entry) {
- if (entry.isIntersecting) {
- updateHighlight(matchingNavLink(entry.target));
- } else if (entry.time >= PAGE_LOAD_BUFFER && belowBottomHalf(entry)) {
- updateHighlight(matchingNavLink(prevElem(entry.target)));
- }
- });
- }
-
- const observer = new IntersectionObserver(navHighlight, {
- threshold: 0,
- rootMargin: "0% 0px -95% 0px"
- });
-
- sections.forEach(function (elem) {
- observer.observe(elem);
- })
- observer.observe(document.querySelector(SEL_PAGE));
-}
-
-document.addEventListener("DOMContentLoaded", scrollSpy);
diff --git a/jinjax-logo.png b/jinjax-logo.png
deleted file mode 100644
index 941df9f..0000000
Binary files a/jinjax-logo.png and /dev/null differ
diff --git a/package-lock.json b/package-lock.json
deleted file mode 100644
index d6bd744..0000000
--- a/package-lock.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "name": "jinjax",
- "lockfileVersion": 3,
- "requires": true,
- "packages": {}
-}
diff --git a/poetry.lock b/poetry.lock
index 5bcb8e2..c1a84fb 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -2,13 +2,13 @@
[[package]]
name = "cachetools"
-version = "5.3.3"
+version = "5.5.0"
description = "Extensible memoizing collections and decorators"
optional = false
python-versions = ">=3.7"
files = [
- {file = "cachetools-5.3.3-py3-none-any.whl", hash = "sha256:0abad1021d3f8325b2fc1d2e9c8b9c9d57b04c3932657a72465447332c24d945"},
- {file = "cachetools-5.3.3.tar.gz", hash = "sha256:ba29e2dfa0b8b556606f097407ed1aa62080ee108ab0dc5ec9d6a723a007d105"},
+ {file = "cachetools-5.5.0-py3-none-any.whl", hash = "sha256:02134e8439cdc2ffb62023ce1debca2944c3f289d66bb17ead3ab3dede74b292"},
+ {file = "cachetools-5.5.0.tar.gz", hash = "sha256:2cc24fb4cbe39633fb7badd9db9ca6295d766d9c2995f245725a46715d050f2a"},
]
[[package]]
@@ -46,63 +46,73 @@ files = [
[[package]]
name = "coverage"
-version = "7.5.4"
+version = "7.6.3"
description = "Code coverage measurement for Python"
optional = false
-python-versions = ">=3.8"
+python-versions = ">=3.9"
files = [
- {file = "coverage-7.5.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6cfb5a4f556bb51aba274588200a46e4dd6b505fb1a5f8c5ae408222eb416f99"},
- {file = "coverage-7.5.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2174e7c23e0a454ffe12267a10732c273243b4f2d50d07544a91198f05c48f47"},
- {file = "coverage-7.5.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2214ee920787d85db1b6a0bd9da5f8503ccc8fcd5814d90796c2f2493a2f4d2e"},
- {file = "coverage-7.5.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1137f46adb28e3813dec8c01fefadcb8c614f33576f672962e323b5128d9a68d"},
- {file = "coverage-7.5.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b385d49609f8e9efc885790a5a0e89f2e3ae042cdf12958b6034cc442de428d3"},
- {file = "coverage-7.5.4-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:b4a474f799456e0eb46d78ab07303286a84a3140e9700b9e154cfebc8f527016"},
- {file = "coverage-7.5.4-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:5cd64adedf3be66f8ccee418473c2916492d53cbafbfcff851cbec5a8454b136"},
- {file = "coverage-7.5.4-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:e564c2cf45d2f44a9da56f4e3a26b2236504a496eb4cb0ca7221cd4cc7a9aca9"},
- {file = "coverage-7.5.4-cp310-cp310-win32.whl", hash = "sha256:7076b4b3a5f6d2b5d7f1185fde25b1e54eb66e647a1dfef0e2c2bfaf9b4c88c8"},
- {file = "coverage-7.5.4-cp310-cp310-win_amd64.whl", hash = "sha256:018a12985185038a5b2bcafab04ab833a9a0f2c59995b3cec07e10074c78635f"},
- {file = "coverage-7.5.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:db14f552ac38f10758ad14dd7b983dbab424e731588d300c7db25b6f89e335b5"},
- {file = "coverage-7.5.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3257fdd8e574805f27bb5342b77bc65578e98cbc004a92232106344053f319ba"},
- {file = "coverage-7.5.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3a6612c99081d8d6134005b1354191e103ec9705d7ba2754e848211ac8cacc6b"},
- {file = "coverage-7.5.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d45d3cbd94159c468b9b8c5a556e3f6b81a8d1af2a92b77320e887c3e7a5d080"},
- {file = "coverage-7.5.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ed550e7442f278af76d9d65af48069f1fb84c9f745ae249c1a183c1e9d1b025c"},
- {file = "coverage-7.5.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:7a892be37ca35eb5019ec85402c3371b0f7cda5ab5056023a7f13da0961e60da"},
- {file = "coverage-7.5.4-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:8192794d120167e2a64721d88dbd688584675e86e15d0569599257566dec9bf0"},
- {file = "coverage-7.5.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:820bc841faa502e727a48311948e0461132a9c8baa42f6b2b84a29ced24cc078"},
- {file = "coverage-7.5.4-cp311-cp311-win32.whl", hash = "sha256:6aae5cce399a0f065da65c7bb1e8abd5c7a3043da9dceb429ebe1b289bc07806"},
- {file = "coverage-7.5.4-cp311-cp311-win_amd64.whl", hash = "sha256:d2e344d6adc8ef81c5a233d3a57b3c7d5181f40e79e05e1c143da143ccb6377d"},
- {file = "coverage-7.5.4-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:54317c2b806354cbb2dc7ac27e2b93f97096912cc16b18289c5d4e44fc663233"},
- {file = "coverage-7.5.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:042183de01f8b6d531e10c197f7f0315a61e8d805ab29c5f7b51a01d62782747"},
- {file = "coverage-7.5.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a6bb74ed465d5fb204b2ec41d79bcd28afccf817de721e8a807d5141c3426638"},
- {file = "coverage-7.5.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b3d45ff86efb129c599a3b287ae2e44c1e281ae0f9a9bad0edc202179bcc3a2e"},
- {file = "coverage-7.5.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5013ed890dc917cef2c9f765c4c6a8ae9df983cd60dbb635df8ed9f4ebc9f555"},
- {file = "coverage-7.5.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1014fbf665fef86cdfd6cb5b7371496ce35e4d2a00cda501cf9f5b9e6fced69f"},
- {file = "coverage-7.5.4-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:3684bc2ff328f935981847082ba4fdc950d58906a40eafa93510d1b54c08a66c"},
- {file = "coverage-7.5.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:581ea96f92bf71a5ec0974001f900db495488434a6928a2ca7f01eee20c23805"},
- {file = "coverage-7.5.4-cp312-cp312-win32.whl", hash = "sha256:73ca8fbc5bc622e54627314c1a6f1dfdd8db69788f3443e752c215f29fa87a0b"},
- {file = "coverage-7.5.4-cp312-cp312-win_amd64.whl", hash = "sha256:cef4649ec906ea7ea5e9e796e68b987f83fa9a718514fe147f538cfeda76d7a7"},
- {file = "coverage-7.5.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:cdd31315fc20868c194130de9ee6bfd99755cc9565edff98ecc12585b90be882"},
- {file = "coverage-7.5.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:02ff6e898197cc1e9fa375581382b72498eb2e6d5fc0b53f03e496cfee3fac6d"},
- {file = "coverage-7.5.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d05c16cf4b4c2fc880cb12ba4c9b526e9e5d5bb1d81313d4d732a5b9fe2b9d53"},
- {file = "coverage-7.5.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c5986ee7ea0795a4095ac4d113cbb3448601efca7f158ec7f7087a6c705304e4"},
- {file = "coverage-7.5.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5df54843b88901fdc2f598ac06737f03d71168fd1175728054c8f5a2739ac3e4"},
- {file = "coverage-7.5.4-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:ab73b35e8d109bffbda9a3e91c64e29fe26e03e49addf5b43d85fc426dde11f9"},
- {file = "coverage-7.5.4-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:aea072a941b033813f5e4814541fc265a5c12ed9720daef11ca516aeacd3bd7f"},
- {file = "coverage-7.5.4-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:16852febd96acd953b0d55fc842ce2dac1710f26729b31c80b940b9afcd9896f"},
- {file = "coverage-7.5.4-cp38-cp38-win32.whl", hash = "sha256:8f894208794b164e6bd4bba61fc98bf6b06be4d390cf2daacfa6eca0a6d2bb4f"},
- {file = "coverage-7.5.4-cp38-cp38-win_amd64.whl", hash = "sha256:e2afe743289273209c992075a5a4913e8d007d569a406ffed0bd080ea02b0633"},
- {file = "coverage-7.5.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:b95c3a8cb0463ba9f77383d0fa8c9194cf91f64445a63fc26fb2327e1e1eb088"},
- {file = "coverage-7.5.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:3d7564cc09dd91b5a6001754a5b3c6ecc4aba6323baf33a12bd751036c998be4"},
- {file = "coverage-7.5.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:44da56a2589b684813f86d07597fdf8a9c6ce77f58976727329272f5a01f99f7"},
- {file = "coverage-7.5.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e16f3d6b491c48c5ae726308e6ab1e18ee830b4cdd6913f2d7f77354b33f91c8"},
- {file = "coverage-7.5.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dbc5958cb471e5a5af41b0ddaea96a37e74ed289535e8deca404811f6cb0bc3d"},
- {file = "coverage-7.5.4-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:a04e990a2a41740b02d6182b498ee9796cf60eefe40cf859b016650147908029"},
- {file = "coverage-7.5.4-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:ddbd2f9713a79e8e7242d7c51f1929611e991d855f414ca9996c20e44a895f7c"},
- {file = "coverage-7.5.4-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:b1ccf5e728ccf83acd313c89f07c22d70d6c375a9c6f339233dcf792094bcbf7"},
- {file = "coverage-7.5.4-cp39-cp39-win32.whl", hash = "sha256:56b4eafa21c6c175b3ede004ca12c653a88b6f922494b023aeb1e836df953ace"},
- {file = "coverage-7.5.4-cp39-cp39-win_amd64.whl", hash = "sha256:65e528e2e921ba8fd67d9055e6b9f9e34b21ebd6768ae1c1723f4ea6ace1234d"},
- {file = "coverage-7.5.4-pp38.pp39.pp310-none-any.whl", hash = "sha256:79b356f3dd5b26f3ad23b35c75dbdaf1f9e2450b6bcefc6d0825ea0aa3f86ca5"},
- {file = "coverage-7.5.4.tar.gz", hash = "sha256:a44963520b069e12789d0faea4e9fdb1e410cdc4aab89d94f7f55cbb7fef0353"},
+ {file = "coverage-7.6.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6da42bbcec130b188169107ecb6ee7bd7b4c849d24c9370a0c884cf728d8e976"},
+ {file = "coverage-7.6.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c222958f59b0ae091f4535851cbb24eb57fc0baea07ba675af718fb5302dddb2"},
+ {file = "coverage-7.6.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ab84a8b698ad5a6c365b08061920138e7a7dd9a04b6feb09ba1bfae68346ce6d"},
+ {file = "coverage-7.6.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:70a6756ce66cd6fe8486c775b30889f0dc4cb20c157aa8c35b45fd7868255c5c"},
+ {file = "coverage-7.6.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3c2e6fa98032fec8282f6b27e3f3986c6e05702828380618776ad794e938f53a"},
+ {file = "coverage-7.6.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:921fbe13492caf6a69528f09d5d7c7d518c8d0e7b9f6701b7719715f29a71e6e"},
+ {file = "coverage-7.6.3-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:6d99198203f0b9cb0b5d1c0393859555bc26b548223a769baf7e321a627ed4fc"},
+ {file = "coverage-7.6.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:87cd2e29067ea397a47e352efb13f976eb1b03e18c999270bb50589323294c6e"},
+ {file = "coverage-7.6.3-cp310-cp310-win32.whl", hash = "sha256:a3328c3e64ea4ab12b85999eb0779e6139295bbf5485f69d42cf794309e3d007"},
+ {file = "coverage-7.6.3-cp310-cp310-win_amd64.whl", hash = "sha256:bca4c8abc50d38f9773c1ec80d43f3768df2e8576807d1656016b9d3eeaa96fd"},
+ {file = "coverage-7.6.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c51ef82302386d686feea1c44dbeef744585da16fcf97deea2a8d6c1556f519b"},
+ {file = "coverage-7.6.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:0ca37993206402c6c35dc717f90d4c8f53568a8b80f0bf1a1b2b334f4d488fba"},
+ {file = "coverage-7.6.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c77326300b839c44c3e5a8fe26c15b7e87b2f32dfd2fc9fee1d13604347c9b38"},
+ {file = "coverage-7.6.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6e484e479860e00da1f005cd19d1c5d4a813324e5951319ac3f3eefb497cc549"},
+ {file = "coverage-7.6.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0c6c0f4d53ef603397fc894a895b960ecd7d44c727df42a8d500031716d4e8d2"},
+ {file = "coverage-7.6.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:37be7b5ea3ff5b7c4a9db16074dc94523b5f10dd1f3b362a827af66a55198175"},
+ {file = "coverage-7.6.3-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:43b32a06c47539fe275106b376658638b418c7cfdfff0e0259fbf877e845f14b"},
+ {file = "coverage-7.6.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ee77c7bef0724165e795b6b7bf9c4c22a9b8468a6bdb9c6b4281293c6b22a90f"},
+ {file = "coverage-7.6.3-cp311-cp311-win32.whl", hash = "sha256:43517e1f6b19f610a93d8227e47790722c8bf7422e46b365e0469fc3d3563d97"},
+ {file = "coverage-7.6.3-cp311-cp311-win_amd64.whl", hash = "sha256:04f2189716e85ec9192df307f7c255f90e78b6e9863a03223c3b998d24a3c6c6"},
+ {file = "coverage-7.6.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:27bd5f18d8f2879e45724b0ce74f61811639a846ff0e5c0395b7818fae87aec6"},
+ {file = "coverage-7.6.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:d546cfa78844b8b9c1c0533de1851569a13f87449897bbc95d698d1d3cb2a30f"},
+ {file = "coverage-7.6.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9975442f2e7a5cfcf87299c26b5a45266ab0696348420049b9b94b2ad3d40234"},
+ {file = "coverage-7.6.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:583049c63106c0555e3ae3931edab5669668bbef84c15861421b94e121878d3f"},
+ {file = "coverage-7.6.3-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2341a78ae3a5ed454d524206a3fcb3cec408c2a0c7c2752cd78b606a2ff15af4"},
+ {file = "coverage-7.6.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a4fb91d5f72b7e06a14ff4ae5be625a81cd7e5f869d7a54578fc271d08d58ae3"},
+ {file = "coverage-7.6.3-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:e279f3db904e3b55f520f11f983cc8dc8a4ce9b65f11692d4718ed021ec58b83"},
+ {file = "coverage-7.6.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:aa23ce39661a3e90eea5f99ec59b763b7d655c2cada10729ed920a38bfc2b167"},
+ {file = "coverage-7.6.3-cp312-cp312-win32.whl", hash = "sha256:52ac29cc72ee7e25ace7807249638f94c9b6a862c56b1df015d2b2e388e51dbd"},
+ {file = "coverage-7.6.3-cp312-cp312-win_amd64.whl", hash = "sha256:40e8b1983080439d4802d80b951f4a93d991ef3261f69e81095a66f86cf3c3c6"},
+ {file = "coverage-7.6.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:9134032f5aa445ae591c2ba6991d10136a1f533b1d2fa8f8c21126468c5025c6"},
+ {file = "coverage-7.6.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:99670790f21a96665a35849990b1df447993880bb6463a0a1d757897f30da929"},
+ {file = "coverage-7.6.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2dc7d6b380ca76f5e817ac9eef0c3686e7834c8346bef30b041a4ad286449990"},
+ {file = "coverage-7.6.3-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f7b26757b22faf88fcf232f5f0e62f6e0fd9e22a8a5d0d5016888cdfe1f6c1c4"},
+ {file = "coverage-7.6.3-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4c59d6a4a4633fad297f943c03d0d2569867bd5372eb5684befdff8df8522e39"},
+ {file = "coverage-7.6.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f263b18692f8ed52c8de7f40a0751e79015983dbd77b16906e5b310a39d3ca21"},
+ {file = "coverage-7.6.3-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:79644f68a6ff23b251cae1c82b01a0b51bc40c8468ca9585c6c4b1aeee570e0b"},
+ {file = "coverage-7.6.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:71967c35828c9ff94e8c7d405469a1fb68257f686bca7c1ed85ed34e7c2529c4"},
+ {file = "coverage-7.6.3-cp313-cp313-win32.whl", hash = "sha256:e266af4da2c1a4cbc6135a570c64577fd3e6eb204607eaff99d8e9b710003c6f"},
+ {file = "coverage-7.6.3-cp313-cp313-win_amd64.whl", hash = "sha256:ea52bd218d4ba260399a8ae4bb6b577d82adfc4518b93566ce1fddd4a49d1dce"},
+ {file = "coverage-7.6.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:8d4c6ea0f498c7c79111033a290d060c517853a7bcb2f46516f591dab628ddd3"},
+ {file = "coverage-7.6.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:331b200ad03dbaa44151d74daeb7da2cf382db424ab923574f6ecca7d3b30de3"},
+ {file = "coverage-7.6.3-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:54356a76b67cf8a3085818026bb556545ebb8353951923b88292556dfa9f812d"},
+ {file = "coverage-7.6.3-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ebec65f5068e7df2d49466aab9128510c4867e532e07cb6960075b27658dca38"},
+ {file = "coverage-7.6.3-cp313-cp313t-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d33a785ea8354c480515e781554d3be582a86297e41ccbea627a5c632647f2cd"},
+ {file = "coverage-7.6.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:f7ddb920106bbbbcaf2a274d56f46956bf56ecbde210d88061824a95bdd94e92"},
+ {file = "coverage-7.6.3-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:70d24936ca6c15a3bbc91ee9c7fc661132c6f4c9d42a23b31b6686c05073bde5"},
+ {file = "coverage-7.6.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:c30e42ea11badb147f0d2e387115b15e2bd8205a5ad70d6ad79cf37f6ac08c91"},
+ {file = "coverage-7.6.3-cp313-cp313t-win32.whl", hash = "sha256:365defc257c687ce3e7d275f39738dcd230777424117a6c76043459db131dd43"},
+ {file = "coverage-7.6.3-cp313-cp313t-win_amd64.whl", hash = "sha256:23bb63ae3f4c645d2d82fa22697364b0046fbafb6261b258a58587441c5f7bd0"},
+ {file = "coverage-7.6.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:da29ceabe3025a1e5a5aeeb331c5b1af686daab4ff0fb4f83df18b1180ea83e2"},
+ {file = "coverage-7.6.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:df8c05a0f574d480947cba11b947dc41b1265d721c3777881da2fb8d3a1ddfba"},
+ {file = "coverage-7.6.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ec1e3b40b82236d100d259854840555469fad4db64f669ab817279eb95cd535c"},
+ {file = "coverage-7.6.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b4adeb878a374126f1e5cf03b87f66279f479e01af0e9a654cf6d1509af46c40"},
+ {file = "coverage-7.6.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:43d6a66e33b1455b98fc7312b124296dad97a2e191c80320587234a77b1b736e"},
+ {file = "coverage-7.6.3-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:1990b1f4e2c402beb317840030bb9f1b6a363f86e14e21b4212e618acdfce7f6"},
+ {file = "coverage-7.6.3-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:12f9515d875859faedb4144fd38694a761cd2a61ef9603bf887b13956d0bbfbb"},
+ {file = "coverage-7.6.3-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:99ded130555c021d99729fabd4ddb91a6f4cc0707df4b1daf912c7850c373b13"},
+ {file = "coverage-7.6.3-cp39-cp39-win32.whl", hash = "sha256:c3a79f56dee9136084cf84a6c7c4341427ef36e05ae6415bf7d787c96ff5eaa3"},
+ {file = "coverage-7.6.3-cp39-cp39-win_amd64.whl", hash = "sha256:aac7501ae73d4a02f4b7ac8fcb9dc55342ca98ffb9ed9f2dfb8a25d53eda0e4d"},
+ {file = "coverage-7.6.3-pp39.pp310-none-any.whl", hash = "sha256:b9853509b4bf57ba7b1f99b9d866c422c9c5248799ab20e652bbb8a184a38181"},
+ {file = "coverage-7.6.3.tar.gz", hash = "sha256:bb7d5fe92bd0dc235f63ebe9f8c6e0884f7360f88f3411bfed1350c872ef2054"},
]
[package.dependencies]
@@ -113,24 +123,24 @@ toml = ["tomli"]
[[package]]
name = "distlib"
-version = "0.3.8"
+version = "0.3.9"
description = "Distribution utilities"
optional = false
python-versions = "*"
files = [
- {file = "distlib-0.3.8-py2.py3-none-any.whl", hash = "sha256:034db59a0b96f8ca18035f36290806a9a6e6bd9d1ff91e45a7f172eb17e51784"},
- {file = "distlib-0.3.8.tar.gz", hash = "sha256:1530ea13e350031b6312d8580ddb6b27a104275a31106523b8f123787f494f64"},
+ {file = "distlib-0.3.9-py2.py3-none-any.whl", hash = "sha256:47f8c22fd27c27e25a65601af709b38e4f0a45ea4fc2e710f65755fa8caaaf87"},
+ {file = "distlib-0.3.9.tar.gz", hash = "sha256:a60f20dea646b8a33f3e7772f74dc0b2d0772d2837ee1342a00645c81edf9403"},
]
[[package]]
name = "exceptiongroup"
-version = "1.2.1"
+version = "1.2.2"
description = "Backport of PEP 654 (exception groups)"
optional = false
python-versions = ">=3.7"
files = [
- {file = "exceptiongroup-1.2.1-py3-none-any.whl", hash = "sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad"},
- {file = "exceptiongroup-1.2.1.tar.gz", hash = "sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16"},
+ {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"},
+ {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"},
]
[package.extras]
@@ -138,29 +148,29 @@ test = ["pytest (>=6)"]
[[package]]
name = "filelock"
-version = "3.15.4"
+version = "3.16.1"
description = "A platform independent file lock."
optional = false
python-versions = ">=3.8"
files = [
- {file = "filelock-3.15.4-py3-none-any.whl", hash = "sha256:6ca1fffae96225dab4c6eaf1c4f4f28cd2568d3ec2a44e15a08520504de468e7"},
- {file = "filelock-3.15.4.tar.gz", hash = "sha256:2207938cbc1844345cb01a5a95524dae30f0ce089eba5b00378295a17e3e90cb"},
+ {file = "filelock-3.16.1-py3-none-any.whl", hash = "sha256:2082e5703d51fbf98ea75855d9d5527e33d8ff23099bec374a134febee6946b0"},
+ {file = "filelock-3.16.1.tar.gz", hash = "sha256:c249fbfcd5db47e5e2d6d62198e565475ee65e4831e2561c8e313fa7eb961435"},
]
[package.extras]
-docs = ["furo (>=2023.9.10)", "sphinx (>=7.2.6)", "sphinx-autodoc-typehints (>=1.25.2)"]
-testing = ["covdefaults (>=2.3)", "coverage (>=7.3.2)", "diff-cover (>=8.0.1)", "pytest (>=7.4.3)", "pytest-asyncio (>=0.21)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)", "pytest-timeout (>=2.2)", "virtualenv (>=20.26.2)"]
-typing = ["typing-extensions (>=4.8)"]
+docs = ["furo (>=2024.8.6)", "sphinx (>=8.0.2)", "sphinx-autodoc-typehints (>=2.4.1)"]
+testing = ["covdefaults (>=2.3)", "coverage (>=7.6.1)", "diff-cover (>=9.2)", "pytest (>=8.3.3)", "pytest-asyncio (>=0.24)", "pytest-cov (>=5)", "pytest-mock (>=3.14)", "pytest-timeout (>=2.3.1)", "virtualenv (>=20.26.4)"]
+typing = ["typing-extensions (>=4.12.2)"]
[[package]]
name = "identify"
-version = "2.5.36"
+version = "2.6.1"
description = "File identification library for Python"
optional = false
python-versions = ">=3.8"
files = [
- {file = "identify-2.5.36-py2.py3-none-any.whl", hash = "sha256:37d93f380f4de590500d9dba7db359d0d3da95ffe7f9de1753faa159e71e7dfa"},
- {file = "identify-2.5.36.tar.gz", hash = "sha256:e5e00f54165f9047fbebeb4a560f9acfb8af4c88232be60a488e9b68d122745d"},
+ {file = "identify-2.6.1-py2.py3-none-any.whl", hash = "sha256:53863bcac7caf8d2ed85bd20312ea5dcfc22226800f6d6881f232d861db5a8f0"},
+ {file = "identify-2.6.1.tar.gz", hash = "sha256:91478c5fb7c3aac5ff7bf9b4344f803843dc586832d5f110d672b19aa1984c98"},
]
[package.extras]
@@ -196,71 +206,72 @@ i18n = ["Babel (>=2.7)"]
[[package]]
name = "markupsafe"
-version = "2.1.5"
+version = "3.0.2"
description = "Safely add untrusted strings to HTML/XML markup."
optional = false
-python-versions = ">=3.7"
+python-versions = ">=3.9"
files = [
- {file = "MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a17a92de5231666cfbe003f0e4b9b3a7ae3afb1ec2845aadc2bacc93ff85febc"},
- {file = "MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:72b6be590cc35924b02c78ef34b467da4ba07e4e0f0454a2c5907f473fc50ce5"},
- {file = "MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e61659ba32cf2cf1481e575d0462554625196a1f2fc06a1c777d3f48e8865d46"},
- {file = "MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2174c595a0d73a3080ca3257b40096db99799265e1c27cc5a610743acd86d62f"},
- {file = "MarkupSafe-2.1.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ae2ad8ae6ebee9d2d94b17fb62763125f3f374c25618198f40cbb8b525411900"},
- {file = "MarkupSafe-2.1.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:075202fa5b72c86ad32dc7d0b56024ebdbcf2048c0ba09f1cde31bfdd57bcfff"},
- {file = "MarkupSafe-2.1.5-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:598e3276b64aff0e7b3451b72e94fa3c238d452e7ddcd893c3ab324717456bad"},
- {file = "MarkupSafe-2.1.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:fce659a462a1be54d2ffcacea5e3ba2d74daa74f30f5f143fe0c58636e355fdd"},
- {file = "MarkupSafe-2.1.5-cp310-cp310-win32.whl", hash = "sha256:d9fad5155d72433c921b782e58892377c44bd6252b5af2f67f16b194987338a4"},
- {file = "MarkupSafe-2.1.5-cp310-cp310-win_amd64.whl", hash = "sha256:bf50cd79a75d181c9181df03572cdce0fbb75cc353bc350712073108cba98de5"},
- {file = "MarkupSafe-2.1.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:629ddd2ca402ae6dbedfceeba9c46d5f7b2a61d9749597d4307f943ef198fc1f"},
- {file = "MarkupSafe-2.1.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:5b7b716f97b52c5a14bffdf688f971b2d5ef4029127f1ad7a513973cfd818df2"},
- {file = "MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6ec585f69cec0aa07d945b20805be741395e28ac1627333b1c5b0105962ffced"},
- {file = "MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b91c037585eba9095565a3556f611e3cbfaa42ca1e865f7b8015fe5c7336d5a5"},
- {file = "MarkupSafe-2.1.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7502934a33b54030eaf1194c21c692a534196063db72176b0c4028e140f8f32c"},
- {file = "MarkupSafe-2.1.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:0e397ac966fdf721b2c528cf028494e86172b4feba51d65f81ffd65c63798f3f"},
- {file = "MarkupSafe-2.1.5-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:c061bb86a71b42465156a3ee7bd58c8c2ceacdbeb95d05a99893e08b8467359a"},
- {file = "MarkupSafe-2.1.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:3a57fdd7ce31c7ff06cdfbf31dafa96cc533c21e443d57f5b1ecc6cdc668ec7f"},
- {file = "MarkupSafe-2.1.5-cp311-cp311-win32.whl", hash = "sha256:397081c1a0bfb5124355710fe79478cdbeb39626492b15d399526ae53422b906"},
- {file = "MarkupSafe-2.1.5-cp311-cp311-win_amd64.whl", hash = "sha256:2b7c57a4dfc4f16f7142221afe5ba4e093e09e728ca65c51f5620c9aaeb9a617"},
- {file = "MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:8dec4936e9c3100156f8a2dc89c4b88d5c435175ff03413b443469c7c8c5f4d1"},
- {file = "MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:3c6b973f22eb18a789b1460b4b91bf04ae3f0c4234a0a6aa6b0a92f6f7b951d4"},
- {file = "MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ac07bad82163452a6884fe8fa0963fb98c2346ba78d779ec06bd7a6262132aee"},
- {file = "MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f5dfb42c4604dddc8e4305050aa6deb084540643ed5804d7455b5df8fe16f5e5"},
- {file = "MarkupSafe-2.1.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ea3d8a3d18833cf4304cd2fc9cbb1efe188ca9b5efef2bdac7adc20594a0e46b"},
- {file = "MarkupSafe-2.1.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:d050b3361367a06d752db6ead6e7edeb0009be66bc3bae0ee9d97fb326badc2a"},
- {file = "MarkupSafe-2.1.5-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:bec0a414d016ac1a18862a519e54b2fd0fc8bbfd6890376898a6c0891dd82e9f"},
- {file = "MarkupSafe-2.1.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:58c98fee265677f63a4385256a6d7683ab1832f3ddd1e66fe948d5880c21a169"},
- {file = "MarkupSafe-2.1.5-cp312-cp312-win32.whl", hash = "sha256:8590b4ae07a35970728874632fed7bd57b26b0102df2d2b233b6d9d82f6c62ad"},
- {file = "MarkupSafe-2.1.5-cp312-cp312-win_amd64.whl", hash = "sha256:823b65d8706e32ad2df51ed89496147a42a2a6e01c13cfb6ffb8b1e92bc910bb"},
- {file = "MarkupSafe-2.1.5-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:c8b29db45f8fe46ad280a7294f5c3ec36dbac9491f2d1c17345be8e69cc5928f"},
- {file = "MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ec6a563cff360b50eed26f13adc43e61bc0c04d94b8be985e6fb24b81f6dcfdf"},
- {file = "MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a549b9c31bec33820e885335b451286e2969a2d9e24879f83fe904a5ce59d70a"},
- {file = "MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4f11aa001c540f62c6166c7726f71f7573b52c68c31f014c25cc7901deea0b52"},
- {file = "MarkupSafe-2.1.5-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:7b2e5a267c855eea6b4283940daa6e88a285f5f2a67f2220203786dfa59b37e9"},
- {file = "MarkupSafe-2.1.5-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:2d2d793e36e230fd32babe143b04cec8a8b3eb8a3122d2aceb4a371e6b09b8df"},
- {file = "MarkupSafe-2.1.5-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:ce409136744f6521e39fd8e2a24c53fa18ad67aa5bc7c2cf83645cce5b5c4e50"},
- {file = "MarkupSafe-2.1.5-cp37-cp37m-win32.whl", hash = "sha256:4096e9de5c6fdf43fb4f04c26fb114f61ef0bf2e5604b6ee3019d51b69e8c371"},
- {file = "MarkupSafe-2.1.5-cp37-cp37m-win_amd64.whl", hash = "sha256:4275d846e41ecefa46e2015117a9f491e57a71ddd59bbead77e904dc02b1bed2"},
- {file = "MarkupSafe-2.1.5-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:656f7526c69fac7f600bd1f400991cc282b417d17539a1b228617081106feb4a"},
- {file = "MarkupSafe-2.1.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:97cafb1f3cbcd3fd2b6fbfb99ae11cdb14deea0736fc2b0952ee177f2b813a46"},
- {file = "MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f3fbcb7ef1f16e48246f704ab79d79da8a46891e2da03f8783a5b6fa41a9532"},
- {file = "MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fa9db3f79de01457b03d4f01b34cf91bc0048eb2c3846ff26f66687c2f6d16ab"},
- {file = "MarkupSafe-2.1.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ffee1f21e5ef0d712f9033568f8344d5da8cc2869dbd08d87c84656e6a2d2f68"},
- {file = "MarkupSafe-2.1.5-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:5dedb4db619ba5a2787a94d877bc8ffc0566f92a01c0ef214865e54ecc9ee5e0"},
- {file = "MarkupSafe-2.1.5-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:30b600cf0a7ac9234b2638fbc0fb6158ba5bdcdf46aeb631ead21248b9affbc4"},
- {file = "MarkupSafe-2.1.5-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:8dd717634f5a044f860435c1d8c16a270ddf0ef8588d4887037c5028b859b0c3"},
- {file = "MarkupSafe-2.1.5-cp38-cp38-win32.whl", hash = "sha256:daa4ee5a243f0f20d528d939d06670a298dd39b1ad5f8a72a4275124a7819eff"},
- {file = "MarkupSafe-2.1.5-cp38-cp38-win_amd64.whl", hash = "sha256:619bc166c4f2de5caa5a633b8b7326fbe98e0ccbfacabd87268a2b15ff73a029"},
- {file = "MarkupSafe-2.1.5-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:7a68b554d356a91cce1236aa7682dc01df0edba8d043fd1ce607c49dd3c1edcf"},
- {file = "MarkupSafe-2.1.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:db0b55e0f3cc0be60c1f19efdde9a637c32740486004f20d1cff53c3c0ece4d2"},
- {file = "MarkupSafe-2.1.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3e53af139f8579a6d5f7b76549125f0d94d7e630761a2111bc431fd820e163b8"},
- {file = "MarkupSafe-2.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:17b950fccb810b3293638215058e432159d2b71005c74371d784862b7e4683f3"},
- {file = "MarkupSafe-2.1.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4c31f53cdae6ecfa91a77820e8b151dba54ab528ba65dfd235c80b086d68a465"},
- {file = "MarkupSafe-2.1.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:bff1b4290a66b490a2f4719358c0cdcd9bafb6b8f061e45c7a2460866bf50c2e"},
- {file = "MarkupSafe-2.1.5-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:bc1667f8b83f48511b94671e0e441401371dfd0f0a795c7daa4a3cd1dde55bea"},
- {file = "MarkupSafe-2.1.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5049256f536511ee3f7e1b3f87d1d1209d327e818e6ae1365e8653d7e3abb6a6"},
- {file = "MarkupSafe-2.1.5-cp39-cp39-win32.whl", hash = "sha256:00e046b6dd71aa03a41079792f8473dc494d564611a8f89bbbd7cb93295ebdcf"},
- {file = "MarkupSafe-2.1.5-cp39-cp39-win_amd64.whl", hash = "sha256:fa173ec60341d6bb97a89f5ea19c85c5643c1e7dedebc22f5181eb73573142c5"},
- {file = "MarkupSafe-2.1.5.tar.gz", hash = "sha256:d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b"},
+ {file = "MarkupSafe-3.0.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:7e94c425039cde14257288fd61dcfb01963e658efbc0ff54f5306b06054700f8"},
+ {file = "MarkupSafe-3.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9e2d922824181480953426608b81967de705c3cef4d1af983af849d7bd619158"},
+ {file = "MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:38a9ef736c01fccdd6600705b09dc574584b89bea478200c5fbf112a6b0d5579"},
+ {file = "MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bbcb445fa71794da8f178f0f6d66789a28d7319071af7a496d4d507ed566270d"},
+ {file = "MarkupSafe-3.0.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:57cb5a3cf367aeb1d316576250f65edec5bb3be939e9247ae594b4bcbc317dfb"},
+ {file = "MarkupSafe-3.0.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:3809ede931876f5b2ec92eef964286840ed3540dadf803dd570c3b7e13141a3b"},
+ {file = "MarkupSafe-3.0.2-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:e07c3764494e3776c602c1e78e298937c3315ccc9043ead7e685b7f2b8d47b3c"},
+ {file = "MarkupSafe-3.0.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:b424c77b206d63d500bcb69fa55ed8d0e6a3774056bdc4839fc9298a7edca171"},
+ {file = "MarkupSafe-3.0.2-cp310-cp310-win32.whl", hash = "sha256:fcabf5ff6eea076f859677f5f0b6b5c1a51e70a376b0579e0eadef8db48c6b50"},
+ {file = "MarkupSafe-3.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:6af100e168aa82a50e186c82875a5893c5597a0c1ccdb0d8b40240b1f28b969a"},
+ {file = "MarkupSafe-3.0.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:9025b4018f3a1314059769c7bf15441064b2207cb3f065e6ea1e7359cb46db9d"},
+ {file = "MarkupSafe-3.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:93335ca3812df2f366e80509ae119189886b0f3c2b81325d39efdb84a1e2ae93"},
+ {file = "MarkupSafe-3.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2cb8438c3cbb25e220c2ab33bb226559e7afb3baec11c4f218ffa7308603c832"},
+ {file = "MarkupSafe-3.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a123e330ef0853c6e822384873bef7507557d8e4a082961e1defa947aa59ba84"},
+ {file = "MarkupSafe-3.0.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1e084f686b92e5b83186b07e8a17fc09e38fff551f3602b249881fec658d3eca"},
+ {file = "MarkupSafe-3.0.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d8213e09c917a951de9d09ecee036d5c7d36cb6cb7dbaece4c71a60d79fb9798"},
+ {file = "MarkupSafe-3.0.2-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:5b02fb34468b6aaa40dfc198d813a641e3a63b98c2b05a16b9f80b7ec314185e"},
+ {file = "MarkupSafe-3.0.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:0bff5e0ae4ef2e1ae4fdf2dfd5b76c75e5c2fa4132d05fc1b0dabcd20c7e28c4"},
+ {file = "MarkupSafe-3.0.2-cp311-cp311-win32.whl", hash = "sha256:6c89876f41da747c8d3677a2b540fb32ef5715f97b66eeb0c6b66f5e3ef6f59d"},
+ {file = "MarkupSafe-3.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:70a87b411535ccad5ef2f1df5136506a10775d267e197e4cf531ced10537bd6b"},
+ {file = "MarkupSafe-3.0.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:9778bd8ab0a994ebf6f84c2b949e65736d5575320a17ae8984a77fab08db94cf"},
+ {file = "MarkupSafe-3.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:846ade7b71e3536c4e56b386c2a47adf5741d2d8b94ec9dc3e92e5e1ee1e2225"},
+ {file = "MarkupSafe-3.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1c99d261bd2d5f6b59325c92c73df481e05e57f19837bdca8413b9eac4bd8028"},
+ {file = "MarkupSafe-3.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e17c96c14e19278594aa4841ec148115f9c7615a47382ecb6b82bd8fea3ab0c8"},
+ {file = "MarkupSafe-3.0.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:88416bd1e65dcea10bc7569faacb2c20ce071dd1f87539ca2ab364bf6231393c"},
+ {file = "MarkupSafe-3.0.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2181e67807fc2fa785d0592dc2d6206c019b9502410671cc905d132a92866557"},
+ {file = "MarkupSafe-3.0.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:52305740fe773d09cffb16f8ed0427942901f00adedac82ec8b67752f58a1b22"},
+ {file = "MarkupSafe-3.0.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:ad10d3ded218f1039f11a75f8091880239651b52e9bb592ca27de44eed242a48"},
+ {file = "MarkupSafe-3.0.2-cp312-cp312-win32.whl", hash = "sha256:0f4ca02bea9a23221c0182836703cbf8930c5e9454bacce27e767509fa286a30"},
+ {file = "MarkupSafe-3.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:8e06879fc22a25ca47312fbe7c8264eb0b662f6db27cb2d3bbbc74b1df4b9b87"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:ba9527cdd4c926ed0760bc301f6728ef34d841f405abf9d4f959c478421e4efd"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f8b3d067f2e40fe93e1ccdd6b2e1d16c43140e76f02fb1319a05cf2b79d99430"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:569511d3b58c8791ab4c2e1285575265991e6d8f8700c7be0e88f86cb0672094"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:15ab75ef81add55874e7ab7055e9c397312385bd9ced94920f2802310c930396"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f3818cb119498c0678015754eba762e0d61e5b52d34c8b13d770f0719f7b1d79"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:cdb82a876c47801bb54a690c5ae105a46b392ac6099881cdfb9f6e95e4014c6a"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:cabc348d87e913db6ab4aa100f01b08f481097838bdddf7c7a84b7575b7309ca"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:444dcda765c8a838eaae23112db52f1efaf750daddb2d9ca300bcae1039adc5c"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313-win32.whl", hash = "sha256:bcf3e58998965654fdaff38e58584d8937aa3096ab5354d493c77d1fdd66d7a1"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313-win_amd64.whl", hash = "sha256:e6a2a455bd412959b57a172ce6328d2dd1f01cb2135efda2e4576e8a23fa3b0f"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:b5a6b3ada725cea8a5e634536b1b01c30bcdcd7f9c6fff4151548d5bf6b3a36c"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:a904af0a6162c73e3edcb969eeeb53a63ceeb5d8cf642fade7d39e7963a22ddb"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4aa4e5faecf353ed117801a068ebab7b7e09ffb6e1d5e412dc852e0da018126c"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c0ef13eaeee5b615fb07c9a7dadb38eac06a0608b41570d8ade51c56539e509d"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d16a81a06776313e817c951135cf7340a3e91e8c1ff2fac444cfd75fffa04afe"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:6381026f158fdb7c72a168278597a5e3a5222e83ea18f543112b2662a9b699c5"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:3d79d162e7be8f996986c064d1c7c817f6df3a77fe3d6859f6f9e7be4b8c213a"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:131a3c7689c85f5ad20f9f6fb1b866f402c445b220c19fe4308c0b147ccd2ad9"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313t-win32.whl", hash = "sha256:ba8062ed2cf21c07a9e295d5b8a2a5ce678b913b45fdf68c32d95d6c1291e0b6"},
+ {file = "MarkupSafe-3.0.2-cp313-cp313t-win_amd64.whl", hash = "sha256:e444a31f8db13eb18ada366ab3cf45fd4b31e4db1236a4448f68778c1d1a5a2f"},
+ {file = "MarkupSafe-3.0.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:eaa0a10b7f72326f1372a713e73c3f739b524b3af41feb43e4921cb529f5929a"},
+ {file = "MarkupSafe-3.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:48032821bbdf20f5799ff537c7ac3d1fba0ba032cfc06194faffa8cda8b560ff"},
+ {file = "MarkupSafe-3.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1a9d3f5f0901fdec14d8d2f66ef7d035f2157240a433441719ac9a3fba440b13"},
+ {file = "MarkupSafe-3.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:88b49a3b9ff31e19998750c38e030fc7bb937398b1f78cfa599aaef92d693144"},
+ {file = "MarkupSafe-3.0.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cfad01eed2c2e0c01fd0ecd2ef42c492f7f93902e39a42fc9ee1692961443a29"},
+ {file = "MarkupSafe-3.0.2-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:1225beacc926f536dc82e45f8a4d68502949dc67eea90eab715dea3a21c1b5f0"},
+ {file = "MarkupSafe-3.0.2-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:3169b1eefae027567d1ce6ee7cae382c57fe26e82775f460f0b2778beaad66c0"},
+ {file = "MarkupSafe-3.0.2-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:eb7972a85c54febfb25b5c4b4f3af4dcc731994c7da0d8a0b4a6eb0640e1d178"},
+ {file = "MarkupSafe-3.0.2-cp39-cp39-win32.whl", hash = "sha256:8c4e8c3ce11e1f92f6536ff07154f9d49677ebaaafc32db9db4620bc11ed480f"},
+ {file = "MarkupSafe-3.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:6e296a513ca3d94054c2c881cc913116e90fd030ad1c656b3869762b754f5f8a"},
+ {file = "markupsafe-3.0.2.tar.gz", hash = "sha256:ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0"},
]
[[package]]
@@ -287,19 +298,19 @@ files = [
[[package]]
name = "platformdirs"
-version = "4.2.2"
+version = "4.3.6"
description = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`."
optional = false
python-versions = ">=3.8"
files = [
- {file = "platformdirs-4.2.2-py3-none-any.whl", hash = "sha256:2d7a1657e36a80ea911db832a8a6ece5ee53d8de21edd5cc5879af6530b1bfee"},
- {file = "platformdirs-4.2.2.tar.gz", hash = "sha256:38b7b51f512eed9e84a22788b4bce1de17c0adb134d6becb09836e37d8654cd3"},
+ {file = "platformdirs-4.3.6-py3-none-any.whl", hash = "sha256:73e575e1408ab8103900836b97580d5307456908a03e92031bab39e4554cc3fb"},
+ {file = "platformdirs-4.3.6.tar.gz", hash = "sha256:357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907"},
]
[package.extras]
-docs = ["furo (>=2023.9.10)", "proselint (>=0.13)", "sphinx (>=7.2.6)", "sphinx-autodoc-typehints (>=1.25.2)"]
-test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.4.3)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)"]
-type = ["mypy (>=1.8)"]
+docs = ["furo (>=2024.8.6)", "proselint (>=0.14)", "sphinx (>=8.0.2)", "sphinx-autodoc-typehints (>=2.4)"]
+test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=8.3.2)", "pytest-cov (>=5)", "pytest-mock (>=3.14)"]
+type = ["mypy (>=1.11.2)"]
[[package]]
name = "pluggy"
@@ -318,13 +329,13 @@ testing = ["pytest", "pytest-benchmark"]
[[package]]
name = "pre-commit"
-version = "3.7.1"
+version = "4.0.1"
description = "A framework for managing and maintaining multi-language pre-commit hooks."
optional = false
python-versions = ">=3.9"
files = [
- {file = "pre_commit-3.7.1-py2.py3-none-any.whl", hash = "sha256:fae36fd1d7ad7d6a5a1c0b0d5adb2ed1a3bda5a21bf6c3e5372073d7a11cd4c5"},
- {file = "pre_commit-3.7.1.tar.gz", hash = "sha256:8ca3ad567bc78a4972a3f1a477e94a79d4597e8140a6e0b651c5e33899c3654a"},
+ {file = "pre_commit-4.0.1-py2.py3-none-any.whl", hash = "sha256:efde913840816312445dc98787724647c65473daefe420785f885e8ed9a06878"},
+ {file = "pre_commit-4.0.1.tar.gz", hash = "sha256:80905ac375958c0444c65e9cebebd948b3cdb518f335a091a670a89d652139d2"},
]
[package.dependencies]
@@ -336,13 +347,13 @@ virtualenv = ">=20.10.0"
[[package]]
name = "pyproject-api"
-version = "1.7.1"
+version = "1.8.0"
description = "API to interact with the python pyproject.toml based projects"
optional = false
python-versions = ">=3.8"
files = [
- {file = "pyproject_api-1.7.1-py3-none-any.whl", hash = "sha256:2dc1654062c2b27733d8fd4cdda672b22fe8741ef1dde8e3a998a9547b071eeb"},
- {file = "pyproject_api-1.7.1.tar.gz", hash = "sha256:7ebc6cd10710f89f4cf2a2731710a98abce37ebff19427116ff2174c9236a827"},
+ {file = "pyproject_api-1.8.0-py3-none-any.whl", hash = "sha256:3d7d347a047afe796fd5d1885b1e391ba29be7169bd2f102fcd378f04273d228"},
+ {file = "pyproject_api-1.8.0.tar.gz", hash = "sha256:77b8049f2feb5d33eefcc21b57f1e279636277a8ac8ad6b5871037b243778496"},
]
[package.dependencies]
@@ -350,36 +361,38 @@ packaging = ">=24.1"
tomli = {version = ">=2.0.1", markers = "python_version < \"3.11\""}
[package.extras]
-docs = ["furo (>=2024.5.6)", "sphinx-autodoc-typehints (>=2.2.1)"]
-testing = ["covdefaults (>=2.3)", "pytest (>=8.2.2)", "pytest-cov (>=5)", "pytest-mock (>=3.14)", "setuptools (>=70.1)"]
+docs = ["furo (>=2024.8.6)", "sphinx-autodoc-typehints (>=2.4.1)"]
+testing = ["covdefaults (>=2.3)", "pytest (>=8.3.3)", "pytest-cov (>=5)", "pytest-mock (>=3.14)", "setuptools (>=75.1)"]
[[package]]
name = "pyright"
-version = "1.1.377"
+version = "1.1.385"
description = "Command line wrapper for pyright"
optional = false
python-versions = ">=3.7"
files = [
- {file = "pyright-1.1.377-py3-none-any.whl", hash = "sha256:af0dd2b6b636c383a6569a083f8c5a8748ae4dcde5df7914b3f3f267e14dd162"},
- {file = "pyright-1.1.377.tar.gz", hash = "sha256:aabc30fedce0ded34baa0c49b24f10e68f4bfc8f68ae7f3d175c4b0f256b4fcf"},
+ {file = "pyright-1.1.385-py3-none-any.whl", hash = "sha256:e5b9a1b8d492e13004d822af94d07d235f2c7c158457293b51ab2214c8c5b375"},
+ {file = "pyright-1.1.385.tar.gz", hash = "sha256:1bf042b8f080441534aa02101dea30f8fc2efa8f7b6f1ab05197c21317f5bfa7"},
]
[package.dependencies]
nodeenv = ">=1.6.0"
+typing-extensions = ">=4.1"
[package.extras]
-all = ["twine (>=3.4.1)"]
+all = ["nodejs-wheel-binaries", "twine (>=3.4.1)"]
dev = ["twine (>=3.4.1)"]
+nodejs = ["nodejs-wheel-binaries"]
[[package]]
name = "pytest"
-version = "8.2.2"
+version = "8.3.3"
description = "pytest: simple powerful testing with Python"
optional = false
python-versions = ">=3.8"
files = [
- {file = "pytest-8.2.2-py3-none-any.whl", hash = "sha256:c434598117762e2bd304e526244f67bf66bbd7b5d6cf22138be51ff661980343"},
- {file = "pytest-8.2.2.tar.gz", hash = "sha256:de4bb8104e201939ccdc688b27a89a7be2079b22e2bd2b07f806b6ba71117977"},
+ {file = "pytest-8.3.3-py3-none-any.whl", hash = "sha256:a6853c7375b2663155079443d2e45de913a911a11d669df02a50814944db57b2"},
+ {file = "pytest-8.3.3.tar.gz", hash = "sha256:70b98107bd648308a7952b06e6ca9a50bc660be218d53c257cc1fc94fda10181"},
]
[package.dependencies]
@@ -387,7 +400,7 @@ colorama = {version = "*", markers = "sys_platform == \"win32\""}
exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""}
iniconfig = "*"
packaging = "*"
-pluggy = ">=1.5,<2.0"
+pluggy = ">=1.5,<2"
tomli = {version = ">=1", markers = "python_version < \"3.11\""}
[package.extras]
@@ -413,128 +426,127 @@ testing = ["fields", "hunter", "process-tests", "pytest-xdist", "virtualenv"]
[[package]]
name = "pyyaml"
-version = "6.0.1"
+version = "6.0.2"
description = "YAML parser and emitter for Python"
optional = false
-python-versions = ">=3.6"
+python-versions = ">=3.8"
files = [
- {file = "PyYAML-6.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d858aa552c999bc8a8d57426ed01e40bef403cd8ccdd0fc5f6f04a00414cac2a"},
- {file = "PyYAML-6.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f"},
- {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"},
- {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"},
- {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"},
- {file = "PyYAML-6.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:326c013efe8048858a6d312ddd31d56e468118ad4cdeda36c719bf5bb6192290"},
- {file = "PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"},
- {file = "PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"},
- {file = "PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"},
- {file = "PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f003ed9ad21d6a4713f0a9b5a7a0a79e08dd0f221aff4525a2be4c346ee60aab"},
- {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"},
- {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"},
- {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"},
- {file = "PyYAML-6.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e7d73685e87afe9f3b36c799222440d6cf362062f78be1013661b00c5c6f678b"},
- {file = "PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"},
- {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"},
- {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"},
- {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"},
- {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a08c6f0fe150303c1c6b71ebcd7213c2858041a7e01975da3a99aed1e7a378ef"},
- {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"},
- {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"},
- {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"},
- {file = "PyYAML-6.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:0d3304d8c0adc42be59c5f8a4d9e3d7379e6955ad754aa9d6ab7a398b59dd1df"},
- {file = "PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"},
- {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"},
- {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"},
- {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afd7e57eddb1a54f0f1a974bc4391af8bcce0b444685d936840f125cf046d5bd"},
- {file = "PyYAML-6.0.1-cp36-cp36m-win32.whl", hash = "sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585"},
- {file = "PyYAML-6.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:f22ac1c3cac4dbc50079e965eba2c1058622631e526bd9afd45fedd49ba781fa"},
- {file = "PyYAML-6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3"},
- {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27"},
- {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3"},
- {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c"},
- {file = "PyYAML-6.0.1-cp37-cp37m-win32.whl", hash = "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba"},
- {file = "PyYAML-6.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867"},
- {file = "PyYAML-6.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595"},
- {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"},
- {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"},
- {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"},
- {file = "PyYAML-6.0.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:49a183be227561de579b4a36efbb21b3eab9651dd81b1858589f796549873dd6"},
- {file = "PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"},
- {file = "PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"},
- {file = "PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"},
- {file = "PyYAML-6.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859"},
- {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"},
- {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"},
- {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"},
- {file = "PyYAML-6.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5"},
- {file = "PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"},
- {file = "PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"},
- {file = "PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"},
+ {file = "PyYAML-6.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0a9a2848a5b7feac301353437eb7d5957887edbf81d56e903999a75a3d743086"},
+ {file = "PyYAML-6.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:29717114e51c84ddfba879543fb232a6ed60086602313ca38cce623c1d62cfbf"},
+ {file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8824b5a04a04a047e72eea5cec3bc266db09e35de6bdfe34c9436ac5ee27d237"},
+ {file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7c36280e6fb8385e520936c3cb3b8042851904eba0e58d277dca80a5cfed590b"},
+ {file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ec031d5d2feb36d1d1a24380e4db6d43695f3748343d99434e6f5f9156aaa2ed"},
+ {file = "PyYAML-6.0.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:936d68689298c36b53b29f23c6dbb74de12b4ac12ca6cfe0e047bedceea56180"},
+ {file = "PyYAML-6.0.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:23502f431948090f597378482b4812b0caae32c22213aecf3b55325e049a6c68"},
+ {file = "PyYAML-6.0.2-cp310-cp310-win32.whl", hash = "sha256:2e99c6826ffa974fe6e27cdb5ed0021786b03fc98e5ee3c5bfe1fd5015f42b99"},
+ {file = "PyYAML-6.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:a4d3091415f010369ae4ed1fc6b79def9416358877534caf6a0fdd2146c87a3e"},
+ {file = "PyYAML-6.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cc1c1159b3d456576af7a3e4d1ba7e6924cb39de8f67111c735f6fc832082774"},
+ {file = "PyYAML-6.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1e2120ef853f59c7419231f3bf4e7021f1b936f6ebd222406c3b60212205d2ee"},
+ {file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5d225db5a45f21e78dd9358e58a98702a0302f2659a3c6cd320564b75b86f47c"},
+ {file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5ac9328ec4831237bec75defaf839f7d4564be1e6b25ac710bd1a96321cc8317"},
+ {file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ad2a3decf9aaba3d29c8f537ac4b243e36bef957511b4766cb0057d32b0be85"},
+ {file = "PyYAML-6.0.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ff3824dc5261f50c9b0dfb3be22b4567a6f938ccce4587b38952d85fd9e9afe4"},
+ {file = "PyYAML-6.0.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:797b4f722ffa07cc8d62053e4cff1486fa6dc094105d13fea7b1de7d8bf71c9e"},
+ {file = "PyYAML-6.0.2-cp311-cp311-win32.whl", hash = "sha256:11d8f3dd2b9c1207dcaf2ee0bbbfd5991f571186ec9cc78427ba5bd32afae4b5"},
+ {file = "PyYAML-6.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:e10ce637b18caea04431ce14fabcf5c64a1c61ec9c56b071a4b7ca131ca52d44"},
+ {file = "PyYAML-6.0.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:c70c95198c015b85feafc136515252a261a84561b7b1d51e3384e0655ddf25ab"},
+ {file = "PyYAML-6.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ce826d6ef20b1bc864f0a68340c8b3287705cae2f8b4b1d932177dcc76721725"},
+ {file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f71ea527786de97d1a0cc0eacd1defc0985dcf6b3f17bb77dcfc8c34bec4dc5"},
+ {file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9b22676e8097e9e22e36d6b7bda33190d0d400f345f23d4065d48f4ca7ae0425"},
+ {file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:80bab7bfc629882493af4aa31a4cfa43a4c57c83813253626916b8c7ada83476"},
+ {file = "PyYAML-6.0.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:0833f8694549e586547b576dcfaba4a6b55b9e96098b36cdc7ebefe667dfed48"},
+ {file = "PyYAML-6.0.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8b9c7197f7cb2738065c481a0461e50ad02f18c78cd75775628afb4d7137fb3b"},
+ {file = "PyYAML-6.0.2-cp312-cp312-win32.whl", hash = "sha256:ef6107725bd54b262d6dedcc2af448a266975032bc85ef0172c5f059da6325b4"},
+ {file = "PyYAML-6.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:7e7401d0de89a9a855c839bc697c079a4af81cf878373abd7dc625847d25cbd8"},
+ {file = "PyYAML-6.0.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:efdca5630322a10774e8e98e1af481aad470dd62c3170801852d752aa7a783ba"},
+ {file = "PyYAML-6.0.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:50187695423ffe49e2deacb8cd10510bc361faac997de9efef88badc3bb9e2d1"},
+ {file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0ffe8360bab4910ef1b9e87fb812d8bc0a308b0d0eef8c8f44e0254ab3b07133"},
+ {file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:17e311b6c678207928d649faa7cb0d7b4c26a0ba73d41e99c4fff6b6c3276484"},
+ {file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70b189594dbe54f75ab3a1acec5f1e3faa7e8cf2f1e08d9b561cb41b845f69d5"},
+ {file = "PyYAML-6.0.2-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:41e4e3953a79407c794916fa277a82531dd93aad34e29c2a514c2c0c5fe971cc"},
+ {file = "PyYAML-6.0.2-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:68ccc6023a3400877818152ad9a1033e3db8625d899c72eacb5a668902e4d652"},
+ {file = "PyYAML-6.0.2-cp313-cp313-win32.whl", hash = "sha256:bc2fa7c6b47d6bc618dd7fb02ef6fdedb1090ec036abab80d4681424b84c1183"},
+ {file = "PyYAML-6.0.2-cp313-cp313-win_amd64.whl", hash = "sha256:8388ee1976c416731879ac16da0aff3f63b286ffdd57cdeb95f3f2e085687563"},
+ {file = "PyYAML-6.0.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:24471b829b3bf607e04e88d79542a9d48bb037c2267d7927a874e6c205ca7e9a"},
+ {file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7fded462629cfa4b685c5416b949ebad6cec74af5e2d42905d41e257e0869f5"},
+ {file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d84a1718ee396f54f3a086ea0a66d8e552b2ab2017ef8b420e92edbc841c352d"},
+ {file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9056c1ecd25795207ad294bcf39f2db3d845767be0ea6e6a34d856f006006083"},
+ {file = "PyYAML-6.0.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:82d09873e40955485746739bcb8b4586983670466c23382c19cffecbf1fd8706"},
+ {file = "PyYAML-6.0.2-cp38-cp38-win32.whl", hash = "sha256:43fa96a3ca0d6b1812e01ced1044a003533c47f6ee8aca31724f78e93ccc089a"},
+ {file = "PyYAML-6.0.2-cp38-cp38-win_amd64.whl", hash = "sha256:01179a4a8559ab5de078078f37e5c1a30d76bb88519906844fd7bdea1b7729ff"},
+ {file = "PyYAML-6.0.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:688ba32a1cffef67fd2e9398a2efebaea461578b0923624778664cc1c914db5d"},
+ {file = "PyYAML-6.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a8786accb172bd8afb8be14490a16625cbc387036876ab6ba70912730faf8e1f"},
+ {file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d8e03406cac8513435335dbab54c0d385e4a49e4945d2909a581c83647ca0290"},
+ {file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f753120cb8181e736c57ef7636e83f31b9c0d1722c516f7e86cf15b7aa57ff12"},
+ {file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3b1fdb9dc17f5a7677423d508ab4f243a726dea51fa5e70992e59a7411c89d19"},
+ {file = "PyYAML-6.0.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:0b69e4ce7a131fe56b7e4d770c67429700908fc0752af059838b1cfb41960e4e"},
+ {file = "PyYAML-6.0.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:a9f8c2e67970f13b16084e04f134610fd1d374bf477b17ec1599185cf611d725"},
+ {file = "PyYAML-6.0.2-cp39-cp39-win32.whl", hash = "sha256:6395c297d42274772abc367baaa79683958044e5d3835486c16da75d2a694631"},
+ {file = "PyYAML-6.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:39693e1f8320ae4f43943590b49779ffb98acb81f788220ea932a6b6c51004d8"},
+ {file = "pyyaml-6.0.2.tar.gz", hash = "sha256:d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e"},
]
[[package]]
name = "ruff"
-version = "0.5.0"
+version = "0.7.0"
description = "An extremely fast Python linter and code formatter, written in Rust."
optional = false
python-versions = ">=3.7"
files = [
- {file = "ruff-0.5.0-py3-none-linux_armv6l.whl", hash = "sha256:ee770ea8ab38918f34e7560a597cc0a8c9a193aaa01bfbd879ef43cb06bd9c4c"},
- {file = "ruff-0.5.0-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:38f3b8327b3cb43474559d435f5fa65dacf723351c159ed0dc567f7ab735d1b6"},
- {file = "ruff-0.5.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:7594f8df5404a5c5c8f64b8311169879f6cf42142da644c7e0ba3c3f14130370"},
- {file = "ruff-0.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:adc7012d6ec85032bc4e9065110df205752d64010bed5f958d25dbee9ce35de3"},
- {file = "ruff-0.5.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d505fb93b0fabef974b168d9b27c3960714d2ecda24b6ffa6a87ac432905ea38"},
- {file = "ruff-0.5.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9dc5cfd3558f14513ed0d5b70ce531e28ea81a8a3b1b07f0f48421a3d9e7d80a"},
- {file = "ruff-0.5.0-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:db3ca35265de239a1176d56a464b51557fce41095c37d6c406e658cf80bbb362"},
- {file = "ruff-0.5.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b1a321c4f68809fddd9b282fab6a8d8db796b270fff44722589a8b946925a2a8"},
- {file = "ruff-0.5.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2c4dfcd8d34b143916994b3876b63d53f56724c03f8c1a33a253b7b1e6bf2a7d"},
- {file = "ruff-0.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:81e5facfc9f4a674c6a78c64d38becfbd5e4f739c31fcd9ce44c849f1fad9e4c"},
- {file = "ruff-0.5.0-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:e589e27971c2a3efff3fadafb16e5aef7ff93250f0134ec4b52052b673cf988d"},
- {file = "ruff-0.5.0-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:d2ffbc3715a52b037bcb0f6ff524a9367f642cdc5817944f6af5479bbb2eb50e"},
- {file = "ruff-0.5.0-py3-none-musllinux_1_2_i686.whl", hash = "sha256:cd096e23c6a4f9c819525a437fa0a99d1c67a1b6bb30948d46f33afbc53596cf"},
- {file = "ruff-0.5.0-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:46e193b36f2255729ad34a49c9a997d506e58f08555366b2108783b3064a0e1e"},
- {file = "ruff-0.5.0-py3-none-win32.whl", hash = "sha256:49141d267100f5ceff541b4e06552e98527870eafa1acc9dec9139c9ec5af64c"},
- {file = "ruff-0.5.0-py3-none-win_amd64.whl", hash = "sha256:e9118f60091047444c1b90952736ee7b1792910cab56e9b9a9ac20af94cd0440"},
- {file = "ruff-0.5.0-py3-none-win_arm64.whl", hash = "sha256:ed5c4df5c1fb4518abcb57725b576659542bdbe93366f4f329e8f398c4b71178"},
- {file = "ruff-0.5.0.tar.gz", hash = "sha256:eb641b5873492cf9bd45bc9c5ae5320648218e04386a5f0c264ad6ccce8226a1"},
+ {file = "ruff-0.7.0-py3-none-linux_armv6l.whl", hash = "sha256:0cdf20c2b6ff98e37df47b2b0bd3a34aaa155f59a11182c1303cce79be715628"},
+ {file = "ruff-0.7.0-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:496494d350c7fdeb36ca4ef1c9f21d80d182423718782222c29b3e72b3512737"},
+ {file = "ruff-0.7.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:214b88498684e20b6b2b8852c01d50f0651f3cc6118dfa113b4def9f14faaf06"},
+ {file = "ruff-0.7.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:630fce3fefe9844e91ea5bbf7ceadab4f9981f42b704fae011bb8efcaf5d84be"},
+ {file = "ruff-0.7.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:211d877674e9373d4bb0f1c80f97a0201c61bcd1e9d045b6e9726adc42c156aa"},
+ {file = "ruff-0.7.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:194d6c46c98c73949a106425ed40a576f52291c12bc21399eb8f13a0f7073495"},
+ {file = "ruff-0.7.0-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:82c2579b82b9973a110fab281860403b397c08c403de92de19568f32f7178598"},
+ {file = "ruff-0.7.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9af971fe85dcd5eaed8f585ddbc6bdbe8c217fb8fcf510ea6bca5bdfff56040e"},
+ {file = "ruff-0.7.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b641c7f16939b7d24b7bfc0be4102c56562a18281f84f635604e8a6989948914"},
+ {file = "ruff-0.7.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d71672336e46b34e0c90a790afeac8a31954fd42872c1f6adaea1dff76fd44f9"},
+ {file = "ruff-0.7.0-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:ab7d98c7eed355166f367597e513a6c82408df4181a937628dbec79abb2a1fe4"},
+ {file = "ruff-0.7.0-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:1eb54986f770f49edb14f71d33312d79e00e629a57387382200b1ef12d6a4ef9"},
+ {file = "ruff-0.7.0-py3-none-musllinux_1_2_i686.whl", hash = "sha256:dc452ba6f2bb9cf8726a84aa877061a2462afe9ae0ea1d411c53d226661c601d"},
+ {file = "ruff-0.7.0-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:4b406c2dce5be9bad59f2de26139a86017a517e6bcd2688da515481c05a2cb11"},
+ {file = "ruff-0.7.0-py3-none-win32.whl", hash = "sha256:f6c968509f767776f524a8430426539587d5ec5c662f6addb6aa25bc2e8195ec"},
+ {file = "ruff-0.7.0-py3-none-win_amd64.whl", hash = "sha256:ff4aabfbaaba880e85d394603b9e75d32b0693152e16fa659a3064a85df7fce2"},
+ {file = "ruff-0.7.0-py3-none-win_arm64.whl", hash = "sha256:10842f69c245e78d6adec7e1db0a7d9ddc2fff0621d730e61657b64fa36f207e"},
+ {file = "ruff-0.7.0.tar.gz", hash = "sha256:47a86360cf62d9cd53ebfb0b5eb0e882193fc191c6d717e8bef4462bc3b9ea2b"},
]
[[package]]
name = "tomli"
-version = "2.0.1"
+version = "2.0.2"
description = "A lil' TOML parser"
optional = false
-python-versions = ">=3.7"
+python-versions = ">=3.8"
files = [
- {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"},
- {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"},
+ {file = "tomli-2.0.2-py3-none-any.whl", hash = "sha256:2ebe24485c53d303f690b0ec092806a085f07af5a5aa1464f3931eec36caaa38"},
+ {file = "tomli-2.0.2.tar.gz", hash = "sha256:d46d457a85337051c36524bc5349dd91b1877838e2979ac5ced3e710ed8a60ed"},
]
[[package]]
name = "tox"
-version = "4.15.1"
+version = "4.23.0"
description = "tox is a generic virtualenv management and test command line tool"
optional = false
python-versions = ">=3.8"
files = [
- {file = "tox-4.15.1-py3-none-any.whl", hash = "sha256:f00a5dc4222b358e69694e47e3da0227ac41253509bca9f45aa8f012053e8d9d"},
- {file = "tox-4.15.1.tar.gz", hash = "sha256:53a092527d65e873e39213ebd4bd027a64623320b6b0326136384213f95b7076"},
+ {file = "tox-4.23.0-py3-none-any.whl", hash = "sha256:46da40afb660e46238c251280eb910bdaf00b390c7557c8e4bb611f422e9db12"},
+ {file = "tox-4.23.0.tar.gz", hash = "sha256:a6bd7d54231d755348d3c3a7b450b5bf6563833716d1299a1619587a1b77a3bf"},
]
[package.dependencies]
-cachetools = ">=5.3.2"
+cachetools = ">=5.5"
chardet = ">=5.2"
colorama = ">=0.4.6"
-filelock = ">=3.13.1"
-packaging = ">=23.2"
-platformdirs = ">=4.1"
-pluggy = ">=1.3"
-pyproject-api = ">=1.6.1"
+filelock = ">=3.16.1"
+packaging = ">=24.1"
+platformdirs = ">=4.3.6"
+pluggy = ">=1.5"
+pyproject-api = ">=1.8"
tomli = {version = ">=2.0.1", markers = "python_version < \"3.11\""}
-virtualenv = ">=20.25"
-
-[package.extras]
-docs = ["furo (>=2023.9.10)", "sphinx (>=7.2.6)", "sphinx-argparse-cli (>=1.11.1)", "sphinx-autodoc-typehints (>=1.25.2)", "sphinx-copybutton (>=0.5.2)", "sphinx-inline-tabs (>=2023.4.21)", "sphinxcontrib-towncrier (>=0.2.1a0)", "towncrier (>=23.11)"]
-testing = ["build[virtualenv] (>=1.0.3)", "covdefaults (>=2.3)", "detect-test-pollution (>=1.2)", "devpi-process (>=1)", "diff-cover (>=8.0.2)", "distlib (>=0.3.8)", "flaky (>=3.7)", "hatch-vcs (>=0.4)", "hatchling (>=1.21)", "psutil (>=5.9.7)", "pytest (>=7.4.4)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)", "pytest-xdist (>=3.5)", "re-assert (>=1.1)", "time-machine (>=2.13)", "wheel (>=0.42)"]
+typing-extensions = {version = ">=4.12.2", markers = "python_version < \"3.11\""}
+virtualenv = ">=20.26.6"
[[package]]
name = "typing-extensions"
@@ -549,13 +561,13 @@ files = [
[[package]]
name = "virtualenv"
-version = "20.26.3"
+version = "20.27.0"
description = "Virtual Python Environment builder"
optional = false
-python-versions = ">=3.7"
+python-versions = ">=3.8"
files = [
- {file = "virtualenv-20.26.3-py3-none-any.whl", hash = "sha256:8cc4a31139e796e9a7de2cd5cf2489de1217193116a8fd42328f1bd65f434589"},
- {file = "virtualenv-20.26.3.tar.gz", hash = "sha256:4c43a2a236279d9ea36a0d76f98d84bd6ca94ac4e0f4a3b9d46d05e10fea542a"},
+ {file = "virtualenv-20.27.0-py3-none-any.whl", hash = "sha256:44a72c29cceb0ee08f300b314848c86e57bf8d1f13107a5e671fb9274138d655"},
+ {file = "virtualenv-20.27.0.tar.gz", hash = "sha256:2ca56a68ed615b8fe4326d11a0dca5dfbe8fd68510fb6c6349163bed3c15f2b2"},
]
[package.dependencies]
@@ -581,7 +593,10 @@ files = [
[package.extras]
brotli = ["brotli"]
+[extras]
+whitenoise = ["whitenoise"]
+
[metadata]
lock-version = "2.0"
python-versions = "^3.10"
-content-hash = "36b1c02ae6cf0c193066f5d7371995106331bd05502b88f82da7b0d5a76318b6"
+content-hash = "bd447018e19b53192b02cffca6289a0f4f5a5d251f3a00d86affdc9e07222024"
diff --git a/pyproject.toml b/pyproject.toml
index e5836e6..d38a070 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -34,7 +34,10 @@ classifiers = [
python = "^3.10"
jinja2 = ">=3.0"
markupsafe = ">=2.0"
-whitenoise = ">=5.3"
+whitenoise = { version = ">=5.3", optional = true }
+
+[tool.poetry.extras]
+whitenoise = ["whitenoise"]
[tool.poetry.group.dev]
optional = true
@@ -52,7 +55,7 @@ optional = true
pytest = "^8.1.1"
pytest-cov = "*"
ruff = ">0.3"
-
+whitenoise = ">=5.3"
[tool.coverage.run]
branch = true
diff --git a/src/jinjax/__init__.py b/src/jinjax/__init__.py
index e30f39b..b8fc6cf 100644
--- a/src/jinjax/__init__.py
+++ b/src/jinjax/__init__.py
@@ -1,5 +1,23 @@
-from .catalog import Catalog # noqa
-from .component import Component # noqa
-from .exceptions import * # noqa
-from .jinjax import JinjaX # noqa
-from .html_attrs import HTMLAttrs, LazyString # noqa
+from .catalog import Catalog
+from .component import Component
+from .exceptions import (
+ ComponentNotFound,
+ DuplicateDefDeclaration,
+ InvalidArgument,
+ MissingRequiredArgument,
+)
+from .html_attrs import HTMLAttrs, LazyString
+from .jinjax import JinjaX
+
+
+__all__ = [
+ "Catalog",
+ "Component",
+ "ComponentNotFound",
+ "DuplicateDefDeclaration",
+ "HTMLAttrs",
+ "InvalidArgument",
+ "JinjaX",
+ "LazyString",
+ "MissingRequiredArgument",
+]
diff --git a/src/jinjax/catalog.py b/src/jinjax/catalog.py
index d0d0635..7728ed4 100644
--- a/src/jinjax/catalog.py
+++ b/src/jinjax/catalog.py
@@ -16,6 +16,10 @@ from .middleware import ComponentsMiddleware
from .utils import DELIMITER, SLASH, get_url_prefix, logger
+if t.TYPE_CHECKING:
+ from .middleware import ComponentsMiddleware
+
+
DEFAULT_URL_ROOT = "/static/components/"
ALLOWED_EXTENSIONS = (".css", ".js", ".mjs")
DEFAULT_PREFIX = ""
@@ -29,6 +33,8 @@ collected_js: dict[int, ContextVar[list[str]]] = {}
class CallerWrapper(UserString):
+ _content = ""
+
def __init__(self, caller: t.Callable | None, content: str = "") -> None:
self._caller = caller
# Pre-calculate the defaut content so the assets are loaded
@@ -40,11 +46,14 @@ class CallerWrapper(UserString):
return self._content
def __html__(self) -> str:
- return self()
+ return self.__call__()
+
+ def __repr__(self) -> str:
+ return self._content
@property
def data(self) -> str: # type: ignore
- return self()
+ return self.__call__()
class Catalog:
@@ -431,14 +440,15 @@ class Catalog:
application: t.Callable,
allowed_ext: "t.Iterable[str] | None" = ALLOWED_EXTENSIONS,
**kwargs,
- ) -> ComponentsMiddleware:
+ ) -> "ComponentsMiddleware":
"""
Wraps you application with
[Withenoise](https://whitenoise.readthedocs.io/),
a static file serving middleware.
- Tecnically not neccesary if your components doesn't use static assets
- or if you serve them by other means.
+ Tecnically not necessary if your components doesn't use static assets
+ or if you serve them by other means. Requires the `whitenoise` python
+ package to be installed.
Arguments:
@@ -450,6 +460,8 @@ class Catalog:
read and return. By default, is just ".css", ".js", and ".mjs".
"""
+ from .middleware import ComponentsMiddleware
+
logger.debug("Creating middleware")
middleware = ComponentsMiddleware(
application=application,
diff --git a/src/jinjax/jinjax.py b/src/jinjax/jinjax.py
index b7a9783..27d5feb 100644
--- a/src/jinjax/jinjax.py
+++ b/src/jinjax/jinjax.py
@@ -10,7 +10,7 @@ from .utils import logger
RENDER_CMD = "catalog.irender"
-BLOCK_CALL = '{% call(_slot) [CMD]("[TAG]"[ATTRS]) -%}[CONTENT]{%- endcall %}'
+BLOCK_CALL = '{% call(_slot="") [CMD]("[TAG]"[ATTRS]) -%}[CONTENT]{%- endcall %}'
BLOCK_CALL = BLOCK_CALL.replace("[CMD]", RENDER_CMD)
INLINE_CALL = '{{ [CMD]("[TAG]"[ATTRS]) }}'
INLINE_CALL = INLINE_CALL.replace("[CMD]", RENDER_CMD)
diff --git a/src/jinjax/middleware.py b/src/jinjax/middleware.py
index 7c8acd8..af430b1 100644
--- a/src/jinjax/middleware.py
+++ b/src/jinjax/middleware.py
@@ -2,8 +2,15 @@ import re
import typing as t
from pathlib import Path
-from whitenoise import WhiteNoise
-from whitenoise.responders import Redirect, StaticFile
+
+try:
+ from whitenoise import WhiteNoise
+ from whitenoise.responders import Redirect, StaticFile
+except ImportError as err :
+ raise ImportError(
+ "This feature requires the package `whitenoise` to be installed. \n"
+ + "Run `pip install jinjax[whitenoise]` to do it."
+ ) from err
RX_FINGERPRINT = re.compile("(.*)-([abcdef0-9]{64})")
@@ -11,6 +18,7 @@ RX_FINGERPRINT = re.compile("(.*)-([abcdef0-9]{64})")
class ComponentsMiddleware(WhiteNoise):
"""WSGI middleware for serving components assets"""
+
allowed_ext: tuple[str, ...]
def __init__(self, **kwargs) -> None:
@@ -18,7 +26,6 @@ class ComponentsMiddleware(WhiteNoise):
super().__init__(**kwargs)
def find_file(self, url: str) -> "StaticFile | Redirect | None":
-
if self.allowed_ext and not url.endswith(self.allowed_ext):
return None
@@ -34,6 +41,8 @@ class ComponentsMiddleware(WhiteNoise):
return super().find_file(str(relpath))
- def add_file_to_dictionary(self, url: str, path: str, stat_cache: t.Any = None) -> None:
+ def add_file_to_dictionary(
+ self, url: str, path: str, stat_cache: t.Any = None
+ ) -> None:
if not self.allowed_ext or url.endswith(self.allowed_ext):
super().add_file_to_dictionary(url, path, stat_cache)