fis-component 0.1.30 → 0.1.31
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/cjs/index.js +12 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +12 -4
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -73498,7 +73498,8 @@ const DivHeaderCellContainerSC = styled.div `
|
|
|
73498
73498
|
.header-cell-content {
|
|
73499
73499
|
display: flex;
|
|
73500
73500
|
flex-direction: column;
|
|
73501
|
-
align-items:
|
|
73501
|
+
align-items: stretch;
|
|
73502
|
+
width: ${(props) => (props.$onlyIcon ? "auto" : "100%")};
|
|
73502
73503
|
box-sizing: border-box;
|
|
73503
73504
|
gap: ${getTheme("com/table/title-cell/vertical-gap")};
|
|
73504
73505
|
${(props) => {
|
|
@@ -73517,18 +73518,21 @@ const DivHeaderCellContainerSC = styled.div `
|
|
|
73517
73518
|
|
|
73518
73519
|
.cell-content {
|
|
73519
73520
|
display: flex;
|
|
73521
|
+
width: ${(props) => (props.$onlyIcon ? "auto" : "100%")};
|
|
73520
73522
|
justify-content: ${(props) => props.$textAlign === "right" ? "flex-end" : "space-between"};
|
|
73521
|
-
// width: 100%;
|
|
73522
73523
|
gap: ${getTheme("com/table/title-cell/default/label/vertical-gap")};
|
|
73523
73524
|
.label-container {
|
|
73524
73525
|
display: flex;
|
|
73526
|
+
flex: 1;
|
|
73527
|
+
min-width: 0;
|
|
73525
73528
|
gap: 4px;
|
|
73526
73529
|
|
|
73527
73530
|
.label {
|
|
73528
73531
|
${getTheme("Label/XS")};
|
|
73529
73532
|
width: 100%;
|
|
73533
|
+
min-width: 0;
|
|
73530
73534
|
display: inline-block;
|
|
73531
|
-
${(props) =>
|
|
73535
|
+
text-align: ${(props) => props.$textAlign};
|
|
73532
73536
|
color: ${(props) => getTheme(`com/table/title-cell/${props?.$disabled ? "disable" : "default"}/label/color-text`)};
|
|
73533
73537
|
|
|
73534
73538
|
${(props) => {
|
|
@@ -73574,6 +73578,8 @@ const DivHeaderCellContainerSC = styled.div `
|
|
|
73574
73578
|
|
|
73575
73579
|
.description {
|
|
73576
73580
|
${getTheme("Paragraph/XS")};
|
|
73581
|
+
width: 100%;
|
|
73582
|
+
text-align: ${(props) => props.$textAlign};
|
|
73577
73583
|
color: ${(props) => getTheme(`com/table/title-cell/${props?.$disabled ? "disable" : "default"}/description/color-text`)};
|
|
73578
73584
|
|
|
73579
73585
|
& + span {
|
|
@@ -75728,7 +75734,7 @@ function isMenuSize(value) {
|
|
|
75728
75734
|
return value === "sm" || value === "md";
|
|
75729
75735
|
}
|
|
75730
75736
|
|
|
75731
|
-
const FISSelect = forwardRef(({ className, style, size = "md", options, value, disabled = false, textLabel = "", iconLabel, required, negative, message, positive, multi, placeholder, placeholderSearch, loading, onChange, renderOption, onClickIconLabel, displayValue, multiDisplayText, searchValue, onSearchChange, portal = true, maxHeight, onPopupScroll, onOpen, hideChip, tooltipTitle, tooltipVariant = "primary", noData, noResult, noDataText, noResultText, footer, searchDebounce, showSearch, onSearchInput, virtualized, virtualItemHeight, removeSelectedText, ...restProps }, ref) => {
|
|
75737
|
+
const FISSelect = forwardRef(({ className, style, size = "md", options, value, disabled = false, textLabel = "", iconLabel, required, negative, message, positive, multi, placeholder, placeholderSearch, loading, onChange, renderOption, onClickIconLabel, displayValue, multiDisplayText, searchValue, onSearchChange, portal = true, maxHeight, onPopupScroll, onOpen, hideChip, tooltipTitle, tooltipVariant = "primary", noData, noResult, noDataText, noResultText, footer, searchDebounce, showSearch, onSearchInput, virtualized, virtualItemHeight, removeSelectedText, selectedGroupLabel, ...restProps }, ref) => {
|
|
75732
75738
|
const [isOpen, setIsOpen] = useState(false);
|
|
75733
75739
|
const [referenceElement, setReferenceElement] = useState(null);
|
|
75734
75740
|
const [popperElement, setPopperElement] = useState(null);
|
|
@@ -75883,6 +75889,7 @@ const FISSelect = forwardRef(({ className, style, size = "md", options, value, d
|
|
|
75883
75889
|
virtualized,
|
|
75884
75890
|
virtualItemHeight,
|
|
75885
75891
|
removeSelectedText,
|
|
75892
|
+
selectedGroupLabel,
|
|
75886
75893
|
...restProps,
|
|
75887
75894
|
}), [
|
|
75888
75895
|
options,
|
|
@@ -75909,6 +75916,7 @@ const FISSelect = forwardRef(({ className, style, size = "md", options, value, d
|
|
|
75909
75916
|
virtualized,
|
|
75910
75917
|
virtualItemHeight,
|
|
75911
75918
|
removeSelectedText,
|
|
75919
|
+
selectedGroupLabel,
|
|
75912
75920
|
restProps,
|
|
75913
75921
|
]);
|
|
75914
75922
|
useEffect(() => {
|