@next-bricks/basic-bricks 1.218.0 → 1.218.2

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
@@ -5401,6 +5401,20 @@
5401
5401
  "required": true,
5402
5402
  "default": "\"var(--page-card-gap)\"",
5403
5403
  "description": "子元素之间的间距"
5404
+ },
5405
+ {
5406
+ "name": "showGridBorder",
5407
+ "type": "Boolean",
5408
+ "required": true,
5409
+ "default": "false",
5410
+ "description": "网格布局边框"
5411
+ },
5412
+ {
5413
+ "name": "gridBorderColor",
5414
+ "type": "string",
5415
+ "required": true,
5416
+ "default": "#454547",
5417
+ "description": "网格布局边框颜色"
5404
5418
  }
5405
5419
  ],
5406
5420
  "interface": [
@@ -9191,5 +9205,201 @@
9191
9205
  ],
9192
9206
  "interface": []
9193
9207
  }
9208
+ },
9209
+ {
9210
+ "storyId": "basic-bricks.general-text",
9211
+ "category": "interact-basic",
9212
+ "type": "brick",
9213
+ "author": "derrickma",
9214
+ "text": {
9215
+ "en": "General text",
9216
+ "zh": "通用文本"
9217
+ },
9218
+ "description": {
9219
+ "en": "General text",
9220
+ "zh": "通用文本"
9221
+ },
9222
+ "icon": {
9223
+ "imgSrc": "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%22105px%22%20height%3D%2255px%22%20viewBox%3D%220%200%20105%2055%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E6%96%87%E5%AD%97%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22nora%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22-%E6%9E%84%E4%BB%B6%E6%A6%82%E8%A7%88%E5%9B%BE%E5%8D%81%22%20transform%3D%22translate%28-519.000000%2C%20-353.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%96%87%E5%AD%97%22%20transform%3D%22translate%28519.000000%2C%20353.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-22%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22105%22%20height%3D%2255%22%20rx%3D%224%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctext%20fill-rule%3D%22nonzero%22%20font-family%3D%22PingFang-SC-Medium%2C%20PingFang%20SC%22%20font-size%3D%2216%22%20font-weight%3D%22400%22%20letter-spacing%3D%222%22%20fill%3D%22%23595959%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctspan%20x%3D%2235%22%20y%3D%2234%22%3E%E6%96%87%E5%AD%97%3C%2Ftspan%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Ftext%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E"
9224
+ },
9225
+ "conf": [
9226
+ {
9227
+ "bricks": [
9228
+ {
9229
+ "brick": "basic-bricks.general-text",
9230
+ "properties": {
9231
+ "text": "容器卡片标题",
9232
+ "fontSize": "var(--card-title-font-size)",
9233
+ "color": "var(--color-header-text)",
9234
+ "fontWeight": "var(--font-weight-500)",
9235
+ "display": "block"
9236
+ }
9237
+ }
9238
+ ],
9239
+ "snippetId": "basic-bricks.general-button[containerCardTitle]",
9240
+ "title": {
9241
+ "en": "Container Card Title",
9242
+ "zh": "容器卡片标题"
9243
+ },
9244
+ "thumbnail": "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%22105px%22%20height%3D%2255px%22%20viewBox%3D%220%200%20105%2055%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E5%AE%B9%E5%99%A8%E6%A0%87%E9%A2%98%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22nora%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22-%E6%9E%84%E4%BB%B6%E6%A6%82%E8%A7%88%E5%9B%BE%E5%8D%81%22%20transform%3D%22translate%28-48.000000%2C%20-234.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%AE%B9%E5%99%A8%E6%A0%87%E9%A2%98%22%20transform%3D%22translate%2848.000000%2C%20234.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-22%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22105%22%20height%3D%2255%22%20rx%3D%224%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctext%20fill-rule%3D%22nonzero%22%20font-family%3D%22PingFang-SC-Medium%2C%20PingFang%20SC%22%20font-size%3D%2216%22%20font-weight%3D%22400%22%20letter-spacing%3D%222%22%20fill%3D%22%23262626%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctspan%20x%3D%2217%22%20y%3D%2233%22%3E%E5%AE%B9%E5%99%A8%E6%A0%87%E9%A2%98%3C%2Ftspan%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Ftext%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E"
9245
+ },
9246
+ {
9247
+ "bricks": [
9248
+ {
9249
+ "brick": "basic-bricks.general-text",
9250
+ "properties": {
9251
+ "text": "正文",
9252
+ "fontSize": "var(--normal-font-size)",
9253
+ "color": "var(--color-normal-text)",
9254
+ "fontWeight": "var(--font-weight-400)"
9255
+ }
9256
+ }
9257
+ ],
9258
+ "snippetId": "basic-bricks.general-button[main]",
9259
+ "title": {
9260
+ "en": "main",
9261
+ "zh": "正文"
9262
+ },
9263
+ "thumbnail": "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%22105px%22%20height%3D%2255px%22%20viewBox%3D%220%200%20105%2055%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E6%AD%A3%E6%96%87%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22nora%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22-%E6%9E%84%E4%BB%B6%E6%A6%82%E8%A7%88%E5%9B%BE%E5%8D%81%22%20transform%3D%22translate%28-201.000000%2C%20-234.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%AD%A3%E6%96%87%22%20transform%3D%22translate%28201.000000%2C%20234.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-22%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22105%22%20height%3D%2255%22%20rx%3D%224%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctext%20fill-rule%3D%22nonzero%22%20font-family%3D%22PingFang-SC-Medium%2C%20PingFang%20SC%22%20font-size%3D%2216%22%20font-weight%3D%22400%22%20letter-spacing%3D%222%22%20fill%3D%22%23595959%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctspan%20x%3D%2235%22%20y%3D%2234%22%3E%E6%AD%A3%E6%96%87%3C%2Ftspan%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Ftext%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E"
9264
+ },
9265
+ {
9266
+ "bricks": [
9267
+ {
9268
+ "brick": "basic-bricks.general-text",
9269
+ "properties": {
9270
+ "text": "辅助文字",
9271
+ "fontSize": "var(--normal-font-size)",
9272
+ "color": "var(--color-secondary-text)",
9273
+ "fontWeight": "var(--font-weight-400)"
9274
+ }
9275
+ }
9276
+ ],
9277
+ "snippetId": "basic-bricks.general-button[auxiliaryText]",
9278
+ "title": {
9279
+ "en": "Auxiliary Text",
9280
+ "zh": "辅助文字\t"
9281
+ },
9282
+ "thumbnail": "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%22105px%22%20height%3D%2255px%22%20viewBox%3D%220%200%20105%2055%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E8%BE%85%E5%8A%A9%E6%96%87%E5%AD%97%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22nora%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22-%E6%9E%84%E4%BB%B6%E6%A6%82%E8%A7%88%E5%9B%BE%E5%8D%81%22%20transform%3D%22translate%28-513.000000%2C%20-234.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E8%BE%85%E5%8A%A9%E6%96%87%E5%AD%97%22%20transform%3D%22translate%28513.000000%2C%20234.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-22%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22105%22%20height%3D%2255%22%20rx%3D%224%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctext%20fill-rule%3D%22nonzero%22%20font-family%3D%22PingFang-SC-Medium%2C%20PingFang%20SC%22%20font-size%3D%2216%22%20font-weight%3D%22400%22%20letter-spacing%3D%222%22%20fill%3D%22%238C8C8C%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctspan%20x%3D%2217%22%20y%3D%2233%22%3E%E8%BE%85%E5%8A%A9%E6%96%87%E5%AD%97%3C%2Ftspan%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Ftext%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E"
9283
+ },
9284
+ {
9285
+ "bricks": [
9286
+ {
9287
+ "brick": "basic-bricks.general-text",
9288
+ "properties": {
9289
+ "text": "banner标题",
9290
+ "fontSize": "var(--special-title-font-size-small)",
9291
+ "color": "var(--color-header-text)",
9292
+ "fontWeight": "var(--font-weight-500)",
9293
+ "display": "block"
9294
+ }
9295
+ }
9296
+ ],
9297
+ "snippetId": "basic-bricks.general-button[bannerTitle]",
9298
+ "title": {
9299
+ "en": "Banner Title",
9300
+ "zh": "banner标题"
9301
+ },
9302
+ "thumbnail": "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%22105px%22%20height%3D%2255px%22%20viewBox%3D%220%200%20105%2055%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3Ebanner%E6%A0%87%E9%A2%98%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22nora%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22-%E6%9E%84%E4%BB%B6%E6%A6%82%E8%A7%88%E5%9B%BE%E5%8D%81%22%20transform%3D%22translate%28-211.000000%2C%20-337.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22banner%E6%A0%87%E9%A2%98%22%20transform%3D%22translate%28211.000000%2C%20337.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-22%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22105%22%20height%3D%2255%22%20rx%3D%224%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctext%20id%3D%22banner-%E6%A0%87%E9%A2%98%22%20fill-rule%3D%22nonzero%22%20font-family%3D%22PingFang-SC-Medium%2C%20PingFang%20SC%22%20font-size%3D%2214%22%20font-weight%3D%22400%22%20fill%3D%22%23262626%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctspan%20x%3D%2211%22%20y%3D%2232%22%3Ebanner%20%3C%2Ftspan%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctspan%20x%3D%2261.232%22%20y%3D%2232%22%20letter-spacing%3D%222%22%3E%E6%A0%87%E9%A2%98%3C%2Ftspan%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Ftext%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E"
9303
+ },
9304
+ {
9305
+ "bricks": [
9306
+ {
9307
+ "brick": "basic-bricks.general-text",
9308
+ "properties": {
9309
+ "text": "分类标题",
9310
+ "fontSize": "var(--sub-title-font-size-small)",
9311
+ "color": "var(--color-secondary-text)",
9312
+ "fontWeight": "var(--font-weight-400)",
9313
+ "display": "block"
9314
+ }
9315
+ }
9316
+ ],
9317
+ "snippetId": "basic-bricks.general-button[categoryTitle]",
9318
+ "title": {
9319
+ "en": "Category Title",
9320
+ "zh": "分类标题"
9321
+ },
9322
+ "thumbnail": "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%22105px%22%20height%3D%2255px%22%20viewBox%3D%220%200%20105%2055%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E5%88%86%E7%B1%BB%E6%A0%87%E9%A2%98%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22nora%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22-%E6%9E%84%E4%BB%B6%E6%A6%82%E8%A7%88%E5%9B%BE%E5%8D%81%22%20transform%3D%22translate%28-374.000000%2C%20-337.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%88%86%E7%B1%BB%E6%A0%87%E9%A2%98%22%20transform%3D%22translate%28374.000000%2C%20337.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-22%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22105%22%20height%3D%2255%22%20rx%3D%224%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctext%20fill-rule%3D%22nonzero%22%20font-family%3D%22PingFang-SC-Medium%2C%20PingFang%20SC%22%20font-size%3D%2216%22%20font-weight%3D%22400%22%20letter-spacing%3D%222%22%20fill%3D%22%23BFBFBF%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctspan%20x%3D%2217%22%20y%3D%2233%22%3E%E5%88%86%E7%B1%BB%E6%A0%87%E9%A2%98%3C%2Ftspan%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Ftext%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E"
9323
+ }
9324
+ ],
9325
+ "previewColumns": 2,
9326
+ "doc": {
9327
+ "id": "basic-bricks.general-text",
9328
+ "author": "SailorShe",
9329
+ "history": [
9330
+ {
9331
+ "version": "1.x.0",
9332
+ "change": " 新增构件 `basic-bricks.general-text`"
9333
+ }
9334
+ ],
9335
+ "dockind": "brick",
9336
+ "properties": [
9337
+ {
9338
+ "name": "text",
9339
+ "type": "string",
9340
+ "required": "false",
9341
+ "default": "''",
9342
+ "description": "字体文本",
9343
+ "group": "basic"
9344
+ },
9345
+ {
9346
+ "name": "fontSize",
9347
+ "type": "",
9348
+ "required": "false",
9349
+ "default": "14px",
9350
+ "description": "字体大小",
9351
+ "group": "basic"
9352
+ },
9353
+ {
9354
+ "name": "fontWeight",
9355
+ "type": "",
9356
+ "required": "false",
9357
+ "default": "normal",
9358
+ "description": "字体粗细",
9359
+ "group": "basic"
9360
+ },
9361
+ {
9362
+ "name": "color",
9363
+ "type": "",
9364
+ "required": "false",
9365
+ "default": "black",
9366
+ "description": "字体颜色",
9367
+ "group": "basic"
9368
+ },
9369
+ {
9370
+ "name": "lineHeight",
9371
+ "type": "",
9372
+ "required": "false",
9373
+ "default": "14px",
9374
+ "description": "字体行高",
9375
+ "group": "basic"
9376
+ },
9377
+ {
9378
+ "name": "textAlign",
9379
+ "type": "",
9380
+ "required": "false",
9381
+ "default": "left",
9382
+ "description": "字体对齐方式",
9383
+ "group": "basic"
9384
+ },
9385
+ {
9386
+ "name": "display",
9387
+ "type": "",
9388
+ "required": "false",
9389
+ "default": "inline",
9390
+ "description": "显示类型, 在文字构件中常用inline inline-block block,其余类型请查看[相关文档](https://developer.mozilla.org/zh-CN/docs/Web/CSS/display)",
9391
+ "group": "basic"
9392
+ },
9393
+ {
9394
+ "name": "customStyle",
9395
+ "type": "CSSProperties",
9396
+ "required": "false",
9397
+ "default": "使用自定义样式,将会覆盖默认样式",
9398
+ "description": "自定义样式",
9399
+ "group": "ui"
9400
+ }
9401
+ ],
9402
+ "interface": []
9403
+ }
9194
9404
  }
9195
9405
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/basic-bricks",
3
- "version": "1.218.0",
3
+ "version": "1.218.2",
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",
@@ -52,5 +52,5 @@
52
52
  "immutability-helper": "^3.1.1"
53
53
  },
54
54
  "sideEffects": true,
55
- "gitHead": "006c343d6e1b26db65491f2c0aebf5586c6e87a7"
55
+ "gitHead": "ec410586a9e4a632a0793819f7d6c6870cbab98f"
56
56
  }