@next-bricks/basic-bricks 1.217.0 → 1.218.1

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
@@ -5394,6 +5394,13 @@
5394
5394
  "required": false,
5395
5395
  "default": "1",
5396
5396
  "description": "响应式布局设置"
5397
+ },
5398
+ {
5399
+ "name": "gap",
5400
+ "type": "string",
5401
+ "required": true,
5402
+ "default": "\"var(--page-card-gap)\"",
5403
+ "description": "子元素之间的间距"
5397
5404
  }
5398
5405
  ],
5399
5406
  "interface": [
@@ -9184,5 +9191,201 @@
9184
9191
  ],
9185
9192
  "interface": []
9186
9193
  }
9194
+ },
9195
+ {
9196
+ "storyId": "basic-bricks.general-text",
9197
+ "category": "interact-basic",
9198
+ "type": "brick",
9199
+ "author": "derrickma",
9200
+ "text": {
9201
+ "en": "General text",
9202
+ "zh": "通用文本"
9203
+ },
9204
+ "description": {
9205
+ "en": "General text",
9206
+ "zh": "通用文本"
9207
+ },
9208
+ "icon": {
9209
+ "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"
9210
+ },
9211
+ "conf": [
9212
+ {
9213
+ "bricks": [
9214
+ {
9215
+ "brick": "basic-bricks.general-text",
9216
+ "properties": {
9217
+ "text": "容器卡片标题",
9218
+ "fontSize": "var(--card-title-font-size)",
9219
+ "color": "var(--color-header-text)",
9220
+ "fontWeight": "var(--font-weight-500)",
9221
+ "display": "block"
9222
+ }
9223
+ }
9224
+ ],
9225
+ "snippetId": "basic-bricks.general-button[containerCardTitle]",
9226
+ "title": {
9227
+ "en": "Container Card Title",
9228
+ "zh": "容器卡片标题"
9229
+ },
9230
+ "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"
9231
+ },
9232
+ {
9233
+ "bricks": [
9234
+ {
9235
+ "brick": "basic-bricks.general-text",
9236
+ "properties": {
9237
+ "text": "正文",
9238
+ "fontSize": "var(--normal-font-size)",
9239
+ "color": "var(--color-normal-text)",
9240
+ "fontWeight": "var(--font-weight-400)"
9241
+ }
9242
+ }
9243
+ ],
9244
+ "snippetId": "basic-bricks.general-button[main]",
9245
+ "title": {
9246
+ "en": "main",
9247
+ "zh": "正文"
9248
+ },
9249
+ "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"
9250
+ },
9251
+ {
9252
+ "bricks": [
9253
+ {
9254
+ "brick": "basic-bricks.general-text",
9255
+ "properties": {
9256
+ "text": "辅助文字",
9257
+ "fontSize": "var(--normal-font-size)",
9258
+ "color": "var(--color-secondary-text)",
9259
+ "fontWeight": "var(--font-weight-400)"
9260
+ }
9261
+ }
9262
+ ],
9263
+ "snippetId": "basic-bricks.general-button[auxiliaryText]",
9264
+ "title": {
9265
+ "en": "Auxiliary Text",
9266
+ "zh": "辅助文字\t"
9267
+ },
9268
+ "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"
9269
+ },
9270
+ {
9271
+ "bricks": [
9272
+ {
9273
+ "brick": "basic-bricks.general-text",
9274
+ "properties": {
9275
+ "text": "banner标题",
9276
+ "fontSize": "var(--special-title-font-size-small)",
9277
+ "color": "var(--color-header-text)",
9278
+ "fontWeight": "var(--font-weight-500)",
9279
+ "display": "block"
9280
+ }
9281
+ }
9282
+ ],
9283
+ "snippetId": "basic-bricks.general-button[bannerTitle]",
9284
+ "title": {
9285
+ "en": "Banner Title",
9286
+ "zh": "banner标题"
9287
+ },
9288
+ "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"
9289
+ },
9290
+ {
9291
+ "bricks": [
9292
+ {
9293
+ "brick": "basic-bricks.general-text",
9294
+ "properties": {
9295
+ "text": "分类标题",
9296
+ "fontSize": "var(--sub-title-font-size-small)",
9297
+ "color": "var(--color-secondary-text)",
9298
+ "fontWeight": "var(--font-weight-400)",
9299
+ "display": "block"
9300
+ }
9301
+ }
9302
+ ],
9303
+ "snippetId": "basic-bricks.general-button[categoryTitle]",
9304
+ "title": {
9305
+ "en": "Category Title",
9306
+ "zh": "分类标题"
9307
+ },
9308
+ "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"
9309
+ }
9310
+ ],
9311
+ "previewColumns": 2,
9312
+ "doc": {
9313
+ "id": "basic-bricks.general-text",
9314
+ "author": "SailorShe",
9315
+ "history": [
9316
+ {
9317
+ "version": "1.x.0",
9318
+ "change": " 新增构件 `basic-bricks.general-text`"
9319
+ }
9320
+ ],
9321
+ "dockind": "brick",
9322
+ "properties": [
9323
+ {
9324
+ "name": "text",
9325
+ "type": "string",
9326
+ "required": "false",
9327
+ "default": "''",
9328
+ "description": "字体文本",
9329
+ "group": "basic"
9330
+ },
9331
+ {
9332
+ "name": "fontSize",
9333
+ "type": "",
9334
+ "required": "false",
9335
+ "default": "14px",
9336
+ "description": "字体大小",
9337
+ "group": "basic"
9338
+ },
9339
+ {
9340
+ "name": "fontWeight",
9341
+ "type": "",
9342
+ "required": "false",
9343
+ "default": "normal",
9344
+ "description": "字体粗细",
9345
+ "group": "basic"
9346
+ },
9347
+ {
9348
+ "name": "color",
9349
+ "type": "",
9350
+ "required": "false",
9351
+ "default": "black",
9352
+ "description": "字体颜色",
9353
+ "group": "basic"
9354
+ },
9355
+ {
9356
+ "name": "lineHeight",
9357
+ "type": "",
9358
+ "required": "false",
9359
+ "default": "14px",
9360
+ "description": "字体行高",
9361
+ "group": "basic"
9362
+ },
9363
+ {
9364
+ "name": "textAlign",
9365
+ "type": "",
9366
+ "required": "false",
9367
+ "default": "left",
9368
+ "description": "字体对齐方式",
9369
+ "group": "basic"
9370
+ },
9371
+ {
9372
+ "name": "display",
9373
+ "type": "",
9374
+ "required": "false",
9375
+ "default": "inline",
9376
+ "description": "显示类型, 在文字构件中常用inline inline-block block,其余类型请查看[相关文档](https://developer.mozilla.org/zh-CN/docs/Web/CSS/display)",
9377
+ "group": "basic"
9378
+ },
9379
+ {
9380
+ "name": "customStyle",
9381
+ "type": "CSSProperties",
9382
+ "required": "false",
9383
+ "default": "使用自定义样式,将会覆盖默认样式",
9384
+ "description": "自定义样式",
9385
+ "group": "ui"
9386
+ }
9387
+ ],
9388
+ "interface": []
9389
+ }
9187
9390
  }
9188
9391
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/basic-bricks",
3
- "version": "1.217.0",
3
+ "version": "1.218.1",
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": "7fa5a0917628a1651f62abd721f961b1ea9bea1e"
55
+ "gitHead": "c9c7ecf12d714c59c9565954910914bb66bc5a75"
56
56
  }