[{"name":"EmojiPicker","comment":" This module provides a general-purpose emoji picker, with emojis\nsegregated by category. See [this file](https://github.com/vjousse/elm-emoji/blob/master/examples/src/Main.elm)\nfor an example of how to use the picker in your application!\n\n\n# Internals\n\n@docs Model, Msg\n\n\n# Config & Initialization\n\n@docs PickerConfig, init\n\n\n# Functions to use in integration\n\n@docs view, update\n\n","unions":[{"name":"Msg","comment":" Most of the messages are handled internally, but there are a couple that will\nbe of interest to the parent module:\n\n`Toggle`: Use this message in the parent to toggle the emoji picker on and off\n`Select`: Catch this message in the parent to retrieve the selected emoji\n\n","args":[],"cases":[["NoOp",[]],["ChooseSkinColor",["EmojiPicker.SkinColor"]],["SelectCategory",["Emojis.Category"]],["Select",["String.String"]],["Search",["String.String"]],["Toggle",[]]]}],"aliases":[{"name":"Model","comment":" The internal state of the emoji picker.\n\nNote: the `skinColor` field is not in use in the current version,\nbut a future release may include a skin tone selector to switch between\nemoji variants.\n\n","args":[],"type":"{ activeCategory : Emojis.Category, closeOnSelect : Basics.Bool, customEmojis : List.List Emojis.Emoji, customEmojisHeight : Maybe.Maybe String.String, customEmojisWidth : Maybe.Maybe String.String, hidden : Basics.Bool, offsetX : Basics.Float, offsetY : Basics.Float, searchText : String.String, skinColor : EmojiPicker.SkinColor }"},{"name":"PickerConfig","comment":" When initializing the emoji picker, you'll need to provide a few\nconfiguration parameters.\n\n`offsetX`: the horizontal offset from where the picker is declared\n`offsetY`: the vertical offset from where the picker is declared\n`closeOnSelect`: whether or not the close the picker after an emoji is selected\n`customEmojis`: a list of emojis you would like to add to the custom category\n\n","args":[],"type":"{ offsetX : Basics.Float, offsetY : Basics.Float, closeOnSelect : Basics.Bool, customEmojis : List.List Emojis.Emoji, customEmojisHeight : Maybe.Maybe String.String, customEmojisWidth : Maybe.Maybe String.String }"}],"values":[{"name":"init","comment":" This is the function to call to initialize the emoji picker.\n\n    pickerConfig : PickerConfig\n    pickerConfig =\n        { offsetX = -271\n        , offsetY = -410\n        , closeOnSelect = True\n        }\n\n    emojiModel : EmojiPicker.Model\n    emojiModel =\n        EmojiPicker.init pickerConfig\n\n","type":"EmojiPicker.PickerConfig -> EmojiPicker.Model"},{"name":"update","comment":" You'll need to catch the `Select` message in your parent module to\nobtain the emoji from the picker. However, don't forget to propagate the\nmessages down to this function, because some internal states will probably\nneed to be updated.\n","type":"EmojiPicker.Msg -> EmojiPicker.Model -> ( EmojiPicker.Model, Platform.Cmd.Cmd EmojiPicker.Msg )"},{"name":"view","comment":" Use this function to instantiate the actual `Html msg` for the picker.\n","type":"EmojiPicker.Model -> Html.Html EmojiPicker.Msg"}],"binops":[]},{"name":"Emojis","comment":" This module provides a list of emojis indexed by shortcode/names\n\n@docs Category, Emoji, emojiDict\n\n","unions":[],"aliases":[{"name":"Category","comment":" typedef for a category of emojis. in the\nmain file, we render emojis by category.\n","args":[],"type":"{ id : String.String, name : String.String, emojis : List.List String.String }"},{"name":"Emoji","comment":" final data structure for an emoji\n","args":[],"type":"{ name : String.String, native : String.String, sortOrder : Basics.Int, skinVariations : Dict.Dict String.String String.String, keywords : List.List String.String, imgUrl : Maybe.Maybe String.String }"}],"values":[{"name":"emojiDict","comment":" dict containing all the emojis indexed by shortcode\n","type":"Dict.Dict String.String Emojis.Emoji"}],"binops":[]},{"name":"Icons","comment":" This module provides emojis by category\n\n@docs activity, flags, foods, iconList, nature, objects, people, places, symbols\n\n","unions":[],"aliases":[],"values":[{"name":"activity","comment":" emojis in the activity category\n","type":"( Emojis.Category, Svg.Attribute msg -> Html.Html msg )"},{"name":"flags","comment":" emojis in the flags category\n","type":"( Emojis.Category, Svg.Attribute msg -> Html.Html msg )"},{"name":"foods","comment":" emojis in the foods category\n","type":"( Emojis.Category, Svg.Attribute msg -> Html.Html msg )"},{"name":"iconList","comment":" get all icons by category\n","type":"List.List Emojis.Emoji -> List.List ( Emojis.Category, Svg.Attribute msg -> Html.Html msg )"},{"name":"nature","comment":" emojis in the nature category\n","type":"( Emojis.Category, Svg.Attribute msg -> Html.Html msg )"},{"name":"objects","comment":" emojis in the objects category\n","type":"( Emojis.Category, Svg.Attribute msg -> Html.Html msg )"},{"name":"people","comment":" emojis in the people category\n","type":"( Emojis.Category, Svg.Attribute msg -> Html.Html msg )"},{"name":"places","comment":" emojis in the places category\n","type":"( Emojis.Category, Svg.Attribute msg -> Html.Html msg )"},{"name":"symbols","comment":" emojis in the symbols category\n","type":"( Emojis.Category, Svg.Attribute msg -> Html.Html msg )"}],"binops":[]}]