qstd 0.2.9 → 0.2.11

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 (89) hide show
  1. package/dist/block/accordion.d.ts +18 -0
  2. package/dist/block/accordion.d.ts.map +1 -0
  3. package/dist/block/checkbox.d.ts +3 -0
  4. package/dist/block/checkbox.d.ts.map +1 -0
  5. package/dist/block/drawer.d.ts +9 -0
  6. package/dist/block/drawer.d.ts.map +1 -0
  7. package/dist/block/fns.d.ts +50 -0
  8. package/dist/block/fns.d.ts.map +1 -0
  9. package/dist/block/icon.d.ts +4 -0
  10. package/dist/block/icon.d.ts.map +1 -0
  11. package/dist/block/index.d.ts +62 -0
  12. package/dist/block/index.d.ts.map +1 -0
  13. package/dist/block/input.d.ts +23 -0
  14. package/dist/block/input.d.ts.map +1 -0
  15. package/dist/block/literals.d.ts +121 -0
  16. package/dist/block/literals.d.ts.map +1 -0
  17. package/dist/block/menu.d.ts +4 -0
  18. package/dist/block/menu.d.ts.map +1 -0
  19. package/dist/block/progress.d.ts +18 -0
  20. package/dist/block/progress.d.ts.map +1 -0
  21. package/dist/block/radio.d.ts +17 -0
  22. package/dist/block/radio.d.ts.map +1 -0
  23. package/dist/block/switch.d.ts +21 -0
  24. package/dist/block/switch.d.ts.map +1 -0
  25. package/dist/block/test-types.d.ts +4 -0
  26. package/dist/block/test-types.d.ts.map +1 -0
  27. package/dist/block/textarea.d.ts +33 -0
  28. package/dist/block/textarea.d.ts.map +1 -0
  29. package/dist/block/tooltip.d.ts +5 -0
  30. package/dist/block/tooltip.d.ts.map +1 -0
  31. package/dist/block/types.d.ts +384 -0
  32. package/dist/block/types.d.ts.map +1 -0
  33. package/dist/block/use-resize-observer.d.ts +24 -0
  34. package/dist/block/use-resize-observer.d.ts.map +1 -0
  35. package/dist/client/browser.d.ts +44 -0
  36. package/dist/client/browser.d.ts.map +1 -0
  37. package/dist/client/dom.d.ts +58 -0
  38. package/dist/client/dom.d.ts.map +1 -0
  39. package/dist/client/index.cjs +28 -1
  40. package/dist/client/index.d.ts +11 -75
  41. package/dist/client/index.d.ts.map +1 -0
  42. package/dist/client/index.js +28 -1
  43. package/dist/client/storage.d.ts +46 -0
  44. package/dist/client/storage.d.ts.map +1 -0
  45. package/dist/preset/index.d.ts +3 -4
  46. package/dist/preset/index.d.ts.map +1 -0
  47. package/dist/react/index.cjs +4 -3
  48. package/dist/react/index.d.ts +10 -21023
  49. package/dist/react/index.d.ts.map +1 -0
  50. package/dist/react/index.js +4 -3
  51. package/dist/react/use-theme/fns.d.ts +5 -0
  52. package/dist/react/use-theme/fns.d.ts.map +1 -0
  53. package/dist/react/use-theme/index.d.ts +13 -0
  54. package/dist/react/use-theme/index.d.ts.map +1 -0
  55. package/dist/react/use-theme/literals.d.ts +4 -0
  56. package/dist/react/use-theme/literals.d.ts.map +1 -0
  57. package/dist/react/use-theme/types.d.ts +6 -0
  58. package/dist/react/use-theme/types.d.ts.map +1 -0
  59. package/dist/server/file.d.ts +8 -0
  60. package/dist/server/file.d.ts.map +1 -0
  61. package/dist/server/index.cjs +28 -1
  62. package/dist/server/index.d.ts +11 -17
  63. package/dist/server/index.d.ts.map +1 -0
  64. package/dist/server/index.js +28 -1
  65. package/dist/shared/dict.d.ts +57 -0
  66. package/dist/shared/dict.d.ts.map +1 -0
  67. package/dist/shared/flow.d.ts +36 -0
  68. package/dist/shared/flow.d.ts.map +1 -0
  69. package/dist/shared/int.d.ts +49 -0
  70. package/dist/shared/int.d.ts.map +1 -0
  71. package/dist/shared/list.d.ts +29 -0
  72. package/dist/shared/list.d.ts.map +1 -0
  73. package/dist/shared/log.d.ts +5 -0
  74. package/dist/shared/log.d.ts.map +1 -0
  75. package/dist/shared/money.d.ts +18 -0
  76. package/dist/shared/money.d.ts.map +1 -0
  77. package/dist/shared/random.d.ts +41 -0
  78. package/dist/shared/random.d.ts.map +1 -0
  79. package/dist/shared/str.d.ts +74 -0
  80. package/dist/shared/str.d.ts.map +1 -0
  81. package/dist/shared/time.d.ts +112 -0
  82. package/dist/shared/time.d.ts.map +1 -0
  83. package/package.json +20 -19
  84. package/dist/client/index.d.cts +0 -75
  85. package/dist/log-ERvLs2Dx.d.cts +0 -460
  86. package/dist/log-ERvLs2Dx.d.ts +0 -460
  87. package/dist/preset/index.d.cts +0 -39
  88. package/dist/react/index.d.cts +0 -21058
  89. package/dist/server/index.d.cts +0 -17
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ import * as _t from "./types";
3
+ declare function Accordion(props: _t.AccordionBlockProps): import("react/jsx-runtime").JSX.Element;
4
+ type AccordionItemProps = Omit<_t.BtnBlockProps, "is" | "title"> & {
5
+ title: React.ReactNode;
6
+ children: React.ReactNode;
7
+ /** icon to indicate if open or closed */
8
+ rightIndicator?: (open: boolean) => React.ReactNode;
9
+ rightStatusIcon?: React.ReactNode;
10
+ onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
11
+ className?: string;
12
+ };
13
+ export declare function Item(props: AccordionItemProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare namespace Item {
15
+ var displayName: string;
16
+ }
17
+ export default Accordion;
18
+ //# sourceMappingURL=accordion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../src/block/accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AA0F9B,iBAAS,SAAS,CAAC,KAAK,EAAE,EAAE,CAAC,mBAAmB,2CAM/C;AAED,KAAK,kBAAkB,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,IAAI,GAAG,OAAO,CAAC,GAAG;IACjE,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,yCAAyC;IACzC,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IACpD,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AACF,wBAAgB,IAAI,CAAC,KAAK,EAAE,kBAAkB,2CAkG7C;yBAlGe,IAAI;;;AAuGpB,eAAe,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import * as _t from "./types";
2
+ export default function Checkbox(props: _t.CheckboxBlockProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../src/block/checkbox.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAM9B,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,kBAAkB,2CAoF5D"}
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import * as _t from "./types";
3
+ declare const MotionDiv: import("../../styled-system/types").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, {}>;
4
+ declare const MotionBtn: import("../../styled-system/types").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLButtonElement, import("framer-motion").HTMLMotionProps<"button">>, {}>;
5
+ export default function Drawer(props: _t.DrawerBlockProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function BtnGroup(props: React.ComponentProps<typeof MotionDiv>): import("react/jsx-runtime").JSX.Element;
7
+ export declare function CloseBtn(props: React.ComponentProps<typeof MotionBtn>): import("react/jsx-runtime").JSX.Element | undefined;
8
+ export {};
9
+ //# sourceMappingURL=drawer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../src/block/drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAE9B,QAAA,MAAM,SAAS,sKAAoB,CAAC;AACpC,QAAA,MAAM,SAAS,4KAAuB,CAAC;AA0TvC,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,EAAE,CAAC,gBAAgB,2CAMxD;AAID,wBAAgB,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,2CAYrE;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,uDAuDrE"}
@@ -0,0 +1,50 @@
1
+ import React from "react";
2
+ import * as _t from "./types";
3
+ /**
4
+ * Get preview, height, and width of image.
5
+ * @param f
6
+ * @returns
7
+ */
8
+ export declare const extractImageMetadata: (f: File) => Promise<ImageFile>;
9
+ export declare const extractAudioMetadata: (f: File) => Promise<AudioFile>;
10
+ /**
11
+ * Get duration, height, and width of video.
12
+ * @param f
13
+ * @returns
14
+ */
15
+ export declare const extractVideoMetadata: (f: File) => Promise<File>;
16
+ /**
17
+ * Adds metadata to files based on their file type.
18
+ * @example a file of type "image/png" will get a height and width
19
+ * @param f
20
+ * @returns
21
+ */
22
+ export declare const prepareFiles: <T extends File>(acceptedFiles: File[]) => Promise<T[]>;
23
+ export declare const findChildrenByDisplayName: <P extends {}>(children: React.ReactNode, displayName: string) => React.ReactElement<P> | undefined;
24
+ export declare const extractElType: (is: _t.Is, props: {
25
+ filepicker?: boolean;
26
+ }) => {
27
+ el: "blockquote" | "button" | "div" | "form" | "hr" | "img" | "input" | "p" | "pre" | "progress" | "section" | "select" | "table" | "textarea" | "ul";
28
+ is: keyof _t.BlockPropsMap;
29
+ isMenu: boolean;
30
+ isLink: boolean;
31
+ isInput: boolean;
32
+ isRadio: boolean;
33
+ isSwitch: boolean;
34
+ isBtnLike: boolean;
35
+ isAccordion: boolean;
36
+ filepickerAllowed: boolean | undefined;
37
+ isTextarea: boolean;
38
+ isCheckbox: boolean;
39
+ isSkeleton: boolean;
40
+ isProgress: boolean;
41
+ isDrawer: boolean;
42
+ isHr: boolean;
43
+ };
44
+ export declare const extractElAndStyles: (extract: ReturnType<typeof extractElType>, anyProps: any) => any[];
45
+ export declare const getIcons: (extract: ReturnType<typeof extractElType>, anyProps: any) => {
46
+ leftIcon: string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
47
+ rightIcon: string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
48
+ };
49
+ export declare const omit: (obj: any, keys: readonly string[]) => {};
50
+ //# sourceMappingURL=fns.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fns.d.ts","sourceRoot":"","sources":["../../src/block/fns.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAE9B;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,GAAG,IAAI,uBAsC3C,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAU,GAAG,IAAI,uBA6BjD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,GAAG,IAAI,kBAsB3C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAU,CAAC,SAAS,IAAI,EAAE,eAAe,IAAI,EAAE,iBA4BvE,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,CAAC,SAAS,EAAE,EACpD,UAAU,KAAK,CAAC,SAAS,EACzB,aAAa,MAAM,KAClB,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,SAW1B,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,IAAI,EAAE,CAAC,EAAE,EAAE,OAAO;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE;;;;;;;;;;;;;;;;;CAgEvE,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC7B,SAAS,UAAU,CAAC,OAAO,aAAa,CAAC,EACzC,UAAU,GAAG,UA6Ed,CAAC;AAiGF,eAAO,MAAM,QAAQ,GACnB,SAAS,UAAU,CAAC,OAAO,aAAa,CAAC,EACzC,UAAU,GAAG;;;CA+Bd,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,KAAK,GAAG,EAAE,MAAM,SAAS,MAAM,EAAE,OAkBrD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import * as _t from "./types";
3
+ export default function Icon(props: _t.BaseBlockProps): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
4
+ //# sourceMappingURL=icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/block/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAG9B,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,yTAsCpD"}
@@ -0,0 +1,62 @@
1
+ import * as React from "react";
2
+ import { MenuContainer } from "./menu";
3
+ import { Track, Thumb } from "./switch";
4
+ import { Item as RadioItem } from "./radio";
5
+ import { Label as TextareaLabel } from "./textarea";
6
+ import { LeftIcon, RightSide, Label as InputLabel } from "./input";
7
+ import { Item as AccordionItem } from "./accordion";
8
+ import { BtnGroup, CloseBtn } from "./drawer";
9
+ import { TrackBg, TrackFill } from "./progress";
10
+ import * as _t from "./types";
11
+ declare function Block<T extends _t.Is>(props: _t.BlockProps<T>): React.ReactElement;
12
+ declare function Block(props: _t.BaseBlockProps): React.ReactElement;
13
+ declare const TooltipNamespace: {
14
+ readonly Container: React.ForwardRefExoticComponent<Omit<_t.BaseBlockProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
+ };
16
+ declare const MenuNamespace: {
17
+ readonly Container: typeof MenuContainer;
18
+ };
19
+ declare const InputNamespace: {
20
+ readonly Label: typeof InputLabel;
21
+ readonly RightSide: typeof RightSide;
22
+ readonly LeftIcon: typeof LeftIcon;
23
+ };
24
+ declare const TextareaNamespace: {
25
+ readonly Label: typeof TextareaLabel;
26
+ };
27
+ declare const RadioNamespace: {
28
+ readonly Item: typeof RadioItem;
29
+ };
30
+ declare const SwitchNamespace: {
31
+ readonly Track: typeof Track;
32
+ readonly Thumb: typeof Thumb;
33
+ };
34
+ declare const AccordionNamespace: {
35
+ readonly Item: typeof AccordionItem;
36
+ };
37
+ declare const DrawerNamespace: {
38
+ readonly CloseBtn: typeof CloseBtn;
39
+ readonly BtnGroup: typeof BtnGroup;
40
+ };
41
+ declare const ProgressNamespace: {
42
+ readonly TrackFill: typeof TrackFill;
43
+ readonly TrackBg: typeof TrackBg;
44
+ };
45
+ /** Compound component with proper typing
46
+ * - x Block.Tooltip is not callable, ✔ Block.Tooltip.Container is
47
+ * - x Block.Btn is not callable, ✔ Block.Btn.RightSide, Block.Btn.LeftIcon, Block.Btn.Label is
48
+ */
49
+ type BlockComponent = typeof Block & {
50
+ readonly Switch: typeof SwitchNamespace;
51
+ readonly Drawer: typeof DrawerNamespace;
52
+ readonly Tooltip: typeof TooltipNamespace;
53
+ readonly Progress: typeof ProgressNamespace;
54
+ readonly Accordion: typeof AccordionNamespace;
55
+ readonly Textarea: typeof TextareaNamespace;
56
+ readonly Input: typeof InputNamespace;
57
+ readonly Radio: typeof RadioNamespace;
58
+ readonly Menu: typeof MenuNamespace;
59
+ };
60
+ declare const CompoundBlock: BlockComponent;
61
+ export default CompoundBlock;
62
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/block/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAa,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAe,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAChD,OAAc,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,SAAS,CAAC;AACnD,OAAiB,EAAE,KAAK,IAAI,aAAa,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,IAAI,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1E,OAAkB,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAe,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACtD,OAAiB,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAI1D,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAM9B,iBAAS,KAAK,CAAC,CAAC,SAAS,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC;AAC7E,iBAAS,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,GAAG,KAAK,CAAC,YAAY,CAAC;AAyJ7D,QAAA,MAAM,gBAAgB;;CAA2C,CAAC;AAGlE,QAAA,MAAM,aAAa;;CAAwC,CAAC;AAG5D,QAAA,MAAM,cAAc;;;;CAIV,CAAC;AAGX,QAAA,MAAM,iBAAiB;;CAEb,CAAC;AAGX,QAAA,MAAM,cAAc;;CAEV,CAAC;AAGX,QAAA,MAAM,eAAe;;;CAA4B,CAAC;AAGlD,QAAA,MAAM,kBAAkB;;CAEd,CAAC;AAGX,QAAA,MAAM,eAAe;;;CAGX,CAAC;AAGX,QAAA,MAAM,iBAAiB;;;CAGb,CAAC;AAEX;;;GAGG;AACH,KAAK,cAAc,GAAG,OAAO,KAAK,GAAG;IACnC,QAAQ,CAAC,MAAM,EAAE,OAAO,eAAe,CAAC;IACxC,QAAQ,CAAC,MAAM,EAAE,OAAO,eAAe,CAAC;IACxC,QAAQ,CAAC,OAAO,EAAE,OAAO,gBAAgB,CAAC;IAC1C,QAAQ,CAAC,QAAQ,EAAE,OAAO,iBAAiB,CAAC;IAC5C,QAAQ,CAAC,SAAS,EAAE,OAAO,kBAAkB,CAAC;IAC9C,QAAQ,CAAC,QAAQ,EAAE,OAAO,iBAAiB,CAAC;IAC5C,QAAQ,CAAC,KAAK,EAAE,OAAO,cAAc,CAAC;IACtC,QAAQ,CAAC,KAAK,EAAE,OAAO,cAAc,CAAC;IACtC,QAAQ,CAAC,IAAI,EAAE,OAAO,aAAa,CAAC;CACrC,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,cAUM,CAAC;AAE5B,eAAe,aAAa,CAAC"}
@@ -0,0 +1,23 @@
1
+ import * as _t from "./types";
2
+ type LabelProps = {
3
+ value?: _t.InputBlockProps["value"];
4
+ hasLeftIcon?: boolean;
5
+ };
6
+ export default function Input(props: _t.InputBlockProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function LeftIcon(props: _t.BaseBlockProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare namespace LeftIcon {
9
+ var displayName: string;
10
+ }
11
+ export declare function RightSide(props: _t.BaseBlockProps & {
12
+ value?: string;
13
+ clearable?: boolean;
14
+ }): import("react/jsx-runtime").JSX.Element | null;
15
+ export declare namespace RightSide {
16
+ var displayName: string;
17
+ }
18
+ export declare function Label(props: Omit<_t.InputBlockProps, "is"> & LabelProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare namespace Label {
20
+ var displayName: string;
21
+ }
22
+ export {};
23
+ //# sourceMappingURL=input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/block/input.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAU9B,KAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IACpC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC,eAAe,2CA4EtD;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,2CAsBhD;yBAtBe,QAAQ;;;AAyBxB,wBAAgB,SAAS,CACvB,KAAK,EAAE,EAAE,CAAC,cAAc,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,kDAwBnE;yBAzBe,SAAS;;;AA4BzB,wBAAgB,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,eAAe,EAAE,IAAI,CAAC,GAAG,UAAU,2CAuCvE;yBAvCe,KAAK"}
@@ -0,0 +1,121 @@
1
+ import { BeatLoader } from "react-spinners";
2
+ export declare const base: import("panda/jsx").StyledComponent<"div", {}>;
3
+ export declare const tags: {
4
+ readonly div: import("panda/jsx").StyledComponent<"div", {}>;
5
+ readonly a: import("panda/jsx").StyledComponent<"a", {}>;
6
+ readonly br: import("panda/jsx").StyledComponent<"br", {}>;
7
+ readonly button: import("panda/jsx").StyledComponent<"button", {}>;
8
+ readonly canvas: import("panda/jsx").StyledComponent<"canvas", {}>;
9
+ readonly form: import("panda/jsx").StyledComponent<"form", {}>;
10
+ readonly h1: import("panda/jsx").StyledComponent<"h1", {}>;
11
+ readonly h2: import("panda/jsx").StyledComponent<"h2", {}>;
12
+ readonly h3: import("panda/jsx").StyledComponent<"h3", {}>;
13
+ readonly hr: import("panda/jsx").StyledComponent<"hr", {}>;
14
+ readonly nav: import("panda/jsx").StyledComponent<"nav", {}>;
15
+ readonly main: import("panda/jsx").StyledComponent<"main", {}>;
16
+ readonly aside: import("panda/jsx").StyledComponent<"aside", {}>;
17
+ readonly article: import("panda/jsx").StyledComponent<"article", {}>;
18
+ readonly section: import("panda/jsx").StyledComponent<"section", {}>;
19
+ readonly details: import("panda/jsx").StyledComponent<"details", {}>;
20
+ readonly header: import("panda/jsx").StyledComponent<"header", {}>;
21
+ readonly footer: import("panda/jsx").StyledComponent<"footer", {}>;
22
+ readonly strong: import("panda/jsx").StyledComponent<"strong", {}>;
23
+ readonly em: import("panda/jsx").StyledComponent<"em", {}>;
24
+ readonly img: import("panda/jsx").StyledComponent<"img", {}>;
25
+ readonly del: import("panda/jsx").StyledComponent<"del", {}>;
26
+ readonly ins: import("panda/jsx").StyledComponent<"ins", {}>;
27
+ readonly kbd: import("panda/jsx").StyledComponent<"kbd", {}>;
28
+ readonly code: import("panda/jsx").StyledComponent<"code", {}>;
29
+ readonly mark: import("panda/jsx").StyledComponent<"mark", {}>;
30
+ readonly samp: import("panda/jsx").StyledComponent<"samp", {}>;
31
+ readonly small: import("panda/jsx").StyledComponent<"small", {}>;
32
+ readonly sub: import("panda/jsx").StyledComponent<"sub", {}>;
33
+ readonly sup: import("panda/jsx").StyledComponent<"sup", {}>;
34
+ readonly u: import("panda/jsx").StyledComponent<"u", {}>;
35
+ readonly var: import("panda/jsx").StyledComponent<"var", {}>;
36
+ readonly input: import("panda/jsx").StyledComponent<"input", {}>;
37
+ readonly label: import("panda/jsx").StyledComponent<"label", {}>;
38
+ readonly legend: import("panda/jsx").StyledComponent<"legend", {}>;
39
+ readonly p: import("panda/jsx").StyledComponent<"p", {}>;
40
+ readonly select: import("panda/jsx").StyledComponent<"select", {}>;
41
+ readonly span: import("panda/jsx").StyledComponent<"span", {}>;
42
+ readonly svg: import("panda/jsx").StyledComponent<"svg", {}>;
43
+ readonly textarea: import("panda/jsx").StyledComponent<"textarea", {}>;
44
+ readonly table: import("panda/jsx").StyledComponent<"table", {}>;
45
+ readonly tr: import("panda/jsx").StyledComponent<"tr", {}>;
46
+ readonly th: import("panda/jsx").StyledComponent<"th", {}>;
47
+ readonly td: import("panda/jsx").StyledComponent<"td", {}>;
48
+ readonly tbody: import("panda/jsx").StyledComponent<"tbody", {}>;
49
+ readonly thead: import("panda/jsx").StyledComponent<"thead", {}>;
50
+ readonly tfoot: import("panda/jsx").StyledComponent<"tfoot", {}>;
51
+ readonly progress: import("panda/jsx").StyledComponent<"progress", {}>;
52
+ readonly ol: import("panda/jsx").StyledComponent<"ol", {}>;
53
+ readonly ul: import("panda/jsx").StyledComponent<"ul", {}>;
54
+ readonly li: import("panda/jsx").StyledComponent<"li", {}>;
55
+ readonly blockquote: import("panda/jsx").StyledComponent<"blockquote", {}>;
56
+ readonly pre: import("panda/jsx").StyledComponent<"pre", {}>;
57
+ };
58
+ export declare const motionTags: {
59
+ readonly div: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, {}>;
60
+ readonly a: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLAnchorElement, import("framer-motion").HTMLMotionProps<"a">>, {}>;
61
+ readonly br: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLBRElement, import("framer-motion").HTMLMotionProps<"br">>, {}>;
62
+ readonly button: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLButtonElement, import("framer-motion").HTMLMotionProps<"button">>, {}>;
63
+ readonly canvas: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLCanvasElement, import("framer-motion").HTMLMotionProps<"canvas">>, {}>;
64
+ readonly form: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLFormElement, import("framer-motion").HTMLMotionProps<"form">>, {}>;
65
+ readonly h1: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLHeadingElement, import("framer-motion").HTMLMotionProps<"h1">>, {}>;
66
+ readonly h2: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLHeadingElement, import("framer-motion").HTMLMotionProps<"h2">>, {}>;
67
+ readonly h3: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLHeadingElement, import("framer-motion").HTMLMotionProps<"h3">>, {}>;
68
+ readonly hr: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLHRElement, import("framer-motion").HTMLMotionProps<"hr">>, {}>;
69
+ readonly nav: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"nav">>, {}>;
70
+ readonly main: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"main">>, {}>;
71
+ readonly aside: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"aside">>, {}>;
72
+ readonly article: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"article">>, {}>;
73
+ readonly section: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"section">>, {}>;
74
+ readonly details: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDetailsElement, import("framer-motion").HTMLMotionProps<"details">>, {}>;
75
+ readonly header: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"header">>, {}>;
76
+ readonly footer: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"footer">>, {}>;
77
+ readonly strong: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"strong">>, {}>;
78
+ readonly em: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"em">>, {}>;
79
+ readonly img: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLImageElement, import("framer-motion").HTMLMotionProps<"img">>, {}>;
80
+ readonly del: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLModElement, import("framer-motion").HTMLMotionProps<"del">>, {}>;
81
+ readonly ins: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLModElement, import("framer-motion").HTMLMotionProps<"ins">>, {}>;
82
+ readonly kbd: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"kbd">>, {}>;
83
+ readonly code: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"code">>, {}>;
84
+ readonly mark: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"mark">>, {}>;
85
+ readonly samp: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"samp">>, {}>;
86
+ readonly small: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"small">>, {}>;
87
+ readonly sub: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"sub">>, {}>;
88
+ readonly sup: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"sup">>, {}>;
89
+ readonly u: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"u">>, {}>;
90
+ readonly var: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLElement, import("framer-motion").HTMLMotionProps<"var">>, {}>;
91
+ readonly input: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLInputElement, import("framer-motion").HTMLMotionProps<"input">>, {}>;
92
+ readonly label: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLLabelElement, import("framer-motion").HTMLMotionProps<"label">>, {}>;
93
+ readonly legend: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLLegendElement, import("framer-motion").HTMLMotionProps<"legend">>, {}>;
94
+ readonly p: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLParagraphElement, import("framer-motion").HTMLMotionProps<"p">>, {}>;
95
+ readonly select: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLSelectElement, import("framer-motion").HTMLMotionProps<"select">>, {}>;
96
+ readonly span: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLSpanElement, import("framer-motion").HTMLMotionProps<"span">>, {}>;
97
+ readonly svg: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<SVGSVGElement, import("framer-motion").SVGMotionProps<SVGSVGElement>>, {}>;
98
+ readonly textarea: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLTextAreaElement, import("framer-motion").HTMLMotionProps<"textarea">>, {}>;
99
+ readonly table: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLTableElement, import("framer-motion").HTMLMotionProps<"table">>, {}>;
100
+ readonly tr: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLTableRowElement, import("framer-motion").HTMLMotionProps<"tr">>, {}>;
101
+ readonly th: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLTableHeaderCellElement, import("framer-motion").HTMLMotionProps<"th">>, {}>;
102
+ readonly td: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLTableDataCellElement, import("framer-motion").HTMLMotionProps<"td">>, {}>;
103
+ readonly tbody: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLTableSectionElement, import("framer-motion").HTMLMotionProps<"tbody">>, {}>;
104
+ readonly thead: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLTableSectionElement, import("framer-motion").HTMLMotionProps<"thead">>, {}>;
105
+ readonly tfoot: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLTableSectionElement, import("framer-motion").HTMLMotionProps<"tfoot">>, {}>;
106
+ readonly progress: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLProgressElement, import("framer-motion").HTMLMotionProps<"progress">>, {}>;
107
+ readonly ol: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLOListElement, import("framer-motion").HTMLMotionProps<"ol">>, {}>;
108
+ readonly ul: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLUListElement, import("framer-motion").HTMLMotionProps<"ul">>, {}>;
109
+ readonly li: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLLIElement, import("framer-motion").HTMLMotionProps<"li">>, {}>;
110
+ readonly blockquote: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLQuoteElement, import("framer-motion").HTMLMotionProps<"blockquote">>, {}>;
111
+ readonly pre: import("panda/jsx").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLPreElement, import("framer-motion").HTMLMotionProps<"pre">>, {}>;
112
+ };
113
+ export declare const loadingIconsMap: {
114
+ readonly rotatingLines: import("react").FunctionComponent<import("react-loader-spinner")._Props3>;
115
+ readonly spinner: import("react").FunctionComponent<import("react-loader-spinner").TailSpinProps>;
116
+ readonly beat: typeof BeatLoader;
117
+ readonly dots: import("react").FunctionComponent<import("react-loader-spinner").ThreeDotsProps>;
118
+ readonly oval: import("react").FunctionComponent<import("react-loader-spinner").OvalProps>;
119
+ };
120
+ export declare const loadingIcons: string[];
121
+ //# sourceMappingURL=literals.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"literals.d.ts","sourceRoot":"","sources":["../../src/block/literals.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAM5C,eAAO,MAAM,IAAI,gDAAoC,CAAC;AAEtD,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDP,CAAC;AAUX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDmC,CAAC;AAE3D,eAAO,MAAM,eAAe;;;;;;CAMlB,CAAC;AAEX,eAAO,MAAM,YAAY,UAA+B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import * as _t from "./types";
2
+ export declare function MenuContainer(props: _t.BaseBlockProps): import("react/jsx-runtime").JSX.Element;
3
+ export default function Menu(props: _t.MenuBlockProps): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../src/block/menu.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAQ9B,wBAAgB,aAAa,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,2CAOrD;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,2CA2TpD"}
@@ -0,0 +1,18 @@
1
+ import * as _t from "./types";
2
+ type TrackFillPublicProps = _t.BaseBlockProps & {
3
+ progressWidth?: string;
4
+ progressPercent?: number;
5
+ progressValue?: number;
6
+ progressMax?: number;
7
+ };
8
+ export default function Progress(props: _t.ProgressBlockProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function TrackBg(props: _t.BaseBlockProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare namespace TrackBg {
11
+ var displayName: string;
12
+ }
13
+ export declare function TrackFill(props: TrackFillPublicProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare namespace TrackFill {
15
+ var displayName: string;
16
+ }
17
+ export {};
18
+ //# sourceMappingURL=progress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../src/block/progress.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAQ9B,KAAK,oBAAoB,GAAG,EAAE,CAAC,cAAc,GAAG;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAIF,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,kBAAkB,2CAyI5D;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,2CAa/C;yBAbe,OAAO;;;AAgBvB,wBAAgB,SAAS,CAAC,KAAK,EAAE,oBAAoB,2CAuBpD;yBAvBe,SAAS"}
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import * as _t from "./types";
3
+ type RadioItemProps = Omit<_t.BaseBlockProps, "is"> & {
4
+ value: string;
5
+ disabled?: boolean;
6
+ children?: React.ReactNode;
7
+ };
8
+ /**
9
+ * Radio group with roving tabindex and keyboard navigation.
10
+ * - Uses context so `Item` can register/unregister, enabling focus management and selection without DOM queries.
11
+ * - Arrow keys move the active item; Space/Enter selects.
12
+ * - Only the active item has tabIndex=0; the rest are -1. This preserves a11y expectations.
13
+ */
14
+ export default function Radio(props: _t.RadioBlockProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function Item(props: RadioItemProps): import("react/jsx-runtime").JSX.Element;
16
+ export {};
17
+ //# sourceMappingURL=radio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../src/block/radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAE9B,KAAK,cAAc,GAAG,IAAI,CAAC,EAAE,CAAC,cAAc,EAAE,IAAI,CAAC,GAAG;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAyBF;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC,eAAe,2CAmKtD;AAED,wBAAgB,IAAI,CAAC,KAAK,EAAE,cAAc,2CAgLzC"}
@@ -0,0 +1,21 @@
1
+ import React from "react";
2
+ import { type Transition } from "framer-motion";
3
+ import * as _t from "./types";
4
+ type SharedProps = {
5
+ _motion?: Transition;
6
+ };
7
+ type HtmlAnimationHandlers = Pick<React.HTMLAttributes<HTMLDivElement>, "onAnimationStart" | "onAnimationEnd" | "onAnimationIteration" | "onTransitionEnd" | "onDrag" | "onDragStart" | "onDragEnd">;
8
+ type StripConflictingHandlers<T> = Omit<T, keyof HtmlAnimationHandlers>;
9
+ export type TrackProps = StripConflictingHandlers<_t.BaseBlockProps> & SharedProps;
10
+ export type ThumbProps = StripConflictingHandlers<_t.BaseBlockProps> & SharedProps;
11
+ declare function Switch(props: _t.SwitchBlockProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function Track(props: TrackProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare namespace Track {
14
+ var displayName: string;
15
+ }
16
+ export declare function Thumb(props: ThumbProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare namespace Thumb {
18
+ var displayName: string;
19
+ }
20
+ export default Switch;
21
+ //# sourceMappingURL=switch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../src/block/switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAgB,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAG9D,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AA8C9B,KAAK,WAAW,GAAG;IAAE,OAAO,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAI5C,KAAK,qBAAqB,GAAG,IAAI,CAC/B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAClC,kBAAkB,GAClB,gBAAgB,GAChB,sBAAsB,GACtB,iBAAiB,GACjB,QAAQ,GACR,aAAa,GACb,WAAW,CACd,CAAC;AAEF,KAAK,wBAAwB,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,qBAAqB,CAAC,CAAC;AAExE,MAAM,MAAM,UAAU,GAAG,wBAAwB,CAAC,EAAE,CAAC,cAAc,CAAC,GAClE,WAAW,CAAC;AAGd,MAAM,MAAM,UAAU,GAAG,wBAAwB,CAAC,EAAE,CAAC,cAAc,CAAC,GAClE,WAAW,CAAC;AAEd,iBAAS,MAAM,CAAC,KAAK,EAAE,EAAE,CAAC,gBAAgB,2CAsMzC;AAGD,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,2CAqCtC;yBArCe,KAAK;;;AAwCrB,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,2CAwCtC;yBAxCe,KAAK;;;AA4ErB,eAAe,MAAM,CAAC"}
@@ -0,0 +1,4 @@
1
+ declare const TestAllVariants: () => import("react/jsx-runtime").JSX.Element;
2
+ declare const TestErrorCases: () => null;
3
+ export { TestAllVariants, TestErrorCases };
4
+ //# sourceMappingURL=test-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-types.d.ts","sourceRoot":"","sources":["../../src/block/test-types.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,eAAe,+CA2IpB,CAAC;AAGF,QAAA,MAAM,cAAc,YAMnB,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC"}
@@ -0,0 +1,33 @@
1
+ import * as _t from "./types";
2
+ /**
3
+ * Textarea (PandaCSS + autosize)
4
+ *
5
+ * Story:
6
+ * - Renders a PandaCSS-styled `<textarea>` that grows/shrinks to fit content.
7
+ * - To compute the required height we copy the textarea's text-related styles
8
+ * to a single hidden textarea, write the same content, read its scrollHeight,
9
+ * and apply the resulting height via inline style with `!important` so theme
10
+ * overrides can't break sizing.
11
+ * - We recalc height when value/placeholder/minRows/maxRows change, and also
12
+ * on window resize and when fonts finish loading (font metrics change line
13
+ * heights). Uncontrolled form resets are handled by waiting a frame so the
14
+ * browser can update the value first, then we measure.
15
+ * - minRows/maxRows are respected in both content-box and border-box models.
16
+ */
17
+ type LabelProps = {
18
+ value?: _t.TextareaBlockProps["value"];
19
+ required?: boolean;
20
+ error?: string;
21
+ };
22
+ /**
23
+ * Unified Textarea component (PandaCSS + Autosize)
24
+ * - Accepts full Block textarea props and forwards them to styled textarea
25
+ * - Handles autosizing with minRows/maxRows
26
+ */
27
+ export default function Textarea(props: _t.TextareaBlockProps): import("react/jsx-runtime").JSX.Element;
28
+ export declare function Label(props: _t.BaseBlockProps & LabelProps): import("react/jsx-runtime").JSX.Element;
29
+ export declare namespace Label {
30
+ var displayName: string;
31
+ }
32
+ export {};
33
+ //# sourceMappingURL=textarea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../src/block/textarea.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAG9B;;;;;;;;;;;;;;GAcG;AAEH,KAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAwPF;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,kBAAkB,2CA0K5D;AAED,wBAAgB,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,GAAG,UAAU,2CAqC1D;yBArCe,KAAK"}
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import * as _t from "./types";
3
+ export declare const TooltipContainer: React.ForwardRefExoticComponent<Omit<_t.BaseBlockProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
+ export default function Tooltip(props: _t.CoreTooltipProps): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../src/block/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAO9B,eAAO,MAAM,gBAAgB,uGAmB3B,CAAC;AAEH,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,gBAAgB,2CAwiBzD"}