Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-layout-kit

arvinxx192.7kMIT1.9.1TypeScript support: included

a npm develop template

react, layout, flexbox

readme

react-layout-kit

NPM version NPM downloads install size

Test CI status Deploy CI Coverage

docs by dumi Build With father

简介

快速上手

安装

推荐使用 pnpm 安装

pnpm i react-layout-kit -S

使用

核心功能简介

场景介绍

消费场景一

消费场景二

License

MIT

changelog

Changelog

Version 1.9.1

Released on 2024-12-02


<summary><kbd>Improvements and Fixes</kbd></summary>

Version 1.9.0

Released on 2024-03-18

✨ 新特性

  • Support flex wrap.

<summary><kbd>Improvements and Fixes</kbd></summary>

What's improved

Version 1.8.0

Released on 2024-03-18

✨ 新特性

  • Support rsc.

🐛 修复

  • Fix docs and code about direction type desc.

<summary><kbd>Improvements and Fixes</kbd></summary>

What's improved

What's fixed

  • Fix docs and code about direction type desc, closes #3 (89d2259)

Version 1.7.4

Released on 2023-09-25

🐛 修复

  • Fix flexbox types.

<summary><kbd>Improvements and Fixes</kbd></summary>

What's fixed

Version 1.7.3

Released on 2023-09-24

🐛 修复

  • Fix flexbox div type.

<summary><kbd>Improvements and Fixes</kbd></summary>

What's fixed

Version 1.7.2

Released on 2023-09-17

🐛 修复

  • Justify content types.

<summary><kbd>Improvements and Fixes</kbd></summary>

What's fixed

Version 1.7.1

Released on 2023-08-13

🐛 修复

  • Fix ref error warning.

<summary><kbd>Improvements and Fixes</kbd></summary>

What's fixed

1.7.0 (2023-04-27)

✨ 新特性

1.6.1 (2023-04-09)

1.6.0 (2023-03-28)

✨ 新特性

  • 支持 padding inline 和 padding block 属性 (6b8638a)

🐛 修复

  • 修正 className 插入顺序问题 (b637326)
  • 修正 className 插入顺序问题实现 (0c17a0c)

1.5.1 (2023-03-11)

🐛 修复

  • 修正 cjs 模块打包后在 react18 中无法正常使用的问题 (4596c19)

1.5.0 (2023-03-11)

✨ 新特性

  • 同时构建 esm 与 cjs 模块 (eea4316)

1.4.1 (2023-02-22)

🐛 修复

  • 使用默认 emotion css,解决 ssr 需要额外 cache 的问题 (9df1b68)

1.4.0 (2023-01-24)

✨ Features

1.3.1 (2023-01-21)

🐛 Bug Fixes

  • 修正 Center 组件无法设定方向的问题 (79f828e)

1.3.0 (2023-01-21)

✨ Features

  • 支持 justify 属性设置 (37023c4)

1.2.5 (2023-01-14)

🐛 Bug Fixes

  • 修正垂直方向额外出现的 margin-bottom 属性 (a48314e)

1.2.4 (2023-01-08)

🐛 Bug Fixes

  • 修正 layout-kit 的 classname 和之前的一致 (d727bde)

1.2.3 (2023-01-06)

🐛 Bug Fixes

  • 使用 emoiton 原始依赖替换 antd-style (083b136)

1.2.2 (2023-01-06)

🐛 Bug Fixes

1.2.1 (2023-01-06)

1.2.0 (2023-01-06)

✨ Features

  • 使用 antd-style 实现布局组件 (4a0d057)

1.1.1 (2022-12-17)

🐛 Bug Fixes

  • 修正类型不正确的问题 (57b948c)

1.1.0 (2022-12-17)

✨ Features

  • 使用 gap 替换伪元素选择器实现 gap (23223a5)

1.0.0 (2022-12-17)

✨ Features

  • 增加 Flexbox 组件和 Center 组件 (15d64e8)