frst-components 0.25.7 → 0.25.8

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
@@ -7501,8 +7501,121 @@ const ContainerModal = styled__default["default"]('div') `
7501
7501
  box-shadow: 0px 5px 15px 0px #00000040;
7502
7502
  `;
7503
7503
 
7504
+ const backgroundColors$2 = {
7505
+ hypothesis: {
7506
+ prioritize: '#FAB637',
7507
+ owner: '#f8d784',
7508
+ suggested: '#FBEECF'
7509
+ },
7510
+ impediment: {
7511
+ prioritize: '#D2ADE3',
7512
+ owner: '#E5CBF1',
7513
+ suggested: '#EFE1F6'
7514
+ }
7515
+ };
7516
+ const separatorColors = {
7517
+ hypothesis: {
7518
+ prioritize: '#CF8E11',
7519
+ owner: '#C8A561',
7520
+ suggested: '#E1CCA5'
7521
+ },
7522
+ impediment: {
7523
+ prioritize: '#AA83C3',
7524
+ owner: '#BF9AD6',
7525
+ suggested: '#DAB4EC'
7526
+ }
7527
+ };
7528
+ const borderAvatar = {
7529
+ hypothesis: {
7530
+ prioritize: '#C48000',
7531
+ owner: '#EE9F08',
7532
+ suggested: '#EE9F08'
7533
+ },
7534
+ impediment: {
7535
+ prioritize: '#AD46FF',
7536
+ owner: '#AD46FF',
7537
+ suggested: '#AD46FF'
7538
+ }
7539
+ };
7540
+ const MainContainer = styled__default["default"].div `
7541
+ display: flex;
7542
+ align-items: center;
7543
+ justify-content: space-between;
7544
+ width: 100%;
7545
+ min-height: 56px;
7546
+ color: #222222;
7547
+ box-sizing: border-box;
7548
+ `;
7549
+ const ContainerHypotheis = styled__default["default"].div `
7550
+ width: 100%;
7551
+ display: flex;
7552
+ justify-content: space-between;
7553
+ font-family: PT Sans;
7554
+ font-size: 14px;
7555
+ border-radius: 8px;
7556
+
7557
+ ${({ type, variant }) => {
7558
+ const backgroundColor = backgroundColors$2[variant][type];
7559
+ return styled.css `
7560
+ background: ${backgroundColor};
7561
+ `;
7562
+ }}
7563
+ `;
7564
+ const SplitContainerDescription = styled__default["default"].div `
7565
+ display: flex;
7566
+ justify-content: flex-start;
7567
+ align-items: center;
7568
+ padding: 10px 16px 10px 0px;
7569
+ gap: 16px;
7570
+ height: 100%;
7571
+ width: 100%;
7572
+ `;
7573
+ styled__default["default"].div `
7574
+ height: 24px;
7575
+ width: 1px;
7576
+ margin-left: 14px;
7577
+ margin-right: 14px;
7578
+ ${({ type, variant }) => {
7579
+ const border = separatorColors[variant][type];
7580
+ return styled.css `
7581
+ border: 1px solid ${border};
7582
+ `;
7583
+ }}
7584
+ `;
7585
+ const Title$6 = styled__default["default"].span `
7586
+ font-weight: 700;
7587
+ white-space: nowrap;
7588
+ `;
7589
+ const Description$4 = styled__default["default"].span `
7590
+ font-weight: 400;
7591
+ display: flex;
7592
+ flex-grow: 1;
7593
+ flex-wrap: wrap;
7594
+ align-items: center;
7595
+ padding: 6px 16px 6px 16px;
7596
+
7597
+ ${({ type, variant }) => {
7598
+ const border = separatorColors[variant][type];
7599
+ return styled.css `
7600
+ border-left: 1px solid ${border};
7601
+ `;
7602
+ }}
7603
+ `;
7604
+ const LimitCharsContainer = styled__default["default"].div `
7605
+ display: flex;
7606
+ justify-content: flex-start;
7607
+ align-items: center;
7608
+ margin-top: 4px;
7609
+ `;
7610
+ const LimitCharsExceededMessage = styled__default["default"].span `
7611
+ color: #a50000;
7612
+ font-size: 12px;
7613
+ margin-left: 5px;
7614
+ `;
7615
+
7504
7616
  function AddImpedimentoModal({ isOpen, onClose, onSaveBtn, anchor }) {
7505
7617
  const [text, setText] = React.useState('');
7618
+ const limitCaraterersImpediments = 365;
7506
7619
  const handleClose = () => {
7507
7620
  setText('');
7508
7621
  onClose();
@@ -7517,7 +7630,12 @@ function AddImpedimentoModal({ isOpen, onClose, onSaveBtn, anchor }) {
7517
7630
  }, transformOrigin: {
7518
7631
  horizontal: 'right',
7519
7632
  vertical: 'top'
7520
- }, children: jsxRuntime.jsxs(ContainerModal, { children: [jsxRuntime.jsx(TextField, { value: text, onChange: (e) => setText(e.target.value), placeholder: 'Sugira o impedimento aqui' }), jsxRuntime.jsx(Button$4, { label: 'Salvar', variant: 'expandedPrimary', disabled: text === '', handleClick: handleSave })] }) }));
7633
+ }, children: jsxRuntime.jsxs(ContainerModal, { children: [jsxRuntime.jsxs("div", { style: { width: '100%' }, children: [jsxRuntime.jsx(TextField, { value: text, onChange: (e) => setText(e.target.value), placeholder: "Sugira o impedimento aqui", maxLength: limitCaraterersImpediments }), text?.length >= limitCaraterersImpediments && (jsxRuntime.jsxs("div", { style: {
7634
+ display: 'flex',
7635
+ alignItems: 'flex-start',
7636
+ marginTop: '4px',
7637
+ justifyContent: 'flex-start'
7638
+ }, children: [jsxRuntime.jsx(TagAlert, { color: "#A50000" }), jsxRuntime.jsx(LimitCharsExceededMessage, { children: 'Você atingiu a quantidade máxima de caracteres' })] }))] }), jsxRuntime.jsx(Button$4, { label: "Salvar", variant: "expandedPrimary", disabled: text === '', handleClick: handleSave })] }) }));
7521
7639
  }
7522
7640
 
7523
7641
  const ContainerDropdown = styled__default["default"]('div') `
@@ -7580,6 +7698,7 @@ function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpediment
7580
7698
  const [isEdit, setIsEdit] = React.useState(false);
7581
7699
  const [editDescription, setEditDescription] = React.useState('');
7582
7700
  const [displayDescription, setDisplayDescription] = React.useState('');
7701
+ const limitCaraterersImpediments = 365;
7583
7702
  const openAddImpedimento = Boolean(addImpedimentoAnchor);
7584
7703
  const openImpedimentoSelect = Boolean(impedimentoSelectAnchor);
7585
7704
  React.useEffect(() => {
@@ -7588,14 +7707,14 @@ function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpediment
7588
7707
  React.useEffect(() => {
7589
7708
  if (idSelectedTab) {
7590
7709
  if (allTabs?.length > 0) {
7591
- let tab = allTabs?.find(value => value.id == idSelectedTab);
7710
+ let tab = allTabs?.find((value) => value.id == idSelectedTab);
7592
7711
  handleClickTab(tab);
7593
7712
  }
7594
7713
  }
7595
7714
  }, [idSelectedTab]);
7596
7715
  React.useEffect(() => {
7597
7716
  if (allTabs.length > 0) {
7598
- const tabToSelect = allTabs.find(tab => tab.id === currentTab);
7717
+ const tabToSelect = allTabs.find((tab) => tab.id === currentTab);
7599
7718
  setSelectedTab(tabToSelect ? tabToSelect : allTabs[0]);
7600
7719
  setOnShowTabs(allTabs.slice(0, maxTabs));
7601
7720
  setOnHideTabs(allTabs.slice(maxTabs, allTabs.length));
@@ -7617,7 +7736,7 @@ function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpediment
7617
7736
  };
7618
7737
  const handleClickSelectImpedimento = (impedimento) => {
7619
7738
  //novo Array sem o impedimento selecionado
7620
- let newArray = allTabs.filter(value => value.id !== impedimento.id);
7739
+ let newArray = allTabs.filter((value) => value.id !== impedimento.id);
7621
7740
  //coloca o impedimento selecionado na primeira posição
7622
7741
  newArray.unshift(impedimento);
7623
7742
  //atualiza o array de impedimentos
@@ -7642,6 +7761,16 @@ function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpediment
7642
7761
  const startEditing = () => {
7643
7762
  setEditDescription(displayDescription);
7644
7763
  };
7764
+ const handleChange = (event) => {
7765
+ if (limitCaraterersImpediments > editDescription?.length ||
7766
+ event.target.value?.length < editDescription?.length) {
7767
+ let newValue = event.target.value;
7768
+ if (newValue.length > limitCaraterersImpediments) {
7769
+ newValue = newValue.substring(0, limitCaraterersImpediments);
7770
+ }
7771
+ setEditDescription(newValue);
7772
+ }
7773
+ };
7645
7774
  React.useEffect(() => {
7646
7775
  if (isEdit) {
7647
7776
  startEditing();
@@ -7653,186 +7782,69 @@ function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpediment
7653
7782
  setEditDescription(selectedTab.description || '');
7654
7783
  }
7655
7784
  }, [selectedTab]);
7656
- return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: allTabs.length > 0 ?
7657
- jsxRuntime.jsxs(ContainerImpedimentos, { children: [jsxRuntime.jsxs(TabWrapper, { children: [jsxRuntime.jsxs(material.Box, { display: 'flex', alignItems: 'center', children: [onShowTabs.map((item, index) => renderTabs(item, index)), onHideTabs.length > 0 ?
7658
- jsxRuntime.jsx(Tooltip$2, { content: 'Ver todos os impedimentos', direction: 'bottom', delay: 200, style: { textAlign: 'center' }, children: jsxRuntime.jsxs(WrapperImpedimentoSelect, { activeSelect: openImpedimentoSelect, onClick: (e) => setImpedimentoSelectAnchor(e.currentTarget), children: [jsxRuntime.jsxs("p", { children: ["Mais ", onHideTabs.length] }), jsxRuntime.jsx(WrapperSelectIcon, { isOpenSelect: openImpedimentoSelect, children: jsxRuntime.jsx(ArrrowExpandDropdown, {}) })] }) })
7659
- :
7660
- jsxRuntime.jsx(jsxRuntime.Fragment, {})] }), jsxRuntime.jsx(material.Box, { display: 'flex', alignItems: 'center', children: showAddButton ?
7661
- jsxRuntime.jsx(Tooltip$2, { content: 'Sugerir impedimento', direction: 'bottom', delay: 200, style: { textAlign: 'center' }, children: jsxRuntime.jsxs(WrapperAddButton, { activeButton: openAddImpedimento, onClick: handleClickAddImpedimento, children: [jsxRuntime.jsx(AddIcon, {}), jsxRuntime.jsx("p", { children: addButtonText })] }) })
7662
- :
7663
- jsxRuntime.jsx(jsxRuntime.Fragment, {}) })] }), selectedTab?.id ?
7664
- jsxRuntime.jsxs(TabInfoWrapper, { onDoubleClick: () => selectedTab?.showOptions && setIsEdit(true), children: [jsxRuntime.jsx(Tooltip$2, { content: selectedTab?.user_name, direction: 'bottom', delay: 200, style: {
7665
- fontFamily: 'PT Sans',
7666
- fontWeight: 400,
7667
- fontSize: '14px',
7668
- color: 'rgba(117, 117, 117, 1)',
7669
- width: 'fit-content',
7670
- height: '31px',
7671
- top: '8px',
7672
- left: '4px',
7673
- whiteSpace: 'nowrap',
7674
- boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
7675
- }, children: selectedTab.isGoalOwner ?
7676
- jsxRuntime.jsx(material.Box, { border: '2px solid #AD46FF', borderRadius: '50%', onClick: selectedTab?.handleClickAvatar, children: jsxRuntime.jsx(Avatar, { src: selectedTab.avatar, size: '24px', isActiveClick: true }) })
7677
- :
7678
- jsxRuntime.jsx(Avatar, { src: selectedTab.avatar, size: '24px', isActiveClick: true, onClick: selectedTab?.handleClickAvatar }) }), isEdit ?
7679
- jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(material.TextField, { placeholder: editDescription, value: editDescription, onChange: (e) => setEditDescription(e.target.value), fullWidth: true, multiline: true, variant: 'standard', InputProps: {
7680
- disableUnderline: true,
7681
- style: {
7682
- fontFamily: 'PT Sans',
7683
- fontSize: '14px',
7684
- lineHeight: 1.3
7685
- }
7686
- }, inputRef: (input) => input && input.focus(), onKeyDown: (event) => {
7687
- if (event.key === 'Enter') {
7688
- handleUpdate();
7689
- }
7690
- if (event.key === 'Escape') {
7691
- handleCancelUpdate();
7692
- }
7693
- }, onBlur: handleUpdate, onFocus: (e) => e.currentTarget.setSelectionRange(e.currentTarget.value.length, e.currentTarget.value.length) }) })
7694
- :
7695
- jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("p", { children: displayDescription }), selectedTab?.showOptions ?
7696
- jsxRuntime.jsx(WrapperMenuMore, { children: jsxRuntime.jsx(MenuMore, { options: [
7697
- ...(selectedTab?.handlePriorize ? [{
7698
- description: 'Priorizar',
7699
- onClick: () => selectedTab?.handlePriorize(selectedTab),
7700
- disabled: !!selectedTab?.disabledPriorize,
7701
- color: !!selectedTab?.disabledPriorize ? "#b7b7b7" : "#222222",
7702
- startIcon: jsxRuntime.jsx(StarPrioritize, { stroke: !!selectedTab?.disabledPriorize ? "#b7b7b7" : "#222222" })
7703
- }] : []),
7704
- ...(selectedTab?.handleEdit ? [{
7705
- description: 'Editar',
7706
- onClick: () => setIsEdit(true),
7707
- startIcon: jsxRuntime.jsx(EditHipoteses, {})
7708
- }] : []),
7709
- ...(selectedTab?.handleDelete ? [{
7710
- description: 'Excluir',
7711
- onClick: () => selectedTab?.handleDelete(selectedTab),
7712
- startIcon: jsxRuntime.jsx(TrashHipoteses, {}),
7713
- color: '#C00F00'
7714
- }] : []),
7715
- ], closeAfterClick: true, isContainerOptions: true }) })
7716
- :
7717
- jsxRuntime.jsx(jsxRuntime.Fragment, {})] })] })
7718
- :
7719
- jsxRuntime.jsx(jsxRuntime.Fragment, {}), jsxRuntime.jsx(AddImpedimentoModal, { isOpen: openAddImpedimento, anchor: addImpedimentoAnchor, onClose: () => setAddImpedimentoAnchor(null), onSaveBtn: handleSaveNewImpedimento }), jsxRuntime.jsx(Dropdown$1, { isOpen: openImpedimentoSelect, anchor: impedimentoSelectAnchor, onClose: () => setImpedimentoSelectAnchor(null), impedimentoList: onHideTabs, maxTabs: maxTabs, onClickImpedimento: handleClickSelectImpedimento })] })
7720
- :
7721
- jsxRuntime.jsx(jsxRuntime.Fragment, {}) }));
7785
+ return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: allTabs.length > 0 ? (jsxRuntime.jsxs(ContainerImpedimentos, { children: [jsxRuntime.jsxs(TabWrapper, { children: [jsxRuntime.jsxs(material.Box, { display: 'flex', alignItems: 'center', children: [onShowTabs.map((item, index) => renderTabs(item, index)), onHideTabs.length > 0 ? (jsxRuntime.jsx(Tooltip$2, { content: "Ver todos os impedimentos", direction: "bottom", delay: 200, style: { textAlign: 'center' }, children: jsxRuntime.jsxs(WrapperImpedimentoSelect, { activeSelect: openImpedimentoSelect, onClick: (e) => setImpedimentoSelectAnchor(e.currentTarget), children: [jsxRuntime.jsxs("p", { children: ["Mais ", onHideTabs.length] }), jsxRuntime.jsx(WrapperSelectIcon, { isOpenSelect: openImpedimentoSelect, children: jsxRuntime.jsx(ArrrowExpandDropdown, {}) })] }) })) : (jsxRuntime.jsx(jsxRuntime.Fragment, {}))] }), jsxRuntime.jsx(material.Box, { display: 'flex', alignItems: 'center', children: showAddButton ? (jsxRuntime.jsx(Tooltip$2, { content: "Sugerir impedimento", direction: "bottom", delay: 200, style: { textAlign: 'center' }, children: jsxRuntime.jsxs(WrapperAddButton, { activeButton: openAddImpedimento, onClick: handleClickAddImpedimento, children: [jsxRuntime.jsx(AddIcon, {}), jsxRuntime.jsx("p", { children: addButtonText })] }) })) : (jsxRuntime.jsx(jsxRuntime.Fragment, {})) })] }), selectedTab?.id ? (jsxRuntime.jsxs(TabInfoWrapper, { onDoubleClick: () => selectedTab?.showOptions && setIsEdit(true), children: [jsxRuntime.jsx(Tooltip$2, { content: selectedTab?.user_name, direction: "bottom", delay: 200, style: {
7786
+ fontFamily: 'PT Sans',
7787
+ fontWeight: 400,
7788
+ fontSize: '14px',
7789
+ color: 'rgba(117, 117, 117, 1)',
7790
+ width: 'fit-content',
7791
+ height: '31px',
7792
+ top: '8px',
7793
+ left: '4px',
7794
+ whiteSpace: 'nowrap',
7795
+ boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
7796
+ }, children: selectedTab.isGoalOwner ? (jsxRuntime.jsx(material.Box, { border: '2px solid #AD46FF', borderRadius: '50%', onClick: selectedTab?.handleClickAvatar, children: jsxRuntime.jsx(Avatar, { src: selectedTab.avatar, size: "24px", isActiveClick: true }) })) : (jsxRuntime.jsx(Avatar, { src: selectedTab.avatar, size: "24px", isActiveClick: true, onClick: selectedTab?.handleClickAvatar })) }), isEdit ? (jsxRuntime.jsxs("div", { style: { width: '100%' }, children: [jsxRuntime.jsx(material.TextField, { placeholder: editDescription, value: editDescription, onChange: handleChange, fullWidth: true, multiline: true, variant: "standard", InputProps: {
7797
+ disableUnderline: true,
7798
+ style: {
7799
+ fontFamily: 'PT Sans',
7800
+ fontSize: '14px',
7801
+ lineHeight: 1.3
7802
+ }
7803
+ }, inputRef: (input) => input && input.focus(), onKeyDown: (event) => {
7804
+ if (event.key === 'Enter') {
7805
+ handleUpdate();
7806
+ }
7807
+ if (event.key === 'Escape') {
7808
+ handleCancelUpdate();
7809
+ }
7810
+ }, onBlur: handleUpdate, onFocus: (e) => e.currentTarget.setSelectionRange(e.currentTarget.value.length, e.currentTarget.value.length) }), editDescription?.length >= limitCaraterersImpediments && (jsxRuntime.jsxs(LimitCharsContainer, { children: [jsxRuntime.jsx(TagAlert, { color: "#A50000" }), jsxRuntime.jsx(LimitCharsExceededMessage, { children: 'Você atingiu a quantidade máxima de caracteres' })] }))] })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("p", { children: displayDescription }), selectedTab?.showOptions ? (jsxRuntime.jsx(WrapperMenuMore, { children: jsxRuntime.jsx(MenuMore, { options: [
7811
+ ...(selectedTab?.handlePriorize
7812
+ ? [
7813
+ {
7814
+ description: 'Priorizar',
7815
+ onClick: () => selectedTab?.handlePriorize(selectedTab),
7816
+ disabled: !!selectedTab?.disabledPriorize,
7817
+ color: !!selectedTab?.disabledPriorize
7818
+ ? '#b7b7b7'
7819
+ : '#222222',
7820
+ startIcon: (jsxRuntime.jsx(StarPrioritize, { stroke: !!selectedTab?.disabledPriorize
7821
+ ? '#b7b7b7'
7822
+ : '#222222' }))
7823
+ }
7824
+ ]
7825
+ : []),
7826
+ ...(selectedTab?.handleEdit
7827
+ ? [
7828
+ {
7829
+ description: 'Editar',
7830
+ onClick: () => setIsEdit(true),
7831
+ startIcon: jsxRuntime.jsx(EditHipoteses, {})
7832
+ }
7833
+ ]
7834
+ : []),
7835
+ ...(selectedTab?.handleDelete
7836
+ ? [
7837
+ {
7838
+ description: 'Excluir',
7839
+ onClick: () => selectedTab?.handleDelete(selectedTab),
7840
+ startIcon: jsxRuntime.jsx(TrashHipoteses, {}),
7841
+ color: '#C00F00'
7842
+ }
7843
+ ]
7844
+ : [])
7845
+ ], closeAfterClick: true, isContainerOptions: true }) })) : (jsxRuntime.jsx(jsxRuntime.Fragment, {}))] }))] })) : (jsxRuntime.jsx(jsxRuntime.Fragment, {})), jsxRuntime.jsx(AddImpedimentoModal, { isOpen: openAddImpedimento, anchor: addImpedimentoAnchor, onClose: () => setAddImpedimentoAnchor(null), onSaveBtn: handleSaveNewImpedimento }), jsxRuntime.jsx(Dropdown$1, { isOpen: openImpedimentoSelect, anchor: impedimentoSelectAnchor, onClose: () => setImpedimentoSelectAnchor(null), impedimentoList: onHideTabs, maxTabs: maxTabs, onClickImpedimento: handleClickSelectImpedimento })] })) : (jsxRuntime.jsx(jsxRuntime.Fragment, {})) }));
7722
7846
  }
7723
7847
 
7724
- const backgroundColors$2 = {
7725
- hypothesis: {
7726
- prioritize: '#FAB637',
7727
- owner: '#f8d784',
7728
- suggested: '#FBEECF'
7729
- },
7730
- impediment: {
7731
- prioritize: '#D2ADE3',
7732
- owner: '#E5CBF1',
7733
- suggested: '#EFE1F6'
7734
- }
7735
- };
7736
- const separatorColors = {
7737
- hypothesis: {
7738
- prioritize: '#CF8E11',
7739
- owner: '#C8A561',
7740
- suggested: '#E1CCA5'
7741
- },
7742
- impediment: {
7743
- prioritize: '#AA83C3',
7744
- owner: '#BF9AD6',
7745
- suggested: '#DAB4EC'
7746
- }
7747
- };
7748
- const borderAvatar = {
7749
- hypothesis: {
7750
- prioritize: '#C48000',
7751
- owner: '#EE9F08',
7752
- suggested: '#EE9F08'
7753
- },
7754
- impediment: {
7755
- prioritize: '#AD46FF',
7756
- owner: '#AD46FF',
7757
- suggested: '#AD46FF'
7758
- }
7759
- };
7760
- const MainContainer = styled__default["default"].div `
7761
- display: flex;
7762
- align-items: center;
7763
- justify-content: space-between;
7764
- width: 100%;
7765
- min-height: 56px;
7766
- color: #222222;
7767
- box-sizing: border-box;
7768
- `;
7769
- const ContainerHypotheis = styled__default["default"].div `
7770
- width: 100%;
7771
- display: flex;
7772
- justify-content: space-between;
7773
- font-family: PT Sans;
7774
- font-size: 14px;
7775
- border-radius: 8px;
7776
-
7777
- ${({ type, variant }) => {
7778
- const backgroundColor = backgroundColors$2[variant][type];
7779
- return styled.css `
7780
- background: ${backgroundColor};
7781
- `;
7782
- }}
7783
- `;
7784
- const SplitContainerDescription = styled__default["default"].div `
7785
- display: flex;
7786
- justify-content: flex-start;
7787
- align-items: center;
7788
- padding: 10px 16px 10px 0px;
7789
- gap: 16px;
7790
- height: 100%;
7791
- width: 100%;
7792
- `;
7793
- styled__default["default"].div `
7794
- height: 24px;
7795
- width: 1px;
7796
- margin-left: 14px;
7797
- margin-right: 14px;
7798
- ${({ type, variant }) => {
7799
- const border = separatorColors[variant][type];
7800
- return styled.css `
7801
- border: 1px solid ${border};
7802
- `;
7803
- }}
7804
- `;
7805
- const Title$6 = styled__default["default"].span `
7806
- font-weight: 700;
7807
- white-space: nowrap;
7808
- `;
7809
- const Description$4 = styled__default["default"].span `
7810
- font-weight: 400;
7811
- display: flex;
7812
- flex-grow: 1;
7813
- flex-wrap: wrap;
7814
- align-items: center;
7815
- padding: 6px 16px 6px 16px;
7816
-
7817
- ${({ type, variant }) => {
7818
- const border = separatorColors[variant][type];
7819
- return styled.css `
7820
- border-left: 1px solid ${border};
7821
- `;
7822
- }}
7823
- `;
7824
- const LimitCharsContainer = styled__default["default"].div `
7825
- display: flex;
7826
- justify-content: flex-start;
7827
- align-items: center;
7828
- margin-top: 4px;
7829
- `;
7830
- const LimitCharsExceededMessage = styled__default["default"].span `
7831
- color: #a50000;
7832
- font-size: 12px;
7833
- margin-left: 5px;
7834
- `;
7835
-
7836
7848
  const backgroundColors$1 = {
7837
7849
  hypothesis: {
7838
7850
  prioritize: '#EE9F08',
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/impedimentosTab/addImpedimentoModal/index.tsx"],"names":[],"mappings":"AAQA,UAAU,UAAU;IAChB,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,MAAM,EAAE,cAAc,GAAG,IAAI,CAAA;CAChC;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EACxC,MAAM,EACN,OAAO,EACP,SAAS,EACT,MAAM,EACT,EAAE,UAAU,2CA2CZ"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/impedimentosTab/addImpedimentoModal/index.tsx"],"names":[],"mappings":"AAWA,UAAU,UAAU;IAChB,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,MAAM,EAAE,cAAc,GAAG,IAAI,CAAA;CAChC;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,UAAU,2CA0D7F"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/impedimentosTab/index.tsx"],"names":[],"mappings":"AAUA,OAAO,EACH,oBAAoB,EAEvB,MAAM,mBAAmB,CAAA;AAa1B,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACpC,OAAO,EACP,QAAQ,EACR,aAAa,EACb,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,UAAU,EACV,aAAa,EAChB,EAAE,oBAAoB,2CAkRtB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/impedimentosTab/index.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,oBAAoB,EAAW,MAAM,mBAAmB,CAAA;AAejE,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACpC,OAAO,EACP,QAAQ,EACR,aAAa,EACb,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,UAAU,EACV,aAAa,EAChB,EAAE,oBAAoB,2CAqUtB"}
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.25.7",
4
+ "version": "0.25.8",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",