sag_components 2.0.0-beta130 → 2.0.0-beta131
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.ts +3 -2
- package/dist/index.esm.js +15 -14
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +15 -14
- package/dist/index.js.map +1 -1
- package/dist/types/components/OverlayDropdown/OverlayDropdown.d.ts +2 -1
- package/dist/types/components/Table/Table.d.ts +1 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1424,7 +1424,7 @@ declare function Execute({ width, height, fill }: {
|
|
|
1424
1424
|
fill?: string;
|
|
1425
1425
|
}): react_jsx_runtime.JSX.Element;
|
|
1426
1426
|
|
|
1427
|
-
declare
|
|
1427
|
+
declare function Table(props: any): react_jsx_runtime.JSX.Element;
|
|
1428
1428
|
|
|
1429
1429
|
declare function FilterPop(props: any): react_jsx_runtime.JSX.Element;
|
|
1430
1430
|
|
|
@@ -1464,7 +1464,7 @@ declare function ModalDrawer({ open, onClose, children, widthPercent }: {
|
|
|
1464
1464
|
widthPercent?: number;
|
|
1465
1465
|
}): react_jsx_runtime.JSX.Element;
|
|
1466
1466
|
|
|
1467
|
-
declare function OverlayDropdown({ data, value, onSelectClick, disabled, isDarkerBackground, required, selectedColor, hoverColor, dropdownMaxHeight, width, label, labelEmptyValue, showLabelOnTop, placeHolder, labelColor, placeHolderColor, ...props }: {
|
|
1467
|
+
declare function OverlayDropdown({ data, value, onSelectClick, disabled, isDarkerBackground, required, selectedColor, hoverColor, dropdownMaxHeight, width, height, label, labelEmptyValue, showLabelOnTop, placeHolder, labelColor, placeHolderColor, ...props }: {
|
|
1468
1468
|
[x: string]: any;
|
|
1469
1469
|
data?: any[];
|
|
1470
1470
|
value: any;
|
|
@@ -1476,6 +1476,7 @@ declare function OverlayDropdown({ data, value, onSelectClick, disabled, isDarke
|
|
|
1476
1476
|
hoverColor?: string;
|
|
1477
1477
|
dropdownMaxHeight?: string;
|
|
1478
1478
|
width?: string;
|
|
1479
|
+
height?: string;
|
|
1479
1480
|
label: any;
|
|
1480
1481
|
labelEmptyValue: any;
|
|
1481
1482
|
showLabelOnTop: any;
|
package/dist/index.esm.js
CHANGED
|
@@ -34334,7 +34334,7 @@ const Modal = styled.div`
|
|
|
34334
34334
|
display: flex;
|
|
34335
34335
|
gap: 20px;
|
|
34336
34336
|
padding: 20px;
|
|
34337
|
-
margin-top:
|
|
34337
|
+
margin-top: -30px;
|
|
34338
34338
|
flex-direction: column;
|
|
34339
34339
|
background-color: white;
|
|
34340
34340
|
border-radius: 12px;
|
|
@@ -38196,9 +38196,6 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
38196
38196
|
}))));
|
|
38197
38197
|
});
|
|
38198
38198
|
|
|
38199
|
-
// Add displayName for better debugging
|
|
38200
|
-
TableBody.displayName = 'TableBody';
|
|
38201
|
-
|
|
38202
38199
|
var nm$1 = "calendar_lottie";
|
|
38203
38200
|
var ddd$1 = 0;
|
|
38204
38201
|
var h$1 = 16;
|
|
@@ -41366,8 +41363,9 @@ var Lottie = function Lottie(props) {
|
|
|
41366
41363
|
};
|
|
41367
41364
|
|
|
41368
41365
|
// Table.jsx
|
|
41369
|
-
const Table =
|
|
41366
|
+
const Table = props => {
|
|
41370
41367
|
const {
|
|
41368
|
+
ref,
|
|
41371
41369
|
width = '100%',
|
|
41372
41370
|
height = 'auto',
|
|
41373
41371
|
tableTitle = 'All Events',
|
|
@@ -41525,10 +41523,7 @@ const Table = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
41525
41523
|
animationData: LoadingAnimation,
|
|
41526
41524
|
loop: true
|
|
41527
41525
|
}), /*#__PURE__*/React$1.createElement(LoadingText, null, isLoadingText)))));
|
|
41528
|
-
}
|
|
41529
|
-
|
|
41530
|
-
// Add displayName for better debugging
|
|
41531
|
-
Table.displayName = 'Table';
|
|
41526
|
+
};
|
|
41532
41527
|
|
|
41533
41528
|
const Card = styled.div`
|
|
41534
41529
|
background: ${props => props.backgroundColor};
|
|
@@ -51317,6 +51312,7 @@ const DropdownButton = styled.button`
|
|
|
51317
51312
|
border: 1px solid #8B8989;
|
|
51318
51313
|
border-radius: 12px;
|
|
51319
51314
|
padding: 17px;
|
|
51315
|
+
height: ${props => props.height};
|
|
51320
51316
|
text-align: left;
|
|
51321
51317
|
cursor: pointer;
|
|
51322
51318
|
display: flex;
|
|
@@ -51353,10 +51349,13 @@ const DropdownList = styled.ul`
|
|
|
51353
51349
|
const SectionTitle = styled.li`
|
|
51354
51350
|
font-size: 14px;
|
|
51355
51351
|
color: #bdbdbd;
|
|
51356
|
-
padding:
|
|
51352
|
+
padding: 12px 12px 0 12px;
|
|
51357
51353
|
font-weight: 500;
|
|
51358
|
-
border-top: 1px solid #bdbdbd;
|
|
51359
51354
|
pointer-events: none;
|
|
51355
|
+
&:not(:first-child) {
|
|
51356
|
+
border-top: 1px solid #bdbdbd;
|
|
51357
|
+
padding-top: 16px;
|
|
51358
|
+
}
|
|
51360
51359
|
`;
|
|
51361
51360
|
const DropdownItem = styled.li`
|
|
51362
51361
|
padding: 8px 16px;
|
|
@@ -51405,16 +51404,16 @@ styled.div`
|
|
|
51405
51404
|
white-space: pre-line;
|
|
51406
51405
|
`;
|
|
51407
51406
|
const Label$1 = styled.label`
|
|
51408
|
-
font-size:
|
|
51407
|
+
font-size: 14px;
|
|
51409
51408
|
font-weight: 400;
|
|
51410
51409
|
padding-inline-end: 5px;
|
|
51411
51410
|
padding-inline-start: 5px;
|
|
51412
51411
|
margin-right: 10px;
|
|
51413
51412
|
z-index: 2;
|
|
51414
51413
|
color: ${props => props.error ? 'red' : props.disabled ? '#888' : props.labelColor};
|
|
51415
|
-
background-color: ${props => props.showLabelOnTop ? 'white' : 'transparent'}
|
|
51414
|
+
background-color: ${props => props.disabled ? '#F2F2F2' : props.showLabelOnTop ? 'white' : 'transparent'};
|
|
51416
51415
|
position: absolute;
|
|
51417
|
-
top: ${props => props.isFocused || props.hasValue ? '0px' : '
|
|
51416
|
+
top: ${props => props.isFocused || props.hasValue ? '0px' : '50%'};
|
|
51418
51417
|
left: ${props => props.isFocused || props.hasValue ? '23px' : '14px'};
|
|
51419
51418
|
transform: translateY(-50%);
|
|
51420
51419
|
transition: ${props => props.showLabelOnTop ? 'top 0.3s ease, font-size 0.3s ease, color 0.3s ease' : ''} ;
|
|
@@ -51650,6 +51649,7 @@ const OverlayDropdown = _ref => {
|
|
|
51650
51649
|
hoverColor = '#E6F0F0',
|
|
51651
51650
|
dropdownMaxHeight = '600px',
|
|
51652
51651
|
width = '100%',
|
|
51652
|
+
height = 'auto',
|
|
51653
51653
|
label,
|
|
51654
51654
|
labelEmptyValue,
|
|
51655
51655
|
showLabelOnTop,
|
|
@@ -51880,6 +51880,7 @@ const OverlayDropdown = _ref => {
|
|
|
51880
51880
|
onClick: toggleDropdown,
|
|
51881
51881
|
disabled: disabled,
|
|
51882
51882
|
isDarkerBackground: isDarkerBackground,
|
|
51883
|
+
height: height,
|
|
51883
51884
|
type: "button"
|
|
51884
51885
|
}, /*#__PURE__*/React$1.createElement(TruncatedText, {
|
|
51885
51886
|
onMouseEnter: () => setHoveredText(selected?.label),
|