@shell-shock/plugin-console 0.1.6 → 0.1.7

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.
@@ -883,13 +883,13 @@ function ColorsDeclaration() {
883
883
  })},
884
884
  arguments: ${(0, __alloy_js_core_jsx_runtime.createComponent)(ColorFunction, {
885
885
  get ansi16() {
886
- return colors.ansi16.theme.text.usage.arguments;
886
+ return colors.ansi16.theme.text.usage.args;
887
887
  },
888
888
  get ansi256() {
889
- return colors.ansi256.theme.text.usage.arguments;
889
+ return colors.ansi256.theme.text.usage.args;
890
890
  },
891
891
  get ansi16m() {
892
- return colors.ansi16m.theme.text.usage.arguments;
892
+ return colors.ansi16m.theme.text.usage.args;
893
893
  }
894
894
  })},
895
895
  description: ${(0, __alloy_js_core_jsx_runtime.createComponent)(ColorFunction, {
@@ -1998,7 +1998,7 @@ function WrapAnsiFunction() {
1998
1998
  heading: "Applies ANSI escape codes to a string.",
1999
1999
  get children() {
2000
2000
  return [
2001
- (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocRemarks, { children: `Split text by /\\\\x1b[\\[|\\]][0-9;]*m/ and wrap non-ANSI parts with open/closeing tags.` }),
2001
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocRemarks, { children: `Split text by /\\\\x1b[\\[|\\]][0-9;]*m/ and wrap non-ANSI parts with open/closing tags.` }),
2002
2002
  (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocExample, { children: `const result = wrapAnsi("Hello\\\\x1b[31mWorld\\\\x1b[0mAgain", "\\\\x1b[36m", "\\\\x1b[39");\nconsole.log(result); // "\\\\x1b[36mHello\\\\x1b[39\\\\x1b[31mWorld\\\\x1b[0m\\\\x1b[36mAgain\\\\x1b[39"` }),
2003
2003
  (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocParam, {
2004
2004
  name: "text",
@@ -1,7 +1,7 @@
1
1
  import { Children } from "@alloy-js/core";
2
2
  import { FunctionDeclarationProps } from "@alloy-js/typescript";
3
3
  import { BuiltinFileProps } from "@powerlines/plugin-alloy/typescript/components/builtin-file";
4
- import { ThemeMessageVariant } from "@shell-shock/plugin-theme/types/theme";
4
+ import { ThemeMessageVariant } from "@shell-shock/plugin-theme";
5
5
 
6
6
  //#region src/components/console-builtin.d.ts
7
7
  declare function AnsiHelpersDeclarations(): Children;
@@ -1,7 +1,7 @@
1
+ import { ThemeMessageVariant } from "@shell-shock/plugin-theme";
1
2
  import { Children } from "@alloy-js/core";
2
3
  import { FunctionDeclarationProps } from "@alloy-js/typescript";
3
4
  import { BuiltinFileProps } from "@powerlines/plugin-alloy/typescript/components/builtin-file";
4
- import { ThemeMessageVariant } from "@shell-shock/plugin-theme/types/theme";
5
5
 
6
6
  //#region src/components/console-builtin.d.ts
7
7
  declare function AnsiHelpersDeclarations(): Children;
@@ -882,13 +882,13 @@ function ColorsDeclaration() {
882
882
  })},
883
883
  arguments: ${createComponent(ColorFunction, {
884
884
  get ansi16() {
885
- return colors.ansi16.theme.text.usage.arguments;
885
+ return colors.ansi16.theme.text.usage.args;
886
886
  },
887
887
  get ansi256() {
888
- return colors.ansi256.theme.text.usage.arguments;
888
+ return colors.ansi256.theme.text.usage.args;
889
889
  },
890
890
  get ansi16m() {
891
- return colors.ansi16m.theme.text.usage.arguments;
891
+ return colors.ansi16m.theme.text.usage.args;
892
892
  }
893
893
  })},
894
894
  description: ${createComponent(ColorFunction, {
@@ -1997,7 +1997,7 @@ function WrapAnsiFunction() {
1997
1997
  heading: "Applies ANSI escape codes to a string.",
1998
1998
  get children() {
1999
1999
  return [
2000
- createComponent(TSDocRemarks, { children: `Split text by /\\\\x1b[\\[|\\]][0-9;]*m/ and wrap non-ANSI parts with open/closeing tags.` }),
2000
+ createComponent(TSDocRemarks, { children: `Split text by /\\\\x1b[\\[|\\]][0-9;]*m/ and wrap non-ANSI parts with open/closing tags.` }),
2001
2001
  createComponent(TSDocExample, { children: `const result = wrapAnsi("Hello\\\\x1b[31mWorld\\\\x1b[0mAgain", "\\\\x1b[36m", "\\\\x1b[39");\nconsole.log(result); // "\\\\x1b[36mHello\\\\x1b[39\\\\x1b[31mWorld\\\\x1b[0m\\\\x1b[36mAgain\\\\x1b[39"` }),
2002
2002
  createComponent(TSDocParam, {
2003
2003
  name: "text",