@digital-b2c/coreui-kit 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +21 -0
- package/README.md +46 -0
- package/dist/icon-ads-HMLDPPRE.svg +3 -0
- package/dist/icon-blank-checkbox-QL6YHT6N.svg +3 -0
- package/dist/icon-blank-checkbox-white-RBACKJK2.svg +4 -0
- package/dist/icon-book-F432UUB3.svg +3 -0
- package/dist/icon-briefcase-MEYCJVOB.svg +3 -0
- package/dist/icon-calendar-6XVSU5R2.svg +3 -0
- package/dist/icon-checked-box-HXJX4QOM.svg +5 -0
- package/dist/icon-chevron-default-XRHTPYFD.svg +3 -0
- package/dist/icon-chevron-hovered-FXNQAEV3.svg +3 -0
- package/dist/icon-chevron-selected-O4VV5EZQ.svg +3 -0
- package/dist/icon-circle-chevron-down-YDKTSSAA.svg +3 -0
- package/dist/icon-circle-chevron-up-3LVQXDDY.svg +3 -0
- package/dist/icon-clipboard-RGBPZIT2.svg +3 -0
- package/dist/icon-convo-QXF3HB7U.svg +3 -0
- package/dist/icon-down-black-EUGNCX3W.svg +8 -0
- package/dist/icon-down-chevron-black-G37U72OZ.svg +3 -0
- package/dist/icon-down-chevron-white-PEUV6GJ7.svg +3 -0
- package/dist/icon-down-white-W7LIQ7BN.svg +8 -0
- package/dist/icon-download-black-F6AGZCYF.svg +15 -0
- package/dist/icon-download-white-VVTBJMMN.svg +15 -0
- package/dist/icon-eye-WAXJAF7C.svg +3 -0
- package/dist/icon-filled-chevron-left-2GY5O2G4.svg +3 -0
- package/dist/icon-filled-chevron-right-B6WC4UDP.svg +3 -0
- package/dist/icon-filled-chevron-up-DSHNXAIR.svg +3 -0
- package/dist/icon-globe-JOM23IWB.svg +3 -0
- package/dist/icon-hospital-HVKSQ2IF.svg +3 -0
- package/dist/icon-left-white-LTF2XPVJ.svg +8 -0
- package/dist/icon-library-56UDTCFP.svg +3 -0
- package/dist/icon-location-KVE4HFKV.svg +3 -0
- package/dist/icon-mail-black-H4JSL6GN.svg +10 -0
- package/dist/icon-marketing-YDUDTK7R.svg +3 -0
- package/dist/icon-menu-black-AI7IZGAV.svg +10 -0
- package/dist/icon-menu-white-EJXB5OPZ.svg +3 -0
- package/dist/icon-money-EJKRACJI.svg +3 -0
- package/dist/icon-people-XD7I6EDH.svg +3 -0
- package/dist/icon-right-OAELY3OL.svg +4 -0
- package/dist/icon-right-black-63XA3J2N.svg +8 -0
- package/dist/icon-right-white-HNWW4VHV.svg +8 -0
- package/dist/icon-smile-N5IQOWVQ.svg +3 -0
- package/dist/icon-tech-PWRO4Z5G.svg +3 -0
- package/dist/icon-tilted-right-EJ3C6PR6.svg +4 -0
- package/dist/icon-tilted-right-black-PBETFSTS.svg +8 -0
- package/dist/icon-tilted-right-white-W3HNOHCP.svg +3 -0
- package/dist/icon-up-chevron-up-white-ZAY6S6FY.svg +3 -0
- package/dist/icon-up-chevron-white-RQR5IGQP.svg +3 -0
- package/dist/icon-watch-black-SWPMR2N4.svg +3 -0
- package/dist/icon-watch-white-6F4DX3RD.svg +3 -0
- package/dist/icon-work-57TUXGDH.svg +3 -0
- package/dist/icon-workhome-QJL54EJE.svg +3 -0
- package/dist/icon-x-black-WBBDGBKZ.svg +4 -0
- package/dist/icon-x-white-WVEELCIS.svg +11 -0
- package/dist/index.cjs +599 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +521 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.cts +306 -0
- package/dist/index.d.ts +306 -0
- package/dist/index.mjs +578 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +91 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/Button/Button.module.scss","../src/components/Card/Card.module.scss","../src/components/Picture/Picture.module.scss","../src/styles/utilities/_mixins.scss","../src/components/CountingCard/CountingCard.module.scss","../src/components/InfoCard/InfoCard.module.scss","../src/components/Pagination/Pagination.module.scss","../src/components/primitives/Container/Container.module.scss","../src/widgets/CardCollection/CardCollection.module.scss","../src/styles/utilities/_mixins.scss","../src/widgets/MiniSectionCta/MiniSectionCta.module.scss","../src/styles/utilities/_mixins.scss","../src/widgets/Teaser5050With3Text/Teaser5050With3Text.module.scss","../src/styles/utilities/_mixins.scss","../src/widgets/Teaser5050WithCta/Teaser5050WithCta.module.scss","../src/styles/utilities/_mixins.scss"],"sourcesContent":[".button {\n width: fit-content;\n overflow: hidden;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--spacing-sm);\n padding: var(--spacing-md);\n text-align: center;\n white-space: nowrap;\n text-decoration: none;\n color: var(--color-white);\n border-radius: 8px;\n border: 1px solid var(--color-white);\n background: #ffffff00;\n font-family: var(--font-family-primary);\n font-size: var(--font-size-md);\n font-weight: var(--font-weight-regular);\n line-height: var(--line-height-normal);\n letter-spacing: -0.5%;\n position: relative;\n\n &:hover {\n text-decoration: none;\n background: #ffffff33;\n }\n\n &:active {\n background: #ffffff4d;\n }\n\n &.fullWidth {\n width: 100%;\n }\n\n &.primary {\n color: var(--color-white);\n background: radial-gradient(95.69% 410.59% at 2.16% 96.43%, #000000 0%, #1b1b1b 100%);\n border: 1px solid #000000;\n\n &:hover {\n background:\n linear-gradient(0deg, rgba(44, 44, 44, 0.8), rgba(44, 44, 44, 0.8)),\n radial-gradient(108.19% 464.22% at 2.16% 96.43%, #000000 0%, #1b1b1b 100%);\n }\n\n &:active {\n background: #0e0e0e;\n }\n\n &:focus {\n background:\n linear-gradient(0deg, rgba(44, 44, 44, 0.8), rgba(44, 44, 44, 0.8)),\n radial-gradient(108.19% 464.22% at 2.16% 96.43%, #000000 0%, #1b1b1b 100%);\n outline: 4px solid var(--color-link);\n }\n }\n\n &.secondary {\n color: var(--color-black);\n background: var(--color-white);\n border: 1px solid #c2c2c2;\n\n &:hover {\n background: #eeeeee;\n }\n\n &:active {\n background: #e3e3e3;\n }\n\n &:focus {\n background: #eeeeee;\n outline: 4px solid var(--color-link);\n }\n }\n\n &.ghost {\n color: var(--color-black);\n background: var(--color-white);\n border: none;\n\n &:hover {\n background: #eeeeee;\n }\n\n &:active {\n background: #c3c3c3;\n }\n\n &:focus {\n background: #eeeeee;\n outline: 4px solid var(--color-link);\n }\n }\n\n &.nofill {\n color: var(--color-white);\n background: transparent;\n border: none;\n\n &:hover {\n background: #ffffff33;\n }\n\n &:active {\n background: #ffffff4d;\n }\n\n &:focus {\n background: #ffffff33;\n outline: 4px solid var(--color-link);\n }\n }\n\n &.nofillblack {\n color: var(--color-black);\n background: transparent;\n border: none;\n\n &:hover {\n background: #e5e5e580;\n }\n\n &:active {\n background: #cbcbcb80;\n }\n\n &:focus {\n background: #e5e5e580;\n outline: 4px solid var(--color-link);\n }\n }\n\n &.grey {\n color: var(--color-white);\n background: transparent;\n border: 1px solid #949494;\n\n &:hover {\n background: #ffffff33;\n }\n\n &:active {\n background: #5d5d5de6;\n }\n\n &:focus {\n background: #ffffff33;\n outline: 4px solid var(--color-link);\n }\n }\n\n &.shiny {\n color: var(--color-white);\n background: transparent;\n border: none;\n\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n padding: 2px;\n background: linear-gradient(var(--angle), #ffffff, rgba(153, 153, 153, 0.39));\n border-radius: inherit;\n animation: rotateGradient 2s linear infinite;\n -webkit-mask:\n linear-gradient(#000 0 0) content-box,\n linear-gradient(#000 0 0);\n -webkit-mask-composite: xor;\n mask-composite: exclude;\n pointer-events: none;\n }\n\n &:hover {\n background: #ffffff33;\n }\n\n &:focus {\n background: transparent;\n outline: 4px solid var(--color-link);\n }\n }\n}\n\n@property --angle {\n syntax: '<angle>';\n initial-value: 0deg;\n inherits: false;\n}\n\n@keyframes rotateGradient {\n from {\n --angle: 0deg;\n }\n to {\n --angle: 360deg;\n }\n}\n",".card {\n display: flex;\n flex-direction: column;\n border-radius: 8px;\n padding: var(--spacing-xl);\n gap: var(--spacing-2xl);\n background: var(--color-gradient-black);\n min-width: 308px;\n\n h3 {\n color: var(--color-white);\n }\n\n p {\n color: #cecece;\n }\n}\n","@use '../../styles/utilities/mixins';\n\n.image-desktop {\n display: block;\n\n @include mixins.respond(md) {\n display: none;\n }\n}\n\n.image-mobile {\n display: none;\n\n @include mixins.respond(md) {\n display: block;\n }\n}\n","@use 'sass:map';\n@use '../tokens/breakpoints' as *;\n\n@mixin respond($breakpoint) {\n $size: map.get($breakpoints, $breakpoint);\n\n @if $size != null and $size != 0 {\n @media (max-width: $size) {\n @content;\n }\n } @else if $size == 0 {\n // xs or default\n @content;\n } @else {\n @warn \"Breakpoint `#{$breakpoint}` not found in $breakpoints map.\";\n }\n}\n",".counting-card {\n display: flex;\n flex-direction: column;\n border-radius: 16px;\n padding: var(--spacing-md) var(--spacing-lg);\n gap: var(--spacing-xl);\n background: var(--color-gradient-black);\n width: 314px;\n color: var(--color-white);\n\n .count::after {\n content: '+';\n }\n\n .logo {\n max-height: 67px;\n filter: brightness(0) invert(1);\n }\n}\n",".info-card {\n width: 100%;\n display: flex;\n flex-direction: column;\n padding: var(--spacing-lg);\n gap: var(--spacing-md);\n\n .header {\n display: flex;\n flex-direction: row;\n gap: var(--spacing-md);\n color: var(--color-black);\n }\n\n .badge {\n border-radius: 50%;\n color: var(--color-white);\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #cecece;\n }\n\n &.hasIcon .header {\n color: var(--color-lenscrafter-blue);\n }\n}\n",".pagination {\n display: flex;\n flex-direction: row;\n gap: 11px;\n padding: 5px;\n align-items: center;\n\n .next,\n .prev {\n padding: 0;\n border: none;\n border-radius: 50%;\n overflow: hidden;\n width: 40px;\n height: 40px;\n cursor: pointer;\n background: none;\n\n path {\n fill: var(--color-black);\n }\n }\n\n .pages {\n display: flex;\n justify-content: space-between;\n gap: 4px;\n width: max-content;\n }\n\n .page {\n padding: 0;\n margin: 0;\n width: 20px;\n height: 20px;\n border-radius: 50%;\n background: none;\n border: 1px solid var(--color-light-gray);\n transition: width 0.3s;\n cursor: pointer;\n\n &.active {\n width: 40px;\n border: none;\n border-radius: 16px;\n background-color: var(--color-black);\n }\n\n &.number.active {\n width: 28px;\n }\n }\n}\n",".container {\n width: 100%;\n max-width: 1440px;\n overflow: visible;\n margin: 0 auto;\n}\n","@use '../../styles/utilities/mixins';\n\n.card-collection {\n display: block;\n width: 100%;\n padding: var(--spacing-3xl) var(--spacing-7xl);\n\n h2 {\n color: var(--color-black);\n margin-bottom: var(--spacing-sm);\n }\n\n .content {\n margin-bottom: var(--spacing-xl);\n }\n\n .wrapper {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n gap: var(--spacing-md);\n }\n\n &.threeCols .wrapper {\n grid-template-columns: repeat(3, 1fr);\n }\n\n &.examCard .wrapper {\n grid-template-columns: repeat(auto-fit, minmax(314px, 1fr));\n }\n\n @include mixins.respond(md) {\n padding: var(--spacing-lg);\n\n .wrapper {\n grid-template-columns: 1fr;\n }\n\n &.threeCols .wrapper {\n grid-template-columns: 1fr;\n }\n }\n}\n","@use 'sass:map';\n@use '../tokens/breakpoints' as *;\n\n@mixin respond($breakpoint) {\n $size: map.get($breakpoints, $breakpoint);\n\n @if $size != null and $size != 0 {\n @media (max-width: $size) {\n @content;\n }\n } @else if $size == 0 {\n // xs or default\n @content;\n } @else {\n @warn \"Breakpoint `#{$breakpoint}` not found in $breakpoints map.\";\n }\n}\n","@use '../../styles/utilities/mixins';\n\n.miniSectionCta {\n width: 100%;\n\n .container {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n gap: var(--spacing-md);\n padding: var(--spacing-3xl) var(--spacing-7xl);\n }\n\n .col {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n\n h2 {\n color: var(--color-black);\n }\n\n &.BgColorBlack {\n background: var(--color-black);\n color: var(--color-white);\n\n h2 {\n color: var(--color-white);\n }\n\n :global(.subheading) {\n color: #cecece;\n }\n }\n\n &.infoCallout {\n .col {\n flex-direction: row;\n gap: 112px;\n align-items: center;\n }\n\n h2 {\n min-width: fit-content;\n }\n }\n\n &.miniTextCenterCta .container {\n flex-direction: column;\n align-items: center;\n }\n\n @include mixins.respond(md) {\n .container {\n flex-direction: column;\n padding: var(--spacing-lg) var(--spacing-md);\n }\n\n .cta {\n width: 100%;\n }\n\n &.BgColorBlack {\n text-align: center;\n }\n\n &.BgColorGrey {\n text-align: center;\n }\n\n &.infoCallout {\n .col {\n flex-direction: column;\n gap: var(--spacing-md);\n align-items: flex-start;\n }\n\n .subtitle {\n font-size: var(--font-size-lg);\n font-weight: var(--font-weight-regular);\n line-height: var(--line-height-tight-1);\n }\n }\n\n &.miniTextCenterCta .col {\n width: 100%;\n }\n }\n}\n","@use 'sass:map';\n@use '../tokens/breakpoints' as *;\n\n@mixin respond($breakpoint) {\n $size: map.get($breakpoints, $breakpoint);\n\n @if $size != null and $size != 0 {\n @media (max-width: $size) {\n @content;\n }\n } @else if $size == 0 {\n // xs or default\n @content;\n } @else {\n @warn \"Breakpoint `#{$breakpoint}` not found in $breakpoints map.\";\n }\n}\n","@use '../../styles/utilities/mixins';\n\n.teaser5050-3text {\n width: 100%;\n\n .container {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-xl);\n }\n\n .content {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n gap: var(--spacing-xl);\n }\n\n &.right .content {\n flex-direction: row-reverse;\n }\n\n .title {\n color: var(--color-black);\n }\n .image {\n width: 50%;\n border-radius: 16px;\n }\n\n @include mixins.respond(md) {\n .container {\n padding: var(--spacing-lg) var(--spacing-md);\n gap: 0;\n }\n\n &.right .container {\n gap: var(--spacing-xl);\n }\n\n .content {\n flex-direction: column;\n }\n\n &.right .content {\n flex-direction: column-reverse;\n gap: var(--spacing-xl);\n }\n\n .image {\n width: 100%;\n padding: 0;\n }\n }\n}\n","@use 'sass:map';\n@use '../tokens/breakpoints' as *;\n\n@mixin respond($breakpoint) {\n $size: map.get($breakpoints, $breakpoint);\n\n @if $size != null and $size != 0 {\n @media (max-width: $size) {\n @content;\n }\n } @else if $size == 0 {\n // xs or default\n @content;\n } @else {\n @warn \"Breakpoint `#{$breakpoint}` not found in $breakpoints map.\";\n }\n}\n","@use '../../styles/utilities/mixins';\n\n.teaser5050 {\n width: 100%;\n\n .container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n }\n\n &.right .container {\n flex-direction: row-reverse;\n }\n\n .wrapper {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-md);\n padding: 0 var(--spacing-5xl);\n width: 50%;\n }\n\n .title {\n color: var(--color-black);\n }\n\n .image {\n width: 50%;\n border-radius: 16px;\n }\n\n @include mixins.respond(md) {\n .container {\n flex-direction: column-reverse;\n gap: var(--spacing-xl);\n }\n\n &.right .container {\n flex-direction: column-reverse;\n }\n\n .wrapper,\n .image {\n width: 100%;\n padding: 0;\n }\n\n .cta {\n width: 100%;\n }\n }\n}\n","@use 'sass:map';\n@use '../tokens/breakpoints' as *;\n\n@mixin respond($breakpoint) {\n $size: map.get($breakpoints, $breakpoint);\n\n @if $size != null and $size != 0 {\n @media (max-width: $size) {\n @content;\n }\n } @else if $size == 0 {\n // xs or default\n @content;\n } @else {\n @warn \"Breakpoint `#{$breakpoint}` not found in $breakpoints map.\";\n }\n}\n"],"mappings":";AAAA,CAAA;AACE,SAAA;AACA,YAAA;AACA,UAAA;AACA,WAAA;AACA,eAAA;AACA,mBAAA;AACA,OAAA,IAAA;AACA,WAAA,IAAA;AACA,cAAA;AACA,eAAA;AACA,mBAAA;AACA,SAAA,IAAA;AACA,iBAAA;AACA,UAAA,IAAA,MAAA,IAAA;AACA,cAAA,KAAA,GAAA,EAAA,GAAA,EAAA,GAAA,EAAA;AACA,eAAA,IAAA;AACA,aAAA,IAAA;AACA,eAAA,IAAA;AACA,eAAA,IAAA;AACA,kBAAA;AACA,YAAA;;AAEA,CAvBF,MAuBE;AACE,mBAAA;AACA,cAAA,KAAA,GAAA,EAAA,GAAA,EAAA,GAAA,EAAA;;AAGF,CA5BF,MA4BE;AACE,cAAA,KAAA,GAAA,EAAA,GA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,MA2BE,CAlCF;AAmCI,oBAAA;;AAGF,GAzCJ,WAyCI,CA3BF;EA2BE,CAzCJ,WAyCI,CAfF;AAiBI,WAAA;AACA,aAAA;;AAGF,GA/CJ,WA+CI,CAAA;AACE,WAAA;;;","names":[]}
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import React$1, { ImgHTMLAttributes, AnchorHTMLAttributes, HTMLAttributes, ReactNode, FC, PropsWithChildren } from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
declare const svgs: {
|
|
5
|
+
ads: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
6
|
+
title?: string;
|
|
7
|
+
}>;
|
|
8
|
+
book: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
9
|
+
title?: string;
|
|
10
|
+
}>;
|
|
11
|
+
briefcase: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
12
|
+
title?: string;
|
|
13
|
+
}>;
|
|
14
|
+
calendar: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
15
|
+
title?: string;
|
|
16
|
+
}>;
|
|
17
|
+
clipboard: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
18
|
+
title?: string;
|
|
19
|
+
}>;
|
|
20
|
+
convo: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
21
|
+
title?: string;
|
|
22
|
+
}>;
|
|
23
|
+
eye: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
24
|
+
title?: string;
|
|
25
|
+
}>;
|
|
26
|
+
globe: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
27
|
+
title?: string;
|
|
28
|
+
}>;
|
|
29
|
+
hospital: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
30
|
+
title?: string;
|
|
31
|
+
}>;
|
|
32
|
+
library: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
33
|
+
title?: string;
|
|
34
|
+
}>;
|
|
35
|
+
location: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
36
|
+
title?: string;
|
|
37
|
+
}>;
|
|
38
|
+
marketing: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
39
|
+
title?: string;
|
|
40
|
+
}>;
|
|
41
|
+
money: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
42
|
+
title?: string;
|
|
43
|
+
}>;
|
|
44
|
+
people: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
45
|
+
title?: string;
|
|
46
|
+
}>;
|
|
47
|
+
smile: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
48
|
+
title?: string;
|
|
49
|
+
}>;
|
|
50
|
+
tech: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
51
|
+
title?: string;
|
|
52
|
+
}>;
|
|
53
|
+
work: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
54
|
+
title?: string;
|
|
55
|
+
}>;
|
|
56
|
+
workhome: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
57
|
+
title?: string;
|
|
58
|
+
}>;
|
|
59
|
+
blankCheckbox: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
60
|
+
title?: string;
|
|
61
|
+
}>;
|
|
62
|
+
blankCheckboxWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
63
|
+
title?: string;
|
|
64
|
+
}>;
|
|
65
|
+
checkedBox: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
66
|
+
title?: string;
|
|
67
|
+
}>;
|
|
68
|
+
circleChevronDown: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
69
|
+
title?: string;
|
|
70
|
+
}>;
|
|
71
|
+
circleChevronUp: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
72
|
+
title?: string;
|
|
73
|
+
}>;
|
|
74
|
+
downBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
75
|
+
title?: string;
|
|
76
|
+
}>;
|
|
77
|
+
downWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
78
|
+
title?: string;
|
|
79
|
+
}>;
|
|
80
|
+
downChevronBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
81
|
+
title?: string;
|
|
82
|
+
}>;
|
|
83
|
+
downChevronWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
84
|
+
title?: string;
|
|
85
|
+
}>;
|
|
86
|
+
downloadBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
87
|
+
title?: string;
|
|
88
|
+
}>;
|
|
89
|
+
downloadWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
90
|
+
title?: string;
|
|
91
|
+
}>;
|
|
92
|
+
filledChevronLeft: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
93
|
+
title?: string;
|
|
94
|
+
}>;
|
|
95
|
+
filledChevronRight: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
96
|
+
title?: string;
|
|
97
|
+
}>;
|
|
98
|
+
filledChevronUp: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
99
|
+
title?: string;
|
|
100
|
+
}>;
|
|
101
|
+
leftWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
102
|
+
title?: string;
|
|
103
|
+
}>;
|
|
104
|
+
mailBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
105
|
+
title?: string;
|
|
106
|
+
}>;
|
|
107
|
+
rightBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
108
|
+
title?: string;
|
|
109
|
+
}>;
|
|
110
|
+
rightWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
111
|
+
title?: string;
|
|
112
|
+
}>;
|
|
113
|
+
tiltedRightBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
114
|
+
title?: string;
|
|
115
|
+
}>;
|
|
116
|
+
tiltedRightWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
117
|
+
title?: string;
|
|
118
|
+
}>;
|
|
119
|
+
upChevronUpWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
120
|
+
title?: string;
|
|
121
|
+
}>;
|
|
122
|
+
upChevronWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
123
|
+
title?: string;
|
|
124
|
+
}>;
|
|
125
|
+
watchBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
126
|
+
title?: string;
|
|
127
|
+
}>;
|
|
128
|
+
watchWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
129
|
+
title?: string;
|
|
130
|
+
}>;
|
|
131
|
+
chevronDefault: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
132
|
+
title?: string;
|
|
133
|
+
}>;
|
|
134
|
+
chevronHovered: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
135
|
+
title?: string;
|
|
136
|
+
}>;
|
|
137
|
+
chevronSelected: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
138
|
+
title?: string;
|
|
139
|
+
}>;
|
|
140
|
+
menuBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
141
|
+
title?: string;
|
|
142
|
+
}>;
|
|
143
|
+
menuWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
144
|
+
title?: string;
|
|
145
|
+
}>;
|
|
146
|
+
right: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
147
|
+
title?: string;
|
|
148
|
+
}>;
|
|
149
|
+
tiltedRight: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
150
|
+
title?: string;
|
|
151
|
+
}>;
|
|
152
|
+
xBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
153
|
+
title?: string;
|
|
154
|
+
}>;
|
|
155
|
+
xWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
156
|
+
title?: string;
|
|
157
|
+
}>;
|
|
158
|
+
};
|
|
159
|
+
type IconType = keyof typeof svgs;
|
|
160
|
+
interface IconProps extends React$1.ComponentPropsWithRef<'svg'> {
|
|
161
|
+
type: IconType;
|
|
162
|
+
}
|
|
163
|
+
declare const Icon: React$1.FC<IconProps>;
|
|
164
|
+
|
|
165
|
+
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
166
|
+
variant?: 'primary' | 'secondary' | 'ghost' | 'nofill' | 'grey' | 'nofillblack' | 'shiny';
|
|
167
|
+
fullWidth?: boolean;
|
|
168
|
+
href?: string;
|
|
169
|
+
isExternal?: boolean;
|
|
170
|
+
icon?: IconType;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
declare const Button: React.FC<ButtonProps>;
|
|
174
|
+
|
|
175
|
+
interface ICta {
|
|
176
|
+
label: string;
|
|
177
|
+
url: string;
|
|
178
|
+
isExternal?: boolean;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
interface CardProps {
|
|
182
|
+
className?: string;
|
|
183
|
+
title?: string;
|
|
184
|
+
subtitle?: string;
|
|
185
|
+
icon?: IconType;
|
|
186
|
+
cta?: ICta;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
declare const Card: ({ className, title, subtitle, cta, icon }: CardProps) => react_jsx_runtime.JSX.Element;
|
|
190
|
+
|
|
191
|
+
interface IPicture {
|
|
192
|
+
src: string;
|
|
193
|
+
alt?: string;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
interface CountingCardProps {
|
|
197
|
+
className?: string;
|
|
198
|
+
count?: number;
|
|
199
|
+
title?: string;
|
|
200
|
+
image?: IPicture;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
declare const CountingCard: ({ className, title, count, image }: CountingCardProps) => react_jsx_runtime.JSX.Element;
|
|
204
|
+
|
|
205
|
+
interface InfoCardProps {
|
|
206
|
+
className?: string;
|
|
207
|
+
icon?: IconType;
|
|
208
|
+
badge?: string;
|
|
209
|
+
title?: string;
|
|
210
|
+
subtitle?: string;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
declare const InfoCard: ({ className, title, subtitle, icon, badge }: InfoCardProps) => react_jsx_runtime.JSX.Element;
|
|
214
|
+
|
|
215
|
+
interface PaginationProps {
|
|
216
|
+
className?: string;
|
|
217
|
+
totalPages: number;
|
|
218
|
+
currentPage: number;
|
|
219
|
+
loop?: boolean;
|
|
220
|
+
hasNumber?: boolean;
|
|
221
|
+
disableArrows?: boolean;
|
|
222
|
+
onPageChange?: (page: number) => void;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, }: PaginationProps) => react_jsx_runtime.JSX.Element;
|
|
226
|
+
|
|
227
|
+
type SrcOnly = {
|
|
228
|
+
src: string;
|
|
229
|
+
desktop?: never;
|
|
230
|
+
mobile?: never;
|
|
231
|
+
};
|
|
232
|
+
type ResponsiveSources = {
|
|
233
|
+
src?: never;
|
|
234
|
+
desktop: IPicture;
|
|
235
|
+
mobile?: IPicture;
|
|
236
|
+
};
|
|
237
|
+
type PictureProps = ImgHTMLAttributes<HTMLImageElement> & (SrcOnly | ResponsiveSources);
|
|
238
|
+
|
|
239
|
+
declare const Picture: ({ className, ...props }: PictureProps) => react_jsx_runtime.JSX.Element;
|
|
240
|
+
|
|
241
|
+
interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
242
|
+
isExternal?: boolean;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
declare const Anchor: ({ children, isExternal, ...props }: AnchorProps) => react_jsx_runtime.JSX.Element;
|
|
246
|
+
|
|
247
|
+
interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
248
|
+
children: ReactNode;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
declare const Container: ({ children, className, ...props }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
252
|
+
|
|
253
|
+
type ConditionalWrapperProps = {
|
|
254
|
+
condition: boolean;
|
|
255
|
+
wrapper?: FC<{
|
|
256
|
+
children: ReactNode;
|
|
257
|
+
} & Record<string, unknown>>;
|
|
258
|
+
fallback?: FC<{
|
|
259
|
+
children: ReactNode;
|
|
260
|
+
} & Record<string, unknown>>;
|
|
261
|
+
} & Record<string, unknown>;
|
|
262
|
+
|
|
263
|
+
declare const ConditionalWrapper: React.FC<PropsWithChildren<ConditionalWrapperProps>>;
|
|
264
|
+
|
|
265
|
+
interface CardCollectionProps {
|
|
266
|
+
className?: string;
|
|
267
|
+
variant?: 'default' | 'threeCols' | 'examCard' | 'cardCarousel';
|
|
268
|
+
title?: string;
|
|
269
|
+
subtitle?: string;
|
|
270
|
+
cards?: CardProps[];
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
declare const CardCollection: ({ className, variant, title, subtitle, cards, }: CardCollectionProps) => react_jsx_runtime.JSX.Element;
|
|
274
|
+
|
|
275
|
+
interface MiniSectionCtaProps {
|
|
276
|
+
className?: string;
|
|
277
|
+
variant?: 'headerCTA' | 'BgColorBlack' | 'BgColorGrey' | 'infoCallout' | 'miniTextCenterCta';
|
|
278
|
+
title?: string;
|
|
279
|
+
subtitle?: string;
|
|
280
|
+
cta?: ICta;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
declare const MiniSectionCta: ({ className, variant, title, subtitle, cta, }: MiniSectionCtaProps) => react_jsx_runtime.JSX.Element;
|
|
284
|
+
|
|
285
|
+
interface Teaser5050With3TextProps {
|
|
286
|
+
className?: string;
|
|
287
|
+
variant?: 'left' | 'right';
|
|
288
|
+
title?: string;
|
|
289
|
+
cards?: InfoCardProps[];
|
|
290
|
+
image?: PictureProps;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
declare const Teaser5050With3Text: ({ className, variant, title, cards, image, }: Teaser5050With3TextProps) => react_jsx_runtime.JSX.Element;
|
|
294
|
+
|
|
295
|
+
interface Teaser5050WithCtaProps {
|
|
296
|
+
className?: string;
|
|
297
|
+
variant?: 'left' | 'right';
|
|
298
|
+
title?: string;
|
|
299
|
+
subtitle?: string;
|
|
300
|
+
cta?: ICta;
|
|
301
|
+
image?: PictureProps;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
declare const Teaser5050WithCta: ({ className, variant, title, subtitle, cta, image, }: Teaser5050WithCtaProps) => react_jsx_runtime.JSX.Element;
|
|
305
|
+
|
|
306
|
+
export { Anchor, type AnchorProps, Button, type ButtonProps, Card, CardCollection, type CardCollectionProps, type CardProps, ConditionalWrapper, type ConditionalWrapperProps, Container, type ContainerProps, CountingCard, type CountingCardProps, Icon, type IconType, InfoCard, type InfoCardProps, MiniSectionCta, type MiniSectionCtaProps, Pagination, type PaginationProps, Picture, type PictureProps, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, svgs };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import React$1, { ImgHTMLAttributes, AnchorHTMLAttributes, HTMLAttributes, ReactNode, FC, PropsWithChildren } from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
declare const svgs: {
|
|
5
|
+
ads: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
6
|
+
title?: string;
|
|
7
|
+
}>;
|
|
8
|
+
book: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
9
|
+
title?: string;
|
|
10
|
+
}>;
|
|
11
|
+
briefcase: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
12
|
+
title?: string;
|
|
13
|
+
}>;
|
|
14
|
+
calendar: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
15
|
+
title?: string;
|
|
16
|
+
}>;
|
|
17
|
+
clipboard: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
18
|
+
title?: string;
|
|
19
|
+
}>;
|
|
20
|
+
convo: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
21
|
+
title?: string;
|
|
22
|
+
}>;
|
|
23
|
+
eye: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
24
|
+
title?: string;
|
|
25
|
+
}>;
|
|
26
|
+
globe: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
27
|
+
title?: string;
|
|
28
|
+
}>;
|
|
29
|
+
hospital: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
30
|
+
title?: string;
|
|
31
|
+
}>;
|
|
32
|
+
library: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
33
|
+
title?: string;
|
|
34
|
+
}>;
|
|
35
|
+
location: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
36
|
+
title?: string;
|
|
37
|
+
}>;
|
|
38
|
+
marketing: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
39
|
+
title?: string;
|
|
40
|
+
}>;
|
|
41
|
+
money: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
42
|
+
title?: string;
|
|
43
|
+
}>;
|
|
44
|
+
people: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
45
|
+
title?: string;
|
|
46
|
+
}>;
|
|
47
|
+
smile: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
48
|
+
title?: string;
|
|
49
|
+
}>;
|
|
50
|
+
tech: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
51
|
+
title?: string;
|
|
52
|
+
}>;
|
|
53
|
+
work: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
54
|
+
title?: string;
|
|
55
|
+
}>;
|
|
56
|
+
workhome: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
57
|
+
title?: string;
|
|
58
|
+
}>;
|
|
59
|
+
blankCheckbox: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
60
|
+
title?: string;
|
|
61
|
+
}>;
|
|
62
|
+
blankCheckboxWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
63
|
+
title?: string;
|
|
64
|
+
}>;
|
|
65
|
+
checkedBox: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
66
|
+
title?: string;
|
|
67
|
+
}>;
|
|
68
|
+
circleChevronDown: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
69
|
+
title?: string;
|
|
70
|
+
}>;
|
|
71
|
+
circleChevronUp: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
72
|
+
title?: string;
|
|
73
|
+
}>;
|
|
74
|
+
downBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
75
|
+
title?: string;
|
|
76
|
+
}>;
|
|
77
|
+
downWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
78
|
+
title?: string;
|
|
79
|
+
}>;
|
|
80
|
+
downChevronBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
81
|
+
title?: string;
|
|
82
|
+
}>;
|
|
83
|
+
downChevronWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
84
|
+
title?: string;
|
|
85
|
+
}>;
|
|
86
|
+
downloadBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
87
|
+
title?: string;
|
|
88
|
+
}>;
|
|
89
|
+
downloadWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
90
|
+
title?: string;
|
|
91
|
+
}>;
|
|
92
|
+
filledChevronLeft: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
93
|
+
title?: string;
|
|
94
|
+
}>;
|
|
95
|
+
filledChevronRight: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
96
|
+
title?: string;
|
|
97
|
+
}>;
|
|
98
|
+
filledChevronUp: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
99
|
+
title?: string;
|
|
100
|
+
}>;
|
|
101
|
+
leftWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
102
|
+
title?: string;
|
|
103
|
+
}>;
|
|
104
|
+
mailBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
105
|
+
title?: string;
|
|
106
|
+
}>;
|
|
107
|
+
rightBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
108
|
+
title?: string;
|
|
109
|
+
}>;
|
|
110
|
+
rightWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
111
|
+
title?: string;
|
|
112
|
+
}>;
|
|
113
|
+
tiltedRightBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
114
|
+
title?: string;
|
|
115
|
+
}>;
|
|
116
|
+
tiltedRightWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
117
|
+
title?: string;
|
|
118
|
+
}>;
|
|
119
|
+
upChevronUpWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
120
|
+
title?: string;
|
|
121
|
+
}>;
|
|
122
|
+
upChevronWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
123
|
+
title?: string;
|
|
124
|
+
}>;
|
|
125
|
+
watchBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
126
|
+
title?: string;
|
|
127
|
+
}>;
|
|
128
|
+
watchWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
129
|
+
title?: string;
|
|
130
|
+
}>;
|
|
131
|
+
chevronDefault: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
132
|
+
title?: string;
|
|
133
|
+
}>;
|
|
134
|
+
chevronHovered: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
135
|
+
title?: string;
|
|
136
|
+
}>;
|
|
137
|
+
chevronSelected: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
138
|
+
title?: string;
|
|
139
|
+
}>;
|
|
140
|
+
menuBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
141
|
+
title?: string;
|
|
142
|
+
}>;
|
|
143
|
+
menuWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
144
|
+
title?: string;
|
|
145
|
+
}>;
|
|
146
|
+
right: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
147
|
+
title?: string;
|
|
148
|
+
}>;
|
|
149
|
+
tiltedRight: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
150
|
+
title?: string;
|
|
151
|
+
}>;
|
|
152
|
+
xBlack: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
153
|
+
title?: string;
|
|
154
|
+
}>;
|
|
155
|
+
xWhite: React$1.FunctionComponent<React$1.SVGProps<SVGSVGElement> & {
|
|
156
|
+
title?: string;
|
|
157
|
+
}>;
|
|
158
|
+
};
|
|
159
|
+
type IconType = keyof typeof svgs;
|
|
160
|
+
interface IconProps extends React$1.ComponentPropsWithRef<'svg'> {
|
|
161
|
+
type: IconType;
|
|
162
|
+
}
|
|
163
|
+
declare const Icon: React$1.FC<IconProps>;
|
|
164
|
+
|
|
165
|
+
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
166
|
+
variant?: 'primary' | 'secondary' | 'ghost' | 'nofill' | 'grey' | 'nofillblack' | 'shiny';
|
|
167
|
+
fullWidth?: boolean;
|
|
168
|
+
href?: string;
|
|
169
|
+
isExternal?: boolean;
|
|
170
|
+
icon?: IconType;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
declare const Button: React.FC<ButtonProps>;
|
|
174
|
+
|
|
175
|
+
interface ICta {
|
|
176
|
+
label: string;
|
|
177
|
+
url: string;
|
|
178
|
+
isExternal?: boolean;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
interface CardProps {
|
|
182
|
+
className?: string;
|
|
183
|
+
title?: string;
|
|
184
|
+
subtitle?: string;
|
|
185
|
+
icon?: IconType;
|
|
186
|
+
cta?: ICta;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
declare const Card: ({ className, title, subtitle, cta, icon }: CardProps) => react_jsx_runtime.JSX.Element;
|
|
190
|
+
|
|
191
|
+
interface IPicture {
|
|
192
|
+
src: string;
|
|
193
|
+
alt?: string;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
interface CountingCardProps {
|
|
197
|
+
className?: string;
|
|
198
|
+
count?: number;
|
|
199
|
+
title?: string;
|
|
200
|
+
image?: IPicture;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
declare const CountingCard: ({ className, title, count, image }: CountingCardProps) => react_jsx_runtime.JSX.Element;
|
|
204
|
+
|
|
205
|
+
interface InfoCardProps {
|
|
206
|
+
className?: string;
|
|
207
|
+
icon?: IconType;
|
|
208
|
+
badge?: string;
|
|
209
|
+
title?: string;
|
|
210
|
+
subtitle?: string;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
declare const InfoCard: ({ className, title, subtitle, icon, badge }: InfoCardProps) => react_jsx_runtime.JSX.Element;
|
|
214
|
+
|
|
215
|
+
interface PaginationProps {
|
|
216
|
+
className?: string;
|
|
217
|
+
totalPages: number;
|
|
218
|
+
currentPage: number;
|
|
219
|
+
loop?: boolean;
|
|
220
|
+
hasNumber?: boolean;
|
|
221
|
+
disableArrows?: boolean;
|
|
222
|
+
onPageChange?: (page: number) => void;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, }: PaginationProps) => react_jsx_runtime.JSX.Element;
|
|
226
|
+
|
|
227
|
+
type SrcOnly = {
|
|
228
|
+
src: string;
|
|
229
|
+
desktop?: never;
|
|
230
|
+
mobile?: never;
|
|
231
|
+
};
|
|
232
|
+
type ResponsiveSources = {
|
|
233
|
+
src?: never;
|
|
234
|
+
desktop: IPicture;
|
|
235
|
+
mobile?: IPicture;
|
|
236
|
+
};
|
|
237
|
+
type PictureProps = ImgHTMLAttributes<HTMLImageElement> & (SrcOnly | ResponsiveSources);
|
|
238
|
+
|
|
239
|
+
declare const Picture: ({ className, ...props }: PictureProps) => react_jsx_runtime.JSX.Element;
|
|
240
|
+
|
|
241
|
+
interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
242
|
+
isExternal?: boolean;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
declare const Anchor: ({ children, isExternal, ...props }: AnchorProps) => react_jsx_runtime.JSX.Element;
|
|
246
|
+
|
|
247
|
+
interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
248
|
+
children: ReactNode;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
declare const Container: ({ children, className, ...props }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
252
|
+
|
|
253
|
+
type ConditionalWrapperProps = {
|
|
254
|
+
condition: boolean;
|
|
255
|
+
wrapper?: FC<{
|
|
256
|
+
children: ReactNode;
|
|
257
|
+
} & Record<string, unknown>>;
|
|
258
|
+
fallback?: FC<{
|
|
259
|
+
children: ReactNode;
|
|
260
|
+
} & Record<string, unknown>>;
|
|
261
|
+
} & Record<string, unknown>;
|
|
262
|
+
|
|
263
|
+
declare const ConditionalWrapper: React.FC<PropsWithChildren<ConditionalWrapperProps>>;
|
|
264
|
+
|
|
265
|
+
interface CardCollectionProps {
|
|
266
|
+
className?: string;
|
|
267
|
+
variant?: 'default' | 'threeCols' | 'examCard' | 'cardCarousel';
|
|
268
|
+
title?: string;
|
|
269
|
+
subtitle?: string;
|
|
270
|
+
cards?: CardProps[];
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
declare const CardCollection: ({ className, variant, title, subtitle, cards, }: CardCollectionProps) => react_jsx_runtime.JSX.Element;
|
|
274
|
+
|
|
275
|
+
interface MiniSectionCtaProps {
|
|
276
|
+
className?: string;
|
|
277
|
+
variant?: 'headerCTA' | 'BgColorBlack' | 'BgColorGrey' | 'infoCallout' | 'miniTextCenterCta';
|
|
278
|
+
title?: string;
|
|
279
|
+
subtitle?: string;
|
|
280
|
+
cta?: ICta;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
declare const MiniSectionCta: ({ className, variant, title, subtitle, cta, }: MiniSectionCtaProps) => react_jsx_runtime.JSX.Element;
|
|
284
|
+
|
|
285
|
+
interface Teaser5050With3TextProps {
|
|
286
|
+
className?: string;
|
|
287
|
+
variant?: 'left' | 'right';
|
|
288
|
+
title?: string;
|
|
289
|
+
cards?: InfoCardProps[];
|
|
290
|
+
image?: PictureProps;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
declare const Teaser5050With3Text: ({ className, variant, title, cards, image, }: Teaser5050With3TextProps) => react_jsx_runtime.JSX.Element;
|
|
294
|
+
|
|
295
|
+
interface Teaser5050WithCtaProps {
|
|
296
|
+
className?: string;
|
|
297
|
+
variant?: 'left' | 'right';
|
|
298
|
+
title?: string;
|
|
299
|
+
subtitle?: string;
|
|
300
|
+
cta?: ICta;
|
|
301
|
+
image?: PictureProps;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
declare const Teaser5050WithCta: ({ className, variant, title, subtitle, cta, image, }: Teaser5050WithCtaProps) => react_jsx_runtime.JSX.Element;
|
|
305
|
+
|
|
306
|
+
export { Anchor, type AnchorProps, Button, type ButtonProps, Card, CardCollection, type CardCollectionProps, type CardProps, ConditionalWrapper, type ConditionalWrapperProps, Container, type ContainerProps, CountingCard, type CountingCardProps, Icon, type IconType, InfoCard, type InfoCardProps, MiniSectionCta, type MiniSectionCtaProps, Pagination, type PaginationProps, Picture, type PictureProps, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, svgs };
|