euv-ui 0.36.0

Reusable UI component library for the euv framework, providing buttons, cards, modals, inputs, and more.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// The view box every glyph of the library is drawn inside.
pub(crate) const SVG_GLYPH_VIEW_BOX: &str = "0 0 24 24";

/// The stroke every glyph of the library draws with.
pub(crate) const SVG_GLYPH_STROKE_WIDTH: &str = "1.8";

/// The shadcn Select and NativeSelect down-chevron glyph.
pub(crate) const ICON_CHEVRON_DOWN_MARKUP: &str = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><path d=\"m6 9 6 6 6-6\"/></svg>";

/// The shadcn Select scroll-up glyph.
pub(crate) const ICON_CHEVRON_UP_MARKUP: &str = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><path d=\"m18 15-6-6-6 6\"/></svg>";

/// The shadcn Select selected-option check glyph.
pub(crate) const ICON_CHECK_MARKUP: &str = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><path d=\"m20 6-11 11-5-5\"/></svg>";