sag_components 2.0.0-beta328 → 2.0.0-beta329
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 -1
- package/dist/index.esm.js +37 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +37 -5
- package/dist/index.js.map +1 -1
- package/dist/types/components/Footer/FooterBranding.d.ts +2 -0
- package/dist/types/components/Footer/FooterBranding.styles.d.ts +2 -0
- package/dist/types/components/Table/TableFooter.d.ts +2 -1
- package/dist/types/components/Table/TableFooter.styles.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2105,4 +2105,6 @@ declare namespace KpiFilter {
|
|
|
2105
2105
|
}
|
|
2106
2106
|
}
|
|
2107
2107
|
|
|
2108
|
-
|
|
2108
|
+
declare function FooterBranding(): react_jsx_runtime.JSX.Element;
|
|
2109
|
+
|
|
2110
|
+
export { AdvancedThresholds, Analytics, AreaChart, BannerEventBoxList, BarChart, BarChartTwoRows, BarChartWithAreaChart, BarChartsByWeeks, BatteryChart, BreakdownPanel, BrushChart, BubbleChart, Budgets, Build, Button, Campaigns, CheckBox, CollapseData, CollapseHeader, ContainerTable, Coupons, CustomerSegments, Dashboard, DialogOverlay, DoubleBarSingleLine, DoublePanelDataRow, DownloadProgress, DropdownNew, EventDetailsCard, EventList, Execute, FilterPanel, FilterPop, FooterBranding, GroupBuilder, Heatmap, IconButton, Input, InsightsCarousel, ItemManagerPanel, ItemsStores, KpiFilter, LinkButton, LinnerDataBox, MarketShareDescription, MenuRoute, MessageBox, ModalDrawer, ModalWithOverlay, NoDataFoundMessage, OneColumnContainer, OverlayDropdown, PerformanceAnalyticsLegend, PieChart, PopupCharts, PreTestWhatIf, QuickFilter, QuickFilterCards, RangePicker, RangePop, ReportTable, RulesEngine, SagIconButton, SampleRunEngine, SearchInput, SegmentedButton, SingleBarLineCharts, SortPop, TabMenu, Table, Tag, ToasterMessageBox, ToggleSwitch, Tooltip, TopToggleList, TotalBenchmark, TotalBenchmarkAreachart, TotalBenchmarkArrows, TotalBenchmarkBarchart, TotalDoughnutChart, TotalHorizontalCharts, Track, TwoBarCharts, WeeksPicker };
|
package/dist/index.esm.js
CHANGED
|
@@ -47331,6 +47331,8 @@ const FooterWrapper = styled.div`
|
|
|
47331
47331
|
justify-content: space-between;
|
|
47332
47332
|
padding: 15px 20px 15px 15px;
|
|
47333
47333
|
gap: 16px;
|
|
47334
|
+
background-color: rgba(244, 244, 245, 0.3);
|
|
47335
|
+
border-top: 1px solid #e5e7eb;
|
|
47334
47336
|
`;
|
|
47335
47337
|
const FooterLabel = styled.span`
|
|
47336
47338
|
font-size: 14px;
|
|
@@ -47356,6 +47358,12 @@ const FooterLottieWrapper = styled.div`
|
|
|
47356
47358
|
display: flex;
|
|
47357
47359
|
align-items: center;
|
|
47358
47360
|
`;
|
|
47361
|
+
const FooterRightGroup = styled.div`
|
|
47362
|
+
display: flex;
|
|
47363
|
+
align-items: center;
|
|
47364
|
+
gap: 12px;
|
|
47365
|
+
flex-shrink: 0;
|
|
47366
|
+
`;
|
|
47359
47367
|
const FooterProgressTrack = styled.div`
|
|
47360
47368
|
width: 160px;
|
|
47361
47369
|
height: 6px;
|
|
@@ -47378,15 +47386,16 @@ const TableFooter = ({
|
|
|
47378
47386
|
total,
|
|
47379
47387
|
rowLabel,
|
|
47380
47388
|
isLoading,
|
|
47381
|
-
isLoadingText
|
|
47389
|
+
isLoadingText,
|
|
47390
|
+
footerRight
|
|
47382
47391
|
}) => {
|
|
47383
47392
|
if (total <= 0) return null;
|
|
47384
47393
|
return /*#__PURE__*/React$1.createElement(FooterWrapper, null, /*#__PURE__*/React$1.createElement(FooterLabel, null, "Rows ", /*#__PURE__*/React$1.createElement(FooterLabelBold, null, visibleFirst, "\u2013", visibleLast), " of ", /*#__PURE__*/React$1.createElement(FooterLabelBold, null, total), rowLabel ? ` ${rowLabel}` : ""), isLoading && /*#__PURE__*/React$1.createElement(FooterLoadingGroup, null, /*#__PURE__*/React$1.createElement(FooterLottieWrapper, null, /*#__PURE__*/React$1.createElement(Lottie, {
|
|
47385
47394
|
animationData: LoadingAnimation,
|
|
47386
47395
|
loop: true
|
|
47387
|
-
})), /*#__PURE__*/React$1.createElement(FooterLabel, null, isLoadingText || "Loading...")), /*#__PURE__*/React$1.createElement(FooterProgressTrack, null, /*#__PURE__*/React$1.createElement(FooterProgressFill, {
|
|
47396
|
+
})), /*#__PURE__*/React$1.createElement(FooterLabel, null, isLoadingText || "Loading...")), /*#__PURE__*/React$1.createElement(FooterRightGroup, null, /*#__PURE__*/React$1.createElement(FooterProgressTrack, null, /*#__PURE__*/React$1.createElement(FooterProgressFill, {
|
|
47388
47397
|
percent: Math.round(visibleLast / total * 100)
|
|
47389
|
-
})));
|
|
47398
|
+
})), footerRight));
|
|
47390
47399
|
};
|
|
47391
47400
|
|
|
47392
47401
|
/**
|
|
@@ -47738,7 +47747,8 @@ const Table = props => {
|
|
|
47738
47747
|
// Footer props
|
|
47739
47748
|
showFooter = false,
|
|
47740
47749
|
total,
|
|
47741
|
-
rowLabel = ""
|
|
47750
|
+
rowLabel = "",
|
|
47751
|
+
footerRight = null
|
|
47742
47752
|
} = props;
|
|
47743
47753
|
const scrollWrapperRef = useRef(null);
|
|
47744
47754
|
const tableBodyRef = useRef(null);
|
|
@@ -47925,7 +47935,8 @@ const Table = props => {
|
|
|
47925
47935
|
total: total,
|
|
47926
47936
|
rowLabel: rowLabel,
|
|
47927
47937
|
isLoading: isLoading,
|
|
47928
|
-
isLoadingText: isLoadingText
|
|
47938
|
+
isLoadingText: isLoadingText,
|
|
47939
|
+
footerRight: footerRight
|
|
47929
47940
|
}))));
|
|
47930
47941
|
};
|
|
47931
47942
|
Table.displayName = "Table";
|
|
@@ -61217,5 +61228,25 @@ KpiFilter.defaultProps = {
|
|
|
61217
61228
|
selectAllIgnoreList: []
|
|
61218
61229
|
};
|
|
61219
61230
|
|
|
61220
|
-
|
|
61231
|
+
const BrandingText = styled.span`
|
|
61232
|
+
font-family: 'Poppins', sans-serif;
|
|
61233
|
+
font-size: 12px;
|
|
61234
|
+
color: #b1b1b1;
|
|
61235
|
+
white-space: nowrap;
|
|
61236
|
+
`;
|
|
61237
|
+
const BrandingLink = styled.a`
|
|
61238
|
+
color: #b1b1b1;
|
|
61239
|
+
`;
|
|
61240
|
+
|
|
61241
|
+
const FooterBranding = () => /*#__PURE__*/React$1.createElement(BrandingText, null, "Powered by ", /*#__PURE__*/React$1.createElement("strong", {
|
|
61242
|
+
style: {
|
|
61243
|
+
fontWeight: 600
|
|
61244
|
+
}
|
|
61245
|
+
}, "Sagarmatha"), "\xA0|\xA0", /*#__PURE__*/React$1.createElement(BrandingLink, {
|
|
61246
|
+
href: "https://www.sag121.com/privacy-policy/",
|
|
61247
|
+
target: "_blank",
|
|
61248
|
+
rel: "noreferrer"
|
|
61249
|
+
}, "Privacy Policy"));
|
|
61250
|
+
|
|
61251
|
+
export { AdvancedThresholds, Analytics, AreaChart, BannerEventBoxList, BarChart, BarChartTwoRows, BarChartWithAreaChart, BarChartsByWeeks, BatteryChart, BreakdownPanel, BrushChart, BubbleChart, Budgets, Build, Button$1 as Button, Campaigns, CheckBox, CollapseData, CollapseHeader, ContainerTable, Coupons, CustomerSegments, Dashboard, DialogOverlay$1 as DialogOverlay, DoubleBarSingleLine, DoublePanelDataRow, DownloadProgress, DropdownNew, EventDetailsCard, EventList, Execute, FilterPanel, FilterPop, FooterBranding, GroupBuilder, Heatmap, IconButton$1 as IconButton, Input$2 as Input, InsightsCarousel, ItemManagerPanel, ItemsStores, KpiFilter, LinkButton, LinnerDataBox, MarketShareDescription, MenuRoute, MessageBox, ModalDrawer, ModalWithOverlay, NoDataFoundMessage, OneColumnContainer, OverlayDropdown, PerformanceAnalyticsLegend, PieChart, PopupCharts, PreTestWhatIf, QuickFilter, QuickFilterCards, RangePicker, RangePop, ReportTable, RulesEngine, SagIconButton, SampleRunEngine, SearchInput$1 as SearchInput, SegmentedButton, SingleBarLineCharts, SortPop, TabMenu, Table, Tag, ToasterMessageBox, ToggleSwitch, Tooltip$2 as Tooltip, TopToggleList, TotalBenchmark, TotalBenchmarkAreachart, TotalBenchmarkArrows, TotalBenchmarkBarchart, TotalDoughnutChart, TotalHorizontalCharts, Track, TwoBarCharts, WeeksPicker };
|
|
61221
61252
|
//# sourceMappingURL=index.esm.js.map
|