UNPKG

@wix/css-property-parser

Version:

A comprehensive TypeScript library for parsing and serializing CSS property values with full MDN specification compliance

126 lines (125 loc) 14.7 kB
export * as Width from './evaluators/width'; export * as Height from './evaluators/height'; export * as NumberEvaluator from './evaluators/number'; export * as LengthEvaluator from './evaluators/length'; export * as LengthPercentage from './evaluators/length-percentage'; export * as AngleEvaluator from './evaluators/angle'; export * as Color from './evaluators/color'; export * as Position from './evaluators/position'; export * as PercentageEvaluator from './evaluators/percentage'; export * as StringEvaluator from './evaluators/string'; export * as TimeEvaluator from './evaluators/time'; export * as CssVariable from './evaluators/css-variable'; export * as BlendMode from './evaluators/blend-mode'; export * as AlignItems from './evaluators/align-items'; export * as AlignSelf from './evaluators/align-self'; export * as Background from './evaluators/background'; export * as BlockSize from './evaluators/block-size'; export * as Border from './evaluators/border'; export * as BorderBlock from './evaluators/border-block'; export * as BorderBlockEnd from './evaluators/border-block-end'; export * as BorderBlockEndColor from './evaluators/border-block-end-color'; export * as BorderBlockEndStyle from './evaluators/border-block-end-style'; export * as BorderBlockEndWidth from './evaluators/border-block-end-width'; export * as BorderBlockStart from './evaluators/border-block-start'; export * as BorderBlockStartColor from './evaluators/border-block-start-color'; export * as BorderBlockStartStyle from './evaluators/border-block-start-style'; export * as BorderBlockStartWidth from './evaluators/border-block-start-width'; export * as BorderBottom from './evaluators/border-bottom'; export * as BorderBottomColor from './evaluators/border-bottom-color'; export * as BorderBottomStyle from './evaluators/border-bottom-style'; export * as BorderBottomWidth from './evaluators/border-bottom-width'; export * as BorderColor from './evaluators/border-color'; export * as BorderEndEndRadius from './evaluators/border-end-end-radius'; export * as BorderEndStartRadius from './evaluators/border-end-start-radius'; export * as BorderInline from './evaluators/border-inline'; export * as BorderInlineEnd from './evaluators/border-inline-end'; export * as BorderInlineEndColor from './evaluators/border-inline-end-color'; export * as BorderInlineEndStyle from './evaluators/border-inline-end-style'; export * as BorderInlineEndWidth from './evaluators/border-inline-end-width'; export * as BorderInlineStart from './evaluators/border-inline-start'; export * as BorderInlineStartColor from './evaluators/border-inline-start-color'; export * as BorderInlineStartStyle from './evaluators/border-inline-start-style'; export * as BorderInlineStartWidth from './evaluators/border-inline-start-width'; export * as BorderLeft from './evaluators/border-left'; export * as BorderLeftColor from './evaluators/border-left-color'; export * as BorderLeftStyle from './evaluators/border-left-style'; export * as BorderLeftWidth from './evaluators/border-left-width'; export * as BorderRadius from './evaluators/border-radius'; export * as BorderRight from './evaluators/border-right'; export * as BorderRightColor from './evaluators/border-right-color'; export * as BorderRightStyle from './evaluators/border-right-style'; export * as BorderRightWidth from './evaluators/border-right-width'; export * as BorderStartEndRadius from './evaluators/border-start-end-radius'; export * as BorderStartStartRadius from './evaluators/border-start-start-radius'; export * as BorderStyle from './evaluators/border-style'; export * as BorderTop from './evaluators/border-top'; export * as BorderTopColor from './evaluators/border-top-color'; export * as BorderTopStyle from './evaluators/border-top-style'; export * as BorderTopWidth from './evaluators/border-top-width'; export * as BorderWidth from './evaluators/border-width'; export * as BoxShadow from './evaluators/box-shadow'; export * as ColumnGap from './evaluators/column-gap'; export * as Display from './evaluators/display'; export * as FlexDirection from './evaluators/flex-direction'; export * as Font from './evaluators/font'; export * as FontSize from './evaluators/font-size'; export * as FontStretch from './evaluators/font-stretch'; export * as FontStyle from './evaluators/font-style'; export * as FontVariant from './evaluators/font-variant'; export * as FontWeight from './evaluators/font-weight'; export * as FontFamily from './evaluators/font-family'; export * as Gap from './evaluators/gap'; export * as GridArea from './evaluators/grid-area'; export * as GridColumn from './evaluators/grid-column'; export * as GridColumnGap from './evaluators/grid-column-gap'; export * as GridGap from './evaluators/grid-gap'; export * as GridRow from './evaluators/grid-row'; export * as GridRowGap from './evaluators/grid-row-gap'; export * as GridTemplate from './evaluators/grid-template'; export * as GridTemplateColumns from './evaluators/grid-template-columns'; export * as GridTemplateRows from './evaluators/grid-template-rows'; export * as InlineSize from './evaluators/inline-size'; export * as JustifyContent from './evaluators/justify-content'; export * as LetterSpacing from './evaluators/letter-spacing'; export * as LineHeight from './evaluators/line-height'; export * as Margin from './evaluators/margin'; export * as MarginBottom from './evaluators/margin-bottom'; export * as MarginInlineEnd from './evaluators/margin-inline-end'; export * as MarginInlineStart from './evaluators/margin-inline-start'; export * as MarginLeft from './evaluators/margin-left'; export * as MarginRight from './evaluators/margin-right'; export * as MarginTop from './evaluators/margin-top'; export * as MaxBlockSize from './evaluators/max-block-size'; export * as MaxHeight from './evaluators/max-height'; export * as MaxInlineSize from './evaluators/max-inline-size'; export * as MaxWidth from './evaluators/max-width'; export * as MinBlockSize from './evaluators/min-block-size'; export * as MinHeight from './evaluators/min-height'; export * as MinInlineSize from './evaluators/min-inline-size'; export * as MinWidth from './evaluators/min-width'; export * as ObjectFit from './evaluators/object-fit'; export * as ObjectPosition from './evaluators/object-position'; export * as Opacity from './evaluators/opacity'; export * as OverflowWrap from './evaluators/overflow-wrap'; export * as Overflow from './evaluators/overflow'; export * as Padding from './evaluators/padding'; export * as PaddingBottom from './evaluators/padding-bottom'; export * as PaddingInlineEnd from './evaluators/padding-inline-end'; export * as PaddingInlineStart from './evaluators/padding-inline-start'; export * as PaddingLeft from './evaluators/padding-left'; export * as PaddingRight from './evaluators/padding-right'; export * as PaddingTop from './evaluators/padding-top'; export * as RowGap from './evaluators/row-gap'; export * as TextAlign from './evaluators/text-align'; export * as TextDecoration from './evaluators/text-decoration'; export * as TextIndent from './evaluators/text-indent'; export * as TextOverflow from './evaluators/text-overflow'; export * as TextShadow from './evaluators/text-shadow'; export * as TextTransform from './evaluators/text-transform'; export * as Visibility from './evaluators/visibility'; export * as WhiteSpace from './evaluators/white-space'; export * as WordBreak from './evaluators/word-break'; export * as WritingMode from './evaluators/writing-mode'; export * as ZIndex from './evaluators/z-index'; export type { FONT_STYLE_KEYWORDS, FONT_VARIANT_KEYWORDS, FONT_WEIGHT_KEYWORDS, FONT_STRETCH_KEYWORDS, FONT_SIZE_KEYWORDS, SYSTEM_FONT_KEYWORDS, TEXT_ALIGN_KEYWORDS, TEXT_TRANSFORM_KEYWORDS, TEXT_DECORATION_LINE_KEYWORDS, TEXT_DECORATION_STYLE_KEYWORDS, TEXT_DECORATION_THICKNESS_KEYWORDS, LETTER_SPACING_KEYWORDS, TEXT_OVERFLOW_KEYWORDS, OBJECT_FIT_KEYWORDS, TEXT_INDENT_KEYWORDS, WHITE_SPACE_KEYWORDS, WORD_BREAK_KEYWORDS, OVERFLOW_WRAP_KEYWORDS, WRITING_MODE_KEYWORDS, BOX_KEYWORDS, BACKGROUND_ATTACHMENT_KEYWORDS, BACKGROUND_REPEAT_KEYWORDS, BACKGROUND_SIZE_KEYWORDS, BACKGROUND_COLOR_KEYWORDS, BACKGROUND_IMAGE_KEYWORDS, BORDER_STYLE_KEYWORDS, BORDER_WIDTH_KEYWORDS, FLEX_DIRECTION_KEYWORDS, BASIC_ALIGNMENT_KEYWORDS, BASIC_ALIGNMENT_WITH_AUTO_KEYWORDS, POSITIONAL_ALIGNMENT_KEYWORDS, BASELINE_ALIGNMENT_KEYWORDS, OVERFLOW_ALIGNMENT_KEYWORDS, SIZING_KEYWORDS, AUTO_KEYWORD, NONE_KEYWORD, BASIC_SIZING_KEYWORDS, MAX_SIZING_KEYWORDS, JUSTIFY_CONTENT_NORMAL_KEYWORDS, JUSTIFY_CONTENT_DISTRIBUTED_KEYWORDS, DISPLAY_KEYWORDS, OVERFLOW_KEYWORDS, VISIBILITY_KEYWORDS, Z_INDEX_KEYWORDS, GRID_TRACK_SIZING_KEYWORDS, GRID_TEMPLATE_KEYWORDS, GRID_COLUMN_KEYWORDS, GRID_ROW_KEYWORDS, ANCHOR_SIZE_KEYWORDS, GlobalKeyword, CSSFunctionName, CSSFunctionExpression, NumberValue, NumberKeyword, Number, LengthValue, LengthCalcExpression, Length, PercentageValue, PercentageCalcExpression, Percentage, AngleValue, AngleUnit, Angle, AngleCalcExpression, TimeValue, TimeUnit, Time, TimeCalcExpression, StringValue, CSSString, CSSVariableValue, CSSVariable, CSSLengthValue, CSSPercentageValue, CSSLengthPercentageValue, CSSNumberValue, CSSAngleValue, CSSTimeValue, CSSStringValue, CSSColorValue, CSSPositionValue, CSSBlendModeValue, CSSFunction, CSSFlexValue, AnchorName, AnchorSizeKeyword, AnchorSizeFunction, AnchorSizeValue, AutoKeyword, NormalKeyword, NoneKeyword, MaxContentKeyword, MinContentKeyword, FitContentKeyword, FillAvailableKeyword, AvailableKeyword, ContentSizingKeyword, BorderBoxKeyword, PaddingBoxKeyword, ContentBoxKeyword, BoxKeyword, CenterKeyword, StartKeyword, EndKeyword, LeftKeyword, RightKeyword, TopKeyword, BottomKeyword, SafeKeyword, UnsafeKeyword, BaselineKeyword, FirstBaselineKeyword, LastBaselineKeyword, StretchKeyword, BoldKeyword, BolderKeyword, LighterKeyword, ItalicKeyword, ObliqueKeyword, ThinKeyword, MediumKeyword, ThickKeyword, RepeatKeyword, SpaceKeyword, RoundKeyword, NoRepeatKeyword, GlobalOnlyKeyword, NormalGlobalKeyword, NoneGlobalKeyword, BoxGlobalKeyword, SizingGlobalKeyword, AutoContentSizingGlobalKeyword, NoneContentSizingGlobalKeyword, BasicAlignmentKeyword, PositionalAlignmentKeyword, BaselineAlignmentKeyword, OverflowAlignmentKeyword, AlignmentKeyword, AlignItemsKeyword, AlignSelfKeyword, JustifyContentDistributedKeyword, JustifyContentKeyword, JustifyContentKeywordValue, FlexDirectionKeyword, FlexDirectionKeywordValue, SizingKeyword, HeightKeyword, WidthKeyword, MaxHeightKeyword, MaxWidthKeyword, MinHeightKeyword, MinWidthKeyword, InlineSizeKeyword, BlockSizeKeyword, MinInlineSizeKeyword, MinBlockSizeKeyword, MaxInlineSizeKeyword, MaxBlockSizeKeyword, ColumnGapKeyword, RowGapKeyword, GapKeyword, GapExpanded, MarginKeyword, MarginExpanded, PaddingKeyword, PaddingExpanded, OpacityKeyword, LetterSpacingKeyword, LineHeightKeyword, TextAlignKeyword, TextAlignKeywordValue, TextTransformKeyword, TextTransformKeywordValue, BorderRadiusKeyword, BorderRadiusExpanded, BackgroundAttachmentKeyword, BackgroundAttachmentKeywordValue, BackgroundClipKeyword, BackgroundColorKeyword, BackgroundImageKeyword, BackgroundImageUrl, BackgroundImageGradient, BackgroundOriginKeyword, BackgroundPositionKeyword, BackgroundRepeatKeyword, BackgroundRepeatKeywordValue, BackgroundSizeKeyword, BackgroundSizeKeywordValue, BackgroundSizeValues, BackgroundExpanded, BackgroundKeyword, BackgroundMultiLayer, BorderWidthKeyword, BorderWidthKeywordValue, BorderStyleKeyword, BorderStyleKeywordValue, BorderColorKeyword, BorderWidthExpanded, BorderStyleExpanded, BorderColorExpanded, BorderExpanded, BorderIndividualExpanded, BorderIndividualValue, FontStyleKeyword, FontStyleKeywordValue, FontStyleAngleValue, FontVariantKeyword, FontVariantKeywordValue, FontWeightKeyword, FontWeightKeywordValue, FontWeightNumberValue, FontStretchKeyword, FontStretchKeywordValue, FontSizeKeyword, FontSizeKeywordValue, FontFamilyValue, FontFamilyValueWithVariables, FontExpanded, SystemFontKeyword, FontSystemKeyword, TextDecorationLine, TextDecorationStyle, TextDecorationThicknessKeyword, TextDecorationLineKeyword, TextDecorationLineGlobalKeyword, TextDecorationStyleKeyword, TextDecorationThicknessKeywordValue, TextDecorationColorKeyword, TextDecorationExpanded, TextShadowComponent, TextShadowKeyword, TextShadowExpanded, BoxShadowComponent, BoxShadowKeyword, BoxShadowExpanded, SizingBase, BorderRadiusBase, GapBase, LogicalSpacingBase, KeywordVariableBase, FontSizingBase, HeightValue, WidthValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, InlineSizeValue, BlockSizeValue, MinInlineSizeValue, MinBlockSizeValue, MaxInlineSizeValue, MaxBlockSizeValue, OpacityValue, LetterSpacingValue, LineHeightValue, TextAlignValue, TextTransformValue, TextIndentValue, TextOverflowValue, WhiteSpaceValue, WordBreakValue, OverflowWrapValue, VisibilityValue, ZIndexValue, ObjectFitValue, WritingModeValue, FlexDirectionValue, AlignItemsValue, AlignSelfValue, JustifyContentValue, DisplayValue, OverflowValue, ColumnGapValue, RowGapValue, GapValue, MarginValue, PaddingValue, MarginInput, PaddingInput, BorderValue, BorderWidthValue, BorderStyleValue, BorderColorValue, BorderRadiusValue, BorderStartStartRadiusValue, BorderStartEndRadiusValue, BorderEndStartRadiusValue, BorderEndEndRadiusValue, BorderInlineStartWidthValue, BorderInlineEndWidthValue, BorderBlockStartWidthValue, BorderBlockEndWidthValue, BorderInlineStartStyleValue, BorderInlineEndStyleValue, BorderBlockStartStyleValue, BorderBlockEndStyleValue, BorderInlineStartColorValue, BorderInlineEndColorValue, BorderBlockStartColorValue, BorderBlockEndColorValue, BorderInlineStartValue, BorderInlineEndValue, BorderBlockStartValue, BorderBlockEndValue, BorderInlineValue, BorderBlockValue, MarginInlineStartValue, MarginInlineEndValue, PaddingInlineStartValue, PaddingInlineEndValue, BackgroundAttachmentValue, BackgroundClipValue, BackgroundColorValue, BackgroundImageValue, BackgroundOriginValue, PositionValue, BlendModeValue, BackgroundPositionValue, BackgroundRepeatValue, BackgroundSizeValue, BackgroundValue, FontStyleValue, FontVariantValue, FontWeightValue, FontStretchValue, FontSizeValue, FontValue, TextDecorationValue, TextShadowValue, BoxShadowValue, GridColumnGapValue, GridRowGapValue, GridGapValue, GridTrackSizingKeyword, GridTemplateKeyword, GridColumnKeyword, GridRowKeyword, GridLineName, GridTrackSize, GridMinMaxFunction, GridFitContentFunction, GridRepeatFunction, GridTrackListItem, GridTemplateColumnsValue, GridTemplateColumnsValueUnion, GridTemplateRowsValue, GridTemplateWithAreasValue, GridLineValue, GridColumnValue, GridRowValue, GridAreaValue, GridTemplateAreasValue, GridTemplateValue, LengthPercentageValue, ColorValue, AtomicValue, PropertyValue } from './types';