@seeqdev/qomponents 0.0.149 → 0.0.150
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.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/styles.css +13 -17
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4562,7 +4562,7 @@ function getSvgIconPath(icon) {
|
|
|
4562
4562
|
const popoverBorderStyles = [
|
|
4563
4563
|
'tw-border-solid',
|
|
4564
4564
|
'tw-border',
|
|
4565
|
-
'tw-rounded-
|
|
4565
|
+
'tw-rounded-md',
|
|
4566
4566
|
'tw-border-sq-disabled-gray',
|
|
4567
4567
|
'dark:tw-border-gray-500',
|
|
4568
4568
|
].join(' ');
|
|
@@ -4606,7 +4606,7 @@ const ToolbarButton = ({ isSmall = false, label, icon, secondIcon, forceSmallIco
|
|
|
4606
4606
|
React__namespace.createElement($cb5cc270b50c6fcd$export$41fb9f06171c75f4, { id: id, className: `tw-border-none tw-mx-[1.5px] first:tw-ml-0 last:tw-mr-0 ${isActive ? 'active' : ''}`, disabled: disabled, "data-testid": testId, onClick: (e) => {
|
|
4607
4607
|
onClick && onClick(e);
|
|
4608
4608
|
} },
|
|
4609
|
-
React__namespace.createElement("div", { ...tooltipData, className: `tw-flex tw-flex-col tw-items-center tw-rounded-
|
|
4609
|
+
React__namespace.createElement("div", { ...tooltipData, className: `tw-flex tw-flex-col tw-items-center tw-rounded-md ${isSmall ? 'tw-py-[1px] tw-px-1' : 'tw-px-2 tw-py-[5px]'} ${disabled ? disabledClasses$4 : isActive ? activeBackgroundStyles : triggerBackgroundStyles} ${extraClassNames || ''}` },
|
|
4610
4610
|
React__namespace.createElement("span", { className: "tw-nowrap" },
|
|
4611
4611
|
isPrimaryAnSvg ? (React__namespace.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: `tw-text-sq-text-color dark:tw-text-sq-dark-text ${primaryIconExtraClassNames || ''}`, viewBox: primaryIconViewbox, height: `${iconHeight}px`, width: `${iconWidth}px`, fill: "currentColor", "data-testid": testId },
|
|
4612
4612
|
React__namespace.createElement("path", { d: getSvgIconPath(icon) }))) : (React__namespace.createElement(Icon, { icon: icon, testId: "firstIcon", type: "text", large: !isSmall && !label && !secondIcon && !forceSmallIcon, extraClassNames: `tw-text-sq-text-color dark:tw-text-sq-dark-text` })),
|