1#![allow(warnings)]
5mod impls;
8use super::prelude::*;
9use impls::*;
10#[syntax(" content | <'width'> ")]
69#[derive(
70 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
71)]
72#[declaration_metadata(
73 initial = "auto",
74 applies_to = Unknown,
75 animation_type = ByComputedValue,
76 percentages = FlexContainer,
77 shorthand_group = Flex,
78 property_group = Flexbox,
79 computed_value_type = Unknown,
80 canonical_order = "per grammar",
81)]
82#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
83#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.flex-basis"))]
84#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
85#[derive(csskit_derives::NodeWithMetadata)]
86pub enum FlexBasisStyleValue {}
87
88#[syntax(" row | row-reverse | column | column-reverse ")]
100#[derive(
101 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
102)]
103#[declaration_metadata(
104 initial = "row",
105 applies_to = Flex,
106 animation_type = Discrete,
107 shorthand_group = FlexFlow,
108 property_group = Flexbox,
109 computed_value_type = Unknown,
110 canonical_order = "per grammar",
111)]
112#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
113#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.flex-direction"))]
114#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
115#[derive(csskit_derives::NodeWithMetadata)]
116pub enum FlexDirectionStyleValue {}
117
118#[syntax(" <'flex-direction'> || <'flex-wrap'> ")]
130#[derive(
131 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
132)]
133#[declaration_metadata(
134 initial = "see individual properties",
135 inherits = Unknown,
136 applies_to = Unknown,
137 animation_type = Unknown,
138 percentages = Unknown,
139 longhands = FlexDirection|FlexWrap,
140 property_group = Flexbox,
141 computed_value_type = Unknown,
142 canonical_order = "per grammar",
143)]
144#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
145#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.flex-flow"))]
146#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
147#[derive(csskit_derives::NodeWithMetadata)]
148pub struct FlexFlowStyleValue;
149
150#[syntax(" <number [0,∞]> ")]
162#[derive(
163 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
164)]
165#[declaration_metadata(
166 initial = "0",
167 applies_to = Unknown,
168 animation_type = ByComputedValue,
169 shorthand_group = Flex,
170 property_group = Flexbox,
171 computed_value_type = Unknown,
172 canonical_order = "per grammar",
173)]
174#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
175#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.flex-grow"))]
176#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
177#[derive(csskit_derives::NodeWithMetadata)]
178pub struct FlexGrowStyleValue;
179
180#[syntax(" <number [0,∞]> ")]
192#[derive(
193 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
194)]
195#[declaration_metadata(
196 initial = "1",
197 applies_to = Unknown,
198 animation_type = Number,
199 shorthand_group = Flex,
200 property_group = Flexbox,
201 computed_value_type = AsSpecified,
202 canonical_order = "per grammar",
203)]
204#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
205#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.flex-shrink"))]
206#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
207#[derive(csskit_derives::NodeWithMetadata)]
208pub struct FlexShrinkStyleValue;
209
210#[syntax(" nowrap | wrap | wrap-reverse ")]
222#[derive(
223 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
224)]
225#[declaration_metadata(
226 initial = "nowrap",
227 applies_to = Flex,
228 animation_type = Discrete,
229 shorthand_group = FlexFlow,
230 property_group = Flexbox,
231 computed_value_type = Unknown,
232 canonical_order = "per grammar",
233)]
234#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
235#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.flex-wrap"))]
236#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
237#[derive(csskit_derives::NodeWithMetadata)]
238pub enum FlexWrapStyleValue {}