@sendoutcards/quantum-design-ui 1.8.39-alpha.6 → 1.8.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +24472 -0
- package/dist/src/animations/transitions.d.ts +19 -19
- package/dist/src/atoms/anchor/anchor.d.ts +16 -16
- package/dist/src/atoms/anchor/styles.d.ts +6 -0
- package/dist/src/atoms/animatedCheckMark/animatedCheckMark.d.ts +15 -15
- package/dist/src/atoms/aside/aside.d.ts +17 -17
- package/dist/src/atoms/aside/styles.d.ts +4 -0
- package/dist/src/atoms/avatar/avatar.d.ts +10 -11
- package/dist/src/atoms/avatar/styles.d.ts +9 -0
- package/dist/src/atoms/badge/badge.d.ts +13 -13
- package/dist/src/atoms/badge/styles.d.ts +4 -0
- package/dist/src/atoms/bar/bar.d.ts +11 -11
- package/dist/src/atoms/capsule/capsule.d.ts +11 -11
- package/dist/src/atoms/card/card.d.ts +10 -10
- package/dist/src/atoms/colorThumbnail/colorThumbnail.d.ts +12 -12
- package/dist/src/atoms/colorThumbnail/loaders/colorThumbnailLoader.d.ts +8 -8
- package/dist/src/atoms/div/div.d.ts +19 -19
- package/dist/src/atoms/div/styles.d.ts +4 -0
- package/dist/src/atoms/flex/flex.d.ts +8 -8
- package/dist/src/atoms/flex/flexItem.d.ts +8 -8
- package/dist/src/atoms/flex/styles.d.ts +5 -0
- package/dist/src/atoms/hStack/hStack.d.ts +14 -14
- package/dist/src/atoms/iconography/components/icon.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/aText.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/add.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/alignCenter.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/alignLeft.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/alignRight.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/allPanel.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/award.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/background.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/backgroundSetting.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/bag.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/brightness.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/calendar.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/campaigns.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/capitalizedText.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/cart.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/catalog.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/check.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/chevron.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/clearPanel.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/close.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/closeCircle.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/coaching.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/color.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/colorPalette.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/complete.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/contact.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/copy.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/creditCard.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/crop.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/cropRotate.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/cut.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/delete.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/download.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/drag.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/dropper.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/editorText.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/elementIcon.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/envelope.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/exclamation.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/facebook.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/filter.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/filterBy.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/flipHorizontal.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/flipVertical.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/fontSize.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/frame.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/frameHeight.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/frameWidth.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/fullBleed.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/fullBleedImage.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/fullBleedLandscape.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/fullBleedPortrait.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/fullBleedText.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/gift.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/groups.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/hamburger.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/home.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/icons.d.ts +6 -6
- package/dist/src/atoms/iconography/icons/idCard.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/image.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/imageSwap.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/imageUpload.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/information.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/instagram.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/invisible.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/layer.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/layerAdd.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/layerDisabled.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/layerDown.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/layerRemove.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/layerUp.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/layout.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/leftChevron.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/linkedin.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/loading.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/location.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/lock.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/lowercaseText.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/map.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/mapLocation.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/minus.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/multipleUsers2x.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/multipleUsers3x.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/noUsers.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/panelMode.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/pinterest.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/play.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/plus.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/plusSquare.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/priceTag.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/promptingsIcon.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/quotation.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/redo.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/replaceImage.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/rightChevron.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/rotate.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/rotateLeft.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/rotateRight.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/save.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/search.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/shadows.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/signature.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/signaturePen.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/size.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/slider.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/sliderVertical.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/socLogo.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/squareCheck.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/star.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/stickers.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/swap.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/template.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/tenDoor.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/text.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/textBox.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/twitter.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/undo.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/upload.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/uppercaseText.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/user.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/userSuccess.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/usertag.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/variable.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/view.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/viewCarousel.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/viewPanels.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/viewSinglePanel.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/visible.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/wand.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/warning.d.ts +3 -3
- package/dist/src/atoms/iconography/icons/youtube.d.ts +3 -3
- package/dist/src/atoms/iconography/types/index.d.ts +17 -17
- package/dist/src/atoms/list/list.d.ts +22 -22
- package/dist/src/atoms/list/styles.d.ts +5 -0
- package/dist/src/atoms/listItem/listItem.d.ts +13 -13
- package/dist/src/atoms/listItem/styles.d.ts +6 -0
- package/dist/src/atoms/loadingSpinner/loadingSpinner.d.ts +7 -7
- package/dist/src/atoms/portal/portal.d.ts +4 -4
- package/dist/src/atoms/section/section.d.ts +17 -17
- package/dist/src/atoms/section/styles.d.ts +4 -0
- package/dist/src/atoms/spacer/spacer.d.ts +9 -9
- package/dist/src/atoms/span/span.d.ts +7 -7
- package/dist/src/atoms/span/styles.d.ts +4 -0
- package/dist/src/atoms/typography/styles.d.ts +13 -0
- package/dist/src/atoms/typography/text.d.ts +26 -26
- package/dist/src/atoms/vStack/vStack.d.ts +17 -17
- package/dist/src/customThemes/bellaCadaeux/concepts.d.ts +2 -2
- package/dist/src/customThemes/bellaCadaeux/entities.d.ts +2 -2
- package/dist/src/customThemes/bellaCadaeux/tokens/colors.d.ts +13 -13
- package/dist/src/customThemes/bellaCadaeux/tokens/typography.d.ts +23 -23
- package/dist/src/customThemes/blue42/concepts.d.ts +22 -22
- package/dist/src/customThemes/blue42/entities.d.ts +2 -2
- package/dist/src/customThemes/blue42/tokens/colors.d.ts +14 -14
- package/dist/src/customThemes/blue42/tokens/typography.d.ts +23 -23
- package/dist/src/customThemes/greenerStill/concepts.d.ts +22 -22
- package/dist/src/customThemes/greenerStill/entities.d.ts +2 -2
- package/dist/src/customThemes/greenerStill/tokens/colors.d.ts +13 -13
- package/dist/src/customThemes/greenerStill/tokens/typography.d.ts +23 -23
- package/dist/src/customThemes/promptingU/concepts.d.ts +22 -22
- package/dist/src/customThemes/promptingU/entities.d.ts +2 -2
- package/dist/src/customThemes/promptingU/tokens/colors.d.ts +14 -14
- package/dist/src/customThemes/promptingU/tokens/typography.d.ts +23 -23
- package/dist/src/customThemes/promptings/concepts.d.ts +22 -22
- package/dist/src/customThemes/promptings/entities.d.ts +2 -2
- package/dist/src/customThemes/promptings/tokens/colors.d.ts +13 -13
- package/dist/src/customThemes/promptings/tokens/typography.d.ts +23 -23
- package/dist/src/customThemes/sendOutCards/concepts.d.ts +108 -108
- package/dist/src/customThemes/sendOutCards/entities.d.ts +2 -2
- package/dist/src/customThemes/sendOutCards/tokens/borders.d.ts +7 -7
- package/dist/src/customThemes/sendOutCards/tokens/colors.d.ts +12 -12
- package/dist/src/customThemes/sendOutCards/tokens/mediaQueries.d.ts +8 -8
- package/dist/src/customThemes/sendOutCards/tokens/radius.d.ts +9 -9
- package/dist/src/customThemes/sendOutCards/tokens/shadows.d.ts +8 -8
- package/dist/src/customThemes/sendOutCards/tokens/sizing.d.ts +14 -14
- package/dist/src/customThemes/sendOutCards/tokens/spacing.d.ts +2 -2
- package/dist/src/customThemes/sendOutCards/tokens/typography.d.ts +22 -22
- package/dist/src/customThemes/sendogo/concepts.d.ts +22 -22
- package/dist/src/customThemes/sendogo/entities.d.ts +2 -2
- package/dist/src/customThemes/sendogo/tokens/colors.d.ts +11 -11
- package/dist/src/customThemes/sendogo/tokens/typography.d.ts +23 -23
- package/dist/src/customThemes/streamMarketing/concepts.d.ts +22 -22
- package/dist/src/customThemes/streamMarketing/entities.d.ts +2 -2
- package/dist/src/customThemes/streamMarketing/tokens/colors.d.ts +14 -14
- package/dist/src/customThemes/streamMarketing/tokens/typography.d.ts +23 -23
- package/dist/src/customThemes/streamVA/concepts.d.ts +22 -22
- package/dist/src/customThemes/streamVA/entities.d.ts +2 -2
- package/dist/src/customThemes/streamVA/tokens/colors.d.ts +14 -14
- package/dist/src/customThemes/streamVA/tokens/typography.d.ts +23 -23
- package/dist/src/exports/atoms.d.ts +24 -24
- package/dist/src/exports/editor.d.ts +1 -1
- package/dist/src/exports/hooks.d.ts +1 -1
- package/dist/src/exports/molecules.d.ts +64 -64
- package/dist/src/exports/organisms.d.ts +46 -46
- package/dist/src/exports/socPortfolio.d.ts +9 -9
- package/dist/src/exports/themes.d.ts +10 -11
- package/dist/src/helpers/hoc-functions/findBorderDirection.d.ts +3 -5
- package/dist/src/helpers/hoc-functions/findBorderRadiusDirection.d.ts +2 -4
- package/dist/src/helpers/hoc-functions/findColor.d.ts +2 -4
- package/dist/src/helpers/hoc-functions/findDirection.d.ts +2 -4
- package/dist/src/helpers/hoc-functions/generateStyles.d.ts +3 -5
- package/dist/src/helpers/hoc-functions/makeResponsive.d.ts +6 -6
- package/dist/src/helpers/hoc-functions/makeTextResponsive.d.ts +4 -3
- package/dist/src/helpers/hoc-functions/mapArrayToObject.d.ts +1 -5
- package/dist/src/helpers/hoc-functions/mediaQueries.d.ts +14 -14
- package/dist/src/helpers/hoc-functions/typeChecks.d.ts +6 -7
- package/dist/src/helpers/hoc-types/cssValueTypes.d.ts +19 -19
- package/dist/src/helpers/hoc-types/entityValueTypes.d.ts +158 -158
- package/dist/src/helpers/hoc-types/hocBasePropTypes.d.ts +54 -54
- package/dist/src/helpers/hoc-types/hocBaseUnion.d.ts +5 -5
- package/dist/src/helpers/hoc-types/hocMotionTypes.d.ts +6 -6
- package/dist/src/helpers/noop.d.ts +1 -1
- package/dist/src/helpers/style-functions/computeAvatarProperties.d.ts +5 -5
- package/dist/src/helpers/style-functions/computeButtonSizeProperties.d.ts +6 -6
- package/dist/src/helpers/style-functions/computeTextTypeFromSize.d.ts +10 -10
- package/dist/src/helpers/style-functions/convertTextColorToIconColor.d.ts +3 -3
- package/dist/src/helpers/style-functions/getIconProperties.d.ts +6 -6
- package/dist/src/helpers/style-functions/getNumberFromString.d.ts +1 -1
- package/dist/src/helpers/style-functions/mapSizeType.d.ts +2 -2
- package/dist/src/helpers/theme-functions/computeColorSwatch.d.ts +14 -14
- package/dist/src/helpers/theme-functions/computeGrayScale.d.ts +2 -2
- package/dist/src/helpers/theme-functions/computeShadow.d.ts +4 -4
- package/dist/src/helpers/theme-functions/computeSpacing.d.ts +1 -1
- package/dist/src/helpers/utils.d.ts +1 -1
- package/dist/src/hooks/useColorSwatch.d.ts +11 -11
- package/dist/src/hooks/useCurrentDevice.d.ts +2 -2
- package/dist/src/hooks/useDeviceSize.d.ts +5 -5
- package/dist/src/hooks/useEntities.d.ts +1 -504
- package/dist/src/hooks/useEvent.d.ts +1 -1
- package/dist/src/hooks/useInnerHeight.d.ts +1 -1
- package/dist/src/hooks/useInnerWidth.d.ts +1 -1
- package/dist/src/hooks/useLinearGradient.d.ts +5 -5
- package/dist/src/hooks/useLongPress.d.ts +10 -11
- package/dist/src/hooks/useOutsideClick.d.ts +1 -1
- package/dist/src/hooks/usePrevious.d.ts +1 -1
- package/dist/src/hooks/useProgressiveImage.d.ts +1 -1
- package/dist/src/hooks/useRadialGradient.d.ts +5 -5
- package/dist/src/hooks/useWindowSize.d.ts +4 -4
- package/dist/src/index.d.ts +7 -7
- package/dist/src/molecules/articleCard/articleCard.d.ts +12 -12
- package/dist/src/molecules/blockQuote/blockQuote.d.ts +18 -18
- package/dist/src/molecules/button/button.d.ts +33 -34
- package/dist/src/molecules/button/styles.d.ts +9 -0
- package/dist/src/molecules/checkbox/checkbox.d.ts +11 -12
- package/dist/src/molecules/checkbox/styles.d.ts +9 -0
- package/dist/src/molecules/circle/circle.d.ts +13 -13
- package/dist/src/molecules/clipboard/clipboard.d.ts +7 -7
- package/dist/src/molecules/closeButton/closeButton.d.ts +14 -15
- package/dist/src/molecules/closeButton/styles.d.ts +4 -0
- package/dist/src/molecules/comparisonItem/comparisonItem.d.ts +13 -13
- package/dist/src/molecules/contextBar/contextBar.d.ts +6 -6
- package/dist/src/molecules/countdownTimer/countdownTimer.d.ts +17 -17
- package/dist/src/molecules/dialog/dialog.d.ts +26 -27
- package/dist/src/molecules/dialog/styles.d.ts +5 -0
- package/dist/src/molecules/displayCard/displayCard.d.ts +7 -7
- package/dist/src/molecules/downloadButton/downloadButton.d.ts +8 -8
- package/dist/src/molecules/dragBar/dragBar.d.ts +12 -12
- package/dist/src/molecules/dragBar/styles.d.ts +4 -0
- package/dist/src/molecules/dragBox/dragBox.d.ts +7 -7
- package/dist/src/molecules/dragBox/styles.d.ts +4 -0
- package/dist/src/molecules/drawer/drawer.d.ts +23 -23
- package/dist/src/molecules/drawer/styles.d.ts +7 -0
- package/dist/src/molecules/dropDownMenu/dropDownMenu.d.ts +10 -10
- package/dist/src/molecules/featureBadge/featureBadge.d.ts +14 -14
- package/dist/src/molecules/grid/components/gridItem.d.ts +13 -14
- package/dist/src/molecules/grid/grid.d.ts +18 -19
- package/dist/src/molecules/grid/styles.d.ts +5 -0
- package/dist/src/molecules/iconLink/iconLink.d.ts +23 -24
- package/dist/src/molecules/iconLink/styles.d.ts +7 -0
- package/dist/src/molecules/image/filters.d.ts +9 -9
- package/dist/src/molecules/image/image.d.ts +19 -20
- package/dist/src/molecules/image/loaders/ImageLoader.d.ts +9 -9
- package/dist/src/molecules/image/styles.d.ts +8 -0
- package/dist/src/molecules/imageThumbnail/imageThumbnail.d.ts +9 -9
- package/dist/src/molecules/infiniteScroller/infiniteScroller.d.ts +13 -13
- package/dist/src/molecules/infoBlock/infoBlock.d.ts +12 -13
- package/dist/src/molecules/infoBlock/styles.d.ts +6 -0
- package/dist/src/molecules/input/input.d.ts +39 -40
- package/dist/src/molecules/input/styles.d.ts +9 -0
- package/dist/src/molecules/linkColumn/linkColumn.d.ts +9 -9
- package/dist/src/molecules/linkColumn/styles.d.ts +4 -0
- package/dist/src/molecules/loader/loader.d.ts +8 -8
- package/dist/src/molecules/logo/bellaCadeaux/bellaCadeauxLogo.d.ts +3 -3
- package/dist/src/molecules/logo/blue42/blue42Logo.d.ts +3 -3
- package/dist/src/molecules/logo/greenerStill/greenerStillIcon.d.ts +3 -3
- package/dist/src/molecules/logo/greenerStill/greenerStillLogo.d.ts +3 -3
- package/dist/src/molecules/logo/logo.d.ts +18 -18
- package/dist/src/molecules/logo/promptingU/promptingUIcon.d.ts +3 -3
- package/dist/src/molecules/logo/promptingU/promptingULogo.d.ts +3 -3
- package/dist/src/molecules/logo/promptings/promptingsIcon.d.ts +3 -3
- package/dist/src/molecules/logo/promptings/promptingsLogo.d.ts +3 -3
- package/dist/src/molecules/logo/promptingsAcademy/promptingsAcademyIcon.d.ts +3 -3
- package/dist/src/molecules/logo/promptingsAcademy/propmtingsAcademyLogo.d.ts +3 -3
- package/dist/src/molecules/logo/soc/socIcon.d.ts +3 -3
- package/dist/src/molecules/logo/soc/socLogo.d.ts +3 -3
- package/dist/src/molecules/logo/streamMarketing/streamMarketingLogo.d.ts +3 -3
- package/dist/src/molecules/logo/streamVA/streamVAIcon.d.ts +3 -3
- package/dist/src/molecules/logo/streamVA/streamVALogo.d.ts +3 -3
- package/dist/src/molecules/masonryGrid/masonryGrid.d.ts +7 -7
- package/dist/src/molecules/menu/components/menuItem.d.ts +10 -10
- package/dist/src/molecules/menu/components/menuSection.d.ts +6 -6
- package/dist/src/molecules/menu/menu.d.ts +5 -6
- package/dist/src/molecules/menu/styles.d.ts +4 -0
- package/dist/src/molecules/navigation/navigation.d.ts +14 -15
- package/dist/src/molecules/navigation/styles.d.ts +15 -0
- package/dist/src/molecules/overlay/overlay.d.ts +15 -15
- package/dist/src/molecules/progress/progress.d.ts +6 -7
- package/dist/src/molecules/progress/styles.d.ts +5 -0
- package/dist/src/molecules/quantitySlider/components/stackedCardHead.d.ts +9 -9
- package/dist/src/molecules/quantitySlider/quantitySlider.d.ts +15 -15
- package/dist/src/molecules/quickLink/quickLink.d.ts +7 -7
- package/dist/src/molecules/releaseNote/releaseNote.d.ts +18 -18
- package/dist/src/molecules/scrollable/scrollable.d.ts +8 -9
- package/dist/src/molecules/scrollable/styles.d.ts +4 -0
- package/dist/src/molecules/scrollingIndicator/scrollingIndicator.d.ts +6 -6
- package/dist/src/molecules/scrollingIndicator/styles.d.ts +5 -0
- package/dist/src/molecules/select/components/option.d.ts +43 -43
- package/dist/src/molecules/select/components/optionContent.d.ts +7 -7
- package/dist/src/molecules/select/select.d.ts +73 -74
- package/dist/src/molecules/select/styles.d.ts +11 -0
- package/dist/src/molecules/separator/separator.d.ts +9 -9
- package/dist/src/molecules/separator/styles.d.ts +8 -0
- package/dist/src/molecules/sheet/components/snapPoint.d.ts +6 -6
- package/dist/src/molecules/sheet/sheet.d.ts +27 -28
- package/dist/src/molecules/sheet/styles.d.ts +8 -0
- package/dist/src/molecules/sidebar/sidebar.d.ts +11 -11
- package/dist/src/molecules/slider/slider.d.ts +15 -17
- package/dist/src/molecules/slider/styles.d.ts +7 -0
- package/dist/src/molecules/sphere/sphere.d.ts +14 -14
- package/dist/src/molecules/stackedCards/stackedCards.d.ts +12 -12
- package/dist/src/molecules/stoplight/components/colorOption.d.ts +10 -10
- package/dist/src/molecules/stoplight/stoplight.d.ts +13 -13
- package/dist/src/molecules/tab/components/tab.d.ts +8 -8
- package/dist/src/molecules/tab/tabs.d.ts +13 -13
- package/dist/src/molecules/table/components/rowItem.d.ts +9 -12
- package/dist/src/molecules/table/components/tableRow.d.ts +13 -16
- package/dist/src/molecules/table/styles.d.ts +6 -0
- package/dist/src/molecules/table/table.d.ts +17 -20
- package/dist/src/molecules/titledList/titledList.d.ts +10 -10
- package/dist/src/molecules/todo/todo.d.ts +5 -5
- package/dist/src/molecules/toggle/toggle.d.ts +6 -6
- package/dist/src/molecules/tooltip/styles.d.ts +5 -0
- package/dist/src/molecules/tooltip/tooltip.d.ts +14 -15
- package/dist/src/molecules/transition/styles.d.ts +4 -0
- package/dist/src/molecules/transition/transition.d.ts +8 -9
- package/dist/src/molecules/uploadButton/styles.d.ts +9 -0
- package/dist/src/molecules/uploadButton/uploadButton.d.ts +15 -16
- package/dist/src/organisms/accordion/accordion.d.ts +28 -28
- package/dist/src/organisms/accordion/components/accordionBody.d.ts +10 -10
- package/dist/src/organisms/accordion/components/accordionHeading.d.ts +12 -12
- package/dist/src/organisms/accordion/context/accordionContext.d.ts +9 -9
- package/dist/src/organisms/accordion/styles.d.ts +4 -0
- package/dist/src/organisms/accountMenu/accountMenu.d.ts +18 -18
- package/dist/src/organisms/accountMenu/styles.d.ts +5 -0
- package/dist/src/organisms/animatedGrid/animatedGrid.d.ts +23 -23
- package/dist/src/organisms/animatedTiltCard/animatedTiltCard.d.ts +18 -18
- package/dist/src/organisms/animatedTiltCard/styles.d.ts +4 -0
- package/dist/src/organisms/awards/components/awardCard.d.ts +9 -10
- package/dist/src/organisms/awards/components/awardGroupLabel.d.ts +6 -6
- package/dist/src/organisms/awards/components/expandedAwardCard.d.ts +13 -14
- package/dist/src/organisms/awards/components/incrementalAwardLabel.d.ts +6 -7
- package/dist/src/organisms/awards/styles.d.ts +6 -0
- package/dist/src/organisms/awards/types/index.d.ts +6 -6
- package/dist/src/organisms/banner/banner.d.ts +23 -23
- package/dist/src/organisms/buttonWithMenu/buttonWithMenu.d.ts +19 -19
- package/dist/src/organisms/circleMenu/circleMenu.d.ts +10 -10
- package/dist/src/organisms/circleMenu/styles.d.ts +5 -0
- package/dist/src/organisms/comparisonIncludesList/comparisonIncludesList.d.ts +7 -7
- package/dist/src/organisms/configurationCard/configurationCard.d.ts +20 -20
- package/dist/src/organisms/confirmDialog/confirmDialog.d.ts +29 -29
- package/dist/src/organisms/contentPusher/contentPusher.d.ts +24 -24
- package/dist/src/organisms/featureAnnouncement/featureAnnouncement.d.ts +18 -18
- package/dist/src/organisms/imageGrid/imageGrid.d.ts +26 -26
- package/dist/src/organisms/imageUploadWidget/imageUploadWidget.d.ts +28 -29
- package/dist/src/organisms/imageUploadWidget/styles.d.ts +4 -0
- package/dist/src/organisms/imageUploader/imageUploader.d.ts +20 -19
- package/dist/src/organisms/incrementSetting/incrementSetting.d.ts +18 -18
- package/dist/src/organisms/incrementSetting/loader/incrementSettingLoader.d.ts +5 -5
- package/dist/src/organisms/incrementSetting/styles.d.ts +4 -0
- package/dist/src/organisms/inviteCard/inviteCard.d.ts +24 -24
- package/dist/src/organisms/navigationPill/navigationPill.d.ts +15 -16
- package/dist/src/organisms/navigationPill/styles.d.ts +8 -0
- package/dist/src/organisms/phoneInput/phoneInput.d.ts +18 -19
- package/dist/src/organisms/phoneInput/styles.d.ts +5 -0
- package/dist/src/organisms/pill/pill.d.ts +19 -19
- package/dist/src/organisms/pinInput/components/pinBox.d.ts +13 -10
- package/dist/src/organisms/pinInput/pinInput.d.ts +13 -14
- package/dist/src/organisms/pinInput/styles.d.ts +7 -0
- package/dist/src/organisms/pricingTile/pricingTile.d.ts +47 -47
- package/dist/src/organisms/promotionWidget/promotionWidget.d.ts +22 -22
- package/dist/src/organisms/qdsChrome/components/content.d.ts +16 -15
- package/dist/src/organisms/qdsChrome/components/revealingContent.d.ts +10 -10
- package/dist/src/organisms/qdsChrome/qdsChrome.d.ts +39 -39
- package/dist/src/organisms/qdsChrome/styles.d.ts +10 -0
- package/dist/src/organisms/quantumColorPicker/quantumColorPicker.d.ts +20 -21
- package/dist/src/organisms/quantumColorPicker/styles.d.ts +4 -0
- package/dist/src/organisms/radioCard/radioCard.d.ts +11 -12
- package/dist/src/organisms/radioCard/styles.d.ts +4 -0
- package/dist/src/organisms/radioOptionList/radioOptionList.d.ts +17 -17
- package/dist/src/organisms/radioOptionList/styles.d.ts +4 -0
- package/dist/src/organisms/releaseNoteDialog/releaseNoteDialog.d.ts +25 -25
- package/dist/src/organisms/selectableList/components/selectableCard.d.ts +8 -8
- package/dist/src/organisms/selectableList/selectableList.d.ts +9 -9
- package/dist/src/organisms/selectableList/styles.d.ts +4 -0
- package/dist/src/organisms/settingInput/settingInput.d.ts +10 -11
- package/dist/src/organisms/settingInput/styles.d.ts +4 -0
- package/dist/src/organisms/staticNavigation/components/mobileView.d.ts +9 -9
- package/dist/src/organisms/staticNavigation/components/navigationLink.d.ts +12 -12
- package/dist/src/organisms/staticNavigation/staticNavigation.d.ts +37 -37
- package/dist/src/organisms/staticNavigation/styles.d.ts +5 -0
- package/dist/src/organisms/stepper/components/step.d.ts +6 -6
- package/dist/src/organisms/stepper/stepper.d.ts +16 -16
- package/dist/src/organisms/subNavigation/components/subNavigationHeading.d.ts +10 -10
- package/dist/src/organisms/subNavigation/styles.d.ts +5 -0
- package/dist/src/organisms/subNavigation/subNavigation.d.ts +19 -19
- package/dist/src/organisms/userCard/loaders/userCardLoader.d.ts +6 -6
- package/dist/src/organisms/userCard/styles.d.ts +5 -0
- package/dist/src/organisms/userCard/userCard.d.ts +15 -16
- package/dist/src/organisms/videoPlayer/components/playButton.d.ts +9 -10
- package/dist/src/organisms/videoPlayer/components/poster.d.ts +12 -12
- package/dist/src/organisms/videoPlayer/styles.d.ts +8 -0
- package/dist/src/organisms/videoPlayer/videoPlayer.d.ts +15 -16
- package/dist/src/organisms/zoom/styles.d.ts +5 -0
- package/dist/src/organisms/zoom/zoom.d.ts +15 -16
- package/dist/src/portfolios/editor/editorSidebar/components/innerContents.d.ts +17 -17
- package/dist/src/portfolios/editor/editorSidebar/editorSidebar.d.ts +5 -5
- package/dist/src/portfolios/soc/affiliateShareWidget/affiliateShareWidget.d.ts +6 -6
- package/dist/src/portfolios/soc/components/bulkSend/bulkSend.d.ts +46 -46
- package/dist/src/portfolios/soc/components/bulkSend/cardQuantitySlider.d.ts +9 -9
- package/dist/src/portfolios/soc/components/cardEntryDialog/cardEntryDialog.d.ts +18 -18
- package/dist/src/portfolios/soc/components/orderCard/orderCard.d.ts +15 -15
- package/dist/src/portfolios/soc/components/orderCard/styles.d.ts +4 -0
- package/dist/src/portfolios/soc/components/paperTypeModal/paperTypeModal.d.ts +15 -16
- package/dist/src/portfolios/soc/components/paperTypeModal/styles.d.ts +4 -0
- package/dist/src/portfolios/soc/components/upsaleSheet/components/selectedOption.d.ts +9 -9
- package/dist/src/portfolios/soc/components/upsaleSheet/styles.d.ts +4 -0
- package/dist/src/portfolios/soc/components/upsaleSheet/upsaleSheet.d.ts +35 -35
- package/dist/src/portfolios/soc/subscriptionUpsaleDialog/constants/constants.d.ts +15 -15
- package/dist/src/portfolios/soc/subscriptionUpsaleDialog/subscriptionUpsaleDialog.d.ts +3 -3
- package/dist/src/portfolios/soc/upsaleDialog/styles.d.ts +4 -0
- package/dist/src/portfolios/soc/upsaleDialog/upsaleDialog.d.ts +39 -39
- package/dist/src/portfolios/soc/upsaleDialog/upsaleOptions.d.ts +34 -34
- package/dist/src/stories/atoms/Anchor.stories.d.ts +5 -0
- package/dist/src/stories/atoms/AnimatedCheckmark.stories.d.ts +6 -0
- package/dist/src/stories/atoms/Aside.stories.d.ts +5 -0
- package/dist/src/stories/atoms/Avatar.stories.d.ts +9 -0
- package/dist/src/stories/atoms/Badge.stories.d.ts +6 -0
- package/dist/src/stories/atoms/Bar.stories.d.ts +4 -0
- package/dist/src/stories/atoms/Capsule.stories.d.ts +5 -0
- package/dist/src/stories/atoms/Card.stories.d.ts +5 -0
- package/dist/src/stories/atoms/ColorThumbnail.stories.d.ts +5 -0
- package/dist/src/stories/atoms/Colors.stories.d.ts +11 -0
- package/dist/src/stories/atoms/Div.stories.d.ts +5 -0
- package/dist/src/stories/atoms/Flex.stories.d.ts +5 -0
- package/dist/src/stories/atoms/Hstack.stories.d.ts +5 -0
- package/dist/src/stories/atoms/Icons.stories.d.ts +124 -0
- package/dist/src/stories/atoms/List.stories.d.ts +6 -0
- package/dist/src/stories/atoms/ListItem.stories.d.ts +5 -0
- package/dist/src/stories/atoms/LoadingSpinner.stories.d.ts +4 -0
- package/dist/src/stories/atoms/Section.stories.d.ts +5 -0
- package/dist/src/stories/atoms/Spacer.stories.d.ts +4 -0
- package/dist/src/stories/atoms/Span.stories.d.ts +5 -0
- package/dist/src/stories/atoms/Text.stories.d.ts +21 -0
- package/dist/src/stories/atoms/VStack.stories.d.ts +5 -0
- package/dist/src/stories/molecules/ArticleCard.stories.d.ts +5 -0
- package/dist/src/stories/molecules/BlockQuote.stories.d.ts +5 -0
- package/dist/src/stories/molecules/Button.stories.d.ts +32 -0
- package/dist/src/stories/molecules/Checkbox.stories.d.ts +8 -0
- package/dist/src/stories/molecules/Circle.stories.d.ts +5 -0
- package/dist/src/stories/molecules/Clipboard.stories.d.ts +5 -0
- package/dist/src/stories/molecules/CloseButton.stories.d.ts +5 -0
- package/dist/src/stories/molecules/ComparisonItem.stories.d.ts +5 -0
- package/dist/src/stories/molecules/CountdownTimer.stories.d.ts +5 -0
- package/dist/src/stories/molecules/Dialog.stories.d.ts +7 -0
- package/dist/src/stories/molecules/DisplayCard.stories.d.ts +5 -0
- package/dist/src/stories/molecules/DownloadButton.stories.d.ts +5 -0
- package/dist/src/stories/molecules/Drawer.stories.d.ts +11 -0
- package/dist/src/stories/molecules/DropDownMenu.stories.d.ts +5 -0
- package/dist/src/stories/molecules/FeatureBadge.stories.d.ts +3 -0
- package/dist/src/stories/molecules/Grid.stories.d.ts +5 -0
- package/dist/src/stories/molecules/IconLink.stories.d.ts +11 -0
- package/dist/src/stories/molecules/Image.stories.d.ts +8 -0
- package/dist/src/stories/molecules/ImageThumbnail.stories.d.ts +5 -0
- package/dist/src/stories/molecules/InfiniteScroller.stories.d.ts +5 -0
- package/dist/src/stories/molecules/InfoBlock.stories.d.ts +3 -0
- package/dist/src/stories/molecules/Input.stories.d.ts +15 -0
- package/dist/src/stories/molecules/LinkColumn.stories.d.ts +5 -0
- package/dist/src/stories/molecules/Loader.stories.d.ts +4 -0
- package/dist/src/stories/molecules/Logo.stories.d.ts +4 -0
- package/dist/src/stories/molecules/MasonryGrid.stories.d.ts +5 -0
- package/dist/src/stories/molecules/Menu.stories.d.ts +5 -0
- package/dist/src/stories/molecules/Progress.stories.d.ts +4 -0
- package/dist/src/stories/molecules/QuantitySlider.stories.d.ts +5 -0
- package/dist/src/stories/molecules/ReleaseNote.stories.d.ts +5 -0
- package/dist/src/stories/molecules/Scrollable.stories.d.ts +5 -0
- package/dist/src/stories/molecules/ScrollingIndicator.stories.d.ts +5 -0
- package/dist/src/stories/molecules/Select.stories.d.ts +7 -0
- package/dist/src/stories/molecules/Separator.stories.d.ts +8 -0
- package/dist/src/stories/molecules/Sheet.stories.d.ts +10 -0
- package/dist/src/stories/molecules/Sidebar.stories.d.ts +5 -0
- package/dist/src/stories/molecules/Slider.stories.d.ts +5 -0
- package/dist/src/stories/molecules/Sphere.stories.d.ts +5 -0
- package/dist/src/stories/molecules/StackedCards.stories.d.ts +5 -0
- package/dist/src/stories/molecules/Stoplight.stories.d.ts +10 -0
- package/dist/src/stories/molecules/Tab.stories.d.ts +5 -0
- package/dist/src/stories/molecules/Table.stories.d.ts +6 -0
- package/dist/src/stories/molecules/TitledList.stories.d.ts +5 -0
- package/dist/src/stories/molecules/Toggle.stories.d.ts +3 -0
- package/dist/src/stories/molecules/ToolTip.stories.d.ts +6 -0
- package/dist/src/stories/molecules/Transition.stories.d.ts +4 -0
- package/dist/src/stories/molecules/UploadButton.stories.d.ts +5 -0
- package/dist/src/stories/organisms/Accordion.stories.d.ts +9 -0
- package/dist/src/stories/organisms/AccountMenu.stories.d.ts +4 -0
- package/dist/src/stories/organisms/AnimatedGrid.stories.d.ts +5 -0
- package/dist/src/stories/organisms/AnimatedTiltCard.stories.d.ts +3 -0
- package/dist/src/stories/organisms/Awards.stories.d.ts +6 -0
- package/dist/src/stories/organisms/Banner.stories.d.ts +8 -0
- package/dist/src/stories/organisms/ButtonWithMenu.stories.d.ts +4 -0
- package/dist/src/stories/organisms/CircleMenu.stories.d.ts +5 -0
- package/dist/src/stories/organisms/ComparisonIncludesList.stories.d.ts +3 -0
- package/dist/src/stories/organisms/ConfigurationCard.stories.d.ts +6 -0
- package/dist/src/stories/organisms/ConfirmDialog.stories.d.ts +7 -0
- package/dist/src/stories/organisms/ContentPusher.stories.d.ts +5 -0
- package/dist/src/stories/organisms/FeatureAnnouncement.stories.d.ts +5 -0
- package/dist/src/stories/organisms/ImageGrid.stories.d.ts +5 -0
- package/dist/src/stories/organisms/ImageUploadWidget.stories.d.ts +5 -0
- package/dist/src/stories/organisms/ImageUploader.stories.d.ts +5 -0
- package/dist/src/stories/organisms/IncrementSetting.stories.d.ts +6 -0
- package/dist/src/stories/organisms/InviteCard.stories.d.ts +3 -0
- package/dist/src/stories/organisms/PhoneInput.stories.d.ts +3 -0
- package/dist/src/stories/organisms/Pill.stories.d.ts +5 -0
- package/dist/src/stories/organisms/PinInput.stories.d.ts +5 -0
- package/dist/src/stories/organisms/PricingTile.stories.d.ts +6 -0
- package/dist/src/stories/organisms/PromotionWidget.stories.d.ts +5 -0
- package/dist/src/stories/organisms/QDSChrome.stories.d.ts +3 -0
- package/dist/src/stories/organisms/QuantumColorPicker.stories.d.ts +5 -0
- package/dist/src/stories/organisms/RadioCard.stories.d.ts +3 -0
- package/dist/src/stories/organisms/RadioOptionList.stories.d.ts +3 -0
- package/dist/src/stories/organisms/ReleaseNoteDialog.stories.d.ts +5 -0
- package/dist/src/stories/organisms/SelectableList.stories.d.ts +4 -0
- package/dist/src/stories/organisms/SettingInput.stories.d.ts +6 -0
- package/dist/src/stories/organisms/StaticNavigation.stories.d.ts +6 -0
- package/dist/src/stories/organisms/Stepper.stories.d.ts +5 -0
- package/dist/src/stories/organisms/UserCard.stories.d.ts +6 -0
- package/dist/src/stories/organisms/UserCardLoader.stories.d.ts +5 -0
- package/dist/src/stories/organisms/VideoPlayer.stories.d.ts +5 -0
- package/dist/src/stories/organisms/Zoom.stories.d.ts +6 -0
- package/dist/src/stories/portfolios/SOC/AffiliateShareWidget.stories.d.ts +5 -0
- package/dist/src/stories/portfolios/SOC/BulkSend.stories.d.ts +5 -0
- package/dist/src/stories/portfolios/SOC/CardEntryDialog.stories.d.ts +3 -0
- package/dist/src/stories/portfolios/SOC/OrderCard.stories.d.ts +5 -0
- package/dist/src/stories/portfolios/SOC/PaperTypeModal.stories.d.ts +5 -0
- package/dist/src/stories/portfolios/SOC/UpsaleDialog.stories.d.ts +4 -0
- package/dist/src/stories/portfolios/SOC/UpsaleSheet.stories.d.ts +3 -0
- package/dist/src/stories/portfolios/SOC/subscriptionUpsale/SubscriptionUpsaleDialog.stories.d.ts +3 -0
- package/dist/src/stories/portfolios/editor/EditorSidebar.stories.d.ts +5 -0
- package/dist/src/theme/quantumThemeWrapper.d.ts +8 -9
- package/dist/src/theme/theming/concepts.d.ts +108 -108
- package/dist/src/theme/theming/entities.d.ts +1032 -1032
- package/dist/src/theme/tokens/borders.d.ts +7 -7
- package/dist/src/theme/tokens/colors.d.ts +12 -12
- package/dist/src/theme/tokens/mediaQueries.d.ts +8 -8
- package/dist/src/theme/tokens/radius.d.ts +9 -9
- package/dist/src/theme/tokens/shadows.d.ts +8 -8
- package/dist/src/theme/tokens/sizing.d.ts +14 -14
- package/dist/src/theme/tokens/spacing.d.ts +2 -2
- package/dist/src/theme/tokens/typography.d.ts +22 -22
- package/dist/src/theme/types.d.ts +13 -13
- package/dist/src/types/global.d.ts +34 -34
- package/package.json +19 -11
- package/README.md +0 -77
- package/dist/index.css +0 -1
- package/dist/index.mjs +0 -26283
- package/dist/src/context/WindowSize.d.ts +0 -10
- package/dist/src/theme/ThemeContext.d.ts +0 -1513
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { BorderWidthDirection, HOCBorderWidthKeys, HOCBorderWidth, LiteralUnion, BorderStyleDirection } from '../hoc-types/entityValueTypes';
|
|
2
|
-
import { BorderStyles } from '../hoc-types/cssValueTypes';
|
|
3
|
-
export declare const findBorderDirection: (property: string, value: BorderWidthDirection | BorderStyleDirection | LiteralUnion<HOCBorderWidthKeys> | LiteralUnion<BorderStyles>, entity?: HOCBorderWidth) => {
|
|
4
|
-
[key: string]: any;
|
|
5
|
-
};
|
|
1
|
+
import { BorderWidthDirection, HOCBorderWidthKeys, HOCBorderWidth, LiteralUnion, BorderStyleDirection } from '../hoc-types/entityValueTypes';
|
|
2
|
+
import { BorderStyles } from '../hoc-types/cssValueTypes';
|
|
3
|
+
export declare const findBorderDirection: (property: string, value: BorderWidthDirection | BorderStyleDirection | LiteralUnion<HOCBorderWidthKeys> | LiteralUnion<BorderStyles>, entity?: HOCBorderWidth) => {};
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import { BorderRadius, HOCBorderRadius, HOCBorderRadiusKeys, LiteralUnion } from '../hoc-types/entityValueTypes';
|
|
2
|
-
export declare const findBorderRadiusDirection: (value: BorderRadius | LiteralUnion<HOCBorderRadiusKeys>, entity?: HOCBorderRadius) => {
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
};
|
|
1
|
+
import { BorderRadius, HOCBorderRadius, HOCBorderRadiusKeys, LiteralUnion } from '../hoc-types/entityValueTypes';
|
|
2
|
+
export declare const findBorderRadiusDirection: (value: BorderRadius | LiteralUnion<HOCBorderRadiusKeys>, entity?: HOCBorderRadius) => {};
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import { ColorSelection, HOCColors, HOCColorKeys, LiteralUnion, Responsive } from '../hoc-types/entityValueTypes';
|
|
2
|
-
export declare const findColor: (property: string, value: ColorSelection | LiteralUnion<HOCColorKeys> | Responsive<LiteralUnion<HOCColorKeys>>, entity: HOCColors) => {
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
};
|
|
1
|
+
import { ColorSelection, HOCColors, HOCColorKeys, LiteralUnion, Responsive } from '../hoc-types/entityValueTypes';
|
|
2
|
+
export declare const findColor: (property: string, value: ColorSelection | LiteralUnion<HOCColorKeys> | Responsive<LiteralUnion<HOCColorKeys>>, entity: HOCColors) => {};
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import { HOCSpacing, HOCSpacingKeys, LiteralUnion, Spacing } from '../hoc-types/entityValueTypes';
|
|
2
|
-
export declare const findDirection: (property: string, value: Spacing | LiteralUnion<HOCSpacingKeys>, entity?: HOCSpacing) => {
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
};
|
|
1
|
+
import { HOCSpacing, HOCSpacingKeys, LiteralUnion, Spacing } from '../hoc-types/entityValueTypes';
|
|
2
|
+
export declare const findDirection: (property: string, value: Spacing | LiteralUnion<HOCSpacingKeys>, entity?: HOCSpacing) => {};
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { HOCBaseProps } from '../hoc-types/hocBasePropTypes';
|
|
2
|
-
import { Entities } from
|
|
3
|
-
export declare const generateStyles: (props: HOCBaseProps, entities: Entities) => {
|
|
4
|
-
[key: string]: any;
|
|
5
|
-
};
|
|
1
|
+
import { HOCBaseProps } from '../hoc-types/hocBasePropTypes';
|
|
2
|
+
import { Entities } from "../../theme/theming/entities";
|
|
3
|
+
export declare const generateStyles: (props: HOCBaseProps, entities: Entities) => {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HOCSpacing, HOCBorderRadius, HOCBorderWidth, HOCValues, HOCShadows, HOCPrimitive, HOCTextColors, Responsive, ColorSelection, HOCColorKeys, LiteralUnion, HOCColors } from '../hoc-types/entityValueTypes';
|
|
2
|
-
import { CSSValues } from '../hoc-types/cssValueTypes';
|
|
3
|
-
import { TextColor } from
|
|
4
|
-
export declare const makeResponsive: (property: string, value: HOCValues | CSSValues | HOCPrimitive | Responsive<HOCPrimitive> | LiteralUnion<HOCColorKeys> | TextColor | Responsive<ColorSelection>, entity?: HOCSpacing | HOCBorderRadius | HOCBorderWidth | HOCShadows | HOCTextColors | HOCColors) => {
|
|
5
|
-
[key: string]: string | Responsive<string>;
|
|
6
|
-
};
|
|
1
|
+
import { HOCSpacing, HOCBorderRadius, HOCBorderWidth, HOCValues, HOCShadows, HOCPrimitive, HOCTextColors, Responsive, ColorSelection, HOCColorKeys, LiteralUnion, HOCColors } from '../hoc-types/entityValueTypes';
|
|
2
|
+
import { CSSValues } from '../hoc-types/cssValueTypes';
|
|
3
|
+
import { TextColor } from "../../exports/atoms";
|
|
4
|
+
export declare const makeResponsive: (property: string, value: HOCValues | CSSValues | HOCPrimitive | Responsive<HOCPrimitive> | LiteralUnion<HOCColorKeys> | TextColor | Responsive<ColorSelection>, entity?: HOCSpacing | HOCBorderRadius | HOCBorderWidth | HOCShadows | HOCTextColors | HOCColors) => {
|
|
5
|
+
[key: string]: string | Responsive<string>;
|
|
6
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Responsive } from '../hoc-types/entityValueTypes';
|
|
3
|
+
import { TextType } from "../../atoms/typography/text";
|
|
4
|
+
export declare const makeTextResponsive: (size: TextType | Responsive<TextType>, callback: (type: TextType) => JSX.Element | undefined, windowSize: number) => JSX.Element | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export type MediaQueryTypes = {
|
|
2
|
-
xSmall: string;
|
|
3
|
-
small: string;
|
|
4
|
-
medium: string;
|
|
5
|
-
large: string;
|
|
6
|
-
xLarge: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const querySizes: {
|
|
9
|
-
small: number;
|
|
10
|
-
medium: number;
|
|
11
|
-
large: number;
|
|
12
|
-
xLarge: number;
|
|
13
|
-
};
|
|
14
|
-
export declare const MEDIA_QUERIES: MediaQueryTypes;
|
|
1
|
+
export declare type MediaQueryTypes = {
|
|
2
|
+
xSmall: string;
|
|
3
|
+
small: string;
|
|
4
|
+
medium: string;
|
|
5
|
+
large: string;
|
|
6
|
+
xLarge: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const querySizes: {
|
|
9
|
+
small: number;
|
|
10
|
+
medium: number;
|
|
11
|
+
large: number;
|
|
12
|
+
xLarge: number;
|
|
13
|
+
};
|
|
14
|
+
export declare const MEDIA_QUERIES: MediaQueryTypes;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Responsive, BorderRadiusDirection, SpacingDirection, ColorSelection } from '../hoc-types/entityValueTypes';
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const isTextType: (valueToCheck: any) => valueToCheck is TextType;
|
|
1
|
+
import { Responsive, BorderRadiusDirection, SpacingDirection, ColorSelection } from '../hoc-types/entityValueTypes';
|
|
2
|
+
export declare const isResponsiveType: <T>(valueToCheck: any) => valueToCheck is Responsive<T>;
|
|
3
|
+
export declare const isBorderRadiusDirectionType: (valueToCheck: any) => valueToCheck is BorderRadiusDirection;
|
|
4
|
+
export declare const isSpacingDirectionType: (valueToCheck: any) => valueToCheck is SpacingDirection;
|
|
5
|
+
export declare const isColorSelectionType: (valueToCheck: any) => valueToCheck is ColorSelection;
|
|
6
|
+
export declare const isTextType: (valueToCheck: any) => valueToCheck is "heroTitle" | "title" | "subtitle" | "largeBody" | "body" | "caption" | "footnote";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export type BorderStyles = 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset' | 'initial' | 'inherit';
|
|
2
|
-
export type Cursor = 'pointer' | 'auto' | 'text' | 'zoom-out' | 'zoom-in' | 'initial' | 'inherit' | 'move' | 'row-resize' | 'col-resize' | 'nesw-resize' | 'nwse-resize' | 'not-allowed';
|
|
3
|
-
export type Display = 'relative' | 'absolute' | 'inline' | 'inline-block' | 'flex' | 'grid' | 'none' | 'contents' | 'inline-flex';
|
|
4
|
-
export type Position = 'absolute' | 'fixed' | 'sticky' | 'relative' | 'static';
|
|
5
|
-
type FlexBaseValues = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'initial' | 'inherit';
|
|
6
|
-
export type CSSGridBaseValues = 'start' | 'end' | 'space-evenly' | 'center';
|
|
7
|
-
export type JustifyContent = FlexBaseValues | CSSGridBaseValues;
|
|
8
|
-
export type JustifyItems = 'start' | 'end' | 'center' | 'stretch';
|
|
9
|
-
export type AlignContent = 'space-evenly' | 'stretch' | 'start' | 'end' | 'baseline' | 'first baseline' | 'last baseline' | 'safe' | 'unsafe' | CSSGridBaseValues | FlexBaseValues;
|
|
10
|
-
export type AlignItems = AlignContent | 'self-start' | 'self-end' | CSSGridBaseValues;
|
|
11
|
-
export type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
12
|
-
export type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
13
|
-
export type BackgroundSize = 'auto' | 'length' | 'cover' | 'contain' | 'initial' | 'inherit';
|
|
14
|
-
export type BackgroundPosition = 'center' | 'left top' | 'left center' | 'left bottom' | 'right top' | 'right center' | 'right bottom' | 'center top' | 'center center' | 'center bottom';
|
|
15
|
-
export type BackgroundRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat' | 'initial' | 'inherit';
|
|
16
|
-
export type Overflow = 'visible' | 'auto' | 'scroll' | 'hidden';
|
|
17
|
-
export type Initials = 'inherit' | 'initial';
|
|
18
|
-
export type CSSValues = BorderStyles | Cursor | Display | JustifyContent | AlignContent | AlignItems | JustifyItems | FlexDirection | BackgroundSize | BackgroundPosition | BackgroundRepeat | Overflow | Position;
|
|
19
|
-
export {};
|
|
1
|
+
export declare type BorderStyles = 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset' | 'initial' | 'inherit';
|
|
2
|
+
export declare type Cursor = 'pointer' | 'auto' | 'text' | 'zoom-out' | 'zoom-in' | 'initial' | 'inherit' | 'move' | 'row-resize' | 'col-resize' | 'nesw-resize' | 'nwse-resize' | 'not-allowed';
|
|
3
|
+
export declare type Display = 'relative' | 'absolute' | 'inline' | 'inline-block' | 'flex' | 'grid' | 'none' | 'contents' | 'inline-flex';
|
|
4
|
+
export declare type Position = 'absolute' | 'fixed' | 'sticky' | 'relative' | 'static';
|
|
5
|
+
declare type FlexBaseValues = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'initial' | 'inherit';
|
|
6
|
+
export declare type CSSGridBaseValues = 'start' | 'end' | 'space-evenly' | 'center';
|
|
7
|
+
export declare type JustifyContent = FlexBaseValues | CSSGridBaseValues;
|
|
8
|
+
export declare type JustifyItems = 'start' | 'end' | 'center' | 'stretch';
|
|
9
|
+
export declare type AlignContent = 'space-evenly' | 'stretch' | 'start' | 'end' | 'baseline' | 'first baseline' | 'last baseline' | 'safe' | 'unsafe' | CSSGridBaseValues | FlexBaseValues;
|
|
10
|
+
export declare type AlignItems = AlignContent | 'self-start' | 'self-end' | CSSGridBaseValues;
|
|
11
|
+
export declare type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
12
|
+
export declare type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
13
|
+
export declare type BackgroundSize = 'auto' | 'length' | 'cover' | 'contain' | 'initial' | 'inherit';
|
|
14
|
+
export declare type BackgroundPosition = 'center' | 'left top' | 'left center' | 'left bottom' | 'right top' | 'right center' | 'right bottom' | 'center top' | 'center center' | 'center bottom';
|
|
15
|
+
export declare type BackgroundRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat' | 'initial' | 'inherit';
|
|
16
|
+
export declare type Overflow = 'visible' | 'auto' | 'scroll' | 'hidden';
|
|
17
|
+
export declare type Initials = 'inherit' | 'initial';
|
|
18
|
+
export declare type CSSValues = BorderStyles | Cursor | Display | JustifyContent | AlignContent | AlignItems | JustifyItems | FlexDirection | BackgroundSize | BackgroundPosition | BackgroundRepeat | Overflow | Position;
|
|
19
|
+
export {};
|
|
@@ -1,158 +1,158 @@
|
|
|
1
|
-
import { ColorSwatch } from '../theme-functions/computeColorSwatch';
|
|
2
|
-
import { RequiredColorSwatch } from
|
|
3
|
-
import { BorderStyles } from './cssValueTypes';
|
|
4
|
-
export declare const colors: {
|
|
5
|
-
swatches: {
|
|
6
|
-
primaryBrand: Required<ColorSwatch>;
|
|
7
|
-
secondaryBrand: Required<ColorSwatch>;
|
|
8
|
-
success: Required<ColorSwatch>;
|
|
9
|
-
danger: Required<ColorSwatch>;
|
|
10
|
-
warning: Required<ColorSwatch>;
|
|
11
|
-
accent: Required<ColorSwatch>;
|
|
12
|
-
grayScale: ColorSwatch;
|
|
13
|
-
blueScale: Required<ColorSwatch>;
|
|
14
|
-
purpleScale: ColorSwatch;
|
|
15
|
-
};
|
|
16
|
-
background: string;
|
|
17
|
-
foreground: string;
|
|
18
|
-
}, spacing: {
|
|
19
|
-
x0: string;
|
|
20
|
-
x_25: string;
|
|
21
|
-
x_5: string;
|
|
22
|
-
x_75: string;
|
|
23
|
-
x1: string;
|
|
24
|
-
x1_5: string;
|
|
25
|
-
x2: string;
|
|
26
|
-
x2_5: string;
|
|
27
|
-
x3: string;
|
|
28
|
-
x4: string;
|
|
29
|
-
x5: string;
|
|
30
|
-
x6: string;
|
|
31
|
-
x7: string;
|
|
32
|
-
x8: string;
|
|
33
|
-
x9: string;
|
|
34
|
-
}, borderRadius: {
|
|
35
|
-
none: string;
|
|
36
|
-
small: string;
|
|
37
|
-
medium: string;
|
|
38
|
-
default: string;
|
|
39
|
-
large: string;
|
|
40
|
-
circle: string;
|
|
41
|
-
}, borders: {
|
|
42
|
-
thin: string;
|
|
43
|
-
default: string;
|
|
44
|
-
bold: string;
|
|
45
|
-
}, shadows: {
|
|
46
|
-
light: string;
|
|
47
|
-
mediumLight: string;
|
|
48
|
-
mediumDark: string;
|
|
49
|
-
dark: string;
|
|
50
|
-
generate: (shadow:
|
|
51
|
-
}, textColors: {
|
|
52
|
-
primaryBrand: string;
|
|
53
|
-
secondaryBrand: string;
|
|
54
|
-
primaryHeading: string | undefined;
|
|
55
|
-
primaryBody: string;
|
|
56
|
-
inverseHeading: string;
|
|
57
|
-
inverseBody: string;
|
|
58
|
-
accent: string;
|
|
59
|
-
success: string;
|
|
60
|
-
warning: string;
|
|
61
|
-
danger: string;
|
|
62
|
-
anchorBlue: string;
|
|
63
|
-
};
|
|
64
|
-
export type HOCPrimitive = string | number;
|
|
65
|
-
export type HOCColors = typeof colors;
|
|
66
|
-
export type HOCSwatchColors = typeof colors.swatches;
|
|
67
|
-
export type HOCSpacing = typeof spacing;
|
|
68
|
-
export type HOCBorderRadius = typeof borderRadius;
|
|
69
|
-
export type HOCBorderWidth = typeof borders;
|
|
70
|
-
export type HOCShadows = typeof shadows;
|
|
71
|
-
export type HOCTextColors = typeof textColors;
|
|
72
|
-
export type HOCSpacingKeys = keyof HOCSpacing;
|
|
73
|
-
export type HOCBorderRadiusKeys = keyof HOCBorderRadius;
|
|
74
|
-
export type HOCBorderWidthKeys = keyof HOCBorderWidth;
|
|
75
|
-
export type HOCColorKeysWithSwatch = keyof HOCColors;
|
|
76
|
-
export type HOCColorKeys = Exclude<HOCColorKeysWithSwatch, 'swatches'>;
|
|
77
|
-
export type HOCShadowKeys = keyof HOCShadows;
|
|
78
|
-
export type HOCSwatchColorKeys = keyof HOCSwatchColors;
|
|
79
|
-
export type ColorSwatchKeys = keyof ColorSwatch;
|
|
80
|
-
export type Responsive<T> = {
|
|
81
|
-
xSmall?: T;
|
|
82
|
-
small?: T;
|
|
83
|
-
medium?: T;
|
|
84
|
-
large?: T;
|
|
85
|
-
xLarge?: T;
|
|
86
|
-
};
|
|
87
|
-
export type Spacing = {
|
|
88
|
-
left?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
89
|
-
right?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
90
|
-
top?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
91
|
-
bottom?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
92
|
-
vertical?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
93
|
-
horizontal?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
94
|
-
};
|
|
95
|
-
export type SpacingDirection = Spacing & Responsive<HOCSpacingKeys>;
|
|
96
|
-
export type BorderRadius = {
|
|
97
|
-
left?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
98
|
-
right?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
99
|
-
top?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
100
|
-
topRight?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
101
|
-
topLeft?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
102
|
-
bottom?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
103
|
-
bottomRight?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
104
|
-
bottomLeft?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
105
|
-
};
|
|
106
|
-
export type BorderRadiusDirection = BorderRadius & Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
107
|
-
export type BorderDirection<T> = {
|
|
108
|
-
left?: T;
|
|
109
|
-
right?: T;
|
|
110
|
-
bottom?: T;
|
|
111
|
-
top?: T;
|
|
112
|
-
};
|
|
113
|
-
export type BorderWidth = BorderDirection<HOCBorderWidthKeys> | BorderDirection<Responsive<HOCBorderWidthKeys>>;
|
|
114
|
-
export type BorderWidthDirection = BorderWidth & Responsive<HOCBorderWidthKeys>;
|
|
115
|
-
export type BorderStyleDirection = BorderDirection<BorderStyles> | BorderDirection<Responsive<BorderStyles>>;
|
|
116
|
-
export type Shadows = LiteralUnion<HOCShadowKeys, string> | Responsive<LiteralUnion<HOCShadowKeys, string>>;
|
|
117
|
-
export type ColorSelection = PrimaryBrandColorSelection | SecondaryBrandColorSelection | SuccessColorSelection | WarningColorSelection | DangerColorSelection | AccentColorSelection | GrayScaleColorSelection | BlueScaleColorSelection | PurpleScaleColorSelection;
|
|
118
|
-
type PrimaryBrandColorSelection = {
|
|
119
|
-
swatch: 'primaryBrand';
|
|
120
|
-
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
121
|
-
};
|
|
122
|
-
type SecondaryBrandColorSelection = {
|
|
123
|
-
swatch: 'secondaryBrand';
|
|
124
|
-
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
125
|
-
};
|
|
126
|
-
type SuccessColorSelection = {
|
|
127
|
-
swatch: 'success';
|
|
128
|
-
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
129
|
-
};
|
|
130
|
-
type WarningColorSelection = {
|
|
131
|
-
swatch: 'warning';
|
|
132
|
-
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
133
|
-
};
|
|
134
|
-
type DangerColorSelection = {
|
|
135
|
-
swatch: 'danger';
|
|
136
|
-
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
137
|
-
};
|
|
138
|
-
type AccentColorSelection = {
|
|
139
|
-
swatch: 'accent';
|
|
140
|
-
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
141
|
-
};
|
|
142
|
-
type BlueScaleColorSelection = {
|
|
143
|
-
swatch: 'blueScale';
|
|
144
|
-
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
145
|
-
};
|
|
146
|
-
type GrayScaleColorSelection = {
|
|
147
|
-
swatch: 'grayScale';
|
|
148
|
-
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
149
|
-
};
|
|
150
|
-
type PurpleScaleColorSelection = {
|
|
151
|
-
swatch: 'purpleScale';
|
|
152
|
-
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
153
|
-
};
|
|
154
|
-
export type LiteralUnion<T extends U, U = string> = T | (U & {
|
|
155
|
-
_?: never;
|
|
156
|
-
});
|
|
157
|
-
export type HOCValues = Spacing | HOCSpacingKeys | BorderRadius | HOCBorderRadiusKeys | BorderWidth | HOCBorderWidthKeys | ColorSelection | Shadows | ColorSwatch;
|
|
158
|
-
export {};
|
|
1
|
+
import { ColorSwatch } from '../theme-functions/computeColorSwatch';
|
|
2
|
+
import { RequiredColorSwatch } from "../../theme/theming/concepts";
|
|
3
|
+
import { BorderStyles } from './cssValueTypes';
|
|
4
|
+
export declare const colors: {
|
|
5
|
+
swatches: {
|
|
6
|
+
primaryBrand: Required<ColorSwatch>;
|
|
7
|
+
secondaryBrand: Required<ColorSwatch>;
|
|
8
|
+
success: Required<ColorSwatch>;
|
|
9
|
+
danger: Required<ColorSwatch>;
|
|
10
|
+
warning: Required<ColorSwatch>;
|
|
11
|
+
accent: Required<ColorSwatch>;
|
|
12
|
+
grayScale: ColorSwatch;
|
|
13
|
+
blueScale: Required<ColorSwatch>;
|
|
14
|
+
purpleScale: ColorSwatch;
|
|
15
|
+
};
|
|
16
|
+
background: string;
|
|
17
|
+
foreground: string;
|
|
18
|
+
}, spacing: {
|
|
19
|
+
x0: string;
|
|
20
|
+
x_25: string;
|
|
21
|
+
x_5: string;
|
|
22
|
+
x_75: string;
|
|
23
|
+
x1: string;
|
|
24
|
+
x1_5: string;
|
|
25
|
+
x2: string;
|
|
26
|
+
x2_5: string;
|
|
27
|
+
x3: string;
|
|
28
|
+
x4: string;
|
|
29
|
+
x5: string;
|
|
30
|
+
x6: string;
|
|
31
|
+
x7: string;
|
|
32
|
+
x8: string;
|
|
33
|
+
x9: string;
|
|
34
|
+
}, borderRadius: {
|
|
35
|
+
none: string;
|
|
36
|
+
small: string;
|
|
37
|
+
medium: string;
|
|
38
|
+
default: string;
|
|
39
|
+
large: string;
|
|
40
|
+
circle: string;
|
|
41
|
+
}, borders: {
|
|
42
|
+
thin: string;
|
|
43
|
+
default: string;
|
|
44
|
+
bold: string;
|
|
45
|
+
}, shadows: {
|
|
46
|
+
light: string;
|
|
47
|
+
mediumLight: string;
|
|
48
|
+
mediumDark: string;
|
|
49
|
+
dark: string;
|
|
50
|
+
generate: (shadow: number[] | "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
|
|
51
|
+
}, textColors: {
|
|
52
|
+
primaryBrand: string;
|
|
53
|
+
secondaryBrand: string;
|
|
54
|
+
primaryHeading: string | undefined;
|
|
55
|
+
primaryBody: string;
|
|
56
|
+
inverseHeading: string;
|
|
57
|
+
inverseBody: string;
|
|
58
|
+
accent: string;
|
|
59
|
+
success: string;
|
|
60
|
+
warning: string;
|
|
61
|
+
danger: string;
|
|
62
|
+
anchorBlue: string;
|
|
63
|
+
};
|
|
64
|
+
export declare type HOCPrimitive = string | number;
|
|
65
|
+
export declare type HOCColors = typeof colors;
|
|
66
|
+
export declare type HOCSwatchColors = typeof colors.swatches;
|
|
67
|
+
export declare type HOCSpacing = typeof spacing;
|
|
68
|
+
export declare type HOCBorderRadius = typeof borderRadius;
|
|
69
|
+
export declare type HOCBorderWidth = typeof borders;
|
|
70
|
+
export declare type HOCShadows = typeof shadows;
|
|
71
|
+
export declare type HOCTextColors = typeof textColors;
|
|
72
|
+
export declare type HOCSpacingKeys = keyof HOCSpacing;
|
|
73
|
+
export declare type HOCBorderRadiusKeys = keyof HOCBorderRadius;
|
|
74
|
+
export declare type HOCBorderWidthKeys = keyof HOCBorderWidth;
|
|
75
|
+
export declare type HOCColorKeysWithSwatch = keyof HOCColors;
|
|
76
|
+
export declare type HOCColorKeys = Exclude<HOCColorKeysWithSwatch, 'swatches'>;
|
|
77
|
+
export declare type HOCShadowKeys = keyof HOCShadows;
|
|
78
|
+
export declare type HOCSwatchColorKeys = keyof HOCSwatchColors;
|
|
79
|
+
export declare type ColorSwatchKeys = keyof ColorSwatch;
|
|
80
|
+
export declare type Responsive<T> = {
|
|
81
|
+
xSmall?: T;
|
|
82
|
+
small?: T;
|
|
83
|
+
medium?: T;
|
|
84
|
+
large?: T;
|
|
85
|
+
xLarge?: T;
|
|
86
|
+
};
|
|
87
|
+
export declare type Spacing = {
|
|
88
|
+
left?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
89
|
+
right?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
90
|
+
top?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
91
|
+
bottom?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
92
|
+
vertical?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
93
|
+
horizontal?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
94
|
+
};
|
|
95
|
+
export declare type SpacingDirection = Spacing & Responsive<HOCSpacingKeys>;
|
|
96
|
+
export declare type BorderRadius = {
|
|
97
|
+
left?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
98
|
+
right?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
99
|
+
top?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
100
|
+
topRight?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
101
|
+
topLeft?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
102
|
+
bottom?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
103
|
+
bottomRight?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
104
|
+
bottomLeft?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
105
|
+
};
|
|
106
|
+
export declare type BorderRadiusDirection = BorderRadius & Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
107
|
+
export declare type BorderDirection<T> = {
|
|
108
|
+
left?: T;
|
|
109
|
+
right?: T;
|
|
110
|
+
bottom?: T;
|
|
111
|
+
top?: T;
|
|
112
|
+
};
|
|
113
|
+
export declare type BorderWidth = BorderDirection<HOCBorderWidthKeys> | BorderDirection<Responsive<HOCBorderWidthKeys>>;
|
|
114
|
+
export declare type BorderWidthDirection = BorderWidth & Responsive<HOCBorderWidthKeys>;
|
|
115
|
+
export declare type BorderStyleDirection = BorderDirection<BorderStyles> | BorderDirection<Responsive<BorderStyles>>;
|
|
116
|
+
export declare type Shadows = LiteralUnion<HOCShadowKeys, string> | Responsive<LiteralUnion<HOCShadowKeys, string>>;
|
|
117
|
+
export declare type ColorSelection = PrimaryBrandColorSelection | SecondaryBrandColorSelection | SuccessColorSelection | WarningColorSelection | DangerColorSelection | AccentColorSelection | GrayScaleColorSelection | BlueScaleColorSelection | PurpleScaleColorSelection;
|
|
118
|
+
declare type PrimaryBrandColorSelection = {
|
|
119
|
+
swatch: 'primaryBrand';
|
|
120
|
+
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
121
|
+
};
|
|
122
|
+
declare type SecondaryBrandColorSelection = {
|
|
123
|
+
swatch: 'secondaryBrand';
|
|
124
|
+
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
125
|
+
};
|
|
126
|
+
declare type SuccessColorSelection = {
|
|
127
|
+
swatch: 'success';
|
|
128
|
+
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
129
|
+
};
|
|
130
|
+
declare type WarningColorSelection = {
|
|
131
|
+
swatch: 'warning';
|
|
132
|
+
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
133
|
+
};
|
|
134
|
+
declare type DangerColorSelection = {
|
|
135
|
+
swatch: 'danger';
|
|
136
|
+
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
137
|
+
};
|
|
138
|
+
declare type AccentColorSelection = {
|
|
139
|
+
swatch: 'accent';
|
|
140
|
+
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
141
|
+
};
|
|
142
|
+
declare type BlueScaleColorSelection = {
|
|
143
|
+
swatch: 'blueScale';
|
|
144
|
+
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
145
|
+
};
|
|
146
|
+
declare type GrayScaleColorSelection = {
|
|
147
|
+
swatch: 'grayScale';
|
|
148
|
+
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
149
|
+
};
|
|
150
|
+
declare type PurpleScaleColorSelection = {
|
|
151
|
+
swatch: 'purpleScale';
|
|
152
|
+
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
153
|
+
};
|
|
154
|
+
export declare type LiteralUnion<T extends U, U = string> = T | (U & {
|
|
155
|
+
_?: never;
|
|
156
|
+
});
|
|
157
|
+
export declare type HOCValues = Spacing | HOCSpacingKeys | BorderRadius | HOCBorderRadiusKeys | BorderWidth | HOCBorderWidthKeys | ColorSelection | Shadows | ColorSwatch;
|
|
158
|
+
export {};
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { SpacingDirection, HOCSpacingKeys, BorderWidthDirection, HOCBorderWidthKeys, ColorSelection, Shadows, Responsive, LiteralUnion, HOCColorKeys, BorderStyleDirection } from './entityValueTypes';
|
|
2
|
-
import { BorderStyles, Cursor, Display, JustifyContent, AlignContent, AlignItems, JustifyItems, FlexDirection, FlexWrap, BackgroundSize, BackgroundPosition, BackgroundRepeat, Overflow, Position } from './cssValueTypes';
|
|
3
|
-
import { TextColor } from
|
|
4
|
-
import { OnMouseEvent } from
|
|
5
|
-
import { BackgroundColor, BorderRadius, Width, Height } from
|
|
6
|
-
export type HOCBaseProps = {
|
|
7
|
-
inset?: SpacingDirection | LiteralUnion<HOCSpacingKeys>;
|
|
8
|
-
outset?: SpacingDirection | LiteralUnion<HOCSpacingKeys>;
|
|
9
|
-
borderRadius?: BorderRadius;
|
|
10
|
-
borderWidth?: BorderWidthDirection | HOCBorderWidthKeys;
|
|
11
|
-
borderStyle?: BorderStyleDirection | BorderStyles;
|
|
12
|
-
borderColor?: ColorSelection | LiteralUnion<HOCColorKeys>;
|
|
13
|
-
backgroundColor?: BackgroundColor;
|
|
14
|
-
color?: LiteralUnion<TextColor>;
|
|
15
|
-
boxShadow?: Shadows;
|
|
16
|
-
height?: Height;
|
|
17
|
-
width?: Width;
|
|
18
|
-
maxHeight?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
19
|
-
maxWidth?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
20
|
-
minHeight?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
21
|
-
minWidth?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
22
|
-
position?: Responsive<Position> | Position;
|
|
23
|
-
top?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys, number | string>;
|
|
24
|
-
left?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys, number | string>;
|
|
25
|
-
bottom?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys, number | string>;
|
|
26
|
-
right?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys, number | string>;
|
|
27
|
-
justifyContent?: Responsive<JustifyContent> | JustifyContent;
|
|
28
|
-
alignContent?: Responsive<AlignContent> | AlignContent;
|
|
29
|
-
alignItems?: Responsive<AlignItems> | AlignItems;
|
|
30
|
-
flexDirection?: Responsive<FlexDirection> | FlexDirection;
|
|
31
|
-
flexGrow?: Responsive<number> | number;
|
|
32
|
-
flexShrink?: Responsive<number> | number;
|
|
33
|
-
flexWrap?: Responsive<FlexWrap> | FlexWrap;
|
|
34
|
-
rowGap?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
35
|
-
columnGap?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
36
|
-
justifyItems?: Responsive<JustifyItems> | JustifyItems;
|
|
37
|
-
order?: Responsive<number> | number;
|
|
38
|
-
cursor?: Responsive<Cursor> | Cursor;
|
|
39
|
-
zIndex?: Responsive<number> | number;
|
|
40
|
-
opacity?: Responsive<number> | number;
|
|
41
|
-
display?: Responsive<Display> | Display;
|
|
42
|
-
backgroundImage?: Responsive<string> | string;
|
|
43
|
-
backgroundSize?: Responsive<BackgroundSize> | BackgroundSize;
|
|
44
|
-
backgroundPosition?: Responsive<BackgroundPosition> | BackgroundPosition;
|
|
45
|
-
backgroundRepeat?: Responsive<BackgroundRepeat> | BackgroundRepeat;
|
|
46
|
-
gradient?: Responsive<string> | string;
|
|
47
|
-
transform?: Responsive<string> | string;
|
|
48
|
-
transformOrigin?: Responsive<string> | string;
|
|
49
|
-
overflow?: Responsive<Overflow> | Overflow;
|
|
50
|
-
overflowX?: Responsive<Overflow> | Overflow;
|
|
51
|
-
overflowY?: Responsive<Overflow> | Overflow;
|
|
52
|
-
onClick?: () => void;
|
|
53
|
-
onMouseEvent?: OnMouseEvent;
|
|
54
|
-
};
|
|
1
|
+
import { SpacingDirection, HOCSpacingKeys, BorderWidthDirection, HOCBorderWidthKeys, ColorSelection, Shadows, Responsive, LiteralUnion, HOCColorKeys, BorderStyleDirection } from './entityValueTypes';
|
|
2
|
+
import { BorderStyles, Cursor, Display, JustifyContent, AlignContent, AlignItems, JustifyItems, FlexDirection, FlexWrap, BackgroundSize, BackgroundPosition, BackgroundRepeat, Overflow, Position } from './cssValueTypes';
|
|
3
|
+
import { TextColor } from "../../exports/atoms";
|
|
4
|
+
import { OnMouseEvent } from "../../types/global";
|
|
5
|
+
import { BackgroundColor, BorderRadius, Width, Height } from "./hocBaseUnion";
|
|
6
|
+
export declare type HOCBaseProps = {
|
|
7
|
+
inset?: SpacingDirection | LiteralUnion<HOCSpacingKeys>;
|
|
8
|
+
outset?: SpacingDirection | LiteralUnion<HOCSpacingKeys>;
|
|
9
|
+
borderRadius?: BorderRadius;
|
|
10
|
+
borderWidth?: BorderWidthDirection | HOCBorderWidthKeys;
|
|
11
|
+
borderStyle?: BorderStyleDirection | BorderStyles;
|
|
12
|
+
borderColor?: ColorSelection | LiteralUnion<HOCColorKeys>;
|
|
13
|
+
backgroundColor?: BackgroundColor;
|
|
14
|
+
color?: LiteralUnion<TextColor>;
|
|
15
|
+
boxShadow?: Shadows;
|
|
16
|
+
height?: Height;
|
|
17
|
+
width?: Width;
|
|
18
|
+
maxHeight?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
19
|
+
maxWidth?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
20
|
+
minHeight?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
21
|
+
minWidth?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
22
|
+
position?: Responsive<Position> | Position;
|
|
23
|
+
top?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys, number | string>;
|
|
24
|
+
left?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys, number | string>;
|
|
25
|
+
bottom?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys, number | string>;
|
|
26
|
+
right?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys, number | string>;
|
|
27
|
+
justifyContent?: Responsive<JustifyContent> | JustifyContent;
|
|
28
|
+
alignContent?: Responsive<AlignContent> | AlignContent;
|
|
29
|
+
alignItems?: Responsive<AlignItems> | AlignItems;
|
|
30
|
+
flexDirection?: Responsive<FlexDirection> | FlexDirection;
|
|
31
|
+
flexGrow?: Responsive<number> | number;
|
|
32
|
+
flexShrink?: Responsive<number> | number;
|
|
33
|
+
flexWrap?: Responsive<FlexWrap> | FlexWrap;
|
|
34
|
+
rowGap?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
35
|
+
columnGap?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
36
|
+
justifyItems?: Responsive<JustifyItems> | JustifyItems;
|
|
37
|
+
order?: Responsive<number> | number;
|
|
38
|
+
cursor?: Responsive<Cursor> | Cursor;
|
|
39
|
+
zIndex?: Responsive<number> | number;
|
|
40
|
+
opacity?: Responsive<number> | number;
|
|
41
|
+
display?: Responsive<Display> | Display;
|
|
42
|
+
backgroundImage?: Responsive<string> | string;
|
|
43
|
+
backgroundSize?: Responsive<BackgroundSize> | BackgroundSize;
|
|
44
|
+
backgroundPosition?: Responsive<BackgroundPosition> | BackgroundPosition;
|
|
45
|
+
backgroundRepeat?: Responsive<BackgroundRepeat> | BackgroundRepeat;
|
|
46
|
+
gradient?: Responsive<string> | string;
|
|
47
|
+
transform?: Responsive<string> | string;
|
|
48
|
+
transformOrigin?: Responsive<string> | string;
|
|
49
|
+
overflow?: Responsive<Overflow> | Overflow;
|
|
50
|
+
overflowX?: Responsive<Overflow> | Overflow;
|
|
51
|
+
overflowY?: Responsive<Overflow> | Overflow;
|
|
52
|
+
onClick?: () => void;
|
|
53
|
+
onMouseEvent?: OnMouseEvent;
|
|
54
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LiteralUnion, HOCColorKeys, Responsive, ColorSelection, HOCBorderRadiusKeys, BorderRadiusDirection, HOCSpacingKeys } from
|
|
2
|
-
export type BackgroundColor = ColorSelection | LiteralUnion<HOCColorKeys> | Responsive<HOCColorKeys>;
|
|
3
|
-
export type BorderRadius = BorderRadiusDirection | LiteralUnion<HOCBorderRadiusKeys>;
|
|
4
|
-
export type Width = Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
5
|
-
export type Height = Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
1
|
+
import { LiteralUnion, HOCColorKeys, Responsive, ColorSelection, HOCBorderRadiusKeys, BorderRadiusDirection, HOCSpacingKeys } from "./entityValueTypes";
|
|
2
|
+
export declare type BackgroundColor = ColorSelection | LiteralUnion<HOCColorKeys> | Responsive<HOCColorKeys>;
|
|
3
|
+
export declare type BorderRadius = BorderRadiusDirection | LiteralUnion<HOCBorderRadiusKeys>;
|
|
4
|
+
export declare type Width = Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
5
|
+
export declare type Height = Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MotionProps } from 'framer-motion';
|
|
2
|
-
export type HOCMotionProps = {
|
|
3
|
-
className?: string;
|
|
4
|
-
motionKey?: string | number;
|
|
5
|
-
id?: string;
|
|
6
|
-
} & MotionProps;
|
|
1
|
+
import { MotionProps } from 'framer-motion';
|
|
2
|
+
export declare type HOCMotionProps = {
|
|
3
|
+
className?: string;
|
|
4
|
+
motionKey?: string | number;
|
|
5
|
+
id?: string;
|
|
6
|
+
} & MotionProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const noop: () => void;
|
|
1
|
+
export declare const noop: () => void;
|