sag_components 2.0.0-beta167 → 2.0.0-beta169
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 +100 -109
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +100 -108
- package/dist/index.js.map +1 -1
- package/dist/types/components/DropdownSingleNew/DropdownSingleNew.d.ts +2 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1651,4 +1651,6 @@ declare namespace RangePicker {
|
|
|
1651
1651
|
|
|
1652
1652
|
declare function Tag(props: any): react_jsx_runtime.JSX.Element;
|
|
1653
1653
|
|
|
1654
|
-
|
|
1654
|
+
declare function CheckBox(props: any): react_jsx_runtime.JSX.Element;
|
|
1655
|
+
|
|
1656
|
+
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, GroupBuilder, Heatmap, IconButton, Input, InsightsCarousel, ItemManagerPanel, ItemsStores, LinkButton, LinnerDataBox, MarketShareDescription, MenuRoute, MessageBox, ModalDrawer, ModalWithOverlay, OneColumnContainer, OverlayDropdown, PerformanceAnalyticsLegend, PieChart, PopupCharts, PreTestWhatIf, QuickFilter, QuickFilterCards, RangePicker, RangePop, ReportTable, RulesEngine, SampleRunEngine, SearchInput, SingleBarLineCharts, SortPop, TabMenu, Table, Tag, ToasterMessageBox, ToggleSwitch, Tooltip, TopToggleList, TotalDoughnutChart, TotalHorizontalCharts, Track, TwoBarCharts, WeeksPicker };
|
package/dist/index.esm.js
CHANGED
|
@@ -8818,6 +8818,7 @@ const DropdownSingleNew = ({
|
|
|
8818
8818
|
labelColor,
|
|
8819
8819
|
showLabelOnTop,
|
|
8820
8820
|
orderBy,
|
|
8821
|
+
placeHolder = "",
|
|
8821
8822
|
elementType
|
|
8822
8823
|
}) => {
|
|
8823
8824
|
const [isFocused, setIsFocused] = useState(false);
|
|
@@ -9002,7 +9003,7 @@ const DropdownSingleNew = ({
|
|
|
9002
9003
|
onChange: handleInputChange,
|
|
9003
9004
|
onClick: handleLabelClick,
|
|
9004
9005
|
disabled: disabled,
|
|
9005
|
-
placeholder: isFocused ? filteredOptions.length <= 5 ? "Select Option…" : "Type To Search" : "",
|
|
9006
|
+
placeholder: isFocused ? placeHolder ? placeHolder : filteredOptions.length <= 5 ? "Select Option…" : "Type To Search" : "",
|
|
9006
9007
|
error: error,
|
|
9007
9008
|
isFocused: isFocused
|
|
9008
9009
|
})), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React$1.createElement(IconContainer$5, {
|
|
@@ -9045,12 +9046,13 @@ const DropdownSingleNew = ({
|
|
|
9045
9046
|
}, option.label)))));
|
|
9046
9047
|
};
|
|
9047
9048
|
|
|
9048
|
-
const CheckBoxCheckedIcon =
|
|
9049
|
-
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
-
|
|
9053
|
-
|
|
9049
|
+
const CheckBoxCheckedIcon = _ref => {
|
|
9050
|
+
let {
|
|
9051
|
+
clicked,
|
|
9052
|
+
width = "16",
|
|
9053
|
+
height = "16",
|
|
9054
|
+
color = "#1B30AA"
|
|
9055
|
+
} = _ref;
|
|
9054
9056
|
return /*#__PURE__*/React$1.createElement("svg", {
|
|
9055
9057
|
width: width,
|
|
9056
9058
|
height: height,
|
|
@@ -9063,12 +9065,13 @@ const CheckBoxCheckedIcon = ({
|
|
|
9063
9065
|
}));
|
|
9064
9066
|
};
|
|
9065
9067
|
|
|
9066
|
-
const CheckBoxNotCheckedIcon =
|
|
9067
|
-
|
|
9068
|
-
|
|
9069
|
-
|
|
9070
|
-
|
|
9071
|
-
|
|
9068
|
+
const CheckBoxNotCheckedIcon = _ref => {
|
|
9069
|
+
let {
|
|
9070
|
+
clicked,
|
|
9071
|
+
width = "16",
|
|
9072
|
+
height = "16",
|
|
9073
|
+
color = "#212121"
|
|
9074
|
+
} = _ref;
|
|
9072
9075
|
return /*#__PURE__*/React$1.createElement("svg", {
|
|
9073
9076
|
width: width,
|
|
9074
9077
|
height: height,
|
|
@@ -10426,24 +10429,23 @@ const QuarterPopupPicker = ({
|
|
|
10426
10429
|
};
|
|
10427
10430
|
|
|
10428
10431
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10429
|
-
const QuarterPicker =
|
|
10430
|
-
|
|
10431
|
-
|
|
10432
|
-
|
|
10433
|
-
|
|
10434
|
-
|
|
10435
|
-
|
|
10436
|
-
|
|
10437
|
-
|
|
10438
|
-
|
|
10439
|
-
|
|
10440
|
-
|
|
10441
|
-
|
|
10442
|
-
|
|
10443
|
-
|
|
10444
|
-
|
|
10445
|
-
|
|
10446
|
-
} = _ref;
|
|
10432
|
+
const QuarterPicker = ({
|
|
10433
|
+
availableQuarters,
|
|
10434
|
+
// ["Q1-2024"]
|
|
10435
|
+
label,
|
|
10436
|
+
onChange,
|
|
10437
|
+
borderRadius,
|
|
10438
|
+
required,
|
|
10439
|
+
width,
|
|
10440
|
+
height,
|
|
10441
|
+
placeholder,
|
|
10442
|
+
disabled,
|
|
10443
|
+
borderColor,
|
|
10444
|
+
borderColorFocus,
|
|
10445
|
+
textColor,
|
|
10446
|
+
selectedValue,
|
|
10447
|
+
startYear
|
|
10448
|
+
}) => {
|
|
10447
10449
|
const [isFocused, setIsFocused] = useState(false);
|
|
10448
10450
|
const [isOpen, setIsOpen] = useState(false);
|
|
10449
10451
|
const [value, setValue] = useState('');
|
|
@@ -10885,23 +10887,22 @@ const MonthPopupPicker = ({
|
|
|
10885
10887
|
};
|
|
10886
10888
|
|
|
10887
10889
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10888
|
-
const MonthPicker =
|
|
10889
|
-
|
|
10890
|
-
|
|
10891
|
-
|
|
10892
|
-
|
|
10893
|
-
|
|
10894
|
-
|
|
10895
|
-
|
|
10896
|
-
|
|
10897
|
-
|
|
10898
|
-
|
|
10899
|
-
|
|
10900
|
-
|
|
10901
|
-
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
} = _ref;
|
|
10890
|
+
const MonthPicker = ({
|
|
10891
|
+
availableMonths,
|
|
10892
|
+
label,
|
|
10893
|
+
onChange,
|
|
10894
|
+
borderRadius,
|
|
10895
|
+
required,
|
|
10896
|
+
width,
|
|
10897
|
+
height,
|
|
10898
|
+
placeholder,
|
|
10899
|
+
disabled,
|
|
10900
|
+
borderColor,
|
|
10901
|
+
borderColorFocus,
|
|
10902
|
+
textColor,
|
|
10903
|
+
selectedValue,
|
|
10904
|
+
startYear
|
|
10905
|
+
}) => {
|
|
10905
10906
|
const [isFocused, setIsFocused] = useState(false);
|
|
10906
10907
|
const [isOpen, setIsOpen] = useState(false);
|
|
10907
10908
|
const [value, setValue] = useState('');
|
|
@@ -24012,22 +24013,21 @@ const DeleteIcon = styled.div`
|
|
|
24012
24013
|
position: absolute;
|
|
24013
24014
|
`;
|
|
24014
24015
|
|
|
24015
|
-
const QuickFilterDropdownSingle =
|
|
24016
|
-
|
|
24017
|
-
|
|
24018
|
-
|
|
24019
|
-
|
|
24020
|
-
|
|
24021
|
-
|
|
24022
|
-
|
|
24023
|
-
|
|
24024
|
-
|
|
24025
|
-
|
|
24026
|
-
|
|
24027
|
-
|
|
24028
|
-
|
|
24029
|
-
|
|
24030
|
-
} = _ref;
|
|
24016
|
+
const QuickFilterDropdownSingle = ({
|
|
24017
|
+
label,
|
|
24018
|
+
hoverColor,
|
|
24019
|
+
options,
|
|
24020
|
+
selectedValue,
|
|
24021
|
+
placeHolder,
|
|
24022
|
+
onChange,
|
|
24023
|
+
disabled,
|
|
24024
|
+
width,
|
|
24025
|
+
error,
|
|
24026
|
+
errorMessage,
|
|
24027
|
+
xIconShow,
|
|
24028
|
+
labelColor,
|
|
24029
|
+
showLabelOnTop
|
|
24030
|
+
}) => {
|
|
24031
24031
|
const [isFocused, setIsFocused] = useState(false);
|
|
24032
24032
|
const [showOptions, setShowOptions] = useState(false);
|
|
24033
24033
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -24424,24 +24424,23 @@ const IconContainer$2 = styled.div`
|
|
|
24424
24424
|
cursor: pointer;
|
|
24425
24425
|
`;
|
|
24426
24426
|
|
|
24427
|
-
const QuickFilterDropdownMultiSelection =
|
|
24428
|
-
|
|
24429
|
-
|
|
24430
|
-
|
|
24431
|
-
|
|
24432
|
-
|
|
24433
|
-
|
|
24434
|
-
|
|
24435
|
-
|
|
24436
|
-
|
|
24437
|
-
|
|
24438
|
-
|
|
24439
|
-
|
|
24440
|
-
|
|
24441
|
-
|
|
24442
|
-
|
|
24443
|
-
|
|
24444
|
-
} = _ref;
|
|
24427
|
+
const QuickFilterDropdownMultiSelection = ({
|
|
24428
|
+
label,
|
|
24429
|
+
labelEmptyValue,
|
|
24430
|
+
options,
|
|
24431
|
+
selectedValue,
|
|
24432
|
+
placeHolder,
|
|
24433
|
+
onChange,
|
|
24434
|
+
required,
|
|
24435
|
+
disabled,
|
|
24436
|
+
width,
|
|
24437
|
+
error,
|
|
24438
|
+
errorMessage,
|
|
24439
|
+
labelColor,
|
|
24440
|
+
xIconShow,
|
|
24441
|
+
checkBoxColor,
|
|
24442
|
+
showLabelOnTop
|
|
24443
|
+
}) => {
|
|
24445
24444
|
const [isFocused, setIsFocused] = useState(false);
|
|
24446
24445
|
const [showOptions, setShowOptions] = useState(false);
|
|
24447
24446
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -35613,12 +35612,9 @@ const ToggleSwitchLabel = styled.label`
|
|
|
35613
35612
|
position: relative;
|
|
35614
35613
|
cursor: pointer;
|
|
35615
35614
|
user-select: none;
|
|
35616
|
-
opacity: ${
|
|
35617
|
-
|
|
35618
|
-
|
|
35619
|
-
} = _ref;
|
|
35620
|
-
return disabled ? 0.5 : 1;
|
|
35621
|
-
}};
|
|
35615
|
+
opacity: ${({
|
|
35616
|
+
disabled
|
|
35617
|
+
}) => disabled ? 0.5 : 1};
|
|
35622
35618
|
`;
|
|
35623
35619
|
const ToggleInput = styled.input`
|
|
35624
35620
|
display: none;
|
|
@@ -35626,19 +35622,15 @@ const ToggleInput = styled.input`
|
|
|
35626
35622
|
const ToggleSlider = styled.span`
|
|
35627
35623
|
display: block;
|
|
35628
35624
|
position: relative;
|
|
35629
|
-
background: ${
|
|
35630
|
-
|
|
35631
|
-
|
|
35632
|
-
|
|
35633
|
-
} = _ref2;
|
|
35634
|
-
return checked ? disabled ? "#7bb1b0" : "#006d6a" : "#cfd8dc";
|
|
35635
|
-
}};
|
|
35625
|
+
background: ${({
|
|
35626
|
+
checked,
|
|
35627
|
+
disabled
|
|
35628
|
+
}) => checked ? disabled ? "#7bb1b0" : "#006d6a" : "#cfd8dc"};
|
|
35636
35629
|
border-radius: 999px;
|
|
35637
35630
|
transition: background 0.2s;
|
|
35638
|
-
${
|
|
35639
|
-
|
|
35640
|
-
|
|
35641
|
-
} = _ref3;
|
|
35631
|
+
${({
|
|
35632
|
+
size
|
|
35633
|
+
}) => {
|
|
35642
35634
|
switch (size) {
|
|
35643
35635
|
case "s":
|
|
35644
35636
|
return css`width: 40px; height: 20px;`;
|
|
@@ -35657,10 +35649,9 @@ const ToggleSlider = styled.span`
|
|
|
35657
35649
|
background: #fff;
|
|
35658
35650
|
border-radius: 50%;
|
|
35659
35651
|
transition: left 0.2s, width 0.2s, height 0.2s;
|
|
35660
|
-
${
|
|
35661
|
-
|
|
35662
|
-
|
|
35663
|
-
} = _ref4;
|
|
35652
|
+
${({
|
|
35653
|
+
size
|
|
35654
|
+
}) => {
|
|
35664
35655
|
switch (size) {
|
|
35665
35656
|
case "s":
|
|
35666
35657
|
return css`width: 14px; height: 14px;`;
|
|
@@ -35670,11 +35661,10 @@ const ToggleSlider = styled.span`
|
|
|
35670
35661
|
return css`width: 20px; height: 20px;`;
|
|
35671
35662
|
}
|
|
35672
35663
|
}}
|
|
35673
|
-
left: ${
|
|
35674
|
-
|
|
35675
|
-
|
|
35676
|
-
|
|
35677
|
-
} = _ref5;
|
|
35664
|
+
left: ${({
|
|
35665
|
+
checked,
|
|
35666
|
+
size
|
|
35667
|
+
}) => {
|
|
35678
35668
|
if (!checked) return "3px";
|
|
35679
35669
|
switch (size) {
|
|
35680
35670
|
case "s":
|
|
@@ -43864,6 +43854,7 @@ const NewSubitem = ({
|
|
|
43864
43854
|
}, {
|
|
43865
43855
|
value: "Local"
|
|
43866
43856
|
}],
|
|
43857
|
+
defaultIndex: negotiatedComponent === "Scale" ? 0 : 1,
|
|
43867
43858
|
segmentRadius: 8,
|
|
43868
43859
|
selectedSegmentColor: "#FFFFFF",
|
|
43869
43860
|
selectedTextColor: "#212121",
|
|
@@ -53949,5 +53940,5 @@ const Tag = props => {
|
|
|
53949
53940
|
}, /*#__PURE__*/React$1.createElement("span", null, text || template.text));
|
|
53950
53941
|
};
|
|
53951
53942
|
|
|
53952
|
-
export { AdvancedThresholds, Analytics, AreaChart, BannerEventBoxList, BarChart, BarChartTwoRows, BarChartWithAreaChart, BarChartsByWeeks, BatteryChart, BreakdownPanel, BrushChart, BubbleChart, Budgets, Build, Button$1 as Button, Campaigns, CollapseData, CollapseHeader, ContainerTable, Coupons, CustomerSegments, Dashboard, DialogOverlay$1 as DialogOverlay, DoubleBarSingleLine, DoublePanelDataRow, DownloadProgress, DropdownNew, EventDetailsCard, EventList, Execute, FilterPanel, FilterPop, GroupBuilder, Heatmap, IconButton$1 as IconButton, Input$2 as Input, InsightsCarousel, ItemManagerPanel, ItemsStores, LinkButton, LinnerDataBox, MarketShareDescription, MenuRoute, MessageBox, ModalDrawer, ModalWithOverlay, OneColumnContainer, OverlayDropdown, PerformanceAnalyticsLegend, PieChart, PopupCharts, PreTestWhatIf, QuickFilter, QuickFilterCards, RangePicker, RangePop, ReportTable, RulesEngine, SampleRunEngine, SearchInput, SingleBarLineCharts, SortPop, TabMenu, Table, Tag, ToasterMessageBox, ToggleSwitch, Tooltip$2 as Tooltip, TopToggleList, TotalDoughnutChart, TotalHorizontalCharts, Track, TwoBarCharts, WeeksPicker };
|
|
53943
|
+
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, GroupBuilder, Heatmap, IconButton$1 as IconButton, Input$2 as Input, InsightsCarousel, ItemManagerPanel, ItemsStores, LinkButton, LinnerDataBox, MarketShareDescription, MenuRoute, MessageBox, ModalDrawer, ModalWithOverlay, OneColumnContainer, OverlayDropdown, PerformanceAnalyticsLegend, PieChart, PopupCharts, PreTestWhatIf, QuickFilter, QuickFilterCards, RangePicker, RangePop, ReportTable, RulesEngine, SampleRunEngine, SearchInput, SingleBarLineCharts, SortPop, TabMenu, Table, Tag, ToasterMessageBox, ToggleSwitch, Tooltip$2 as Tooltip, TopToggleList, TotalDoughnutChart, TotalHorizontalCharts, Track, TwoBarCharts, WeeksPicker };
|
|
53953
53944
|
//# sourceMappingURL=index.esm.js.map
|