[{"name":"Daisy.Accordion","comment":" A simple accordion element\n\n\n## Example\n\n    -- TODO: example\n\n\n\n\n## Types\n\n@docs State, Config\n\n\n## Functions\n\n@docs view, init, config\n\n","unions":[],"aliases":[{"name":"Config","comment":" Configure how the accordion should be rendered\n","args":["data","msg"],"type":"{ msg : Daisy.Accordion.State -> msg, title : data -> String.String, render : data -> Html.Html msg, selectedClass : String.String, notSelectedClass : String.String }"},{"name":"State","comment":" The accordion state\n","args":[],"type":"{ selected : Basics.Int }"}],"values":[{"name":"config","comment":" Simple config from msg, title and rendering function\n","type":"(Daisy.Accordion.State -> msg) -> (data -> String.String) -> (data -> Html.Html msg) -> Daisy.Accordion.Config data msg"},{"name":"init","comment":" Initial state\n","type":"Daisy.Accordion.State"},{"name":"view","comment":" Renders accordion\n","type":"Daisy.Accordion.Config data msg -> Daisy.Accordion.State -> List.List data -> Html.Html msg"}],"binops":[]},{"name":"Daisy.Actions","comment":" Components in the DaisyUI Actions section\n\n\n## Button\n\nSee also: <https://daisyui.com/components/button/>\n\n@docs btn\n\n\n## Swap\n\nSee also: <https://daisyui.com/components/swap/>\n\n@docs swap, swapActive, swapFlip, swapRotate\n\n\n## Modal\n\nSee also: <https://daisyui.com/components/modal/#>\n\n@docs modal, openModal, closeModal\n\n\n## Dropdown\n\nSee also: <https://daisyui.com/components/dropdown/#>\n\n@docs Dropdown, alignTo, dropdown, dropdownButton, dropdownCard, dropdownData, dropdownMenu\n\n","unions":[{"name":"Dropdown","comment":" Enumerate the drowpdown aligments\n","args":[],"cases":[["End",[]],["Top",[]],["Bottom",[]],["Left",[]],["Right",[]],["Hover",[]],["Open",[]]]}],"aliases":[],"values":[{"name":"alignTo","comment":" Attribute that defines the aligment of dropdown\n","type":"Daisy.Actions.Dropdown -> Html.Attribute msg"},{"name":"btn","comment":" A simple button\n","type":"List.List (Html.Attribute msg) -> List.List (Html.Html msg) -> Html.Html msg"},{"name":"closeModal","comment":" A button that lives in the modal used to close it.\n","type":"String.String -> List.List (Html.Attribute msg) -> List.List (Html.Html msg) -> Html.Html msg"},{"name":"dropdown","comment":" The outer layer of a dropdown. It defines the label used to toggle it.\n\nContent can be created by the auxiliary functions dropdownMenu, dropdownCard, dropdownData\n\n    dropdown [ alignTo End ]\n        [ dropdownButton [ color primary ] [ text \"open\" ]\n        , dropdownMenu [] [ text \"Item 1\", text \"Item 2\" ]\n        ]\n\n","type":"List.List (Html.Attribute msg) -> List.List (Html.Html msg) -> Html.Html msg"},{"name":"dropdownButton","comment":" Button that triggers the dropdown\n","type":"List.List (Html.Attribute msg) -> List.List (Html.Html msg) -> Html.Html msg"},{"name":"dropdownCard","comment":" Contents for a dropdown card\n","type":"List.List (Html.Attribute msg) -> List.List (Html.Html msg) -> Html.Html msg"},{"name":"dropdownData","comment":" Contents for arbitrary dropdown content\n","type":"Types.Element msg -> List.List (Html.Attribute msg) -> List.List (Html.Html msg) -> Html.Html msg"},{"name":"dropdownMenu","comment":" Contents for a dropdown menu\n","type":"List.List (Html.Attribute msg) -> List.List (Html.Html msg) -> Html.Html msg"},{"name":"modal","comment":" Content of your modal dialog. It should be placed at the end of the HTML document\n","type":"String.String -> List.List (Html.Attribute msg) -> List.List (Html.Html msg) -> Html.Html msg"},{"name":"openModal","comment":" A button that lives in your main document used to open the modal\n","type":"String.String -> List.List (Html.Attribute msg) -> List.List (Html.Html msg) -> Html.Html msg"},{"name":"swap","comment":" Swap allows you to toggle the visibility of two elements.\n","type":"(Basics.Bool -> msg) -> List.List (Html.Attribute msg) -> Html.Html msg -> Html.Html msg -> Html.Html msg"},{"name":"swapActive","comment":" Attribute to turn the swap on by default\n","type":"Html.Attribute msg"},{"name":"swapFlip","comment":" Adds flip effect to swap\n","type":"Html.Attribute msg"},{"name":"swapRotate","comment":" Adds rotate effect to swap\n","type":"Html.Attribute msg"}],"binops":[]},{"name":"Daisy.Breadcrumbs","comment":" Navegation elements\n\n\n## Breadcrumbs\n\n@docs view, unlinkLast\n\n\n## Config\n\n@docs Config, config, configCustom, empty, home, icon, link, noHome\n\n","unions":[],"aliases":[{"name":"Config","comment":" Store information on how to render a breadcrumb\n","args":["url","msg"],"type":"{ home : Maybe.Maybe url, icon : Svg.Svg msg, element : Types.Element msg, link : url -> List.List (Html.Attribute msg), empty : url -> Basics.Bool }"}],"values":[{"name":"config","comment":" Simple config for breadcrumb view\n\n    config [ home \"/home/\", icon I.folder ]\n\n","type":"List.List (Daisy.Breadcrumbs.Config Types.Url msg -> Daisy.Breadcrumbs.Config Types.Url msg) -> Daisy.Breadcrumbs.Config Types.Url msg"},{"name":"configCustom","comment":" Custom config for breadcrumbs view\n","type":"List.List (Daisy.Breadcrumbs.Config url msg -> Daisy.Breadcrumbs.Config url msg) -> Daisy.Breadcrumbs.Config url msg"},{"name":"empty","comment":" Function that determines if links are valid or not\n","type":"(url -> Basics.Bool) -> Daisy.Breadcrumbs.Config url msg -> Daisy.Breadcrumbs.Config url msg"},{"name":"home","comment":" Define the home URL\n","type":"url -> Daisy.Breadcrumbs.Config url msg -> Daisy.Breadcrumbs.Config url msg"},{"name":"icon","comment":" Set the home icon\n","type":"(Basics.Int -> Material.Icons.Types.Coloring -> Svg.Svg msg) -> Daisy.Breadcrumbs.Config url msg -> Daisy.Breadcrumbs.Config url msg"},{"name":"link","comment":" Control which attributes are added to valid links\n","type":"(url -> List.List (Html.Attribute msg)) -> Daisy.Breadcrumbs.Config url msg -> Daisy.Breadcrumbs.Config url msg"},{"name":"noHome","comment":" Disable the home url\n","type":"Daisy.Breadcrumbs.Config url msg -> Daisy.Breadcrumbs.Config url msg"},{"name":"unlinkLast","comment":" Transform the last pair (url, name) to (\"\", name), disabling its\nhyperlink.\n","type":"List.List ( Types.Url, Types.Name ) -> List.List ( Types.Url, Types.Name )"},{"name":"view","comment":" Render breadcrubms\n","type":"Daisy.Breadcrumbs.Config url msg -> List.List (Html.Attribute msg) -> List.List ( url, Types.Name ) -> Html.Html msg"}],"binops":[]},{"name":"Daisy.Color","comment":" A type-safe interpetation of DaisyUI colors (<https://daisyui.com/docs/colors/>)\n\n@docs Color, name\n\n\n## Classes\n\n@docs bg, color, inverted, text\n\n\n## Transforming colors\n\n@docs focused\n\n","unions":[{"name":"Color","comment":" Represent colors in the DaisyUI color theme\n","args":[],"cases":[["Role",["Daisy.Role.Role"]],["Base",[]],["Base200",[]],["Base300",[]],["Focus",["Daisy.Color.Color"]],["Content",["Daisy.Color.Color"]]]}],"aliases":[],"values":[{"name":"bg","comment":" Set background color\n","type":"Daisy.Color.Color -> Html.Attribute msg"},{"name":"color","comment":" Set text and background color\n","type":"Daisy.Color.Color -> Html.Attribute msg"},{"name":"focused","comment":" Make a focused color from primary, secondary, Accent or Neutral roles\n","type":"Daisy.Color.Color -> Daisy.Color.Color"},{"name":"inverted","comment":" Set text and background, inverting roles\n","type":"Daisy.Color.Color -> Html.Attribute msg"},{"name":"name","comment":" Convert color to string\n","type":"Daisy.Color.Color -> String.String"},{"name":"text","comment":" Set text color\n","type":"Daisy.Color.Color -> Html.Attribute msg"}],"binops":[]},{"name":"Daisy.Display","comment":" Data display elements. This module contains only the simple stateless elements.\n\nCarosel is in its own module.\n\n\n## Alert\n\nSee also: <https://daisyui.com/components/alert/>\n\n@docs alert\n\n\n## Avatar\n\nSee also: <https://daisyui.com/components/avatar/>\n\n@docs avatar\n\n\n## To-do\n\nBadge\nCard\nChat bubble\nCollapse\nCountdown\nKbd\nProgress\nRadial progress\nTable\nTooltip\n\n","unions":[],"aliases":[],"values":[{"name":"alert","comment":" Warn the user with some alert message\n","type":"Maybe.Maybe Daisy.Warn.Warn -> List.List (Html.Attribute msg) -> List.List (Html.Html msg) -> Html.Html msg"},{"name":"avatar","comment":" Create an avatar from image or placeholder text, if image is absent.\n\nThe result data can be either `Ok url`, with the url pointing to the avatar image or\na `Err placeholder` with the placeholder text.\n\n","type":"List.List (Html.Attribute msg) -> Result.Result String.String String.String -> Html.Html msg"}],"binops":[]},{"name":"Daisy.Elements","comment":" Generic Elements\n\n\n## Basic elements\n\n@docs counter, link, tags, title\n\n\n## Layout\n\n@docs container, list, urlList, sections\n\n\n## Missing content\n\n@docs longPlaceholderText, shortPlaceholderText, loremText\n\n","unions":[],"aliases":[],"values":[{"name":"container","comment":" Main container element for page content.\n","type":"List.List (Html.Html msg) -> Html.Html msg"},{"name":"counter","comment":" A simple rounded counter\n\n    counter [ class \"foo\" ] 10\n\nIt displays the number n within a circle\n\n","type":"List.List (Html.Attribute msg) -> Basics.Int -> Html.Html msg"},{"name":"link","comment":" Safely creates a link\n\nExternal urls append a `target:blank_` that forces the navigator to open then\nin a different tab.\n\n","type":"Types.Url -> List.List (Html.Attribute msg)"},{"name":"list","comment":" Render a list of a's as an <ul> element.\n\nIt uses the first argument to convert a's to Html's.\n\n    list text [] [ \"foo\", \"bar\", \"baz\" ]\n\n","type":"(a -> Html.Html msg) -> List.List (Html.Attribute msg) -> List.List a -> Html.Html msg"},{"name":"longPlaceholderText","comment":" A string that can be used as a placeholder for unloaded data\n","type":"String.String"},{"name":"loremText","comment":" A string that can be used as a placeholder for unloaded data\n","type":"String.String"},{"name":"sections","comment":" Create a description list from a list of titles and their corresponding Html content.\n","type":"List.List (Html.Attribute msg) -> List.List ( String.String, List.List (Html.Html msg) ) -> Html.Html msg"},{"name":"shortPlaceholderText","comment":" A string that can be used as a placeholder for unloaded data\n","type":"String.String"},{"name":"tags","comment":" Renders a list of strings as tags\n","type":"List.List String.String -> Html.Html msg"},{"name":"title","comment":" Main title of page\n","type":"String.String -> Html.Html msg"},{"name":"urlList","comment":" Render a list of (url, name) pairs as an <ul> element.\n\nIf the list is empty, it produces a `div [] [ text fallback ]`\n\n","type":"List.List (Html.Attribute msg) -> ( String.String, List.List ( Types.Url, String.String ) ) -> Html.Html msg"}],"binops":[]},{"name":"Daisy.Input","comment":" Input elements\n\n\n## Checkbox\n\nSee also: <https://daisyui.com/components/checkbox/>\n\n@docs checkbox\n\n\n## To-do\n\nFile input\nRadio\nRange\nRating\nSelect\nText input\nTextArea\nToggle\n\n","unions":[],"aliases":[],"values":[{"name":"checkbox","comment":" A daisy-ui styled checkbox\n","type":"Daisy.Role.Role -> List.List (Html.Attribute msg) -> Html.Html msg"}],"binops":[]},{"name":"Daisy.Layout","comment":" Simple layout components\n\n\n## Divider\n\nSee also: <https://daisyui.com/components/divider/>\n\n@docs divider, dividerVertical\n\n\n## To-do\n\nArtboard\nButton group\nDrawer\nFooter\nHero\nIndicator\nInput group\nMask\nStack\nToast\n\n","unions":[],"aliases":[],"values":[{"name":"divider","comment":" Simple horizontal divider\n\n    divider [] [ text \"or \" ]\n\n","type":"List.List (Html.Attribute msg) -> List.List (Html.Html msg) -> Html.Html msg"},{"name":"dividerVertical","comment":" Simple vertical divider\n\n    divider [] [ text \"or \" ]\n\n","type":"List.List (Html.Attribute msg) -> List.List (Html.Html msg) -> Html.Html msg"}],"binops":[]},{"name":"Daisy.Mockup","comment":" Simple mockups\n\n\n## Code\n\nSee also: <https://daisyui.com/components/mockup-code/>\n\n@docs code, codeCustom\n\n\n## Phone\n\nSee also: <https://daisyui.com/components/mockup-phone/>\n\n@docs phone\n\n\n## Window\n\nSee also: <https://daisyui.com/components/mockup-window/>\n\n@docs window\n\n","unions":[],"aliases":[],"values":[{"name":"code","comment":" Create a simple code mockup from a string of text\n","type":"String.String -> Html.Html msg"},{"name":"codeCustom","comment":" Customize the code mockup display.\n\nIt receive a list of (line class, line number or prefix, line content) and render the code mockup.\n\n","type":"List.List ( String.String, String.String, String.String ) -> Html.Html msg"},{"name":"phone","comment":" Render children contained inside a phone mockup\n","type":"List.List (Html.Attribute msg) -> List.List (Html.Html msg) -> Html.Html msg"},{"name":"window","comment":" Render children contained inside a window mockup\n","type":"List.List (Html.Attribute msg) -> List.List (Html.Html msg) -> Html.Html msg"}],"binops":[]},{"name":"Daisy.Navigation","comment":" Simple navegational elements.\n\n`Tab` and `Breadcrumb` live on their separated modules.\n\n\n## Styling links\n\nSee also: <https://daisyui.com/components/link/>\n\n@docs link, linkHover\n\n\n## Steps\n\nSee also: <https://daisyui.com/components/steps/>\n\n@docs steps\n\n\n## Pagination\n\nSee also: <https://daisyui.com/components/pagination/>\n\n@docs pagination\n\n\n## To-do\n\nButton navigation: <https://daisyui.com/components/bottom-navigation/>\nMenu: <https://daisyui.com/components/menu/>\nNavbar: <https://daisyui.com/components/navbar/>\n\n","unions":[],"aliases":[],"values":[{"name":"link","comment":" Style an element as a link\n\n    a [ href \"/\", link Primary ] [ text \"Home\" ]\n\n","type":"Daisy.Role.Role -> Html.Attribute msg"},{"name":"linkHover","comment":" Show link style only on hover\n\n    a [ href \"/\", linkHover ] [ text \"Home\" ]\n\n","type":"Html.Attribute msg"},{"name":"pagination","comment":" A simple numeric pagination from a triplet with of (min, selected, maximum) integers\nand a function that computes an action from the numeric value associated with the button.\n\n    pagination ( 1, 3, 5 ) action\n\nwill display the list of numbers `[1, 2, *3*, 4, 5]`\n\nAction is a function that takes the display number and computes an attribute, usually it\nwill be something like\n\n    action i =\n        onClick (OnPaginateTo (i - 1))\n\n","type":"( Basics.Int, Basics.Int, Basics.Int ) -> (Basics.Int -> Html.Attribute msg) -> Html.Html msg"},{"name":"steps","comment":" Show an horizontal list of steps\n\n    -- a step function specialized in rendering strings\n    stepTexts = steps text Primary\n\n    stepTexts []\n        [ \"completed 1\", \"completed  2\" ]\n        [ \"missing 1\", \"missing 2\" ]\n\n","type":"(a -> Html.Html msg) -> Daisy.Role.Role -> List.List (Html.Attribute msg) -> List.List a -> List.List a -> Html.Html msg"}],"binops":[]},{"name":"Daisy.Role","comment":" Type safe semantic roles\n\nSome Daisy elements accept those roles to change appearance.\n\n@docs Role\n\n\n## Utilities\n\n@docs class, name, withRole\n\n","unions":[{"name":"Role","comment":" Represent a presentation style based on intent\n","args":[],"cases":[["Primary",[]],["Secondary",[]],["Accent",[]],["Neutral",[]],["Info",[]],["Success",[]],["Warning",[]],["Error",[]]]}],"aliases":[],"values":[{"name":"class","comment":" Create a role class from prefix\n","type":"String.String -> Daisy.Role.Role -> Html.Attribute msg"},{"name":"name","comment":" Convert role to string\n","type":"Daisy.Role.Role -> String.String"},{"name":"withRole","comment":" Create a role class from prefix\n","type":"String.String -> Daisy.Role.Role -> Html.Attribute msg"}],"binops":[]},{"name":"Daisy.Tab","comment":"\n\n@docs Model, Msg\n\n\n## Elm archtechture\n\n@docs init, view, update\n\n\n## Changing and inspecting state\n\n@docs index, setIndex, title\n\n\n## Config\n\n@docs Config, config\n\n","unions":[{"name":"Msg","comment":" Opaque messages\n","args":[],"cases":[]}],"aliases":[{"name":"Config","comment":" Declare how tabs are rendered and integrated to the rest of the application\n","args":["a","msg"],"type":"{ msg : Daisy.Tab.Msg -> msg, tabs : List.List ( String.String, a -> Html.Html msg ) }"},{"name":"Model","comment":" The tab state\n","args":[],"type":"{ index : Basics.Int, size : Basics.Int }"}],"values":[{"name":"config","comment":" Create a config object.\n\nIt is necessary to pass the message wrapper in your module and a list\nof pairs with (title, render) with the name of the tab and the render\nfunction for the corresponding tab.\n\n","type":"(Daisy.Tab.Msg -> msg) -> List.List ( String.String, a -> Html.Html msg ) -> Daisy.Tab.Config a msg"},{"name":"index","comment":" Return the index of the currently selected tab.\n","type":"Daisy.Tab.Model -> Basics.Int"},{"name":"init","comment":" Initial tab state.\n\nStore this in your model.\n\n","type":"Daisy.Tab.Config a msg -> Daisy.Tab.Model"},{"name":"setIndex","comment":" Force selected tab to the given index\n","type":"Basics.Int -> Daisy.Tab.Model -> Daisy.Tab.Model"},{"name":"title","comment":" Return the tab title from the currently selected tab.\n","type":"Daisy.Tab.Config a msg -> Daisy.Tab.Model -> String.String"},{"name":"update","comment":" Update function\n","type":"Daisy.Tab.Msg -> Daisy.Tab.Model -> Daisy.Tab.Model"},{"name":"view","comment":" Render tabs from config and tab state\n","type":"Daisy.Tab.Config a msg -> Daisy.Tab.Model -> a -> Html.Html msg"}],"binops":[]},{"name":"Daisy.Warn","comment":" Type safe semantic warnings\n\nSome Daisy elements accept those warnings to change appearance.\n\n@docs Warn\n\n\n## Utilities\n\n@docs class, name, icon\n\n","unions":[{"name":"Warn","comment":" Represent a kind of warning intent.\n\nUsually it is used for presentation purposes.\n\n","args":[],"cases":[["Neutral",[]],["Info",[]],["Success",[]],["Warning",[]],["Error",[]]]}],"aliases":[],"values":[{"name":"class","comment":" Create a warn class from prefix\n","type":"String.String -> Daisy.Warn.Warn -> Html.Attribute msg"},{"name":"icon","comment":" Create a warn icon\n","type":"Daisy.Warn.Warn -> Basics.Int -> Material.Icons.Types.Coloring -> Svg.Svg msg"},{"name":"name","comment":" Convert warning to string\n","type":"Daisy.Warn.Warn -> String.String"}],"binops":[]}]