@thecb/components 7.0.2-beta.6 → 7.0.2-beta.8
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/index.cjs.js +7 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +7 -6
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/ClipboardIcon.js +2 -2
- package/src/components/molecules/copyable/Copyable.js +6 -6
- package/src/components/molecules/popover/Popover.js +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -22799,7 +22799,8 @@ var Popover = function Popover(_ref) {
|
|
|
22799
22799
|
arrowPosition = _ref.arrowPosition,
|
|
22800
22800
|
_ref$arrowDirection = _ref.arrowDirection,
|
|
22801
22801
|
arrowDirection = _ref$arrowDirection === void 0 ? "down" : _ref$arrowDirection,
|
|
22802
|
-
transform = _ref.transform,
|
|
22802
|
+
_ref$transform = _ref.transform,
|
|
22803
|
+
transform = _ref$transform === void 0 ? "none" : _ref$transform,
|
|
22803
22804
|
buttonExtraStyles = _ref.buttonExtraStyles;
|
|
22804
22805
|
var hoverColor = themeValues.hoverColor,
|
|
22805
22806
|
activeColor = themeValues.activeColor,
|
|
@@ -22895,7 +22896,7 @@ var Popover = function Popover(_ref) {
|
|
|
22895
22896
|
tabIndex: popoverFocus && popoverOpen ? "0" : "-1",
|
|
22896
22897
|
minWidth: minWidth,
|
|
22897
22898
|
maxWidth: maxWidth,
|
|
22898
|
-
extraStyles: "\n display: ".concat(popoverOpen ? "block" : "none", "; \n position: absolute; \n top: ").concat(top, "; \n right: ").concat(right, "; \n bottom: ").concat(bottom, "; \n left: ").concat(left, ";\n height: ").concat(height, ";\n transform: ").concat(transform
|
|
22899
|
+
extraStyles: "\n display: ".concat(popoverOpen ? "block" : "none", "; \n position: absolute; \n top: ").concat(top, "; \n right: ").concat(right, "; \n bottom: ").concat(bottom, "; \n left: ").concat(left, ";\n height: ").concat(height, ";\n transform: ").concat(transform, ";\n ")
|
|
22899
22900
|
}, /*#__PURE__*/React__default.createElement(Paragraph$1, null, content), /*#__PURE__*/React__default.createElement(Box, {
|
|
22900
22901
|
padding: "0",
|
|
22901
22902
|
extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(arrowDirection, "8px"), ";\n filter: drop-shadow(2px 8px 14px black);\n bottom: ").concat(arrowBottom, ";\n right: ").concat(arrowRight, ";\n top: ").concat(arrowTop, ";\n left: ").concat(arrowLeft, ";\n ")
|
|
@@ -37579,8 +37580,8 @@ var ClipboardIcon = function ClipboardIcon(_ref) {
|
|
|
37579
37580
|
width: "16",
|
|
37580
37581
|
height: "18"
|
|
37581
37582
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
37582
|
-
|
|
37583
|
-
|
|
37583
|
+
fillRule: "evenodd",
|
|
37584
|
+
clipRule: "evenodd",
|
|
37584
37585
|
d: "M9.83929 3.43753H14.1607V5.59825H9.83929L9.83929 3.43753ZM8.75893 3.43753C8.75893 2.84087 9.24262 2.35718 9.83929 2.35718H14.1607C14.7574 2.35718 15.2411 2.84087 15.2411 3.43753V5.59825C15.2411 6.19491 14.7574 6.67861 14.1607 6.67861H9.83929C9.24262 6.67861 8.75893 6.19491 8.75893 5.59825V3.43753ZM6.59821 3.70762H7.94866V5.32816H6.59821C6.29988 5.32816 6.05804 5.57001 6.05804 5.86834V17.4822C6.05804 17.7805 6.29988 18.0224 6.59821 18.0224H17.4018C17.7001 18.0224 17.942 17.7805 17.942 17.4822V5.86834C17.942 5.57001 17.7001 5.32816 17.4018 5.32816H16.0513V3.70762H17.4018C18.5951 3.70762 19.5625 4.67501 19.5625 5.86834V17.4822C19.5625 18.6755 18.5951 19.6429 17.4018 19.6429H6.59821C5.40488 19.6429 4.4375 18.6755 4.4375 17.4822V5.86834C4.4375 4.67501 5.40488 3.70762 6.59821 3.70762Z",
|
|
37585
37586
|
fill: themeValues.singleIconColor
|
|
37586
37587
|
})), /*#__PURE__*/React__default.createElement("g", {
|
|
@@ -37639,7 +37640,7 @@ var Copyable = function Copyable(_ref2) {
|
|
|
37639
37640
|
_ref2$hasPopover = _ref2.hasPopover,
|
|
37640
37641
|
hasPopover = _ref2$hasPopover === void 0 ? true : _ref2$hasPopover,
|
|
37641
37642
|
_ref2$popoverMinWidth = _ref2.popoverMinWidth,
|
|
37642
|
-
popoverMinWidth = _ref2$popoverMinWidth === void 0 ? "
|
|
37643
|
+
popoverMinWidth = _ref2$popoverMinWidth === void 0 ? "max-content" : _ref2$popoverMinWidth,
|
|
37643
37644
|
_ref2$popoverID = _ref2.popoverID,
|
|
37644
37645
|
popoverID = _ref2$popoverID === void 0 ? 0 : _ref2$popoverID,
|
|
37645
37646
|
popoverExtraStyles = _ref2.popoverExtraStyles;
|
|
@@ -37730,7 +37731,7 @@ var Copyable = function Copyable(_ref2) {
|
|
|
37730
37731
|
transform: "translate(-100%, -75%)",
|
|
37731
37732
|
arrowDirection: "right",
|
|
37732
37733
|
popoverID: popoverID,
|
|
37733
|
-
buttonExtraStyles: "margin: 0",
|
|
37734
|
+
buttonExtraStyles: "margin: 0;min-width:auto",
|
|
37734
37735
|
extraStyles: popoverExtraStyles,
|
|
37735
37736
|
triggerText: CopyableContent({
|
|
37736
37737
|
content: content,
|