@ngrok/mantle 0.0.1-alpha.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.
Files changed (70) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +38 -0
  3. package/dist/back-to-top-button/index.d.ts +8 -0
  4. package/dist/back-to-top-button/index.js +22 -0
  5. package/dist/button/index.d.ts +27 -0
  6. package/dist/button/index.js +58 -0
  7. package/dist/card/index.d.ts +25 -0
  8. package/dist/card/index.js +33 -0
  9. package/dist/core/fonts/euclid-square/EuclidSquare-Bold-WebS.woff +0 -0
  10. package/dist/core/fonts/euclid-square/EuclidSquare-BoldItalic-WebS.woff +0 -0
  11. package/dist/core/fonts/euclid-square/EuclidSquare-Light-WebS.woff +0 -0
  12. package/dist/core/fonts/euclid-square/EuclidSquare-LightItalic-WebS.woff +0 -0
  13. package/dist/core/fonts/euclid-square/EuclidSquare-Medium-WebS.woff +0 -0
  14. package/dist/core/fonts/euclid-square/EuclidSquare-MediumItalic-WebS.woff +0 -0
  15. package/dist/core/fonts/euclid-square/EuclidSquare-Regular-WebS.woff +0 -0
  16. package/dist/core/fonts/euclid-square/EuclidSquare-RegularItalic-WebS.woff +0 -0
  17. package/dist/core/fonts/euclid-square/EuclidSquare-Semibold-WebS.woff +0 -0
  18. package/dist/core/fonts/euclid-square/EuclidSquare-SemiboldItalic-WebS.woff +0 -0
  19. package/dist/core/fonts/fonts.css +65 -0
  20. package/dist/core/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff +0 -0
  21. package/dist/core/fonts/ibm-plex-mono/IBMPlexMono-BoldItalic.woff +0 -0
  22. package/dist/core/fonts/ibm-plex-mono/IBMPlexMono-ExtraLight.woff +0 -0
  23. package/dist/core/fonts/ibm-plex-mono/IBMPlexMono-ExtraLightItalic.woff +0 -0
  24. package/dist/core/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff +0 -0
  25. package/dist/core/fonts/ibm-plex-mono/IBMPlexMono-Light.woff +0 -0
  26. package/dist/core/fonts/ibm-plex-mono/IBMPlexMono-LightItalic.woff +0 -0
  27. package/dist/core/fonts/ibm-plex-mono/IBMPlexMono-Medium.woff +0 -0
  28. package/dist/core/fonts/ibm-plex-mono/IBMPlexMono-MediumItalic.woff +0 -0
  29. package/dist/core/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff +0 -0
  30. package/dist/core/fonts/ibm-plex-mono/IBMPlexMono-SemiBold.woff +0 -0
  31. package/dist/core/fonts/ibm-plex-mono/IBMPlexMono-SemiBoldItalic.woff +0 -0
  32. package/dist/core/fonts/ibm-plex-mono/IBMPlexMono-Text.woff +0 -0
  33. package/dist/core/fonts/ibm-plex-mono/IBMPlexMono-TextItalic.woff +0 -0
  34. package/dist/core/fonts/ibm-plex-mono/IBMPlexMono-Thin.woff +0 -0
  35. package/dist/core/fonts/ibm-plex-mono/IBMPlexMono-ThinItalic.woff +0 -0
  36. package/dist/core/fonts/ibm-plex-mono/license.txt +92 -0
  37. package/dist/core/mantle.css +804 -0
  38. package/dist/core/tailwind.preset.d.ts +308 -0
  39. package/dist/core/tailwind.preset.js +299 -0
  40. package/dist/cx/index.d.ts +7 -0
  41. package/dist/cx/index.js +10 -0
  42. package/dist/dropdown-menu/index.d.ts +27 -0
  43. package/dist/dropdown-menu/index.js +32 -0
  44. package/dist/hooks/use-matches-media-query.d.ts +1 -0
  45. package/dist/hooks/use-matches-media-query.js +21 -0
  46. package/dist/hooks/use-prefers-reduced-motion.d.ts +4 -0
  47. package/dist/hooks/use-prefers-reduced-motion.js +28 -0
  48. package/dist/input/index.d.ts +24 -0
  49. package/dist/input/index.js +24 -0
  50. package/dist/media-object/index.d.ts +24 -0
  51. package/dist/media-object/index.js +27 -0
  52. package/dist/portal/index.d.ts +6 -0
  53. package/dist/portal/index.js +3 -0
  54. package/dist/select/index.d.ts +13 -0
  55. package/dist/select/index.js +22 -0
  56. package/dist/theme-provider/index.d.ts +51 -0
  57. package/dist/theme-provider/index.js +143 -0
  58. package/dist/tooltip/index.d.ts +6 -0
  59. package/dist/tooltip/index.js +10 -0
  60. package/dist/types/as-child.d.ts +20 -0
  61. package/dist/types/as-child.js +1 -0
  62. package/dist/types/deep-non-nullable.d.ts +6 -0
  63. package/dist/types/deep-non-nullable.js +1 -0
  64. package/dist/types/input.d.ts +20 -0
  65. package/dist/types/input.js +1 -0
  66. package/dist/types/variant-props.d.ts +8 -0
  67. package/dist/types/variant-props.js +1 -0
  68. package/dist/types/with-style-props.d.ts +24 -0
  69. package/dist/types/with-style-props.js +1 -0
  70. package/package.json +99 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 ngrok
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # Mantle
2
+
3
+ [Mantle](https://mantle.ngrok.com) is [ngrok](https://ngrok.com/)’s UI library and design system. It’s based on [shadcn/ui](https://ui.shadcn.com) and [Radix](https://www.radix-ui.com) with [Tailwind](https://tailwindcss.com/) providing styling. It’s documented using [Remix](https://remix.run/docs).
4
+
5
+ ### Installation
6
+
7
+ Mantle uses `pnpm` as its package manager. First, install the dependencies in the repo’s directory by running `pnpm install`.
8
+
9
+ ### Development and preview
10
+
11
+ Run `pnpm dev` to run Remix's development mode, rebuilding assets on file changes.
12
+
13
+ Open up [http://localhost:3000](http://localhost:3000) and you should be ready to go!
14
+
15
+ ## Deployment
16
+
17
+ First, build the app for production:
18
+
19
+ ```sh
20
+ pnpm run build
21
+ ```
22
+
23
+ Then run the app in production mode:
24
+
25
+ ```sh
26
+ pnpm start
27
+ ```
28
+
29
+ We have chosen vercel to deploy to.
30
+
31
+ ### DIY
32
+
33
+ If you're familiar with deploying node applications, the built-in Remix app server is production-ready.
34
+
35
+ Make sure to deploy the output of `remix build`
36
+
37
+ - `build/`
38
+ - `public/build/`
@@ -0,0 +1,8 @@
1
+ import { type CSSProperties } from "react";
2
+ type Props = {
3
+ className?: string;
4
+ showThresholdPx?: number;
5
+ style?: CSSProperties;
6
+ };
7
+ export declare const BackToTopButton: ({ className, showThresholdPx, style }: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,22 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { usePrefersReducedMotion } from "../hooks/use-prefers-reduced-motion";
3
+ import { useWindowScroll } from "@uidotdev/usehooks";
4
+ import { useRef, useEffect } from "react";
5
+ import { Portal } from "../portal";
6
+ import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../tooltip";
7
+ import { ArrowUpToLine } from "lucide-react";
8
+ import { cx } from "../cx";
9
+ export const BackToTopButton = ({ className, showThresholdPx = 200, style }) => {
10
+ const [position = { y: 0 }, scrollTo] = useWindowScroll();
11
+ const prefersReducedMotion = usePrefersReducedMotion();
12
+ const bodyRef = useRef(undefined);
13
+ useEffect(() => {
14
+ bodyRef.current = document.body;
15
+ }, []);
16
+ return (_jsx(Portal, { container: bodyRef.current, children: _jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsxs(TooltipTrigger, { className: cx("fixed bottom-4 right-4 z-50 flex h-10 w-10 cursor-pointer items-center justify-center rounded-full bg-blue-500 text-gray-900 transition-all duration-150 ease-in-out hover:bg-white/90 hover:shadow-lg", (position.y ?? 0) >= showThresholdPx ? "visible opacity-100" : "invisible opacity-0", className), onClick: () => {
17
+ scrollTo({
18
+ top: 0,
19
+ behavior: prefersReducedMotion ? "auto" : "smooth",
20
+ });
21
+ }, style: style, tabIndex: -1, children: [_jsx("span", { className: "sr-only", children: "Scroll back to top" }), _jsx(ArrowUpToLine, {})] }), _jsx(TooltipContent, { collisionPadding: 8, children: _jsx("p", { children: "Scroll back to top" }) })] }) }) }));
22
+ };
@@ -0,0 +1,27 @@
1
+ import { type ButtonHTMLAttributes } from "react";
2
+ import type { WithAsChild } from "../types/as-child";
3
+ import type { VariantProps } from "../types/variant-props";
4
+ declare const buttonVariants: (props?: ({
5
+ priority?: "default" | "primary" | "secondary" | null | undefined;
6
+ state?: "default" | "danger" | null | undefined;
7
+ size?: "default" | "sm" | "lg" | null | undefined;
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ type ButtonVariants = VariantProps<typeof buttonVariants>;
10
+ /**
11
+ * The props for the `Button` component.
12
+ */
13
+ export type ButtonProps = WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & ButtonVariants;
14
+ /**
15
+ * Renders a button or a component that looks like a button, an interactive
16
+ * element activated by a user with a mouse, keyboard, finger, voice command, or
17
+ * other assistive technology. Once activated, it then performs an action, such
18
+ * as submitting a form or opening a dialog.
19
+ *
20
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
21
+ */
22
+ declare const Button: import("react").ForwardRefExoticComponent<WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & Partial<import("../types/deep-non-nullable").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
23
+ priority?: "default" | "primary" | "secondary" | null | undefined;
24
+ state?: "default" | "danger" | null | undefined;
25
+ size?: "default" | "sm" | "lg" | null | undefined;
26
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>>> & import("react").RefAttributes<HTMLButtonElement>>;
27
+ export { Button, buttonVariants };
@@ -0,0 +1,58 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ import { Slot } from "@radix-ui/react-slot";
4
+ import { cva } from "class-variance-authority";
5
+ import { cx } from "../cx";
6
+ const buttonVariants = cva("inline-flex items-center justify-center rounded-md font-medium border transition-colors focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50", {
7
+ variants: {
8
+ priority: {
9
+ default: "border-blue-500 text-blue-500 bg-white hover:bg-blue-50 active:bg-blue-100 focus-visible:ring-blue-600/25",
10
+ primary: "bg-blue-500 text-button hover:bg-blue-600 active:bg-blue-700 focus-visible:ring-blue-600/25",
11
+ secondary: "bg-blue-50 border-blue-200 text-blue-900 hover:bg-blue-100 active:bg-blue-200 focus-visible:ring-blue-600/25",
12
+ },
13
+ state: {
14
+ default: "",
15
+ danger: "",
16
+ },
17
+ size: {
18
+ default: "h-10 px-4 py-2",
19
+ sm: "h-9 rounded-md px-3 text-sm",
20
+ lg: "h-12 rounded-md px-6 text-lg",
21
+ },
22
+ },
23
+ defaultVariants: {
24
+ priority: "default",
25
+ size: "default",
26
+ },
27
+ compoundVariants: [
28
+ {
29
+ priority: "default",
30
+ state: "danger",
31
+ class: "border-red-500 text-red-500 hover:bg-red-50 active:bg-red-100 focus-visible:ring-red-600/25",
32
+ },
33
+ {
34
+ priority: "primary",
35
+ state: "danger",
36
+ class: "bg-red-500 hover:bg-red-600 active:bg-red-700 focus-visible:ring-red-600/25",
37
+ },
38
+ {
39
+ priority: "secondary",
40
+ state: "danger",
41
+ class: "bg-red-50 border-red-200 text-red-900 hover:bg-red-100 active:bg-red-200 focus-visible:ring-red-600/25",
42
+ },
43
+ ],
44
+ });
45
+ /**
46
+ * Renders a button or a component that looks like a button, an interactive
47
+ * element activated by a user with a mouse, keyboard, finger, voice command, or
48
+ * other assistive technology. Once activated, it then performs an action, such
49
+ * as submitting a form or opening a dialog.
50
+ *
51
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
52
+ */
53
+ const Button = forwardRef(({ className, priority = "default", size = "default", state = "default", asChild = false, ...props }, ref) => {
54
+ const Comp = asChild ? Slot : "button";
55
+ return _jsx(Comp, { className: cx(buttonVariants({ priority, size, state, className })), ref: ref, ...props });
56
+ });
57
+ Button.displayName = "Button";
58
+ export { Button, buttonVariants };
@@ -0,0 +1,25 @@
1
+ import type { HTMLAttributes } from "react";
2
+ import type { WithAsChild } from "../types/as-child";
3
+ export type CardProps = HTMLAttributes<HTMLDivElement>;
4
+ /**
5
+ * A container that can be used to display content in a box resembling a playing
6
+ * card.
7
+ */
8
+ export declare const Card: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
9
+ /**
10
+ * The main content of a card. Usually composed as a direct child of a `Card` component.
11
+ */
12
+ export declare const CardBody: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
13
+ /**
14
+ * The footer container of a card. Usually composed as a direct child of a `Card` component.
15
+ */
16
+ export declare const CardFooter: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
17
+ /**
18
+ * The header container of a card. Usually composed as a direct child of a `Card` component.
19
+ */
20
+ export declare const CardHeader: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
21
+ export type CardTitleProps = HTMLAttributes<HTMLHeadingElement> & WithAsChild;
22
+ /**
23
+ * The title of a card. Usually composed as a direct child of a `CardHeader` component.
24
+ */
25
+ export declare const CardTitle: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & WithAsChild & import("react").RefAttributes<HTMLParagraphElement>>;
@@ -0,0 +1,33 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ import { Slot } from "@radix-ui/react-slot";
4
+ import { cx } from "../cx";
5
+ /**
6
+ * A container that can be used to display content in a box resembling a playing
7
+ * card.
8
+ */
9
+ export const Card = forwardRef(({ className, children, ...rest }, ref) => (_jsx("div", { ref: ref, className: cx("relative rounded border bg-white", className), ...rest, children: children })));
10
+ Card.displayName = "Card";
11
+ /**
12
+ * The main content of a card. Usually composed as a direct child of a `Card` component.
13
+ */
14
+ export const CardBody = forwardRef(({ className, children, ...rest }, ref) => (_jsx("div", { ref: ref, className: cx("p-6", className), ...rest, children: children })));
15
+ CardBody.displayName = "CardBody";
16
+ /**
17
+ * The footer container of a card. Usually composed as a direct child of a `Card` component.
18
+ */
19
+ export const CardFooter = forwardRef(({ className, children, ...rest }, ref) => (_jsx("div", { ref: ref, className: cx("border-t px-6 py-3", className), ...rest, children: children })));
20
+ CardFooter.displayName = "CardFooter";
21
+ /**
22
+ * The header container of a card. Usually composed as a direct child of a `Card` component.
23
+ */
24
+ export const CardHeader = forwardRef(({ className, children, ...rest }, ref) => (_jsx("div", { ref: ref, className: cx("border-b px-6 py-3", className), ...rest, children: children })));
25
+ CardHeader.displayName = "CardHeader";
26
+ /**
27
+ * The title of a card. Usually composed as a direct child of a `CardHeader` component.
28
+ */
29
+ export const CardTitle = forwardRef(({ className, asChild, ...props }, ref) => {
30
+ const Comp = asChild ? Slot : "h3";
31
+ return _jsx(Comp, { ref: ref, className: cx("font-semibold leading-none tracking-tight", className), ...props });
32
+ });
33
+ CardTitle.displayName = "CardTitle";
@@ -0,0 +1,65 @@
1
+ /* Euclid Square */
2
+ @font-face {
3
+ font-family: EuclidSquare;
4
+ font-style: normal;
5
+ font-weight: normal;
6
+ src: url("./euclid-square/EuclidSquare-Regular-WebS.woff") format("woff");
7
+ }
8
+
9
+ @font-face {
10
+ font-family: EuclidSquare;
11
+ font-style: italic;
12
+ font-weight: normal;
13
+ src: url("./euclid-square/EuclidSquare-RegularItalic-WebS.woff") format("woff");
14
+ }
15
+
16
+ @font-face {
17
+ font-family: EuclidSquare;
18
+ font-style: normal;
19
+ font-weight: 500;
20
+ src: url("./euclid-square/EuclidSquare-Medium-WebS.woff") format("woff");
21
+ }
22
+
23
+ @font-face {
24
+ font-family: EuclidSquare;
25
+ font-style: normal;
26
+ font-weight: 600;
27
+ src: url("./euclid-square/EuclidSquare-Semibold-WebS.woff") format("woff");
28
+ }
29
+
30
+ @font-face {
31
+ font-family: EuclidSquare;
32
+ font-style: italic;
33
+ font-weight: 500;
34
+ src: url("./euclid-square/EuclidSquare-MediumItalic-WebS.woff") format("woff");
35
+ }
36
+
37
+ /* IBM Plex Mono */
38
+ @font-face {
39
+ font-family: IBMPlexMono;
40
+ font-style: normal;
41
+ font-weight: normal;
42
+ src: url("./ibm-plex-mono/IBMPlexMono-Text.woff") format("woff");
43
+ }
44
+
45
+ @font-face {
46
+ font-family: IBMPlexMono;
47
+ font-style: italic;
48
+ font-weight: normal;
49
+ src: url("./ibm-plex-mono/IBMPlexMono-TextItalic.woff") format("woff");
50
+ }
51
+
52
+ /* semibold is actually 600, but mapping it to 500 works better */
53
+ @font-face {
54
+ font-family: IBMPlexMono;
55
+ font-style: normal;
56
+ font-weight: 500;
57
+ src: url("./ibm-plex-mono/IBMPlexMono-SemiBold.woff") format("woff");
58
+ }
59
+
60
+ @font-face {
61
+ font-family: IBMPlexMono;
62
+ font-style: italic;
63
+ font-weight: 500;
64
+ src: url("./ibm-plex-mono/IBMPlexMono-SemiBoldItalic.woff") format("woff");
65
+ }
@@ -0,0 +1,92 @@
1
+ Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+ -----------------------------------------------------------
8
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
9
+ -----------------------------------------------------------
10
+
11
+ PREAMBLE
12
+ The goals of the Open Font License (OFL) are to stimulate worldwide
13
+ development of collaborative font projects, to support the font creation
14
+ efforts of academic and linguistic communities, and to provide a free and
15
+ open framework in which fonts may be shared and improved in partnership
16
+ with others.
17
+
18
+ The OFL allows the licensed fonts to be used, studied, modified and
19
+ redistributed freely as long as they are not sold by themselves. The
20
+ fonts, including any derivative works, can be bundled, embedded,
21
+ redistributed and/or sold with any software provided that any reserved
22
+ names are not used by derivative works. The fonts and derivatives,
23
+ however, cannot be released under any other type of license. The
24
+ requirement for fonts to remain under this license does not apply
25
+ to any document created using the fonts or their derivatives.
26
+
27
+ DEFINITIONS
28
+ "Font Software" refers to the set of files released by the Copyright
29
+ Holder(s) under this license and clearly marked as such. This may
30
+ include source files, build scripts and documentation.
31
+
32
+ "Reserved Font Name" refers to any names specified as such after the
33
+ copyright statement(s).
34
+
35
+ "Original Version" refers to the collection of Font Software components as
36
+ distributed by the Copyright Holder(s).
37
+
38
+ "Modified Version" refers to any derivative made by adding to, deleting,
39
+ or substituting -- in part or in whole -- any of the components of the
40
+ Original Version, by changing formats or by porting the Font Software to a
41
+ new environment.
42
+
43
+ "Author" refers to any designer, engineer, programmer, technical
44
+ writer or other person who contributed to the Font Software.
45
+
46
+ PERMISSION & CONDITIONS
47
+ Permission is hereby granted, free of charge, to any person obtaining
48
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
49
+ redistribute, and sell modified and unmodified copies of the Font
50
+ Software, subject to the following conditions:
51
+
52
+ 1) Neither the Font Software nor any of its individual components,
53
+ in Original or Modified Versions, may be sold by itself.
54
+
55
+ 2) Original or Modified Versions of the Font Software may be bundled,
56
+ redistributed and/or sold with any software, provided that each copy
57
+ contains the above copyright notice and this license. These can be
58
+ included either as stand-alone text files, human-readable headers or
59
+ in the appropriate machine-readable metadata fields within text or
60
+ binary files as long as those fields can be easily viewed by the user.
61
+
62
+ 3) No Modified Version of the Font Software may use the Reserved Font
63
+ Name(s) unless explicit written permission is granted by the corresponding
64
+ Copyright Holder. This restriction only applies to the primary font name as
65
+ presented to the users.
66
+
67
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
68
+ Software shall not be used to promote, endorse or advertise any
69
+ Modified Version, except to acknowledge the contribution(s) of the
70
+ Copyright Holder(s) and the Author(s) or with their explicit written
71
+ permission.
72
+
73
+ 5) The Font Software, modified or unmodified, in part or in whole,
74
+ must be distributed entirely under this license, and must not be
75
+ distributed under any other license. The requirement for fonts to
76
+ remain under this license does not apply to any document created
77
+ using the Font Software.
78
+
79
+ TERMINATION
80
+ This license becomes null and void if any of the above conditions are
81
+ not met.
82
+
83
+ DISCLAIMER
84
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
85
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
86
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
87
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
88
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
89
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
90
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
91
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
92
+ OTHER DEALINGS IN THE FONT SOFTWARE.