@next-bricks/basic-bricks 1.179.6 → 1.179.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/stories.json
CHANGED
|
@@ -4555,7 +4555,7 @@
|
|
|
4555
4555
|
"author": "steve",
|
|
4556
4556
|
"slots": null,
|
|
4557
4557
|
"history": null,
|
|
4558
|
-
"memo": "###
|
|
4558
|
+
"memo": "### 响应式布局说明\n\nBootstrap 等 UI 框架是移动优先的设计,它们的响应式为默认匹配小屏幕,并由小到大适配。而 EasyOps 平台以 PC 优先,并由大到小适配。这里我们针对常见桌面显示器大小,分为以下五档(屏幕宽度):\n\n- `xSmall`:<= 1024px (老式投影仪)\n- `small`:<= 1280px (13 寸笔记本)\n- `medium`:<= 1600px (中等显示器)\n- `large`:<= 1920px (大号显示器)\n- 其它:超大显示器\n\n例如以下设置:\n\n```json\n{\n \"columns\": 3,\n \"responsive\": {\n \"medium\": {\n \"columns\": 2\n },\n \"small\": {\n \"columns\": 1\n }\n }\n}\n```\n\n在 `> 1600px` 的屏幕上时将显示为三列,`<= 1600px && > 1280px` 时显示两列,更小的屏幕显示为一列。",
|
|
4559
4559
|
"properties": [
|
|
4560
4560
|
{
|
|
4561
4561
|
"name": "columns",
|
|
@@ -4594,7 +4594,76 @@
|
|
|
4594
4594
|
"description": "响应式布局设置"
|
|
4595
4595
|
}
|
|
4596
4596
|
],
|
|
4597
|
-
"interface": [
|
|
4597
|
+
"interface": [
|
|
4598
|
+
{
|
|
4599
|
+
"name": "ResponsiveSettings",
|
|
4600
|
+
"typeParameter": null,
|
|
4601
|
+
"kind": "interface",
|
|
4602
|
+
"children": [
|
|
4603
|
+
{
|
|
4604
|
+
"name": "large",
|
|
4605
|
+
"type": "GridSettings",
|
|
4606
|
+
"required": false,
|
|
4607
|
+
"description": ""
|
|
4608
|
+
},
|
|
4609
|
+
{
|
|
4610
|
+
"name": "medium",
|
|
4611
|
+
"type": "GridSettings",
|
|
4612
|
+
"required": false,
|
|
4613
|
+
"description": ""
|
|
4614
|
+
},
|
|
4615
|
+
{
|
|
4616
|
+
"name": "small",
|
|
4617
|
+
"type": "GridSettings",
|
|
4618
|
+
"required": false,
|
|
4619
|
+
"description": ""
|
|
4620
|
+
},
|
|
4621
|
+
{
|
|
4622
|
+
"name": "xSmall",
|
|
4623
|
+
"type": "GridSettings",
|
|
4624
|
+
"required": false,
|
|
4625
|
+
"description": ""
|
|
4626
|
+
}
|
|
4627
|
+
]
|
|
4628
|
+
},
|
|
4629
|
+
{
|
|
4630
|
+
"name": "GridSettings",
|
|
4631
|
+
"typeParameter": null,
|
|
4632
|
+
"kind": "interface",
|
|
4633
|
+
"children": [
|
|
4634
|
+
{
|
|
4635
|
+
"name": "columnSpan",
|
|
4636
|
+
"type": "number",
|
|
4637
|
+
"required": false,
|
|
4638
|
+
"description": ""
|
|
4639
|
+
},
|
|
4640
|
+
{
|
|
4641
|
+
"name": "columns",
|
|
4642
|
+
"type": "number",
|
|
4643
|
+
"required": false,
|
|
4644
|
+
"description": ""
|
|
4645
|
+
},
|
|
4646
|
+
{
|
|
4647
|
+
"name": "rowSpan",
|
|
4648
|
+
"type": "number",
|
|
4649
|
+
"required": false,
|
|
4650
|
+
"description": ""
|
|
4651
|
+
},
|
|
4652
|
+
{
|
|
4653
|
+
"name": "rows",
|
|
4654
|
+
"type": "number",
|
|
4655
|
+
"required": false,
|
|
4656
|
+
"description": ""
|
|
4657
|
+
},
|
|
4658
|
+
{
|
|
4659
|
+
"name": "templateColumns",
|
|
4660
|
+
"type": "string",
|
|
4661
|
+
"required": false,
|
|
4662
|
+
"description": ""
|
|
4663
|
+
}
|
|
4664
|
+
]
|
|
4665
|
+
}
|
|
4666
|
+
]
|
|
4598
4667
|
}
|
|
4599
4668
|
},
|
|
4600
4669
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/basic-bricks",
|
|
3
|
-
"version": "1.179.
|
|
3
|
+
"version": "1.179.7",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-basics/tree/master/bricks/basic-bricks",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"immutability-helper": "^3.1.1"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": true,
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "955c00295ef7aba54af3b0056e15e09087518e30"
|
|
43
43
|
}
|