@refactico/pages 0.1.0 → 0.2.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.
- package/dist/index.cjs +2135 -875
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2136 -876
- package/dist/style.css +46 -35
- package/package.json +12 -11
package/dist/index.d.ts
CHANGED
|
@@ -302,7 +302,7 @@ export declare interface QuoteBlock {
|
|
|
302
302
|
|
|
303
303
|
export declare const SUPPORTED_LANGUAGES: readonly ["javascript", "typescript", "python", "java", "csharp", "cpp", "c", "go", "rust", "ruby", "php", "swift", "kotlin", "scala", "html", "css", "scss", "json", "yaml", "xml", "markdown", "sql", "bash", "shell", "powershell", "dockerfile", "plaintext"];
|
|
304
304
|
|
|
305
|
-
export declare type SupportedLanguage = typeof SUPPORTED_LANGUAGES[number];
|
|
305
|
+
export declare type SupportedLanguage = (typeof SUPPORTED_LANGUAGES)[number];
|
|
306
306
|
|
|
307
307
|
export declare interface TableBlock {
|
|
308
308
|
type: 'table';
|
|
@@ -349,7 +349,7 @@ export declare function useAutoResize<T extends HTMLTextAreaElement>(content: st
|
|
|
349
349
|
* Custom hook to manage toolbar visibility for block components.
|
|
350
350
|
* Uses focus/blur pattern to show toolbar when block is focused.
|
|
351
351
|
*/
|
|
352
|
-
export declare function useBlockToolbar({ readOnly }?: UseBlockToolbarOptions): UseBlockToolbarReturn;
|
|
352
|
+
export declare function useBlockToolbar({ readOnly, }?: UseBlockToolbarOptions): UseBlockToolbarReturn;
|
|
353
353
|
|
|
354
354
|
declare interface UseBlockToolbarOptions {
|
|
355
355
|
readOnly?: boolean;
|