chromium/third_party/google-closure-library/closure/goog/ui/emoji/BUILD

load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_library")

package(default_visibility = ["//visibility:public"])

licenses(["notice"])

closure_js_library(
    name = "emoji",
    srcs = ["emoji.js"],
)

closure_js_library(
    name = "emojipalette",
    srcs = ["emojipalette.js"],
    deps = [
        ":emoji",
        ":emojipaletterenderer",
        "//closure/goog/dom",
        "//closure/goog/events:event",
        "//closure/goog/events:eventtype",
        "//closure/goog/net:imageloader",
        "//closure/goog/ui:palette",
        "//closure/goog/ui:paletterenderer",
    ],
)

closure_js_library(
    name = "emojipaletterenderer",
    srcs = ["emojipaletterenderer.js"],
    deps = [
        ":emoji",
        ":spriteinfo",
        "//closure/goog/a11y/aria",
        "//closure/goog/asserts",
        "//closure/goog/dom",
        "//closure/goog/dom:classlist",
        "//closure/goog/dom:nodetype",
        "//closure/goog/dom:tagname",
        "//closure/goog/style",
        "//closure/goog/ui:palette",
        "//closure/goog/ui:paletterenderer",
    ],
)

closure_js_library(
    name = "emojipicker",
    srcs = ["emojipicker.js"],
    deps = [
        ":emoji",
        ":emojipalette",
        ":emojipaletterenderer",
        ":progressiveemojipaletterenderer",
        "//closure/goog/dom",
        "//closure/goog/dom:tagname",
        "//closure/goog/style",
        "//closure/goog/ui:component",
        "//closure/goog/ui:tabpane",
    ],
)

closure_js_library(
    name = "popupemojipicker",
    srcs = ["popupemojipicker.js"],
    deps = [
        ":emoji",
        ":emojipicker",
        "//closure/goog/dom",
        "//closure/goog/events:browserevent",
        "//closure/goog/events:event",
        "//closure/goog/events:eventtype",
        "//closure/goog/positioning",
        "//closure/goog/positioning:anchoredposition",
        "//closure/goog/ui:component",
        "//closure/goog/ui:popup",
        "//closure/goog/ui:popupbase",
        "//closure/goog/ui:tabpane",
    ],
)

closure_js_library(
    name = "progressiveemojipaletterenderer",
    srcs = ["progressiveemojipaletterenderer.js"],
    deps = [
        ":emojipaletterenderer",
        "//closure/goog/dom:tagname",
        "//closure/goog/style",
    ],
)

closure_js_library(
    name = "spriteinfo",
    srcs = ["spriteinfo.js"],
)