UNPKG

@payfit/unity-components

Version:

49 lines (48 loc) 8.41 kB
export declare const BRAND_ASSETS: { readonly legacy: { readonly monogram: { readonly path: "M16 32C7.164 32 0 24.836 0 16S7.164 0 16 0s16 7.164 16 16-7.164 16-16 16Zm-.218-10.31v-3.18c0-.092.072-.183.163-.183h3.746a4.885 4.885 0 0 0 4.69-5.09 4.893 4.893 0 0 0-4.708-4.692h-9.127c-.2 0-.364.164-.364.364v12.836a2.801 2.801 0 0 0 5.6 0c.018-.036.018-.054 0-.054Zm.182-7.545h3.527a.73.73 0 0 0 .727-.727.73.73 0 0 0-.727-.727h-4.782c-.2 0-.364.163-.364.364v8.672c0 .746-.618 1.364-1.363 1.364a1.374 1.374 0 0 1-1.364-1.364V10.164c0-.091.073-.182.164-.182h7.708c1.91-.037 3.492 1.49 3.51 3.382.036 1.909-1.49 3.49-3.382 3.509h-3.654c-.091 0-.182-.073-.182-.164V14.327c0-.09.072-.163.182-.181Z"; readonly viewBox: "0 0 32 32"; }; readonly logotype: { readonly path: "M76.49 11.945h-1.472c-.163 0-.309.11-.345.255-.073.218-.128.364-.146.455-.582 1.781-1.472 4.472-2.636 8.054-.018.055-.091.255-.237.582-.036.09-.145.127-.236.09a.219.219 0 0 1-.09-.09 7.862 7.862 0 0 1-.237-.582c-1.2-3.69-2.091-6.454-2.673-8.31-.018-.054-.036-.126-.054-.18a.372.372 0 0 0-.346-.255h-1.454a.365.365 0 0 0-.346.472c.018.055.036.091.055.146.909 2.582 2.272 6.436 4.09 11.582 0 .018 0 .018.019.036a.443.443 0 0 1 0 .218c0 .018 0 .018-.018.037-.019.072-.055.163-.073.236a1.805 1.805 0 0 1-1.691 1.2h-1.527c-.2 0-.364.164-.364.364v1.218c0 .2.164.363.364.363H68.6a3.72 3.72 0 0 0 3.418-2.236c.018-.055.037-.11.073-.164.018-.054 1.09-3.09 4.673-13.109.054-.127-.019-.29-.146-.345H76.6c-.055-.018-.073-.037-.11-.037ZM57.11 22.291c.345.109.708.163 1.072.163a4.232 4.232 0 0 0 2.89-1.2 2.949 2.949 0 0 0 .855-2.145v-.945a.163.163 0 0 0-.163-.164h-.037c-.182.018-.272.018-.272.018l-1.146.146-2.273.345c-1.218.2-1.963.69-2.2 1.455a1.923 1.923 0 0 0-.09.563c.018.818.581 1.527 1.363 1.764Zm6.854.8v.727c0 .2-.164.364-.364.364h-1.182a.365.365 0 0 1-.364-.364l-.018-1.2c0-.018-.018-.036-.018-.054a.088.088 0 0 0-.127 0 1.04 1.04 0 0 0-.2.2c-.946.945-2.236 1.418-3.91 1.418-1.2 0-2.181-.327-2.945-.964-.763-.636-1.127-1.527-1.127-2.654A3.316 3.316 0 0 1 54.036 19c.2-.418.491-.764.873-1.018a3.876 3.876 0 0 1 1.055-.546A5.45 5.45 0 0 1 57 17.164c1.764-.255 2.71-.382 2.89-.419.146-.018.728-.09 1.728-.236.073-.018.127-.018.2-.018.091-.018.164-.091.164-.182v-.51c0-.763-.2-1.363-.6-1.78-.4-.42-1.146-.637-2.218-.637-.491 0-.982.054-1.455.2-.364.109-.673.309-.927.6-.164.218-.31.436-.4.69-.018.055-.037.11-.055.183 0 .018 0 .036-.018.054a.371.371 0 0 1-.364.29h-1.363a.378.378 0 0 1-.346-.38v-.074c.019-.145.037-.254.055-.345.09-.345.236-.691.418-1a3.54 3.54 0 0 1 .818-.91c.437-.29.91-.508 1.418-.654a8.41 8.41 0 0 1 2.128-.254c3.29 0 4.89 1.309 4.89 3.963v7.346Zm26.963-10.873v11.564c0 .2.164.363.364.363h1.473c.2 0 .363-.163.363-.363V12.218c0-.2-.163-.364-.363-.364H91.29c-.2 0-.364.164-.364.364Zm0-3.673v1.473c0 .2.164.364.364.364h1.473c.2 0 .363-.164.363-.364V8.545c0-.2-.163-.363-.363-.363H91.29c-.2 0-.364.163-.364.363ZM100 13.782h3.109c.2 0 .364-.164.364-.364V12.2c0-.2-.164-.364-.364-.364H100c-.09 0-.182-.072-.182-.163V8.545c0-.2-.163-.363-.364-.363h-1.472c-.2 0-.364.163-.364.363v3.128c0 .09-.073.181-.163.181H96.09c-.2 0-.364.164-.364.364v1.218c0 .2.164.364.364.364h1.345c.091 0 .182.073.182.164V20.545c.073 2 1.71 3.6 3.709 3.6h1.655c.2 0 .363-.163.363-.363v-1.218c0-.2-.163-.364-.363-.364h-1.655a1.525 1.525 0 0 1-1.527-1.527v-6.71c.018-.108.09-.181.2-.181Zm-47.964-.637a4.96 4.96 0 0 0-4.854-4.963h-7c-.2 0-.364.163-.364.363v15.237c0 .2.164.363.364.363h1.472c.2 0 .364-.163.364-.363v-5.473c0-.09.073-.182.164-.182h5a4.975 4.975 0 0 0 4.854-4.982Zm-1.927 0a3.01 3.01 0 0 1-3.018 3.019h-4.873c-.09 0-.182-.073-.182-.164v-5.691c0-.09.073-.182.164-.182h4.891a3.01 3.01 0 0 1 3.018 3.018Zm31.2 4.928h5.527c.2 0 .364-.164.364-.364v-1.218c0-.2-.164-.364-.364-.364H81.31c-.09 0-.182-.072-.182-.163v-5.655c0-.09.073-.182.164-.182h6.8c.2 0 .364-.163.364-.363V8.545c0-.2-.164-.363-.364-.363h-8.8c-.2 0-.364.163-.364.363v15.237c0 .2.164.363.364.363h1.473c.2 0 .363-.163.363-.363v-5.527c0-.11.073-.182.182-.182Z"; readonly viewBox: "0 0 104 32"; }; }; readonly rebrand: { readonly monogram: { readonly path: "M41.7185 0H19.798V53.1631C8.20809 48.3853 3.05176e-05 41.4675 3.05176e-05 41.4675V58.0201C3.05176e-05 58.0201 6.55679 64.9159 19.8024 68.7073V96H34.303V71.16C36.1129 71.2745 37.7994 71.3318 39.4463 71.3318C60.4376 71.3318 78.21 55.5453 78.4874 37.0244C78.4874 16.7332 61.992 0 41.7185 0ZM39.4639 56.8047C37.7642 56.8047 36.038 56.7255 34.3207 56.5714V14.5226H41.7317C53.9998 14.5226 63.9824 24.5185 63.9824 36.8042C63.9824 47.4606 52.5246 56.8047 39.4639 56.8047Z"; readonly viewBox: "0 0 78.4874 96"; }; readonly logotype: { readonly path: "M210.121 96.3066C210.121 112.097 215.43 119.447 226.833 119.447C233.941 119.447 245.873 115.956 245.873 92.584V39.8154H266.381V137.591C266.381 147.437 261.906 157.147 254.113 164.23C245.151 172.365 235.821 175.988 223.852 175.988V176C201.762 176 190.733 163.888 189.924 163.072V142.639C204.719 153.612 211.217 156.201 220.995 156.201C239.337 156.201 245.873 147.021 245.873 138.432V130.178C240.278 136.215 232.696 139.277 223.316 139.277C202.528 139.277 189.612 125.697 189.612 103.838V39.8154H210.121V96.3066ZM398.396 39.8467H425.439V58.3018H398.396V105.798C398.396 114.007 403.505 119.31 411.416 119.311C422.858 119.311 430.36 112.179 430.406 112.135V132.064L430.133 132.251C430.033 132.319 419.962 138.973 409.381 138.973C390.323 138.973 378.012 126.972 378.012 108.399V58.3018H362.837V39.8467H378.012V13.917H398.396V39.8467ZM137.548 37.0459C148.882 37.046 160.048 40.4886 168.189 46.4824C177.905 53.6339 183.033 64.0029 183.033 76.457V136.172H162.177V129.736C157.895 133.577 150.245 138.941 139.832 138.941V138.936C130.552 138.936 122.467 135.662 115.938 129.736C108.73 123.22 104.921 114.238 104.921 103.757V103.582C104.996 81.8101 118.888 67.1895 139.483 67.1895C148.869 67.1895 156.463 70.2649 162.064 76.3271V74.6211C162.064 66.0318 155.529 56.9138 137.187 56.8516C125.877 56.8142 118.981 61.9555 116.311 63.1318C118.389 51.474 117.618 49.0336 116.609 41.6455C124.278 38.4027 131.405 37.0459 137.548 37.0459ZM356.276 136.19H335.893V39.8467H356.276V136.19ZM321.203 0C326.444 0 332.675 1.62402 332.675 1.62402C328.629 5.4581 325.38 11.1912 326.743 20.1602C326.743 20.1602 323.457 19.668 321.191 19.668C312.054 19.668 307.423 24.7409 307.423 34.749V39.8281H329.345V58.2832H307.423V136.178H287.039V58.2891H272.886V39.835H287.039V32.9502H287.064C287.55 12.9088 300.894 0.000153164 321.203 0ZM58.9678 0.466797C87.6237 0.466894 110.939 24.119 110.939 52.7998C110.547 78.9784 85.4263 101.292 55.7559 101.292C53.4281 101.292 51.0444 101.211 48.4863 101.049V136.159H27.9902V97.582C9.31516 92.2365 0.0465783 82.5255 0 82.4766V59.0801C0.0581802 59.1291 11.6428 68.8751 27.9834 75.6113V0.466797H58.9678V0.466797ZM143.797 86.6963C132.911 86.6963 125.305 93.6988 125.305 103.72C125.305 113.74 132.911 120.742 143.797 120.742C154.969 120.742 162.188 114.058 162.188 103.72C162.188 93.3815 154.683 86.6964 143.797 86.6963ZM48.5107 80.4287C50.9382 80.6466 53.3787 80.7588 55.7812 80.7588C74.2419 80.7586 90.4365 67.5506 90.4365 52.4883C90.4365 35.1229 76.3268 20.9942 58.9863 20.9941H48.5107V80.4287ZM346.088 3.23047C353.538 3.23061 359.152 8.85118 359.152 16.3076C359.152 23.7639 353.532 29.3837 346.088 29.3838C338.644 29.3838 333.024 23.764 333.023 16.3076C333.023 8.85109 338.638 3.23047 346.088 3.23047Z"; readonly viewBox: "0 0 430.406 176"; }; }; }; export type PayFitBrandProps = { /** * The color variant of the brand. It is "original" by default. */ color?: 'original' | 'dark' | 'light'; /** * The text label for the brand. Defaults to "PayFit Logo". */ label?: string; /** * The description for the brand for screen readers. Optional. */ description?: string; /** * The width of the brand. Defaults to the minimum of `104px`. */ width?: number; /** * Whether to display only the monogram or the full brand. Defaults to `false`. */ showOnlyMonogram?: boolean; }; /** * The PayFitBrand component represents the PayFit logo with several properties that follow our brand guidelines. */ export declare const PayFitBrand: import('react').ForwardRefExoticComponent<PayFitBrandProps & import('react').RefAttributes<SVGSVGElement>>;