@sendoutcards/quantum-design-ui 1.8.30 → 1.8.32

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.
Files changed (2) hide show
  1. package/dist/index.es.js +102 -36
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -15964,8 +15964,8 @@ var Drawer = function (_a) {
15964
15964
  }
15965
15965
  };
15966
15966
  var backgroundStyle = {
15967
- backgroundColor: backgroundColor === 'blurredGlass' ? 'rgba(255, 255, 255, 0.2)' : backgroundColor,
15968
- backdropFilter: backgroundColor === 'blurredGlass' ? 'blur(10px)' : 'none'
15967
+ backgroundColor: backgroundColor === 'blurredGlass' ? 'rgba(255, 255, 255, 0.7)' : backgroundColor,
15968
+ backdropFilter: backgroundColor === 'blurredGlass' ? 'blur(70px)' : 'none'
15969
15969
  };
15970
15970
  return jsx(Div, {
15971
15971
  css: styles$p.drawerContainer(location),
@@ -22283,9 +22283,9 @@ var FeatureAnnouncement = function (_a) {
22283
22283
  })));
22284
22284
  };
22285
22285
 
22286
- var _emotionSourceMap$5 = process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHcUIiLCJmaWxlIjoic3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgX19tYWtlVGVtcGxhdGVPYmplY3QgfSBmcm9tIFwidHNsaWJcIjtcclxuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XHJcbmV4cG9ydCBkZWZhdWx0IHtcclxuICAgIGZpbGxSdWxlV3JhcHBlcjogY3NzKHRlbXBsYXRlT2JqZWN0XzEgfHwgKHRlbXBsYXRlT2JqZWN0XzEgPSBfX21ha2VUZW1wbGF0ZU9iamVjdChbXCJcXG4gICAgcG9zaXRpb246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b246IGFic29sdXRlO1xcbiAgICAgIHdpZHRoOiA1MCU7XFxuICAgICAgaGVpZ2h0OiA1MCU7XFxuICAgICAgYmFja2dyb3VuZDogI2ExYTFhMTtcXG4gICAgICBib3R0b206IDA7XFxuICAgICAgcmlnaHQ6IDA7XFxuICAgICAgYm9yZGVyLXJhZGl1czogMCAwIDRweCAwO1xcbiAgICB9XFxuICBcIl0pKSksXHJcbn07XHJcbnZhciB0ZW1wbGF0ZU9iamVjdF8xO1xyXG4vLyMgc291cmNlTWFwcGluZ1VSTD1zdHlsZXMuanMubWFwIl19 */";
22286
+ var _emotionSourceMap$5 = process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHcUIiLCJmaWxlIjoic3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgX19tYWtlVGVtcGxhdGVPYmplY3QgfSBmcm9tIFwidHNsaWJcIjtcclxuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XHJcbmV4cG9ydCBkZWZhdWx0IHtcclxuICAgIGZpbGxSdWxlV3JhcHBlcjogY3NzKHRlbXBsYXRlT2JqZWN0XzEgfHwgKHRlbXBsYXRlT2JqZWN0XzEgPSBfX21ha2VUZW1wbGF0ZU9iamVjdChbXCJcXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xcbiAgICBiYWNrZ3JvdW5kOiAjZDRkNGQ0O1xcbiAgICBjdXJzb3I6IHBvaW50ZXI7XFxuICAgIDo6YmVmb3JlIHtcXG4gICAgICBjb250ZW50OiAnJztcXG4gICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XFxuICAgICAgd2lkdGg6IDUwJTtcXG4gICAgICBoZWlnaHQ6IDUwJTtcXG4gICAgICBiYWNrZ3JvdW5kOiAjYTFhM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GVPYmplY3RfMTtcclxuLy8jIHNvdXJjZU1hcHBpbmdVUkw9c3R5bGVzLmpzLm1hcCJdfQ== */";
22287
22287
  var styles$4 = {
22288
- fillRuleWrapper: /*#__PURE__*/css(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n position: relative;\n background: #d4d4d4;\n cursor: pointer;\n ::before {\n content: '';\n position: absolute;\n width: 50%;\n height: 50%;\n background: #a1a1a1;\n top: 0;\n left: 0;\n border-radius: 4px 0 0 0;\n }\n ::after {\n content: '';\n position: absolute;\n width: 50%;\n height: 50%;\n background: #a1a1a1;\n bottom: 0;\n right: 0;\n border-radius: 0 0 4px 0;\n }\n ;label:fillRuleWrapper;" + _emotionSourceMap$5], ["\n position: relative;\n background: #d4d4d4;\n cursor: pointer;\n ::before {\n content: '';\n position: absolute;\n width: 50%;\n height: 50%;\n background: #a1a1a1;\n top: 0;\n left: 0;\n border-radius: 4px 0 0 0;\n }\n ::after {\n content: '';\n position: absolute;\n width: 50%;\n height: 50%;\n background: #a1a1a1;\n bottom: 0;\n right: 0;\n border-radius: 0 0 4px 0;\n }\n ;label:fillRuleWrapper;" + _emotionSourceMap$5])))
22288
+ fillRuleWrapper: /*#__PURE__*/css(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n position: relative;\n background: #d4d4d4;\n cursor: pointer;\n ::before {\n content: '';\n position: absolute;\n width: 50%;\n height: 50%;\n background: #a1a1a1;\n top: 0;\n left: 0;\n border-radius: 50px 0 0 0;\n }\n ::after {\n content: '';\n position: absolute;\n width: 50%;\n height: 50%;\n background: #a1a1a1;\n bottom: 0;\n right: 0;\n border-radius: 0 0 50px 0;\n }\n ;label:fillRuleWrapper;" + _emotionSourceMap$5], ["\n position: relative;\n background: #d4d4d4;\n cursor: pointer;\n ::before {\n content: '';\n position: absolute;\n width: 50%;\n height: 50%;\n background: #a1a1a1;\n top: 0;\n left: 0;\n border-radius: 50px 0 0 0;\n }\n ::after {\n content: '';\n position: absolute;\n width: 50%;\n height: 50%;\n background: #a1a1a1;\n bottom: 0;\n right: 0;\n border-radius: 0 0 50px 0;\n }\n ;label:fillRuleWrapper;" + _emotionSourceMap$5])))
22289
22289
  };
22290
22290
  var templateObject_1$5;
22291
22291
 
@@ -22301,27 +22301,37 @@ var SettingInput = function (_a) {
22301
22301
  return jsx(Div, {
22302
22302
  minWidth: "230px",
22303
22303
  cursor: "pointer"
22304
- }, jsx(Text, {
22305
- type: "caption",
22306
- content: label
22307
- }), jsx(Flex, {
22304
+ }, jsx(Flex, {
22308
22305
  justifyContent: "space-between",
22309
22306
  minWidth: "230px",
22310
22307
  onClick: onClick,
22311
22308
  width: "100%",
22312
- borderRadius: "small",
22313
- inset: "x1",
22314
- display: "inline-flex",
22315
- backgroundColor: "background",
22316
- borderStyle: "solid",
22317
- borderColor: "lightgrey",
22318
- borderWidth: "thin",
22319
- alignItems: "center"
22309
+ inset: "8px 14px",
22310
+ display: "flex",
22311
+ alignItems: "center",
22312
+ style: {
22313
+ borderRadius: '14px',
22314
+ border: '1px solid #F3F4F6',
22315
+ background: 'rgba(255, 255, 255, 0.60)'
22316
+ }
22320
22317
  }, value ? jsx(Flex, {
22318
+ width: "100%",
22319
+ flexDirection: "column"
22320
+ }, jsx(Text, {
22321
+ type: "body",
22322
+ content: label,
22323
+ style: {
22324
+ fontSize: '10px',
22325
+ fontWeight: 700,
22326
+ fontFamily: 'Montserrat, san serif',
22327
+ color: '#6B7280'
22328
+ }
22329
+ }), jsx(Flex, {
22321
22330
  width: "100%",
22322
22331
  display: "flex",
22323
22332
  flexDirection: "row",
22324
- justifyContent: "space-between"
22333
+ justifyContent: "space-between",
22334
+ alignItems: "center"
22325
22335
  }, jsx(HStack, {
22326
22336
  gap: "0",
22327
22337
  justify: "start"
@@ -22331,52 +22341,108 @@ var SettingInput = function (_a) {
22331
22341
  backgroundRepeat: "no-repeat",
22332
22342
  backgroundColor: settingsType === 'color' ? value : undefined,
22333
22343
  backgroundImage: settingsType === 'image' ? value : undefined,
22334
- borderRadius: "4px",
22344
+ borderRadius: "circle",
22335
22345
  width: "24px",
22336
- height: "24px"
22346
+ height: "24px",
22347
+ style: {
22348
+ boxShadow: '0px 0px 4px 0px rgba(0, 0, 0, 0.12)'
22349
+ }
22337
22350
  }), jsx(Text, {
22338
22351
  alignment: "left",
22339
22352
  outset: {
22340
22353
  left: 'x2'
22341
22354
  },
22342
22355
  type: "body",
22343
- content: settingsType === 'color' ? value : 'Image'
22344
- })), jsx(Div, {
22345
- display: "flex",
22346
- alignItems: "center",
22347
- onMouseEvent: function (e) {
22348
- e.stopPropagation();
22349
- onRemove();
22350
- },
22351
- onClick: onRemove
22352
- }, jsx(Icon, {
22353
- name: "closeCircle",
22354
- size: "xSmall",
22355
- primaryColor: "danger"
22356
- }))) : jsx(Flex, {
22356
+ content: settingsType === 'color' ? value : 'Image',
22357
+ style: {
22358
+ color: '#171717',
22359
+ fontSize: '14px',
22360
+ fontFamily: 'Montserrat, san serif'
22361
+ }
22362
+ })))) : jsx(Flex, {
22363
+ flexDirection: "column",
22364
+ rowGap: "x_5"
22365
+ }, jsx(Text, {
22366
+ type: "body",
22367
+ content: label,
22368
+ style: {
22369
+ fontSize: '10px',
22370
+ fontWeight: 700,
22371
+ fontFamily: 'Montserrat, san serif',
22372
+ color: '#6B7280'
22373
+ }
22374
+ }), jsx(Flex, {
22357
22375
  justifyContent: "center",
22358
22376
  alignItems: "center"
22359
22377
  }, settingsType === 'color' ? jsx(Div, {
22360
- borderRadius: "4px",
22361
22378
  width: size,
22362
22379
  height: size,
22363
22380
  overflow: "visible",
22364
22381
  backgroundColor: {
22365
22382
  swatch: 'grayScale',
22366
22383
  shade: '_900'
22384
+ },
22385
+ borderRadius: "circle",
22386
+ style: {
22387
+ boxShadow: '0px 0px 4px 0px rgba(0, 0, 0, 0.12)'
22367
22388
  }
22368
22389
  }) : jsx(Div, {
22369
22390
  css: styles$4.fillRuleWrapper,
22370
22391
  width: size,
22371
22392
  height: size,
22372
- borderRadius: "4px"
22393
+ style: {
22394
+ borderRadius: '100%'
22395
+ }
22373
22396
  }), jsx(Text, {
22374
22397
  alignment: "left",
22375
22398
  outset: {
22376
22399
  left: 'x2'
22377
22400
  },
22378
22401
  type: "body",
22379
- content: inactiveTitle
22402
+ content: inactiveTitle,
22403
+ style: {
22404
+ color: '#E5E7EB',
22405
+ fontSize: '14px',
22406
+ fontFamily: 'Montserrat, san serif'
22407
+ }
22408
+ }))), value ? jsx(Div, {
22409
+ display: "flex",
22410
+ alignItems: "center",
22411
+ onMouseEvent: function (e) {
22412
+ e.stopPropagation();
22413
+ onRemove();
22414
+ },
22415
+ onClick: onRemove
22416
+ }, jsx(Icon, {
22417
+ name: "closeCircle",
22418
+ size: "xSmall",
22419
+ primaryColor: "danger"
22420
+ })) : settingsType === 'color' ? jsx(Div, {
22421
+ cursor: "pointer",
22422
+ borderRadius: "circle",
22423
+ style: {
22424
+ backgroundImage: 'conic-gradient(red, orange, yellow, green, blue, indigo, violet, red)',
22425
+ width: '24px',
22426
+ height: '24px',
22427
+ boxShadow: '0px 4px 16px 0px rgba(0, 0, 0, 0.08)'
22428
+ },
22429
+ onClick: onClick
22430
+ }) : jsx(Flex, {
22431
+ justifyContent: "center",
22432
+ alignItems: "center",
22433
+ borderRadius: "circle",
22434
+ width: "24px",
22435
+ height: "24px",
22436
+ backgroundColor: "#fff",
22437
+ onClick: onClick,
22438
+ style: {
22439
+ boxShadow: '0px 4px 16px 0px rgba(0, 0, 0, 0.08)',
22440
+ border: '1px solid #fff'
22441
+ }
22442
+ }, jsx(Icon, {
22443
+ size: "xSmall",
22444
+ name: "image",
22445
+ primaryColor: "primaryHeadingText"
22380
22446
  }))));
22381
22447
  };
22382
22448
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendoutcards/quantum-design-ui",
3
- "version": "1.8.30",
3
+ "version": "1.8.32",
4
4
  "description": "UI component library for Quantum Design System",
5
5
  "module": "dist/index.es.js",
6
6
  "jsnext:main": "dist/index.es.js",