@seeqdev/qomponents 0.0.149 → 0.0.151
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 +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/styles.css +13 -13
- 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` })),
|
|
@@ -15847,7 +15847,7 @@ const ButtonWithDropdown = ({ dropdownItems, triggerIcon, id, extraClassNames =
|
|
|
15847
15847
|
}))))));
|
|
15848
15848
|
};
|
|
15849
15849
|
|
|
15850
|
-
const baseClasses$2 = 'tw-mx-auto tw-p-4 tw-leading-normal tw-outline-none tw-py-2 tw-px-3 tw-rounded-[
|
|
15850
|
+
const baseClasses$2 = 'tw-mx-auto tw-p-4 tw-leading-normal tw-outline-none tw-py-2 tw-px-3 tw-rounded-[10px] tw-w-full tw-relative' +
|
|
15851
15851
|
' tw-border-solid tw-border tw-text-sm tw-flex tw-flex-col tw-justify-center tw-items-center';
|
|
15852
15852
|
const darkTheme$1 = 'dark:tw-bg-sq-colored-hover-dark dark:tw-text-sq-dark-text';
|
|
15853
15853
|
const lightTheme$1 = 'tw-text-sq-text-color tw-bg-sq-colored-hover';
|