@sustaina/shared-ui 1.40.1 → 1.40.2
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.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1559,11 +1559,11 @@ interface TruncatedMouseEnterDivProps {
|
|
|
1559
1559
|
}
|
|
1560
1560
|
declare const TruncatedMouseEnterDiv: ({ value, className, tooltipProps, tooltipContentProps, arrowClassName }: TruncatedMouseEnterDivProps) => react_jsx_runtime.JSX.Element;
|
|
1561
1561
|
|
|
1562
|
-
type TabSelectItem<T extends string> = {
|
|
1562
|
+
type TabSelectItem<T extends string = string> = {
|
|
1563
1563
|
id: T;
|
|
1564
1564
|
label: string;
|
|
1565
1565
|
};
|
|
1566
|
-
interface TabSelectProps<T extends string> {
|
|
1566
|
+
interface TabSelectProps<T extends string = string> {
|
|
1567
1567
|
items: TabSelectItem<T>[];
|
|
1568
1568
|
onSelectTab: (state: T) => void;
|
|
1569
1569
|
labelWrapperClassName?: string;
|
|
@@ -1571,7 +1571,7 @@ interface TabSelectProps<T extends string> {
|
|
|
1571
1571
|
activeBorderClassName?: string;
|
|
1572
1572
|
separatorClassName?: string;
|
|
1573
1573
|
}
|
|
1574
|
-
declare const TabSelect: <T extends string>({ items, onSelectTab, labelWrapperClassName, labelClassName, activeBorderClassName, separatorClassName, ...rest }: ComponentProps<"div"> & TabSelectProps<T>) => react_jsx_runtime.JSX.Element | null;
|
|
1574
|
+
declare const TabSelect: <T extends string = string>({ items, onSelectTab, labelWrapperClassName, labelClassName, activeBorderClassName, separatorClassName, ...rest }: ComponentProps<"div"> & TabSelectProps<T>) => react_jsx_runtime.JSX.Element | null;
|
|
1575
1575
|
|
|
1576
1576
|
declare function isDefined<T>(value: T | null | undefined): value is NonNullable<T>;
|
|
1577
1577
|
declare function isEmptyObject(value: any): boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -1559,11 +1559,11 @@ interface TruncatedMouseEnterDivProps {
|
|
|
1559
1559
|
}
|
|
1560
1560
|
declare const TruncatedMouseEnterDiv: ({ value, className, tooltipProps, tooltipContentProps, arrowClassName }: TruncatedMouseEnterDivProps) => react_jsx_runtime.JSX.Element;
|
|
1561
1561
|
|
|
1562
|
-
type TabSelectItem<T extends string> = {
|
|
1562
|
+
type TabSelectItem<T extends string = string> = {
|
|
1563
1563
|
id: T;
|
|
1564
1564
|
label: string;
|
|
1565
1565
|
};
|
|
1566
|
-
interface TabSelectProps<T extends string> {
|
|
1566
|
+
interface TabSelectProps<T extends string = string> {
|
|
1567
1567
|
items: TabSelectItem<T>[];
|
|
1568
1568
|
onSelectTab: (state: T) => void;
|
|
1569
1569
|
labelWrapperClassName?: string;
|
|
@@ -1571,7 +1571,7 @@ interface TabSelectProps<T extends string> {
|
|
|
1571
1571
|
activeBorderClassName?: string;
|
|
1572
1572
|
separatorClassName?: string;
|
|
1573
1573
|
}
|
|
1574
|
-
declare const TabSelect: <T extends string>({ items, onSelectTab, labelWrapperClassName, labelClassName, activeBorderClassName, separatorClassName, ...rest }: ComponentProps<"div"> & TabSelectProps<T>) => react_jsx_runtime.JSX.Element | null;
|
|
1574
|
+
declare const TabSelect: <T extends string = string>({ items, onSelectTab, labelWrapperClassName, labelClassName, activeBorderClassName, separatorClassName, ...rest }: ComponentProps<"div"> & TabSelectProps<T>) => react_jsx_runtime.JSX.Element | null;
|
|
1575
1575
|
|
|
1576
1576
|
declare function isDefined<T>(value: T | null | undefined): value is NonNullable<T>;
|
|
1577
1577
|
declare function isEmptyObject(value: any): boolean;
|
package/dist/index.js
CHANGED
|
@@ -10395,7 +10395,8 @@ var FormulaEditor = ({
|
|
|
10395
10395
|
{
|
|
10396
10396
|
type: "button",
|
|
10397
10397
|
onClick: () => insertOperator(operator.value),
|
|
10398
|
-
|
|
10398
|
+
variant: "cottonBlue",
|
|
10399
|
+
className: "min-w-10 rounded-sm px-3",
|
|
10399
10400
|
disabled: isEditorDisabled,
|
|
10400
10401
|
children: operator.label
|
|
10401
10402
|
},
|