fis-component 0.1.29 → 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/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: flex-start;
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) => (props.$textAlign === "right" ? "text-align: end" : "")};
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, ...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);
@@ -75882,6 +75888,8 @@ const FISSelect = forwardRef(({ className, style, size = "md", options, value, d
75882
75888
  onSearchInput,
75883
75889
  virtualized,
75884
75890
  virtualItemHeight,
75891
+ removeSelectedText,
75892
+ selectedGroupLabel,
75885
75893
  ...restProps,
75886
75894
  }), [
75887
75895
  options,
@@ -75907,6 +75915,8 @@ const FISSelect = forwardRef(({ className, style, size = "md", options, value, d
75907
75915
  onSearchInput,
75908
75916
  virtualized,
75909
75917
  virtualItemHeight,
75918
+ removeSelectedText,
75919
+ selectedGroupLabel,
75910
75920
  restProps,
75911
75921
  ]);
75912
75922
  useEffect(() => {