sag_components 2.0.0-beta100 → 2.0.0-beta102
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/IsLoadingAnimation.gif +0 -0
- package/dist/index.d.ts +115 -13
- package/dist/index.esm.js +15127 -408
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +15115 -388
- package/dist/index.js.map +1 -1
- package/dist/types/components/DropdownMultiNew/DropdownMultiNew.d.ts +2 -1
- package/dist/types/components/DropdownSingleNew/DropdownSingleNew.d.ts +2 -1
- package/dist/types/components/ItemManagerPanel/ConfirmationDialog/ConfirmationDialog.d.ts +9 -0
- package/dist/types/components/ItemManagerPanel/ConfirmationDialog/ConfirmationDialog.style.d.ts +13 -0
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.d.ts +14 -2
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.stories.d.ts +54 -0
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.style.d.ts +6 -0
- package/dist/types/components/ItemManagerPanel/NewItemList/NewItemList.d.ts +3 -3
- package/dist/types/components/ItemManagerPanel/NewItemList/NewItemList.style.d.ts +4 -0
- package/dist/types/components/ItemManagerPanel/NewSubitem/NewSubitem.d.ts +8 -0
- package/dist/types/components/ItemManagerPanel/NewSubitem/NewSubitem.style.d.ts +15 -0
- package/dist/types/components/ItemManagerPanel/NewSubitemList/NewSubitemList.d.ts +2 -0
- package/dist/types/components/ItemManagerPanel/NewSubitemList/NewSubitemList.style.d.ts +17 -0
- package/dist/types/components/ItemManagerPanel/SuccessScreen/SuccessScreen.d.ts +8 -0
- package/dist/types/components/ItemManagerPanel/SuccessScreen/SuccessScreen.style.d.ts +16 -0
- package/dist/types/components/MessageBox/MessageBox.d.ts +13 -0
- package/dist/types/components/MessageBox/MessageBox.stories.d.ts +75 -0
- package/dist/types/components/MessageBox/MessageBox.styles.d.ts +9 -0
- package/dist/types/components/ModalDrawer/ModalDrawer.d.ts +15 -0
- package/dist/types/components/ModalDrawer/ModalDrawer.stories.d.ts +7 -0
- package/dist/types/components/ModalDrawer/ModalDrawer.styles.d.ts +3 -0
- package/dist/types/components/OverlayDropdown/OverlayDropdown.d.ts +24 -13
- package/dist/types/components/OverlayDropdown/OverlayDropdown.stories.d.ts +182 -5
- package/dist/types/components/OverlayDropdown/OverlayDropdown.style.d.ts +0 -2
- package/dist/types/components/OverlayDropdown/OverlayTemplateDialog.d.ts +5 -1
- package/dist/types/components/Table/DropMenus/FieldPop.d.ts +2 -0
- package/dist/types/components/Table/DropMenus/FieldPop.style.d.ts +5 -0
- package/dist/types/components/Table/DropMenus/FilterPop.d.ts +2 -0
- package/dist/types/components/Table/DropMenus/FilterPop.style.d.ts +6 -0
- package/dist/types/components/Table/DropMenus/RangePop.d.ts +2 -0
- package/dist/types/components/Table/DropMenus/RangePop.style.d.ts +10 -0
- package/dist/types/components/Table/DropMenus/SortPop.d.ts +2 -0
- package/dist/types/components/Table/DropMenus/SortPop.style.d.ts +8 -0
- package/dist/types/components/Table/FilterIcon.d.ts +6 -0
- package/dist/types/components/Table/Icons/DisabledTrashIcon.d.ts +6 -0
- package/dist/types/components/Table/Icons/FilterIcon.d.ts +4 -0
- package/dist/types/components/Table/Icons/SortIcon.d.ts +5 -0
- package/dist/types/components/Table/Icons/TrashIcon.d.ts +6 -0
- package/dist/types/components/Table/SortIcon.d.ts +6 -0
- package/dist/types/components/Table/Table.stories.d.ts +275 -29
- package/dist/types/components/Table/Table.style.d.ts +4 -0
- package/dist/types/components/Table/TableBody.d.ts +9 -0
- package/dist/types/components/Table/TableBody.styles.d.ts +10 -0
- package/dist/types/components/Table/TableHeader.d.ts +9 -0
- package/dist/types/components/Table/TableHeader.styles.d.ts +8 -0
- package/dist/types/components/Table/Tooltip.d.ts +8 -0
- package/dist/types/components/Table/Tooltip.styles.d.ts +1 -0
- package/dist/types/components/Table/useTooltip.d.ts +11 -0
- package/dist/types/components/WeeksPicker/WeeksCalendar.d.ts +3 -1
- package/dist/types/components/WeeksPicker/WeeksPicker.d.ts +3 -12
- package/dist/types/icons/ArrowRightFullIcon.d.ts +5 -0
- package/dist/types/icons/ExclamationMarkIcon.d.ts +6 -0
- package/dist/types/icons/OkIcon.d.ts +6 -0
- package/dist/types/icons/RedDot.d.ts +5 -0
- package/dist/types/icons/TrashIcon.d.ts +7 -0
- package/dist/types/icons/index.d.ts +5 -0
- package/dist/types/index.d.ts +8 -0
- package/package.json +5 -2
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
+
import React from 'react';
|
|
3
4
|
|
|
4
5
|
declare function Button(props: any): react_jsx_runtime.JSX.Element;
|
|
5
6
|
|
|
@@ -1281,31 +1282,23 @@ declare function ModalWithOverlay(props: any): react_jsx_runtime.JSX.Element;
|
|
|
1281
1282
|
|
|
1282
1283
|
declare function DropdownNew(props: any): react_jsx_runtime.JSX.Element;
|
|
1283
1284
|
|
|
1284
|
-
declare function WeeksPicker({ label, disabled, borderColor, borderColorFocus, textColor, required, placeholder, borderRadius, year, width, height, onChange, selectedValue, }: {
|
|
1285
|
+
declare function WeeksPicker({ label, disabled, borderColor, borderColorFocus, textColor, hoverColor, required, placeholder, borderRadius, year, width, height, withMarginBottom, onChange, selectedValue, }: {
|
|
1285
1286
|
label: any;
|
|
1286
1287
|
disabled: any;
|
|
1287
1288
|
borderColor: any;
|
|
1288
1289
|
borderColorFocus: any;
|
|
1289
1290
|
textColor: any;
|
|
1291
|
+
hoverColor: any;
|
|
1290
1292
|
required: any;
|
|
1291
1293
|
placeholder: any;
|
|
1292
1294
|
borderRadius: any;
|
|
1293
1295
|
year: any;
|
|
1294
1296
|
width: any;
|
|
1295
1297
|
height: any;
|
|
1298
|
+
withMarginBottom?: boolean;
|
|
1296
1299
|
onChange: any;
|
|
1297
1300
|
selectedValue: any;
|
|
1298
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1299
|
-
declare namespace WeeksPicker {
|
|
1300
|
-
namespace propTypes {
|
|
1301
|
-
const label: PropTypes.Validator<string>;
|
|
1302
|
-
const year: PropTypes.Validator<number>;
|
|
1303
|
-
const onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
1304
|
-
const defaultValues: PropTypes.Requireable<number[]>;
|
|
1305
|
-
const saveStartWeekID: PropTypes.Validator<(...args: any[]) => any>;
|
|
1306
|
-
const saveEndWeekID: PropTypes.Validator<(...args: any[]) => any>;
|
|
1307
|
-
}
|
|
1308
|
-
}
|
|
1301
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1309
1302
|
|
|
1310
1303
|
declare function Input({ label, labelEmptyValue, size, selectedValue, placeHolder, onChange, onBlur, required, disabled, width, error, errorMessage, labelColor, leftIcon, rightIcon, password, leftIconOnClick, rightIconOnClick, }: {
|
|
1311
1304
|
label: any;
|
|
@@ -1386,6 +1379,29 @@ declare namespace Input {
|
|
|
1386
1379
|
}
|
|
1387
1380
|
}
|
|
1388
1381
|
|
|
1382
|
+
declare function Tooltip(props: any): react_jsx_runtime.JSX.Element;
|
|
1383
|
+
declare namespace Tooltip {
|
|
1384
|
+
namespace propTypes {
|
|
1385
|
+
const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
1386
|
+
const content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
1387
|
+
const direction: PropTypes.Requireable<string>;
|
|
1388
|
+
const delay: PropTypes.Requireable<string>;
|
|
1389
|
+
const topFactor: PropTypes.Requireable<number>;
|
|
1390
|
+
}
|
|
1391
|
+
namespace defaultProps {
|
|
1392
|
+
const children_1: any;
|
|
1393
|
+
export { children_1 as children };
|
|
1394
|
+
const content_1: string;
|
|
1395
|
+
export { content_1 as content };
|
|
1396
|
+
const direction_1: string;
|
|
1397
|
+
export { direction_1 as direction };
|
|
1398
|
+
const delay_1: string;
|
|
1399
|
+
export { delay_1 as delay };
|
|
1400
|
+
const topFactor_1: number;
|
|
1401
|
+
export { topFactor_1 as topFactor };
|
|
1402
|
+
}
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1389
1405
|
/**
|
|
1390
1406
|
* ToggleSwitch component for on/off states.
|
|
1391
1407
|
* Supports small/large sizes and disabled state.
|
|
@@ -1430,6 +1446,92 @@ declare function Execute({ width, height, fill }: {
|
|
|
1430
1446
|
|
|
1431
1447
|
declare function Table(props: any): react_jsx_runtime.JSX.Element;
|
|
1432
1448
|
|
|
1449
|
+
declare function FilterPop(props: any): react_jsx_runtime.JSX.Element;
|
|
1450
|
+
|
|
1451
|
+
declare function SortPop(props: any): react_jsx_runtime.JSX.Element;
|
|
1452
|
+
|
|
1453
|
+
declare function RangePop(props: any): react_jsx_runtime.JSX.Element;
|
|
1454
|
+
|
|
1433
1455
|
declare function SearchInput(props: any): react_jsx_runtime.JSX.Element;
|
|
1434
1456
|
|
|
1435
|
-
|
|
1457
|
+
declare function ItemManagerPanel({ width, height, onSendForms, editMode, itemAndPackage, setItemAndPackage, linkColor, backgroundColor, onDelete, }: {
|
|
1458
|
+
width?: string;
|
|
1459
|
+
height?: string;
|
|
1460
|
+
onSendForms?: () => void;
|
|
1461
|
+
editMode?: boolean;
|
|
1462
|
+
itemAndPackage?: {
|
|
1463
|
+
name: string;
|
|
1464
|
+
packages: {
|
|
1465
|
+
brands: string;
|
|
1466
|
+
component: string;
|
|
1467
|
+
}[];
|
|
1468
|
+
}[];
|
|
1469
|
+
setItemAndPackage: any;
|
|
1470
|
+
linkColor?: string;
|
|
1471
|
+
backgroundColor?: string;
|
|
1472
|
+
onDelete?: () => void;
|
|
1473
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* ModalDrawer component
|
|
1477
|
+
* @param {Object} props
|
|
1478
|
+
* @param {boolean} props.open - Whether the drawer is open
|
|
1479
|
+
* @param {function} props.onClose - Handler for closing the drawer
|
|
1480
|
+
* @param {React.ReactNode} props.children - Drawer content
|
|
1481
|
+
* @param {number} [props.widthPercent=70] - Width of the drawer as a percentage of the viewport width
|
|
1482
|
+
*/
|
|
1483
|
+
declare function ModalDrawer({ open, onClose, children, widthPercent }: {
|
|
1484
|
+
open: boolean;
|
|
1485
|
+
onClose: Function;
|
|
1486
|
+
children: React.ReactNode;
|
|
1487
|
+
widthPercent?: number;
|
|
1488
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1489
|
+
|
|
1490
|
+
declare function OverlayDropdown({ data, value, onSelectClick, disabled, required, selectedColor, hoverColor, dropdownMaxHeight, width, ...props }: {
|
|
1491
|
+
[x: string]: any;
|
|
1492
|
+
data?: any[];
|
|
1493
|
+
value: any;
|
|
1494
|
+
onSelectClick: any;
|
|
1495
|
+
disabled?: boolean;
|
|
1496
|
+
required?: boolean;
|
|
1497
|
+
selectedColor?: string;
|
|
1498
|
+
hoverColor?: string;
|
|
1499
|
+
dropdownMaxHeight?: string;
|
|
1500
|
+
width?: string;
|
|
1501
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1502
|
+
declare namespace OverlayDropdown {
|
|
1503
|
+
namespace propTypes {
|
|
1504
|
+
const data: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1505
|
+
overlayCode: PropTypes.Requireable<NonNullable<string | number>>;
|
|
1506
|
+
overlayName: PropTypes.Requireable<string>;
|
|
1507
|
+
templateType: PropTypes.Requireable<number>;
|
|
1508
|
+
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1509
|
+
value: PropTypes.Validator<string>;
|
|
1510
|
+
label: PropTypes.Validator<string>;
|
|
1511
|
+
}>[]>;
|
|
1512
|
+
}>[]>;
|
|
1513
|
+
const value: PropTypes.Requireable<string>;
|
|
1514
|
+
const onSelectClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1515
|
+
const disabled: PropTypes.Requireable<boolean>;
|
|
1516
|
+
const required: PropTypes.Requireable<boolean>;
|
|
1517
|
+
const selectedColor: PropTypes.Requireable<string>;
|
|
1518
|
+
const hoverColor: PropTypes.Requireable<string>;
|
|
1519
|
+
const dropdownMaxHeight: PropTypes.Requireable<string>;
|
|
1520
|
+
const width: PropTypes.Requireable<string>;
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
declare function MessageBox({ isOpen, onClose, onConfirm, title, messageTitle, messageText, cancelText, confirmText, width, height }: {
|
|
1525
|
+
isOpen?: boolean;
|
|
1526
|
+
onClose?: () => void;
|
|
1527
|
+
onConfirm?: () => void;
|
|
1528
|
+
title?: string;
|
|
1529
|
+
messageTitle?: string;
|
|
1530
|
+
messageText?: string;
|
|
1531
|
+
cancelText?: string;
|
|
1532
|
+
confirmText?: string;
|
|
1533
|
+
width?: string;
|
|
1534
|
+
height?: string;
|
|
1535
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1536
|
+
|
|
1537
|
+
export { AreaChart, BannerEventBoxList, BarChart, BarChartTwoRows, BarChartWithAreaChart, BarChartsByWeeks, BatteryChart, BreakdownPanel, BrushChart, BubbleChart, Build, Button, CollapseData, CollapseHeader, ContainerTable, DialogOverlay, DoubleBarSingleLine, DoublePanelDataRow, DownloadProgress, DropdownNew, EventDetailsCard, EventList, Execute, FilterPanel, FilterPop, Heatmap, IconButton, Input, InsightsCarousel, ItemManagerPanel, LinkButton, LinnerDataBox, MarketShareDescription, MenuRoute, MessageBox, ModalDrawer, ModalWithOverlay, OneColumnContainer, OverlayDropdown, PerformanceAnalyticsLegend, PieChart, PopupCharts, QuickFilter, RangePop, ReportTable, SearchInput, SingleBarLineCharts, SortPop, TabMenu, Table, ToggleSwitch, Tooltip, TopToggleList, TotalDoughnutChart, TotalHorizontalCharts, Track, TwoBarCharts, WeeksPicker };
|