@shell-shock/preset-cli 0.5.1 → 0.6.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 (31) hide show
  1. package/dist/components/banner-function-declaration.d.cts +2 -2
  2. package/dist/components/banner-function-declaration.d.cts.map +1 -1
  3. package/dist/components/banner-function-declaration.d.mts +2 -2
  4. package/dist/components/command-entry.cjs +96 -45
  5. package/dist/components/command-entry.d.cts +2 -2
  6. package/dist/components/command-entry.d.cts.map +1 -1
  7. package/dist/components/command-entry.d.mts +2 -2
  8. package/dist/components/command-entry.d.mts.map +1 -1
  9. package/dist/components/command-entry.mjs +96 -45
  10. package/dist/components/command-entry.mjs.map +1 -1
  11. package/dist/components/index.cjs +1 -0
  12. package/dist/components/index.d.cts +2 -2
  13. package/dist/components/index.d.mts +2 -2
  14. package/dist/components/index.mjs +2 -2
  15. package/dist/components/prompts-builtin.cjs +451 -48
  16. package/dist/components/prompts-builtin.d.cts +5 -1
  17. package/dist/components/prompts-builtin.d.cts.map +1 -1
  18. package/dist/components/prompts-builtin.d.mts +5 -1
  19. package/dist/components/prompts-builtin.d.mts.map +1 -1
  20. package/dist/components/prompts-builtin.mjs +452 -50
  21. package/dist/components/prompts-builtin.mjs.map +1 -1
  22. package/dist/components/virtual-command-entry.cjs +1 -0
  23. package/dist/components/virtual-command-entry.d.cts +2 -2
  24. package/dist/components/virtual-command-entry.mjs +1 -0
  25. package/dist/components/virtual-command-entry.mjs.map +1 -1
  26. package/dist/index.cjs +1 -0
  27. package/dist/index.d.cts.map +1 -1
  28. package/dist/index.d.mts.map +1 -1
  29. package/dist/index.mjs +1 -0
  30. package/dist/index.mjs.map +1 -1
  31. package/package.json +9 -9
@@ -23,6 +23,10 @@ declare function NumericPromptDeclarations(): _alloy_js_core3.Children;
23
23
  * A component that renders the declarations for the built-in toggle prompt, which allows users to select a boolean value (true/false) with support for custom messages for the true and false states. This prompt type can be used for scenarios where the user needs to toggle a setting on or off, such as enabling or disabling a feature. The TogglePrompt class extends the base Prompt class and implements specific logic for handling boolean input and rendering interactions.
24
24
  */
25
25
  declare function TogglePromptDeclarations(): _alloy_js_core3.Children;
26
+ /**
27
+ * A component that renders the declarations for the built-in confirm prompt, which allows users to select a boolean value (true/false) with support for custom messages for the true and false states. This prompt type can be used for scenarios where the user needs to toggle a setting on or off, such as enabling or disabling a feature. The ConfirmPrompt class extends the base Prompt class and implements specific logic for handling boolean input and rendering interactions.
28
+ */
29
+ declare function ConfirmPromptDeclarations(): _alloy_js_core3.Children;
26
30
  /**
27
31
  * Declarations for a password prompt that allows users to input and edit text, with support for cursor movement, deletion, and custom masking. This prompt type can be used for various text input scenarios, such as entering a password or any other string input. The PasswordPrompt class extends the base Prompt class and implements specific logic for handling password input and editing interactions.
28
32
  */
@@ -32,5 +36,5 @@ declare function PasswordPromptDeclaration(): _alloy_js_core3.Children;
32
36
  */
33
37
  declare function PromptsBuiltin(props: PromptsBuiltinProps): _alloy_js_core3.Children;
34
38
  //#endregion
35
- export { BasePromptDeclarations, NumericPromptDeclarations, PasswordPromptDeclaration, PromptsBuiltin, PromptsBuiltinProps, SelectPromptDeclarations, TextPromptDeclarations, TogglePromptDeclarations };
39
+ export { BasePromptDeclarations, ConfirmPromptDeclarations, NumericPromptDeclarations, PasswordPromptDeclaration, PromptsBuiltin, PromptsBuiltinProps, SelectPromptDeclarations, TextPromptDeclarations, TogglePromptDeclarations };
36
40
  //# sourceMappingURL=prompts-builtin.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prompts-builtin.d.cts","names":[],"sources":["../../src/components/prompts-builtin.tsx"],"sourcesContent":[],"mappings":";;;;UA4CiB,mBAAA,SAA4B,KAC3C;;AADF;AAQA;AAwsBgB,iBAxsBA,sBAAA,CAAA,CAwsBsB,EAxsBA,eAAA,CAAA,QAwsBA;AA2TtC;AAmbA;AAwSA;AAuNgB,iBA7uCA,sBAAA,CAAA,CA6uCyB,EA7uCH,eAAA,CAAA,QA6uCG;AAqEzC;;;iBAv/BgB,wBAAA,CAAA,GAAwB,eAAA,CAAA;;;;iBAmbxB,yBAAA,CAAA,GAAyB,eAAA,CAAA;;;;iBAwSzB,wBAAA,CAAA,GAAwB,eAAA,CAAA;;;;iBAuNxB,yBAAA,CAAA,GAAyB,eAAA,CAAA;;;;iBAqEzB,cAAA,QAAsB,sBAAmB,eAAA,CAAA"}
1
+ {"version":3,"file":"prompts-builtin.d.cts","names":[],"sources":["../../src/components/prompts-builtin.tsx"],"sourcesContent":[],"mappings":";;;;UA8CiB,mBAAA,SAA4B,KAC3C;;AADF;AAQA;AA4sBgB,iBA5sBA,sBAAA,CAAA,CA4sBsB,EA5sBA,eAAA,CAAA,QA4sBA;AA4TtC;AAmbA;AA2YA;AA4OgB,iBAt2CA,sBAAA,CAAA,CAs2CyB,EAt2CH,eAAA,CAAA,QAs2CG;AA8LzC;AAqEA;;iBA7yCgB,wBAAA,CAAA,GAAwB,eAAA,CAAA;;;;iBAmbxB,yBAAA,CAAA,GAAyB,eAAA,CAAA;;;;iBA2YzB,wBAAA,CAAA,GAAwB,eAAA,CAAA;;;;iBA4OxB,yBAAA,CAAA,GAAyB,eAAA,CAAA;;;;iBA8LzB,yBAAA,CAAA,GAAyB,eAAA,CAAA;;;;iBAqEzB,cAAA,QAAsB,sBAAmB,eAAA,CAAA"}
@@ -23,6 +23,10 @@ declare function NumericPromptDeclarations(): _alloy_js_core2.Children;
23
23
  * A component that renders the declarations for the built-in toggle prompt, which allows users to select a boolean value (true/false) with support for custom messages for the true and false states. This prompt type can be used for scenarios where the user needs to toggle a setting on or off, such as enabling or disabling a feature. The TogglePrompt class extends the base Prompt class and implements specific logic for handling boolean input and rendering interactions.
24
24
  */
25
25
  declare function TogglePromptDeclarations(): _alloy_js_core2.Children;
26
+ /**
27
+ * A component that renders the declarations for the built-in confirm prompt, which allows users to select a boolean value (true/false) with support for custom messages for the true and false states. This prompt type can be used for scenarios where the user needs to toggle a setting on or off, such as enabling or disabling a feature. The ConfirmPrompt class extends the base Prompt class and implements specific logic for handling boolean input and rendering interactions.
28
+ */
29
+ declare function ConfirmPromptDeclarations(): _alloy_js_core2.Children;
26
30
  /**
27
31
  * Declarations for a password prompt that allows users to input and edit text, with support for cursor movement, deletion, and custom masking. This prompt type can be used for various text input scenarios, such as entering a password or any other string input. The PasswordPrompt class extends the base Prompt class and implements specific logic for handling password input and editing interactions.
28
32
  */
@@ -32,5 +36,5 @@ declare function PasswordPromptDeclaration(): _alloy_js_core2.Children;
32
36
  */
33
37
  declare function PromptsBuiltin(props: PromptsBuiltinProps): _alloy_js_core2.Children;
34
38
  //#endregion
35
- export { BasePromptDeclarations, NumericPromptDeclarations, PasswordPromptDeclaration, PromptsBuiltin, PromptsBuiltinProps, SelectPromptDeclarations, TextPromptDeclarations, TogglePromptDeclarations };
39
+ export { BasePromptDeclarations, ConfirmPromptDeclarations, NumericPromptDeclarations, PasswordPromptDeclaration, PromptsBuiltin, PromptsBuiltinProps, SelectPromptDeclarations, TextPromptDeclarations, TogglePromptDeclarations };
36
40
  //# sourceMappingURL=prompts-builtin.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prompts-builtin.d.mts","names":[],"sources":["../../src/components/prompts-builtin.tsx"],"sourcesContent":[],"mappings":";;;;UA4CiB,mBAAA,SAA4B,KAC3C;;AADF;AAQA;AAwsBgB,iBAxsBA,sBAAA,CAAA,CAwsBsB,EAxsBA,eAAA,CAAA,QAwsBA;AA2TtC;AAmbA;AAwSA;AAuNgB,iBA7uCA,sBAAA,CAAA,CA6uCyB,EA7uCH,eAAA,CAAA,QA6uCG;AAqEzC;;;iBAv/BgB,wBAAA,CAAA,GAAwB,eAAA,CAAA;;;;iBAmbxB,yBAAA,CAAA,GAAyB,eAAA,CAAA;;;;iBAwSzB,wBAAA,CAAA,GAAwB,eAAA,CAAA;;;;iBAuNxB,yBAAA,CAAA,GAAyB,eAAA,CAAA;;;;iBAqEzB,cAAA,QAAsB,sBAAmB,eAAA,CAAA"}
1
+ {"version":3,"file":"prompts-builtin.d.mts","names":[],"sources":["../../src/components/prompts-builtin.tsx"],"sourcesContent":[],"mappings":";;;;UA8CiB,mBAAA,SAA4B,KAC3C;;AADF;AAQA;AA4sBgB,iBA5sBA,sBAAA,CAAA,CA4sBsB,EA5sBA,eAAA,CAAA,QA4sBA;AA4TtC;AAmbA;AA2YA;AA4OgB,iBAt2CA,sBAAA,CAAA,CAs2CyB,EAt2CH,eAAA,CAAA,QAs2CG;AA8LzC;AAqEA;;iBA7yCgB,wBAAA,CAAA,GAAwB,eAAA,CAAA;;;;iBAmbxB,yBAAA,CAAA,GAAyB,eAAA,CAAA;;;;iBA2YzB,wBAAA,CAAA,GAAwB,eAAA,CAAA;;;;iBA4OxB,yBAAA,CAAA,GAAyB,eAAA,CAAA;;;;iBA8LzB,yBAAA,CAAA,GAAyB,eAAA,CAAA;;;;iBAqEzB,cAAA,QAAsB,sBAAmB,eAAA,CAAA"}