@veracity/vui 0.0.2 → 0.0.3
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/avatar/avatar.d.ts +1 -1
- package/avatar/avatar.js +3 -4
- package/avatar/theme.js +5 -5
- package/box/box.d.ts +1 -1
- package/box/box.js +3 -3
- package/button/button.d.ts +1 -1
- package/button/button.js +9 -8
- package/button/buttonGroup.d.ts +1 -1
- package/button/buttonGroup.js +3 -3
- package/button/index.d.ts +1 -0
- package/button/index.js +1 -0
- package/button/theme.js +5 -0
- package/checkbox/checkbox.d.ts +6 -3
- package/checkbox/checkbox.js +31 -17
- package/checkbox/checkbox.types.d.ts +9 -9
- package/checkbox/checkboxGroup.d.ts +6 -0
- package/checkbox/checkboxGroup.js +80 -0
- package/checkbox/checkboxGroup.types.d.ts +12 -0
- package/checkbox/checkboxGroup.types.js +2 -0
- package/checkbox/context.d.ts +4 -0
- package/checkbox/context.js +23 -0
- package/checkbox/index.d.ts +3 -0
- package/checkbox/index.js +3 -0
- package/checkbox/theme.d.ts +29 -4
- package/checkbox/theme.js +30 -4
- package/core/globalStyle.d.ts +1 -1
- package/core/globalStyle.js +3 -2
- package/core/utils.d.ts +8 -3
- package/core/utils.js +52 -5
- package/divider/divider.d.ts +1 -1
- package/divider/divider.js +4 -4
- package/heading/heading.d.ts +1 -1
- package/heading/heading.js +3 -3
- package/icon/helpers.d.ts +3 -0
- package/icon/helpers.js +5 -1
- package/icon/icon.js +3 -2
- package/icon/icon.types.d.ts +16 -2
- package/icon/icons/cui/cuiCheckboxIndeterminate.d.ts +3 -0
- package/icon/icons/cui/cuiCheckboxIndeterminate.js +8 -0
- package/icon/icons/cui/cuiCheckboxSelected.d.ts +3 -0
- package/icon/icons/cui/cuiCheckboxSelected.js +8 -0
- package/icon/icons/cui/cuiCheckboxUnselected.d.ts +3 -0
- package/icon/icons/cui/cuiCheckboxUnselected.js +8 -0
- package/icon/icons/cui/cuiRadioSelected.d.ts +3 -0
- package/icon/icons/cui/cuiRadioSelected.js +8 -0
- package/icon/icons/cui/cuiRadioUnselected.d.ts +3 -0
- package/icon/icons/cui/cuiRadioUnselected.js +8 -0
- package/icon/icons/cul/culCovid.d.ts +1 -1
- package/icon/icons/cul/culCovid.js +1 -1
- package/icon/icons/cul/culDeepSearch.d.ts +1 -1
- package/icon/icons/cul/culDeepSearch.js +1 -1
- package/icon/icons/cul/culDotsMenu.d.ts +1 -1
- package/icon/icons/cul/culDotsMenu.js +1 -1
- package/icon/icons/cul/culGlobePlus.d.ts +1 -1
- package/icon/icons/cul/culGlobePlus.js +1 -1
- package/icon/icons/cul/culListDense.d.ts +1 -1
- package/icon/icons/cul/culListDense.js +1 -1
- package/icon/icons/cul/culMapMarkerStar.d.ts +1 -1
- package/icon/icons/cul/culMapMarkerStar.js +1 -1
- package/icon/icons/cul/culPlusThin.d.ts +1 -1
- package/icon/icons/cul/culPlusThin.js +1 -1
- package/icon/icons/cul/culScreenshot.d.ts +1 -1
- package/icon/icons/cul/culScreenshot.js +1 -1
- package/icon/icons/cul/culScreenshotAlt.d.ts +1 -1
- package/icon/icons/cul/culScreenshotAlt.js +1 -1
- package/icon/icons/cul/culShortcut.d.ts +1 -1
- package/icon/icons/cul/culShortcut.js +1 -1
- package/icon/icons/cul/culTimesThin.d.ts +1 -1
- package/icon/icons/cul/culTimesThin.js +1 -1
- package/icon/icons/cul/culTransformer.d.ts +1 -1
- package/icon/icons/cul/culTransformer.js +1 -1
- package/icon/icons/cul/culUserTransfer.d.ts +1 -1
- package/icon/icons/cul/culUserTransfer.js +1 -1
- package/icon/icons/cul/culVessel.d.ts +1 -1
- package/icon/icons/cul/culVessel.js +1 -1
- package/icon/icons/cul/culVesselGroup.d.ts +1 -1
- package/icon/icons/cul/culVesselGroup.js +1 -1
- package/icon/icons/cus/cusCheckboxSelected.d.ts +1 -1
- package/icon/icons/cus/cusCheckboxSelected.js +1 -1
- package/icon/icons/cus/cusDotFull.d.ts +1 -1
- package/icon/icons/cus/cusDotFull.js +1 -1
- package/icon/icons/cus/cusDotFullAlt.d.ts +1 -1
- package/icon/icons/cus/cusDotFullAlt.js +1 -1
- package/icon/icons/cus/cusDotsMenu.d.ts +1 -1
- package/icon/icons/cus/cusDotsMenu.js +1 -1
- package/icon/icons/cus/cusRadio.d.ts +1 -1
- package/icon/icons/cus/cusRadio.js +1 -1
- package/icon/icons/cus/cusSquareMinus.d.ts +1 -1
- package/icon/icons/cus/cusSquareMinus.js +1 -1
- package/icon/icons/cus/cusTransformer.d.ts +1 -1
- package/icon/icons/cus/cusTransformer.js +1 -1
- package/icon/icons/cus/cusVessel.d.ts +1 -1
- package/icon/icons/cus/cusVessel.js +1 -1
- package/icon/icons/fab/fabApplePay.d.ts +1 -1
- package/icon/icons/fab/fabApplePay.js +1 -1
- package/icon/icons/fab/fabBluetooth.d.ts +1 -1
- package/icon/icons/fab/fabBluetooth.js +1 -1
- package/icon/icons/fab/fabBtc.d.ts +1 -1
- package/icon/icons/fab/fabBtc.js +1 -1
- package/icon/icons/fab/fabCcAmazonPay.d.ts +1 -1
- package/icon/icons/fab/fabCcAmazonPay.js +1 -1
- package/icon/icons/fab/fabCcAmex.d.ts +1 -1
- package/icon/icons/fab/fabCcAmex.js +1 -1
- package/icon/icons/fab/fabCcApplePay.d.ts +1 -1
- package/icon/icons/fab/fabCcApplePay.js +1 -1
- package/icon/icons/fab/fabCcDinersClub.d.ts +1 -1
- package/icon/icons/fab/fabCcDinersClub.js +1 -1
- package/icon/icons/fab/fabCcMastercard.d.ts +1 -1
- package/icon/icons/fab/fabCcMastercard.js +1 -1
- package/icon/icons/fab/fabCcPaypal.d.ts +1 -1
- package/icon/icons/fab/fabCcPaypal.js +1 -1
- package/icon/icons/fab/fabCcVisa.d.ts +1 -1
- package/icon/icons/fab/fabCcVisa.js +1 -1
- package/icon/icons/fab/fabDhl.d.ts +1 -1
- package/icon/icons/fab/fabDhl.js +1 -1
- package/icon/icons/fab/fabEbay.d.ts +1 -1
- package/icon/icons/fab/fabEbay.js +1 -1
- package/icon/icons/fab/fabFacebook.d.ts +1 -1
- package/icon/icons/fab/fabFacebook.js +1 -1
- package/icon/icons/fab/fabFedex.d.ts +1 -1
- package/icon/icons/fab/fabFedex.js +1 -1
- package/icon/icons/fab/fabFirefox.d.ts +1 -1
- package/icon/icons/fab/fabFirefox.js +1 -1
- package/icon/icons/fab/fabGoogle.d.ts +1 -1
- package/icon/icons/fab/fabGoogle.js +1 -1
- package/icon/icons/fab/fabGoogleDrive.d.ts +1 -1
- package/icon/icons/fab/fabGoogleDrive.js +1 -1
- package/icon/icons/fab/fabLinkedinIn.d.ts +1 -1
- package/icon/icons/fab/fabLinkedinIn.js +1 -1
- package/icon/icons/fab/fabMedium.d.ts +1 -1
- package/icon/icons/fab/fabMedium.js +1 -1
- package/icon/icons/fab/fabOsi.d.ts +1 -1
- package/icon/icons/fab/fabOsi.js +1 -1
- package/icon/icons/fab/fabSlack.d.ts +1 -1
- package/icon/icons/fab/fabSlack.js +1 -1
- package/icon/icons/fab/fabTwitter.d.ts +1 -1
- package/icon/icons/fab/fabTwitter.js +1 -1
- package/icon/icons/fab/fabUps.d.ts +1 -1
- package/icon/icons/fab/fabUps.js +1 -1
- package/icon/icons/fal/falAddressBook.d.ts +1 -1
- package/icon/icons/fal/falAddressBook.js +1 -1
- package/icon/icons/fal/falAddressCard.d.ts +1 -1
- package/icon/icons/fal/falAddressCard.js +1 -1
- package/icon/icons/fal/falAnalytics.d.ts +1 -1
- package/icon/icons/fal/falAnalytics.js +1 -1
- package/icon/icons/fal/falAngleDoubleDown.d.ts +1 -1
- package/icon/icons/fal/falAngleDoubleDown.js +1 -1
- package/icon/icons/fal/falAngleDoubleLeft.d.ts +1 -1
- package/icon/icons/fal/falAngleDoubleLeft.js +1 -1
- package/icon/icons/fal/falAngleDoubleRight.d.ts +1 -1
- package/icon/icons/fal/falAngleDoubleRight.js +1 -1
- package/icon/icons/fal/falAngleDoubleUp.d.ts +1 -1
- package/icon/icons/fal/falAngleDoubleUp.js +1 -1
- package/icon/icons/fal/falAngleDown.d.ts +1 -1
- package/icon/icons/fal/falAngleDown.js +1 -1
- package/icon/icons/fal/falAngleLeft.d.ts +1 -1
- package/icon/icons/fal/falAngleLeft.js +1 -1
- package/icon/icons/fal/falAngleRight.d.ts +1 -1
- package/icon/icons/fal/falAngleRight.js +1 -1
- package/icon/icons/fal/falAngleUp.d.ts +1 -1
- package/icon/icons/fal/falAngleUp.js +1 -1
- package/icon/icons/fal/falArrowAltDown.d.ts +1 -1
- package/icon/icons/fal/falArrowAltDown.js +1 -1
- package/icon/icons/fal/falArrowAltLeft.d.ts +1 -1
- package/icon/icons/fal/falArrowAltLeft.js +1 -1
- package/icon/icons/fal/falArrowAltRight.d.ts +1 -1
- package/icon/icons/fal/falArrowAltRight.js +1 -1
- package/icon/icons/fal/falArrowAltUp.d.ts +1 -1
- package/icon/icons/fal/falArrowAltUp.js +1 -1
- package/icon/icons/fal/falArrowCircleDown.d.ts +1 -1
- package/icon/icons/fal/falArrowCircleDown.js +1 -1
- package/icon/icons/fal/falArrowCircleLeft.d.ts +1 -1
- package/icon/icons/fal/falArrowCircleLeft.js +1 -1
- package/icon/icons/fal/falArrowCircleRight.d.ts +1 -1
- package/icon/icons/fal/falArrowCircleRight.js +1 -1
- package/icon/icons/fal/falArrowCircleUp.d.ts +1 -1
- package/icon/icons/fal/falArrowCircleUp.js +1 -1
- package/icon/icons/fal/falArrowDown.d.ts +1 -1
- package/icon/icons/fal/falArrowDown.js +1 -1
- package/icon/icons/fal/falArrowFromBottom.d.ts +1 -1
- package/icon/icons/fal/falArrowFromBottom.js +1 -1
- package/icon/icons/fal/falArrowFromLeft.d.ts +1 -1
- package/icon/icons/fal/falArrowFromLeft.js +1 -1
- package/icon/icons/fal/falArrowFromRight.d.ts +1 -1
- package/icon/icons/fal/falArrowFromRight.js +1 -1
- package/icon/icons/fal/falArrowFromTop.d.ts +1 -1
- package/icon/icons/fal/falArrowFromTop.js +1 -1
- package/icon/icons/fal/falArrowLeft.d.ts +1 -1
- package/icon/icons/fal/falArrowLeft.js +1 -1
- package/icon/icons/fal/falArrowRight.d.ts +1 -1
- package/icon/icons/fal/falArrowRight.js +1 -1
- package/icon/icons/fal/falArrowToBottom.d.ts +1 -1
- package/icon/icons/fal/falArrowToBottom.js +1 -1
- package/icon/icons/fal/falArrowToLeft.d.ts +1 -1
- package/icon/icons/fal/falArrowToLeft.js +1 -1
- package/icon/icons/fal/falArrowToRight.d.ts +1 -1
- package/icon/icons/fal/falArrowToRight.js +1 -1
- package/icon/icons/fal/falArrowToTop.d.ts +1 -1
- package/icon/icons/fal/falArrowToTop.js +1 -1
- package/icon/icons/fal/falArrowUp.d.ts +1 -1
- package/icon/icons/fal/falArrowUp.js +1 -1
- package/icon/icons/fal/falArrows.d.ts +1 -1
- package/icon/icons/fal/falArrows.js +1 -1
- package/icon/icons/fal/falAward.d.ts +1 -1
- package/icon/icons/fal/falAward.js +1 -1
- package/icon/icons/fal/falBan.d.ts +1 -1
- package/icon/icons/fal/falBan.js +1 -1
- package/icon/icons/fal/falBell.d.ts +1 -1
- package/icon/icons/fal/falBell.js +1 -1
- package/icon/icons/fal/falBookOpen.d.ts +1 -1
- package/icon/icons/fal/falBookOpen.js +1 -1
- package/icon/icons/fal/falBroadcastTower.d.ts +1 -1
- package/icon/icons/fal/falBroadcastTower.js +1 -1
- package/icon/icons/fal/falBuilding.d.ts +1 -1
- package/icon/icons/fal/falBuilding.js +1 -1
- package/icon/icons/fal/falBullseye.d.ts +1 -1
- package/icon/icons/fal/falBullseye.js +1 -1
- package/icon/icons/fal/falCalendar.d.ts +1 -1
- package/icon/icons/fal/falCalendar.js +1 -1
- package/icon/icons/fal/falCalendarAlt.d.ts +1 -1
- package/icon/icons/fal/falCalendarAlt.js +1 -1
- package/icon/icons/fal/falCamera.d.ts +1 -1
- package/icon/icons/fal/falCamera.js +1 -1
- package/icon/icons/fal/falCaretDown.d.ts +1 -1
- package/icon/icons/fal/falCaretDown.js +1 -1
- package/icon/icons/fal/falCaretLeft.d.ts +1 -1
- package/icon/icons/fal/falCaretLeft.js +1 -1
- package/icon/icons/fal/falCaretRight.d.ts +1 -1
- package/icon/icons/fal/falCaretRight.js +1 -1
- package/icon/icons/fal/falCaretUp.d.ts +1 -1
- package/icon/icons/fal/falCaretUp.js +1 -1
- package/icon/icons/fal/falCauldron.d.ts +1 -1
- package/icon/icons/fal/falCauldron.js +1 -1
- package/icon/icons/fal/falChartArea.d.ts +1 -1
- package/icon/icons/fal/falChartArea.js +1 -1
- package/icon/icons/fal/falChartBar.d.ts +1 -1
- package/icon/icons/fal/falChartBar.js +1 -1
- package/icon/icons/fal/falChartLine.d.ts +1 -1
- package/icon/icons/fal/falChartLine.js +1 -1
- package/icon/icons/fal/falChartLineDown.d.ts +1 -1
- package/icon/icons/fal/falChartLineDown.js +1 -1
- package/icon/icons/fal/falChartNetwork.d.ts +1 -1
- package/icon/icons/fal/falChartNetwork.js +1 -1
- package/icon/icons/fal/falChartPie.d.ts +1 -1
- package/icon/icons/fal/falChartPie.js +1 -1
- package/icon/icons/fal/falChartPieAlt.d.ts +1 -1
- package/icon/icons/fal/falChartPieAlt.js +1 -1
- package/icon/icons/fal/falChartScatter.d.ts +1 -1
- package/icon/icons/fal/falChartScatter.js +1 -1
- package/icon/icons/fal/falCheck.d.ts +1 -1
- package/icon/icons/fal/falCheck.js +1 -1
- package/icon/icons/fal/falCheckCircle.d.ts +1 -1
- package/icon/icons/fal/falCheckCircle.js +1 -1
- package/icon/icons/fal/falCheckSquare.d.ts +1 -1
- package/icon/icons/fal/falCheckSquare.js +1 -1
- package/icon/icons/fal/falChevronCircleDown.d.ts +1 -1
- package/icon/icons/fal/falChevronCircleDown.js +1 -1
- package/icon/icons/fal/falChevronCircleLeft.d.ts +1 -1
- package/icon/icons/fal/falChevronCircleLeft.js +1 -1
- package/icon/icons/fal/falChevronCircleRight.d.ts +1 -1
- package/icon/icons/fal/falChevronCircleRight.js +1 -1
- package/icon/icons/fal/falChevronCircleUp.d.ts +1 -1
- package/icon/icons/fal/falChevronCircleUp.js +1 -1
- package/icon/icons/fal/falChevronDoubleDown.d.ts +1 -1
- package/icon/icons/fal/falChevronDoubleDown.js +1 -1
- package/icon/icons/fal/falChevronDoubleLeft.d.ts +1 -1
- package/icon/icons/fal/falChevronDoubleLeft.js +1 -1
- package/icon/icons/fal/falChevronDoubleRight.d.ts +1 -1
- package/icon/icons/fal/falChevronDoubleRight.js +1 -1
- package/icon/icons/fal/falChevronDoubleUp.d.ts +1 -1
- package/icon/icons/fal/falChevronDoubleUp.js +1 -1
- package/icon/icons/fal/falChevronDown.d.ts +1 -1
- package/icon/icons/fal/falChevronDown.js +1 -1
- package/icon/icons/fal/falChevronLeft.d.ts +1 -1
- package/icon/icons/fal/falChevronLeft.js +1 -1
- package/icon/icons/fal/falChevronRight.d.ts +1 -1
- package/icon/icons/fal/falChevronRight.js +1 -1
- package/icon/icons/fal/falChevronUp.d.ts +1 -1
- package/icon/icons/fal/falChevronUp.js +1 -1
- package/icon/icons/fal/falCircle.d.ts +1 -1
- package/icon/icons/fal/falCircle.js +1 -1
- package/icon/icons/fal/falCloud.d.ts +1 -1
- package/icon/icons/fal/falCloud.js +1 -1
- package/icon/icons/fal/falCloudShowersHeavy.d.ts +1 -1
- package/icon/icons/fal/falCloudShowersHeavy.js +1 -1
- package/icon/icons/fal/falCloudSnow.d.ts +1 -1
- package/icon/icons/fal/falCloudSnow.js +1 -1
- package/icon/icons/fal/falCloudSun.d.ts +1 -1
- package/icon/icons/fal/falCloudSun.js +1 -1
- package/icon/icons/fal/falCloudSunRain.d.ts +1 -1
- package/icon/icons/fal/falCloudSunRain.js +1 -1
- package/icon/icons/fal/falCloudUpload.d.ts +1 -1
- package/icon/icons/fal/falCloudUpload.js +1 -1
- package/icon/icons/fal/falCode.d.ts +1 -1
- package/icon/icons/fal/falCode.js +1 -1
- package/icon/icons/fal/falCog.d.ts +1 -1
- package/icon/icons/fal/falCog.js +1 -1
- package/icon/icons/fal/falCogs.d.ts +1 -1
- package/icon/icons/fal/falCogs.js +1 -1
- package/icon/icons/fal/falComment.d.ts +1 -1
- package/icon/icons/fal/falComment.js +1 -1
- package/icon/icons/fal/falCommentAlt.d.ts +1 -1
- package/icon/icons/fal/falCommentAlt.js +1 -1
- package/icon/icons/fal/falCompressAlt.d.ts +1 -1
- package/icon/icons/fal/falCompressAlt.js +1 -1
- package/icon/icons/fal/falCopy.d.ts +1 -1
- package/icon/icons/fal/falCopy.js +1 -1
- package/icon/icons/fal/falCreditCard.d.ts +1 -1
- package/icon/icons/fal/falCreditCard.js +1 -1
- package/icon/icons/fal/falDatabase.d.ts +1 -1
- package/icon/icons/fal/falDatabase.js +1 -1
- package/icon/icons/fal/falDotCircle.d.ts +1 -1
- package/icon/icons/fal/falDotCircle.js +1 -1
- package/icon/icons/fal/falDownload.d.ts +1 -1
- package/icon/icons/fal/falDownload.js +1 -1
- package/icon/icons/fal/falEdit.d.ts +1 -1
- package/icon/icons/fal/falEdit.js +1 -1
- package/icon/icons/fal/falEllipsisH.d.ts +1 -1
- package/icon/icons/fal/falEllipsisH.js +1 -1
- package/icon/icons/fal/falEllipsisV.d.ts +1 -1
- package/icon/icons/fal/falEllipsisV.js +1 -1
- package/icon/icons/fal/falEnvelope.d.ts +1 -1
- package/icon/icons/fal/falEnvelope.js +1 -1
- package/icon/icons/fal/falExchange.d.ts +1 -1
- package/icon/icons/fal/falExchange.js +1 -1
- package/icon/icons/fal/falExclamationCircle.d.ts +1 -1
- package/icon/icons/fal/falExclamationCircle.js +1 -1
- package/icon/icons/fal/falExclamationTriangle.d.ts +1 -1
- package/icon/icons/fal/falExclamationTriangle.js +1 -1
- package/icon/icons/fal/falExpandAlt.d.ts +1 -1
- package/icon/icons/fal/falExpandAlt.js +1 -1
- package/icon/icons/fal/falExternalLink.d.ts +1 -1
- package/icon/icons/fal/falExternalLink.js +1 -1
- package/icon/icons/fal/falEye.d.ts +1 -1
- package/icon/icons/fal/falEye.js +1 -1
- package/icon/icons/fal/falEyeSlash.d.ts +1 -1
- package/icon/icons/fal/falEyeSlash.js +1 -1
- package/icon/icons/fal/falFile.d.ts +1 -1
- package/icon/icons/fal/falFile.js +1 -1
- package/icon/icons/fal/falFileAlt.d.ts +1 -1
- package/icon/icons/fal/falFileAlt.js +1 -1
- package/icon/icons/fal/falFileArchive.d.ts +1 -1
- package/icon/icons/fal/falFileArchive.js +1 -1
- package/icon/icons/fal/falFileAudio.d.ts +1 -1
- package/icon/icons/fal/falFileAudio.js +1 -1
- package/icon/icons/fal/falFileCertificate.d.ts +1 -1
- package/icon/icons/fal/falFileCertificate.js +1 -1
- package/icon/icons/fal/falFileChartLine.d.ts +1 -1
- package/icon/icons/fal/falFileChartLine.js +1 -1
- package/icon/icons/fal/falFileChartPie.d.ts +1 -1
- package/icon/icons/fal/falFileChartPie.js +1 -1
- package/icon/icons/fal/falFileCheck.d.ts +1 -1
- package/icon/icons/fal/falFileCheck.js +1 -1
- package/icon/icons/fal/falFileCode.d.ts +1 -1
- package/icon/icons/fal/falFileCode.js +1 -1
- package/icon/icons/fal/falFileCsv.d.ts +1 -1
- package/icon/icons/fal/falFileCsv.js +1 -1
- package/icon/icons/fal/falFileEdit.d.ts +1 -1
- package/icon/icons/fal/falFileEdit.js +1 -1
- package/icon/icons/fal/falFileExcel.d.ts +1 -1
- package/icon/icons/fal/falFileExcel.js +1 -1
- package/icon/icons/fal/falFileImage.d.ts +1 -1
- package/icon/icons/fal/falFileImage.js +1 -1
- package/icon/icons/fal/falFilePdf.d.ts +1 -1
- package/icon/icons/fal/falFilePdf.js +1 -1
- package/icon/icons/fal/falFilePlus.d.ts +1 -1
- package/icon/icons/fal/falFilePlus.js +1 -1
- package/icon/icons/fal/falFilePowerpoint.d.ts +1 -1
- package/icon/icons/fal/falFilePowerpoint.js +1 -1
- package/icon/icons/fal/falFileSpreadsheet.d.ts +1 -1
- package/icon/icons/fal/falFileSpreadsheet.js +1 -1
- package/icon/icons/fal/falFileVideo.d.ts +1 -1
- package/icon/icons/fal/falFileVideo.js +1 -1
- package/icon/icons/fal/falFileWord.d.ts +1 -1
- package/icon/icons/fal/falFileWord.js +1 -1
- package/icon/icons/fal/falFilter.d.ts +1 -1
- package/icon/icons/fal/falFilter.js +1 -1
- package/icon/icons/fal/falFlag.d.ts +1 -1
- package/icon/icons/fal/falFlag.js +1 -1
- package/icon/icons/fal/falFolder.d.ts +1 -1
- package/icon/icons/fal/falFolder.js +1 -1
- package/icon/icons/fal/falFolderOpen.d.ts +1 -1
- package/icon/icons/fal/falFolderOpen.js +1 -1
- package/icon/icons/fal/falFolderPlus.d.ts +1 -1
- package/icon/icons/fal/falFolderPlus.js +1 -1
- package/icon/icons/fal/falFolders.d.ts +1 -1
- package/icon/icons/fal/falFolders.js +1 -1
- package/icon/icons/fal/falGlassesAlt.d.ts +1 -1
- package/icon/icons/fal/falGlassesAlt.js +1 -1
- package/icon/icons/fal/falGlobe.d.ts +1 -1
- package/icon/icons/fal/falGlobe.js +1 -1
- package/icon/icons/fal/falHome.d.ts +1 -1
- package/icon/icons/fal/falHome.js +1 -1
- package/icon/icons/fal/falHourglass.d.ts +1 -1
- package/icon/icons/fal/falHourglass.js +1 -1
- package/icon/icons/fal/falImage.d.ts +1 -1
- package/icon/icons/fal/falImage.js +1 -1
- package/icon/icons/fal/falInfoCircle.d.ts +1 -1
- package/icon/icons/fal/falInfoCircle.js +1 -1
- package/icon/icons/fal/falKey.d.ts +1 -1
- package/icon/icons/fal/falKey.js +1 -1
- package/icon/icons/fal/falLayerPlus.d.ts +1 -1
- package/icon/icons/fal/falLayerPlus.js +1 -1
- package/icon/icons/fal/falLink.d.ts +1 -1
- package/icon/icons/fal/falLink.js +1 -1
- package/icon/icons/fal/falList.d.ts +1 -1
- package/icon/icons/fal/falList.js +1 -1
- package/icon/icons/fal/falLockAlt.d.ts +1 -1
- package/icon/icons/fal/falLockAlt.js +1 -1
- package/icon/icons/fal/falLongArrowDown.d.ts +1 -1
- package/icon/icons/fal/falLongArrowDown.js +1 -1
- package/icon/icons/fal/falLongArrowLeft.d.ts +1 -1
- package/icon/icons/fal/falLongArrowLeft.js +1 -1
- package/icon/icons/fal/falLongArrowRight.d.ts +1 -1
- package/icon/icons/fal/falLongArrowRight.js +1 -1
- package/icon/icons/fal/falLongArrowUp.d.ts +1 -1
- package/icon/icons/fal/falLongArrowUp.js +1 -1
- package/icon/icons/fal/falMap.d.ts +1 -1
- package/icon/icons/fal/falMap.js +1 -1
- package/icon/icons/fal/falMapMarked.d.ts +1 -1
- package/icon/icons/fal/falMapMarked.js +1 -1
- package/icon/icons/fal/falMapMarkedAlt.d.ts +1 -1
- package/icon/icons/fal/falMapMarkedAlt.js +1 -1
- package/icon/icons/fal/falMapMarker.d.ts +1 -1
- package/icon/icons/fal/falMapMarker.js +1 -1
- package/icon/icons/fal/falMapMarkerAlt.d.ts +1 -1
- package/icon/icons/fal/falMapMarkerAlt.js +1 -1
- package/icon/icons/fal/falMapMarkerAltSlash.d.ts +1 -1
- package/icon/icons/fal/falMapMarkerAltSlash.js +1 -1
- package/icon/icons/fal/falMapMarkerCheck.d.ts +1 -1
- package/icon/icons/fal/falMapMarkerCheck.js +1 -1
- package/icon/icons/fal/falMapMarkerExclamation.d.ts +1 -1
- package/icon/icons/fal/falMapMarkerExclamation.js +1 -1
- package/icon/icons/fal/falMinus.d.ts +1 -1
- package/icon/icons/fal/falMinus.js +1 -1
- package/icon/icons/fal/falPause.d.ts +1 -1
- package/icon/icons/fal/falPause.js +1 -1
- package/icon/icons/fal/falPauseCircle.d.ts +1 -1
- package/icon/icons/fal/falPauseCircle.js +1 -1
- package/icon/icons/fal/falPen.d.ts +1 -1
- package/icon/icons/fal/falPen.js +1 -1
- package/icon/icons/fal/falPlay.d.ts +1 -1
- package/icon/icons/fal/falPlay.js +1 -1
- package/icon/icons/fal/falPlayCircle.d.ts +1 -1
- package/icon/icons/fal/falPlayCircle.js +1 -1
- package/icon/icons/fal/falPlug.d.ts +1 -1
- package/icon/icons/fal/falPlug.js +1 -1
- package/icon/icons/fal/falPlus.d.ts +1 -1
- package/icon/icons/fal/falPlus.js +1 -1
- package/icon/icons/fal/falPlusCircle.d.ts +1 -1
- package/icon/icons/fal/falPlusCircle.js +1 -1
- package/icon/icons/fal/falPlusSquare.d.ts +1 -1
- package/icon/icons/fal/falPlusSquare.js +1 -1
- package/icon/icons/fal/falPrint.d.ts +1 -1
- package/icon/icons/fal/falPrint.js +1 -1
- package/icon/icons/fal/falPuzzlePiece.d.ts +1 -1
- package/icon/icons/fal/falPuzzlePiece.js +1 -1
- package/icon/icons/fal/falReceipt.d.ts +1 -1
- package/icon/icons/fal/falReceipt.js +1 -1
- package/icon/icons/fal/falRedo.d.ts +1 -1
- package/icon/icons/fal/falRedo.js +1 -1
- package/icon/icons/fal/falSave.d.ts +1 -1
- package/icon/icons/fal/falSave.js +1 -1
- package/icon/icons/fal/falSearch.d.ts +1 -1
- package/icon/icons/fal/falSearch.js +1 -1
- package/icon/icons/fal/falSearchPlus.d.ts +1 -1
- package/icon/icons/fal/falSearchPlus.js +1 -1
- package/icon/icons/fal/falServer.d.ts +1 -1
- package/icon/icons/fal/falServer.js +1 -1
- package/icon/icons/fal/falShare.d.ts +1 -1
- package/icon/icons/fal/falShare.js +1 -1
- package/icon/icons/fal/falShareAll.d.ts +1 -1
- package/icon/icons/fal/falShareAll.js +1 -1
- package/icon/icons/fal/falShareAlt.d.ts +1 -1
- package/icon/icons/fal/falShareAlt.js +1 -1
- package/icon/icons/fal/falShieldAlt.d.ts +1 -1
- package/icon/icons/fal/falShieldAlt.js +1 -1
- package/icon/icons/fal/falShieldCheck.d.ts +1 -1
- package/icon/icons/fal/falShieldCheck.js +1 -1
- package/icon/icons/fal/falShip.d.ts +1 -1
- package/icon/icons/fal/falShip.js +1 -1
- package/icon/icons/fal/falShoppingBasket.d.ts +1 -1
- package/icon/icons/fal/falShoppingBasket.js +1 -1
- package/icon/icons/fal/falSignInAlt.d.ts +1 -1
- package/icon/icons/fal/falSignInAlt.js +1 -1
- package/icon/icons/fal/falSignOut.d.ts +1 -1
- package/icon/icons/fal/falSignOut.js +1 -1
- package/icon/icons/fal/falSignOutAlt.d.ts +1 -1
- package/icon/icons/fal/falSignOutAlt.js +1 -1
- package/icon/icons/fal/falSlidersV.d.ts +1 -1
- package/icon/icons/fal/falSlidersV.js +1 -1
- package/icon/icons/fal/falSnowBlowing.d.ts +1 -1
- package/icon/icons/fal/falSnowBlowing.js +1 -1
- package/icon/icons/fal/falSnowflake.d.ts +1 -1
- package/icon/icons/fal/falSnowflake.js +1 -1
- package/icon/icons/fal/falSolarPanel.d.ts +1 -1
- package/icon/icons/fal/falSolarPanel.js +1 -1
- package/icon/icons/fal/falSort.d.ts +1 -1
- package/icon/icons/fal/falSort.js +1 -1
- package/icon/icons/fal/falSpinner.d.ts +1 -1
- package/icon/icons/fal/falSpinner.js +1 -1
- package/icon/icons/fal/falSquare.d.ts +1 -1
- package/icon/icons/fal/falSquare.js +1 -1
- package/icon/icons/fal/falStepForward.d.ts +1 -1
- package/icon/icons/fal/falStepForward.js +1 -1
- package/icon/icons/fal/falStop.d.ts +1 -1
- package/icon/icons/fal/falStop.js +1 -1
- package/icon/icons/fal/falStopCircle.d.ts +1 -1
- package/icon/icons/fal/falStopCircle.js +1 -1
- package/icon/icons/fal/falStopwatch.d.ts +1 -1
- package/icon/icons/fal/falStopwatch.js +1 -1
- package/icon/icons/fal/falSuitcase.d.ts +1 -1
- package/icon/icons/fal/falSuitcase.js +1 -1
- package/icon/icons/fal/falSun.d.ts +1 -1
- package/icon/icons/fal/falSun.js +1 -1
- package/icon/icons/fal/falSync.d.ts +1 -1
- package/icon/icons/fal/falSync.js +1 -1
- package/icon/icons/fal/falTachometer.d.ts +1 -1
- package/icon/icons/fal/falTachometer.js +1 -1
- package/icon/icons/fal/falTemperatureHigh.d.ts +1 -1
- package/icon/icons/fal/falTemperatureHigh.js +1 -1
- package/icon/icons/fal/falTh.d.ts +1 -1
- package/icon/icons/fal/falTh.js +1 -1
- package/icon/icons/fal/falThLarge.d.ts +1 -1
- package/icon/icons/fal/falThLarge.js +1 -1
- package/icon/icons/fal/falThList.d.ts +1 -1
- package/icon/icons/fal/falThList.js +1 -1
- package/icon/icons/fal/falTimes.d.ts +1 -1
- package/icon/icons/fal/falTimes.js +1 -1
- package/icon/icons/fal/falTimesCircle.d.ts +1 -1
- package/icon/icons/fal/falTimesCircle.js +1 -1
- package/icon/icons/fal/falToggleOff.d.ts +1 -1
- package/icon/icons/fal/falToggleOff.js +1 -1
- package/icon/icons/fal/falToggleOn.d.ts +1 -1
- package/icon/icons/fal/falToggleOn.js +1 -1
- package/icon/icons/fal/falTrashAlt.d.ts +1 -1
- package/icon/icons/fal/falTrashAlt.js +1 -1
- package/icon/icons/fal/falUnlockAlt.d.ts +1 -1
- package/icon/icons/fal/falUnlockAlt.js +1 -1
- package/icon/icons/fal/falUser.d.ts +1 -1
- package/icon/icons/fal/falUser.js +1 -1
- package/icon/icons/fal/falUserChart.d.ts +1 -1
- package/icon/icons/fal/falUserChart.js +1 -1
- package/icon/icons/fal/falUserCircle.d.ts +1 -1
- package/icon/icons/fal/falUserCircle.js +1 -1
- package/icon/icons/fal/falUserCog.d.ts +1 -1
- package/icon/icons/fal/falUserCog.js +1 -1
- package/icon/icons/fal/falUserEdit.d.ts +1 -1
- package/icon/icons/fal/falUserEdit.js +1 -1
- package/icon/icons/fal/falUserFriends.d.ts +1 -1
- package/icon/icons/fal/falUserFriends.js +1 -1
- package/icon/icons/fal/falUserPlus.d.ts +1 -1
- package/icon/icons/fal/falUserPlus.js +1 -1
- package/icon/icons/fal/falUserShield.d.ts +1 -1
- package/icon/icons/fal/falUserShield.js +1 -1
- package/icon/icons/fal/falUserTimes.d.ts +1 -1
- package/icon/icons/fal/falUserTimes.js +1 -1
- package/icon/icons/fal/falUsers.d.ts +1 -1
- package/icon/icons/fal/falUsers.js +1 -1
- package/icon/icons/fal/falUsersClass.d.ts +1 -1
- package/icon/icons/fal/falUsersClass.js +1 -1
- package/icon/icons/fal/falWater.d.ts +1 -1
- package/icon/icons/fal/falWater.js +1 -1
- package/icon/icons/fal/falWind.d.ts +1 -1
- package/icon/icons/fal/falWind.js +1 -1
- package/icon/icons/fal/falWindTurbine.d.ts +1 -1
- package/icon/icons/fal/falWindTurbine.js +1 -1
- package/icon/icons/fal/falWrench.d.ts +1 -1
- package/icon/icons/fal/falWrench.js +1 -1
- package/icon/icons/fas/fasCaretDown.d.ts +1 -1
- package/icon/icons/fas/fasCaretDown.js +1 -1
- package/icon/icons/fas/fasCaretLeft.d.ts +1 -1
- package/icon/icons/fas/fasCaretLeft.js +1 -1
- package/icon/icons/fas/fasCaretRight.d.ts +1 -1
- package/icon/icons/fas/fasCaretRight.js +1 -1
- package/icon/icons/fas/fasCaretUp.d.ts +1 -1
- package/icon/icons/fas/fasCaretUp.js +1 -1
- package/icon/icons/fas/fasDiamond.d.ts +1 -1
- package/icon/icons/fas/fasDiamond.js +1 -1
- package/icon/icons/fas/fasFolder.d.ts +1 -1
- package/icon/icons/fas/fasFolder.js +1 -1
- package/icon/icons/fas/fasMapMarkerAlt.d.ts +1 -1
- package/icon/icons/fas/fasMapMarkerAlt.js +1 -1
- package/icon/icons/fas/fasMapMarkerExclamation.d.ts +1 -1
- package/icon/icons/fas/fasMapMarkerExclamation.js +1 -1
- package/icon/icons/fas/fasQuoteLeft.d.ts +1 -1
- package/icon/icons/fas/fasQuoteLeft.js +1 -1
- package/icon/icons/fas/fasQuoteRight.d.ts +1 -1
- package/icon/icons/fas/fasQuoteRight.js +1 -1
- package/icon/icons/fas/fasSolarPanel.d.ts +1 -1
- package/icon/icons/fas/fasSolarPanel.js +1 -1
- package/icon/icons/fas/fasSort.d.ts +1 -1
- package/icon/icons/fas/fasSort.js +1 -1
- package/icon/icons/fas/fasStar.d.ts +1 -1
- package/icon/icons/fas/fasStar.js +1 -1
- package/icon/icons/fas/fasWindTurbine.d.ts +1 -1
- package/icon/icons/fas/fasWindTurbine.js +1 -1
- package/icon/icons/types.d.ts +1 -13
- package/index.d.ts +3 -1
- package/index.js +3 -1
- package/input/input.d.ts +6 -5
- package/input/input.js +11 -13
- package/input/input.types.d.ts +12 -13
- package/input/theme.d.ts +5 -0
- package/input/theme.js +10 -5
- package/label/label.d.ts +1 -1
- package/label/label.js +3 -4
- package/label/theme.js +11 -11
- package/link/link.d.ts +1 -1
- package/link/link.js +4 -4
- package/link/link.types.d.ts +1 -0
- package/link/theme.d.ts +27 -3
- package/link/theme.js +30 -3
- package/list/context.js +1 -1
- package/list/index.d.ts +1 -0
- package/list/index.js +1 -0
- package/list/list.d.ts +1 -1
- package/list/list.js +3 -3
- package/list/list.types.d.ts +1 -0
- package/list/listItem.d.ts +1 -1
- package/list/listItem.js +9 -9
- package/list/listItem.types.d.ts +3 -1
- package/list/theme.d.ts +0 -1
- package/list/theme.js +1 -5
- package/p/p.d.ts +1 -1
- package/p/p.js +3 -3
- package/package.json +1 -1
- package/radio/context.d.ts +4 -0
- package/radio/context.js +23 -0
- package/radio/index.d.ts +6 -0
- package/radio/index.js +23 -0
- package/radio/radio.d.ts +10 -0
- package/radio/radio.js +74 -0
- package/radio/radio.types.d.ts +23 -0
- package/radio/radio.types.js +2 -0
- package/radio/radioGroup.d.ts +6 -0
- package/radio/radioGroup.js +99 -0
- package/radio/radioGroup.types.d.ts +13 -0
- package/radio/radioGroup.types.js +2 -0
- package/radio/theme.d.ts +49 -0
- package/radio/theme.js +57 -0
- package/skeleton/skeleton.d.ts +1 -1
- package/skeleton/skeleton.js +4 -4
- package/skeleton/skeleton.types.d.ts +2 -2
- package/styles/animations.d.ts +10 -0
- package/styles/animations.js +9 -0
- package/styles/colors.d.ts +171 -0
- package/styles/colors.js +96 -0
- package/styles/durations.d.ts +7 -0
- package/styles/durations.js +8 -0
- package/styles/fontFaces.d.ts +2 -0
- package/styles/fontFaces.js +4 -0
- package/styles/fontSizes.d.ts +7 -0
- package/styles/fontSizes.js +8 -0
- package/styles/fontWeights.d.ts +7 -0
- package/styles/fontWeights.js +8 -0
- package/styles/fonts.d.ts +4 -2
- package/styles/fonts.js +3 -3
- package/styles/index.d.ts +10 -0
- package/styles/index.js +20 -1
- package/styles/radii.d.ts +7 -0
- package/styles/radii.js +8 -0
- package/styles/screens.d.ts +8 -0
- package/styles/screens.js +9 -0
- package/styles/shadows.d.ts +9 -0
- package/styles/shadows.js +11 -0
- package/svg/svg.d.ts +1 -1
- package/svg/svg.js +5 -5
- package/svg/svg.types.d.ts +3 -3
- package/switch/context.d.ts +4 -0
- package/switch/context.js +23 -0
- package/switch/index.d.ts +6 -0
- package/switch/index.js +23 -0
- package/switch/switch.d.ts +6 -0
- package/switch/switch.js +113 -0
- package/switch/switch.types.d.ts +20 -0
- package/switch/switch.types.js +2 -0
- package/switch/switchButton.d.ts +13 -0
- package/switch/switchButton.js +140 -0
- package/switch/switchButton.types.d.ts +24 -0
- package/switch/switchButton.types.js +2 -0
- package/switch/switchLabel.d.ts +3 -0
- package/switch/switchLabel.js +30 -0
- package/switch/theme.d.ts +87 -0
- package/switch/theme.js +113 -0
- package/system/typography.d.ts +14 -9
- package/t/t.d.ts +1 -1
- package/t/t.js +7 -5
- package/t/t.types.d.ts +4 -2
- package/textarea/textarea.d.ts +1 -1
- package/textarea/textarea.js +5 -7
- package/textarea/theme.js +4 -4
- package/theme/components.d.ts +185 -18
- package/theme/components.js +26 -24
- package/theme/defaultTheme.d.ts +201 -33
- package/theme/foundations.d.ts +143 -0
- package/theme/foundations.js +20 -0
- package/utils/object.d.ts +1 -1
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.default = {
|
|
5
|
-
|
|
5
|
+
details: [640, 512, [], '', 'M431.98 448.01l-47.97.05V416h-128v32.21l-47.98.05c-8.82.01-15.97 7.16-15.98 15.99l-.05 31.73c-.01 8.85 7.17 16.03 16.02 16.02l223.96-.26c8.82-.01 15.97-7.16 15.98-15.98l.04-31.73c.01-8.85-7.17-16.03-16.02-16.02zM585.2 26.74C582.58 11.31 568.99 0 553.06 0H86.93C71 0 57.41 11.31 54.79 26.74-3.32 369.16.04 348.08.03 352c-.03 17.32 14.29 32 32.6 32h574.74c18.23 0 32.51-14.56 32.59-31.79.02-4.08 3.35 16.95-54.76-325.47zM259.83 64h120.33l9.77 96H250.06l9.77-96zm-75.17 256H71.09L90.1 208h105.97l-11.41 112zm16.29-160H98.24l16.29-96h96.19l-9.77 96zm32.82 160l11.4-112h149.65l11.4 112H233.77zm195.5-256h96.19l16.29 96H439.04l-9.77-96zm26.06 256l-11.4-112H549.9l19.01 112H455.33z'],
|
|
6
6
|
name: 'fasSolarPanel'
|
|
7
7
|
};
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.default = {
|
|
5
|
-
|
|
5
|
+
details: [320, 512, [], '', 'M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z'],
|
|
6
6
|
name: 'fasSort'
|
|
7
7
|
};
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.default = {
|
|
5
|
-
|
|
5
|
+
details: [576, 512, [], '', 'M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z'],
|
|
6
6
|
name: 'fasStar'
|
|
7
7
|
};
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.default = {
|
|
5
|
-
|
|
5
|
+
details: [514, 512, [], '', 'M350.1 480h-48.32l-5-76.66L221 314l-10.78 166H161.9a36.94 36.94 0 0 0-33 20.42A8 8 0 0 0 136 512h240a8 8 0 0 0 7.15-11.58A36.93 36.93 0 0 0 350.1 480zm48.59-54.21l-88.35-182.32a55.73 55.73 0 0 1-.73-42.79l73.28-179.07a15.8 15.8 0 0 0-27.5-15.07L241.27 163.21a55.74 55.74 0 0 1-36.47 22.4L13.32 215.94A15.81 15.81 0 0 0 0 231.89v.23a15.8 15.8 0 0 0 14.1 15.35L203.83 268a55.78 55.78 0 0 1 37.54 20.58l130.31 153.5a15.81 15.81 0 0 0 20.53 3.63l.19-.12a15.79 15.79 0 0 0 6.29-19.8zM256 248a24 24 0 1 1 24-24 24 24 0 0 1-24 24z'],
|
|
6
6
|
name: 'fasWindTurbine'
|
|
7
7
|
};
|
package/icon/icons/types.d.ts
CHANGED
|
@@ -1,13 +1 @@
|
|
|
1
|
-
export declare type
|
|
2
|
-
number,
|
|
3
|
-
number,
|
|
4
|
-
string[],
|
|
5
|
-
string,
|
|
6
|
-
// unicode
|
|
7
|
-
string | string[]
|
|
8
|
-
];
|
|
9
|
-
export interface IconDefinition {
|
|
10
|
-
icon: IconDetails;
|
|
11
|
-
name: string;
|
|
12
|
-
}
|
|
13
|
-
export declare type DefaultIcon = 'culCovid' | 'culDeepSearch' | 'culDotsMenu' | 'culGlobePlus' | 'culScreenshot' | 'culScreenshotAlt' | 'culListDense' | 'culMapMarkerStar' | 'culPlusThin' | 'culShortcut' | 'culTimesThin' | 'culTransformer' | 'culUserTransfer' | 'culVessel' | 'culVesselGroup' | 'cusCheckboxSelected' | 'cusDotFull' | 'cusDotFullAlt' | 'cusDotsMenu' | 'cusRadio' | 'cusSquareMinus' | 'cusTransformer' | 'cusVessel' | 'fabApplePay' | 'fabBluetooth' | 'fabBtc' | 'fabCcAmazonPay' | 'fabCcAmex' | 'fabCcApplePay' | 'fabCcDinersClub' | 'fabCcMastercard' | 'fabCcPaypal' | 'fabCcVisa' | 'fabDhl' | 'fabEbay' | 'fabFacebook' | 'fabFedex' | 'fabFirefox' | 'fabGoogleDrive' | 'fabGoogle' | 'fabLinkedinIn' | 'fabMedium' | 'fabOsi' | 'fabSlack' | 'fabTwitter' | 'fabUps' | 'falAddressBook' | 'falAddressCard' | 'falAnalytics' | 'falAngleDoubleDown' | 'falAngleDoubleLeft' | 'falAngleDoubleRight' | 'falAngleDoubleUp' | 'falAngleDown' | 'falAngleLeft' | 'falAngleRight' | 'falAngleUp' | 'falArrowAltDown' | 'falArrowAltLeft' | 'falArrowAltRight' | 'falArrowAltUp' | 'falArrowCircleDown' | 'falArrowCircleLeft' | 'falArrowCircleRight' | 'falArrowCircleUp' | 'falArrowDown' | 'falArrowFromBottom' | 'falArrowFromLeft' | 'falArrowFromRight' | 'falArrowFromTop' | 'falArrowLeft' | 'falArrowRight' | 'falArrowToBottom' | 'falArrowToLeft' | 'falArrowToRight' | 'falArrowToTop' | 'falArrowUp' | 'falArrows' | 'falAward' | 'falBan' | 'falBell' | 'falBookOpen' | 'falBroadcastTower' | 'falBuilding' | 'falBullseye' | 'falCalendar' | 'falCalendarAlt' | 'falCamera' | 'falCaretDown' | 'falCaretLeft' | 'falCaretRight' | 'falCaretUp' | 'falCauldron' | 'falChartArea' | 'falChartBar' | 'falChartLineDown' | 'falChartLine' | 'falChartNetwork' | 'falChartPie' | 'falChartPieAlt' | 'falChartScatter' | 'falCheckCircle' | 'falCheckSquare' | 'falCheck' | 'falChevronCircleDown' | 'falChevronCircleLeft' | 'falChevronCircleRight' | 'falChevronCircleUp' | 'falChevronDoubleDown' | 'falChevronDoubleLeft' | 'falChevronDoubleRight' | 'falChevronDoubleUp' | 'falChevronDown' | 'falChevronLeft' | 'falChevronRight' | 'falChevronUp' | 'falCircle' | 'falCloudShowersHeavy' | 'falCloudSnow' | 'falCloudSunRain' | 'falCloudSun' | 'falCloudUpload' | 'falCloud' | 'falCode' | 'falCog' | 'falCogs' | 'falComment' | 'falCommentAlt' | 'falCompressAlt' | 'falCopy' | 'falCreditCard' | 'falDatabase' | 'falDotCircle' | 'falDownload' | 'falEdit' | 'falEllipsisH' | 'falEllipsisV' | 'falEnvelope' | 'falExchange' | 'falExclamationCircle' | 'falExclamationTriangle' | 'falExpandAlt' | 'falExternalLink' | 'falEye' | 'falEyeSlash' | 'falFile' | 'falFilePdf' | 'falFileAlt' | 'falFileArchive' | 'falFileAudio' | 'falFileCertificate' | 'falFileChartLine' | 'falFileChartPie' | 'falFileCheck' | 'falFileCode' | 'falFileCsv' | 'falFileEdit' | 'falFileExcel' | 'falFileImage' | 'falFilePlus' | 'falFilePowerpoint' | 'falFileSpreadsheet' | 'falFileVideo' | 'falFileWord' | 'falFilter' | 'falFlag' | 'falFolderOpen' | 'falFolderPlus' | 'falFolder' | 'falFolders' | 'falGlassesAlt' | 'falGlobe' | 'falHome' | 'falHourglass' | 'falImage' | 'falInfoCircle' | 'falKey' | 'falLayerPlus' | 'falLink' | 'falList' | 'falLockAlt' | 'falLongArrowDown' | 'falLongArrowLeft' | 'falLongArrowRight' | 'falLongArrowUp' | 'falMapMarked' | 'falMapMarkedAlt' | 'falMapMarkerAlt' | 'falMapMarkerAltSlash' | 'falMapMarkerCheck' | 'falMapMarkerExclamation' | 'falMapMarker' | 'falMap' | 'falMinus' | 'falPause' | 'falPauseCircle' | 'falPen' | 'falPlay' | 'falPlayCircle' | 'falPlug' | 'falPlusSquare' | 'falPlus' | 'falPlusCircle' | 'falPrint' | 'falPuzzlePiece' | 'falReceipt' | 'falRedo' | 'falSave' | 'falSearchPlus' | 'falSearch' | 'falServer' | 'falShareAll' | 'falShare' | 'falShareAlt' | 'falShieldAlt' | 'falShieldCheck' | 'falShip' | 'falShoppingBasket' | 'falSignInAlt' | 'falSignOut' | 'falSignOutAlt' | 'falSlidersV' | 'falSnowBlowing' | 'falSnowflake' | 'falSolarPanel' | 'falSort' | 'falSpinner' | 'falSquare' | 'falStepForward' | 'falStop' | 'falStopCircle' | 'falStopwatch' | 'falSuitcase' | 'falSun' | 'falSync' | 'falTachometer' | 'falTemperatureHigh' | 'falThLarge' | 'falThList' | 'falTh' | 'falTimesCircle' | 'falTimes' | 'falToggleOff' | 'falToggleOn' | 'falTrashAlt' | 'falUnlockAlt' | 'falUserChart' | 'falUserCircle' | 'falUserCog' | 'falUserEdit' | 'falUserFriends' | 'falUserPlus' | 'falUserShield' | 'falUserTimes' | 'falUser' | 'falUsersClass' | 'falUsers' | 'falWater' | 'falWindTurbine' | 'falWind' | 'falWrench' | 'fasCaretDown' | 'fasCaretLeft' | 'fasCaretRight' | 'fasCaretUp' | 'fasCheckSquare' | 'fasDiamond' | 'fasFolder' | 'fasMapMarkerAlt' | 'fasMapMarkerExclamation' | 'fasMinusSquare' | 'fasQuoteLeft' | 'fasQuoteRight' | 'fasSolarPanel' | 'fasSort' | 'fasStar' | 'fasWindTurbine';
|
|
1
|
+
export declare type DefaultIcon = 'cuiCheckboxIndeterminate' | 'cuiCheckboxSelected' | 'cuiCheckboxUnselected' | 'cuiRadioSelected' | 'cuiRadioUnselected' | 'culCovid' | 'culDeepSearch' | 'culDotsMenu' | 'culGlobePlus' | 'culScreenshot' | 'culScreenshotAlt' | 'culListDense' | 'culMapMarkerStar' | 'culPlusThin' | 'culShortcut' | 'culTimesThin' | 'culTransformer' | 'culUserTransfer' | 'culVessel' | 'culVesselGroup' | 'cusCheckboxSelected' | 'cusDotFull' | 'cusDotFullAlt' | 'cusDotsMenu' | 'cusRadio' | 'cusSquareMinus' | 'cusTransformer' | 'cusVessel' | 'fabApplePay' | 'fabBluetooth' | 'fabBtc' | 'fabCcAmazonPay' | 'fabCcAmex' | 'fabCcApplePay' | 'fabCcDinersClub' | 'fabCcMastercard' | 'fabCcPaypal' | 'fabCcVisa' | 'fabDhl' | 'fabEbay' | 'fabFacebook' | 'fabFedex' | 'fabFirefox' | 'fabGoogleDrive' | 'fabGoogle' | 'fabLinkedinIn' | 'fabMedium' | 'fabOsi' | 'fabSlack' | 'fabTwitter' | 'fabUps' | 'falAddressBook' | 'falAddressCard' | 'falAnalytics' | 'falAngleDoubleDown' | 'falAngleDoubleLeft' | 'falAngleDoubleRight' | 'falAngleDoubleUp' | 'falAngleDown' | 'falAngleLeft' | 'falAngleRight' | 'falAngleUp' | 'falArrowAltDown' | 'falArrowAltLeft' | 'falArrowAltRight' | 'falArrowAltUp' | 'falArrowCircleDown' | 'falArrowCircleLeft' | 'falArrowCircleRight' | 'falArrowCircleUp' | 'falArrowDown' | 'falArrowFromBottom' | 'falArrowFromLeft' | 'falArrowFromRight' | 'falArrowFromTop' | 'falArrowLeft' | 'falArrowRight' | 'falArrowToBottom' | 'falArrowToLeft' | 'falArrowToRight' | 'falArrowToTop' | 'falArrowUp' | 'falArrows' | 'falAward' | 'falBan' | 'falBell' | 'falBookOpen' | 'falBroadcastTower' | 'falBuilding' | 'falBullseye' | 'falCalendar' | 'falCalendarAlt' | 'falCamera' | 'falCaretDown' | 'falCaretLeft' | 'falCaretRight' | 'falCaretUp' | 'falCauldron' | 'falChartArea' | 'falChartBar' | 'falChartLineDown' | 'falChartLine' | 'falChartNetwork' | 'falChartPie' | 'falChartPieAlt' | 'falChartScatter' | 'falCheckCircle' | 'falCheckSquare' | 'falCheck' | 'falChevronCircleDown' | 'falChevronCircleLeft' | 'falChevronCircleRight' | 'falChevronCircleUp' | 'falChevronDoubleDown' | 'falChevronDoubleLeft' | 'falChevronDoubleRight' | 'falChevronDoubleUp' | 'falChevronDown' | 'falChevronLeft' | 'falChevronRight' | 'falChevronUp' | 'falCircle' | 'falCloudShowersHeavy' | 'falCloudSnow' | 'falCloudSunRain' | 'falCloudSun' | 'falCloudUpload' | 'falCloud' | 'falCode' | 'falCog' | 'falCogs' | 'falComment' | 'falCommentAlt' | 'falCompressAlt' | 'falCopy' | 'falCreditCard' | 'falDatabase' | 'falDotCircle' | 'falDownload' | 'falEdit' | 'falEllipsisH' | 'falEllipsisV' | 'falEnvelope' | 'falExchange' | 'falExclamationCircle' | 'falExclamationTriangle' | 'falExpandAlt' | 'falExternalLink' | 'falEye' | 'falEyeSlash' | 'falFile' | 'falFilePdf' | 'falFileAlt' | 'falFileArchive' | 'falFileAudio' | 'falFileCertificate' | 'falFileChartLine' | 'falFileChartPie' | 'falFileCheck' | 'falFileCode' | 'falFileCsv' | 'falFileEdit' | 'falFileExcel' | 'falFileImage' | 'falFilePlus' | 'falFilePowerpoint' | 'falFileSpreadsheet' | 'falFileVideo' | 'falFileWord' | 'falFilter' | 'falFlag' | 'falFolderOpen' | 'falFolderPlus' | 'falFolder' | 'falFolders' | 'falGlassesAlt' | 'falGlobe' | 'falHome' | 'falHourglass' | 'falImage' | 'falInfoCircle' | 'falKey' | 'falLayerPlus' | 'falLink' | 'falList' | 'falLockAlt' | 'falLongArrowDown' | 'falLongArrowLeft' | 'falLongArrowRight' | 'falLongArrowUp' | 'falMapMarked' | 'falMapMarkedAlt' | 'falMapMarkerAlt' | 'falMapMarkerAltSlash' | 'falMapMarkerCheck' | 'falMapMarkerExclamation' | 'falMapMarker' | 'falMap' | 'falMinus' | 'falPause' | 'falPauseCircle' | 'falPen' | 'falPlay' | 'falPlayCircle' | 'falPlug' | 'falPlusSquare' | 'falPlus' | 'falPlusCircle' | 'falPrint' | 'falPuzzlePiece' | 'falReceipt' | 'falRedo' | 'falSave' | 'falSearchPlus' | 'falSearch' | 'falServer' | 'falShareAll' | 'falShare' | 'falShareAlt' | 'falShieldAlt' | 'falShieldCheck' | 'falShip' | 'falShoppingBasket' | 'falSignInAlt' | 'falSignOut' | 'falSignOutAlt' | 'falSlidersV' | 'falSnowBlowing' | 'falSnowflake' | 'falSolarPanel' | 'falSort' | 'falSpinner' | 'falSquare' | 'falStepForward' | 'falStop' | 'falStopCircle' | 'falStopwatch' | 'falSuitcase' | 'falSun' | 'falSync' | 'falTachometer' | 'falTemperatureHigh' | 'falThLarge' | 'falThList' | 'falTh' | 'falTimesCircle' | 'falTimes' | 'falToggleOff' | 'falToggleOn' | 'falTrashAlt' | 'falUnlockAlt' | 'falUserChart' | 'falUserCircle' | 'falUserCog' | 'falUserEdit' | 'falUserFriends' | 'falUserPlus' | 'falUserShield' | 'falUserTimes' | 'falUser' | 'falUsersClass' | 'falUsers' | 'falWater' | 'falWindTurbine' | 'falWind' | 'falWrench' | 'fasCaretDown' | 'fasCaretLeft' | 'fasCaretRight' | 'fasCaretUp' | 'fasCheckSquare' | 'fasDiamond' | 'fasFolder' | 'fasMapMarkerAlt' | 'fasMapMarkerExclamation' | 'fasMinusSquare' | 'fasQuoteLeft' | 'fasQuoteRight' | 'fasSolarPanel' | 'fasSort' | 'fasStar' | 'fasWindTurbine';
|
package/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export * from './avatar';
|
|
|
2
2
|
export * from './box';
|
|
3
3
|
export * from './button';
|
|
4
4
|
export * from './checkbox';
|
|
5
|
-
export * from './controlLabel';
|
|
6
5
|
export * from './core';
|
|
7
6
|
export * from './divider';
|
|
8
7
|
export * from './heading';
|
|
@@ -12,8 +11,11 @@ export * from './label';
|
|
|
12
11
|
export * from './link';
|
|
13
12
|
export * from './list';
|
|
14
13
|
export * from './p';
|
|
14
|
+
export * from './radio';
|
|
15
15
|
export * from './skeleton';
|
|
16
|
+
export * from './styles';
|
|
16
17
|
export * from './svg';
|
|
18
|
+
export * from './switch';
|
|
17
19
|
export * from './system';
|
|
18
20
|
export * from './t';
|
|
19
21
|
export * from './textarea';
|
package/index.js
CHANGED
|
@@ -14,7 +14,6 @@ __exportStar(require("./avatar"), exports);
|
|
|
14
14
|
__exportStar(require("./box"), exports);
|
|
15
15
|
__exportStar(require("./button"), exports);
|
|
16
16
|
__exportStar(require("./checkbox"), exports);
|
|
17
|
-
__exportStar(require("./controlLabel"), exports);
|
|
18
17
|
__exportStar(require("./core"), exports);
|
|
19
18
|
__exportStar(require("./divider"), exports);
|
|
20
19
|
__exportStar(require("./heading"), exports);
|
|
@@ -24,8 +23,11 @@ __exportStar(require("./label"), exports);
|
|
|
24
23
|
__exportStar(require("./link"), exports);
|
|
25
24
|
__exportStar(require("./list"), exports);
|
|
26
25
|
__exportStar(require("./p"), exports);
|
|
26
|
+
__exportStar(require("./radio"), exports);
|
|
27
27
|
__exportStar(require("./skeleton"), exports);
|
|
28
|
+
__exportStar(require("./styles"), exports);
|
|
28
29
|
__exportStar(require("./svg"), exports);
|
|
30
|
+
__exportStar(require("./switch"), exports);
|
|
29
31
|
__exportStar(require("./system"), exports);
|
|
30
32
|
__exportStar(require("./t"), exports);
|
|
31
33
|
__exportStar(require("./textarea"), exports);
|
package/input/input.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const
|
|
1
|
+
import { InputInputStyleProps, InputProps, InputStyleProps } from './input.types';
|
|
2
|
+
export declare const InputInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, InputInputStyleProps, never>;
|
|
3
|
+
export declare const InputBase: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3
4
|
[x: string]: {};
|
|
4
|
-
} &
|
|
5
|
-
export declare const
|
|
6
|
-
export default
|
|
5
|
+
} & InputStyleProps, never>;
|
|
6
|
+
export declare const Input: import("styled-components").StyledComponent<"div", never, InputProps, never>;
|
|
7
|
+
export default Input;
|
package/input/input.js
CHANGED
|
@@ -29,7 +29,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
29
29
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
30
|
};
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
exports.
|
|
32
|
+
exports.Input = exports.InputBase = exports.InputInput = void 0;
|
|
33
33
|
var styled_components_1 = require("@xstyled/styled-components");
|
|
34
34
|
var react_1 = __importDefault(require("react"));
|
|
35
35
|
var styled_components_2 = __importDefault(require("styled-components"));
|
|
@@ -38,23 +38,21 @@ var core_1 = require("../core");
|
|
|
38
38
|
var icon_1 = __importDefault(require("../icon"));
|
|
39
39
|
var utils_1 = require("../utils");
|
|
40
40
|
var generator = styled_components_1.compose(styled_components_1.backgroundColor, styled_components_1.borders, styled_components_1.flexboxes, styled_components_1.sizing, styled_components_1.space, styled_components_1.transitions);
|
|
41
|
-
|
|
42
|
-
exports.
|
|
41
|
+
exports.InputInput = styled_components_2.default.input(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\talign-self: stretch;\n\tbackground-color: transparent;\n\tborder: none;\n\tflex: 1;\n\tmargin: 0 8px;\n\tmin-width: 0;\n\toutline: none;\n\tpadding: 0;\n\n\t:disabled,\n\t:disabled::placeholder {\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t}\n\n\t", "\n"], ["\n\talign-self: stretch;\n\tbackground-color: transparent;\n\tborder: none;\n\tflex: 1;\n\tmargin: 0 8px;\n\tmin-width: 0;\n\toutline: none;\n\tpadding: 0;\n\n\t:disabled,\n\t:disabled::placeholder {\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t}\n\n\t", "\n"])), styled_components_1.compose(styled_components_1.color, styled_components_1.fontSize));
|
|
42
|
+
exports.InputBase = styled_components_2.default.div.withConfig({
|
|
43
43
|
shouldForwardProp: core_1.shouldForwardProp(generator.meta.props)
|
|
44
|
-
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n\talign-items: center;\n\tborder-width: 1px;\n\tdisplay: flex;\n\toutline: none;\n\ttransition: all 0s ease-in-out;\n\twidth: 100%;\n\n\t&.disabled {\n\t\tcursor: not-allowed;\n\t}\n\n\t", "\n"], ["\n\talign-items: center;\n\tborder-width: 1px;\n\tdisplay: flex;\n\toutline: none;\n\ttransition: all 0s ease-in-out;\n\twidth: 100%;\n\n\t&.disabled {\n\t\tcursor: not-allowed;\n\t}\n\n\t", "\n"])), generator);
|
|
45
|
-
exports.
|
|
44
|
+
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n\talign-items: center;\n\tborder-width: 1px;\n\tdisplay: flex;\n\toutline: none;\n\ttransition: all 0s ease-in-out;\n\twidth: 100%;\n\n\t&.disabled {\n\t\tbackground-color: var(--vui-colors-disabled-bg);\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t}\n\n\t", "\n"], ["\n\talign-items: center;\n\tborder-width: 1px;\n\tdisplay: flex;\n\toutline: none;\n\ttransition: all 0s ease-in-out;\n\twidth: 100%;\n\n\t&.disabled {\n\t\tbackground-color: var(--vui-colors-disabled-bg);\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t}\n\n\t", "\n"])), generator);
|
|
45
|
+
exports.Input = core_1.forwardRef(function (props, ref) {
|
|
46
46
|
var _a = core_1.omitThemingProps(props), autoComplete = _a.autoComplete, autoFocus = _a.autoFocus, className = _a.className, defaultValue = _a.defaultValue, disabled = _a.disabled, iconLeft = _a.iconLeft, iconRightProp = _a.iconRight, _b = _a.inputProps, inputProps = _b === void 0 ? {} : _b, inputRef = _a.inputRef, itemLeft = _a.itemLeft, itemRight = _a.itemRight, _c = _a.length, length = _c === void 0 ? 'fluid' : _c, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, onFocus = _a.onFocus, placeholder = _a.placeholder, readOnly = _a.readOnly, required = _a.required, _d = _a.state, state = _d === void 0 ? 'default' : _d, _e = _a.type, type = _e === void 0 ? 'text' : _e, value = _a.value, rest = __rest(_a, ["autoComplete", "autoFocus", "className", "defaultValue", "disabled", "iconLeft", "iconRight", "inputProps", "inputRef", "itemLeft", "itemRight", "length", "name", "onBlur", "onChange", "onFocus", "placeholder", "readOnly", "required", "state", "type", "value"]);
|
|
47
47
|
var _f = core_1.useStyleConfig('Input', __assign({ colorScheme: consts_1.inputStates[state].colorScheme }, props)), borderColor = _f.borderColor, focusWithinRingColor = _f.focusWithinRingColor, fontSize = _f.fontSize, iconColorProp = _f.iconColor, iconSize = _f.iconSize, styles = __rest(_f, ["borderColor", "focusWithinRingColor", "fontSize", "iconColor", "iconSize"]);
|
|
48
|
-
var
|
|
49
|
-
var bg = disabled || readOnly ? 'grey.20' : undefined;
|
|
50
|
-
var iconColor = disabled ? disabledTextColor : iconColorProp;
|
|
48
|
+
var iconColor = !disabled ? iconColorProp : 'grey.50';
|
|
51
49
|
var iconRight = iconRightProp !== null && iconRightProp !== void 0 ? iconRightProp : consts_1.inputStates[state].iconRight;
|
|
52
|
-
var placeholderColor = disabled ? disabledTextColor : 'grey.60';
|
|
53
50
|
var aliasedProps = utils_1.filterUndefined({
|
|
51
|
+
bg: readOnly ? 'grey.20' : undefined,
|
|
54
52
|
maxW: consts_1.inputLengths[length]
|
|
55
53
|
});
|
|
56
|
-
return (react_1.default.createElement(exports.
|
|
57
|
-
react_1.default.createElement(
|
|
54
|
+
return (react_1.default.createElement(exports.InputBase, __assign({ borderColor: !disabled ? borderColor : 'transparent', borderRadius: "md", className: utils_1.cs('vui-input', disabled && 'disabled', className), focusWithinBorderColor: readOnly ? borderColor : 'transparent', focusWithinRingColor: !readOnly ? focusWithinRingColor : 'transparent', px: 1, ref: ref, transitionDuration: "fast" }, styles, aliasedProps, rest), itemLeft !== null && itemLeft !== void 0 ? itemLeft : (iconLeft && react_1.default.createElement(icon_1.default, { color: iconColor, icon: iconLeft, size: iconSize })),
|
|
55
|
+
react_1.default.createElement(exports.InputInput, __assign({ className: "vui-inputInput", placeholderColor: "grey.60", ref: inputRef }, {
|
|
58
56
|
autoComplete: autoComplete,
|
|
59
57
|
autoFocus: autoFocus,
|
|
60
58
|
defaultValue: defaultValue,
|
|
@@ -71,6 +69,6 @@ exports.InputField = core_1.forwardRef(function (props, ref) {
|
|
|
71
69
|
value: value
|
|
72
70
|
}, inputProps)), itemRight !== null && itemRight !== void 0 ? itemRight : (iconRight && (react_1.default.createElement(icon_1.default, { animation: state === 'loading' ? 'spin' : undefined, color: iconColor, icon: iconRight, size: iconSize })))));
|
|
73
71
|
});
|
|
74
|
-
exports.
|
|
75
|
-
exports.default = exports.
|
|
72
|
+
exports.Input.displayName = 'Input';
|
|
73
|
+
exports.default = exports.Input;
|
|
76
74
|
var templateObject_1, templateObject_2;
|
package/input/input.types.d.ts
CHANGED
|
@@ -3,34 +3,33 @@ import { inputLengths, inputStates } from './consts';
|
|
|
3
3
|
import { IconProp } from '../icon';
|
|
4
4
|
import { BackgroundColorProps, BordersProps, ColorProps, EffectsProps, FontSizeProps, SizingProps, SpaceProps, TransitionsProps } from '../system';
|
|
5
5
|
import { ThemingProps } from '../theme';
|
|
6
|
-
export
|
|
7
|
-
|
|
6
|
+
export interface InputInputProps extends Omit<HTMLAttributes<HTMLInputElement>, 'color'>, InputInputStyleProps {
|
|
7
|
+
color?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface InputInputStyleProps extends ColorProps, FontSizeProps {
|
|
10
|
+
}
|
|
11
|
+
export declare type InputLength = keyof typeof inputLengths;
|
|
12
|
+
export interface InputProps extends Omit<HTMLAttributes<HTMLDivElement>, 'color'>, InputStyleProps, ThemingProps<'Input'> {
|
|
8
13
|
autoComplete?: string;
|
|
9
14
|
autoFocus?: boolean;
|
|
10
15
|
colorScheme?: 'green' | 'grey' | 'red';
|
|
11
16
|
disabled?: boolean;
|
|
12
17
|
iconLeft?: IconProp;
|
|
13
18
|
iconRight?: IconProp;
|
|
14
|
-
inputProps?:
|
|
19
|
+
inputProps?: InputInputProps;
|
|
15
20
|
inputRef?: React.MutableRefObject<HTMLInputElement | null> | null;
|
|
16
21
|
itemLeft?: React.ReactNode;
|
|
17
22
|
itemRight?: React.ReactNode;
|
|
18
|
-
length?:
|
|
23
|
+
length?: InputLength;
|
|
19
24
|
name?: string;
|
|
20
25
|
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
21
26
|
placeholder?: string;
|
|
22
27
|
readOnly?: boolean;
|
|
23
28
|
required?: boolean;
|
|
24
|
-
state?:
|
|
29
|
+
state?: InputState;
|
|
25
30
|
type?: string;
|
|
26
31
|
value?: number | string;
|
|
27
32
|
}
|
|
28
|
-
export declare type
|
|
29
|
-
export interface
|
|
30
|
-
}
|
|
31
|
-
interface InputProps extends Omit<HTMLAttributes<HTMLInputElement>, 'color'>, InputStyleProps {
|
|
32
|
-
color?: string;
|
|
33
|
-
}
|
|
34
|
-
export interface InputStyleProps extends ColorProps, FontSizeProps {
|
|
33
|
+
export declare type InputState = keyof typeof inputStates;
|
|
34
|
+
export interface InputStyleProps extends BackgroundColorProps, BordersProps, EffectsProps, SizingProps, SpaceProps, TransitionsProps {
|
|
35
35
|
}
|
|
36
|
-
export {};
|
package/input/theme.d.ts
CHANGED
package/input/theme.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
function variantDefault(props) {
|
|
4
4
|
var c = props.colorScheme;
|
|
5
|
-
var
|
|
5
|
+
var styles = {
|
|
6
6
|
borderColor: c + ".80",
|
|
7
7
|
focusWithinRing: 2,
|
|
8
8
|
focusWithinRingColor: c + ".80",
|
|
9
9
|
iconColor: c + ".80"
|
|
10
10
|
};
|
|
11
11
|
if (c === 'grey') {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
styles.borderColor = c + ".60";
|
|
13
|
+
styles.focusWithinRingColor = 'blue.50';
|
|
14
|
+
styles.iconColor = 'blue.80';
|
|
15
15
|
}
|
|
16
|
-
return
|
|
16
|
+
return styles;
|
|
17
17
|
}
|
|
18
18
|
var defaultProps = {
|
|
19
19
|
colorScheme: 'grey',
|
|
@@ -21,6 +21,11 @@ var defaultProps = {
|
|
|
21
21
|
variant: 'default'
|
|
22
22
|
};
|
|
23
23
|
var sizes = {
|
|
24
|
+
xs: {
|
|
25
|
+
fontSize: 'xs',
|
|
26
|
+
h: 24,
|
|
27
|
+
iconSize: 'xs'
|
|
28
|
+
},
|
|
24
29
|
sm: {
|
|
25
30
|
fontSize: 'sm',
|
|
26
31
|
h: 32,
|
package/label/label.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LabelProps, LabelStyleProps } from './label.types';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const LabelBase: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
|
|
3
3
|
[x: string]: {};
|
|
4
4
|
} & LabelStyleProps, never>;
|
|
5
5
|
export declare const Label: import("styled-components").StyledComponent<"span", never, LabelProps, never>;
|
package/label/label.js
CHANGED
|
@@ -29,7 +29,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
29
29
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
30
|
};
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
exports.Label = exports.
|
|
32
|
+
exports.Label = exports.LabelBase = void 0;
|
|
33
33
|
var styled_components_1 = require("@xstyled/styled-components");
|
|
34
34
|
var react_1 = __importDefault(require("react"));
|
|
35
35
|
var styled_components_2 = __importDefault(require("styled-components"));
|
|
@@ -39,7 +39,7 @@ var system_1 = require("../system");
|
|
|
39
39
|
var utils_1 = require("../utils");
|
|
40
40
|
var generator = styled_components_1.compose(styled_components_1.backgroundColor, styled_components_1.borders, styled_components_1.effects, styled_components_1.flexboxes, styled_components_1.interactivity, system_1.isTruncated, styled_components_1.sizing, styled_components_1.space, styled_components_1.transitions, styled_components_1.typography);
|
|
41
41
|
var Text = styled_components_2.default.span(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t", "\n"], ["\n\t", "\n"])), system_1.isTruncated);
|
|
42
|
-
exports.
|
|
42
|
+
exports.LabelBase = styled_components_2.default.span.withConfig({
|
|
43
43
|
shouldForwardProp: core_1.shouldForwardProp(generator.meta.props)
|
|
44
44
|
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n\talign-items: center;\n\tdisplay: flex;\n\tjustify-content: center;\n\tline-height: 1.1;\n\tmin-width: 0px;\n\tposition: relative;\n\ttransition: all 0s ease-in-out;\n\twidth: fit-content;\n\n\t&:focus {\n\t\tborder-color: transparent;\n\t\toutline: none;\n\t}\n\n\t", "\n"], ["\n\talign-items: center;\n\tdisplay: flex;\n\tjustify-content: center;\n\tline-height: 1.1;\n\tmin-width: 0px;\n\tposition: relative;\n\ttransition: all 0s ease-in-out;\n\twidth: fit-content;\n\n\t&:focus {\n\t\tborder-color: transparent;\n\t\toutline: none;\n\t}\n\n\t", "\n"])), generator);
|
|
45
45
|
exports.Label = core_1.forwardRef(function (props, ref) {
|
|
@@ -56,7 +56,6 @@ exports.Label = core_1.forwardRef(function (props, ref) {
|
|
|
56
56
|
hoverBg: hoverBg,
|
|
57
57
|
activeBg: activeBg,
|
|
58
58
|
focusRing: 3,
|
|
59
|
-
focusRingColor: 'blue.50',
|
|
60
59
|
tabIndex: 0,
|
|
61
60
|
userSelect: 'none'
|
|
62
61
|
}
|
|
@@ -69,7 +68,7 @@ exports.Label = core_1.forwardRef(function (props, ref) {
|
|
|
69
68
|
textTransform: casing,
|
|
70
69
|
w: isFullWidth ? '100%' : undefined
|
|
71
70
|
});
|
|
72
|
-
return (react_1.default.createElement(exports.
|
|
71
|
+
return (react_1.default.createElement(exports.LabelBase, __assign({ borderRadius: "md", className: utils_1.cs('vui-label', className), fontWeight: "medium", h: h, pl: pl, pr: pr, ref: ref, transitionDuration: "fast" }, styles, interactiveProps, aliasedProps, rest), icon ? (react_1.default.createElement(icon_1.default, { icon: icon, size: iconSize })) : (react_1.default.createElement(react_1.default.Fragment, null, itemLeft !== null && itemLeft !== void 0 ? itemLeft : (iconLeft && react_1.default.createElement(icon_1.default, { icon: iconLeft, mr: spaceX, size: iconSize })),
|
|
73
72
|
react_1.default.createElement(Text, { isTruncated: isTruncated }, children !== null && children !== void 0 ? children : text), itemRight !== null && itemRight !== void 0 ? itemRight : (iconRight && react_1.default.createElement(icon_1.default, { icon: iconRight, ml: iconRightMl, size: iconSize })),
|
|
74
73
|
isLoading && react_1.default.createElement(icon_1.default, { animation: "spin", icon: "falSpinner", ml: iconRightMl, size: iconSize })))));
|
|
75
74
|
});
|
package/label/theme.js
CHANGED
|
@@ -18,22 +18,22 @@ function variantOutlined(props) {
|
|
|
18
18
|
}
|
|
19
19
|
function variantSolid(props) {
|
|
20
20
|
var c = props.colorScheme;
|
|
21
|
-
var
|
|
21
|
+
var styles = {
|
|
22
22
|
hoverBg: c + ".90",
|
|
23
23
|
activeBg: c + ".100",
|
|
24
24
|
bg: c + ".80",
|
|
25
25
|
color: 'white'
|
|
26
26
|
};
|
|
27
27
|
if (c === 'yellow') {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
styles.hoverBg = c + ".80";
|
|
29
|
+
styles.activeBg = c + ".90";
|
|
30
|
+
styles.bg = c + ".70";
|
|
31
31
|
}
|
|
32
|
-
return
|
|
32
|
+
return styles;
|
|
33
33
|
}
|
|
34
34
|
function variantSubtle(props) {
|
|
35
35
|
var c = props.colorScheme;
|
|
36
|
-
var
|
|
36
|
+
var styles = {
|
|
37
37
|
hoverBg: c + ".30",
|
|
38
38
|
activeBg: c + ".40",
|
|
39
39
|
bg: c + ".20",
|
|
@@ -41,18 +41,18 @@ function variantSubtle(props) {
|
|
|
41
41
|
};
|
|
42
42
|
// Special cases
|
|
43
43
|
if (c === 'green') {
|
|
44
|
-
|
|
44
|
+
styles.color = c + ".90";
|
|
45
45
|
}
|
|
46
46
|
if (c === 'grey') {
|
|
47
|
-
|
|
47
|
+
styles.color = "prussian.80";
|
|
48
48
|
}
|
|
49
49
|
if (c === 'red') {
|
|
50
|
-
|
|
50
|
+
styles.color = c + ".90";
|
|
51
51
|
}
|
|
52
52
|
if (c === 'yellow') {
|
|
53
|
-
|
|
53
|
+
styles.color = c + ".100";
|
|
54
54
|
}
|
|
55
|
-
return
|
|
55
|
+
return styles;
|
|
56
56
|
}
|
|
57
57
|
function variantText(props) {
|
|
58
58
|
var c = props.colorScheme;
|
package/link/link.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LinkProps, LinkStyleProps } from './link.types';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const LinkBase: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {
|
|
3
3
|
[x: string]: {};
|
|
4
4
|
} & LinkStyleProps, never>;
|
|
5
5
|
export declare const Link: import("styled-components").StyledComponent<"a", never, LinkProps, never>;
|
package/link/link.js
CHANGED
|
@@ -29,7 +29,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
29
29
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
30
|
};
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
exports.Link = exports.
|
|
32
|
+
exports.Link = exports.LinkBase = void 0;
|
|
33
33
|
var styled_components_1 = require("@xstyled/styled-components");
|
|
34
34
|
var react_1 = __importDefault(require("react"));
|
|
35
35
|
var styled_components_2 = __importDefault(require("styled-components"));
|
|
@@ -37,9 +37,9 @@ var core_1 = require("../core");
|
|
|
37
37
|
var system_1 = require("../system");
|
|
38
38
|
var utils_1 = require("../utils");
|
|
39
39
|
var generator = styled_components_1.compose(styled_components_1.borders, system_1.isTruncated, styled_components_1.sizing, styled_components_1.space, styled_components_1.transitions, styled_components_1.typography);
|
|
40
|
-
exports.
|
|
40
|
+
exports.LinkBase = styled_components_2.default.a.withConfig({
|
|
41
41
|
shouldForwardProp: core_1.shouldForwardProp(generator.meta.props)
|
|
42
|
-
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\talign-items: center;\n\tcursor: pointer;\n\tdisplay: inline-flex;\n\toutline: none;\n\ttext-decoration: none;\n\ttransition: all 0s ease-in-out;\n\n\t", "\n"], ["\n\talign-items: center;\n\tcursor: pointer;\n\tdisplay: inline-flex;\n\toutline: none;\n\ttext-decoration: none;\n\ttransition: all 0s ease-in-out;\n\n\t", "\n"])), generator);
|
|
42
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\talign-items: center;\n\tcursor: pointer;\n\tdisplay: inline-flex;\n\toutline: none;\n\ttext-decoration: none;\n\ttransition: all 0s ease-in-out;\n\twidth: fit-content;\n\n\t", "\n"], ["\n\talign-items: center;\n\tcursor: pointer;\n\tdisplay: inline-flex;\n\toutline: none;\n\ttext-decoration: none;\n\ttransition: all 0s ease-in-out;\n\twidth: fit-content;\n\n\t", "\n"])), generator);
|
|
43
43
|
exports.Link = core_1.forwardRef(function (props, ref) {
|
|
44
44
|
var _a = core_1.omitThemingProps(props), className = _a.className, decoration = _a.decoration, _b = _a.hoverDecoration, hoverDecoration = _b === void 0 ? 'underline' : _b, isExternal = _a.isExternal, weight = _a.weight, rest = __rest(_a, ["className", "decoration", "hoverDecoration", "isExternal", "weight"]);
|
|
45
45
|
var styles = core_1.useStyleConfig('Link', props);
|
|
@@ -50,7 +50,7 @@ exports.Link = core_1.forwardRef(function (props, ref) {
|
|
|
50
50
|
target: isExternal ? '_blank' : undefined,
|
|
51
51
|
textDecoration: decoration
|
|
52
52
|
});
|
|
53
|
-
return (react_1.default.createElement(exports.
|
|
53
|
+
return (react_1.default.createElement(exports.LinkBase, __assign({ borderRadius: "sm", className: utils_1.cs('vui-link', className), focusRing: 2, ref: ref, transitionDuration: "instant" }, styles, aliasedProps, rest)));
|
|
54
54
|
});
|
|
55
55
|
exports.Link.displayName = 'Link';
|
|
56
56
|
exports.default = exports.Link;
|
package/link/link.types.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { BordersProps, IsTruncatedProps, SizingProps, SpaceProps, TextDecoration
|
|
|
3
3
|
import { FontWeight, ThemingProps, VuiTheme } from '../theme';
|
|
4
4
|
import { AnyString } from '../utils';
|
|
5
5
|
export interface LinkProps extends Omit<HTMLAttributes<HTMLAnchorElement>, 'color'>, LinkStyleProps, ThemingProps<'Link'> {
|
|
6
|
+
colorScheme?: 'blue' | 'prussian';
|
|
6
7
|
decoration?: TextDecorationProps['textDecoration'];
|
|
7
8
|
hoverDecoration?: TextDecorationProps['textDecoration'];
|
|
8
9
|
isExternal?: boolean;
|
package/link/theme.d.ts
CHANGED
|
@@ -1,6 +1,30 @@
|
|
|
1
|
+
import { Dict } from '../utils';
|
|
2
|
+
declare function variantDefault(props: Dict): {
|
|
3
|
+
color: string;
|
|
4
|
+
hoverColor: string;
|
|
5
|
+
};
|
|
1
6
|
declare const _default: {
|
|
2
|
-
defaultProps: {
|
|
3
|
-
|
|
4
|
-
|
|
7
|
+
defaultProps: {
|
|
8
|
+
colorScheme: string;
|
|
9
|
+
size: string;
|
|
10
|
+
variant: string;
|
|
11
|
+
};
|
|
12
|
+
sizes: {
|
|
13
|
+
xs: {
|
|
14
|
+
fontSize: string;
|
|
15
|
+
};
|
|
16
|
+
sm: {
|
|
17
|
+
fontSize: string;
|
|
18
|
+
};
|
|
19
|
+
md: {
|
|
20
|
+
fontSize: string;
|
|
21
|
+
};
|
|
22
|
+
lg: {
|
|
23
|
+
fontSize: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
variants: {
|
|
27
|
+
default: typeof variantDefault;
|
|
28
|
+
};
|
|
5
29
|
};
|
|
6
30
|
export default _default;
|
package/link/theme.js
CHANGED
|
@@ -1,8 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
function variantDefault(props) {
|
|
4
|
+
var c = props.colorScheme;
|
|
5
|
+
var styles = {
|
|
6
|
+
color: c + ".80",
|
|
7
|
+
hoverColor: c + ".60"
|
|
8
|
+
};
|
|
9
|
+
return styles;
|
|
10
|
+
}
|
|
11
|
+
var defaultProps = {
|
|
12
|
+
colorScheme: 'blue',
|
|
13
|
+
size: 'md',
|
|
14
|
+
variant: 'default'
|
|
15
|
+
};
|
|
16
|
+
var sizes = {
|
|
17
|
+
xs: {
|
|
18
|
+
fontSize: 'xs'
|
|
19
|
+
},
|
|
20
|
+
sm: {
|
|
21
|
+
fontSize: 'sm'
|
|
22
|
+
},
|
|
23
|
+
md: {
|
|
24
|
+
fontSize: 'md'
|
|
25
|
+
},
|
|
26
|
+
lg: {
|
|
27
|
+
fontSize: 'lg'
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
var variants = {
|
|
31
|
+
default: variantDefault
|
|
32
|
+
};
|
|
6
33
|
exports.default = {
|
|
7
34
|
defaultProps: defaultProps,
|
|
8
35
|
sizes: sizes,
|
package/list/context.js
CHANGED
|
@@ -18,6 +18,6 @@ var __read = (this && this.__read) || function (o, n) {
|
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
19
|
exports.useList = exports.ListProvider = void 0;
|
|
20
20
|
var core_1 = require("../core");
|
|
21
|
-
var _a = __read(core_1.createContext(), 2), ListProvider = _a[0], useList = _a[1];
|
|
21
|
+
var _a = __read(core_1.createContext({ isOptional: true }), 2), ListProvider = _a[0], useList = _a[1];
|
|
22
22
|
exports.ListProvider = ListProvider;
|
|
23
23
|
exports.useList = useList;
|
package/list/index.d.ts
CHANGED
package/list/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
};
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.default = void 0;
|
|
17
|
+
__exportStar(require("./context"), exports);
|
|
17
18
|
__exportStar(require("./list"), exports);
|
|
18
19
|
__exportStar(require("./list.types"), exports);
|
|
19
20
|
__exportStar(require("./listItem"), exports);
|
package/list/list.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ListProps, ListStyleProps } from './list.types';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const ListBase: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {
|
|
3
3
|
[x: string]: {};
|
|
4
4
|
} & ListStyleProps, never>;
|
|
5
5
|
export declare const List: import("styled-components").StyledComponent<"ul", never, ListProps, never>;
|
package/list/list.js
CHANGED
|
@@ -48,7 +48,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
48
48
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
49
|
};
|
|
50
50
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
-
exports.List = exports.
|
|
51
|
+
exports.List = exports.ListBase = void 0;
|
|
52
52
|
var styled_components_1 = require("@xstyled/styled-components");
|
|
53
53
|
var react_1 = __importStar(require("react"));
|
|
54
54
|
var styled_components_2 = __importDefault(require("styled-components"));
|
|
@@ -57,7 +57,7 @@ var listItem_1 = __importDefault(require("./listItem"));
|
|
|
57
57
|
var core_1 = require("../core");
|
|
58
58
|
var utils_1 = require("../utils");
|
|
59
59
|
var generator = styled_components_1.compose(styled_components_1.sizing, styled_components_1.space, styled_components_1.typography);
|
|
60
|
-
exports.
|
|
60
|
+
exports.ListBase = styled_components_2.default.ul.withConfig({
|
|
61
61
|
shouldForwardProp: core_1.shouldForwardProp(generator.meta.props)
|
|
62
62
|
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t", "\n"], ["\n\t", "\n"])), generator);
|
|
63
63
|
exports.List = core_1.forwardRef(function (props, ref) {
|
|
@@ -71,7 +71,7 @@ exports.List = core_1.forwardRef(function (props, ref) {
|
|
|
71
71
|
]);
|
|
72
72
|
var listStyleType = props.as === 'ol' ? 'decimal' : 'disc';
|
|
73
73
|
return (react_1.default.createElement(context_1.ListProvider, { value: context },
|
|
74
|
-
react_1.default.createElement(exports.
|
|
74
|
+
react_1.default.createElement(exports.ListBase, __assign({ className: utils_1.cs('vui-list', className), listStyleType: listStyleType, ref: ref }, styles.list, rest),
|
|
75
75
|
subheader && (react_1.default.createElement(listItem_1.default, { className: "vui-listSubheader", color: "grey.80", fontSize: "sm", fontWeight: "medium" }, subheader)),
|
|
76
76
|
children)));
|
|
77
77
|
});
|
package/list/list.types.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { SizingProps, SpaceProps, TransitionsProps, TypographyProps } from '../s
|
|
|
3
3
|
import { ThemingProps } from '../theme';
|
|
4
4
|
export interface ListProps extends Omit<HTMLAttributes<HTMLUListElement>, 'color'>, ListStyleProps, ThemingProps<'List'> {
|
|
5
5
|
colorScheme?: 'blue' | 'grey';
|
|
6
|
+
disabled?: boolean;
|
|
6
7
|
isInteractive?: boolean;
|
|
7
8
|
subheader?: string;
|
|
8
9
|
}
|