@consumidor-positivo/aurora 1.1.0 → 1.2.0
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/astro/Button/index.astro +85 -0
- package/astro/Drawer/index.astro +95 -0
- package/astro/Footer/index.astro +329 -0
- package/astro/Header/Actions/index.astro +19 -0
- package/astro/Header/Badges/index.astro +19 -0
- package/astro/Header/Button/index.astro +16 -0
- package/astro/Header/Hamburger/index.astro +28 -0
- package/astro/Header/Logo/index.astro +25 -0
- package/astro/Header/Navbar/index.astro +24 -0
- package/astro/Header/NavbarLink/index.astro +137 -0
- package/astro/Header/Navigation/index.astro +11 -0
- package/astro/Header/Profile/index.astro +81 -0
- package/astro/Header/index.astro +19 -0
- package/astro/Icon/index.astro +49 -0
- package/astro/Logo/ac/Tertiary.astro +28 -0
- package/astro/Logo/cp/Primary.astro +32 -0
- package/astro/Logo/index.astro +29 -0
- package/astro/NavbarVertical/Link/index.astro +101 -0
- package/astro/NavbarVertical/index.astro +27 -0
- package/astro/Tabs/TabPanel/index.astro +23 -0
- package/astro/Tabs/index.astro +142 -0
- package/astro/Text/index.astro +75 -0
- package/astro/icons/default/IconActivity.astro +10 -0
- package/astro/icons/default/IconAi.astro +10 -0
- package/astro/icons/default/IconAiBox.astro +10 -0
- package/astro/icons/default/IconAirplay.astro +10 -0
- package/astro/icons/default/IconAlertCircle.astro +10 -0
- package/astro/icons/default/IconAlertOctagon.astro +10 -0
- package/astro/icons/default/IconAlertTriangle.astro +10 -0
- package/astro/icons/default/IconAlignCenter.astro +10 -0
- package/astro/icons/default/IconAlignJustify.astro +10 -0
- package/astro/icons/default/IconAlignLeft.astro +10 -0
- package/astro/icons/default/IconAlignRight.astro +10 -0
- package/astro/icons/default/IconAnchor.astro +10 -0
- package/astro/icons/default/IconAperture.astro +10 -0
- package/astro/icons/default/IconArchive.astro +10 -0
- package/astro/icons/default/IconArrowDown.astro +10 -0
- package/astro/icons/default/IconArrowDownCircle.astro +10 -0
- package/astro/icons/default/IconArrowDownLeft.astro +10 -0
- package/astro/icons/default/IconArrowDownRight.astro +10 -0
- package/astro/icons/default/IconArrowLeft.astro +10 -0
- package/astro/icons/default/IconArrowLeftCircle.astro +10 -0
- package/astro/icons/default/IconArrowRight.astro +10 -0
- package/astro/icons/default/IconArrowRightCircle.astro +10 -0
- package/astro/icons/default/IconArrowUp.astro +10 -0
- package/astro/icons/default/IconArrowUpCircle.astro +10 -0
- package/astro/icons/default/IconArrowUpLeft.astro +10 -0
- package/astro/icons/default/IconArrowUpRight.astro +10 -0
- package/astro/icons/default/IconAtSign.astro +10 -0
- package/astro/icons/default/IconAward.astro +10 -0
- package/astro/icons/default/IconBank.astro +10 -0
- package/astro/icons/default/IconBarChart.astro +10 -0
- package/astro/icons/default/IconBarChart2.astro +10 -0
- package/astro/icons/default/IconBarCode.astro +10 -0
- package/astro/icons/default/IconBarCode2.astro +10 -0
- package/astro/icons/default/IconBattery.astro +10 -0
- package/astro/icons/default/IconBatteryCharging.astro +10 -0
- package/astro/icons/default/IconBell.astro +10 -0
- package/astro/icons/default/IconBellOff.astro +10 -0
- package/astro/icons/default/IconBluetooth.astro +10 -0
- package/astro/icons/default/IconBold.astro +10 -0
- package/astro/icons/default/IconBook.astro +10 -0
- package/astro/icons/default/IconBookOpen.astro +10 -0
- package/astro/icons/default/IconBookmark.astro +10 -0
- package/astro/icons/default/IconBox.astro +10 -0
- package/astro/icons/default/IconBriefcase.astro +10 -0
- package/astro/icons/default/IconCake.astro +10 -0
- package/astro/icons/default/IconCalendar.astro +10 -0
- package/astro/icons/default/IconCamera.astro +10 -0
- package/astro/icons/default/IconCameraOff.astro +10 -0
- package/astro/icons/default/IconCar.astro +10 -0
- package/astro/icons/default/IconCast.astro +10 -0
- package/astro/icons/default/IconCheck.astro +10 -0
- package/astro/icons/default/IconCheckCircle.astro +10 -0
- package/astro/icons/default/IconCheckSquare.astro +10 -0
- package/astro/icons/default/IconChevronDown.astro +10 -0
- package/astro/icons/default/IconChevronLeft.astro +10 -0
- package/astro/icons/default/IconChevronRight.astro +10 -0
- package/astro/icons/default/IconChevronUp.astro +10 -0
- package/astro/icons/default/IconChevronsDown.astro +10 -0
- package/astro/icons/default/IconChevronsLeft.astro +10 -0
- package/astro/icons/default/IconChevronsRight.astro +10 -0
- package/astro/icons/default/IconChevronsUp.astro +10 -0
- package/astro/icons/default/IconChrome.astro +10 -0
- package/astro/icons/default/IconCircle.astro +10 -0
- package/astro/icons/default/IconClipboard.astro +10 -0
- package/astro/icons/default/IconClock.astro +10 -0
- package/astro/icons/default/IconCloud.astro +10 -0
- package/astro/icons/default/IconCloudDrizzle.astro +10 -0
- package/astro/icons/default/IconCloudLightning.astro +10 -0
- package/astro/icons/default/IconCloudOff.astro +10 -0
- package/astro/icons/default/IconCloudRain.astro +10 -0
- package/astro/icons/default/IconCloudSnow.astro +10 -0
- package/astro/icons/default/IconCode.astro +10 -0
- package/astro/icons/default/IconCodepen.astro +10 -0
- package/astro/icons/default/IconCodesandbox.astro +10 -0
- package/astro/icons/default/IconCoffee.astro +10 -0
- package/astro/icons/default/IconCoin.astro +10 -0
- package/astro/icons/default/IconCollapseClose.astro +10 -0
- package/astro/icons/default/IconCollapseOpen.astro +10 -0
- package/astro/icons/default/IconColumns.astro +10 -0
- package/astro/icons/default/IconCommand.astro +10 -0
- package/astro/icons/default/IconCompass.astro +10 -0
- package/astro/icons/default/IconCookie.astro +10 -0
- package/astro/icons/default/IconCopy.astro +10 -0
- package/astro/icons/default/IconCornerDownLeft.astro +10 -0
- package/astro/icons/default/IconCornerDownRight.astro +10 -0
- package/astro/icons/default/IconCornerLeftDown.astro +10 -0
- package/astro/icons/default/IconCornerLeftUp.astro +10 -0
- package/astro/icons/default/IconCornerRightDown.astro +10 -0
- package/astro/icons/default/IconCornerRightUp.astro +10 -0
- package/astro/icons/default/IconCornerUpLeft.astro +10 -0
- package/astro/icons/default/IconCornerUpRight.astro +10 -0
- package/astro/icons/default/IconCpu.astro +10 -0
- package/astro/icons/default/IconCreditCard.astro +10 -0
- package/astro/icons/default/IconCrop.astro +10 -0
- package/astro/icons/default/IconCrosshair.astro +10 -0
- package/astro/icons/default/IconDatabase.astro +10 -0
- package/astro/icons/default/IconDelete.astro +10 -0
- package/astro/icons/default/IconDisc.astro +10 -0
- package/astro/icons/default/IconDivide.astro +10 -0
- package/astro/icons/default/IconDivideCircle.astro +10 -0
- package/astro/icons/default/IconDivideSquare.astro +10 -0
- package/astro/icons/default/IconDollarSign.astro +10 -0
- package/astro/icons/default/IconDownload.astro +10 -0
- package/astro/icons/default/IconDownloadCloud.astro +10 -0
- package/astro/icons/default/IconDribbble.astro +10 -0
- package/astro/icons/default/IconDroplet.astro +10 -0
- package/astro/icons/default/IconEdit.astro +10 -0
- package/astro/icons/default/IconEdit2.astro +10 -0
- package/astro/icons/default/IconEdit3.astro +10 -0
- package/astro/icons/default/IconExternalLink.astro +10 -0
- package/astro/icons/default/IconEye.astro +10 -0
- package/astro/icons/default/IconEyeOff.astro +10 -0
- package/astro/icons/default/IconFacebook.astro +10 -0
- package/astro/icons/default/IconFastForward.astro +10 -0
- package/astro/icons/default/IconFeather.astro +10 -0
- package/astro/icons/default/IconFigma.astro +10 -0
- package/astro/icons/default/IconFile.astro +10 -0
- package/astro/icons/default/IconFileMinus.astro +10 -0
- package/astro/icons/default/IconFilePdf.astro +10 -0
- package/astro/icons/default/IconFilePlus.astro +10 -0
- package/astro/icons/default/IconFileText.astro +10 -0
- package/astro/icons/default/IconFilm.astro +10 -0
- package/astro/icons/default/IconFilter.astro +10 -0
- package/astro/icons/default/IconFirecracker.astro +10 -0
- package/astro/icons/default/IconFlag.astro +10 -0
- package/astro/icons/default/IconFolder.astro +10 -0
- package/astro/icons/default/IconFolderMinus.astro +10 -0
- package/astro/icons/default/IconFolderPlus.astro +10 -0
- package/astro/icons/default/IconFramer.astro +10 -0
- package/astro/icons/default/IconFrown.astro +10 -0
- package/astro/icons/default/IconGift.astro +10 -0
- package/astro/icons/default/IconGitBranch.astro +10 -0
- package/astro/icons/default/IconGitCommit.astro +10 -0
- package/astro/icons/default/IconGitMerge.astro +10 -0
- package/astro/icons/default/IconGitPullRequest.astro +10 -0
- package/astro/icons/default/IconGithub.astro +10 -0
- package/astro/icons/default/IconGitlab.astro +10 -0
- package/astro/icons/default/IconGiveMoney.astro +10 -0
- package/astro/icons/default/IconGlasses.astro +10 -0
- package/astro/icons/default/IconGlobe.astro +10 -0
- package/astro/icons/default/IconGraduationHat.astro +10 -0
- package/astro/icons/default/IconGrid.astro +10 -0
- package/astro/icons/default/IconHardDrive.astro +10 -0
- package/astro/icons/default/IconHash.astro +10 -0
- package/astro/icons/default/IconHeadphones.astro +10 -0
- package/astro/icons/default/IconHeart.astro +10 -0
- package/astro/icons/default/IconHelpCircle.astro +10 -0
- package/astro/icons/default/IconHexagon.astro +10 -0
- package/astro/icons/default/IconHome.astro +10 -0
- package/astro/icons/default/IconHomeChimney.astro +10 -0
- package/astro/icons/default/IconId.astro +10 -0
- package/astro/icons/default/IconImage.astro +10 -0
- package/astro/icons/default/IconInbox.astro +10 -0
- package/astro/icons/default/IconInfo.astro +10 -0
- package/astro/icons/default/IconInstagram.astro +10 -0
- package/astro/icons/default/IconItalic.astro +10 -0
- package/astro/icons/default/IconKey.astro +10 -0
- package/astro/icons/default/IconLaptop.astro +10 -0
- package/astro/icons/default/IconLayers.astro +10 -0
- package/astro/icons/default/IconLayout.astro +10 -0
- package/astro/icons/default/IconLifeBuoy.astro +10 -0
- package/astro/icons/default/IconLightBulb.astro +10 -0
- package/astro/icons/default/IconLink.astro +10 -0
- package/astro/icons/default/IconLink2.astro +10 -0
- package/astro/icons/default/IconLinkedin.astro +10 -0
- package/astro/icons/default/IconLips.astro +10 -0
- package/astro/icons/default/IconList.astro +10 -0
- package/astro/icons/default/IconLoader.astro +10 -0
- package/astro/icons/default/IconLock.astro +10 -0
- package/astro/icons/default/IconLogIn.astro +10 -0
- package/astro/icons/default/IconLogOut.astro +10 -0
- package/astro/icons/default/IconMail.astro +10 -0
- package/astro/icons/default/IconMap.astro +10 -0
- package/astro/icons/default/IconMapPin.astro +10 -0
- package/astro/icons/default/IconMaximize.astro +10 -0
- package/astro/icons/default/IconMaximize2.astro +10 -0
- package/astro/icons/default/IconMeh.astro +10 -0
- package/astro/icons/default/IconMenu.astro +10 -0
- package/astro/icons/default/IconMessageCircle.astro +10 -0
- package/astro/icons/default/IconMessageSquare.astro +10 -0
- package/astro/icons/default/IconMic.astro +10 -0
- package/astro/icons/default/IconMicOff.astro +10 -0
- package/astro/icons/default/IconMinimize.astro +10 -0
- package/astro/icons/default/IconMinimize2.astro +10 -0
- package/astro/icons/default/IconMinus.astro +10 -0
- package/astro/icons/default/IconMinusCircle.astro +10 -0
- package/astro/icons/default/IconMinusSquare.astro +10 -0
- package/astro/icons/default/IconMoney.astro +10 -0
- package/astro/icons/default/IconMonitor.astro +10 -0
- package/astro/icons/default/IconMoon.astro +10 -0
- package/astro/icons/default/IconMoreHorizontal.astro +10 -0
- package/astro/icons/default/IconMoreVertical.astro +10 -0
- package/astro/icons/default/IconMousePointer.astro +10 -0
- package/astro/icons/default/IconMove.astro +10 -0
- package/astro/icons/default/IconMusic.astro +10 -0
- package/astro/icons/default/IconNavigation.astro +10 -0
- package/astro/icons/default/IconNavigation2.astro +10 -0
- package/astro/icons/default/IconNegotiation.astro +10 -0
- package/astro/icons/default/IconObjective.astro +10 -0
- package/astro/icons/default/IconOctagon.astro +10 -0
- package/astro/icons/default/IconPackage.astro +10 -0
- package/astro/icons/default/IconPaperclip.astro +10 -0
- package/astro/icons/default/IconPause.astro +10 -0
- package/astro/icons/default/IconPauseCircle.astro +10 -0
- package/astro/icons/default/IconPenTool.astro +10 -0
- package/astro/icons/default/IconPencilPack.astro +10 -0
- package/astro/icons/default/IconPercent.astro +10 -0
- package/astro/icons/default/IconPercentBalloon.astro +10 -0
- package/astro/icons/default/IconPhone.astro +10 -0
- package/astro/icons/default/IconPhoneCall.astro +10 -0
- package/astro/icons/default/IconPhoneForwarded.astro +10 -0
- package/astro/icons/default/IconPhoneIncoming.astro +10 -0
- package/astro/icons/default/IconPhoneMissed.astro +10 -0
- package/astro/icons/default/IconPhoneOff.astro +10 -0
- package/astro/icons/default/IconPhoneOutgoing.astro +10 -0
- package/astro/icons/default/IconPieChart.astro +10 -0
- package/astro/icons/default/IconPix.astro +10 -0
- package/astro/icons/default/IconPlane.astro +10 -0
- package/astro/icons/default/IconPlay.astro +10 -0
- package/astro/icons/default/IconPlayCircle.astro +10 -0
- package/astro/icons/default/IconPlus.astro +10 -0
- package/astro/icons/default/IconPlusCircle.astro +10 -0
- package/astro/icons/default/IconPlusSquare.astro +10 -0
- package/astro/icons/default/IconPocket.astro +10 -0
- package/astro/icons/default/IconPower.astro +10 -0
- package/astro/icons/default/IconPrinter.astro +10 -0
- package/astro/icons/default/IconQrCode.astro +10 -0
- package/astro/icons/default/IconRadio.astro +10 -0
- package/astro/icons/default/IconRefreshCcw.astro +10 -0
- package/astro/icons/default/IconRefreshCw.astro +10 -0
- package/astro/icons/default/IconRepeat.astro +10 -0
- package/astro/icons/default/IconRewind.astro +10 -0
- package/astro/icons/default/IconRotateCcw.astro +10 -0
- package/astro/icons/default/IconRotateCw.astro +10 -0
- package/astro/icons/default/IconRss.astro +10 -0
- package/astro/icons/default/IconSave.astro +10 -0
- package/astro/icons/default/IconSaveMoney.astro +10 -0
- package/astro/icons/default/IconSchoolBag.astro +10 -0
- package/astro/icons/default/IconScissors.astro +10 -0
- package/astro/icons/default/IconSearch.astro +10 -0
- package/astro/icons/default/IconSend.astro +10 -0
- package/astro/icons/default/IconServer.astro +10 -0
- package/astro/icons/default/IconSettings.astro +10 -0
- package/astro/icons/default/IconShare.astro +10 -0
- package/astro/icons/default/IconShare2.astro +10 -0
- package/astro/icons/default/IconShield.astro +10 -0
- package/astro/icons/default/IconShieldLocked.astro +10 -0
- package/astro/icons/default/IconShieldOff.astro +10 -0
- package/astro/icons/default/IconShoppingBag.astro +10 -0
- package/astro/icons/default/IconShoppingCart.astro +10 -0
- package/astro/icons/default/IconShuffle.astro +10 -0
- package/astro/icons/default/IconSidebar.astro +10 -0
- package/astro/icons/default/IconSkipBack.astro +10 -0
- package/astro/icons/default/IconSkipForward.astro +10 -0
- package/astro/icons/default/IconSlack.astro +10 -0
- package/astro/icons/default/IconSlash.astro +10 -0
- package/astro/icons/default/IconSliders.astro +10 -0
- package/astro/icons/default/IconSmartphone.astro +10 -0
- package/astro/icons/default/IconSmartphoneSms.astro +10 -0
- package/astro/icons/default/IconSmile.astro +10 -0
- package/astro/icons/default/IconSpark.astro +10 -0
- package/astro/icons/default/IconSpeaker.astro +10 -0
- package/astro/icons/default/IconSquare.astro +10 -0
- package/astro/icons/default/IconStar.astro +10 -0
- package/astro/icons/default/IconStopCircle.astro +10 -0
- package/astro/icons/default/IconSun.astro +10 -0
- package/astro/icons/default/IconSunrise.astro +10 -0
- package/astro/icons/default/IconSunset.astro +10 -0
- package/astro/icons/default/IconTable.astro +10 -0
- package/astro/icons/default/IconTablet.astro +10 -0
- package/astro/icons/default/IconTag.astro +10 -0
- package/astro/icons/default/IconTarget.astro +10 -0
- package/astro/icons/default/IconTerminal.astro +10 -0
- package/astro/icons/default/IconThermometer.astro +10 -0
- package/astro/icons/default/IconThumbsDown.astro +10 -0
- package/astro/icons/default/IconThumbsUp.astro +10 -0
- package/astro/icons/default/IconTiktok.astro +10 -0
- package/astro/icons/default/IconToggleLeft.astro +10 -0
- package/astro/icons/default/IconToggleRight.astro +10 -0
- package/astro/icons/default/IconTool.astro +10 -0
- package/astro/icons/default/IconTrash.astro +10 -0
- package/astro/icons/default/IconTrash2.astro +10 -0
- package/astro/icons/default/IconTrello.astro +10 -0
- package/astro/icons/default/IconTrendingDown.astro +10 -0
- package/astro/icons/default/IconTrendingUp.astro +10 -0
- package/astro/icons/default/IconTriangle.astro +10 -0
- package/astro/icons/default/IconTrophy.astro +10 -0
- package/astro/icons/default/IconTruck.astro +10 -0
- package/astro/icons/default/IconTv.astro +10 -0
- package/astro/icons/default/IconTwitch.astro +10 -0
- package/astro/icons/default/IconTwitter.astro +10 -0
- package/astro/icons/default/IconType.astro +10 -0
- package/astro/icons/default/IconUmbrella.astro +10 -0
- package/astro/icons/default/IconUnderline.astro +10 -0
- package/astro/icons/default/IconUnlock.astro +10 -0
- package/astro/icons/default/IconUpload.astro +10 -0
- package/astro/icons/default/IconUploadCloud.astro +10 -0
- package/astro/icons/default/IconUser.astro +10 -0
- package/astro/icons/default/IconUserCheck.astro +10 -0
- package/astro/icons/default/IconUserMinus.astro +10 -0
- package/astro/icons/default/IconUserPlus.astro +10 -0
- package/astro/icons/default/IconUserX.astro +10 -0
- package/astro/icons/default/IconUsers.astro +10 -0
- package/astro/icons/default/IconVelocimeter.astro +10 -0
- package/astro/icons/default/IconVideo.astro +10 -0
- package/astro/icons/default/IconVideoOff.astro +10 -0
- package/astro/icons/default/IconVoicemail.astro +10 -0
- package/astro/icons/default/IconVolume1.astro +10 -0
- package/astro/icons/default/IconVolume2.astro +10 -0
- package/astro/icons/default/IconVolumeX.astro +10 -0
- package/astro/icons/default/IconWarning.astro +10 -0
- package/astro/icons/default/IconWatch.astro +10 -0
- package/astro/icons/default/IconWebsite.astro +10 -0
- package/astro/icons/default/IconWhatsapp.astro +10 -0
- package/astro/icons/default/IconWifi.astro +10 -0
- package/astro/icons/default/IconWifiOff.astro +10 -0
- package/astro/icons/default/IconWind.astro +10 -0
- package/astro/icons/default/IconX.astro +10 -0
- package/astro/icons/default/IconXCircle.astro +10 -0
- package/astro/icons/default/IconXOctagon.astro +10 -0
- package/astro/icons/default/IconXSquare.astro +10 -0
- package/astro/icons/default/IconYoutube.astro +10 -0
- package/astro/icons/default/IconZap.astro +10 -0
- package/astro/icons/default/IconZapOff.astro +10 -0
- package/astro/icons/default/IconZoomIn.astro +10 -0
- package/astro/icons/default/IconZoomOut.astro +10 -0
- package/astro/icons/social/IconSocialGoogle.astro +10 -0
- package/astro/runtime/package.json +6 -0
- package/dist/astro/runtime/elementController.d.ts +6 -0
- package/dist/astro/runtime/factories.d.ts +5 -0
- package/dist/astro/runtime/index.d.ts +2 -0
- package/dist/astro/runtime/index.es.js +68 -0
- package/dist/astro/runtime/index.es.js.map +1 -0
- package/dist/astro/runtime/types.d.ts +28 -0
- package/dist/components/AdBox/index.es.js +1 -1
- package/dist/components/Alert/index.es.js +3 -3
- package/dist/components/BadgeInfo/index.es.js +2 -2
- package/dist/components/BadgeState/index.es.js +2 -2
- package/dist/components/Button/index.es.js +2 -2
- package/dist/components/Card/Container/index.es.js +26 -0
- package/dist/components/Card/Container/index.es.js.map +1 -0
- package/dist/components/{Emphasis → Card/Emphasis}/index.es.js +1 -1
- package/dist/components/Card/Emphasis/index.es.js.map +1 -0
- package/dist/components/Card/Image/index.es.js +18 -0
- package/dist/components/Card/Image/index.es.js.map +1 -0
- package/dist/components/Card/Root/index.es.js +44 -0
- package/dist/components/Card/Root/index.es.js.map +1 -0
- package/dist/components/{Tag → Card/Tag}/index.es.js +1 -1
- package/dist/components/Card/Tag/index.es.js.map +1 -0
- package/dist/components/Card/index.es.js +16 -21
- package/dist/components/Card/index.es.js.map +1 -1
- package/dist/components/Card/styles.css +1 -1
- package/dist/components/Card/styles2.css +1 -0
- package/dist/components/Chip/index.es.js +1 -1
- package/dist/components/ChipBanner/index.es.js +1 -1
- package/dist/components/Container/index.es.js +1 -1
- package/dist/components/Divider/index.es.js +1 -1
- package/dist/components/Drawer/index.es.js +1 -1
- package/dist/components/Field/styles.css +1 -1
- package/dist/components/Field/styles2.css +1 -0
- package/dist/components/Field/styles3.css +1 -0
- package/dist/components/Footer/index.es.js +2 -2
- package/dist/components/Footer/styles.css +1 -1
- package/dist/components/Group/styles2.css +1 -0
- package/dist/components/Header/Actions/index.es.js +22 -0
- package/dist/components/Header/Actions/index.es.js.map +1 -0
- package/dist/components/Header/Badges/index.es.js +16 -0
- package/dist/components/Header/Badges/index.es.js.map +1 -0
- package/dist/components/Header/Button/index.es.js +21 -0
- package/dist/components/Header/Button/index.es.js.map +1 -0
- package/dist/components/Header/Hamburger/index.es.js +29 -0
- package/dist/components/Header/Hamburger/index.es.js.map +1 -0
- package/dist/components/Header/Logo/index.es.js +30 -0
- package/dist/components/Header/Logo/index.es.js.map +1 -0
- package/dist/components/Header/Navbar/index.es.js +14 -0
- package/dist/components/Header/Navbar/index.es.js.map +1 -0
- package/dist/components/Header/NavbarLink/index.es.js +104 -0
- package/dist/components/Header/NavbarLink/index.es.js.map +1 -0
- package/dist/components/Header/Navigation/index.es.js +11 -0
- package/dist/components/Header/Navigation/index.es.js.map +1 -0
- package/dist/components/Header/Profile/index.es.js +80 -0
- package/dist/components/Header/Profile/index.es.js.map +1 -0
- package/dist/components/Header/Wrap/index.es.js +24 -0
- package/dist/components/Header/Wrap/index.es.js.map +1 -0
- package/dist/components/Header/index.d.ts +9 -9
- package/dist/components/Header/index.es.js +11 -290
- package/dist/components/Header/index.es.js.map +1 -1
- package/dist/components/Icon/index.es.js +1 -1
- package/dist/components/Image/index.es.js +1 -1
- package/dist/components/IsMobile/index.es.js +1 -1
- package/dist/components/LinkButton/index.es.js +1 -1
- package/dist/components/Modal/index.es.js +1 -1
- package/dist/components/NavbarVertical/index.es.js +2 -2
- package/dist/components/NavbarVertical/styles.css +1 -1
- package/dist/components/NotificationsBar/index.es.js +1 -1
- package/dist/components/PartnerBanner/index.es.js +1 -1
- package/dist/components/ProgressBar/index.es.js +2 -2
- package/dist/components/{Carousel → Prototype/Carousel}/index.es.js +8 -8
- package/dist/components/Prototype/Carousel/index.es.js.map +1 -0
- package/dist/components/Skeleton/index.es.js +1 -1
- package/dist/components/SpecialButton/index.es.js +2 -2
- package/dist/components/Spinner/index.es.js +2 -2
- package/dist/components/SubHeader/index.es.js +1 -1
- package/dist/components/Switch/Card/index.es.js +25 -0
- package/dist/components/Switch/Card/index.es.js.map +1 -0
- package/dist/components/{Pure → Switch/Pure}/index.es.js +1 -1
- package/dist/components/Switch/Pure/index.es.js.map +1 -0
- package/dist/components/Tabs/index.es.js +1 -1
- package/dist/components/Tabs/styles.css +1 -1
- package/dist/components/Text/index.es.js +3 -3
- package/dist/components/Tooltip/index.es.js +1 -1
- package/dist/components/Transition/index.es.js +1 -1
- package/dist/components/form/Checkbox/Field/index.es.js +60 -0
- package/dist/components/form/Checkbox/Field/index.es.js.map +1 -0
- package/dist/components/{Checkbox → form/Checkbox/Group}/index.es.js +8 -66
- package/dist/components/form/Checkbox/Group/index.es.js.map +1 -0
- package/dist/components/form/Checkbox/index.es.js +14 -0
- package/dist/components/form/Checkbox/index.es.js.map +1 -0
- package/dist/components/form/Datepicker/Calendar/index.es.js +10 -0
- package/dist/components/form/Datepicker/CalendarHeader/index.es.js +12 -0
- package/dist/components/{PortalHolder → form/Datepicker/PortalHolder}/index.es.js +3 -3
- package/dist/components/form/Datepicker/PortalHolder/index.es.js.map +1 -0
- package/dist/components/form/Datepicker/Segment/index.es.js +12 -0
- package/dist/components/{Datepicker → form/Datepicker}/index.es.js +8 -8
- package/dist/components/form/Datepicker/index.es.js.map +1 -0
- package/dist/components/{EmailField → form/EmailField}/index.es.js +3 -3
- package/dist/components/form/EmailField/index.es.js.map +1 -0
- package/dist/components/form/Field/ErrorMessage/index.es.js.map +1 -0
- package/dist/components/{Input → form/Field/Input}/index.es.js +1 -1
- package/dist/components/form/Field/Input/index.es.js.map +1 -0
- package/dist/components/form/Field/InputHolder/index.es.js.map +1 -0
- package/dist/components/{Label → form/Field/Label}/index.es.js +6 -6
- package/dist/components/form/Field/Label/index.es.js.map +1 -0
- package/dist/components/form/Field/Message/index.es.js.map +1 -0
- package/dist/components/{Root → form/Field/Root}/index.es.js +1 -1
- package/dist/components/form/Field/Root/index.es.js.map +1 -0
- package/dist/components/{TextArea → form/Field/TextArea}/index.es.js +2 -2
- package/dist/components/form/Field/TextArea/index.es.js.map +1 -0
- package/dist/components/form/Field/index.es.js +20 -0
- package/dist/components/form/Field/index.es.js.map +1 -0
- package/dist/components/{InputField → form/InputField}/index.es.js +1 -1
- package/dist/components/form/InputField/index.es.js.map +1 -0
- package/dist/components/{PasswordField → form/PasswordField}/index.es.js +2 -2
- package/dist/components/form/PasswordField/index.es.js.map +1 -0
- package/dist/components/{Field → form/Radio/Field}/index.es.js +2 -2
- package/dist/components/form/Radio/Field/index.es.js.map +1 -0
- package/dist/components/{Group → form/Radio/Group}/index.es.js +5 -5
- package/dist/components/form/Radio/Group/index.es.js.map +1 -0
- package/dist/components/{Radio → form/Radio}/index.es.js +2 -2
- package/dist/components/form/Radio/index.es.js.map +1 -0
- package/dist/components/{SelectField → form/SelectField}/index.es.js +13 -13
- package/dist/components/form/SelectField/index.es.js.map +1 -0
- package/dist/components/{TextareaField → form/TextareaField}/index.es.js +1 -1
- package/dist/components/form/TextareaField/index.es.js.map +1 -0
- package/dist/components/{TokenField → form/TokenField}/index.es.js +2 -2
- package/dist/components/form/TokenField/index.es.js.map +1 -0
- package/dist/components/globalStyles/index.es.js +2 -0
- package/dist/components/globalStyles/index.es.js.map +1 -0
- package/dist/components/globalStyles/styles.css +1 -0
- package/dist/components/icons/default/index.es.js +655 -0
- package/dist/components/icons/social/index.es.js +5 -0
- package/dist/components/index/styles.css +1 -1
- package/dist/components/index/styles2.css +1 -1
- package/dist/components/index/styles3.css +1 -1
- package/dist/components/misc/Conditional/index.es.js.map +1 -0
- package/dist/components/misc/DynamicTagComponent/index.es.js.map +1 -0
- package/dist/components/{Portal → misc/Portal}/index.es.js +2 -2
- package/dist/components/misc/Portal/index.es.js.map +1 -0
- package/dist/components/misc/index.es.js +1 -1
- package/dist/{index-C6Q03EyZ.js → index-BW2ZU5Hx.js} +2 -30
- package/dist/{index-C6Q03EyZ.js.map → index-BW2ZU5Hx.js.map} +1 -1
- package/dist/{index-DHwXRotU.js → index-BcC9liUl.js} +6 -6
- package/dist/{index-DHwXRotU.js.map → index-BcC9liUl.js.map} +1 -1
- package/dist/{index-BgBOcVUP.js → index-CFYmtkje.js} +4 -4
- package/dist/{index-BgBOcVUP.js.map → index-CFYmtkje.js.map} +1 -1
- package/dist/{index-DnQGzfVW.js → index-CeClo_WS.js} +4 -4
- package/dist/{index-DnQGzfVW.js.map → index-CeClo_WS.js.map} +1 -1
- package/dist/main.es.js +80 -164
- package/dist/main.es.js.map +1 -1
- package/dist/{tokens-C4yCunfz.js → tokens-C4ypB4bY.js} +64 -64
- package/dist/{tokens-C4yCunfz.js.map → tokens-C4ypB4bY.js.map} +1 -1
- package/package.json +21 -10
- package/dist/components/AdBox/AdBox.test.d.ts +0 -1
- package/dist/components/Alert/Alert.test.d.ts +0 -1
- package/dist/components/BadgeInfo/BadgeInfo.test.d.ts +0 -1
- package/dist/components/BadgeState/BadgeState.test.d.ts +0 -1
- package/dist/components/Button/Button.test.d.ts +0 -1
- package/dist/components/Calendar/index.es.js +0 -10
- package/dist/components/CalendarHeader/index.es.js +0 -12
- package/dist/components/Card/Card.test.d.ts +0 -1
- package/dist/components/Carousel/index.es.js.map +0 -1
- package/dist/components/Checkbox/index.es.js.map +0 -1
- package/dist/components/Checkbox/styles.css +0 -1
- package/dist/components/ChipBanner/ChipBanner.test.d.ts +0 -1
- package/dist/components/Conditional/index.es.js.map +0 -1
- package/dist/components/Container/Container.test.d.ts +0 -1
- package/dist/components/Datepicker/index.es.js.map +0 -1
- package/dist/components/Drawer/Drawer.test.d.ts +0 -1
- package/dist/components/DynamicTagComponent/index.es.js.map +0 -1
- package/dist/components/EmailField/index.es.js.map +0 -1
- package/dist/components/Emphasis/index.es.js.map +0 -1
- package/dist/components/ErrorMessage/index.es.js.map +0 -1
- package/dist/components/Field/index.es.js.map +0 -1
- package/dist/components/Footer/Footer.test.d.ts +0 -1
- package/dist/components/Group/index.es.js.map +0 -1
- package/dist/components/Header/Header.test.d.ts +0 -1
- package/dist/components/Image/Image.test.d.ts +0 -1
- package/dist/components/Input/index.es.js.map +0 -1
- package/dist/components/InputField/index.es.js.map +0 -1
- package/dist/components/InputHolder/index.es.js.map +0 -1
- package/dist/components/IsMobile/IsMobile.test.d.ts +0 -1
- package/dist/components/Label/index.es.js.map +0 -1
- package/dist/components/LazyImage/LazyImage.test.d.ts +0 -1
- package/dist/components/LinkButton/LinkButton.test.d.ts +0 -1
- package/dist/components/Logo/Logo.test.d.ts +0 -1
- package/dist/components/Message/index.es.js.map +0 -1
- package/dist/components/Modal/Modal.test.d.ts +0 -1
- package/dist/components/NavbarVertical/NavbarVertical.test.d.ts +0 -1
- package/dist/components/NotificationsBar/NotificationsBar.test.d.ts +0 -1
- package/dist/components/PartnerBanner/PartnerBanner.test.d.ts +0 -1
- package/dist/components/PasswordField/index.es.js.map +0 -1
- package/dist/components/Portal/index.es.js.map +0 -1
- package/dist/components/PortalHolder/index.es.js.map +0 -1
- package/dist/components/ProfileNav/ProfileNav.test.d.ts +0 -1
- package/dist/components/ProgressBar/ProgressBar.test.d.ts +0 -1
- package/dist/components/Prototype/Carousel/Carousel.test.d.ts +0 -1
- package/dist/components/Pure/index.es.js.map +0 -1
- package/dist/components/Radio/index.es.js.map +0 -1
- package/dist/components/Root/index.es.js.map +0 -1
- package/dist/components/Segment/index.es.js +0 -12
- package/dist/components/SelectField/index.es.js.map +0 -1
- package/dist/components/Skeleton/Skeleton.test.d.ts +0 -1
- package/dist/components/SpecialButton/SpecialButton.test.d.ts +0 -1
- package/dist/components/Spinner/Spinner.test.d.ts +0 -1
- package/dist/components/SubHeader/SubHeader.test.d.ts +0 -1
- package/dist/components/Switch/Card/Card.test.d.ts +0 -1
- package/dist/components/Switch/Pure/Switch.test.d.ts +0 -1
- package/dist/components/Tabs/Tabs.test.d.ts +0 -1
- package/dist/components/Tag/index.es.js.map +0 -1
- package/dist/components/Text/Text.test.d.ts +0 -1
- package/dist/components/TextArea/index.es.js.map +0 -1
- package/dist/components/TextareaField/index.es.js.map +0 -1
- package/dist/components/TokenField/index.es.js.map +0 -1
- package/dist/components/Transition/Transition.test.d.ts +0 -1
- package/dist/components/dataTestId.test.d.ts +0 -1
- package/dist/components/default/index.es.js +0 -655
- package/dist/components/form/Checkbox/Checkbox.test.d.ts +0 -1
- package/dist/components/form/Datepicker/Datepicker.test.d.ts +0 -1
- package/dist/components/form/EmailField/EmailField.test.d.ts +0 -1
- package/dist/components/form/Field/Field.test.d.ts +0 -1
- package/dist/components/form/InputField/InputField.test.d.ts +0 -1
- package/dist/components/form/PasswordField/PasswordField.test.d.ts +0 -1
- package/dist/components/form/Radio/Radio.test.d.ts +0 -1
- package/dist/components/form/SelectField/SelectField.test.d.ts +0 -1
- package/dist/components/form/TextareaField/TextareaField.test.d.ts +0 -1
- package/dist/components/form/TokenField/TokenField.test.d.ts +0 -1
- package/dist/components/icons/Icon.test/index.es.js +0 -36183
- package/dist/components/icons/Icon.test/index.es.js.map +0 -1
- package/dist/components/icons/Icon.test.d.ts +0 -1
- package/dist/components/index/styles4.css +0 -1
- package/dist/components/main/styles.css +0 -1
- package/dist/components/misc/misc.test.d.ts +0 -1
- package/dist/components/social/index.es.js +0 -5
- package/dist/index-ZE6zszxw.js +0 -20
- package/dist/index-ZE6zszxw.js.map +0 -1
- package/dist/magic-string.es-D_W5SHWE.js +0 -1074
- package/dist/magic-string.es-D_W5SHWE.js.map +0 -1
- /package/dist/components/Header/{parts/HeaderActions.d.ts → Actions/index.d.ts} +0 -0
- /package/dist/components/Header/{parts/HeaderBadges.d.ts → Badges/index.d.ts} +0 -0
- /package/dist/components/Header/{parts/HeaderButton.d.ts → Button/index.d.ts} +0 -0
- /package/dist/components/Header/{parts/HeaderHamburger.d.ts → Hamburger/index.d.ts} +0 -0
- /package/dist/components/Header/{parts/HeaderLogo.d.ts → Logo/index.d.ts} +0 -0
- /package/dist/components/Header/{parts/HeaderNavbar.d.ts → Navbar/index.d.ts} +0 -0
- /package/dist/components/Header/{parts/HeaderNavbarLink.d.ts → NavbarLink/index.d.ts} +0 -0
- /package/dist/components/Header/{parts/HeaderNavigation.d.ts → Navigation/index.d.ts} +0 -0
- /package/dist/components/Header/{parts/HeaderProfile.d.ts → Profile/index.d.ts} +0 -0
- /package/dist/components/Header/{parts/HeaderWrap.d.ts → Wrap/index.d.ts} +0 -0
- /package/dist/components/{Calendar → form/Datepicker/Calendar}/index.es.js.map +0 -0
- /package/dist/components/{CalendarHeader → form/Datepicker/CalendarHeader}/index.es.js.map +0 -0
- /package/dist/components/{Segment → form/Datepicker/Segment}/index.es.js.map +0 -0
- /package/dist/components/{ErrorMessage → form/Field/ErrorMessage}/index.es.js +0 -0
- /package/dist/components/{InputHolder → form/Field/InputHolder}/index.es.js +0 -0
- /package/dist/components/{Message → form/Field/Message}/index.es.js +0 -0
- /package/dist/components/{default → icons/default}/index.es.js.map +0 -0
- /package/dist/components/{social → icons/social}/index.es.js.map +0 -0
- /package/dist/components/{Conditional → misc/Conditional}/index.es.js +0 -0
- /package/dist/components/{DynamicTagComponent → misc/DynamicTagComponent}/index.es.js +0 -0
- /package/dist/{components/Tooltip/Tooltip.test.d.ts → core/styles/globalStyles.d.ts} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { c as classNames } from "./index-
|
|
2
|
+
import { c as classNames } from "./index-BW2ZU5Hx.js";
|
|
3
3
|
import { useState, useRef, useEffect } from "react";
|
|
4
4
|
import "./components/Icon/index.es.js";
|
|
5
5
|
import { IconChevronDown } from "./components/icons/IconChevronDown/index.es.js";
|
|
6
6
|
import { IconChevronLeft } from "./components/icons/IconChevronLeft/index.es.js";
|
|
7
7
|
import { IconX } from "./components/icons/IconX/index.es.js";
|
|
8
|
-
import { B as BREAKPOINT_MD } from "./tokens-C4yCunfz.js";
|
|
9
8
|
import { a as above } from "./screen-DfYo7XQ_.js";
|
|
10
|
-
import
|
|
9
|
+
import { e as BREAKPOINT_MD } from "./tokens-C4ypB4bY.js";
|
|
10
|
+
import './components/index/styles2.css';function useOutsideClick({
|
|
11
11
|
rootEl,
|
|
12
12
|
breakpoint,
|
|
13
13
|
onLoseFocusCB
|
|
@@ -150,4 +150,4 @@ export {
|
|
|
150
150
|
Segment as S,
|
|
151
151
|
useOutsideClick as u
|
|
152
152
|
};
|
|
153
|
-
//# sourceMappingURL=index-
|
|
153
|
+
//# sourceMappingURL=index-CeClo_WS.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-CeClo_WS.js","sources":["../lib/core/hooks/useOutsideClick.ts","../lib/components/form/Datepicker/Segment/hook.ts","../lib/components/form/Datepicker/Segment/index.tsx"],"sourcesContent":["import { useState } from 'react'\nimport { above } from '../utils/screen'\n\ntype UseOutsideClickProps = {\n rootEl: React.RefObject<HTMLDivElement>\n breakpoint?: string\n onLoseFocusCB: () => void\n}\n\nexport function useOutsideClick({\n rootEl,\n breakpoint,\n onLoseFocusCB,\n}: UseOutsideClickProps) {\n const [setupListener, setSetupListener] = useState(false)\n\n function listenOutsideClick() {\n if (breakpoint && !above(breakpoint)) return\n document.addEventListener('mousedown', handleLoseFocus)\n setSetupListener(true)\n }\n\n function clearOutsideClickListenner() {\n if (setupListener) {\n document.removeEventListener('mousedown', handleLoseFocus)\n setSetupListener(false)\n }\n }\n\n function handleLoseFocus(ev: MouseEvent | FocusEvent) {\n if (!rootEl.current) return\n\n const clickedOutside = !rootEl.current.contains(ev.target as Node)\n\n if (clickedOutside) {\n onLoseFocusCB()\n clearOutsideClickListenner()\n }\n }\n\n return {\n listenOutsideClick,\n }\n}\n","import { useEffect, useRef, useState } from 'react'\nimport { BREAKPOINT_MD } from '@core/tokens'\nimport { useOutsideClick } from '@core/hooks/useOutsideClick'\n\nimport { SegmentItem } from '../types'\n\ntype UseSegmentProps = {\n options: SegmentItem[]\n currentValue: string | number\n onSelect: (option: SegmentItem) => void\n}\n\nexport function useSegment({\n options,\n currentValue,\n onSelect,\n}: UseSegmentProps) {\n const [isListOpen, setIsListOpen] = useState(false)\n const rootEl = useRef<HTMLDivElement>(null)\n const selectedItem = useRef<HTMLLIElement>(null)\n const currentItem = options.find((item) => item.value === currentValue)\n const { listenOutsideClick } = useOutsideClick({\n rootEl,\n breakpoint: BREAKPOINT_MD,\n onLoseFocusCB: closeList,\n })\n\n useEffect(() => {\n if (selectedItem.current && isListOpen) {\n selectedItem.current.scrollIntoView({ block: 'center', inline: 'center' })\n }\n }, [isListOpen])\n\n function openList() {\n setIsListOpen(true)\n listenOutsideClick()\n }\n\n function closeList() {\n setIsListOpen(false)\n }\n\n function handleSelectItem(option: SegmentItem) {\n onSelect(option)\n setIsListOpen(false)\n }\n\n return {\n openList,\n closeList,\n isListOpen,\n rootEl,\n currentItem,\n handleSelectItem,\n selectedItem,\n }\n}\n","import classNames from 'classnames'\nimport { IconChevronDown, IconChevronLeft, IconX } from '@components/icons'\n\nimport { useSegment } from './hook'\nimport { SegmentItem } from '../types'\nimport './styles.scss'\n\ntype SegmentProps = {\n mobileTitle: string\n options: SegmentItem[]\n onSelect: (option: SegmentItem) => void\n currentValue: string | number\n minValue?: Date\n maxValue?: Date\n}\n\nexport const Segment = ({\n currentValue,\n options,\n mobileTitle,\n onSelect,\n}: SegmentProps) => {\n const {\n rootEl,\n isListOpen,\n openList,\n closeList,\n currentItem,\n handleSelectItem,\n selectedItem,\n } = useSegment({\n options,\n currentValue,\n onSelect,\n })\n\n return (\n <div\n ref={rootEl}\n className={classNames('au-datepicker__segment', {\n 'au-datepicker__segment--open': isListOpen,\n })}>\n <button\n type=\"button\"\n className=\"au-datepicker__segment-input\"\n onClick={openList}\n role=\"combobox\"\n aria-haspopup=\"listbox\"\n aria-expanded={isListOpen}>\n {currentItem?.label}\n <IconChevronDown aria-hidden=\"true\" />\n </button>\n <div className=\"au-datepicker__segment-list-holder\">\n <div className=\"au-datepicker__segment-list-header\">\n <button type=\"button\" onClick={closeList} aria-label=\"Voltar\">\n <IconChevronLeft aria-hidden=\"true\" />\n </button>\n <h4 className=\"au-datepicker__segment-title\">{mobileTitle}</h4>\n <button type=\"button\" onClick={closeList} aria-label=\"Fechar\">\n <IconX aria-hidden=\"true\" />\n </button>\n </div>\n <ul className=\"au-datepicker__segment-list\" role=\"listbox\">\n {options.map((option, idx) => {\n const isSelectedItem = option.value === currentValue\n return (\n <li\n key={`au-datepicker-segment-li-${option.value}-${idx}`}\n onClick={() => handleSelectItem(option)}\n ref={isSelectedItem ? selectedItem : null}\n role=\"option\"\n aria-selected={isSelectedItem}\n className={classNames('au-datepicker__segment-list-item', {\n 'au-datepicker__segment-list-item--active': isSelectedItem,\n })}>\n {option.label}\n </li>\n )\n })}\n </ul>\n </div>\n </div>\n )\n}\n"],"names":[],"mappings":";;;;;;;;;AASO,SAAS,gBAAgB;AAAA,EAC9B;AAAA,EACA;AAAA,EACA;AACF,GAAyB;AACvB,QAAM,CAAC,eAAe,gBAAgB,IAAI,SAAS,KAAK;AAExD,WAAS,qBAAqB;AAC5B,QAAkB,CAAC,MAAM,UAAU,EAAG;AACtC,aAAS,iBAAiB,aAAa,eAAe;AACtD,qBAAiB,IAAI;AAAA,EACvB;AAEA,WAAS,6BAA6B;AACpC,QAAI,eAAe;AACjB,eAAS,oBAAoB,aAAa,eAAe;AACzD,uBAAiB,KAAK;AAAA,IACxB;AAAA,EACF;AAEA,WAAS,gBAAgB,IAA6B;AACpD,QAAI,CAAC,OAAO,QAAS;AAErB,UAAM,iBAAiB,CAAC,OAAO,QAAQ,SAAS,GAAG,MAAc;AAEjE,QAAI,gBAAgB;AAClB,oBAAA;AACA,iCAAA;AAAA,IACF;AAAA,EACF;AAEA,SAAO;AAAA,IACL;AAAA,EAAA;AAEJ;AC/BO,SAAS,WAAW;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AACF,GAAoB;AAClB,QAAM,CAAC,YAAY,aAAa,IAAI,SAAS,KAAK;AAClD,QAAM,SAAS,OAAuB,IAAI;AAC1C,QAAM,eAAe,OAAsB,IAAI;AAC/C,QAAM,cAAc,QAAQ,KAAK,CAAC,SAAS,KAAK,UAAU,YAAY;AACtE,QAAM,EAAE,mBAAA,IAAuB,gBAAgB;AAAA,IAC7C;AAAA,IACA,YAAY;AAAA,IACZ,eAAe;AAAA,EAAA,CAChB;AAED,YAAU,MAAM;AACd,QAAI,aAAa,WAAW,YAAY;AACtC,mBAAa,QAAQ,eAAe,EAAE,OAAO,UAAU,QAAQ,UAAU;AAAA,IAC3E;AAAA,EACF,GAAG,CAAC,UAAU,CAAC;AAEf,WAAS,WAAW;AAClB,kBAAc,IAAI;AAClB,uBAAA;AAAA,EACF;AAEA,WAAS,YAAY;AACnB,kBAAc,KAAK;AAAA,EACrB;AAEA,WAAS,iBAAiB,QAAqB;AAC7C,aAAS,MAAM;AACf,kBAAc,KAAK;AAAA,EACrB;AAEA,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAEJ;ACxCO,MAAM,UAAU,CAAC;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAoB;AAClB,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA,IACE,WAAW;AAAA,IACb;AAAA,IACA;AAAA,IACA;AAAA,EAAA,CACD;AAED,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAK;AAAA,MACL,WAAW,WAAW,0BAA0B;AAAA,QAC9C,gCAAgC;AAAA,MAAA,CACjC;AAAA,MACD,UAAA;AAAA,QAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,WAAU;AAAA,YACV,SAAS;AAAA,YACT,MAAK;AAAA,YACL,iBAAc;AAAA,YACd,iBAAe;AAAA,YACd,UAAA;AAAA,cAAA,2CAAa;AAAA,cACd,oBAAC,iBAAA,EAAgB,eAAY,OAAA,CAAO;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA;AAAA,QAEtC,qBAAC,OAAA,EAAI,WAAU,sCACb,UAAA;AAAA,UAAA,qBAAC,OAAA,EAAI,WAAU,sCACb,UAAA;AAAA,YAAA,oBAAC,UAAA,EAAO,MAAK,UAAS,SAAS,WAAW,cAAW,UACnD,UAAA,oBAAC,iBAAA,EAAgB,eAAY,OAAA,CAAO,GACtC;AAAA,YACA,oBAAC,MAAA,EAAG,WAAU,gCAAgC,UAAA,aAAY;AAAA,YAC1D,oBAAC,UAAA,EAAO,MAAK,UAAS,SAAS,WAAW,cAAW,UACnD,UAAA,oBAAC,OAAA,EAAM,eAAY,OAAA,CAAO,EAAA,CAC5B;AAAA,UAAA,GACF;AAAA,UACA,oBAAC,MAAA,EAAG,WAAU,+BAA8B,MAAK,WAC9C,UAAA,QAAQ,IAAI,CAAC,QAAQ,QAAQ;AAC5B,kBAAM,iBAAiB,OAAO,UAAU;AACxC,mBACE;AAAA,cAAC;AAAA,cAAA;AAAA,gBAEC,SAAS,MAAM,iBAAiB,MAAM;AAAA,gBACtC,KAAK,iBAAiB,eAAe;AAAA,gBACrC,MAAK;AAAA,gBACL,iBAAe;AAAA,gBACf,WAAW,WAAW,oCAAoC;AAAA,kBACxD,4CAA4C;AAAA,gBAAA,CAC7C;AAAA,gBACA,UAAA,OAAO;AAAA,cAAA;AAAA,cARH,4BAA4B,OAAO,KAAK,IAAI,GAAG;AAAA,YAAA;AAAA,UAW1D,CAAC,EAAA,CACH;AAAA,QAAA,EAAA,CACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
package/dist/main.es.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import "./components/globalStyles/index.es.js";
|
|
1
2
|
import { Button } from "./components/Button/index.es.js";
|
|
2
|
-
import { PureSwitch } from "./components/Pure/index.es.js";
|
|
3
|
-
import { CardSwitch } from "./components/Card/index.es.js";
|
|
3
|
+
import { PureSwitch } from "./components/Switch/Pure/index.es.js";
|
|
4
|
+
import { CardSwitch } from "./components/Switch/Card/index.es.js";
|
|
4
5
|
import { Chip } from "./components/Chip/index.es.js";
|
|
5
|
-
import { Conditional } from "./components/Conditional/index.es.js";
|
|
6
|
+
import { Conditional } from "./components/misc/Conditional/index.es.js";
|
|
6
7
|
import { Drawer } from "./components/Drawer/index.es.js";
|
|
7
8
|
import { Header } from "./components/Header/index.es.js";
|
|
8
9
|
import { LazyImage } from "./components/LazyImage/index.es.js";
|
|
@@ -11,20 +12,17 @@ import { NotificationsBar } from "./components/NotificationsBar/index.es.js";
|
|
|
11
12
|
import { ProfileNav } from "./components/ProfileNav/index.es.js";
|
|
12
13
|
import { Text } from "./components/Text/index.es.js";
|
|
13
14
|
import { Footer } from "./components/Footer/index.es.js";
|
|
14
|
-
import { InputField } from "./components/InputField/index.es.js";
|
|
15
|
-
import { EmailField } from "./components/EmailField/index.es.js";
|
|
16
|
-
import { TokenField } from "./components/TokenField/index.es.js";
|
|
17
|
-
import { SelectField } from "./components/SelectField/index.es.js";
|
|
18
|
-
import { PasswordField } from "./components/PasswordField/index.es.js";
|
|
19
|
-
import { DatepickerField } from "./components/Datepicker/index.es.js";
|
|
20
|
-
import { TextAreaField } from "./components/TextareaField/index.es.js";
|
|
21
|
-
import { Checkbox } from "./components/Checkbox/index.es.js";
|
|
22
|
-
import { Radio } from "./components/Radio/index.es.js";
|
|
15
|
+
import { InputField } from "./components/form/InputField/index.es.js";
|
|
16
|
+
import { EmailField } from "./components/form/EmailField/index.es.js";
|
|
17
|
+
import { TokenField } from "./components/form/TokenField/index.es.js";
|
|
18
|
+
import { SelectField } from "./components/form/SelectField/index.es.js";
|
|
19
|
+
import { PasswordField } from "./components/form/PasswordField/index.es.js";
|
|
20
|
+
import { DatepickerField } from "./components/form/Datepicker/index.es.js";
|
|
21
|
+
import { TextAreaField } from "./components/form/TextareaField/index.es.js";
|
|
22
|
+
import { Checkbox } from "./components/form/Checkbox/index.es.js";
|
|
23
|
+
import { Radio } from "./components/form/Radio/index.es.js";
|
|
23
24
|
import { Alert } from "./components/Alert/index.es.js";
|
|
24
|
-
import {
|
|
25
|
-
import { c as classNames } from "./index-C6Q03EyZ.js";
|
|
26
|
-
import { CardEmphasis } from "./components/Emphasis/index.es.js";
|
|
27
|
-
import { CardTag } from "./components/Tag/index.es.js";
|
|
25
|
+
import { Card } from "./components/Card/index.es.js";
|
|
28
26
|
import { Tabs } from "./components/Tabs/index.es.js";
|
|
29
27
|
import { Skeleton } from "./components/Skeleton/index.es.js";
|
|
30
28
|
import { Spinner } from "./components/Spinner/index.es.js";
|
|
@@ -373,90 +371,8 @@ import { IconZoomIn } from "./components/icons/IconZoomIn/index.es.js";
|
|
|
373
371
|
import { IconZoomOut } from "./components/icons/IconZoomOut/index.es.js";
|
|
374
372
|
import { IconSocialGoogle } from "./components/icons/IconSocialGoogle/index.es.js";
|
|
375
373
|
import { C, D, E, W, I, S, T } from "./react-if.esm-Cozt8l48.js";
|
|
376
|
-
import {
|
|
377
|
-
import {
|
|
378
|
-
import './components/main/styles.css';const CardContainer = ({
|
|
379
|
-
direction,
|
|
380
|
-
alignItems,
|
|
381
|
-
justifyContent,
|
|
382
|
-
gap,
|
|
383
|
-
width,
|
|
384
|
-
children,
|
|
385
|
-
"data-testid": dataTestId
|
|
386
|
-
}) => {
|
|
387
|
-
const containerClasses = classNames("au-card__container", {
|
|
388
|
-
[`au-card__container--direction-${direction}`]: direction,
|
|
389
|
-
[`au-card__container--align-items-${alignItems}`]: alignItems,
|
|
390
|
-
[`au-card__container--justify-content-${justifyContent}`]: justifyContent
|
|
391
|
-
});
|
|
392
|
-
const containerStyle = {
|
|
393
|
-
gap: `${gap}px`,
|
|
394
|
-
width: `${width}px`
|
|
395
|
-
};
|
|
396
|
-
return /* @__PURE__ */ jsx("div", { style: containerStyle, className: containerClasses, "data-testid": dataTestId, children });
|
|
397
|
-
};
|
|
398
|
-
const CardImage = ({
|
|
399
|
-
src,
|
|
400
|
-
alt,
|
|
401
|
-
width,
|
|
402
|
-
height,
|
|
403
|
-
"data-testid": dataTestId
|
|
404
|
-
}) => {
|
|
405
|
-
const imageSize = {
|
|
406
|
-
width: `${width}px`,
|
|
407
|
-
height: `${height}px`
|
|
408
|
-
};
|
|
409
|
-
return /* @__PURE__ */ jsx("div", { "data-testid": dataTestId, children: /* @__PURE__ */ jsx("img", { style: imageSize, src, alt }) });
|
|
410
|
-
};
|
|
411
|
-
const CardRoot = ({
|
|
412
|
-
border = true,
|
|
413
|
-
color = "primary",
|
|
414
|
-
width,
|
|
415
|
-
height,
|
|
416
|
-
maxWidth,
|
|
417
|
-
maxHeight,
|
|
418
|
-
hoverShadow,
|
|
419
|
-
paddingLess,
|
|
420
|
-
children,
|
|
421
|
-
className,
|
|
422
|
-
ref,
|
|
423
|
-
"data-testid": dataTestId
|
|
424
|
-
}) => {
|
|
425
|
-
const rootClasses = classNames("au-card__root", {
|
|
426
|
-
"au-card__root--border-none": !border,
|
|
427
|
-
"au-card__root--color-secondary": color === "secondary",
|
|
428
|
-
"au-card__root--with-hover-shadow": !!hoverShadow,
|
|
429
|
-
"au-card__root--paddingless": !!paddingLess,
|
|
430
|
-
[String(className)]: !!className
|
|
431
|
-
});
|
|
432
|
-
const rootSize = {
|
|
433
|
-
width: `${width}px`,
|
|
434
|
-
height: `${height}px`,
|
|
435
|
-
maxWidth: `${maxWidth}px`,
|
|
436
|
-
maxHeight: `${maxHeight}px`
|
|
437
|
-
};
|
|
438
|
-
return /* @__PURE__ */ jsx(
|
|
439
|
-
"div",
|
|
440
|
-
{
|
|
441
|
-
ref,
|
|
442
|
-
style: rootSize,
|
|
443
|
-
className: rootClasses,
|
|
444
|
-
"data-testid": dataTestId,
|
|
445
|
-
children
|
|
446
|
-
}
|
|
447
|
-
);
|
|
448
|
-
};
|
|
449
|
-
const components = {
|
|
450
|
-
Root: CardRoot,
|
|
451
|
-
Container: CardContainer,
|
|
452
|
-
Emphasis: CardEmphasis,
|
|
453
|
-
Image: CardImage,
|
|
454
|
-
Tag: CardTag
|
|
455
|
-
};
|
|
456
|
-
Object.keys(components).forEach((key) => {
|
|
457
|
-
const component = components[key];
|
|
458
|
-
component.displayName = `Card.${key}`;
|
|
459
|
-
});
|
|
374
|
+
import { Carousel } from "./components/Prototype/Carousel/index.es.js";
|
|
375
|
+
import { B, a as a2, b as b2, c as c2, d as d2, e as e2, f as f2, g as g2, h as h2, C as C2, i as i2, j as j2, k as k2, l as l2, m as m2, n as n2, o as o2, p as p2, q as q2, r as r2, s as s2, t, u, v, w, x, y, z, A, D as D2, E as E2, F, G, H, I as I2, J, K, L as L2, M, N, O, P, Q, R, S as S2, T as T2, U, V, W as W2, X, Y, Z, _, $, a0, a1, a2 as a22, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ } from "./tokens-C4ypB4bY.js";
|
|
460
376
|
function useDrawer(props) {
|
|
461
377
|
const [drawerOpen, setDrawerOpen] = useState(props);
|
|
462
378
|
function handleOpenDrawer(name) {
|
|
@@ -475,75 +391,75 @@ function useDrawer(props) {
|
|
|
475
391
|
export {
|
|
476
392
|
AdBox,
|
|
477
393
|
Alert,
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
394
|
+
B as BORDER_RADIUS_BIG,
|
|
395
|
+
a2 as BORDER_RADIUS_MEDIUM,
|
|
396
|
+
b2 as BORDER_RADIUS_PILL,
|
|
397
|
+
c2 as BORDER_RADIUS_SMALL,
|
|
398
|
+
d2 as BREAKPOINT_LG,
|
|
399
|
+
e2 as BREAKPOINT_MD,
|
|
400
|
+
f2 as BREAKPOINT_SM,
|
|
401
|
+
g2 as BREAKPOINT_XLG,
|
|
402
|
+
h2 as BREAKPOINT_XSM,
|
|
487
403
|
BadgeInfo,
|
|
488
404
|
BadgeState,
|
|
489
405
|
Button,
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
406
|
+
C2 as COLOR_BRAND_BLUE_00,
|
|
407
|
+
i2 as COLOR_BRAND_BLUE_10,
|
|
408
|
+
j2 as COLOR_BRAND_BLUE_20,
|
|
409
|
+
k2 as COLOR_BRAND_BLUE_30,
|
|
410
|
+
l2 as COLOR_BRAND_BLUE_40,
|
|
411
|
+
m2 as COLOR_BRAND_BLUE_50,
|
|
412
|
+
n2 as COLOR_BRAND_BLUE_60,
|
|
413
|
+
o2 as COLOR_BRAND_CYAN_10,
|
|
414
|
+
p2 as COLOR_BRAND_CYAN_20,
|
|
415
|
+
q2 as COLOR_BRAND_CYAN_30,
|
|
416
|
+
r2 as COLOR_BRAND_CYAN_40,
|
|
417
|
+
s2 as COLOR_BRAND_CYAN_50,
|
|
418
|
+
t as COLOR_BRAND_CYAN_60,
|
|
419
|
+
u as COLOR_BRAND_EMERALD_10,
|
|
420
|
+
v as COLOR_BRAND_EMERALD_20,
|
|
421
|
+
w as COLOR_BRAND_EMERALD_30,
|
|
422
|
+
x as COLOR_BRAND_EMERALD_40,
|
|
423
|
+
y as COLOR_BRAND_EMERALD_50,
|
|
424
|
+
z as COLOR_BRAND_EMERALD_60,
|
|
425
|
+
A as COLOR_ERROR_00,
|
|
426
|
+
D2 as COLOR_ERROR_10,
|
|
427
|
+
E2 as COLOR_ERROR_20,
|
|
428
|
+
F as COLOR_ERROR_30,
|
|
429
|
+
G as COLOR_ERROR_40,
|
|
430
|
+
H as COLOR_ERROR_50,
|
|
431
|
+
I2 as COLOR_ERROR_60,
|
|
432
|
+
J as COLOR_INFO_00,
|
|
433
|
+
K as COLOR_INFO_10,
|
|
434
|
+
L2 as COLOR_INFO_20,
|
|
435
|
+
M as COLOR_INFO_30,
|
|
436
|
+
N as COLOR_INFO_40,
|
|
437
|
+
O as COLOR_INFO_50,
|
|
438
|
+
P as COLOR_INFO_60,
|
|
439
|
+
Q as COLOR_NEUTRAL_00,
|
|
440
|
+
R as COLOR_NEUTRAL_10,
|
|
441
|
+
S2 as COLOR_NEUTRAL_20,
|
|
442
|
+
T2 as COLOR_NEUTRAL_30,
|
|
443
|
+
U as COLOR_NEUTRAL_40,
|
|
444
|
+
V as COLOR_NEUTRAL_50,
|
|
445
|
+
W2 as COLOR_NEUTRAL_60,
|
|
446
|
+
X as COLOR_NEUTRAL_70,
|
|
447
|
+
Y as COLOR_SUCCESS_00,
|
|
448
|
+
Z as COLOR_SUCCESS_10,
|
|
449
|
+
_ as COLOR_SUCCESS_20,
|
|
450
|
+
$ as COLOR_SUCCESS_30,
|
|
451
|
+
a0 as COLOR_SUCCESS_40,
|
|
452
|
+
a1 as COLOR_SUCCESS_50,
|
|
453
|
+
a22 as COLOR_SUCCESS_60,
|
|
454
|
+
a3 as COLOR_WARNING_00,
|
|
455
|
+
a4 as COLOR_WARNING_10,
|
|
456
|
+
a5 as COLOR_WARNING_20,
|
|
457
|
+
a6 as COLOR_WARNING_30,
|
|
458
|
+
a7 as COLOR_WARNING_40,
|
|
459
|
+
a8 as COLOR_WARNING_50,
|
|
544
460
|
a9 as COLOR_WARNING_60,
|
|
545
461
|
aa as CONTAINER_SIZE,
|
|
546
|
-
|
|
462
|
+
Card,
|
|
547
463
|
CardSwitch,
|
|
548
464
|
Carousel,
|
|
549
465
|
C as Case,
|
package/dist/main.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.es.js","sources":["../lib/components/
|
|
1
|
+
{"version":3,"file":"main.es.js","sources":["../lib/components/Drawer/hooks.ts"],"sourcesContent":["import { useState } from 'react'\n\ntype UseDrawerProps = Record<string, boolean>\n\nexport function useDrawer(props: UseDrawerProps) {\n const [drawerOpen, setDrawerOpen] = useState<UseDrawerProps>(props)\n\n function handleOpenDrawer(name: string) {\n setDrawerOpen((prev) => {\n return {\n ...prev,\n [name]: !prev[name],\n }\n })\n }\n\n return {\n handleOpenDrawer,\n drawerOpen,\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIO,SAAS,UAAU,OAAuB;AAC/C,QAAM,CAAC,YAAY,aAAa,IAAI,SAAyB,KAAK;AAElE,WAAS,iBAAiB,MAAc;AACtC,kBAAc,CAAC,SAAS;AACtB,aAAO;AAAA,QACL,GAAG;AAAA,QACH,CAAC,IAAI,GAAG,CAAC,KAAK,IAAI;AAAA,MAAA;AAAA,IAEtB,CAAC;AAAA,EACH;AAEA,SAAO;AAAA,IACL;AAAA,IACA;AAAA,EAAA;AAEJ;"}
|
|
@@ -99,44 +99,44 @@ const FONT_SIZE_P2 = "16px";
|
|
|
99
99
|
const FONT_SIZE_P3 = "14px";
|
|
100
100
|
const FONT_SIZE_P4 = "12px";
|
|
101
101
|
export {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
102
|
+
COLOR_SUCCESS_30 as $,
|
|
103
|
+
COLOR_ERROR_00 as A,
|
|
104
|
+
BORDER_RADIUS_BIG as B,
|
|
105
|
+
COLOR_BRAND_BLUE_00 as C,
|
|
106
|
+
COLOR_ERROR_10 as D,
|
|
107
|
+
COLOR_ERROR_20 as E,
|
|
108
|
+
COLOR_ERROR_30 as F,
|
|
109
|
+
COLOR_ERROR_40 as G,
|
|
110
|
+
COLOR_ERROR_50 as H,
|
|
111
|
+
COLOR_ERROR_60 as I,
|
|
112
|
+
COLOR_INFO_00 as J,
|
|
113
|
+
COLOR_INFO_10 as K,
|
|
114
|
+
COLOR_INFO_20 as L,
|
|
115
|
+
COLOR_INFO_30 as M,
|
|
116
|
+
COLOR_INFO_40 as N,
|
|
117
|
+
COLOR_INFO_50 as O,
|
|
118
|
+
COLOR_INFO_60 as P,
|
|
119
|
+
COLOR_NEUTRAL_00 as Q,
|
|
120
|
+
COLOR_NEUTRAL_10 as R,
|
|
121
|
+
COLOR_NEUTRAL_20 as S,
|
|
122
|
+
COLOR_NEUTRAL_30 as T,
|
|
123
|
+
COLOR_NEUTRAL_40 as U,
|
|
124
|
+
COLOR_NEUTRAL_50 as V,
|
|
125
|
+
COLOR_NEUTRAL_60 as W,
|
|
126
|
+
COLOR_NEUTRAL_70 as X,
|
|
127
|
+
COLOR_SUCCESS_00 as Y,
|
|
128
|
+
COLOR_SUCCESS_10 as Z,
|
|
129
|
+
COLOR_SUCCESS_20 as _,
|
|
130
|
+
BORDER_RADIUS_MEDIUM as a,
|
|
131
|
+
COLOR_SUCCESS_40 as a0,
|
|
132
|
+
COLOR_SUCCESS_50 as a1,
|
|
133
|
+
COLOR_SUCCESS_60 as a2,
|
|
134
|
+
COLOR_WARNING_00 as a3,
|
|
135
|
+
COLOR_WARNING_10 as a4,
|
|
136
|
+
COLOR_WARNING_20 as a5,
|
|
137
|
+
COLOR_WARNING_30 as a6,
|
|
138
|
+
COLOR_WARNING_40 as a7,
|
|
139
|
+
COLOR_WARNING_50 as a8,
|
|
140
140
|
COLOR_WARNING_60 as a9,
|
|
141
141
|
SPACING_050 as aA,
|
|
142
142
|
SPACING_100 as aB,
|
|
@@ -174,30 +174,30 @@ export {
|
|
|
174
174
|
SHADOW_02 as ax,
|
|
175
175
|
SHADOW_03 as ay,
|
|
176
176
|
SHADOW_04 as az,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
177
|
+
BORDER_RADIUS_PILL as b,
|
|
178
|
+
BORDER_RADIUS_SMALL as c,
|
|
179
|
+
BREAKPOINT_LG as d,
|
|
180
|
+
BREAKPOINT_MD as e,
|
|
181
|
+
BREAKPOINT_SM as f,
|
|
182
|
+
BREAKPOINT_XLG as g,
|
|
183
|
+
BREAKPOINT_XSM as h,
|
|
184
|
+
COLOR_BRAND_BLUE_10 as i,
|
|
185
|
+
COLOR_BRAND_BLUE_20 as j,
|
|
186
|
+
COLOR_BRAND_BLUE_30 as k,
|
|
187
|
+
COLOR_BRAND_BLUE_40 as l,
|
|
188
|
+
COLOR_BRAND_BLUE_50 as m,
|
|
189
|
+
COLOR_BRAND_BLUE_60 as n,
|
|
190
|
+
COLOR_BRAND_CYAN_10 as o,
|
|
191
|
+
COLOR_BRAND_CYAN_20 as p,
|
|
192
|
+
COLOR_BRAND_CYAN_30 as q,
|
|
193
|
+
COLOR_BRAND_CYAN_40 as r,
|
|
194
|
+
COLOR_BRAND_CYAN_50 as s,
|
|
195
|
+
COLOR_BRAND_CYAN_60 as t,
|
|
196
|
+
COLOR_BRAND_EMERALD_10 as u,
|
|
197
|
+
COLOR_BRAND_EMERALD_20 as v,
|
|
198
|
+
COLOR_BRAND_EMERALD_30 as w,
|
|
199
|
+
COLOR_BRAND_EMERALD_40 as x,
|
|
200
|
+
COLOR_BRAND_EMERALD_50 as y,
|
|
201
|
+
COLOR_BRAND_EMERALD_60 as z
|
|
202
202
|
};
|
|
203
|
-
//# sourceMappingURL=tokens-
|
|
203
|
+
//# sourceMappingURL=tokens-C4ypB4bY.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens-
|
|
1
|
+
{"version":3,"file":"tokens-C4ypB4bY.js","sources":["../lib/core/tokens/.cache/tokens.ts"],"sourcesContent":["export const BORDER_RADIUS_SMALL = \"4px\";\nexport const BORDER_RADIUS_MEDIUM = \"8px\";\nexport const BORDER_RADIUS_BIG = \"16px\";\nexport const BORDER_RADIUS_PILL = \"999px\";\nexport const COLOR_NEUTRAL_70 = \"#16181d\";\nexport const COLOR_NEUTRAL_60 = \"#313131\";\nexport const COLOR_NEUTRAL_50 = \"#454a54\";\nexport const COLOR_NEUTRAL_40 = \"#5e6573\";\nexport const COLOR_NEUTRAL_30 = \"#c4c9d4\";\nexport const COLOR_NEUTRAL_20 = \"#e2e4e9\";\nexport const COLOR_NEUTRAL_10 = \"#f6f7fa\";\nexport const COLOR_NEUTRAL_00 = \"#ffffff\";\nexport const COLOR_BRAND_BLUE_60 = \"#18256c\";\nexport const COLOR_BRAND_BLUE_50 = \"#1737a4\";\nexport const COLOR_BRAND_BLUE_40 = \"#0048db\";\nexport const COLOR_BRAND_BLUE_30 = \"#9abcff\";\nexport const COLOR_BRAND_BLUE_20 = \"#dce8ff\";\nexport const COLOR_BRAND_BLUE_10 = \"#fafbff\";\nexport const COLOR_BRAND_BLUE_00 = \"#F2F5FC\";\nexport const COLOR_BRAND_EMERALD_60 = \"#013220\";\nexport const COLOR_BRAND_EMERALD_50 = \"#026441\";\nexport const COLOR_BRAND_EMERALD_40 = \"#04d98c\";\nexport const COLOR_BRAND_EMERALD_30 = \"#95f0cf\";\nexport const COLOR_BRAND_EMERALD_20 = \"#ccf2e4\";\nexport const COLOR_BRAND_EMERALD_10 = \"#edfef7\";\nexport const COLOR_BRAND_CYAN_60 = \"#004155\";\nexport const COLOR_BRAND_CYAN_50 = \"#005c77\";\nexport const COLOR_BRAND_CYAN_40 = \"#02bedf\";\nexport const COLOR_BRAND_CYAN_30 = \"#3edcff\";\nexport const COLOR_BRAND_CYAN_20 = \"#ccf3ff\";\nexport const COLOR_BRAND_CYAN_10 = \"#f1fcff\";\nexport const COLOR_SUCCESS_60 = \"#08331a\";\nexport const COLOR_SUCCESS_50 = \"#10593b\";\nexport const COLOR_SUCCESS_40 = \"#138040\";\nexport const COLOR_SUCCESS_30 = \"#66cc90\";\nexport const COLOR_SUCCESS_20 = \"#a1e5bd\";\nexport const COLOR_SUCCESS_10 = \"#e5fff0\";\nexport const COLOR_SUCCESS_00 = \"#f0fcf5\";\nexport const COLOR_ERROR_60 = \"#731111\";\nexport const COLOR_ERROR_50 = \"#991717\";\nexport const COLOR_ERROR_40 = \"#e52222\";\nexport const COLOR_ERROR_30 = \"#ff8080\";\nexport const COLOR_ERROR_20 = \"#ffbfbf\";\nexport const COLOR_ERROR_10 = \"#ffe5e5\";\nexport const COLOR_ERROR_00 = \"#f5eff0\";\nexport const COLOR_WARNING_60 = \"#803500\";\nexport const COLOR_WARNING_50 = \"#a64a08\";\nexport const COLOR_WARNING_40 = \"#fa822c\";\nexport const COLOR_WARNING_30 = \"#ffc59c\";\nexport const COLOR_WARNING_20 = \"#ffdabf\";\nexport const COLOR_WARNING_10 = \"#fff0e6\";\nexport const COLOR_WARNING_00 = \"#fcf4f0\";\nexport const COLOR_INFO_60 = \"#46008c\";\nexport const COLOR_INFO_50 = \"#510cb2\";\nexport const COLOR_INFO_40 = \"#6728e5\";\nexport const COLOR_INFO_30 = \"#bd9cff\";\nexport const COLOR_INFO_20 = \"#d4bfff\";\nexport const COLOR_INFO_10 = \"#eee6ff\";\nexport const COLOR_INFO_00 = \"#f3f0fc\";\nexport const SPACING_050 = \"4px\";\nexport const SPACING_100 = \"8px\";\nexport const SPACING_200 = \"16px\";\nexport const SPACING_300 = \"24px\";\nexport const SPACING_400 = \"32px\";\nexport const SPACING_500 = \"40px\";\nexport const SPACING_600 = \"48px\";\nexport const SPACING_700 = \"56px\";\nexport const SPACING_800 = \"64px\";\nexport const SPACING_900 = \"72px\";\nexport const BREAKPOINT_XSM = \"0px\";\nexport const BREAKPOINT_SM = \"320px\";\nexport const BREAKPOINT_MD = \"600px\";\nexport const BREAKPOINT_LG = \"1024px\";\nexport const BREAKPOINT_XLG = \"1920px\";\nexport const CONTAINER_SIZE = \"1232px\";\nexport const OPACITY_00 = \"0.05\";\nexport const OPACITY_10 = \"0.2\";\nexport const OPACITY_20 = \"0.4\";\nexport const OPACITY_30 = \"0.6\";\nexport const OPACITY_40 = \"0.8\";\nexport const SHADOW_01 = \"0px 2px 8px 0px rgba(169, 177, 197, 0.08), 0px 4px 4px 0px rgba(0, 72, 219, 0.04)\";\nexport const SHADOW_02 = \"0px 8px 24px 0px rgba(118, 134, 173, 0.08), 0px 4px 4px 0px rgba(0, 72, 219, 0.04)\";\nexport const SHADOW_03 = \"0px 16px 40px 0px rgba(118, 134, 173, 0.08), 0px 8px 8px 0px rgba(0, 72, 219, 0.04)\";\nexport const SHADOW_04 = \"0px 24px 56px 0px rgba(118, 134, 173, 0.08), 0px 12px 12px 0px rgba(0, 72, 219, 0.04)\";\nexport const FONT_TITLE = \"'Lexend Deca', sans-serif\";\nexport const FONT_BODY = \"'Source Sans 3', sans-serif\";\nexport const FONT_WEIGHT_BOLD = \"700\";\nexport const FONT_WEIGHT_SEMIBOLD = \"600\";\nexport const FONT_WEIGHT_MEDIUM = \"500\";\nexport const FONT_WEIGHT_REGULAR = \"400\";\nexport const FONT_SIZE_H1 = \"56px\";\nexport const FONT_SIZE_H2 = \"48px\";\nexport const FONT_SIZE_H3 = \"40px\";\nexport const FONT_SIZE_H4 = \"32px\";\nexport const FONT_SIZE_H5 = \"28px\";\nexport const FONT_SIZE_H6 = \"24px\";\nexport const FONT_SIZE_P1 = \"20px\";\nexport const FONT_SIZE_P2 = \"16px\";\nexport const FONT_SIZE_P3 = \"14px\";\nexport const FONT_SIZE_P4 = \"12px\";"],"names":[],"mappings":"AAAO,MAAM,sBAAsB;AAC5B,MAAM,uBAAuB;AAC7B,MAAM,oBAAoB;AAC1B,MAAM,qBAAqB;AAC3B,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,sBAAsB;AAC5B,MAAM,sBAAsB;AAC5B,MAAM,sBAAsB;AAC5B,MAAM,sBAAsB;AAC5B,MAAM,sBAAsB;AAC5B,MAAM,sBAAsB;AAC5B,MAAM,sBAAsB;AAC5B,MAAM,yBAAyB;AAC/B,MAAM,yBAAyB;AAC/B,MAAM,yBAAyB;AAC/B,MAAM,yBAAyB;AAC/B,MAAM,yBAAyB;AAC/B,MAAM,yBAAyB;AAC/B,MAAM,sBAAsB;AAC5B,MAAM,sBAAsB;AAC5B,MAAM,sBAAsB;AAC5B,MAAM,sBAAsB;AAC5B,MAAM,sBAAsB;AAC5B,MAAM,sBAAsB;AAC5B,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,iBAAiB;AACvB,MAAM,iBAAiB;AACvB,MAAM,iBAAiB;AACvB,MAAM,iBAAiB;AACvB,MAAM,iBAAiB;AACvB,MAAM,iBAAiB;AACvB,MAAM,iBAAiB;AACvB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,gBAAgB;AACtB,MAAM,gBAAgB;AACtB,MAAM,gBAAgB;AACtB,MAAM,gBAAgB;AACtB,MAAM,gBAAgB;AACtB,MAAM,gBAAgB;AACtB,MAAM,gBAAgB;AACtB,MAAM,cAAc;AACpB,MAAM,cAAc;AACpB,MAAM,cAAc;AACpB,MAAM,cAAc;AACpB,MAAM,cAAc;AACpB,MAAM,cAAc;AACpB,MAAM,cAAc;AACpB,MAAM,cAAc;AACpB,MAAM,cAAc;AACpB,MAAM,cAAc;AACpB,MAAM,iBAAiB;AACvB,MAAM,gBAAgB;AACtB,MAAM,gBAAgB;AACtB,MAAM,gBAAgB;AACtB,MAAM,iBAAiB;AACvB,MAAM,iBAAiB;AACvB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,YAAY;AAClB,MAAM,YAAY;AAClB,MAAM,YAAY;AAClB,MAAM,YAAY;AAClB,MAAM,aAAa;AACnB,MAAM,YAAY;AAClB,MAAM,mBAAmB;AACzB,MAAM,uBAAuB;AAC7B,MAAM,qBAAqB;AAC3B,MAAM,sBAAsB;AAC5B,MAAM,eAAe;AACrB,MAAM,eAAe;AACrB,MAAM,eAAe;AACrB,MAAM,eAAe;AACrB,MAAM,eAAe;AACrB,MAAM,eAAe;AACrB,MAAM,eAAe;AACrB,MAAM,eAAe;AACrB,MAAM,eAAe;AACrB,MAAM,eAAe;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@consumidor-positivo/aurora",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/AcordoCertoBR/aurora"
|
|
@@ -11,17 +11,25 @@
|
|
|
11
11
|
"modules": "./dist/main.es.js",
|
|
12
12
|
"sideEffects": [
|
|
13
13
|
"*.scss",
|
|
14
|
-
"*.css"
|
|
14
|
+
"*.css",
|
|
15
|
+
"*.astro"
|
|
15
16
|
],
|
|
16
17
|
"types": "./dist/main.d.ts",
|
|
17
18
|
"files": [
|
|
18
|
-
"dist"
|
|
19
|
+
"dist",
|
|
20
|
+
"astro"
|
|
19
21
|
],
|
|
20
22
|
"exports": {
|
|
21
23
|
".": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
+
"types": "./dist/main.d.ts",
|
|
25
|
+
"import": "./dist/main.es.js"
|
|
24
26
|
},
|
|
27
|
+
"./astro/runtime": {
|
|
28
|
+
"types": "./dist/astro/runtime/index.d.ts",
|
|
29
|
+
"import": "./dist/astro/runtime/index.es.js"
|
|
30
|
+
},
|
|
31
|
+
"./astro/*": "./astro/*",
|
|
32
|
+
"./global.css": "./dist/components/globalStyles/styles.css",
|
|
25
33
|
"./package.json": "./package.json",
|
|
26
34
|
"./dist/*.scss": {
|
|
27
35
|
"import": "./dist/*.scss",
|
|
@@ -36,8 +44,9 @@
|
|
|
36
44
|
"icons": "tsx scripts/generate-icons/index.ts",
|
|
37
45
|
"prebuild": "npm run tokens && npm run icons",
|
|
38
46
|
"dev": "npm run prebuild && vite",
|
|
39
|
-
"build": "tsc && vite build",
|
|
47
|
+
"build": "tsc && rimraf astro && vite build",
|
|
40
48
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
49
|
+
"check:astro": "astro check",
|
|
41
50
|
"preview": "vite preview",
|
|
42
51
|
"storybook": "npm run prebuild && storybook dev -p 6006 --disable-telemetry --no-version-updates",
|
|
43
52
|
"build-storybook": "npm run prebuild && storybook build",
|
|
@@ -54,6 +63,7 @@
|
|
|
54
63
|
"react-if": "4.1.6"
|
|
55
64
|
},
|
|
56
65
|
"devDependencies": {
|
|
66
|
+
"@astrojs/check": "0.9.4",
|
|
57
67
|
"@chromatic-com/storybook": "1.9.0",
|
|
58
68
|
"@rollup/plugin-terser": "1.0.0",
|
|
59
69
|
"@storybook/addon-docs": "8.6.18",
|
|
@@ -69,6 +79,7 @@
|
|
|
69
79
|
"@storybook/theming": "8.6.18",
|
|
70
80
|
"@testing-library/jest-dom": "6.9.1",
|
|
71
81
|
"@testing-library/react": "14.3.1",
|
|
82
|
+
"@types/glob": "7.2.0",
|
|
72
83
|
"@types/react": "18.3.3",
|
|
73
84
|
"@types/react-dom": "18.3.0",
|
|
74
85
|
"@types/testing-library__jest-dom": "5.14.9",
|
|
@@ -76,6 +87,7 @@
|
|
|
76
87
|
"@typescript-eslint/parser": "7.15.0",
|
|
77
88
|
"@vitejs/plugin-react": "5.2.0",
|
|
78
89
|
"@vitest/coverage-v8": "3.2.4",
|
|
90
|
+
"astro": "4.16.19",
|
|
79
91
|
"change-case": "5.4.4",
|
|
80
92
|
"classnames": "2.5.1",
|
|
81
93
|
"eslint": "8.57.0",
|
|
@@ -83,7 +95,6 @@
|
|
|
83
95
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
84
96
|
"eslint-plugin-react-refresh": "0.4.7",
|
|
85
97
|
"eslint-plugin-storybook": "0.12.0",
|
|
86
|
-
"@types/glob": "7.2.0",
|
|
87
98
|
"fs": "0.0.1-security",
|
|
88
99
|
"glob": "7.2.3",
|
|
89
100
|
"husky": "9.1.7",
|
|
@@ -97,9 +108,9 @@
|
|
|
97
108
|
"sass": "1.99.0",
|
|
98
109
|
"storybook": "8.6.18",
|
|
99
110
|
"storybook-addon-pseudo-states": "3.1.1",
|
|
111
|
+
"terser": "5.46.2",
|
|
100
112
|
"tsx": "4.21.0",
|
|
101
113
|
"typescript": "5.2.2",
|
|
102
|
-
"terser": "5.46.2",
|
|
103
114
|
"vite": "6.4.2",
|
|
104
115
|
"vite-plugin-dts": "5.0.3",
|
|
105
116
|
"vite-plugin-lib-inject-css": "2.2.2",
|
|
@@ -107,7 +118,7 @@
|
|
|
107
118
|
"vitest": "3.2.4"
|
|
108
119
|
},
|
|
109
120
|
"optionalDependencies": {
|
|
110
|
-
"@
|
|
111
|
-
"@
|
|
121
|
+
"@ast-grep/napi-linux-x64-gnu": "0.22.6",
|
|
122
|
+
"@rollup/rollup-linux-x64-gnu": "4.21.1"
|
|
112
123
|
}
|
|
113
124
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|