plataforma-fundacao-componentes 2.23.18 → 2.23.19

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.css CHANGED
@@ -10217,3 +10217,67 @@ nav.component-tabs {
10217
10217
  transition: transform 0.3s ease; }
10218
10218
  .qrcode.button:active {
10219
10219
  transform: scale(0.95); }
10220
+
10221
+ :export {
10222
+ widthXs: 575.98px;
10223
+ widthSm: 767.98px;
10224
+ widthMd: 991.98px;
10225
+ widthLg: 1199.98px; }
10226
+
10227
+ :export {
10228
+ white: #fefefe;
10229
+ darkenWhite: #efefef;
10230
+ black: #121212;
10231
+ transparent: rgba(0, 0, 0, 0);
10232
+ primary: #3fa110;
10233
+ primaryDark: #33820d;
10234
+ primaryLight: #d7e6c8;
10235
+ secondaryDarker: #323c32;
10236
+ secondaryDark: #5a645a;
10237
+ blueDarker: #2b517b;
10238
+ secondary: #828a82;
10239
+ secondaryLight: #cdd3cd;
10240
+ secondaryLighter: #f8f9f7;
10241
+ danger: #e60000;
10242
+ dangerLight: #ffb4b4;
10243
+ dangerDark: #ab4745;
10244
+ warning: #ffcd00;
10245
+ warningLight: #ffeb98;
10246
+ warningDark: #765f00; }
10247
+
10248
+ .component-chip {
10249
+ font-size: 14px;
10250
+ -webkit-user-select: none;
10251
+ -moz-user-select: none;
10252
+ user-select: none;
10253
+ display: flex;
10254
+ align-items: center;
10255
+ justify-content: space-between;
10256
+ border-radius: 200px;
10257
+ border: 1px solid #3fa110;
10258
+ color: #3fa110;
10259
+ background-color: rgba(0, 0, 0, 0);
10260
+ font-weight: 600; }
10261
+ .component-chip span {
10262
+ max-width: calc(100% - 24px);
10263
+ padding-left: 4px;
10264
+ text-overflow: ellipsis;
10265
+ overflow: hidden; }
10266
+ .component-chip.w100 {
10267
+ width: 100%; }
10268
+ .component-chip.all-clickable,
10269
+ .component-chip .component-chip-button {
10270
+ transform: scale(1);
10271
+ transition: transform 0.3s ease;
10272
+ cursor: pointer; }
10273
+ .component-chip.all-clickable:active,
10274
+ .component-chip .component-chip-button:active {
10275
+ transform: scale(0.95); }
10276
+ .component-chip .component-chip-button {
10277
+ display: flex;
10278
+ align-items: center;
10279
+ justify-content: center;
10280
+ padding: 2px; }
10281
+ .component-chip .component-chip-button svg {
10282
+ width: 20px;
10283
+ height: 20px; }
package/dist/index.d.ts CHANGED
@@ -207,6 +207,7 @@ import useStorageState from './hooks/useStorageState/useStorageState';
207
207
  import useTimeElapsed from './hooks/useTimeElapsed/useTimeElapsed';
208
208
  import useToastManager from './hooks/useToastManager/useToastManager';
209
209
  import useValidatedState from './hooks/useValidatedState/useValidatedState';
210
+ import Chip from './components/chip/Chip';
210
211
  export * from './components/modal/ModalTypes';
211
212
  export * from './libraries/ActionCardThemes';
212
213
  export * from './libraries/BlobFileTypes';
@@ -229,4 +230,4 @@ export { Accordion, ActionCard, AdvancedSemiHeader, AssembleiaItem, AssembleiaPa
229
230
  /**
230
231
  * @deprecated
231
232
  */
232
- Title as ModulosTitle, MoneyByMonth, MoneyMonthLineChart, NotaEdit, Notification, HourEvents, Calendar, CalendarEvent, FloatingPanel, InlineMonthPicker, ScrollArrowOverflow, PageSubTitle, PageTitle, Paginator, PreviaVideo, ProgressBar, RadioButton, QRCode, Row, SearchBlocoDeNotas, Select, Switch, Table, TypedTable, TableFileNameAndAction, TableActions, TableWithOverflow, TextEditor, LeftCheckboxWithLabel, ActionsColumn, Tabs, Toast, ToastManager, Tooltip, TooltipManager, TopLoader, VideoItem, VideoPlayer, VideoModal, useCallbackedState, useCarouselBehaviour, useControlledTimer, useDraggableContainer, useHTMLShare, useDropOpened, useModalManager, useProgressiveCount, useScreenSize, useStorageState, useTimeElapsed, useToastManager, useValidatedState, AconteceuIcon, ChevronArrowRightIcon, FontIcon, PaymentIcon, AddCircleIcon, CircleArrowLeft, CopyIcon, QRCodeIcon, PrintIcon, FormacaoIcon, PercentLoaderIcon, AddIcon, AddAssemblyIcon, CircleArrowRight, FundacaoLogo, PieChartIcon, AlignCenterIcon, ClockIcon, CalendarCheckIcon, DevicePlusIcon, NotebookIcon, AgencyIcon, FundoSocialIcon, PlayIcon, AlignJustifyIcon, CloseIcon, GlobeIcon, QRCodeWhatsapp, AlignLeftIcon, CloudDownloadIcon, GraduationIcon, RedoIcon, AlignRightIcon, CloudUploadIcon, HamburgerIcon, RefreshIcon, ArrowLeftIcon, ComitesIcon, HandUpIcon, SearchIcon, ArrowRightIcon, ComunidadeIcon, HomeIcon, SettingsIcon, AssembleiasIcon, CreditIcon, InformationIcon, SicrediLogo, ATMIcon, CrescerIcon, InvestimentIcon, PhonePlusIcon, SquaresIcon, BackOfficeIcon, CrescerLogo, ItalicIcon, SustentabilidadeIcon, BarChartIcon, DownloadIcon, LinkIcon, ThreeDotsLoader, BeeIcon, DraggableIcon, LinksUteisIcon, ThumbsUpIcon, BigPlayIcon, EditIcon, ListDotIcon, TimesCircleIcon, BoldIcon, EvidenciasIcon, ListIcon, TransferenciaIcon, CalendarIcon, ExclamationIcon, LoaderIcon, TrashIcon, CardsIcon, ExitIconArrowLeft, LocalIcon, TrianguloInferior, CataventoVerde, ExitIconArrowRight, LockIcon, TwoFileIcon, CheckCircleIcon, EyeIcon, MessageIcon, UnderlineIcon, CheckIcon, FilePlusIcon, MoneyFileIcon, UndoIcon, ChequeIcon, FilesIcon, NavigatorWithMouse, UserIcon, ChevronArrowDownIcon, FilterIcon, OptionsIcon, WebsiteIcon, ChevronArrowLeftIcon, FontColorIcon, ParticipantesIcon, };
233
+ Title as ModulosTitle, MoneyByMonth, MoneyMonthLineChart, NotaEdit, Notification, HourEvents, Calendar, CalendarEvent, FloatingPanel, InlineMonthPicker, ScrollArrowOverflow, PageSubTitle, PageTitle, Paginator, PreviaVideo, ProgressBar, RadioButton, QRCode, Row, SearchBlocoDeNotas, Select, Switch, Table, TypedTable, TableFileNameAndAction, TableActions, TableWithOverflow, TextEditor, LeftCheckboxWithLabel, ActionsColumn, Tabs, Toast, ToastManager, Tooltip, TooltipManager, TopLoader, VideoItem, VideoPlayer, VideoModal, useCallbackedState, useCarouselBehaviour, useControlledTimer, useDraggableContainer, useHTMLShare, useDropOpened, useModalManager, useProgressiveCount, useScreenSize, useStorageState, useTimeElapsed, useToastManager, useValidatedState, AconteceuIcon, ChevronArrowRightIcon, FontIcon, PaymentIcon, AddCircleIcon, CircleArrowLeft, CopyIcon, QRCodeIcon, PrintIcon, FormacaoIcon, PercentLoaderIcon, AddIcon, AddAssemblyIcon, CircleArrowRight, FundacaoLogo, PieChartIcon, AlignCenterIcon, ClockIcon, CalendarCheckIcon, DevicePlusIcon, NotebookIcon, AgencyIcon, FundoSocialIcon, PlayIcon, AlignJustifyIcon, CloseIcon, GlobeIcon, QRCodeWhatsapp, AlignLeftIcon, CloudDownloadIcon, GraduationIcon, RedoIcon, AlignRightIcon, CloudUploadIcon, HamburgerIcon, RefreshIcon, ArrowLeftIcon, ComitesIcon, HandUpIcon, SearchIcon, ArrowRightIcon, ComunidadeIcon, HomeIcon, SettingsIcon, AssembleiasIcon, CreditIcon, InformationIcon, SicrediLogo, ATMIcon, CrescerIcon, InvestimentIcon, PhonePlusIcon, SquaresIcon, BackOfficeIcon, CrescerLogo, ItalicIcon, SustentabilidadeIcon, BarChartIcon, Chip, DownloadIcon, LinkIcon, ThreeDotsLoader, BeeIcon, DraggableIcon, LinksUteisIcon, ThumbsUpIcon, BigPlayIcon, EditIcon, ListDotIcon, TimesCircleIcon, BoldIcon, EvidenciasIcon, ListIcon, TransferenciaIcon, CalendarIcon, ExclamationIcon, LoaderIcon, TrashIcon, CardsIcon, ExitIconArrowLeft, LocalIcon, TrianguloInferior, CataventoVerde, ExitIconArrowRight, LockIcon, TwoFileIcon, CheckCircleIcon, EyeIcon, MessageIcon, UnderlineIcon, CheckIcon, FilePlusIcon, MoneyFileIcon, UndoIcon, ChequeIcon, FilesIcon, NavigatorWithMouse, UserIcon, ChevronArrowDownIcon, FilterIcon, OptionsIcon, WebsiteIcon, ChevronArrowLeftIcon, FontColorIcon, ParticipantesIcon, };
package/dist/index.js CHANGED
@@ -40684,6 +40684,26 @@ function useValidatedState(validation, initialValue) {
40684
40684
  return [value, setValue, validation(value)];
40685
40685
  }
40686
40686
 
40687
+ var rootClassName$3b = 'component-chip';
40688
+
40689
+ function Chip(props) {
40690
+ return React__default.createElement("div", {
40691
+ className: useMergedClassNames([rootClassName$3b, props.w100 ? 'w100' : '', props.allClickable ? 'all-clickable' : '']),
40692
+ onClick: function onClick() {
40693
+ if (props.allClickable && typeof props.onClick === 'function') {
40694
+ props.onClick();
40695
+ }
40696
+ }
40697
+ }, React__default.createElement("span", {
40698
+ className: 'nunito'
40699
+ }, props.label), React__default.createElement("div", {
40700
+ className: rootClassName$3b + "-button",
40701
+ onClick: props.onClick
40702
+ }, React__default.createElement(TimesCircleIcon, null)));
40703
+ }
40704
+
40705
+ var Chip$1 = React.memo(Chip);
40706
+
40687
40707
  function AlertModal(props) {
40688
40708
  var _useState = React.useState(false),
40689
40709
  loading = _useState[0],
@@ -40885,6 +40905,7 @@ exports.ChequeIcon = ChequeIcon;
40885
40905
  exports.ChevronArrowDownIcon = ChevronArrowDownIcon;
40886
40906
  exports.ChevronArrowLeftIcon = ChevronArrowLeftIcon;
40887
40907
  exports.ChevronArrowRightIcon = ChevronArrowRightIcon;
40908
+ exports.Chip = Chip$1;
40888
40909
  exports.CircleArrowLeft = CircleArrowLeft;
40889
40910
  exports.CircleArrowRight = CircleArrowRight;
40890
40911
  exports.ClockIcon = ClockIcon;