包详细信息

@native-html/css-processor

native-html1.1mMIT1.11.0

An inline CSS processor to translate CSS properties to React Native styles.

react-native, react-native-render-html, CSS

自述文件

更新日志

1.11.0 (2021-09-05)

Features

  • css-processor: support user-select CSS property (079a1ec)

1.10.2 (2021-07-19)

Bug Fixes

  • css-processor: explicitly depend on csstype (87f8aa9)

1.10.1 (2021-07-07)

Bug Fixes

  • css-processor: allow spaces in CSS color functions such as rgb(...) (dc71e4a)

1.10.0 (2021-07-01)

Features

  • css-processor: export missing types (2f82497)

1.9.0 (2021-05-18)

Features

  • css-processor: support objectFit CSS property (2d5c242)

1.8.1 (2021-05-12)

Bug Fixes

  • css: line-height validator should discard percent units (dd09f98)

1.8.0 (2021-05-07)

Features

  • support metro bundler react-native package.json field (ef33150)

1.7.0 (2021-05-05)

Bug Fixes

  • css-processor: ts error after upgrade to 4.2 (92204fe)

Features

  • css-processor: allow null in merge methods (e4ad071)

Performance Improvements

  • tre: multiply translate speed by 30% with prototypal inheritance (c5a596c)

1.6.1 (2020-11-30)

Bug Fixes

  • css-processor: discard special methods (var, calc) (2969a10)

1.6.0 (2020-11-25)

Features

  • css-processor: support flex CSS properties (aafa8e6)

1.5.2 (2020-11-23)

Bug Fixes

  • css-processor: border-radius and border-width should not be set in % (6e1e24c)

1.5.1 (2020-11-21)

Bug Fixes

  • css-processor: floating point numbers such as .67 (ef8a9a4)

1.5.0 (2020-11-21)

Bug Fixes

  • css-processor: change types of MixedStyleDeclaration fields (40a4d41)

Features

  • css-processor: handle % fontSize as per CSS standard (17694db)

1.4.0 (2020-11-20)

Bug Fixes

  • css-processor: add string to fontSize type (CSSFlattenProcessedTypes) (b54ab4e)

Features

  • css-processor: support 'larger' and 'smaller' fontSize units (f2542f5)

Performance Improvements

  • css-processor: ignore 'empty' fonts from list (5ff35c2)

1.3.0 (2020-11-19)

Features

  • css-processor: allow top, right, bottom and left CSS properties (fed4e3e)
  • css-processor: support em (legacy mode) and rem units (f363b95)

1.2.0 (2020-11-17)

Features

  • css-processor: export CSSListStyleTypePropertyBase (4104fef)

1.1.0 (2020-11-17)

Features

  • css-processor: support list-style-type CSS property (65dc56a)

1.0.1 (2020-11-16)

Bug Fixes

  • css-processor: replace Object.assign with spread operator (0835dc1)

1.0.0 (2020-11-16)

Features

  • css-processor: add CSSProcessedPropsRegistry#merge method (9b88c03)
  • css-processor: add ignoredProperties option to CSSProcessorConfig (d5d2023)
  • css-processor: add refined types to CSSProcessedPropsRegistry (d8e1f29)
  • css-processor: added inlinePropertiesWhitelist config option (ab3c4a0)
  • css-processor: allow partial config for ctor of CSSProcessor (ab17920)
  • css-processor: implement compileStyleDeclaration (bd69ab0)
  • css-processor: predictable support for native styles (40ab209)
  • css-processor: strict validation of "display" property (3c192a3)
  • transient-render-tree: support TNode style inheritance (20a08b3)
  • initial commit (cb5489d)