@seeqdev/qomponents 0.0.146 → 0.0.148
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/FontCustom.woff +0 -0
- package/dist/FontCustom.woff2 +0 -0
- package/dist/Select/Select.types.d.ts +3 -1
- package/dist/example/src/Example.tsx +5 -5
- package/dist/index.esm.js +27 -27
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +27 -27
- package/dist/index.js.map +1 -1
- package/dist/styles.css +61 -34
- package/package.json +1 -1
package/dist/FontCustom.woff
CHANGED
|
Binary file
|
package/dist/FontCustom.woff2
CHANGED
|
Binary file
|
|
@@ -16,8 +16,10 @@ export interface SelectProps {
|
|
|
16
16
|
creatable?: boolean;
|
|
17
17
|
/** set to true to disable the select */
|
|
18
18
|
isDisabled?: boolean;
|
|
19
|
-
/** extra class names to be placed on the select
|
|
19
|
+
/** extra class names to be placed on the select container: this can be used to size the select */
|
|
20
20
|
extraClassNames?: string;
|
|
21
|
+
/** extra class names to be placed on the select control */
|
|
22
|
+
controlClassNames?: string;
|
|
21
23
|
/** custom filter for search */
|
|
22
24
|
filterConfig?: unknown;
|
|
23
25
|
/** formats option labels in the menu and control as React components */
|
|
@@ -30,7 +30,7 @@ const options = [
|
|
|
30
30
|
|
|
31
31
|
const Trigger = ({ label }: { label: string }) => (
|
|
32
32
|
<div className="tw-flex tw-justify-start tw-items-center tw-border-b tw-px-2 tw-text-sq-color-dark">
|
|
33
|
-
<Icon icon="fc-arrow-dropdown" extraClassNames="tw-text-sq-color-dark tw-mr-[0.5rem] tw-text-[
|
|
33
|
+
<Icon icon="fc-arrow-dropdown" extraClassNames="tw-text-sq-color-dark tw-mr-[0.5rem] tw-text-[0.75rem]" type="text" />
|
|
34
34
|
{label}
|
|
35
35
|
</div>
|
|
36
36
|
);
|
|
@@ -42,7 +42,7 @@ const accordionItems = [
|
|
|
42
42
|
itemTestId: 'phonecall',
|
|
43
43
|
trigger: <Trigger label="Phone" />,
|
|
44
44
|
content: (
|
|
45
|
-
<div className="tw-p-2 tw-text-[
|
|
45
|
+
<div className="tw-p-2 tw-text-[0.8125rem] dark:tw-text-sq-white">
|
|
46
46
|
If you need to reach us, please call us at 555-555-5555.
|
|
47
47
|
</div>
|
|
48
48
|
),
|
|
@@ -53,7 +53,7 @@ const accordionItems = [
|
|
|
53
53
|
itemTestId: 'email',
|
|
54
54
|
trigger: <Trigger label="Email" />,
|
|
55
55
|
content: (
|
|
56
|
-
<div className="tw-p-2 tw-text-[
|
|
56
|
+
<div className="tw-p-2 tw-text-[0.8125rem] dark:tw-text-sq-white">
|
|
57
57
|
If you need to reach us, please mail example@seeqtest.com
|
|
58
58
|
</div>
|
|
59
59
|
),
|
|
@@ -64,7 +64,7 @@ const accordionItems = [
|
|
|
64
64
|
itemTestId: 'address',
|
|
65
65
|
trigger: <Trigger label="Address" />,
|
|
66
66
|
content: (
|
|
67
|
-
<div className="tw-p-2 tw-text-[
|
|
67
|
+
<div className="tw-p-2 tw-text-[0.8125rem] dark:tw-text-sq-white">
|
|
68
68
|
If you need to reach us, please visit us at 1234 Main St., Anytown, USA.
|
|
69
69
|
</div>
|
|
70
70
|
),
|
|
@@ -73,7 +73,7 @@ const accordionItems = [
|
|
|
73
73
|
|
|
74
74
|
const renderData = (text: string) => (
|
|
75
75
|
<div className="tw-text-sq-color-gray dark:tw-text-sq-white tw-p-6">
|
|
76
|
-
<p className="tw-mb-5 tw-text-[
|
|
76
|
+
<p className="tw-mb-5 tw-text-[0.9375rem] tw-leading-normal">{text}</p>
|
|
77
77
|
</div>
|
|
78
78
|
);
|
|
79
79
|
|
package/dist/index.esm.js
CHANGED
|
@@ -4548,20 +4548,20 @@ const popoverBorderStyles = [
|
|
|
4548
4548
|
].join(' ');
|
|
4549
4549
|
const triggerBackgroundStyles = [
|
|
4550
4550
|
'tw-bg-transparent',
|
|
4551
|
-
'hover:tw-bg-sq-
|
|
4552
|
-
'active:tw-bg-sq-
|
|
4551
|
+
'hover:tw-bg-sq-worksheetspanel-gray',
|
|
4552
|
+
'active:tw-bg-sq-worksheetspanel-gray',
|
|
4553
4553
|
'dark:tw-bg-transparent',
|
|
4554
4554
|
'dark:hover:tw-bg-sq-field-disabled-gray',
|
|
4555
4555
|
'dark:active:tw-bg-sq-field-disabled-gray',
|
|
4556
4556
|
].join(' ');
|
|
4557
4557
|
const activeBackgroundStyles = [
|
|
4558
4558
|
'active',
|
|
4559
|
-
'tw-bg-sq-
|
|
4560
|
-
'hover:tw-bg-sq-
|
|
4561
|
-
'active:tw-bg-sq-
|
|
4562
|
-
'dark:tw-bg-sq-
|
|
4563
|
-
'dark:hover:tw-border-sq-
|
|
4564
|
-
'dark:active:tw-bg-sq-
|
|
4559
|
+
'tw-bg-sq-overlay-gray',
|
|
4560
|
+
'hover:tw-bg-sq-overlay-gray',
|
|
4561
|
+
'active:tw-bg-sq-overlay-gray',
|
|
4562
|
+
'dark:tw-bg-sq-dark-disabled-gray',
|
|
4563
|
+
'dark:hover:tw-border-sq-dark-disabled-gray',
|
|
4564
|
+
'dark:active:tw-bg-sq-dark-disabled-gray',
|
|
4565
4565
|
].join(' ');
|
|
4566
4566
|
const bgStyles$3 = ['tw-bg-sq-white', 'dark:tw-bg-sq-dark-background'].join(' ');
|
|
4567
4567
|
const disabledClasses$4 = ['tw-opacity-50', 'tw-cursor-not-allowed'].join(' ');
|
|
@@ -4591,8 +4591,8 @@ const ToolbarButton = ({ isSmall = false, label, icon, secondIcon, forceSmallIco
|
|
|
4591
4591
|
isPrimaryAnSvg ? (React.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 },
|
|
4592
4592
|
React.createElement("path", { d: getSvgIconPath(icon) }))) : (React.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` })),
|
|
4593
4593
|
secondIcon && React.createElement(Icon, { icon: secondIcon, type: "text", testId: "secondIcon" }),
|
|
4594
|
-
popoverContent ? (React.createElement(Icon, { icon: "fc-arrow-dropdown", extraClassNames: "tw-text-sq-text-color dark:tw-text-sq-dark-text tw-ml-[3px] tw-text-[
|
|
4595
|
-
!isSmall && (React.createElement("small", { className: "tw-text-sq-text-color dark:tw-text-sq-dark-text tw-text-[
|
|
4594
|
+
popoverContent ? (React.createElement(Icon, { icon: "fc-arrow-dropdown", extraClassNames: "tw-text-sq-text-color dark:tw-text-sq-dark-text tw-ml-[3px] tw-text-[0.5rem]", type: "text" })) : undefined),
|
|
4595
|
+
!isSmall && (React.createElement("small", { className: "tw-text-sq-text-color dark:tw-text-sq-dark-text tw-text-[0.625rem]" }, label)))),
|
|
4596
4596
|
!!popoverContent ? (React.createElement(PopoverContent, { sideOffset: 2, align: "start" },
|
|
4597
4597
|
React.createElement("div", { className: bgStyles$3 +
|
|
4598
4598
|
' tw-relative tw-z-[1000] tw-min-w-6 tw-p-[0.5rem] focus-visible:tw-outline-none tw-outline-none data-[state=open]:animate-in data-[state=closed]:animate-out' +
|
|
@@ -13389,7 +13389,7 @@ const multiValueStyles = [
|
|
|
13389
13389
|
* For ease of testing most of the elements of this select can be identified by classNames prefixed with "spec".
|
|
13390
13390
|
*
|
|
13391
13391
|
*/
|
|
13392
|
-
const Select = ({ options, value, placeholder = 'select', noOptionsMessage = 'no matching options', isSearchable = true, creatable = false, isMulti = false, isClearable = false, closeMenuOnSelect = true, id, inputId, menuPortalTarget, getOptionLabel, getSelectedValueLabel, getOptionValue, onChange, menuIsOpen, menuPlacement = 'auto', extraClassNames, inputGroup, filterConfig, filterOption, small = false, isDisabled = false, showError = false, isLoading = false, formatGroupLabel, onRemove, defaultValue, onMenuOpen, onMenuClose, components, onMenuInputFocus, onInputChange, inputValue, }) => {
|
|
13392
|
+
const Select = ({ options, value, placeholder = 'select', noOptionsMessage = 'no matching options', isSearchable = true, creatable = false, isMulti = false, isClearable = false, closeMenuOnSelect = true, id, inputId, menuPortalTarget, getOptionLabel, getSelectedValueLabel, getOptionValue, onChange, menuIsOpen, menuPlacement = 'auto', extraClassNames, controlClassNames = '', inputGroup, filterConfig, filterOption, small = false, isDisabled = false, showError = false, isLoading = false, formatGroupLabel, onRemove, defaultValue, onMenuOpen, onMenuClose, components, onMenuInputFocus, onInputChange, inputValue, }) => {
|
|
13393
13393
|
const getOptionOrSelectedLabel = (option, { context }) => {
|
|
13394
13394
|
const getSelectedOptionLabel = getSelectedValueLabel ? getSelectedValueLabel : getOptionLabel;
|
|
13395
13395
|
if (getOptionLabel || getSelectedValueLabel) {
|
|
@@ -13452,7 +13452,7 @@ const Select = ({ options, value, placeholder = 'select', noOptionsMessage = 'no
|
|
|
13452
13452
|
else if (inputGroup === 'right') {
|
|
13453
13453
|
border = menuIsOpen ? 'tw-rounded-tr-md' : 'tw-rounded-r-md';
|
|
13454
13454
|
}
|
|
13455
|
-
const appliedClasses = `${borderStyles$3} ${border} ${showError ? errorClasses$2 : borderColorClasses$2} ${small ? 'reactSelectMinHeightSmall' : 'reactSelectMinHeight'} `;
|
|
13455
|
+
const appliedClasses = `${borderStyles$3} ${border} ${showError ? errorClasses$2 : borderColorClasses$2} ${small ? 'reactSelectMinHeightSmall' : 'reactSelectMinHeight'} ${controlClassNames}`;
|
|
13456
13456
|
return `${appliedClasses} ${baseClasses$3} specSelectControl ${isDisabled ? disabledClasses$3 : ''} ${small ? 'tw-pl-2 tw-pr-1' : 'tw-pl-2.5 tw-pr-1.5'}`;
|
|
13457
13457
|
},
|
|
13458
13458
|
placeholder: () => placeholderStyles,
|
|
@@ -14317,8 +14317,8 @@ const Tabs = ({ tabs, defaultActiveTab, activeTab, onTabSelect, extraClassNames,
|
|
|
14317
14317
|
? 'tw-border-b-sq-color-dark dark:tw-border-b-sq-color-dark tw-border-b-[3px]'
|
|
14318
14318
|
: 'hover:tw-bg-sq-light-gray tw-border-b-[1px] hover:dark:tw-bg-gray-700'}`, "data-testid": tabsTestId, disabled: disabled, key: `${label}-${id}-${index}`, value: id },
|
|
14319
14319
|
React__default.createElement("span", { className: "tw-flex tw-items-center tw-overflow-hidden tw-pb-[3px]" },
|
|
14320
|
-
icon && React__default.createElement(Icon, { icon: icon, testId: `${id}_tab-icon`, extraClassNames: "tw-text-[
|
|
14321
|
-
React__default.createElement("span", { className: `tw-text-[
|
|
14320
|
+
icon && React__default.createElement(Icon, { icon: icon, testId: `${id}_tab-icon`, extraClassNames: "tw-text-[0.9375rem] tw-mr-[7px] tw-flex-shrink-0" }),
|
|
14321
|
+
React__default.createElement("span", { className: `tw-text-[0.875rem] tw-font-medium tw-whitespace-nowrap tw-overflow-hidden tw-text-ellipsis ${activeTab === id
|
|
14322
14322
|
? 'dark:tw-text-sq-dark-text tw-text-gray-500'
|
|
14323
14323
|
: 'dark:tw-text-sq-color-dark-dark tw-text-sq-color-dark'}` }, label)))))),
|
|
14324
14324
|
tabs.map((tab, index) => (React__default.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2, { className: `tw-bg-sq-white dark:tw-bg-sq-dark-background tw-overflow-y-auto -tw-mt-[1px] tw-border-t-[1px] dark:tw-border-gray-700 tw-z-[500] tw-flex tw-flex-col tw-flex-grow focus-visible:tw-outline-none ${tab.tabContentExtraClassNames || ''}`, key: `${tab.label}_${index}_content`, value: tab.id }, tab.content)))));
|
|
@@ -15796,7 +15796,7 @@ const ButtonWithDropdown = ({ dropdownItems, triggerIcon, id, extraClassNames =
|
|
|
15796
15796
|
if (item.isLabel) {
|
|
15797
15797
|
return (React.createElement($d08ef79370b62062$export$b04be29aa201d4f5, { key: (item.id || '') + index, className: item.itemExtraClassNames, ...tooltipData },
|
|
15798
15798
|
item.icon && (React.createElement(Icon, { icon: item.icon, testId: item.iconTestId, type: "text", color: item.iconColor, extraClassNames: "tw-text-sq-text-color dark:tw-text-sq-white tw-w-[18px]" })),
|
|
15799
|
-
React.createElement("div", { "data-testid": item.labelTestId, className: `tw-text-[
|
|
15799
|
+
React.createElement("div", { "data-testid": item.labelTestId, className: `tw-text-[0.8125rem] tw-ml-1 ${item.disabled ? 'tw-text-sq-disabled-gray' : 'tw-text-sq-text-color dark:tw-text-sq-white'} tw-not-italic tw-font-normal ${item.labelClasses}` }, item.label)));
|
|
15800
15800
|
}
|
|
15801
15801
|
if (Array.isArray(item.subMenuItems) && item.subMenuItems.length > 0) {
|
|
15802
15802
|
return (React.createElement($d08ef79370b62062$export$d7a01e11500dfb6f, { key: (item.id || item.icon || '') + index },
|
|
@@ -15805,14 +15805,14 @@ const ButtonWithDropdown = ({ dropdownItems, triggerIcon, id, extraClassNames =
|
|
|
15805
15805
|
item.icon && (React.createElement(Icon, { icon: item.icon, extraClassNames: `tw-w-[18px] ${item.disabled
|
|
15806
15806
|
? '!tw-text-sq-disabled-gray'
|
|
15807
15807
|
: 'tw-text-sq-text-color dark:tw-text-sq-white'} ${item.iconExtraClassNames || ''}` })),
|
|
15808
|
-
React.createElement("div", { "data-testid": item.labelTestId, "data-customid": item.labelCustomId, className: `tw-text-[
|
|
15809
|
-
React.createElement(Icon, { small: true, icon: "fc-arrow-dropdown -tw-rotate-90", extraClassNames: `${item.disabled ? 'tw-text-sq-disabled-gray' : 'tw-text-sq-text-color dark:tw-text-sq-white'} tw-w-[18px] tw-ml-4 tw-text-[
|
|
15808
|
+
React.createElement("div", { "data-testid": item.labelTestId, "data-customid": item.labelCustomId, className: `tw-text-[0.8125rem] tw-ml-1 ${item.disabled && '!tw-opacity-30'} tw-not-italic tw-font-semibold ${item.labelClasses}` }, item.label)),
|
|
15809
|
+
React.createElement(Icon, { small: true, icon: "fc-arrow-dropdown -tw-rotate-90", extraClassNames: `${item.disabled ? 'tw-text-sq-disabled-gray' : 'tw-text-sq-text-color dark:tw-text-sq-white'} tw-w-[18px] tw-ml-4 tw-text-[0.5rem] tw-justify-center tw-flex` })),
|
|
15810
15810
|
React.createElement($d08ef79370b62062$export$602eac185826482c, null,
|
|
15811
15811
|
React.createElement($d08ef79370b62062$export$6d4de93b380beddf, { className: "focus-visible:tw-outline-none tw-outline-none" },
|
|
15812
15812
|
React.createElement("div", { "data-testid": containerTestId, className: `${bgStyles$1} tw-relative tw-z-[1000] tw-min-w-6 tw-py-2 focus-visible:tw-outline-none tw-outline-none data-[state=open]:tw-animate-in data-[state=closed]:tw-animate-out forceFont data-[side=top]:tw-animate-slideDownAndFade data-[side=right]:tw-animate-slideLeftAndFade data-[side=bottom]:tw-animate-slideUpAndFade data-[side=left]:tw-animate-slideRightAndFade ${borderStyles$1}` }, item.subMenuItems.map((subItem, subIndex) => {
|
|
15813
15813
|
return (React.createElement($d08ef79370b62062$export$6d08773d2e66f8f2, { key: subItem.label + subIndex, onSelect: subItem.onClick, "data-qtip-text": subItem.tooltip, className: "tw-cursor-pointer tw-flex dark:tw-text-sq-white hover:tw-bg-sq-gray-highlight dark:hover:tw-bg-sq-gray-highlight-dark tw-leading-none tw-items-center tw-h-[27px] tw-px-[19px] tw-relative tw-select-none tw-outline-none data-[disabled]:tw-pointer-events-none", disabled: subItem.disabled },
|
|
15814
15814
|
subItem.iconClass && (React.createElement(Icon, { icon: subItem.iconClass, type: "text", extraClassNames: `tw-w-[18px] ${item.disabled && '!tw-opacity-30'}` })),
|
|
15815
|
-
React.createElement("div", { className: `tw-text-[
|
|
15815
|
+
React.createElement("div", { className: `tw-text-[0.8125rem] tw-ml-1 ${subItem.disabled
|
|
15816
15816
|
? 'tw-text-sq-disabled-gray'
|
|
15817
15817
|
: 'tw-text-sq-text-color dark:tw-text-sq-white'} tw-not-italic tw-font-normal ${item.labelClasses}` }, subItem.label)));
|
|
15818
15818
|
}))))));
|
|
@@ -15822,7 +15822,7 @@ const ButtonWithDropdown = ({ dropdownItems, triggerIcon, id, extraClassNames =
|
|
|
15822
15822
|
item.onClick(e);
|
|
15823
15823
|
}, className: `tw-cursor-pointer tw-flex dark:tw-text-sq-white hover:tw-bg-sq-gray-highlight dark:hover:tw-bg-sq-gray-highlight-dark tw-leading-none tw-items-center tw-min-h-[27px] tw-px-[19px] tw-relative tw-select-none tw-outline-none data-[disabled]:tw-pointer-events-none ${item.itemExtraClassNames || ''}`, "data-testid": item.testId, disabled: item.disabled },
|
|
15824
15824
|
item.icon && (React.createElement(Icon, { icon: item.icon, testId: item.iconTestId, type: (item.iconType || 'text'), color: item.iconColor, customId: item.iconCustomId, extraClassNames: `tw-w-[18px] ${item.disabled && '!tw-opacity-30'} ${item.iconExtraClassNames || ''}` })),
|
|
15825
|
-
React.createElement("div", { "data-testid": item.labelTestId, "data-customid": item.labelCustomId, className: `tw-text-[
|
|
15825
|
+
React.createElement("div", { "data-testid": item.labelTestId, "data-customid": item.labelCustomId, className: `tw-text-[0.8125rem] tw-ml-1 ${item.disabled ? 'tw-text-sq-disabled-gray' : 'tw-text-sq-text-color dark:tw-text-sq-white'} tw-not-italic tw-font-normal ${item.labelClasses || ''}` }, item.label)),
|
|
15826
15826
|
item.hasDivider && (React.createElement($d08ef79370b62062$export$1ff3c3f08ae963c0, { "data-testid": `dropdown-divider-${index}`, className: "tw-h-[1px] tw-bg-sq-disabled-gray dark:tw-bg-gray-500 tw-my-[8px]" }))));
|
|
15827
15827
|
}))))));
|
|
15828
15828
|
};
|
|
@@ -15855,7 +15855,7 @@ const Alert = ({ children, dismissible = true, onClose, show = true, variant, te
|
|
|
15855
15855
|
}
|
|
15856
15856
|
return (React__default.createElement("div", { "data-testid": testId, id: id, className: appliedClasses },
|
|
15857
15857
|
children,
|
|
15858
|
-
dismissible && (React__default.createElement(Icon, { icon: "fc-delete", type: variant.match(/danger|warning/) ? 'color' : 'theme', color: variant.match(/danger|warning/) ? 'inherit' : undefined, extraClassNames: `tw-self-end tw-text-[
|
|
15858
|
+
dismissible && (React__default.createElement(Icon, { icon: "fc-delete", type: variant.match(/danger|warning/) ? 'color' : 'theme', color: variant.match(/danger|warning/) ? 'inherit' : undefined, extraClassNames: `tw-self-end tw-text-[0.6875rem] tw-cursor-pointer tw-absolute tw-right-[10px] tw-top-[10px] ${variant.match(/danger|warning|gray/) ? 'tw-text-sq-text-color dark:tw-text-sq-dark-text' : ''}`, testId: `${testId}-close-btn`, onClick: onClose, ...tooltipProps }))));
|
|
15859
15859
|
};
|
|
15860
15860
|
|
|
15861
15861
|
/**
|
|
@@ -15888,33 +15888,33 @@ const SeeqActionDropdownItem = (item) => {
|
|
|
15888
15888
|
if (item.icon) {
|
|
15889
15889
|
renderIcon = isSvgIcon(item.icon) ? (React__default.createElement(SvgIcon, { icon: item.icon, extraClassNames: 'tw-rounded-[3px] tw-h-8 tw-w-8 tw-p-1 tw-flex tw-justify-center tw-items-center tw-bg-sq-color-dark' +
|
|
15890
15890
|
' dark:tw-text-sq-white tw-text-[22px] tw-text-sq-white ' +
|
|
15891
|
-
item.iconExtraClassNames, ...item })) : (React__default.createElement(Icon, { icon: item.icon, type: "text", extraClassNames: 'tw-rounded-[3px] tw-h-8 tw-w-8 tw-flex tw-justify-center tw-items-center tw-bg-sq-color-dark dark:tw-text-sq-white tw-text-[
|
|
15891
|
+
item.iconExtraClassNames, ...item })) : (React__default.createElement(Icon, { icon: item.icon, type: "text", extraClassNames: 'tw-rounded-[3px] tw-h-8 tw-w-8 tw-flex tw-justify-center tw-items-center tw-bg-sq-color-dark dark:tw-text-sq-white tw-text-[1.375rem] tw-text-sq-white ' +
|
|
15892
15892
|
item.iconExtraClassNames }));
|
|
15893
15893
|
}
|
|
15894
15894
|
return (React__default.createElement("div", { className: "tw-flex-col tw-flex tw-p-[10px] tw-pl-5 tw-w-[600px]" },
|
|
15895
15895
|
React__default.createElement("div", { className: "tw-flex tw-flex-row tw-gap-2 tw-items-end" },
|
|
15896
15896
|
renderIcon,
|
|
15897
15897
|
React__default.createElement("h4", { className: "tw-text-base tw-font-[600] tw-leading-[20px] mb-0" }, item.display)),
|
|
15898
|
-
React__default.createElement("div", { className: "tw-text-[
|
|
15898
|
+
React__default.createElement("div", { className: "tw-text-[0.8125rem] tw-font-normal" }, item.text)));
|
|
15899
15899
|
};
|
|
15900
15900
|
const ViewWorkbench = (item) => {
|
|
15901
15901
|
let renderIcon = React__default.createElement(React__default.Fragment, null);
|
|
15902
15902
|
if (item.icon) {
|
|
15903
|
-
renderIcon = isSvgIcon(item.icon) ? (React__default.createElement(SvgIcon, { icon: item.icon, extraClassNames: 'tw-flex tw-w-5 tw-justify-center tw-items-center tw-text-[
|
|
15903
|
+
renderIcon = isSvgIcon(item.icon) ? (React__default.createElement(SvgIcon, { icon: item.icon, extraClassNames: 'tw-flex tw-w-5 tw-justify-center tw-items-center tw-text-[1.25rem] dark:tw-text-sq-white' +
|
|
15904
15904
|
' tw-text-sq-text-color ' +
|
|
15905
|
-
item.iconExtraClassNames, type: "default", ...item })) : (React__default.createElement(Icon, { icon: item.icon, type: "text", extraClassNames: 'tw-flex tw-justify-center tw-items-center tw-text-[
|
|
15905
|
+
item.iconExtraClassNames, type: "default", ...item })) : (React__default.createElement(Icon, { icon: item.icon, type: "text", extraClassNames: 'tw-flex tw-justify-center tw-items-center tw-text-[1.25rem] dark:tw-text-sq-white' +
|
|
15906
15906
|
' tw-text-sq-text-color ' +
|
|
15907
15907
|
item.iconExtraClassNames }));
|
|
15908
15908
|
}
|
|
15909
15909
|
return (React__default.createElement("div", { className: "tw-flex-col tw-flex tw-p-[10px]" },
|
|
15910
15910
|
React__default.createElement("div", { className: "tw-flex tw-flex-row tw-gap-2 tw-items-end" },
|
|
15911
15911
|
renderIcon,
|
|
15912
|
-
React__default.createElement("div", { className: "tw-text-[
|
|
15912
|
+
React__default.createElement("div", { className: "tw-text-[0.8125rem]" }, item.display))));
|
|
15913
15913
|
};
|
|
15914
15914
|
const InsertSeeqContent = (item) => {
|
|
15915
15915
|
return (React__default.createElement("div", { className: "tw-flex-col tw-flex tw-justify-start tw-p-[10px] tw-font-normal tw-text-left tw-text-sq-text-color dark:tw-text-sq-dark-text" },
|
|
15916
|
-
React__default.createElement("h5", { className: "tw-text-[
|
|
15917
|
-
React__default.createElement("div", { className: "tw-text-[
|
|
15916
|
+
React__default.createElement("h5", { className: "tw-text-[1rem] tw-font-medium tw-text-sq-color-dark tw-leading-[18px]" }, item.display),
|
|
15917
|
+
React__default.createElement("div", { className: "tw-text-[0.8125rem] tw-text-sq-text-color dark:tw-text-sq-dark-text !tw-mt-1" }, item.text)));
|
|
15918
15918
|
};
|
|
15919
15919
|
|
|
15920
15920
|
const borderStyles = [
|