@veracity/vui 0.0.8 → 0.0.10
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/alert/alertTitle.js +2 -2
- package/avatar/avatar.d.ts +3 -4
- package/avatar/avatar.js +2 -2
- package/avatar/avatar.types.d.ts +2 -6
- package/box/box.d.ts +3 -4
- package/box/box.js +3 -4
- package/box/box.types.d.ts +2 -4
- package/button/button.d.ts +3 -4
- package/button/button.js +5 -6
- package/button/button.types.d.ts +4 -6
- package/button/buttonGroup.d.ts +3 -2
- package/button/buttonGroup.js +3 -4
- package/button/buttonGroup.types.d.ts +2 -4
- package/button/buttons.d.ts +8 -5
- package/button/buttons.js +4 -2
- package/button/theme.d.ts +7 -0
- package/button/theme.js +18 -0
- package/checkbox/checkbox.d.ts +3 -2
- package/checkbox/checkbox.js +5 -7
- package/checkbox/checkbox.types.d.ts +4 -6
- package/checkbox/checkboxGroup.d.ts +3 -2
- package/checkbox/checkboxGroup.js +3 -4
- package/checkbox/checkboxGroup.types.d.ts +2 -4
- package/core/types/component.d.ts +1 -4
- package/core/vuiProvider.js +1 -1
- package/divider/divider.d.ts +3 -2
- package/divider/divider.js +3 -4
- package/divider/divider.types.d.ts +2 -4
- package/heading/heading.d.ts +3 -4
- package/heading/heading.js +4 -6
- package/heading/heading.types.d.ts +3 -4
- package/heading/headings.d.ts +7 -6
- package/{icon/icons/cui/cuiRadioSelected.d.ts → icons/baseIcons/fal/falSignIn.d.ts} +1 -1
- package/icons/baseIcons/fal/falSignIn.js +7 -0
- package/icons/baseIcons/types.d.ts +1 -1
- package/input/input.d.ts +4 -5
- package/input/input.js +2 -2
- package/input/input.types.d.ts +2 -4
- package/label/label.d.ts +3 -4
- package/label/label.js +3 -5
- package/label/label.types.d.ts +3 -5
- package/link/link.d.ts +3 -4
- package/link/link.js +4 -6
- package/link/link.types.d.ts +3 -4
- package/list/list.d.ts +5 -2
- package/list/list.js +7 -6
- package/list/list.types.d.ts +3 -5
- package/list/listHeading.d.ts +3 -0
- package/list/listHeading.js +30 -0
- package/list/listItem.d.ts +3 -2
- package/list/listItem.js +5 -7
- package/list/listItem.types.d.ts +3 -4
- package/list/theme.js +1 -1
- package/p/p.d.ts +3 -4
- package/p/p.js +4 -6
- package/p/p.types.d.ts +3 -4
- package/package.json +4 -1
- package/radio/radio.d.ts +3 -2
- package/radio/radio.js +5 -7
- package/radio/radio.types.d.ts +4 -6
- package/radio/radioGroup.d.ts +3 -2
- package/radio/radioGroup.js +3 -4
- package/radio/radioGroup.types.d.ts +2 -4
- package/skeleton/skeleton.d.ts +3 -2
- package/skeleton/skeleton.js +3 -4
- package/skeleton/skeleton.types.d.ts +2 -4
- package/spinner/consts.d.ts +3 -1
- package/spinner/consts.js +7 -2
- package/spinner/spinner.js +8 -7
- package/spinner/spinner.types.d.ts +2 -2
- package/spinner/theme.d.ts +0 -1
- package/spinner/theme.js +2 -3
- package/svg/svg.d.ts +4 -3
- package/svg/svg.js +3 -4
- package/svg/svg.types.d.ts +2 -11
- package/switch/switch.d.ts +3 -2
- package/switch/switch.js +3 -4
- package/switch/switch.types.d.ts +2 -4
- package/switch/switchButton.d.ts +5 -4
- package/switch/switchButton.js +6 -9
- package/switch/switchButton.types.d.ts +2 -8
- package/system/animations.d.ts +9 -7
- package/system/backgrounds.d.ts +8 -8
- package/system/borders.d.ts +138 -129
- package/system/colors.d.ts +1 -2
- package/system/effects.d.ts +15 -12
- package/system/flexboxes.d.ts +43 -54
- package/system/index.d.ts +2 -0
- package/system/index.js +7 -0
- package/system/interactivity.d.ts +17 -23
- package/system/layout.d.ts +69 -74
- package/system/sizing.d.ts +27 -27
- package/system/space.d.ts +89 -87
- package/system/system.d.ts +17 -0
- package/system/system.js +5 -0
- package/system/transforms.d.ts +53 -53
- package/system/transitions.d.ts +20 -25
- package/system/typography.d.ts +68 -61
- package/t/t.d.ts +3 -4
- package/t/t.js +4 -6
- package/t/t.types.d.ts +3 -4
- package/textarea/textarea.d.ts +3 -4
- package/textarea/textarea.js +3 -4
- package/textarea/textarea.types.d.ts +2 -4
- package/theme/components.d.ts +6 -1
- package/theme/defaultTheme.d.ts +6 -1
- package/theme/index.d.ts +3 -0
- package/theme/index.js +7 -0
- package/tile/tile.types.d.ts +2 -4
- package/controlLabel/controlLabel.d.ts +0 -6
- package/controlLabel/controlLabel.js +0 -55
- package/controlLabel/controlLabel.types.d.ts +0 -10
- package/controlLabel/controlLabel.types.js +0 -2
- package/controlLabel/index.d.ts +0 -3
- package/controlLabel/index.js +0 -20
- package/controlLabel/theme.d.ts +0 -11
- package/controlLabel/theme.js +0 -15
- package/core/types.d.ts +0 -37
- package/core/types.js +0 -3
- package/icon/icons/cui/cuiCheckboxIndeterminate.d.ts +0 -3
- package/icon/icons/cui/cuiCheckboxIndeterminate.js +0 -8
- package/icon/icons/cui/cuiCheckboxSelected.d.ts +0 -3
- package/icon/icons/cui/cuiCheckboxSelected.js +0 -8
- package/icon/icons/cui/cuiCheckboxUnselected.d.ts +0 -3
- package/icon/icons/cui/cuiCheckboxUnselected.js +0 -8
- package/icon/icons/cui/cuiRadioSelected.js +0 -8
- package/icon/icons/cui/cuiRadioUnselected.d.ts +0 -3
- package/icon/icons/cui/cuiRadioUnselected.js +0 -8
- package/icon/icons/cul/culCovid.d.ts +0 -3
- package/icon/icons/cul/culCovid.js +0 -7
- package/icon/icons/cul/culDeepSearch.d.ts +0 -3
- package/icon/icons/cul/culDeepSearch.js +0 -7
- package/icon/icons/cul/culDotsMenu.d.ts +0 -3
- package/icon/icons/cul/culDotsMenu.js +0 -7
- package/icon/icons/cul/culGlobePlus.d.ts +0 -3
- package/icon/icons/cul/culGlobePlus.js +0 -7
- package/icon/icons/cul/culListDense.d.ts +0 -3
- package/icon/icons/cul/culListDense.js +0 -7
- package/icon/icons/cul/culMapMarkerStar.d.ts +0 -3
- package/icon/icons/cul/culMapMarkerStar.js +0 -7
- package/icon/icons/cul/culPlusThin.d.ts +0 -3
- package/icon/icons/cul/culPlusThin.js +0 -7
- package/icon/icons/cul/culScreenshot.d.ts +0 -3
- package/icon/icons/cul/culScreenshot.js +0 -7
- package/icon/icons/cul/culScreenshotAlt.d.ts +0 -3
- package/icon/icons/cul/culScreenshotAlt.js +0 -7
- package/icon/icons/cul/culShortcut.d.ts +0 -3
- package/icon/icons/cul/culShortcut.js +0 -7
- package/icon/icons/cul/culTimesThin.d.ts +0 -3
- package/icon/icons/cul/culTimesThin.js +0 -7
- package/icon/icons/cul/culTransformer.d.ts +0 -3
- package/icon/icons/cul/culTransformer.js +0 -7
- package/icon/icons/cul/culUserTransfer.d.ts +0 -3
- package/icon/icons/cul/culUserTransfer.js +0 -7
- package/icon/icons/cul/culVessel.d.ts +0 -3
- package/icon/icons/cul/culVessel.js +0 -7
- package/icon/icons/cul/culVesselGroup.d.ts +0 -3
- package/icon/icons/cul/culVesselGroup.js +0 -7
- package/icon/icons/cus/cusCheckboxSelected.d.ts +0 -3
- package/icon/icons/cus/cusCheckboxSelected.js +0 -7
- package/icon/icons/cus/cusDotFull.d.ts +0 -3
- package/icon/icons/cus/cusDotFull.js +0 -7
- package/icon/icons/cus/cusDotFullAlt.d.ts +0 -3
- package/icon/icons/cus/cusDotFullAlt.js +0 -7
- package/icon/icons/cus/cusDotsMenu.d.ts +0 -3
- package/icon/icons/cus/cusDotsMenu.js +0 -7
- package/icon/icons/cus/cusRadio.d.ts +0 -3
- package/icon/icons/cus/cusRadio.js +0 -7
- package/icon/icons/cus/cusSquareMinus.d.ts +0 -3
- package/icon/icons/cus/cusSquareMinus.js +0 -7
- package/icon/icons/cus/cusTransformer.d.ts +0 -3
- package/icon/icons/cus/cusTransformer.js +0 -7
- package/icon/icons/cus/cusVessel.d.ts +0 -3
- package/icon/icons/cus/cusVessel.js +0 -7
- package/icon/icons/fab/fabApplePay.d.ts +0 -3
- package/icon/icons/fab/fabApplePay.js +0 -7
- package/icon/icons/fab/fabBluetooth.d.ts +0 -3
- package/icon/icons/fab/fabBluetooth.js +0 -7
- package/icon/icons/fab/fabBtc.d.ts +0 -3
- package/icon/icons/fab/fabBtc.js +0 -7
- package/icon/icons/fab/fabCcAmazonPay.d.ts +0 -3
- package/icon/icons/fab/fabCcAmazonPay.js +0 -7
- package/icon/icons/fab/fabCcAmex.d.ts +0 -3
- package/icon/icons/fab/fabCcAmex.js +0 -7
- package/icon/icons/fab/fabCcApplePay.d.ts +0 -3
- package/icon/icons/fab/fabCcApplePay.js +0 -7
- package/icon/icons/fab/fabCcDinersClub.d.ts +0 -3
- package/icon/icons/fab/fabCcDinersClub.js +0 -7
- package/icon/icons/fab/fabCcMastercard.d.ts +0 -3
- package/icon/icons/fab/fabCcMastercard.js +0 -7
- package/icon/icons/fab/fabCcPaypal.d.ts +0 -3
- package/icon/icons/fab/fabCcPaypal.js +0 -7
- package/icon/icons/fab/fabCcVisa.d.ts +0 -3
- package/icon/icons/fab/fabCcVisa.js +0 -7
- package/icon/icons/fab/fabDhl.d.ts +0 -3
- package/icon/icons/fab/fabDhl.js +0 -7
- package/icon/icons/fab/fabEbay.d.ts +0 -3
- package/icon/icons/fab/fabEbay.js +0 -7
- package/icon/icons/fab/fabFacebook.d.ts +0 -3
- package/icon/icons/fab/fabFacebook.js +0 -7
- package/icon/icons/fab/fabFedex.d.ts +0 -3
- package/icon/icons/fab/fabFedex.js +0 -7
- package/icon/icons/fab/fabFirefox.d.ts +0 -3
- package/icon/icons/fab/fabFirefox.js +0 -7
- package/icon/icons/fab/fabGoogle.d.ts +0 -3
- package/icon/icons/fab/fabGoogle.js +0 -7
- package/icon/icons/fab/fabGoogleDrive.d.ts +0 -3
- package/icon/icons/fab/fabGoogleDrive.js +0 -7
- package/icon/icons/fab/fabLinkedinIn.d.ts +0 -3
- package/icon/icons/fab/fabLinkedinIn.js +0 -7
- package/icon/icons/fab/fabMedium.d.ts +0 -3
- package/icon/icons/fab/fabMedium.js +0 -7
- package/icon/icons/fab/fabOsi.d.ts +0 -3
- package/icon/icons/fab/fabOsi.js +0 -7
- package/icon/icons/fab/fabSlack.d.ts +0 -3
- package/icon/icons/fab/fabSlack.js +0 -7
- package/icon/icons/fab/fabTwitter.d.ts +0 -3
- package/icon/icons/fab/fabTwitter.js +0 -7
- package/icon/icons/fab/fabUps.d.ts +0 -3
- package/icon/icons/fab/fabUps.js +0 -7
- package/icon/icons/fal/falAddressBook.d.ts +0 -3
- package/icon/icons/fal/falAddressBook.js +0 -7
- package/icon/icons/fal/falAddressCard.d.ts +0 -3
- package/icon/icons/fal/falAddressCard.js +0 -7
- package/icon/icons/fal/falAnalytics.d.ts +0 -3
- package/icon/icons/fal/falAnalytics.js +0 -7
- package/icon/icons/fal/falAngleDoubleDown.d.ts +0 -3
- package/icon/icons/fal/falAngleDoubleDown.js +0 -7
- package/icon/icons/fal/falAngleDoubleLeft.d.ts +0 -3
- package/icon/icons/fal/falAngleDoubleLeft.js +0 -7
- package/icon/icons/fal/falAngleDoubleRight.d.ts +0 -3
- package/icon/icons/fal/falAngleDoubleRight.js +0 -7
- package/icon/icons/fal/falAngleDoubleUp.d.ts +0 -3
- package/icon/icons/fal/falAngleDoubleUp.js +0 -7
- package/icon/icons/fal/falAngleDown.d.ts +0 -3
- package/icon/icons/fal/falAngleDown.js +0 -7
- package/icon/icons/fal/falAngleLeft.d.ts +0 -3
- package/icon/icons/fal/falAngleLeft.js +0 -7
- package/icon/icons/fal/falAngleRight.d.ts +0 -3
- package/icon/icons/fal/falAngleRight.js +0 -7
- package/icon/icons/fal/falAngleUp.d.ts +0 -3
- package/icon/icons/fal/falAngleUp.js +0 -7
- package/icon/icons/fal/falArrowAltDown.d.ts +0 -3
- package/icon/icons/fal/falArrowAltDown.js +0 -7
- package/icon/icons/fal/falArrowAltLeft.d.ts +0 -3
- package/icon/icons/fal/falArrowAltLeft.js +0 -7
- package/icon/icons/fal/falArrowAltRight.d.ts +0 -3
- package/icon/icons/fal/falArrowAltRight.js +0 -7
- package/icon/icons/fal/falArrowAltUp.d.ts +0 -3
- package/icon/icons/fal/falArrowAltUp.js +0 -7
- package/icon/icons/fal/falArrowCircleDown.d.ts +0 -3
- package/icon/icons/fal/falArrowCircleDown.js +0 -7
- package/icon/icons/fal/falArrowCircleLeft.d.ts +0 -3
- package/icon/icons/fal/falArrowCircleLeft.js +0 -7
- package/icon/icons/fal/falArrowCircleRight.d.ts +0 -3
- package/icon/icons/fal/falArrowCircleRight.js +0 -7
- package/icon/icons/fal/falArrowCircleUp.d.ts +0 -3
- package/icon/icons/fal/falArrowCircleUp.js +0 -7
- package/icon/icons/fal/falArrowDown.d.ts +0 -3
- package/icon/icons/fal/falArrowDown.js +0 -7
- package/icon/icons/fal/falArrowFromBottom.d.ts +0 -3
- package/icon/icons/fal/falArrowFromBottom.js +0 -7
- package/icon/icons/fal/falArrowFromLeft.d.ts +0 -3
- package/icon/icons/fal/falArrowFromLeft.js +0 -7
- package/icon/icons/fal/falArrowFromRight.d.ts +0 -3
- package/icon/icons/fal/falArrowFromRight.js +0 -7
- package/icon/icons/fal/falArrowFromTop.d.ts +0 -3
- package/icon/icons/fal/falArrowFromTop.js +0 -7
- package/icon/icons/fal/falArrowLeft.d.ts +0 -3
- package/icon/icons/fal/falArrowLeft.js +0 -7
- package/icon/icons/fal/falArrowRight.d.ts +0 -3
- package/icon/icons/fal/falArrowRight.js +0 -7
- package/icon/icons/fal/falArrowToBottom.d.ts +0 -3
- package/icon/icons/fal/falArrowToBottom.js +0 -7
- package/icon/icons/fal/falArrowToLeft.d.ts +0 -3
- package/icon/icons/fal/falArrowToLeft.js +0 -7
- package/icon/icons/fal/falArrowToRight.d.ts +0 -3
- package/icon/icons/fal/falArrowToRight.js +0 -7
- package/icon/icons/fal/falArrowToTop.d.ts +0 -3
- package/icon/icons/fal/falArrowToTop.js +0 -7
- package/icon/icons/fal/falArrowUp.d.ts +0 -3
- package/icon/icons/fal/falArrowUp.js +0 -7
- package/icon/icons/fal/falArrows.d.ts +0 -3
- package/icon/icons/fal/falArrows.js +0 -7
- package/icon/icons/fal/falAward.d.ts +0 -3
- package/icon/icons/fal/falAward.js +0 -7
- package/icon/icons/fal/falBan.d.ts +0 -3
- package/icon/icons/fal/falBan.js +0 -7
- package/icon/icons/fal/falBell.d.ts +0 -3
- package/icon/icons/fal/falBell.js +0 -7
- package/icon/icons/fal/falBookOpen.d.ts +0 -3
- package/icon/icons/fal/falBookOpen.js +0 -7
- package/icon/icons/fal/falBroadcastTower.d.ts +0 -3
- package/icon/icons/fal/falBroadcastTower.js +0 -7
- package/icon/icons/fal/falBuilding.d.ts +0 -3
- package/icon/icons/fal/falBuilding.js +0 -7
- package/icon/icons/fal/falBullseye.d.ts +0 -3
- package/icon/icons/fal/falBullseye.js +0 -7
- package/icon/icons/fal/falCalendar.d.ts +0 -3
- package/icon/icons/fal/falCalendar.js +0 -7
- package/icon/icons/fal/falCalendarAlt.d.ts +0 -3
- package/icon/icons/fal/falCalendarAlt.js +0 -7
- package/icon/icons/fal/falCamera.d.ts +0 -3
- package/icon/icons/fal/falCamera.js +0 -7
- package/icon/icons/fal/falCaretDown.d.ts +0 -3
- package/icon/icons/fal/falCaretDown.js +0 -7
- package/icon/icons/fal/falCaretLeft.d.ts +0 -3
- package/icon/icons/fal/falCaretLeft.js +0 -7
- package/icon/icons/fal/falCaretRight.d.ts +0 -3
- package/icon/icons/fal/falCaretRight.js +0 -7
- package/icon/icons/fal/falCaretUp.d.ts +0 -3
- package/icon/icons/fal/falCaretUp.js +0 -7
- package/icon/icons/fal/falCauldron.d.ts +0 -3
- package/icon/icons/fal/falCauldron.js +0 -7
- package/icon/icons/fal/falChartArea.d.ts +0 -3
- package/icon/icons/fal/falChartArea.js +0 -7
- package/icon/icons/fal/falChartBar.d.ts +0 -3
- package/icon/icons/fal/falChartBar.js +0 -7
- package/icon/icons/fal/falChartLine.d.ts +0 -3
- package/icon/icons/fal/falChartLine.js +0 -7
- package/icon/icons/fal/falChartLineDown.d.ts +0 -3
- package/icon/icons/fal/falChartLineDown.js +0 -7
- package/icon/icons/fal/falChartNetwork.d.ts +0 -3
- package/icon/icons/fal/falChartNetwork.js +0 -7
- package/icon/icons/fal/falChartPie.d.ts +0 -3
- package/icon/icons/fal/falChartPie.js +0 -7
- package/icon/icons/fal/falChartPieAlt.d.ts +0 -3
- package/icon/icons/fal/falChartPieAlt.js +0 -7
- package/icon/icons/fal/falChartScatter.d.ts +0 -3
- package/icon/icons/fal/falChartScatter.js +0 -7
- package/icon/icons/fal/falCheck.d.ts +0 -3
- package/icon/icons/fal/falCheck.js +0 -7
- package/icon/icons/fal/falCheckCircle.d.ts +0 -3
- package/icon/icons/fal/falCheckCircle.js +0 -7
- package/icon/icons/fal/falCheckSquare.d.ts +0 -3
- package/icon/icons/fal/falCheckSquare.js +0 -7
- package/icon/icons/fal/falChevronCircleDown.d.ts +0 -3
- package/icon/icons/fal/falChevronCircleDown.js +0 -7
- package/icon/icons/fal/falChevronCircleLeft.d.ts +0 -3
- package/icon/icons/fal/falChevronCircleLeft.js +0 -7
- package/icon/icons/fal/falChevronCircleRight.d.ts +0 -3
- package/icon/icons/fal/falChevronCircleRight.js +0 -7
- package/icon/icons/fal/falChevronCircleUp.d.ts +0 -3
- package/icon/icons/fal/falChevronCircleUp.js +0 -7
- package/icon/icons/fal/falChevronDoubleDown.d.ts +0 -3
- package/icon/icons/fal/falChevronDoubleDown.js +0 -7
- package/icon/icons/fal/falChevronDoubleLeft.d.ts +0 -3
- package/icon/icons/fal/falChevronDoubleLeft.js +0 -7
- package/icon/icons/fal/falChevronDoubleRight.d.ts +0 -3
- package/icon/icons/fal/falChevronDoubleRight.js +0 -7
- package/icon/icons/fal/falChevronDoubleUp.d.ts +0 -3
- package/icon/icons/fal/falChevronDoubleUp.js +0 -7
- package/icon/icons/fal/falChevronDown.d.ts +0 -3
- package/icon/icons/fal/falChevronDown.js +0 -7
- package/icon/icons/fal/falChevronLeft.d.ts +0 -3
- package/icon/icons/fal/falChevronLeft.js +0 -7
- package/icon/icons/fal/falChevronRight.d.ts +0 -3
- package/icon/icons/fal/falChevronRight.js +0 -7
- package/icon/icons/fal/falChevronUp.d.ts +0 -3
- package/icon/icons/fal/falChevronUp.js +0 -7
- package/icon/icons/fal/falCircle.d.ts +0 -3
- package/icon/icons/fal/falCircle.js +0 -7
- package/icon/icons/fal/falCloud.d.ts +0 -3
- package/icon/icons/fal/falCloud.js +0 -7
- package/icon/icons/fal/falCloudShowersHeavy.d.ts +0 -3
- package/icon/icons/fal/falCloudShowersHeavy.js +0 -7
- package/icon/icons/fal/falCloudSnow.d.ts +0 -3
- package/icon/icons/fal/falCloudSnow.js +0 -7
- package/icon/icons/fal/falCloudSun.d.ts +0 -3
- package/icon/icons/fal/falCloudSun.js +0 -7
- package/icon/icons/fal/falCloudSunRain.d.ts +0 -3
- package/icon/icons/fal/falCloudSunRain.js +0 -7
- package/icon/icons/fal/falCloudUpload.d.ts +0 -3
- package/icon/icons/fal/falCloudUpload.js +0 -7
- package/icon/icons/fal/falCode.d.ts +0 -3
- package/icon/icons/fal/falCode.js +0 -7
- package/icon/icons/fal/falCog.d.ts +0 -3
- package/icon/icons/fal/falCog.js +0 -7
- package/icon/icons/fal/falCogs.d.ts +0 -3
- package/icon/icons/fal/falCogs.js +0 -7
- package/icon/icons/fal/falComment.d.ts +0 -3
- package/icon/icons/fal/falComment.js +0 -7
- package/icon/icons/fal/falCommentAlt.d.ts +0 -3
- package/icon/icons/fal/falCommentAlt.js +0 -7
- package/icon/icons/fal/falCompressAlt.d.ts +0 -3
- package/icon/icons/fal/falCompressAlt.js +0 -7
- package/icon/icons/fal/falCopy.d.ts +0 -3
- package/icon/icons/fal/falCopy.js +0 -7
- package/icon/icons/fal/falCreditCard.d.ts +0 -3
- package/icon/icons/fal/falCreditCard.js +0 -7
- package/icon/icons/fal/falDatabase.d.ts +0 -3
- package/icon/icons/fal/falDatabase.js +0 -7
- package/icon/icons/fal/falDotCircle.d.ts +0 -3
- package/icon/icons/fal/falDotCircle.js +0 -7
- package/icon/icons/fal/falDownload.d.ts +0 -3
- package/icon/icons/fal/falDownload.js +0 -7
- package/icon/icons/fal/falEdit.d.ts +0 -3
- package/icon/icons/fal/falEdit.js +0 -7
- package/icon/icons/fal/falEllipsisH.d.ts +0 -3
- package/icon/icons/fal/falEllipsisH.js +0 -7
- package/icon/icons/fal/falEllipsisV.d.ts +0 -3
- package/icon/icons/fal/falEllipsisV.js +0 -7
- package/icon/icons/fal/falEnvelope.d.ts +0 -3
- package/icon/icons/fal/falEnvelope.js +0 -7
- package/icon/icons/fal/falExchange.d.ts +0 -3
- package/icon/icons/fal/falExchange.js +0 -7
- package/icon/icons/fal/falExclamationCircle.d.ts +0 -3
- package/icon/icons/fal/falExclamationCircle.js +0 -7
- package/icon/icons/fal/falExclamationTriangle.d.ts +0 -3
- package/icon/icons/fal/falExclamationTriangle.js +0 -7
- package/icon/icons/fal/falExpandAlt.d.ts +0 -3
- package/icon/icons/fal/falExpandAlt.js +0 -7
- package/icon/icons/fal/falExternalLink.d.ts +0 -3
- package/icon/icons/fal/falExternalLink.js +0 -7
- package/icon/icons/fal/falEye.d.ts +0 -3
- package/icon/icons/fal/falEye.js +0 -7
- package/icon/icons/fal/falEyeSlash.d.ts +0 -3
- package/icon/icons/fal/falEyeSlash.js +0 -7
- package/icon/icons/fal/falFile.d.ts +0 -3
- package/icon/icons/fal/falFile.js +0 -7
- package/icon/icons/fal/falFileAlt.d.ts +0 -3
- package/icon/icons/fal/falFileAlt.js +0 -7
- package/icon/icons/fal/falFileArchive.d.ts +0 -3
- package/icon/icons/fal/falFileArchive.js +0 -7
- package/icon/icons/fal/falFileAudio.d.ts +0 -3
- package/icon/icons/fal/falFileAudio.js +0 -7
- package/icon/icons/fal/falFileCertificate.d.ts +0 -3
- package/icon/icons/fal/falFileCertificate.js +0 -7
- package/icon/icons/fal/falFileChartLine.d.ts +0 -3
- package/icon/icons/fal/falFileChartLine.js +0 -7
- package/icon/icons/fal/falFileChartPie.d.ts +0 -3
- package/icon/icons/fal/falFileChartPie.js +0 -7
- package/icon/icons/fal/falFileCheck.d.ts +0 -3
- package/icon/icons/fal/falFileCheck.js +0 -7
- package/icon/icons/fal/falFileCode.d.ts +0 -3
- package/icon/icons/fal/falFileCode.js +0 -7
- package/icon/icons/fal/falFileCsv.d.ts +0 -3
- package/icon/icons/fal/falFileCsv.js +0 -7
- package/icon/icons/fal/falFileEdit.d.ts +0 -3
- package/icon/icons/fal/falFileEdit.js +0 -7
- package/icon/icons/fal/falFileExcel.d.ts +0 -3
- package/icon/icons/fal/falFileExcel.js +0 -7
- package/icon/icons/fal/falFileImage.d.ts +0 -3
- package/icon/icons/fal/falFileImage.js +0 -7
- package/icon/icons/fal/falFilePdf.d.ts +0 -3
- package/icon/icons/fal/falFilePdf.js +0 -7
- package/icon/icons/fal/falFilePlus.d.ts +0 -3
- package/icon/icons/fal/falFilePlus.js +0 -7
- package/icon/icons/fal/falFilePowerpoint.d.ts +0 -3
- package/icon/icons/fal/falFilePowerpoint.js +0 -7
- package/icon/icons/fal/falFileSpreadsheet.d.ts +0 -3
- package/icon/icons/fal/falFileSpreadsheet.js +0 -7
- package/icon/icons/fal/falFileVideo.d.ts +0 -3
- package/icon/icons/fal/falFileVideo.js +0 -7
- package/icon/icons/fal/falFileWord.d.ts +0 -3
- package/icon/icons/fal/falFileWord.js +0 -7
- package/icon/icons/fal/falFilter.d.ts +0 -3
- package/icon/icons/fal/falFilter.js +0 -7
- package/icon/icons/fal/falFlag.d.ts +0 -3
- package/icon/icons/fal/falFlag.js +0 -7
- package/icon/icons/fal/falFolder.d.ts +0 -3
- package/icon/icons/fal/falFolder.js +0 -7
- package/icon/icons/fal/falFolderOpen.d.ts +0 -3
- package/icon/icons/fal/falFolderOpen.js +0 -7
- package/icon/icons/fal/falFolderPlus.d.ts +0 -3
- package/icon/icons/fal/falFolderPlus.js +0 -7
- package/icon/icons/fal/falFolders.d.ts +0 -3
- package/icon/icons/fal/falFolders.js +0 -7
- package/icon/icons/fal/falGlassesAlt.d.ts +0 -3
- package/icon/icons/fal/falGlassesAlt.js +0 -7
- package/icon/icons/fal/falGlobe.d.ts +0 -3
- package/icon/icons/fal/falGlobe.js +0 -7
- package/icon/icons/fal/falHome.d.ts +0 -3
- package/icon/icons/fal/falHome.js +0 -7
- package/icon/icons/fal/falHourglass.d.ts +0 -3
- package/icon/icons/fal/falHourglass.js +0 -7
- package/icon/icons/fal/falImage.d.ts +0 -3
- package/icon/icons/fal/falImage.js +0 -7
- package/icon/icons/fal/falInfoCircle.d.ts +0 -3
- package/icon/icons/fal/falInfoCircle.js +0 -7
- package/icon/icons/fal/falKey.d.ts +0 -3
- package/icon/icons/fal/falKey.js +0 -7
- package/icon/icons/fal/falLayerPlus.d.ts +0 -3
- package/icon/icons/fal/falLayerPlus.js +0 -7
- package/icon/icons/fal/falLink.d.ts +0 -3
- package/icon/icons/fal/falLink.js +0 -7
- package/icon/icons/fal/falList.d.ts +0 -3
- package/icon/icons/fal/falList.js +0 -7
- package/icon/icons/fal/falLockAlt.d.ts +0 -3
- package/icon/icons/fal/falLockAlt.js +0 -7
- package/icon/icons/fal/falLongArrowDown.d.ts +0 -3
- package/icon/icons/fal/falLongArrowDown.js +0 -7
- package/icon/icons/fal/falLongArrowLeft.d.ts +0 -3
- package/icon/icons/fal/falLongArrowLeft.js +0 -7
- package/icon/icons/fal/falLongArrowRight.d.ts +0 -3
- package/icon/icons/fal/falLongArrowRight.js +0 -7
- package/icon/icons/fal/falLongArrowUp.d.ts +0 -3
- package/icon/icons/fal/falLongArrowUp.js +0 -7
- package/icon/icons/fal/falMap.d.ts +0 -3
- package/icon/icons/fal/falMap.js +0 -7
- package/icon/icons/fal/falMapMarked.d.ts +0 -3
- package/icon/icons/fal/falMapMarked.js +0 -7
- package/icon/icons/fal/falMapMarkedAlt.d.ts +0 -3
- package/icon/icons/fal/falMapMarkedAlt.js +0 -7
- package/icon/icons/fal/falMapMarker.d.ts +0 -3
- package/icon/icons/fal/falMapMarker.js +0 -7
- package/icon/icons/fal/falMapMarkerAlt.d.ts +0 -3
- package/icon/icons/fal/falMapMarkerAlt.js +0 -7
- package/icon/icons/fal/falMapMarkerAltSlash.d.ts +0 -3
- package/icon/icons/fal/falMapMarkerAltSlash.js +0 -7
- package/icon/icons/fal/falMapMarkerCheck.d.ts +0 -3
- package/icon/icons/fal/falMapMarkerCheck.js +0 -7
- package/icon/icons/fal/falMapMarkerExclamation.d.ts +0 -3
- package/icon/icons/fal/falMapMarkerExclamation.js +0 -7
- package/icon/icons/fal/falMinus.d.ts +0 -3
- package/icon/icons/fal/falMinus.js +0 -7
- package/icon/icons/fal/falPause.d.ts +0 -3
- package/icon/icons/fal/falPause.js +0 -7
- package/icon/icons/fal/falPauseCircle.d.ts +0 -3
- package/icon/icons/fal/falPauseCircle.js +0 -7
- package/icon/icons/fal/falPen.d.ts +0 -3
- package/icon/icons/fal/falPen.js +0 -7
- package/icon/icons/fal/falPlay.d.ts +0 -3
- package/icon/icons/fal/falPlay.js +0 -7
- package/icon/icons/fal/falPlayCircle.d.ts +0 -3
- package/icon/icons/fal/falPlayCircle.js +0 -7
- package/icon/icons/fal/falPlug.d.ts +0 -3
- package/icon/icons/fal/falPlug.js +0 -7
- package/icon/icons/fal/falPlus.d.ts +0 -3
- package/icon/icons/fal/falPlus.js +0 -7
- package/icon/icons/fal/falPlusCircle.d.ts +0 -3
- package/icon/icons/fal/falPlusCircle.js +0 -7
- package/icon/icons/fal/falPlusSquare.d.ts +0 -3
- package/icon/icons/fal/falPlusSquare.js +0 -7
- package/icon/icons/fal/falPrint.d.ts +0 -3
- package/icon/icons/fal/falPrint.js +0 -7
- package/icon/icons/fal/falPuzzlePiece.d.ts +0 -3
- package/icon/icons/fal/falPuzzlePiece.js +0 -7
- package/icon/icons/fal/falReceipt.d.ts +0 -3
- package/icon/icons/fal/falReceipt.js +0 -7
- package/icon/icons/fal/falRedo.d.ts +0 -3
- package/icon/icons/fal/falRedo.js +0 -7
- package/icon/icons/fal/falSave.d.ts +0 -3
- package/icon/icons/fal/falSave.js +0 -7
- package/icon/icons/fal/falSearch.d.ts +0 -3
- package/icon/icons/fal/falSearch.js +0 -7
- package/icon/icons/fal/falSearchPlus.d.ts +0 -3
- package/icon/icons/fal/falSearchPlus.js +0 -7
- package/icon/icons/fal/falServer.d.ts +0 -3
- package/icon/icons/fal/falServer.js +0 -7
- package/icon/icons/fal/falShare.d.ts +0 -3
- package/icon/icons/fal/falShare.js +0 -7
- package/icon/icons/fal/falShareAll.d.ts +0 -3
- package/icon/icons/fal/falShareAll.js +0 -7
- package/icon/icons/fal/falShareAlt.d.ts +0 -3
- package/icon/icons/fal/falShareAlt.js +0 -7
- package/icon/icons/fal/falShieldAlt.d.ts +0 -3
- package/icon/icons/fal/falShieldAlt.js +0 -7
- package/icon/icons/fal/falShieldCheck.d.ts +0 -3
- package/icon/icons/fal/falShieldCheck.js +0 -7
- package/icon/icons/fal/falShip.d.ts +0 -3
- package/icon/icons/fal/falShip.js +0 -7
- package/icon/icons/fal/falShoppingBasket.d.ts +0 -3
- package/icon/icons/fal/falShoppingBasket.js +0 -7
- package/icon/icons/fal/falSignInAlt.d.ts +0 -3
- package/icon/icons/fal/falSignInAlt.js +0 -7
- package/icon/icons/fal/falSignOut.d.ts +0 -3
- package/icon/icons/fal/falSignOut.js +0 -7
- package/icon/icons/fal/falSignOutAlt.d.ts +0 -3
- package/icon/icons/fal/falSignOutAlt.js +0 -7
- package/icon/icons/fal/falSlidersV.d.ts +0 -3
- package/icon/icons/fal/falSlidersV.js +0 -7
- package/icon/icons/fal/falSnowBlowing.d.ts +0 -3
- package/icon/icons/fal/falSnowBlowing.js +0 -7
- package/icon/icons/fal/falSnowflake.d.ts +0 -3
- package/icon/icons/fal/falSnowflake.js +0 -7
- package/icon/icons/fal/falSolarPanel.d.ts +0 -3
- package/icon/icons/fal/falSolarPanel.js +0 -7
- package/icon/icons/fal/falSort.d.ts +0 -3
- package/icon/icons/fal/falSort.js +0 -7
- package/icon/icons/fal/falSpinner.d.ts +0 -3
- package/icon/icons/fal/falSpinner.js +0 -7
- package/icon/icons/fal/falSquare.d.ts +0 -3
- package/icon/icons/fal/falSquare.js +0 -7
- package/icon/icons/fal/falStepForward.d.ts +0 -3
- package/icon/icons/fal/falStepForward.js +0 -7
- package/icon/icons/fal/falStop.d.ts +0 -3
- package/icon/icons/fal/falStop.js +0 -7
- package/icon/icons/fal/falStopCircle.d.ts +0 -3
- package/icon/icons/fal/falStopCircle.js +0 -7
- package/icon/icons/fal/falStopwatch.d.ts +0 -3
- package/icon/icons/fal/falStopwatch.js +0 -7
- package/icon/icons/fal/falSuitcase.d.ts +0 -3
- package/icon/icons/fal/falSuitcase.js +0 -7
- package/icon/icons/fal/falSun.d.ts +0 -3
- package/icon/icons/fal/falSun.js +0 -7
- package/icon/icons/fal/falSync.d.ts +0 -3
- package/icon/icons/fal/falSync.js +0 -7
- package/icon/icons/fal/falTachometer.d.ts +0 -3
- package/icon/icons/fal/falTachometer.js +0 -7
- package/icon/icons/fal/falTemperatureHigh.d.ts +0 -3
- package/icon/icons/fal/falTemperatureHigh.js +0 -7
- package/icon/icons/fal/falTh.d.ts +0 -3
- package/icon/icons/fal/falTh.js +0 -7
- package/icon/icons/fal/falThLarge.d.ts +0 -3
- package/icon/icons/fal/falThLarge.js +0 -7
- package/icon/icons/fal/falThList.d.ts +0 -3
- package/icon/icons/fal/falThList.js +0 -7
- package/icon/icons/fal/falTimes.d.ts +0 -3
- package/icon/icons/fal/falTimes.js +0 -7
- package/icon/icons/fal/falTimesCircle.d.ts +0 -3
- package/icon/icons/fal/falTimesCircle.js +0 -7
- package/icon/icons/fal/falToggleOff.d.ts +0 -3
- package/icon/icons/fal/falToggleOff.js +0 -7
- package/icon/icons/fal/falToggleOn.d.ts +0 -3
- package/icon/icons/fal/falToggleOn.js +0 -7
- package/icon/icons/fal/falTrashAlt.d.ts +0 -3
- package/icon/icons/fal/falTrashAlt.js +0 -7
- package/icon/icons/fal/falUnlockAlt.d.ts +0 -3
- package/icon/icons/fal/falUnlockAlt.js +0 -7
- package/icon/icons/fal/falUser.d.ts +0 -3
- package/icon/icons/fal/falUser.js +0 -7
- package/icon/icons/fal/falUserChart.d.ts +0 -3
- package/icon/icons/fal/falUserChart.js +0 -7
- package/icon/icons/fal/falUserCircle.d.ts +0 -3
- package/icon/icons/fal/falUserCircle.js +0 -7
- package/icon/icons/fal/falUserCog.d.ts +0 -3
- package/icon/icons/fal/falUserCog.js +0 -7
- package/icon/icons/fal/falUserEdit.d.ts +0 -3
- package/icon/icons/fal/falUserEdit.js +0 -7
- package/icon/icons/fal/falUserFriends.d.ts +0 -3
- package/icon/icons/fal/falUserFriends.js +0 -7
- package/icon/icons/fal/falUserPlus.d.ts +0 -3
- package/icon/icons/fal/falUserPlus.js +0 -7
- package/icon/icons/fal/falUserShield.d.ts +0 -3
- package/icon/icons/fal/falUserShield.js +0 -7
- package/icon/icons/fal/falUserTimes.d.ts +0 -3
- package/icon/icons/fal/falUserTimes.js +0 -7
- package/icon/icons/fal/falUsers.d.ts +0 -3
- package/icon/icons/fal/falUsers.js +0 -7
- package/icon/icons/fal/falUsersClass.d.ts +0 -3
- package/icon/icons/fal/falUsersClass.js +0 -7
- package/icon/icons/fal/falWater.d.ts +0 -3
- package/icon/icons/fal/falWater.js +0 -7
- package/icon/icons/fal/falWind.d.ts +0 -3
- package/icon/icons/fal/falWind.js +0 -7
- package/icon/icons/fal/falWindTurbine.d.ts +0 -3
- package/icon/icons/fal/falWindTurbine.js +0 -7
- package/icon/icons/fal/falWrench.d.ts +0 -3
- package/icon/icons/fal/falWrench.js +0 -7
- package/icon/icons/fas/fasCaretDown.d.ts +0 -3
- package/icon/icons/fas/fasCaretDown.js +0 -7
- package/icon/icons/fas/fasCaretLeft.d.ts +0 -3
- package/icon/icons/fas/fasCaretLeft.js +0 -7
- package/icon/icons/fas/fasCaretRight.d.ts +0 -3
- package/icon/icons/fas/fasCaretRight.js +0 -7
- package/icon/icons/fas/fasCaretUp.d.ts +0 -3
- package/icon/icons/fas/fasCaretUp.js +0 -7
- package/icon/icons/fas/fasDiamond.d.ts +0 -3
- package/icon/icons/fas/fasDiamond.js +0 -7
- package/icon/icons/fas/fasFolder.d.ts +0 -3
- package/icon/icons/fas/fasFolder.js +0 -7
- package/icon/icons/fas/fasMapMarkerAlt.d.ts +0 -3
- package/icon/icons/fas/fasMapMarkerAlt.js +0 -7
- package/icon/icons/fas/fasMapMarkerExclamation.d.ts +0 -3
- package/icon/icons/fas/fasMapMarkerExclamation.js +0 -7
- package/icon/icons/fas/fasQuoteLeft.d.ts +0 -3
- package/icon/icons/fas/fasQuoteLeft.js +0 -7
- package/icon/icons/fas/fasQuoteRight.d.ts +0 -3
- package/icon/icons/fas/fasQuoteRight.js +0 -7
- package/icon/icons/fas/fasSolarPanel.d.ts +0 -3
- package/icon/icons/fas/fasSolarPanel.js +0 -7
- package/icon/icons/fas/fasSort.d.ts +0 -3
- package/icon/icons/fas/fasSort.js +0 -7
- package/icon/icons/fas/fasStar.d.ts +0 -3
- package/icon/icons/fas/fasStar.js +0 -7
- package/icon/icons/fas/fasWindTurbine.d.ts +0 -3
- package/icon/icons/fas/fasWindTurbine.js +0 -7
- package/icon/icons/types.d.ts +0 -1
- package/icon/icons/types.js +0 -2
- package/styles/colors.d.ts +0 -171
- package/styles/colors.js +0 -96
- package/styles/durations.d.ts +0 -7
- package/styles/durations.js +0 -8
- package/styles/fontSizes.d.ts +0 -7
- package/styles/fontSizes.js +0 -8
- package/styles/fontWeights.d.ts +0 -7
- package/styles/fontWeights.js +0 -8
- package/styles/fonts.d.ts +0 -4
- package/styles/fonts.js +0 -5
- package/styles/radii.d.ts +0 -8
- package/styles/radii.js +0 -9
- package/styles/screens.d.ts +0 -8
- package/styles/screens.js +0 -9
- package/styles/shadows.d.ts +0 -9
- package/styles/shadows.js +0 -11
- package/theme/foundations/radius.d.ts +0 -7
- package/theme/foundations/radius.js +0 -9
- package/theme/foundations/typography.d.ts +0 -18
- package/theme/foundations/typography.js +0 -20
- package/theme/foundations.d.ts +0 -144
- package/theme/foundations.js +0 -20
package/system/typography.d.ts
CHANGED
|
@@ -1,68 +1,75 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SystemProp, VariantsType } from '@xstyled/system';
|
|
2
2
|
import { Globals, Property } from 'csstype';
|
|
3
3
|
import { ColorGetter } from './colors';
|
|
4
4
|
import { VuiTheme } from '../theme';
|
|
5
|
-
export declare type FontGetter
|
|
6
|
-
export declare type FontSizeGetter
|
|
7
|
-
export declare type FontWeightGetter
|
|
8
|
-
export declare type LineHeightGetter
|
|
9
|
-
declare type FontFamilyProp
|
|
10
|
-
export interface FontFamilyProps
|
|
11
|
-
fontFamily?: FontFamilyProp
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
declare type
|
|
30
|
-
export interface
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
placeholderColor?: ColorProp<T>;
|
|
40
|
-
}
|
|
41
|
-
declare type TextTransformProp<T extends ITheme> = SystemProp<Property.TextTransform, T>;
|
|
42
|
-
export interface TextTransformProps<T extends ITheme = VuiTheme> {
|
|
43
|
-
textTransform?: TextTransformProp<T>;
|
|
44
|
-
hoverTextTransform?: TextTransformProp<T>;
|
|
5
|
+
export declare type FontGetter = VariantsType<VuiTheme['fonts']>;
|
|
6
|
+
export declare type FontSizeGetter = VariantsType<VuiTheme['fontSizes']>;
|
|
7
|
+
export declare type FontWeightGetter = VariantsType<VuiTheme['fontWeights']>;
|
|
8
|
+
export declare type LineHeightGetter = VariantsType<unknown>;
|
|
9
|
+
declare type FontFamilyProp = SystemProp<FontGetter, VuiTheme>;
|
|
10
|
+
export interface FontFamilyProps {
|
|
11
|
+
fontFamily?: FontFamilyProp;
|
|
12
|
+
}
|
|
13
|
+
declare type FontSizeProp = SystemProp<FontSizeGetter, VuiTheme>;
|
|
14
|
+
export interface FontSizeProps {
|
|
15
|
+
fontSize?: FontSizeProp;
|
|
16
|
+
}
|
|
17
|
+
declare type FontStyleProp = SystemProp<Property.FontStyle, VuiTheme>;
|
|
18
|
+
export interface FontStyleProps {
|
|
19
|
+
fontStyle?: FontStyleProp;
|
|
20
|
+
}
|
|
21
|
+
declare type FontWeightProp = SystemProp<FontWeightGetter, VuiTheme>;
|
|
22
|
+
export interface FontWeightProps {
|
|
23
|
+
fontWeight?: FontWeightProp;
|
|
24
|
+
}
|
|
25
|
+
declare type LineHeightProp = SystemProp<LineHeightGetter, VuiTheme>;
|
|
26
|
+
export interface LineHeightProps {
|
|
27
|
+
lineHeight?: LineHeightProp;
|
|
28
|
+
}
|
|
29
|
+
declare type ColorProp = ColorGetter;
|
|
30
|
+
export interface ColorProps {
|
|
31
|
+
color?: ColorProp;
|
|
32
|
+
disabledColor?: ColorProp;
|
|
33
|
+
hoverColor?: ColorProp;
|
|
34
|
+
placeholderColor?: ColorProp;
|
|
35
|
+
}
|
|
36
|
+
declare type TextTransformProp = SystemProp<Property.TextTransform, VuiTheme>;
|
|
37
|
+
export interface TextTransformProps {
|
|
38
|
+
textTransform?: TextTransformProp;
|
|
45
39
|
}
|
|
46
40
|
declare type TextDecoration = Globals | 'overline' | 'underline' | 'line-through';
|
|
47
|
-
declare type TextDecorationProp
|
|
48
|
-
export interface TextDecorationProps
|
|
49
|
-
textDecoration?: TextDecorationProp
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
41
|
+
declare type TextDecorationProp = SystemProp<TextDecoration, VuiTheme>;
|
|
42
|
+
export interface TextDecorationProps {
|
|
43
|
+
textDecoration?: TextDecorationProp;
|
|
44
|
+
}
|
|
45
|
+
declare type TextAlignProp = SystemProp<Property.TextAlign, VuiTheme>;
|
|
46
|
+
export interface TextAlignProps {
|
|
47
|
+
textAlign?: TextAlignProp;
|
|
48
|
+
}
|
|
49
|
+
declare type VerticalAlignProp = SystemProp<Property.VerticalAlign, VuiTheme>;
|
|
50
|
+
export interface VerticalAlignProps {
|
|
51
|
+
verticalAlign?: VerticalAlignProp;
|
|
52
|
+
}
|
|
53
|
+
declare type LetterSpacingProp = SystemProp<Property.LetterSpacing, VuiTheme>;
|
|
54
|
+
export interface LetterSpacingProps {
|
|
55
|
+
letterSpacing?: LetterSpacingProp;
|
|
56
|
+
}
|
|
57
|
+
declare type WhiteSpaceProp = SystemProp<Property.WhiteSpace, VuiTheme>;
|
|
58
|
+
export interface WhiteSpaceProps {
|
|
59
|
+
whiteSpace?: WhiteSpaceProp;
|
|
60
|
+
}
|
|
61
|
+
declare type TextOverflowProp = SystemProp<Property.TextOverflow, VuiTheme>;
|
|
62
|
+
export interface TextOverflowProps {
|
|
63
|
+
textOverflow?: TextOverflowProp;
|
|
64
|
+
}
|
|
65
|
+
declare type ListStyleTypeProp = SystemProp<Property.ListStyleType, VuiTheme>;
|
|
66
|
+
export interface ListStyleTypeProps {
|
|
67
|
+
listStyleType?: ListStyleTypeProp;
|
|
68
|
+
}
|
|
69
|
+
declare type ListStylePositionProp = SystemProp<Property.ListStylePosition, VuiTheme>;
|
|
70
|
+
export interface ListStylePositionProps {
|
|
71
|
+
listStylePosition?: ListStylePositionProp;
|
|
72
|
+
}
|
|
73
|
+
export interface TypographyProps extends FontFamilyProps, FontSizeProps, FontStyleProps, FontWeightProps, LineHeightProps, ColorProps, TextTransformProps, TextDecorationProps, TextAlignProps, VerticalAlignProps, LetterSpacingProps, WhiteSpaceProps, TextOverflowProps, ListStyleTypeProps, ListStylePositionProps {
|
|
67
74
|
}
|
|
68
75
|
export {};
|
package/t/t.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { TProps
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}, never>;
|
|
1
|
+
import { TProps } from './t.types';
|
|
2
|
+
import { SystemProps } from '../system';
|
|
3
|
+
export declare const TBase: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, SystemProps, never>;
|
|
5
4
|
export declare const T: import("../core").VuiComponent<"span", TProps>;
|
|
6
5
|
export default T;
|
package/t/t.js
CHANGED
|
@@ -30,16 +30,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
30
30
|
};
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
32
|
exports.T = exports.TBase = void 0;
|
|
33
|
-
var styled_components_1 = require("@xstyled/styled-components");
|
|
34
33
|
var react_1 = __importDefault(require("react"));
|
|
35
|
-
var
|
|
34
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
36
35
|
var core_1 = require("../core");
|
|
37
36
|
var system_1 = require("../system");
|
|
38
37
|
var utils_1 = require("../utils");
|
|
39
|
-
|
|
40
|
-
exports.TBase = styled_components_2.default.span.withConfig(core_1.forwardPropConfig(generator))(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t", "\n"], ["\n\t", "\n"])), generator);
|
|
38
|
+
exports.TBase = styled_components_1.default.span.withConfig(core_1.forwardPropConfig(system_1.system))(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t", "\n"], ["\n\t", "\n"])), system_1.system);
|
|
41
39
|
exports.T = core_1.vui(function (props, ref) {
|
|
42
|
-
var _a = core_1.omitThemingProps(props), align = _a.align, casing = _a.casing, centerV = _a.centerV, className = _a.className, decoration = _a.decoration, isFlex = _a.isFlex, weight = _a.weight, rest = __rest(_a, ["align", "casing", "centerV", "className", "decoration", "isFlex", "weight"]);
|
|
40
|
+
var _a = core_1.omitThemingProps(props), align = _a.align, casing = _a.casing, centerV = _a.centerV, children = _a.children, className = _a.className, decoration = _a.decoration, isFlex = _a.isFlex, text = _a.text, weight = _a.weight, rest = __rest(_a, ["align", "casing", "centerV", "children", "className", "decoration", "isFlex", "text", "weight"]);
|
|
43
41
|
var styles = core_1.useStyleConfig('T', props);
|
|
44
42
|
var aliasedProps = utils_1.filterUndefined({
|
|
45
43
|
alignItems: centerV ? 'center' : undefined,
|
|
@@ -49,7 +47,7 @@ exports.T = core_1.vui(function (props, ref) {
|
|
|
49
47
|
textDecoration: decoration,
|
|
50
48
|
textTransform: casing
|
|
51
49
|
});
|
|
52
|
-
return (react_1.default.createElement(exports.TBase, __assign({ className: utils_1.cs('vui-t', className), ref: ref, transitionDuration: "fast" }, styles, aliasedProps, rest)));
|
|
50
|
+
return (react_1.default.createElement(exports.TBase, __assign({ className: utils_1.cs('vui-t', className), ref: ref, transitionDuration: "fast" }, styles, aliasedProps, rest), children !== null && children !== void 0 ? children : text));
|
|
53
51
|
});
|
|
54
52
|
exports.T.displayName = 'T';
|
|
55
53
|
exports.default = exports.T;
|
package/t/t.types.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SystemProps, TypographyProps } from '../system';
|
|
2
2
|
import { ThemingProps } from '../theme';
|
|
3
|
-
export interface TProps extends
|
|
3
|
+
export interface TProps extends SystemProps, ThemingProps<'T'> {
|
|
4
4
|
align?: TypographyProps['textAlign'];
|
|
5
5
|
casing?: TypographyProps['textTransform'];
|
|
6
6
|
centerV?: boolean;
|
|
7
7
|
decoration?: TypographyProps['textDecoration'];
|
|
8
8
|
isFlex?: boolean;
|
|
9
|
+
text?: number | string;
|
|
9
10
|
weight?: TypographyProps['fontWeight'];
|
|
10
11
|
}
|
|
11
|
-
export interface TStyleProps extends BackgroundColorProps, BordersProps, CursorProps, FlexboxesProps, IsTruncatedProps, SizingProps, SpaceProps, TransitionsProps, TypographyProps {
|
|
12
|
-
}
|
package/textarea/textarea.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { TextareaProps
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}, never>;
|
|
1
|
+
import { TextareaProps } from './textarea.types';
|
|
2
|
+
import { SystemProps } from '../system';
|
|
3
|
+
export declare const TextareaBase: import("styled-components").StyledComponent<"textarea", import("styled-components").DefaultTheme, SystemProps, never>;
|
|
5
4
|
export declare const Textarea: import("../core").VuiComponent<"textarea", TextareaProps>;
|
|
6
5
|
export default Textarea;
|
package/textarea/textarea.js
CHANGED
|
@@ -30,13 +30,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
30
30
|
};
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
32
|
exports.Textarea = exports.TextareaBase = void 0;
|
|
33
|
-
var styled_components_1 = require("@xstyled/styled-components");
|
|
34
33
|
var react_1 = __importDefault(require("react"));
|
|
35
|
-
var
|
|
34
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
36
35
|
var core_1 = require("../core");
|
|
36
|
+
var system_1 = require("../system");
|
|
37
37
|
var utils_1 = require("../utils");
|
|
38
|
-
|
|
39
|
-
exports.TextareaBase = styled_components_2.default.textarea.withConfig(core_1.forwardPropConfig(generator))(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\tborder-width: 1px;\n\tmin-height: 80px;\n\toutline: none;\n\tresize: none;\n\twidth: 100%;\n\n\t:disabled,\n\t:disabled::placeholder {\n\t\tbackground-color: var(--vui-colors-disabled-bg);\n\t\tborder-color: var(--vui-colors-disabled-border);\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t}\n\n\t:focus {\n\t\tborder-color: transparent;\n\t}\n\n\t", "\n"], ["\n\tborder-width: 1px;\n\tmin-height: 80px;\n\toutline: none;\n\tresize: none;\n\twidth: 100%;\n\n\t:disabled,\n\t:disabled::placeholder {\n\t\tbackground-color: var(--vui-colors-disabled-bg);\n\t\tborder-color: var(--vui-colors-disabled-border);\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t}\n\n\t:focus {\n\t\tborder-color: transparent;\n\t}\n\n\t", "\n"])), generator);
|
|
38
|
+
exports.TextareaBase = styled_components_1.default.textarea.withConfig(core_1.forwardPropConfig(system_1.system))(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\tborder-width: 1px;\n\tmin-height: 80px;\n\toutline: none;\n\tresize: none;\n\twidth: 100%;\n\n\t:disabled,\n\t:disabled::placeholder {\n\t\tbackground-color: var(--vui-colors-disabled-bg);\n\t\tborder-color: var(--vui-colors-disabled-border);\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t}\n\n\t:focus {\n\t\tborder-color: transparent;\n\t}\n\n\t", "\n"], ["\n\tborder-width: 1px;\n\tmin-height: 80px;\n\toutline: none;\n\tresize: none;\n\twidth: 100%;\n\n\t:disabled,\n\t:disabled::placeholder {\n\t\tbackground-color: var(--vui-colors-disabled-bg);\n\t\tborder-color: var(--vui-colors-disabled-border);\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t}\n\n\t:focus {\n\t\tborder-color: transparent;\n\t}\n\n\t", "\n"])), system_1.system);
|
|
40
39
|
exports.Textarea = core_1.vui(function (props, ref) {
|
|
41
40
|
var _a = core_1.omitThemingProps(props), className = _a.className, rest = __rest(_a, ["className"]);
|
|
42
41
|
var styles = core_1.useStyleConfig('Textarea', props);
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SystemProps } from '../system';
|
|
2
2
|
import { ThemingProps } from '../theme';
|
|
3
|
-
export interface TextareaProps extends
|
|
3
|
+
export interface TextareaProps extends SystemProps, ThemingProps<'Textarea'> {
|
|
4
4
|
colorScheme?: 'green' | 'grey' | 'red';
|
|
5
5
|
}
|
|
6
|
-
export interface TextareaStyleProps extends BackgroundColorProps, BordersProps, ColorProps, FontSizeProps, ResizeProps, SizingProps, SpaceProps, TransitionsProps {
|
|
7
|
-
}
|
package/theme/components.d.ts
CHANGED
|
@@ -149,6 +149,12 @@ declare const _default: {
|
|
|
149
149
|
bg: string;
|
|
150
150
|
color: string;
|
|
151
151
|
};
|
|
152
|
+
subtle: (props: import("..").Dict<any>) => {
|
|
153
|
+
hoverBg: string;
|
|
154
|
+
activeBg: string;
|
|
155
|
+
bg: string;
|
|
156
|
+
color: string;
|
|
157
|
+
};
|
|
152
158
|
text: (props: import("..").Dict<any>) => {
|
|
153
159
|
hoverBg: string;
|
|
154
160
|
activeBg: string;
|
|
@@ -629,7 +635,6 @@ declare const _default: {
|
|
|
629
635
|
circle: {
|
|
630
636
|
borderColor: string;
|
|
631
637
|
borderTopColor: string;
|
|
632
|
-
borderRightColor: string;
|
|
633
638
|
};
|
|
634
639
|
text: {};
|
|
635
640
|
};
|
package/theme/defaultTheme.d.ts
CHANGED
|
@@ -300,6 +300,12 @@ declare const defaultTheme: {
|
|
|
300
300
|
bg: string;
|
|
301
301
|
color: string;
|
|
302
302
|
};
|
|
303
|
+
subtle: (props: import("..").Dict<any>) => {
|
|
304
|
+
hoverBg: string;
|
|
305
|
+
activeBg: string;
|
|
306
|
+
bg: string;
|
|
307
|
+
color: string;
|
|
308
|
+
};
|
|
303
309
|
text: (props: import("..").Dict<any>) => {
|
|
304
310
|
hoverBg: string;
|
|
305
311
|
activeBg: string;
|
|
@@ -780,7 +786,6 @@ declare const defaultTheme: {
|
|
|
780
786
|
circle: {
|
|
781
787
|
borderColor: string;
|
|
782
788
|
borderTopColor: string;
|
|
783
|
-
borderRightColor: string;
|
|
784
789
|
};
|
|
785
790
|
text: {};
|
|
786
791
|
};
|
package/theme/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import defaultTheme from './defaultTheme';
|
|
2
|
+
export { default as components } from './components';
|
|
3
|
+
export { default as defaultTheme } from './defaultTheme';
|
|
4
|
+
export { default as foundations } from './foundations';
|
|
2
5
|
export * from './types';
|
|
3
6
|
export default defaultTheme;
|
package/theme/index.js
CHANGED
|
@@ -13,6 +13,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
13
13
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14
14
|
};
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.foundations = exports.defaultTheme = exports.components = void 0;
|
|
16
17
|
var defaultTheme_1 = __importDefault(require("./defaultTheme"));
|
|
18
|
+
var components_1 = require("./components");
|
|
19
|
+
Object.defineProperty(exports, "components", { enumerable: true, get: function () { return __importDefault(components_1).default; } });
|
|
20
|
+
var defaultTheme_2 = require("./defaultTheme");
|
|
21
|
+
Object.defineProperty(exports, "defaultTheme", { enumerable: true, get: function () { return __importDefault(defaultTheme_2).default; } });
|
|
22
|
+
var foundations_1 = require("./foundations");
|
|
23
|
+
Object.defineProperty(exports, "foundations", { enumerable: true, get: function () { return __importDefault(foundations_1).default; } });
|
|
17
24
|
__exportStar(require("./types"), exports);
|
|
18
25
|
exports.default = defaultTheme_1.default;
|
package/tile/tile.types.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { BoxProps
|
|
1
|
+
import { BoxProps } from '../box';
|
|
2
2
|
import { ThemingProps } from '../theme';
|
|
3
|
-
export interface TileProps extends Omit<BoxProps, 'size' | 'variant'>,
|
|
3
|
+
export interface TileProps extends Omit<BoxProps, 'size' | 'variant'>, ThemingProps<'Tile'> {
|
|
4
4
|
isInteractive?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export interface TileStyleProps extends BoxStyleProps {
|
|
7
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ControlLabelProps, ControlLabelStyleProps } from './controlLabel.types';
|
|
2
|
-
export declare const BaseControlLabel: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
|
|
3
|
-
[x: string]: {};
|
|
4
|
-
} & ControlLabelStyleProps, never>;
|
|
5
|
-
export declare const ControlLabel: import("styled-components").StyledComponent<"label", never, ControlLabelProps, never>;
|
|
6
|
-
export default ControlLabel;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __assign = (this && this.__assign) || function () {
|
|
7
|
-
__assign = Object.assign || function(t) {
|
|
8
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
-
s = arguments[i];
|
|
10
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
-
t[p] = s[p];
|
|
12
|
-
}
|
|
13
|
-
return t;
|
|
14
|
-
};
|
|
15
|
-
return __assign.apply(this, arguments);
|
|
16
|
-
};
|
|
17
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
18
|
-
var t = {};
|
|
19
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
20
|
-
t[p] = s[p];
|
|
21
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
22
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
23
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
24
|
-
t[p[i]] = s[p[i]];
|
|
25
|
-
}
|
|
26
|
-
return t;
|
|
27
|
-
};
|
|
28
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
29
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
|
-
};
|
|
31
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
exports.ControlLabel = exports.BaseControlLabel = void 0;
|
|
33
|
-
var styled_components_1 = require("@xstyled/styled-components");
|
|
34
|
-
var react_1 = __importDefault(require("react"));
|
|
35
|
-
var styled_components_2 = __importDefault(require("styled-components"));
|
|
36
|
-
var core_1 = require("../core");
|
|
37
|
-
var t_1 = __importDefault(require("../t"));
|
|
38
|
-
var utils_1 = require("../utils");
|
|
39
|
-
var generator = styled_components_1.compose(styled_components_1.sizing, styled_components_1.space, styled_components_1.transitions, styled_components_1.typography);
|
|
40
|
-
exports.BaseControlLabel = styled_components_2.default.label.withConfig({
|
|
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\ttransition: all 0s ease-in-out;\n\twidth: fit-content;\n\n\t&.disabled {\n\t\tcursor: not-allowed;\n\t}\n\n\t", "\n"], ["\n\talign-items: center;\n\tcursor: pointer;\n\tdisplay: inline-flex;\n\ttransition: all 0s ease-in-out;\n\twidth: fit-content;\n\n\t&.disabled {\n\t\tcursor: not-allowed;\n\t}\n\n\t", "\n"])), generator);
|
|
43
|
-
exports.ControlLabel = core_1.forwardRef(function (props, ref) {
|
|
44
|
-
var children = props.children, className = props.className, control = props.control, disabled = props.disabled, label = props.label, _a = props.size, size = _a === void 0 ? 'md' : _a, rest = __rest(props, ["children", "className", "control", "disabled", "label", "size"]);
|
|
45
|
-
var styles = core_1.useStyleConfig('ControlLabel', props);
|
|
46
|
-
var color = disabled ? 'grey.50' : '';
|
|
47
|
-
var controlProps = { disabled: disabled, size: size };
|
|
48
|
-
var aliasedProps = utils_1.filterUndefined({});
|
|
49
|
-
return (react_1.default.createElement(exports.BaseControlLabel, __assign({ className: utils_1.cs('vui-controlLabel', className, disabled && 'disabled'), color: color, ref: ref, transitionDuration: "fast" }, styles, aliasedProps, rest), children ? (children) : (react_1.default.createElement(react_1.default.Fragment, null,
|
|
50
|
-
control && react_1.default.cloneElement(control, controlProps),
|
|
51
|
-
react_1.default.createElement(t_1.default, { ml: 1, size: size }, label)))));
|
|
52
|
-
});
|
|
53
|
-
exports.ControlLabel.displayName = 'ControlLabel';
|
|
54
|
-
exports.default = exports.ControlLabel;
|
|
55
|
-
var templateObject_1;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React, { HTMLAttributes } from 'react';
|
|
2
|
-
import { SizingProps, SpaceProps, TransitionsProps, TypographyProps } from '../system';
|
|
3
|
-
import { ThemingProps } from '../theme';
|
|
4
|
-
export interface ControlLabelProps extends Omit<HTMLAttributes<HTMLLabelElement>, 'color'>, ControlLabelStyleProps, ThemingProps<'ControlLabel'> {
|
|
5
|
-
control?: React.ReactElement;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
label?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ControlLabelStyleProps extends SizingProps, SpaceProps, TransitionsProps, TypographyProps {
|
|
10
|
-
}
|
package/controlLabel/index.d.ts
DELETED
package/controlLabel/index.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14
|
-
};
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.default = void 0;
|
|
17
|
-
__exportStar(require("./controlLabel"), exports);
|
|
18
|
-
__exportStar(require("./controlLabel.types"), exports);
|
|
19
|
-
var controlLabel_1 = require("./controlLabel");
|
|
20
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(controlLabel_1).default; } });
|
package/controlLabel/theme.d.ts
DELETED
package/controlLabel/theme.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var defaultProps = {
|
|
4
|
-
size: 'md'
|
|
5
|
-
};
|
|
6
|
-
var sizes = {
|
|
7
|
-
sm: {},
|
|
8
|
-
md: {}
|
|
9
|
-
};
|
|
10
|
-
var variants = {};
|
|
11
|
-
exports.default = {
|
|
12
|
-
defaultProps: defaultProps,
|
|
13
|
-
sizes: sizes,
|
|
14
|
-
variants: variants
|
|
15
|
-
};
|
package/core/types.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
/** Type of change event defaulted to input element */
|
|
3
|
-
export declare type ChangeEvent<T = HTMLInputElement> = React.ChangeEvent<T>;
|
|
4
|
-
/** Type of change event handler defaulted to input element */
|
|
5
|
-
export declare type ChangeEventHandler<T = HTMLInputElement> = React.ChangeEventHandler<T>;
|
|
6
|
-
export interface CreateContextOptions {
|
|
7
|
-
/** Message displayed when context is used outside of the provider */
|
|
8
|
-
errorMessage?: string;
|
|
9
|
-
/** Accessing context outside of provider won't throw error */
|
|
10
|
-
isOptional?: boolean;
|
|
11
|
-
/** Name of the context */
|
|
12
|
-
name?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare type CreateContextReturn<T> = [React.Provider<T>, () => T];
|
|
15
|
-
/** Merges component/element base props, custom props and 'as' prop */
|
|
16
|
-
export declare type ComponentProps<C extends React.ElementType, Props = {}> = RightJoinProps<React.ComponentPropsWithoutRef<C>, Props & {
|
|
17
|
-
as?: C;
|
|
18
|
-
forwardedAs?: C;
|
|
19
|
-
}>;
|
|
20
|
-
/** Merges component/element base props, custom props, 'as' prop and 'ref' */
|
|
21
|
-
export declare type ComponentPropsWithRef<C extends React.ElementType, Props = {}> = RightJoinProps<React.ComponentPropsWithRef<C>, Props & {
|
|
22
|
-
as?: C;
|
|
23
|
-
forwardedAs?: C;
|
|
24
|
-
}>;
|
|
25
|
-
/** Type of blur/focus event defaulted to input element */
|
|
26
|
-
export declare type FocusEvent<T = HTMLInputElement> = React.FocusEvent<T>;
|
|
27
|
-
/** Type of blur/focus event handler defaulted to input element */
|
|
28
|
-
export declare type FocusEventHandler<T = HTMLInputElement> = React.FocusEventHandler<T>;
|
|
29
|
-
/** Strips call signature from ForwardRefExoticComponent */
|
|
30
|
-
export declare type ForwardRefExoticBase<P> = Pick<React.ForwardRefExoticComponent<P>, keyof React.ForwardRefExoticComponent<any>>;
|
|
31
|
-
/** Merges two props definitions without conflicts */
|
|
32
|
-
export declare type RightJoinProps<SourceProps = {}, OverrideProps = {}> = OverrideProps & Omit<SourceProps, keyof OverrideProps>;
|
|
33
|
-
/** VUI Component definition supporting custom props, 'as' props and 'ref' */
|
|
34
|
-
export interface VuiComponent<C extends React.ElementType, Props = {}> extends ForwardRefExoticBase<ComponentPropsWithRef<C, Props>> {
|
|
35
|
-
/** Add custom call signature */
|
|
36
|
-
<AsC extends React.ElementType = C>(props: ComponentPropsWithRef<AsC, Props>): React.ReactElement<ComponentPropsWithRef<AsC, Props>>;
|
|
37
|
-
}
|
package/core/types.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.default = {
|
|
5
|
-
details: [20, 20, [], '', 'M0.5 3C0.5 1.61929 1.61929 0.5 3 0.5H17C18.3807 0.5 19.5 1.61929 19.5 3V17C19.5 18.3807 18.3807 19.5 17 19.5H3C1.61929 19.5 0.5 18.3807 0.5 17V3ZM15.75 8.75H4.25C3.83573 8.75 3.5 9.08573 3.5 9.5V10.5C3.5 10.9143 3.83573 11.25 4.25 11.25H15.75C16.1643 11.25 16.5 10.9143 16.5 10.5V9.5C16.5 9.08573 16.1643 8.75 15.75 8.75Z'],
|
|
6
|
-
name: 'cuiCheckboxIndeterminate',
|
|
7
|
-
pathProps: { stroke: 'currentColor' }
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.default = {
|
|
5
|
-
details: [20, 20, [], '', 'M17.1595 4.87355L17.1594 4.87351L16.8059 4.51995C16.4642 4.17825 15.9101 4.17825 15.5684 4.51995L7.17153 12.9169L4.43149 10.1768C4.08976 9.8351 3.53577 9.83516 3.19407 10.1768L3.19403 10.1768L2.8405 10.5304C2.49878 10.8721 2.49884 11.4261 2.84047 11.7678L2.8405 11.7678L6.55282 15.4801C6.89454 15.8218 7.44853 15.8218 7.79023 15.4802L7.79027 15.4801L17.1594 6.11096C17.5011 5.76924 17.5011 5.21525 17.1595 4.87355ZM0.5 3C0.5 1.61929 1.61929 0.5 3 0.5H17C18.3807 0.5 19.5 1.61929 19.5 3V17C19.5 18.3807 18.3807 19.5 17 19.5H3C1.61929 19.5 0.5 18.3807 0.5 17V3Z'],
|
|
6
|
-
name: 'cuiCheckboxSelected',
|
|
7
|
-
pathProps: { stroke: 'currentColor' }
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.default = {
|
|
5
|
-
details: [20, 20, [], '', 'M17 1H3C1.89543 1 1 1.89543 1 3V17C1 18.1046 1.89543 19 3 19H17C18.1046 19 19 18.1046 19 17V3C19 1.89543 18.1046 1 17 1ZM3 0C1.34315 0 0 1.34315 0 3V17C0 18.6569 1.34315 20 3 20H17C18.6569 20 20 18.6569 20 17V3C20 1.34315 18.6569 0 17 0H3Z'],
|
|
6
|
-
name: 'cuiCheckboxUnselected',
|
|
7
|
-
pathProps: { fillRule: 'evenodd', clipRule: 'evenodd' }
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.default = {
|
|
5
|
-
details: [20, 20, [], '', 'M19 10C19 14.9706 14.9706 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1C14.9706 1 19 5.02944 19 10ZM20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10ZM10 16C13.3137 16 16 13.3137 16 10C16 6.68629 13.3137 4 10 4C6.68629 4 4 6.68629 4 10C4 13.3137 6.68629 16 10 16Z'],
|
|
6
|
-
name: 'cuiRadioSelected',
|
|
7
|
-
pathProps: { fillRule: 'evenodd', clipRule: 'evenodd' }
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.default = {
|
|
5
|
-
details: [20, 20, [], '', 'M10 19C14.9706 19 19 14.9706 19 10C19 5.02944 14.9706 1 10 1C5.02944 1 1 5.02944 1 10C1 14.9706 5.02944 19 10 19ZM10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20Z'],
|
|
6
|
-
name: 'cuiRadioUnselected',
|
|
7
|
-
pathProps: { fillRule: 'evenodd', clipRule: 'evenodd' }
|
|
8
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.default = {
|
|
5
|
-
details: [32, 33, [], '', 'M16.1836 0.25C17.9819 0.25 19.4398 1.70785 19.4398 3.5062C19.4398 4.99675 18.4382 6.25338 17.0714 6.63988L17.0712 7.12283C17.8593 7.19856 18.6285 7.37497 19.3643 7.64685C19.8243 7.81685 20.0595 8.32761 19.8894 8.78767C19.7194 9.24772 19.2087 9.48285 18.7486 9.31285C17.9352 9.01226 17.0707 8.85649 16.1836 8.85649C14.5546 8.85649 13.0486 9.3828 11.8262 10.2746L12.1779 10.6265C12.5247 10.9733 12.5247 11.5356 12.1779 11.8824C11.86 12.2003 11.3611 12.2268 11.013 11.9618L10.922 11.8824L10.5258 11.4863C9.43849 12.7745 8.78312 14.4392 8.78312 16.2569C8.78312 17.9717 9.36633 19.5503 10.3452 20.8051L11.2918 19.8592C11.6387 19.5124 12.2009 19.5124 12.5477 19.8592C12.8657 20.1772 12.8921 20.6761 12.6272 21.0242L12.5477 21.1151L11.5971 22.0651C12.858 23.0622 14.4513 23.6574 16.1836 23.6574C17.9402 23.6574 19.5539 23.0453 20.823 22.0229L19.7466 20.9473C19.3998 20.6005 19.3998 20.0382 19.7466 19.6914C20.0646 19.3735 20.5635 19.347 20.9116 19.6119L21.0025 19.6914L22.0631 20.7518C23.0171 19.5057 23.584 17.9475 23.584 16.2569C23.584 15.7665 23.9816 15.3689 24.4721 15.3689C24.5242 15.3689 24.5754 15.3734 24.6251 15.382L24.6528 15.377L24.7733 15.3689L25.6101 15.3691C25.9966 14.0023 27.2533 13.0007 28.7438 13.0007C30.5422 13.0007 32 14.4586 32 16.2569C32 18.0553 30.5422 19.5131 28.7438 19.5131C27.2536 19.5131 25.9972 18.5121 25.6104 17.1458L25.3176 17.146C25.1411 18.9817 24.4238 20.6594 23.3268 22.0179L23.6759 22.3647C24.6497 21.9427 25.8241 22.1297 26.6201 22.9257C27.6605 23.9662 27.6605 25.653 26.6201 26.6934C25.5796 27.7339 23.8928 27.7339 22.8524 26.6934C22.0083 25.8493 21.849 24.5797 22.3746 23.575L22.0845 23.2849C20.6928 24.4546 18.9487 25.2186 17.0343 25.3946C17.0476 25.437 17.0573 25.4816 17.0635 25.5274L17.0716 25.6479L17.0714 26.1501C18.4382 26.5366 19.4398 27.7932 19.4398 29.2838C19.4398 31.0821 17.9819 32.5399 16.1836 32.5399C14.3852 32.5399 12.9274 31.0821 12.9274 29.2838C12.9274 27.7936 13.9284 26.5372 15.2947 26.1503L15.2955 25.6479C15.2955 25.5592 15.3085 25.4736 15.3327 25.3927C13.442 25.2208 11.7173 24.4734 10.3342 23.3279L9.78576 23.8765C10.2726 24.8708 10.1027 26.1055 9.27613 26.9321C8.23571 27.9725 6.54886 27.9725 5.50844 26.9321C4.46802 25.8916 4.46802 24.2048 5.50844 23.1644C6.32215 22.3507 7.53129 22.1734 8.51732 22.6325L9.08092 22.0678C7.96106 20.7007 7.22817 19.0043 7.04952 17.146L6.3896 17.1458C6.00279 18.5121 4.7464 19.5131 3.2562 19.5131C1.45785 19.5131 0 18.0553 0 16.2569C0 14.4586 1.45785 13.0007 3.2562 13.0007C4.74675 13.0007 6.00338 14.0023 6.38988 15.3691L7.04939 15.3693C7.23752 13.4094 8.04212 11.6295 9.26699 10.226L8.92391 9.88306C7.89799 10.5106 6.53934 10.3804 5.65146 9.49252C4.61104 8.4521 4.61104 6.76525 5.65146 5.72483C6.69188 4.68441 8.37873 4.68441 9.41915 5.72483C10.1684 6.47403 10.3781 7.55843 10.0483 8.49528L10.5575 9.00683C11.8917 7.96996 13.5198 7.29329 15.2957 7.12279L15.2947 6.6396C13.9284 6.25279 12.9274 4.9964 12.9274 3.5062C12.9274 1.70785 14.3852 0.25 16.1836 0.25ZM16.1836 27.8037C15.3661 27.8037 14.7035 28.4663 14.7035 29.2838C14.7035 30.1012 15.3661 30.7638 16.1836 30.7638C17.001 30.7638 17.6637 30.1012 17.6637 29.2838C17.6637 28.4663 17.001 27.8037 16.1836 27.8037ZM6.76433 24.4203C6.41753 24.7671 6.41753 25.3294 6.76433 25.6762C7.11114 26.023 7.67342 26.023 8.02023 25.6762C8.36704 25.3294 8.36704 24.7671 8.02023 24.4203C7.67342 24.0735 7.11114 24.0735 6.76433 24.4203ZM24.1083 24.1816C23.7615 24.5284 23.7615 25.0907 24.1083 25.4375C24.4551 25.7843 25.0174 25.7843 25.3642 25.4375C25.711 25.0907 25.711 24.5284 25.3642 24.1816C25.0174 23.8348 24.4551 23.8348 24.1083 24.1816ZM17.8514 11.3764C19.6497 11.3764 21.1076 12.8342 21.1076 14.6326C21.1076 16.4309 19.6497 17.8888 17.8514 17.8888C16.053 17.8888 14.5952 16.4309 14.5952 14.6326C14.5952 12.8342 16.053 11.3764 17.8514 11.3764ZM28.7438 14.7768C27.9264 14.7768 27.2637 15.4395 27.2637 16.2569C27.2637 17.0744 27.9264 17.737 28.7438 17.737C29.5612 17.737 30.2239 17.0744 30.2239 16.2569C30.2239 15.4395 29.5612 14.7768 28.7438 14.7768ZM3.2562 14.7768C2.43877 14.7768 1.77611 15.4395 1.77611 16.2569C1.77611 17.0744 2.43877 17.737 3.2562 17.737C4.07363 17.737 4.73629 17.0744 4.73629 16.2569C4.73629 15.4395 4.07363 14.7768 3.2562 14.7768ZM17.8514 13.1525C17.034 13.1525 16.3713 13.8151 16.3713 14.6326C16.3713 15.45 17.034 16.1127 17.8514 16.1127C18.6688 16.1127 19.3315 15.45 19.3315 14.6326C19.3315 13.8151 18.6688 13.1525 17.8514 13.1525ZM23.4331 10.4664L23.5304 10.555L23.6416 10.6723C23.9791 11.0282 23.9641 11.5903 23.6082 11.9277C23.2846 12.2345 22.7907 12.25 22.45 11.9829L22.3527 11.8943L22.2415 11.777C21.9041 11.4211 21.919 10.859 22.2749 10.5215C22.5985 10.2148 23.0925 10.1992 23.4331 10.4664ZM27.3715 5.72483C28.4119 6.76525 28.4119 8.4521 27.3715 9.49252C26.331 10.5329 24.6442 10.5329 23.6038 9.49252C22.5633 8.4521 22.5633 6.76525 23.6038 5.72483C24.6442 4.68441 26.331 4.68441 27.3715 5.72483ZM24.8597 6.98073C24.5129 7.32753 24.5129 7.88982 24.8597 8.23663C25.2065 8.58343 25.7687 8.58343 26.1156 8.23663C26.4624 7.88982 26.4624 7.32753 26.1156 6.98073C25.7687 6.63392 25.2065 6.63392 24.8597 6.98073ZM6.90736 6.98073C6.56055 7.32753 6.56055 7.88982 6.90736 8.23663C7.25416 8.58343 7.81645 8.58343 8.16325 8.23663C8.51006 7.88982 8.51006 7.32753 8.16325 6.98073C7.81645 6.63392 7.25416 6.63392 6.90736 6.98073ZM16.1836 2.02611C15.3661 2.02611 14.7035 2.68877 14.7035 3.5062C14.7035 4.32363 15.3661 4.98629 16.1836 4.98629C17.001 4.98629 17.6637 4.32363 17.6637 3.5062C17.6637 2.68877 17.001 2.02611 16.1836 2.02611Z'],
|
|
6
|
-
name: 'culCovid'
|
|
7
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.default = {
|
|
5
|
-
details: [32, 33, [], '', 'M12.9994 0.25C15.842 0.25 18.4712 1.16181 20.6104 2.709L17.4252 3.1745C16.0714 2.57986 14.5744 2.2499 12.9994 2.2499C6.91841 2.2499 1.9999 7.16841 1.9999 13.2494C1.9999 19.3303 6.91841 24.2488 12.9994 24.2488C18.8067 24.2488 23.5539 19.763 23.9693 14.0628L25.0138 13.514L25.9763 14.0189C25.8039 16.9653 24.6481 19.6437 22.8344 21.7414L22.5426 22.0677H23.1864C23.3464 22.0677 23.4984 22.1157 23.6263 22.2085L23.7176 22.2864L31.7797 30.3485C32.0408 30.6096 32.0698 31.0139 31.8667 31.3069L31.7797 31.411L31.161 32.0297C30.8999 32.2908 30.4956 32.3198 30.2027 32.1167L30.0985 32.0297L22.0364 23.9676C21.9264 23.8526 21.8524 23.7096 21.8272 23.5546L21.8177 23.4364V22.7989C19.4991 24.9363 16.4054 26.2487 12.9994 26.2487C5.81847 26.2487 0 20.4303 0 13.2494C0 6.06847 5.81847 0.25 12.9994 0.25ZM25.6877 0.592546L25.7617 0.715332L27.4675 4.1741L31.2842 4.73053C31.923 4.82318 32.2045 5.5644 31.8357 6.05574L31.7466 6.15688L28.9853 8.84761L29.6384 12.6486C29.7486 13.2927 29.1195 13.783 28.5411 13.5791L28.4263 13.529L25.0119 11.7343L21.5976 13.529C21.0294 13.8302 20.3579 13.3967 20.373 12.7752L20.3854 12.6486L21.0385 8.84761L18.2773 6.15688C17.814 5.70581 18.0221 4.9407 18.6083 4.75998L18.7396 4.73053L22.5563 4.1741L24.2622 0.715332C24.5484 0.135574 25.3325 0.10092 25.6877 0.592546ZM25.0119 2.81622L23.6739 5.53017L20.6786 5.9662L22.8462 8.07929L22.3335 11.0594L25.0122 9.65293L27.6891 11.0607L27.1781 8.07929L29.3453 5.9662L26.3505 5.53017L25.0119 2.81622Z'],
|
|
6
|
-
name: 'culDeepSearch'
|
|
7
|
-
};
|