### ----------------------------------------------------
### -- CSS::Module
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: lib/CSS/Module/CSS1/Metadata.rakumod
### ----------------------------------------------------
use v6;
#  -- DO NOT EDIT --
# generated by: make-modules.raku
use NativeCall;
use CSS::Module::Property;

module CSS::Module::CSS1::Metadata {
    BEGIN our $property = ${:background(${:children($["background-color", "background-image", "background-repeat", "background-attachment", "background-position"]), :inherit(Bool::False), :synopsis("'background-color' || 'background-image' || 'background-repeat' || 'background-attachment' || 'background-position'")}), :background-attachment(${:default($["scroll", [{:keyw("scroll")},]]), :inherit(Bool::False), :synopsis("scroll | fixed")}), :background-color(${:default($["transparent", [{:keyw("transparent")},]]), :inherit(Bool::False), :synopsis("<color> | transparent")}), :background-image(${:default($["none", [{:keyw("none")},]]), :inherit(Bool::False), :synopsis("<uri> | none")}), :background-position(${:default($["0\% 0\%", [{:percent(0)}, {:percent(0)}]]), :inherit(Bool::False), :synopsis("[<percentage> | <length> | <align> ] [ <percentage> | <length> | <valign> ]? | [ <valign> || <align> ]")}), :background-repeat(${:default($["repeat", [{:keyw("repeat")},]]), :inherit(Bool::False), :synopsis("repeat | repeat-x | repeat-y | no-repeat")}), :border(${:box(Bool::True), :children($["border-width", "border-style", "border-color"]), :edges($["border-top", "border-right", "border-bottom", "border-left"]), :inherit(Bool::False), :synopsis("'border-width' || 'border-style' || 'border-color'")}), :border-bottom(${:children($["border-bottom-width", "border-bottom-style"]), :edge("border"), :inherit(Bool::False), :synopsis("'border-bottom-width' || 'border-bottom-style' || <color>")}), :border-bottom-color(${:default($["the value of the 'color' property", Any]), :edge("border-color"), :synopsis("<color> | transparent")}), :border-bottom-style(${:default($["none", [{:keyw("none")},]]), :edge("border-style"), :inherit(Bool::False), :synopsis("[ none | dotted | dashed | solid | double | groove | ridge | inset | outset ]")}), :border-bottom-width(${:default($["medium", [{:keyw("medium")},]]), :edge("border-width"), :inherit(Bool::False), :synopsis("thin | medium | thick | <length>")}), :border-color(${:box(Bool::True), :edges($["border-top-color", "border-right-color", "border-bottom-color", "border-left-color"]), :inherit(Bool::False), :synopsis("<color>\{1,4}")}), :border-left(${:children($["border-left-width", "border-left-style"]), :edge("border"), :inherit(Bool::False), :synopsis("'border-left-width' || 'border-left-style' || <color>")}), :border-left-color(${:default($["the value of the 'color' property", Any]), :edge("border-color"), :synopsis("<color> | transparent")}), :border-left-style(${:default($["none", [{:keyw("none")},]]), :edge("border-style"), :inherit(Bool::False), :synopsis("[ none | dotted | dashed | solid | double | groove | ridge | inset | outset ]")}), :border-left-width(${:default($["medium", [{:keyw("medium")},]]), :edge("border-width"), :inherit(Bool::False), :synopsis("thin | medium | thick | <length>")}), :border-right(${:children($["border-right-width", "border-right-style"]), :edge("border"), :inherit(Bool::False), :synopsis("'border-right-width' || 'border-right-style' || <color>")}), :border-right-color(${:default($["the value of the 'color' property", Any]), :edge("border-color"), :synopsis("<color> | transparent")}), :border-right-style(${:default($["none", [{:keyw("none")},]]), :edge("border-style"), :inherit(Bool::False), :synopsis("[ none | dotted | dashed | solid | double | groove | ridge | inset | outset ]")}), :border-right-width(${:default($["medium", [{:keyw("medium")},]]), :edge("border-width"), :inherit(Bool::False), :synopsis("thin | medium | thick | <length>")}), :border-style(${:box(Bool::True), :edges($["border-top-style", "border-right-style", "border-bottom-style", "border-left-style"]), :inherit(Bool::False), :synopsis("[ none | dotted | dashed | solid | double | groove | ridge | inset | outset ]\{1,4}")}), :border-top(${:children($["border-top-width", "border-top-style"]), :edge("border"), :inherit(Bool::False), :synopsis("'border-top-width' || 'border-top-style' || <color>")}), :border-top-color(${:default($["the value of the 'color' property", Any]), :edge("border-color"), :synopsis("<color> | transparent")}), :border-top-style(${:default($["none", [{:keyw("none")},]]), :edge("border-style"), :inherit(Bool::False), :synopsis("[ none | dotted | dashed | solid | double | groove | ridge | inset | outset ]")}), :border-top-width(${:default($["medium", [{:keyw("medium")},]]), :edge("border-width"), :inherit(Bool::False), :synopsis("thin | medium | thick | <length>")}), :border-width(${:box(Bool::True), :edges($["border-top-width", "border-right-width", "border-bottom-width", "border-left-width"]), :inherit(Bool::False), :synopsis("[thin | medium | thick | <length>]\{1,4}")}), :clear(${:default($["none", [{:keyw("none")},]]), :inherit(Bool::False), :synopsis("none | left | right | both")}), :color(${:inherit(Bool::True), :synopsis("<color>")}), :display(${:default($["block", [{:keyw("block")},]]), :inherit(Bool::False), :synopsis("block | inline | list-item | none")}), :float(${:default($["none", [{:keyw("none")},]]), :inherit(Bool::False), :synopsis("left | right | none")}), :font(${:children($["font-style", "font-variant", "font-weight", "font-size", "line-height", "font-family"]), :inherit(Bool::True), :synopsis("[ 'font-style' || 'font-variant' || 'font-weight' ]? 'font-size' [ / 'line-height' ]? 'font-family'")}), :font-family(${:inherit(Bool::True), :synopsis("[ <generic-family> | <family-name> ]#")}), :font-size(${:default($["medium", [{:keyw("medium")},]]), :inherit(Bool::True), :synopsis("<absolute-size> | <relative-size> | <length> | <percentage>")}), :font-style(${:default($["normal", [{:keyw("normal")},]]), :inherit(Bool::True), :synopsis("normal | italic | oblique")}), :font-variant(${:default($["normal", [{:keyw("normal")},]]), :inherit(Bool::True), :synopsis("normal | small-caps")}), :font-weight(${:default($["normal", [{:keyw("normal")},]]), :inherit(Bool::True), :synopsis("normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900")}), :height(${:default($["auto", [{:keyw("auto")},]]), :inherit(Bool::False), :synopsis("<length> | <percentage> | auto")}), :left(${:default($["auto", [{:keyw("auto")},]]), :inherit(Bool::False), :synopsis("<length> | <percentage> | auto")}), :letter-spacing(${:default($["normal", [{:keyw("normal")},]]), :inherit(Bool::True), :synopsis("normal | <length>")}), :line-height(${:default($["normal", [{:keyw("normal")},]]), :inherit(Bool::True), :synopsis("normal | <number> | <length> | <percentage>")}), :list-style(${:children($["list-style-type", "list-style-image", "list-style-position"]), :inherit(Bool::True), :synopsis("'list-style-type' || 'list-style-image' || 'list-style-position'")}), :list-style-image(${:default($["none", [{:keyw("none")},]]), :inherit(Bool::True), :synopsis("<uri> | none")}), :list-style-position(${:default($["outside", [{:keyw("outside")},]]), :inherit(Bool::True), :synopsis("inside | outside")}), :list-style-type(${:default($["disc", [{:keyw("disc")},]]), :inherit(Bool::True), :synopsis("disc | circle | square | decimal | lower-roman | upper-roman | lower-alpha | upper-alpha | none")}), :margin(${:box(Bool::True), :edges($["margin-top", "margin-right", "margin-bottom", "margin-left"]), :inherit(Bool::False), :synopsis("[ <length> | <percentage> | auto ]\{1,4}")}), :margin-bottom(${:default($["0", [{:px(0)},]]), :edge("margin"), :inherit(Bool::False), :synopsis("<length> | <percentage> | auto")}), :margin-left(${:default($["0", [{:px(0)},]]), :edge("margin"), :inherit(Bool::False), :synopsis("<length> | <percentage> | auto")}), :margin-right(${:default($["0", [{:px(0)},]]), :edge("margin"), :inherit(Bool::False), :synopsis("<length> | <percentage> | auto")}), :margin-top(${:default($["0", [{:px(0)},]]), :edge("margin"), :inherit(Bool::False), :synopsis("<length> | <percentage> | auto")}), :overflow(${:default($["none", Any]), :inherit(Bool::False), :synopsis("none | clip | scroll")}), :padding(${:box(Bool::True), :edges($["padding-top", "padding-right", "padding-bottom", "padding-left"]), :inherit(Bool::False), :synopsis("[ <length> | <percentage> ]\{1,4}")}), :padding-bottom(${:default($["0", [{:px(0)},]]), :edge("padding"), :inherit(Bool::False), :synopsis("<length> | <percentage>")}), :padding-left(${:default($["0", [{:px(0)},]]), :edge("padding"), :inherit(Bool::False), :synopsis("<length> | <percentage>")}), :padding-right(${:default($["0", [{:px(0)},]]), :edge("padding"), :inherit(Bool::False), :synopsis("<length> | <percentage>")}), :padding-top(${:default($["0", [{:px(0)},]]), :edge("padding"), :inherit(Bool::False), :synopsis("<length> | <percentage>")}), :page-break-after(${:default($["auto", [{:keyw("auto")},]]), :inherit(Bool::False), :synopsis("auto | allways | left | right")}), :page-break-before(${:default($["auto", [{:keyw("auto")},]]), :inherit(Bool::False), :synopsis("auto | allways | left | right")}), :position(${:default($["static", [{:keyw("static")},]]), :inherit(Bool::False), :synopsis("absolute | relative | static")}), :size(${:default($["auto", [{:keyw("auto")},]]), :synopsis("<length>\{1,2} | auto | portrait | landscape")}), :text-align(${:inherit(Bool::True), :synopsis("<align> | justify")}), :text-decoration(${:default($["none", [{:keyw("none")},]]), :inherit(Bool::False), :synopsis("none | [ underline || overline || line-through || blink ]")}), :text-indent(${:default($["0", [{:px(0)},]]), :inherit(Bool::True), :synopsis("<length> | <percentage>")}), :text-transform(${:default($["none", [{:keyw("none")},]]), :inherit(Bool::True), :synopsis("capitalize | uppercase | lowercase | none")}), :top(${:default($["auto", [{:keyw("auto")},]]), :inherit(Bool::False), :synopsis("<length> | <percentage> | auto")}), :vertical-align(${:default($["baseline", [{:keyw("baseline")},]]), :inherit(Bool::False), :synopsis("baseline | sub | super | top | text-top | middle | bottom | text-bottom | <percentage>")}), :visibility(${:default($["inherit", [:keyw("inherit")]]), :synopsis("inherit | visible | hidden")}), :white-space(${:default($["normal", [{:keyw("normal")},]]), :inherit(Bool::True), :synopsis("normal | pre | nowrap")}), :width(${:default($["auto", [{:keyw("auto")},]]), :inherit(Bool::False), :synopsis("<length> | <percentage> | auto")}), :word-spacing(${:default($["normal", [{:keyw("normal")},]]), :inherit(Bool::True), :synopsis("normal | <length>")}), :z-index(${:default($["auto", [{:keyw("auto")},]]), :inherit(Bool::False), :synopsis("auto | <integer>")})};
    our enum prop-names <background background-attachment background-color background-image background-position background-repeat border border-bottom border-bottom-color border-bottom-style border-bottom-width border-color border-left border-left-color border-left-style border-left-width border-right border-right-color border-right-style border-right-width border-style border-top border-top-color border-top-style border-top-width border-width clear color display float font font-family font-size font-style font-variant font-weight height left letter-spacing line-height list-style list-style-image list-style-position list-style-type margin margin-bottom margin-left margin-right margin-top overflow padding padding-bottom padding-left padding-right padding-top page-break-after page-break-before position size text-align text-decoration text-indent text-transform top vertical-align visibility white-space width word-spacing z-index>;
    our sub index {
        state $ //= do {
            my $enums := prop-names.enums;
            CArray[CSS::Module::Property].new: |$property.sort.map({CSS::Module::Property.new(:$enums, name => .key, |.value)});
        }
    }
}



