@rocket.chat/fuselage 0.6.3-dev.394 → 0.6.3-dev.398

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 (128) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +22 -0
  2. package/dist/components/Accordion/Accordion.d.ts.map +1 -0
  3. package/dist/components/Accordion/AccordionItem.d.ts +13 -0
  4. package/dist/components/Accordion/AccordionItem.d.ts.map +1 -0
  5. package/dist/components/Accordion/index.d.ts +2 -13
  6. package/dist/components/Accordion/index.d.ts.map +1 -0
  7. package/dist/components/Avatar/Avatar.d.ts +16 -0
  8. package/dist/components/Avatar/Avatar.d.ts.map +1 -0
  9. package/dist/components/Avatar/index.d.ts +2 -28
  10. package/dist/components/Avatar/index.d.ts.map +1 -0
  11. package/dist/components/Badge/Badge.d.ts +12 -0
  12. package/dist/components/Badge/Badge.d.ts.map +1 -0
  13. package/dist/components/Badge/index.d.ts +2 -11
  14. package/dist/components/Badge/index.d.ts.map +1 -0
  15. package/dist/components/Box/index.d.ts +10 -4
  16. package/dist/components/Callout/Callout.d.ts +10 -0
  17. package/dist/components/Callout/Callout.d.ts.map +1 -0
  18. package/dist/components/Callout/index.d.ts +2 -8
  19. package/dist/components/Callout/index.d.ts.map +1 -0
  20. package/dist/components/Chevron/Chevron.d.ts +14 -0
  21. package/dist/components/Chevron/Chevron.d.ts.map +1 -0
  22. package/dist/components/Chevron/index.d.ts +2 -12
  23. package/dist/components/Chevron/index.d.ts.map +1 -0
  24. package/dist/components/Divider/Divider.d.ts +6 -0
  25. package/dist/components/Divider/Divider.d.ts.map +1 -0
  26. package/dist/components/Divider/index.d.ts +1 -5
  27. package/dist/components/Divider/index.d.ts.map +1 -1
  28. package/dist/components/EmailInput/EmailInput.d.ts +9 -0
  29. package/dist/components/EmailInput/EmailInput.d.ts.map +1 -0
  30. package/dist/components/EmailInput/index.d.ts +2 -9
  31. package/dist/components/EmailInput/index.d.ts.map +1 -0
  32. package/dist/components/Field/Field.d.ts +17 -0
  33. package/dist/components/Field/Field.d.ts.map +1 -0
  34. package/dist/components/Field/FieldDescription.d.ts +6 -0
  35. package/dist/components/Field/FieldDescription.d.ts.map +1 -0
  36. package/dist/components/Field/FieldError.d.ts +6 -0
  37. package/dist/components/Field/FieldError.d.ts.map +1 -0
  38. package/dist/components/Field/FieldHint.d.ts +6 -0
  39. package/dist/components/Field/FieldHint.d.ts.map +1 -0
  40. package/dist/components/Field/FieldLabel.d.ts +6 -0
  41. package/dist/components/Field/FieldLabel.d.ts.map +1 -0
  42. package/dist/components/Field/FieldRow.d.ts +6 -0
  43. package/dist/components/Field/FieldRow.d.ts.map +1 -0
  44. package/dist/components/Field/index.d.ts +2 -18
  45. package/dist/components/Field/index.d.ts.map +1 -0
  46. package/dist/components/InputBox/Option.d.ts +3 -0
  47. package/dist/components/InputBox/Option.d.ts.map +1 -0
  48. package/dist/components/InputBox/Placeholder.d.ts +6 -0
  49. package/dist/components/InputBox/Placeholder.d.ts.map +1 -0
  50. package/dist/components/Label/index.d.ts +8 -7
  51. package/dist/components/Label/index.d.ts.map +1 -0
  52. package/dist/components/Message/MessageMetrics/MessageMetricsItem/index.d.ts +1 -1
  53. package/dist/components/Message/MessageMetrics/index.d.ts +2 -135
  54. package/dist/components/Message/MessageMetrics/index.d.ts.map +1 -1
  55. package/dist/components/Message/MessageReactions/index.d.ts +1 -130
  56. package/dist/components/Message/MessageReactions/index.d.ts.map +1 -1
  57. package/dist/components/Message/MessageToolbox/MessageToolboxItem.d.ts +1 -139
  58. package/dist/components/Message/MessageToolbox/MessageToolboxItem.d.ts.map +1 -1
  59. package/dist/components/Message/MessageToolbox/index.d.ts +2 -269
  60. package/dist/components/Message/MessageToolbox/index.d.ts.map +1 -1
  61. package/dist/components/Message/index.d.ts +5 -527
  62. package/dist/components/Message/index.d.ts.map +1 -1
  63. package/dist/components/Modal/Modal.d.ts +6 -0
  64. package/dist/components/Modal/Modal.d.ts.map +1 -0
  65. package/dist/components/Modal/ModalBackdrop.d.ts +5 -0
  66. package/dist/components/Modal/ModalBackdrop.d.ts.map +1 -0
  67. package/dist/components/Modal/ModalClose.d.ts +5 -0
  68. package/dist/components/Modal/ModalClose.d.ts.map +1 -0
  69. package/dist/components/Modal/ModalContent.d.ts +9 -0
  70. package/dist/components/Modal/ModalContent.d.ts.map +1 -0
  71. package/dist/components/Modal/ModalFooter.d.ts +5 -0
  72. package/dist/components/Modal/ModalFooter.d.ts.map +1 -0
  73. package/dist/components/Modal/ModalHeader.d.ts +5 -0
  74. package/dist/components/Modal/ModalHeader.d.ts.map +1 -0
  75. package/dist/components/Modal/ModalIcon.d.ts +5 -0
  76. package/dist/components/Modal/ModalIcon.d.ts.map +1 -0
  77. package/dist/components/Modal/ModalThumb.d.ts +5 -0
  78. package/dist/components/Modal/ModalThumb.d.ts.map +1 -0
  79. package/dist/components/Modal/ModalTitle.d.ts +5 -0
  80. package/dist/components/Modal/ModalTitle.d.ts.map +1 -0
  81. package/dist/components/Modal/index.d.ts +11 -23
  82. package/dist/components/Modal/index.d.ts.map +1 -0
  83. package/dist/components/NumberInput/index.d.ts +5 -5
  84. package/dist/components/NumberInput/index.d.ts.map +1 -0
  85. package/dist/components/Options/Option/Option.d.ts +2 -1
  86. package/dist/components/Options/Option/Option.d.ts.map +1 -1
  87. package/dist/components/Options/Option/index.d.ts +12 -376
  88. package/dist/components/Options/Option/index.d.ts.map +1 -1
  89. package/dist/components/Options/useCursor.d.ts +1 -1
  90. package/dist/components/Options/useVisible.d.ts +1 -1
  91. package/dist/components/PasswordInput/PasswordInput.d.ts +1 -1
  92. package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
  93. package/dist/components/ProgressBar/index.d.ts +2 -128
  94. package/dist/components/ProgressBar/index.d.ts.map +1 -1
  95. package/dist/components/SearchInput/index.d.ts +7 -7
  96. package/dist/components/SearchInput/index.d.ts.map +1 -0
  97. package/dist/components/Sidebar/Item.d.ts +1 -130
  98. package/dist/components/Sidebar/Item.d.ts.map +1 -1
  99. package/dist/components/Sidebar/TopBar.d.ts +1 -130
  100. package/dist/components/Sidebar/TopBar.d.ts.map +1 -1
  101. package/dist/components/Skeleton/index.d.ts +6 -6
  102. package/dist/components/Skeleton/index.d.ts.map +1 -0
  103. package/dist/components/StatusBullet/index.d.ts +6 -5
  104. package/dist/components/StatusBullet/index.d.ts.map +1 -0
  105. package/dist/components/Tabs/index.d.ts +12 -13
  106. package/dist/components/Tabs/index.d.ts.map +1 -0
  107. package/dist/components/Tag/index.d.ts +10 -8
  108. package/dist/components/Tag/index.d.ts.map +1 -0
  109. package/dist/components/TelephoneInput/index.d.ts +10 -0
  110. package/dist/components/TelephoneInput/index.d.ts.map +1 -0
  111. package/dist/components/TextAreaInput/index.d.ts +7 -7
  112. package/dist/components/TextAreaInput/index.d.ts.map +1 -0
  113. package/dist/components/TextInput/index.d.ts +6 -7
  114. package/dist/components/TextInput/index.d.ts.map +1 -0
  115. package/dist/components/Throbber/index.d.ts +7 -8
  116. package/dist/components/Throbber/index.d.ts.map +1 -0
  117. package/dist/components/Tile/Tile.d.ts +2 -6
  118. package/dist/components/Tile/Tile.d.ts.map +1 -1
  119. package/dist/components/ToggleSwitch/index.d.ts +21 -5
  120. package/dist/components/ToggleSwitch/index.d.ts.map +1 -0
  121. package/dist/components/Tooltip/Tooltip.d.ts +1 -123
  122. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  123. package/dist/components/UrlInput/UrlInput.d.ts +1 -1
  124. package/dist/components/UrlInput/UrlInput.d.ts.map +1 -1
  125. package/dist/fuselage.development.js +4380 -4521
  126. package/dist/fuselage.development.js.map +1 -1
  127. package/dist/fuselage.production.js +1 -1
  128. package/package.json +20 -24
@@ -0,0 +1,22 @@
1
+ import React, { ComponentProps, ReactElement, ReactNode } from 'react';
2
+ import { Box } from '../Box';
3
+ declare type AccordionProps = ComponentProps<typeof Box> & {
4
+ animated?: boolean;
5
+ children: ReactNode;
6
+ };
7
+ export declare function Accordion(props: AccordionProps): ReactElement<AccordionProps>;
8
+ export declare namespace Accordion {
9
+ var Item: React.FC<{
10
+ className?: string | undefined;
11
+ defaultExpanded?: boolean | undefined;
12
+ disabled?: boolean | undefined;
13
+ expanded?: boolean | undefined;
14
+ tabIndex?: number | undefined;
15
+ title: React.ReactNode;
16
+ noncollapsible?: boolean | undefined;
17
+ onToggle?: ((e: React.KeyboardEvent<HTMLElement> | React.MouseEvent<HTMLElement, React.MouseEvent<Element, MouseEvent>>) => void) | undefined;
18
+ onToggleEnabled?: ((e: React.KeyboardEvent<HTMLElement> | React.MouseEvent<HTMLElement, React.MouseEvent<Element, MouseEvent>>) => void) | undefined;
19
+ }>;
20
+ }
21
+ export {};
22
+ //# sourceMappingURL=Accordion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAG7B,aAAK,cAAc,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,GAAG,YAAY,CAAC,cAAc,CAAC,CAE7E;yBAFe,SAAS"}
@@ -0,0 +1,13 @@
1
+ import { FC, KeyboardEvent, MouseEvent, ReactNode } from 'react';
2
+ export declare const AccordionItem: FC<{
3
+ className?: string;
4
+ defaultExpanded?: boolean;
5
+ disabled?: boolean;
6
+ expanded?: boolean;
7
+ tabIndex?: number;
8
+ title: ReactNode;
9
+ noncollapsible?: boolean;
10
+ onToggle?: (e: MouseEvent<HTMLElement, MouseEvent> | KeyboardEvent<HTMLElement>) => void;
11
+ onToggleEnabled?: (e: MouseEvent<HTMLElement, MouseEvent> | KeyboardEvent<HTMLElement>) => void;
12
+ }>;
13
+ //# sourceMappingURL=AccordionItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMxE,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,SAAS,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,CACT,CAAC,EAAE,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,KAChE,IAAI,CAAC;IACV,eAAe,CAAC,EAAE,CAChB,CAAC,EAAE,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,KAChE,IAAI,CAAC;CACX,CAkHA,CAAC"}
@@ -1,13 +1,2 @@
1
- import { ComponentProps, ForwardRefExoticComponent } from 'react';
2
-
3
- import { Box } from '../Box';
4
-
5
- type AccordionProps = ComponentProps<typeof Box>;
6
- type AccordionItemProps = Omit<ComponentProps<typeof Box>, 'title'> & {
7
- defaultExpanded?: boolean;
8
- title?: string;
9
- };
10
-
11
- export const Accordion: ForwardRefExoticComponent<AccordionProps> & {
12
- Item: ForwardRefExoticComponent<AccordionItemProps>;
13
- };
1
+ export * from './Accordion';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/index.tsx"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { ComponentPropsWithoutRef, FC } from 'react';
2
+ import { Box } from '..';
3
+ declare type AvatarProps = Omit<ComponentPropsWithoutRef<typeof Box>, 'title' | 'size' | 'className'> & {
4
+ title?: string;
5
+ size?: 'x16' | 'x18' | 'x20' | 'x24' | 'x28' | 'x32' | 'x36' | 'x40' | 'x48' | 'x124' | 'x200' | 'x332';
6
+ rounded?: boolean;
7
+ objectFit?: boolean;
8
+ url: string;
9
+ className?: string;
10
+ };
11
+ export declare const Avatar: FC<AvatarProps> & {
12
+ Stack: typeof AvatarStack;
13
+ };
14
+ declare const AvatarStack: FC<AvatarProps>;
15
+ export {};
16
+ //# sourceMappingURL=Avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAE,GAAG,EAAE,MAAM,IAAI,CAAC;AAGzB,aAAK,WAAW,GAAG,IAAI,CACrB,wBAAwB,CAAC,OAAO,GAAG,CAAC,EACpC,OAAO,GAAG,MAAM,GAAG,WAAW,CAC/B,GAAG;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EACD,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,GAAG;IACrC,KAAK,EAAE,OAAO,WAAW,CAAC;CA6B3B,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,WAAW,CAGhC,CAAC"}
@@ -1,28 +1,2 @@
1
- import { ComponentProps, Context, ForwardRefExoticComponent } from 'react';
2
-
3
- import { Box } from '../Box';
4
-
5
- type AvatarProps = Omit<ComponentProps<typeof Box>, 'title' | 'size'> & {
6
- title?: string;
7
- size?:
8
- | 'x16'
9
- | 'x18'
10
- | 'x20'
11
- | 'x24'
12
- | 'x28'
13
- | 'x32'
14
- | 'x36'
15
- | 'x40'
16
- | 'x48'
17
- | 'x124'
18
- | 'x200'
19
- | 'x332';
20
- rounded?: boolean;
21
- objectFit?: boolean;
22
- url: string;
23
- };
24
- export const Avatar: ForwardRefExoticComponent<AvatarProps> & {
25
- Context: Context<{
26
- baseUrl: string;
27
- }>;
28
- };
1
+ export * from './Avatar';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/index.tsx"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { ElementType } from 'react';
2
+ declare type BadgeProps = {
3
+ is?: ElementType;
4
+ variant?: 'secondary' | 'primary' | 'danger' | 'warning' | 'ghost';
5
+ disabled?: boolean;
6
+ className?: string;
7
+ children?: any;
8
+ title?: any;
9
+ };
10
+ export declare function Badge({ is: Tag, variant, className, disabled, ...props }: BadgeProps): JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=Badge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAI3C,aAAK,UAAU,GAAG;IAChB,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,KAAK,CAAC,EAAE,GAAG,CAAC;CACb,CAAC;AAEF,wBAAgB,KAAK,CAAC,EACpB,EAAE,EAAE,GAAY,EAChB,OAAqB,EACrB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,UAAU,eAYZ"}
@@ -1,11 +1,2 @@
1
- import { ElementType, ForwardRefExoticComponent } from 'react';
2
-
3
- type BadgeProps = {
4
- is?: ElementType;
5
- variant?: 'primary' | 'danger' | 'warning';
6
- disabled?: boolean;
7
- className?: string;
8
- children?: any;
9
- title?: any;
10
- };
11
- export const Badge: ForwardRefExoticComponent<BadgeProps>;
1
+ export * from './Badge';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.tsx"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -5,10 +5,13 @@ import {
5
5
  ElementType,
6
6
  ForwardRefExoticComponent,
7
7
  PropsWithChildren,
8
+ ReactElement,
8
9
  RefAttributes,
9
10
  SVGAttributes,
10
11
  } from 'react';
11
12
 
13
+ type Size = '1' | '2' | '4' | '8' | '12' | '16' | '20' | '24' | '32' | '40';
14
+
12
15
  type FontScale =
13
16
  | 'hero'
14
17
  | 'h1'
@@ -26,8 +29,11 @@ type FontScale =
26
29
  | 'c2'
27
30
  | 'micro';
28
31
 
29
- type BoxProps = PropsWithChildren<{
30
- is?: ElementType;
32
+ type BoxProps<E extends HTMLElement> = PropsWithChildren<{
33
+ is?:
34
+ | ReactElement<E, string | JSXElementConstructor<E>>
35
+ | (ElementType<E> & string)
36
+ | string;
31
37
  className?:
32
38
  | string
33
39
  | ReturnType<typeof css>
@@ -152,12 +158,12 @@ type BoxProps = PropsWithChildren<{
152
158
  invisible?: boolean;
153
159
  withRichContent?: boolean | string;
154
160
  withTruncatedText?: boolean;
155
- size?: CSSProperties['blockSize'];
161
+ size?: `x${Size}` | `neg-x${Size}` | CSSProperties['blockSize'];
156
162
  minSize?: CSSProperties['blockSize'];
157
163
  maxSize?: CSSProperties['blockSize'];
158
164
  fontScale?: FontScale;
159
165
  }> &
160
- Omit<AllHTMLAttributes<HTMLOrSVGElement>, 'className'> &
166
+ Omit<AllHTMLAttributes<HTMLOrSVGElement>, 'className' | 'size'> &
161
167
  Omit<SVGAttributes<SVGElement>, keyof AllHTMLAttributes<HTMLOrSVGElement>> &
162
168
  RefAttributes<unknown>;
163
169
 
@@ -0,0 +1,10 @@
1
+ import { ComponentProps, FC, ReactNode } from 'react';
2
+ import { Box } from '../Box';
3
+ declare type CalloutProps = Omit<ComponentProps<typeof Box>, 'type' | 'name'> & {
4
+ type?: 'info' | 'success' | 'warning' | 'danger';
5
+ title?: ReactNode;
6
+ children: ReactNode;
7
+ };
8
+ export declare const Callout: FC<CalloutProps>;
9
+ export {};
10
+ //# sourceMappingURL=Callout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Callout.d.ts","sourceRoot":"","sources":["../../../src/components/Callout/Callout.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAG7B,aAAK,YAAY,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG;IACtE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACjD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CA0BpC,CAAC"}
@@ -1,8 +1,2 @@
1
- import { ComponentProps, ForwardRefExoticComponent } from 'react';
2
-
3
- import { Box } from '../Box';
4
-
5
- type CalloutProps = Omit<ComponentProps<typeof Box>, 'type'> & {
6
- type?: 'info' | 'success' | 'warning' | 'danger';
7
- };
8
- export const Callout: ForwardRefExoticComponent<CalloutProps>;
1
+ export * from './Callout';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Callout/index.tsx"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { ComponentProps, ReactElement } from 'react';
2
+ import { Box } from '../Box';
3
+ declare type ChevronProps = Omit<ComponentProps<typeof Box>, 'size'> & {
4
+ size?: ComponentProps<typeof Box>['width'];
5
+ up?: boolean;
6
+ right?: boolean;
7
+ left?: boolean;
8
+ down?: boolean;
9
+ top?: boolean;
10
+ bottom?: boolean;
11
+ };
12
+ export declare function Chevron({ up, right, down, left, size, ...props }: ChevronProps): ReactElement<ChevronProps>;
13
+ export {};
14
+ //# sourceMappingURL=Chevron.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Chevron.d.ts","sourceRoot":"","sources":["../../../src/components/Chevron/Chevron.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,YAAY,EAAW,MAAM,OAAO,CAAC;AAErE,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAG7B,aAAK,YAAY,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,MAAM,CAAC,GAAG;IAC7D,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC;IAC3C,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,wBAAgB,OAAO,CAAC,EACtB,EAAE,EACF,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC,CAkB3C"}
@@ -1,12 +1,2 @@
1
- import { ComponentProps, ForwardRefExoticComponent } from 'react';
2
-
3
- import { Box } from '../Box';
4
-
5
- type ChevronProps = Omit<ComponentProps<typeof Box>, 'size'> & {
6
- size?: ComponentProps<typeof Box>['width'];
7
- right?: boolean;
8
- left?: boolean;
9
- top?: boolean;
10
- bottom?: boolean;
11
- };
12
- export const Chevron: ForwardRefExoticComponent<ChevronProps>;
1
+ export * from './Chevron';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chevron/index.tsx"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ComponentProps, FC } from 'react';
2
+ import { Box } from '../Box';
3
+ declare type DividerProps = ComponentProps<typeof Box>;
4
+ declare const Divider: FC<DividerProps>;
5
+ export { Divider };
6
+ //# sourceMappingURL=Divider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElD,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAE7B,aAAK,YAAY,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC;AAE/C,QAAA,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAE7B,CAAC;AACF,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -1,6 +1,2 @@
1
- import { ComponentProps, FC } from 'react';
2
- import { Box } from '../Box';
3
- declare type DividerProps = ComponentProps<typeof Box>;
4
- declare const Divider: FC<DividerProps>;
5
- export { Divider };
1
+ export * from './Divider';
6
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElD,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAE7B,aAAK,YAAY,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC;AAE/C,QAAA,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAE7B,CAAC;AACF,OAAO,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/index.tsx"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { ComponentProps, ForwardRefExoticComponent, ReactNode } from 'react';
2
+ import { Box } from '..';
3
+ declare type EmailInputProps = Omit<ComponentProps<typeof Box>, 'type'> & {
4
+ addon?: ReactNode;
5
+ error?: string;
6
+ };
7
+ export declare const EmailInput: ForwardRefExoticComponent<EmailInputProps>;
8
+ export {};
9
+ //# sourceMappingURL=EmailInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmailInput.d.ts","sourceRoot":"","sources":["../../../src/components/EmailInput/EmailInput.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,cAAc,EAEd,yBAAyB,EACzB,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,GAAG,EAAE,MAAM,IAAI,CAAC;AAGzB,aAAK,eAAe,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,MAAM,CAAC,GAAG;IAChE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAgCF,eAAO,MAAM,UAAU,EAAE,yBAAyB,CAAC,eAAe,CAG9D,CAAC"}
@@ -1,9 +1,2 @@
1
- import { ComponentProps, ForwardRefExoticComponent } from 'react';
2
-
3
- import { Box } from '../Box';
4
-
5
- type EmailInputProps = ComponentProps<typeof Box> & {
6
- addon?: ReactNode;
7
- error?: string;
8
- };
9
- export const EmailInput: ForwardRefExoticComponent<EmailInputProps>;
1
+ export * from './EmailInput';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/EmailInput/index.tsx"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { ComponentPropsWithoutRef, FC } from 'react';
2
+ import { Box } from '../Box';
3
+ import { FieldDescription } from './FieldDescription';
4
+ import { FieldError } from './FieldError';
5
+ import { FieldHint } from './FieldHint';
6
+ import { FieldLabel } from './FieldLabel';
7
+ import { FieldRow } from './FieldRow';
8
+ declare type FieldProps = ComponentPropsWithoutRef<typeof Box>;
9
+ export declare const Field: FC<FieldProps> & {
10
+ Label: typeof FieldLabel;
11
+ Description: typeof FieldDescription;
12
+ Row: typeof FieldRow;
13
+ Hint: typeof FieldHint;
14
+ Error: typeof FieldError;
15
+ };
16
+ export {};
17
+ //# sourceMappingURL=Field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/components/Field/Field.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,aAAK,UAAU,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAEvD,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,GAAG;IACnC,KAAK,EAAE,OAAO,UAAU,CAAC;IACzB,WAAW,EAAE,OAAO,gBAAgB,CAAC;IACrC,GAAG,EAAE,OAAO,QAAQ,CAAC;IACrB,IAAI,EAAE,OAAO,SAAS,CAAC;IACvB,KAAK,EAAE,OAAO,UAAU,CAAC;CAG1B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ComponentPropsWithoutRef, FC } from 'react';
2
+ import { Box } from '../Box';
3
+ declare type FieldDescriptionProps = ComponentPropsWithoutRef<typeof Box>;
4
+ export declare const FieldDescription: FC<FieldDescriptionProps>;
5
+ export {};
6
+ //# sourceMappingURL=FieldDescription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FieldDescription.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldDescription.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAE7B,aAAK,qBAAqB,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAElE,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAGpD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ComponentPropsWithoutRef, FC } from 'react';
2
+ import { Box } from '../Box';
3
+ declare type FieldErrorProps = ComponentPropsWithoutRef<typeof Box>;
4
+ export declare const FieldError: FC<FieldErrorProps>;
5
+ export {};
6
+ //# sourceMappingURL=FieldError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FieldError.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldError.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAE7B,aAAK,eAAe,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAE5D,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAE1C,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ComponentPropsWithoutRef, FC } from 'react';
2
+ import { Box } from '../Box';
3
+ declare type FieldHintProps = ComponentPropsWithoutRef<typeof Box>;
4
+ export declare const FieldHint: FC<FieldHintProps>;
5
+ export {};
6
+ //# sourceMappingURL=FieldHint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FieldHint.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldHint.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAE7B,aAAK,cAAc,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAE3D,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAExC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ComponentPropsWithoutRef, FC } from 'react';
2
+ import { Box } from '../Box';
3
+ declare type FieldLabelProps = ComponentPropsWithoutRef<typeof Box>;
4
+ export declare const FieldLabel: FC<FieldLabelProps>;
5
+ export {};
6
+ //# sourceMappingURL=FieldLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FieldLabel.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldLabel.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAG7B,aAAK,eAAe,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAE5D,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAE1C,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ComponentPropsWithoutRef, FC } from 'react';
2
+ import { Box } from '../Box';
3
+ declare type FieldRowProps = ComponentPropsWithoutRef<typeof Box>;
4
+ export declare const FieldRow: FC<FieldRowProps>;
5
+ export {};
6
+ //# sourceMappingURL=FieldRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FieldRow.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldRow.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAE7B,aAAK,aAAa,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAE1D,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAEtC,CAAC"}
@@ -1,18 +1,2 @@
1
- import { ComponentProps } from 'react';
2
-
3
- import { Box } from '../Box';
4
-
5
- type FieldProps = ComponentProps<typeof Box>;
6
- type FieldRowProps = ComponentProps<typeof Box>;
7
- type FieldLabelProps = ComponentProps<typeof Box>;
8
- type FieldDescriptionProps = ComponentProps<typeof Box>;
9
- type FieldHintProps = ComponentProps<typeof Box>;
10
- type FieldErrorProps = ComponentProps<typeof Box>;
11
-
12
- export const Field: ForwardRefExoticComponent<FieldProps> & {
13
- Row: ForwardRefExoticComponent<FieldRowProps>;
14
- Label: ForwardRefExoticComponent<FieldLabelProps>;
15
- Description: ForwardRefExoticComponent<FieldDescriptionProps>;
16
- Hint: ForwardRefExoticComponent<FieldHintProps>;
17
- Error: ForwardRefExoticComponent<FieldErrorProps>;
18
- };
1
+ export * from './Field';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Field/index.tsx"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const Option: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
3
+ //# sourceMappingURL=Option.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/Option.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAM/D,eAAO,MAAM,MAAM,8GAKjB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ComponentProps, ForwardRefExoticComponent } from 'react';
2
+ import { Box } from '../Box';
3
+ declare type PlaceholderProps = ComponentProps<typeof Box>;
4
+ export declare const Placeholder: ForwardRefExoticComponent<PlaceholderProps>;
5
+ export {};
6
+ //# sourceMappingURL=Placeholder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Placeholder.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/Placeholder.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,cAAc,EAEd,yBAAyB,EAC1B,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAE7B,aAAK,gBAAgB,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC;AAEnD,eAAO,MAAM,WAAW,EAAE,yBAAyB,CAAC,gBAAgB,CAGhE,CAAC"}
@@ -1,9 +1,10 @@
1
- import { ComponentProps, ReactElement } from 'react';
2
-
1
+ import { ComponentProps, ReactElement, ElementType } from 'react';
3
2
  import { Box } from '../Box';
4
-
5
- type LabelProps = ComponentProps<typeof Box> & {
6
- disabled?: boolean;
7
- required?: boolean;
3
+ declare type LabelProps = Omit<ComponentProps<typeof Box>, 'is'> & {
4
+ disabled?: boolean;
5
+ required?: boolean;
6
+ is?: (ElementType<any> & string) | undefined;
8
7
  };
9
- export const Label: (props: LabelProps) => ReactElement;
8
+ export declare function Label({ disabled, is, required, ...props }: LabelProps): ReactElement;
9
+ export {};
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Label/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,cAAc,EAGd,YAAY,EACZ,WAAW,EACZ,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAI7B,aAAK,UAAU,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,SAAS,CAAC;CAC9C,CAAC;AAEF,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,EAAE,EACF,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,UAAU,GAAG,YAAY,CAe3B"}
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  declare const _default: import("react").FC<import("react").HTMLAttributes<HTMLDivElement>> & {
3
3
  Icon: import("react").FC<{
4
- name: "user" | "thread" | "clock" | "discussion";
4
+ name: "thread" | "user" | "clock" | "discussion";
5
5
  }>;
6
6
  Label: import("react").FC<{}>;
7
7
  };