frst-components 0.22.54 → 0.22.55

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.js CHANGED
@@ -4863,7 +4863,7 @@ function MenuMore({ iconButton, options, style, closeAfterClick, isHover = true,
4863
4863
  itemOption?.onClick();
4864
4864
  closeAfterClick && handleClose();
4865
4865
  }, style: {
4866
- borderBottom: listOptions?.length - 1 == index ? '' : '1px solid #EBEBEB',
4866
+ borderBottom: listOptions?.length - 1 == index ? '' : isDarkMode ? '1px solid #525252' : '1px solid #EBEBEB',
4867
4867
  color: itemOption?.color ? itemOption?.color : '#222',
4868
4868
  pointerEvents: itemOption?.disabled ? 'none' : 'auto',
4869
4869
  cursor: itemOption?.disabled ? 'default' : 'pointer'
@@ -5720,7 +5720,7 @@ const DropDownContainer$1 = styled__default["default"].div `
5720
5720
  styled.css `
5721
5721
  background: ${({ theme }) => theme.colors.inputError};
5722
5722
  border: 1px solid ${({ theme }) => theme.colors.messageError1};
5723
- `}
5723
+ `};
5724
5724
  `;
5725
5725
  const EventOverlay$1 = styled__default["default"].div `
5726
5726
  position: absolute;
@@ -5729,7 +5729,11 @@ const EventOverlay$1 = styled__default["default"].div `
5729
5729
  top: 0;
5730
5730
  left: 0;
5731
5731
  background: transparent;
5732
- cursor: pointer;
5732
+ ${props => props.disabled &&
5733
+ styled.css `
5734
+ cursor: not-allowed !important;
5735
+ pointer-events: none;
5736
+ `};
5733
5737
  z-index: 2;
5734
5738
  `;
5735
5739
  const DropDownHeader$1 = styled__default["default"].div `
@@ -5758,7 +5762,16 @@ const DropDownHeader$1 = styled__default["default"].div `
5758
5762
  p {
5759
5763
  color: ${({ theme }) => theme.colors.linkError};
5760
5764
  }
5761
- `}
5765
+ `};
5766
+ ${(props) => props.disabled &&
5767
+ styled.css `
5768
+ background: ${({ theme }) => theme.colors.neutralsGrey8};
5769
+ border: 1px solid ${({ theme }) => theme.colors.neutralsGrey6};
5770
+ cursor: not-allowed !important;
5771
+ p {
5772
+ color: ${({ theme }) => theme.colors.neutralsGrey5};
5773
+ }
5774
+ `};
5762
5775
  `;
5763
5776
  const DropDownListContainer$1 = styled__default["default"]('div') ``;
5764
5777
  const DropDownList$1 = styled__default["default"]('ul') `
@@ -5797,13 +5810,13 @@ const SelectedOption$1 = styled__default["default"]('p') `
5797
5810
  font-weight: 400;
5798
5811
  font-size: 16px;
5799
5812
  line-height: 19px;
5800
- color: #222222 !important;
5813
+ color: #222222;
5801
5814
  `;
5802
5815
 
5803
- function ArrowIcon$2() {
5804
- return (jsxRuntime.jsx("svg", { width: "14", height: "7", viewBox: "0 0 14 7", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsxRuntime.jsx("path", { d: "M7.1736 6.64904L13.521 0.992188H0.826172L7.1736 6.64904Z", fill: "#222222" }) }));
5816
+ function ArrowIcon$2({ fill }) {
5817
+ return (jsxRuntime.jsx("svg", { width: "14", height: "7", viewBox: "0 0 14 7", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsxRuntime.jsx("path", { d: "M7.1736 6.64904L13.521 0.992188H0.826172L7.1736 6.64904Z", fill: fill ? fill : "#222222" }) }));
5805
5818
  }
5806
- function Select$2({ placeholder, defaultValue, children, onChange, loading, isError, style }) {
5819
+ function Select$2({ placeholder, defaultValue, children, onChange, loading, isError, style, disabled }) {
5807
5820
  const wrapperRef = React.useRef(null);
5808
5821
  const [isOpen, setIsOpen] = React.useState(false);
5809
5822
  const [selectedOption, setSelectedOption] = React.useState(null);
@@ -5840,7 +5853,7 @@ function Select$2({ placeholder, defaultValue, children, onChange, loading, isEr
5840
5853
  onChange(e);
5841
5854
  toggle();
5842
5855
  };
5843
- return (jsxRuntime.jsx("div", { style: style, children: jsxRuntime.jsxs(DropDownContainer$1, { ref: wrapperRef, error: isError, theme: FRSTTheme, children: [jsxRuntime.jsx(EventOverlay$1, { onClick: toggle }), jsxRuntime.jsxs(DropDownHeader$1, { error: isError, theme: FRSTTheme, children: [loading ? (jsxRuntime.jsx("p", { children: "Carregando dados..." })) : selectedOption ? (jsxRuntime.jsx(SelectedOption$1, { children: selectedOption })) : (jsxRuntime.jsx("p", { children: placeholder })), jsxRuntime.jsx(DropDownHeaderIcon$1, { open: isOpen, children: jsxRuntime.jsx(ArrowIcon$2, {}) })] }), isOpen && (jsxRuntime.jsx(DropDownListContainer$1, { children: jsxRuntime.jsx(DropDownList$1, { children: jsxRuntime.jsx("div", { onClick: handleChange, children: jsxRuntime.jsx(SelectContext.Provider, { value: { selected: selectedOptionValue }, children: children }) }) }) }))] }) }));
5856
+ return (jsxRuntime.jsx("div", { style: style, children: jsxRuntime.jsxs(DropDownContainer$1, { ref: wrapperRef, error: isError, theme: FRSTTheme, children: [jsxRuntime.jsx(EventOverlay$1, { onClick: toggle, disabled: disabled }), jsxRuntime.jsxs(DropDownHeader$1, { error: isError, disabled: disabled, theme: FRSTTheme, children: [loading ? (jsxRuntime.jsx("p", { children: "Carregando dados..." })) : selectedOption ? (jsxRuntime.jsx(SelectedOption$1, { children: selectedOption })) : (jsxRuntime.jsx("p", { children: placeholder })), jsxRuntime.jsx(DropDownHeaderIcon$1, { open: isOpen, children: jsxRuntime.jsx(ArrowIcon$2, { fill: disabled && '#BDBDBD' }) })] }), isOpen && (jsxRuntime.jsx(DropDownListContainer$1, { children: jsxRuntime.jsx(DropDownList$1, { children: jsxRuntime.jsx("div", { onClick: handleChange, children: jsxRuntime.jsx(SelectContext.Provider, { value: { selected: selectedOptionValue }, children: children }) }) }) }))] }) }));
5844
5857
  }
5845
5858
 
5846
5859
  const ListItem$1 = styled__default["default"]("li") `
@@ -5884,8 +5897,8 @@ function SelectItem({ value, label, selected, handleSelect, disabled }) {
5884
5897
  return (jsxRuntime.jsx(SelectContext.Consumer, { children: ({ selected }) => (jsxRuntime.jsx(ListItem$1, { disabled: disabled, selected: selected === value, value: value, onClick: handleSelect, children: label })) }));
5885
5898
  }
5886
5899
 
5887
- function SelectFRST({ placeholder, valueSelect, handleValueSelect, listItems, isError, style }) {
5888
- return (jsxRuntime.jsx(Select$2, { placeholder: placeholder, defaultValue: valueSelect, onChange: (e) => handleValueSelect(e.target?.attributes?.value?.value), isError: isError, style: style, children: listItems.map((item, index) => (jsxRuntime.jsx(SelectItem, { label: item, value: item }, index))) }));
5900
+ function SelectFRST({ placeholder, valueSelect, handleValueSelect, listItems, isError, style, disabled }) {
5901
+ return (jsxRuntime.jsx(Select$2, { placeholder: placeholder, defaultValue: valueSelect, onChange: (e) => handleValueSelect(e.target?.attributes?.value?.value), isError: isError, style: style, disabled: disabled, children: listItems.map((item, index) => (jsxRuntime.jsx(SelectItem, { label: item, value: item }, index))) }));
5889
5902
  }
5890
5903
 
5891
5904
  const ModalWrapper = styled__default["default"].div `
@@ -11464,16 +11477,13 @@ function NotificationCard(props) {
11464
11477
  const handleDelete = async () => {
11465
11478
  try {
11466
11479
  setIsLoading(true);
11467
- props.handleClickDelete && await props.handleClickDelete();
11480
+ props.handleClickDelete && (await props.handleClickDelete());
11468
11481
  setIsLoading(false);
11469
11482
  }
11470
11483
  catch (error) {
11471
11484
  console.error('Error deleting notification', error);
11472
11485
  }
11473
11486
  };
11474
- React.useEffect(() => {
11475
- console.log('isloading: ', isloading);
11476
- }, [isloading]);
11477
11487
  return (jsxRuntime.jsxs(styled.ThemeProvider, { theme: FRSTTheme, children: [jsxRuntime.jsxs(notificationContainer$1, { style: {
11478
11488
  ...props.style,
11479
11489
  backgroundColor: props.isNewNotification ? '#444444' : '#313131'
@@ -11596,15 +11606,15 @@ function NotificationPopOver(props) {
11596
11606
  color: props.notificationList ? '#FCFCFC' : '#9C9C9C',
11597
11607
  disabled: !props.notificationList
11598
11608
  };
11599
- const deleteAllNotificationsOption = {
11609
+ ({
11600
11610
  description: props.textDeleteAll,
11601
11611
  onClick: props.handleClickDeleteAll,
11602
11612
  color: props.notificationList ? '#FF6868' : '#9C9C9C',
11603
11613
  disabled: !props.notificationList
11604
- };
11605
- return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: props.isMobile ? (jsxRuntime.jsxs("div", { style: { backgroundColor: '#E5E5E5' }, children: [jsxRuntime.jsx("div", { style: { padding: 16 }, children: jsxRuntime.jsx(Button$4, { variant: "link", startIcon: jsxRuntime.jsx(BackArrow, { fill: "currentColor" }), label: props.textBack, handleClick: () => props.handleClickBack() }) }), jsxRuntime.jsxs(notificationContainerMobile, { children: [jsxRuntime.jsxs(notificationHeader, { children: [jsxRuntime.jsx("span", { style: { fontFamily: 'Work Sans', fontSize: 20, fontWeight: 500, color: FRSTTheme['colors'].primary1 }, children: props.textNotification }), jsxRuntime.jsx(MenuMore, { options: [markAllAsReadOption, deleteAllNotificationsOption], isHover: false, closeAfterClick: true, isArrowInMenu: false, isPaddingInMenu: false, isDarkMode: true, iconButton: jsxRuntime.jsx(MoreDotsVertical, { fill: "#F7F9FC" }) })] }), props.notificationList ? (jsxRuntime.jsx(notificationCardList, { children: props.notificationList.map((item, index) => {
11614
+ });
11615
+ return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: props.isMobile ? (jsxRuntime.jsxs("div", { style: { backgroundColor: '#E5E5E5' }, children: [jsxRuntime.jsx("div", { style: { padding: 16 }, children: jsxRuntime.jsx(Button$4, { variant: "link", startIcon: jsxRuntime.jsx(BackArrow, { fill: "currentColor" }), label: props.textBack, handleClick: () => props.handleClickBack() }) }), jsxRuntime.jsxs(notificationContainerMobile, { children: [jsxRuntime.jsxs(notificationHeader, { children: [jsxRuntime.jsx("span", { style: { fontFamily: 'Work Sans', fontSize: 20, fontWeight: 500, color: FRSTTheme['colors'].primary1 }, children: props.textNotification }), jsxRuntime.jsx(MenuMore, { options: [markAllAsReadOption], isHover: false, closeAfterClick: true, isArrowInMenu: false, isPaddingInMenu: false, isDarkMode: true, iconButton: jsxRuntime.jsx(MoreDotsVertical, { fill: "#F7F9FC" }) })] }), props.notificationList ? (jsxRuntime.jsx(notificationCardList, { children: props.notificationList.map((item, index) => {
11606
11616
  return (jsxRuntime.jsx("div", { style: { borderBottom: `1px solid ${FRSTTheme['colors'].borderPrimary}` }, children: jsxRuntime.jsx(NotificationCard, { style: { width: '100%' }, onClickUserInfo: item.onClickUserInfo, textVisitProfile: item.textVisitProfile, notificationAvatar: item.notificationAvatar, notificationDescription: item.notificationDescription, notificationDate: item.notificationDate, textNew: item.textNew, isNewNotification: item.isNewNotification, handleClick: item.handleClick, handleClickDelete: item.handleClickDelete }, index) }));
11607
- }) })) : (jsxRuntime.jsx(emptyState, { children: jsxRuntime.jsxs(emptyStateInfo, { children: [jsxRuntime.jsx("img", { src: emptyStateImage, alt: "Empty notification list" }), jsxRuntime.jsx("span", { children: props.textEmptyState })] }) }))] })] })) : (jsxRuntime.jsxs(PopoverCustom, { open: props.isOpen, anchorEl: props.anchor, anchorOrigin: {
11617
+ }) })) : (jsxRuntime.jsx(emptyState, { children: jsxRuntime.jsxs(emptyStateInfo, { children: [jsxRuntime.jsx("img", { src: emptyStateImage, alt: "Empty notification list" }), jsxRuntime.jsx("span", { children: props.textEmptyState })] }) }))] })] })) : (jsxRuntime.jsx(PopoverCustom, { open: props.isOpen, anchorEl: props.anchor, anchorOrigin: {
11608
11618
  vertical: 'bottom',
11609
11619
  horizontal: 'center'
11610
11620
  }, transformOrigin: {
@@ -11616,23 +11626,9 @@ function NotificationPopOver(props) {
11616
11626
  boxShadow: 'none',
11617
11627
  borderRadius: 0
11618
11628
  }
11619
- }, children: [jsxRuntime.jsx(material.Box, { sx: {
11620
- position: 'relative',
11621
- mt: '10px',
11622
- '&::before': {
11623
- backgroundColor: 'white',
11624
- content: '""',
11625
- display: 'block',
11626
- position: 'absolute',
11627
- width: 12,
11628
- height: 12,
11629
- top: -6,
11630
- transform: 'rotate(45deg)',
11631
- left: 'calc(50% - 6px)'
11632
- }
11633
- } }), jsxRuntime.jsxs(notificationContainer, { children: [jsxRuntime.jsxs(notificationHeader, { onMouseOver: () => (props?.setOnAreaPopOver ? props?.setOnAreaPopOver(true) : {}), onMouseOut: () => (props?.setOnAreaPopOver ? props?.setOnAreaPopOver(false) : {}), children: [jsxRuntime.jsx("span", { style: { fontFamily: 'Work Sans', fontSize: 20, fontWeight: 500, color: FRSTTheme['colors'].primary1 }, children: props.textNotification }), jsxRuntime.jsx(MenuMore, { options: [markAllAsReadOption, deleteAllNotificationsOption], isHover: false, closeAfterClick: true, isArrowInMenu: false, isPaddingInMenu: false, isDarkMode: true, iconButton: jsxRuntime.jsx(MoreDotsVertical, { fill: "#F7F9FC" }) })] }), props.notificationList ? (jsxRuntime.jsx(notificationCardList, { notificationsLength: notificationsLength, children: props.notificationList.map((item, index) => {
11634
- return (jsxRuntime.jsx("div", { style: { borderBottom: `1px solid #313131` }, onMouseOver: () => (props?.setOnAreaPopOver ? props?.setOnAreaPopOver(true) : {}), onMouseOut: () => (props?.setOnAreaPopOver ? props?.setOnAreaPopOver(false) : {}), children: jsxRuntime.jsx(NotificationCard, { onClickUserInfo: item.onClickUserInfo, textVisitProfile: item.textVisitProfile, notificationAvatar: item.notificationAvatar, notificationDescription: item.notificationDescription, notificationDate: item.notificationDate, textNew: item.textNew, isNewNotification: item.isNewNotification, handleClick: item.handleClick, handleClickDelete: item.handleClickDelete }, index) }, index));
11635
- }) })) : (jsxRuntime.jsx(emptyState, { children: jsxRuntime.jsxs(emptyStateInfo, { children: [jsxRuntime.jsx("img", { src: emptyStateImage, alt: "Empty notification list" }), jsxRuntime.jsx("span", { children: props.textEmptyState })] }) }))] })] })) }));
11629
+ }, children: jsxRuntime.jsxs(notificationContainer, { children: [jsxRuntime.jsxs(notificationHeader, { onMouseOver: () => (props?.setOnAreaPopOver ? props?.setOnAreaPopOver(true) : {}), onMouseOut: () => (props?.setOnAreaPopOver ? props?.setOnAreaPopOver(false) : {}), children: [jsxRuntime.jsx("span", { style: { fontFamily: 'Work Sans', fontSize: 20, fontWeight: 500, color: FRSTTheme['colors'].primary1 }, children: props.textNotification }), jsxRuntime.jsx(MenuMore, { options: [markAllAsReadOption], isHover: false, closeAfterClick: true, isArrowInMenu: false, isPaddingInMenu: false, isDarkMode: true, iconButton: jsxRuntime.jsx(MoreDotsVertical, { fill: "#F7F9FC" }) })] }), props.notificationList ? (jsxRuntime.jsx(notificationCardList, { notificationsLength: notificationsLength, children: props.notificationList.map((item, index) => {
11630
+ return (jsxRuntime.jsx("div", { style: { borderBottom: `1px solid #313131` }, onMouseOver: () => (props?.setOnAreaPopOver ? props?.setOnAreaPopOver(true) : {}), onMouseOut: () => (props?.setOnAreaPopOver ? props?.setOnAreaPopOver(false) : {}), children: jsxRuntime.jsx(NotificationCard, { onClickUserInfo: item.onClickUserInfo, textVisitProfile: item.textVisitProfile, notificationAvatar: item.notificationAvatar, notificationDescription: item.notificationDescription, notificationDate: item.notificationDate, textNew: item.textNew, isNewNotification: item.isNewNotification, handleClick: item.handleClick, handleClickDelete: item.handleClickDelete }, index) }, index));
11631
+ }) })) : (jsxRuntime.jsx(emptyState, { children: jsxRuntime.jsxs(emptyStateInfo, { children: [jsxRuntime.jsx("img", { src: emptyStateImage, alt: "Empty notification list" }), jsxRuntime.jsx("span", { children: props.textEmptyState })] }) }))] }) })) }));
11636
11632
  }
11637
11633
 
11638
11634
  function GlobalMenu({ variant, menu, customMenu, user, search, notification, languages, languageSelected, onChangeLanguage, style, textNotification, onClickSite, onClickLinkedin, onClickInstagram, onClickYoutube, onClickSpotify, onClickPodCast, onClickProfileMenuText, onClickExit, profileMenuText, showSearchField, marginTopSubMenu, hiddenProfileMenu, onClickLogo, onClickMenuHamburger, showHelp, onClickHelp, showProfile = true }) {
@@ -1,5 +1,7 @@
1
1
  import React from 'react';
2
- export declare function ArrowIcon(): JSX.Element;
2
+ export declare function ArrowIcon({ fill }: {
3
+ fill: any;
4
+ }): JSX.Element;
3
5
  interface SelectProps {
4
6
  placeholder?: string;
5
7
  children?: any;
@@ -8,7 +10,8 @@ interface SelectProps {
8
10
  loading?: boolean;
9
11
  isError?: boolean;
10
12
  style?: React.CSSProperties;
13
+ disabled?: boolean;
11
14
  }
12
- export default function Select({ placeholder, defaultValue, children, onChange, loading, isError, style }: SelectProps): JSX.Element;
15
+ export default function Select({ placeholder, defaultValue, children, onChange, loading, isError, style, disabled }: SelectProps): JSX.Element;
13
16
  export {};
14
17
  //# sourceMappingURL=Select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAK1D,wBAAgB,SAAS,gBAMxB;AAED,UAAU,WAAW;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,GAAG,CAAA;IACd,QAAQ,CAAC,EAAE,GAAG,CAAA;IACd,YAAY,CAAC,EAAE,GAAG,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAC5B;AAED,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO,EACP,KAAK,EACN,EAAE,WAAW,eAqEb"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAK1D,wBAAgB,SAAS,CAAC,EAAC,IAAI,EAAC;;CAAA,eAM/B;AAED,UAAU,WAAW;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,GAAG,CAAA;IACd,QAAQ,CAAC,EAAE,GAAG,CAAA;IACd,YAAY,CAAC,EAAE,GAAG,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO,EACP,KAAK,EACL,QAAQ,EACT,EAAE,WAAW,eAqEb"}
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
2
- type valueEnum = string | number | boolean | null;
1
+ import React from "react";
2
+ type valueEnum = string | number | boolean | null | React.ReactNode;
3
3
  interface SelectProps {
4
4
  value?: valueEnum;
5
- label?: string;
5
+ label?: string | React.ReactNode;
6
6
  selected?: boolean;
7
7
  handleSelect?: (value: any) => void;
8
8
  disabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"SelectItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/select/SelectItem.tsx"],"names":[],"mappings":";AAgDA,KAAK,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AAElD,UAAU,WAAW;IACjB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE,WAAW,eAUjG"}
1
+ {"version":3,"file":"SelectItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/select/SelectItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAgDvC,KAAK,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,KAAK,CAAC,SAAS,CAAE;AAErE,UAAU,WAAW;IACjB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAA;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE,WAAW,eAUjG"}
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
- export default function SelectFRST({ placeholder, valueSelect, handleValueSelect, listItems, isError, style }: {
2
+ export default function SelectFRST({ placeholder, valueSelect, handleValueSelect, listItems, isError, style, disabled }: {
3
3
  placeholder: any;
4
4
  valueSelect: any;
5
5
  handleValueSelect: any;
6
6
  listItems: any;
7
7
  isError: any;
8
8
  style: any;
9
+ disabled: any;
9
10
  }): JSX.Element;
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/select/index.tsx"],"names":[],"mappings":";AAGA,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE;;;;;;;CAAA,eAc5G"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/select/index.tsx"],"names":[],"mappings":";AAGA,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE;;;;;;;;CAAA,eAetH"}
@@ -1,8 +1,9 @@
1
1
  interface PropsSelect {
2
2
  error?: boolean;
3
+ disabled?: boolean;
3
4
  }
4
5
  export declare const DropDownContainer: import("styled-components").StyledComponent<"div", any, PropsSelect, never>;
5
- export declare const EventOverlay: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export declare const EventOverlay: import("styled-components").StyledComponent<"div", any, PropsSelect, never>;
6
7
  export declare const DropDownHeader: import("styled-components").StyledComponent<"div", any, PropsSelect, never>;
7
8
  export declare const DropDownListContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
8
9
  export declare const DropDownList: import("styled-components").StyledComponent<"ul", any, {}, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"StylesSelect.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/select/styles/StylesSelect.tsx"],"names":[],"mappings":"AAEA,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,eAAO,MAAM,iBAAiB,6EAa7B,CAAA;AACD,eAAO,MAAM,YAAY,oEASxB,CAAA;AACD,eAAO,MAAM,cAAc,6EA4B1B,CAAA;AACD,eAAO,MAAM,qBAAqB,oEAAkB,CAAA;AAEpD,eAAO,MAAM,YAAY,mEAgBxB,CAAA;AACD,eAAO,MAAM,kBAAkB;UAAyB,OAAO;SAa9D,CAAA;AACD,eAAO,MAAM,cAAc,kEAO1B,CAAA"}
1
+ {"version":3,"file":"StylesSelect.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/select/styles/StylesSelect.tsx"],"names":[],"mappings":"AAEA,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,iBAAiB,6EAa7B,CAAA;AACD,eAAO,MAAM,YAAY,6EAaxB,CAAA;AACD,eAAO,MAAM,cAAc,6EAsC1B,CAAA;AACD,eAAO,MAAM,qBAAqB,oEAAkB,CAAA;AAEpD,eAAO,MAAM,YAAY,mEAgBxB,CAAA;AACD,eAAO,MAAM,kBAAkB;UAAyB,OAAO;SAa9D,CAAA;AACD,eAAO,MAAM,cAAc,kEAO1B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/notificationCard/index.tsx"],"names":[],"mappings":";AAUA,UAAU,iBAAiB;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,iBAAiB,EAAE,OAAO,CAAA;IAC1B,gBAAgB,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAEzB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IAE3B,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,iBAAiB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACtC,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;CAC7B;AAUD,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,eAsEhE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/notificationCard/index.tsx"],"names":[],"mappings":";AAUA,UAAU,iBAAiB;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,iBAAiB,EAAE,OAAO,CAAA;IAC1B,gBAAgB,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAEzB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IAE3B,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,iBAAiB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACtC,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;CAC7B;AAUD,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,eAmEhE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/notificationPopOver/index.tsx"],"names":[],"mappings":";AAUA,KAAK,gBAAgB,GAAG;IACtB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,iBAAiB,EAAE,OAAO,CAAA;IAC1B,gBAAgB,EAAE,MAAM,CAAA;IACxB,EAAE,EAAE,MAAM,CAAA;IAEV,OAAO,EAAE,MAAM,CAAA;IAEf,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,iBAAiB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACtC,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAA;AACD,UAAU,oBAAoB;IAC5B,gBAAgB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAA;IAE1C,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,EAAE,MAAM,CAAA;IACxB,iBAAiB,EAAE,MAAM,CAAA;IACzB,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,MAAM,CAAA;IAEtB,MAAM,EAAE,OAAO,CAAA;IACf,MAAM,EAAE,GAAG,CAAA;IACX,QAAQ,EAAE,OAAO,CAAA;IAEjB,mBAAmB,EAAE,MAAM,IAAI,CAAA;IAC/B,oBAAoB,EAAE,MAAM,IAAI,CAAA;IAChC,gBAAgB,CAAC,EAAE,CAAC,CAAC,KAAA,KAAK,IAAI,CAAA;IAC9B,eAAe,EAAE,MAAM,IAAI,CAAA;CAC5B;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,oBAAoB,eAmLtE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/notificationPopOver/index.tsx"],"names":[],"mappings":";AAUA,KAAK,gBAAgB,GAAG;IACtB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,iBAAiB,EAAE,OAAO,CAAA;IAC1B,gBAAgB,EAAE,MAAM,CAAA;IACxB,EAAE,EAAE,MAAM,CAAA;IAEV,OAAO,EAAE,MAAM,CAAA;IAEf,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,iBAAiB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACtC,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAA;AACD,UAAU,oBAAoB;IAC5B,gBAAgB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAA;IAE1C,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,EAAE,MAAM,CAAA;IACxB,iBAAiB,EAAE,MAAM,CAAA;IACzB,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,MAAM,CAAA;IAEtB,MAAM,EAAE,OAAO,CAAA;IACf,MAAM,EAAE,GAAG,CAAA;IACX,QAAQ,EAAE,OAAO,CAAA;IAEjB,mBAAmB,EAAE,MAAM,IAAI,CAAA;IAC/B,oBAAoB,EAAE,MAAM,IAAI,CAAA;IAChC,gBAAgB,CAAC,EAAE,CAAC,CAAC,KAAA,KAAK,IAAI,CAAA;IAC9B,eAAe,EAAE,MAAM,IAAI,CAAA;CAC5B;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,oBAAoB,eAiKtE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-more/index.tsx"],"names":[],"mappings":";AAGA,OAAO,yBAAyB,CAAA;AAKhC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAGtC,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,UAAU,EACV,OAAO,EACP,KAAK,EACL,eAAe,EACf,OAAc,EACd,aAAoB,EACpB,eAAsB,EACtB,UAAkB,EACnB,EAAE,SAAS,eA0EX"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-more/index.tsx"],"names":[],"mappings":";AAGA,OAAO,yBAAyB,CAAA;AAKhC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAGtC,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,UAAU,EACV,OAAO,EACP,KAAK,EACL,eAAe,EACf,OAAc,EACd,aAAoB,EACpB,eAAsB,EACtB,UAAkB,EACnB,EAAE,SAAS,eA2EX"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frst-components",
3
3
  "homepage": "http://FRST-Falconi.github.io/storybook.frstfalconi.com",
4
- "version": "0.22.54",
4
+ "version": "0.22.55",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",