@ngrok/mantle 0.66.5 → 0.66.6

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.
@@ -147,7 +147,7 @@ declare const AlertDialog: {
147
147
  * ```
148
148
  */
149
149
  readonly Action: react.ForwardRefExoticComponent<(Omit<react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & Partial<DeepNonNullable<class_variance_authority0.VariantProps<(props?: ({
150
- appearance?: "link" | "filled" | "ghost" | "outlined" | null | undefined;
150
+ appearance?: "link" | "ghost" | "outlined" | "filled" | null | undefined;
151
151
  isLoading?: boolean | null | undefined;
152
152
  priority?: "default" | "danger" | "neutral" | null | undefined;
153
153
  } & class_variance_authority_types0.ClassProp) | undefined) => string>>> & {
@@ -157,7 +157,7 @@ declare const AlertDialog: {
157
157
  asChild: true;
158
158
  type?: ComponentProps<"button">["type"];
159
159
  }, "ref"> | Omit<react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & Partial<DeepNonNullable<class_variance_authority0.VariantProps<(props?: ({
160
- appearance?: "link" | "filled" | "ghost" | "outlined" | null | undefined;
160
+ appearance?: "link" | "ghost" | "outlined" | "filled" | null | undefined;
161
161
  isLoading?: boolean | null | undefined;
162
162
  priority?: "default" | "danger" | "neutral" | null | undefined;
163
163
  } & class_variance_authority_types0.ClassProp) | undefined) => string>>> & {
@@ -204,7 +204,7 @@ declare const AlertDialog: {
204
204
  * ```
205
205
  */
206
206
  readonly Cancel: react.ForwardRefExoticComponent<(Omit<react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & Partial<DeepNonNullable<class_variance_authority0.VariantProps<(props?: ({
207
- appearance?: "link" | "filled" | "ghost" | "outlined" | null | undefined;
207
+ appearance?: "link" | "ghost" | "outlined" | "filled" | null | undefined;
208
208
  isLoading?: boolean | null | undefined;
209
209
  priority?: "default" | "danger" | "neutral" | null | undefined;
210
210
  } & class_variance_authority_types0.ClassProp) | undefined) => string>>> & {
@@ -214,7 +214,7 @@ declare const AlertDialog: {
214
214
  asChild: true;
215
215
  type?: ComponentProps<"button">["type"];
216
216
  }, "ref"> | Omit<react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & Partial<DeepNonNullable<class_variance_authority0.VariantProps<(props?: ({
217
- appearance?: "link" | "filled" | "ghost" | "outlined" | null | undefined;
217
+ appearance?: "link" | "ghost" | "outlined" | "filled" | null | undefined;
218
218
  isLoading?: boolean | null | undefined;
219
219
  priority?: "default" | "danger" | "neutral" | null | undefined;
220
220
  } & class_variance_authority_types0.ClassProp) | undefined) => string>>> & {
package/dist/alert.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { t as SvgAttributes } from "./types-Dh4BVhXC.js";
2
2
  import { t as WithAsChild } from "./as-child-XMVTepJu.js";
3
- import { n as IconButtonProps } from "./icon-button-BTuvUrt1.js";
3
+ import { n as IconButtonProps } from "./icon-button-2r6S3HVA.js";
4
4
  import * as react from "react";
5
5
  import { ComponentProps, HTMLAttributes, ReactNode } from "react";
6
6
  import * as react_jsx_runtime0 from "react/jsx-runtime";
@@ -7,7 +7,7 @@ import * as class_variance_authority_types0 from "class-variance-authority/types
7
7
 
8
8
  //#region src/components/button/button.d.ts
9
9
  declare const buttonVariants: (props?: ({
10
- appearance?: "link" | "filled" | "ghost" | "outlined" | null | undefined;
10
+ appearance?: "link" | "ghost" | "outlined" | "filled" | null | undefined;
11
11
  isLoading?: boolean | null | undefined;
12
12
  priority?: "default" | "danger" | "neutral" | null | undefined;
13
13
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
@@ -91,7 +91,7 @@ type ButtonProps = ComponentProps<"button"> & ButtonVariants & {
91
91
  * ```
92
92
  */
93
93
  declare const Button: react.ForwardRefExoticComponent<(Omit<react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & Partial<DeepNonNullable<class_variance_authority0.VariantProps<(props?: ({
94
- appearance?: "link" | "filled" | "ghost" | "outlined" | null | undefined;
94
+ appearance?: "link" | "ghost" | "outlined" | "filled" | null | undefined;
95
95
  isLoading?: boolean | null | undefined;
96
96
  priority?: "default" | "danger" | "neutral" | null | undefined;
97
97
  } & class_variance_authority_types0.ClassProp) | undefined) => string>>> & {
@@ -137,7 +137,7 @@ declare const Button: react.ForwardRefExoticComponent<(Omit<react.ClassAttribute
137
137
  */
138
138
  type?: ComponentProps<"button">["type"];
139
139
  }, "ref"> | Omit<react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & Partial<DeepNonNullable<class_variance_authority0.VariantProps<(props?: ({
140
- appearance?: "link" | "filled" | "ghost" | "outlined" | null | undefined;
140
+ appearance?: "link" | "ghost" | "outlined" | "filled" | null | undefined;
141
141
  isLoading?: boolean | null | undefined;
142
142
  priority?: "default" | "danger" | "neutral" | null | undefined;
143
143
  } & class_variance_authority_types0.ClassProp) | undefined) => string>>> & {
@@ -172,4 +172,4 @@ declare const Button: react.ForwardRefExoticComponent<(Omit<react.ClassAttribute
172
172
  }, "ref">) & react.RefAttributes<HTMLButtonElement>>;
173
173
  //#endregion
174
174
  export { ButtonProps as n, Button as t };
175
- //# sourceMappingURL=button-Ba6S4LFn.d.ts.map
175
+ //# sourceMappingURL=button-CKL-3sIr.d.ts.map
package/dist/button.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as IconButtonProps, t as IconButton } from "./icon-button-BTuvUrt1.js";
2
- import { n as ButtonProps, t as Button } from "./button-Ba6S4LFn.js";
1
+ import { n as IconButtonProps, t as IconButton } from "./icon-button-2r6S3HVA.js";
2
+ import { n as ButtonProps, t as Button } from "./button-CKL-3sIr.js";
3
3
  import { n as ButtonGroupProps, t as ButtonGroup } from "./index-ViSCOUrU.js";
4
4
  export { Button, ButtonGroup, ButtonGroupProps, ButtonProps, IconButton, IconButtonProps };
@@ -27,7 +27,7 @@ declare const isSupportedLanguage: (value: unknown) => value is SupportedLanguag
27
27
  * Formats a language name into a class name that Prism.js can understand.
28
28
  * @default "language-sh"
29
29
  */
30
- declare function formatLanguageClassName(language?: SupportedLanguage | undefined): "language-html" | "language-ruby" | "language-text" | "language-go" | "language-py" | "language-plaintext" | "language-jsx" | "language-bash" | "language-cs" | "language-csharp" | "language-css" | "language-dotnet" | "language-java" | "language-javascript" | "language-js" | "language-json" | "language-markup" | "language-plain" | "language-python" | "language-rb" | "language-rust" | "language-sh" | "language-shell" | "language-ts" | "language-tsx" | "language-txt" | "language-typescript" | "language-xml" | "language-yaml" | "language-yml";
30
+ declare function formatLanguageClassName(language?: SupportedLanguage | undefined): "language-html" | "language-ruby" | "language-text" | "language-bash" | "language-cs" | "language-csharp" | "language-css" | "language-dotnet" | "language-go" | "language-java" | "language-javascript" | "language-js" | "language-json" | "language-jsx" | "language-markup" | "language-plain" | "language-plaintext" | "language-py" | "language-python" | "language-rb" | "language-rust" | "language-sh" | "language-shell" | "language-ts" | "language-tsx" | "language-txt" | "language-typescript" | "language-xml" | "language-yaml" | "language-yml";
31
31
  //#endregion
32
32
  //#region src/components/code-block/indentation.d.ts
33
33
  declare const indentations: readonly ["tabs", "spaces"];
package/dist/command.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as WithAsChild } from "./as-child-XMVTepJu.js";
2
- import { t as Dialog } from "./dialog-BXZZbOfg.js";
2
+ import { t as Dialog } from "./dialog-BuD_JQf_.js";
3
3
  import * as react from "react";
4
4
  import { ComponentProps, ComponentPropsWithoutRef } from "react";
5
5
  import * as react_jsx_runtime0 from "react/jsx-runtime";
@@ -89,7 +89,7 @@ declare const Command: {
89
89
  ref?: React.Ref<HTMLDivElement>;
90
90
  } & {
91
91
  asChild?: boolean;
92
- }, "key" | "asChild" | keyof react.HTMLAttributes<HTMLDivElement>> & {
92
+ }, "key" | keyof react.HTMLAttributes<HTMLDivElement> | "asChild"> & {
93
93
  label?: string;
94
94
  shouldFilter?: boolean;
95
95
  filter?: (value: string, search: string, keywords?: string[]) => number;
@@ -142,7 +142,7 @@ declare const Command: {
142
142
  ref?: React.Ref<HTMLInputElement>;
143
143
  } & {
144
144
  asChild?: boolean;
145
- }, "key" | "asChild" | keyof react.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
145
+ }, "key" | "asChild" | keyof react.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
146
146
  value?: string;
147
147
  onValueChange?: (search: string) => void;
148
148
  } & react.RefAttributes<HTMLInputElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
@@ -163,7 +163,7 @@ declare const Command: {
163
163
  ref?: React.Ref<HTMLDivElement>;
164
164
  } & {
165
165
  asChild?: boolean;
166
- }, "key" | "asChild" | keyof react.HTMLAttributes<HTMLDivElement>> & {
166
+ }, "key" | keyof react.HTMLAttributes<HTMLDivElement> | "asChild"> & {
167
167
  label?: string;
168
168
  } & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
169
169
  /**
@@ -182,7 +182,7 @@ declare const Command: {
182
182
  ref?: React.Ref<HTMLDivElement>;
183
183
  } & {
184
184
  asChild?: boolean;
185
- }, "key" | "asChild" | keyof react.HTMLAttributes<HTMLDivElement>> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
185
+ }, "key" | keyof react.HTMLAttributes<HTMLDivElement> | "asChild"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
186
186
  /**
187
187
  * The group component for the Command component.
188
188
  *
@@ -203,7 +203,7 @@ declare const Command: {
203
203
  ref?: React.Ref<HTMLDivElement>;
204
204
  } & {
205
205
  asChild?: boolean;
206
- }, "key" | "asChild" | keyof react.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
206
+ }, "key" | keyof react.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
207
207
  heading?: React.ReactNode;
208
208
  value?: string;
209
209
  forceMount?: boolean;
@@ -226,7 +226,7 @@ declare const Command: {
226
226
  ref?: React.Ref<HTMLDivElement>;
227
227
  } & {
228
228
  asChild?: boolean;
229
- }, "key" | "asChild" | keyof react.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
229
+ }, "key" | keyof react.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "value" | "disabled"> & {
230
230
  disabled?: boolean;
231
231
  onSelect?: (value: string) => void;
232
232
  value?: string;
@@ -1,4 +1,4 @@
1
- import { t as Button } from "./button-Ba6S4LFn.js";
1
+ import { t as Button } from "./button-CKL-3sIr.js";
2
2
  import { s as SortingMode } from "./direction-deXpJFDZ.js";
3
3
  import { t as Table$1 } from "./table-Dpt192qt.js";
4
4
  import * as react from "react";
@@ -1,5 +1,5 @@
1
1
  import { t as Root } from "./primitive-tuHqhoRE.js";
2
- import { n as IconButtonProps } from "./icon-button-BTuvUrt1.js";
2
+ import { n as IconButtonProps } from "./icon-button-2r6S3HVA.js";
3
3
  import * as react from "react";
4
4
  import { ComponentProps } from "react";
5
5
  import * as react_jsx_runtime0 from "react/jsx-runtime";
@@ -419,4 +419,4 @@ declare const Dialog: {
419
419
  };
420
420
  //#endregion
421
421
  export { Dialog as t };
422
- //# sourceMappingURL=dialog-BXZZbOfg.d.ts.map
422
+ //# sourceMappingURL=dialog-BuD_JQf_.d.ts.map
package/dist/dialog.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { n as isDialogOverlayTarget } from "./primitive-tuHqhoRE.js";
2
- import { t as Dialog } from "./dialog-BXZZbOfg.js";
2
+ import { t as Dialog } from "./dialog-BuD_JQf_.js";
3
3
  export { Dialog, isDialogOverlayTarget };
@@ -8,7 +8,7 @@ import * as class_variance_authority_types0 from "class-variance-authority/types
8
8
  declare const iconButtonVariants: (props?: ({
9
9
  appearance?: "ghost" | "outlined" | null | undefined;
10
10
  isLoading?: boolean | null | undefined;
11
- size?: "md" | "xs" | "sm" | null | undefined;
11
+ size?: "xs" | "sm" | "md" | null | undefined;
12
12
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
13
13
  type IconButtonVariants = VariantProps<typeof iconButtonVariants>;
14
14
  /**
@@ -95,4 +95,4 @@ type IconButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & WithAsChild & I
95
95
  declare const IconButton: react.ForwardRefExoticComponent<IconButtonProps & react.RefAttributes<HTMLButtonElement>>;
96
96
  //#endregion
97
97
  export { IconButtonProps as n, IconButton as t };
98
- //# sourceMappingURL=icon-button-BTuvUrt1.d.ts.map
98
+ //# sourceMappingURL=icon-button-2r6S3HVA.d.ts.map
package/dist/mantle.css CHANGED
@@ -9,7 +9,7 @@
9
9
  MARK: FONT FACES
10
10
  */
11
11
  @font-face {
12
- font-display: fallback;
12
+ font-display: swap;
13
13
  font-family: "Roobert";
14
14
  font-style: normal;
15
15
  font-weight: 300 900;
@@ -21,7 +21,7 @@ MARK: FONT FACES
21
21
  }
22
22
 
23
23
  @font-face {
24
- font-display: fallback;
24
+ font-display: swap;
25
25
  font-family: "JetBrains Mono";
26
26
  font-style: normal;
27
27
  font-weight: 100 800;
@@ -33,7 +33,7 @@ MARK: FONT FACES
33
33
  }
34
34
 
35
35
  @font-face {
36
- font-display: fallback;
36
+ font-display: optional;
37
37
  font-family: "JetBrains Mono";
38
38
  font-style: italic;
39
39
  font-weight: 100 800;
@@ -53,7 +53,7 @@ MARK: FONT FACES
53
53
  }
54
54
 
55
55
  @font-face {
56
- font-display: fallback;
56
+ font-display: optional;
57
57
  font-family: "Family";
58
58
  font-style: italic;
59
59
  font-weight: normal;
package/dist/sheet.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as Root } from "./primitive-tuHqhoRE.js";
2
- import { n as IconButtonProps } from "./icon-button-BTuvUrt1.js";
2
+ import { n as IconButtonProps } from "./icon-button-2r6S3HVA.js";
3
3
  import * as react from "react";
4
4
  import { HTMLAttributes } from "react";
5
5
  import * as react_jsx_runtime0 from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
- import { t as IconButton } from "./icon-button-BTuvUrt1.js";
2
- import { t as Button } from "./button-Ba6S4LFn.js";
1
+ import { t as IconButton } from "./icon-button-2r6S3HVA.js";
2
+ import { t as Button } from "./button-CKL-3sIr.js";
3
3
  import { t as DropdownMenu } from "./dropdown-menu-D_ZoY1AH.js";
4
4
  import * as react from "react";
5
5
  import { ComponentProps, ReactNode } from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngrok/mantle",
3
- "version": "0.66.5",
3
+ "version": "0.66.6",
4
4
  "description": "mantle is ngrok's UI library and design system.",
5
5
  "homepage": "https://mantle.ngrok.com",
6
6
  "license": "MIT",