@idea-fragments/react-components-zendesk 0.1.5 → 0.1.6

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 (66) hide show
  1. package/README.md +21 -0
  2. package/dist/forms.js +13495 -63144
  3. package/dist/forms.js.map +1 -1
  4. package/dist/styles.js +2946 -2613
  5. package/dist/styles.js.map +1 -1
  6. package/dist/types/components/Modal.d.ts +2 -4
  7. package/dist/types/components/Modal.d.ts.map +1 -1
  8. package/dist/types/components/forms/Button.d.ts +2 -2
  9. package/dist/types/components/forms/Button.d.ts.map +1 -1
  10. package/dist/types/components/forms/Button.stories.d.ts +13 -0
  11. package/dist/types/components/forms/Button.stories.d.ts.map +1 -0
  12. package/dist/types/components/forms/Checkbox.d.ts.map +1 -1
  13. package/dist/types/components/forms/CycleButton.stories.d.ts.map +1 -1
  14. package/dist/types/components/forms/Hint.d.ts +2 -1
  15. package/dist/types/components/forms/Hint.d.ts.map +1 -1
  16. package/dist/types/components/forms/Label.d.ts +2 -1
  17. package/dist/types/components/forms/Label.d.ts.map +1 -1
  18. package/dist/types/components/forms/buttonMixins.d.ts.map +1 -1
  19. package/dist/types/components/forms/selectors/Dropdown/Item.d.ts +2 -4
  20. package/dist/types/components/forms/selectors/Dropdown/Item.d.ts.map +1 -1
  21. package/dist/types/components/forms/selectors/Dropdown.d.ts.map +1 -1
  22. package/dist/types/components/forms/textfields/TextFieldWrapper.d.ts +4 -3
  23. package/dist/types/components/forms/textfields/TextFieldWrapper.d.ts.map +1 -1
  24. package/dist/types/components/forms/validationStates.d.ts +1 -1
  25. package/dist/types/components/layout/Grid.d.ts +4 -3
  26. package/dist/types/components/layout/Grid.d.ts.map +1 -1
  27. package/dist/types/components/layout/Tabs.d.ts +3 -2
  28. package/dist/types/components/layout/Tabs.d.ts.map +1 -1
  29. package/dist/types/components/loaders/AsyncLoadable.d.ts.map +1 -1
  30. package/dist/types/components/loaders/Loadable.d.ts.map +1 -1
  31. package/dist/types/components/loaders/Loader.d.ts +1 -3
  32. package/dist/types/components/loaders/Loader.d.ts.map +1 -1
  33. package/dist/types/components/notification/Notification.d.ts +2 -5
  34. package/dist/types/components/notification/Notification.d.ts.map +1 -1
  35. package/dist/types/components/tables/MobileTable/Row.d.ts.map +1 -1
  36. package/dist/types/components/tables/SimpleTable.d.ts.map +1 -1
  37. package/dist/types/components/tables/index.d.ts +10 -7
  38. package/dist/types/components/tables/index.d.ts.map +1 -1
  39. package/dist/types/components/tags/Tag.d.ts +9 -2
  40. package/dist/types/components/tags/Tag.d.ts.map +1 -1
  41. package/dist/types/components/tooltips/IconTooltip.d.ts +3 -3
  42. package/dist/types/components/tooltips/IconTooltip.d.ts.map +1 -1
  43. package/dist/types/components/tooltips/IconTooltip.stories.d.ts +2 -2
  44. package/dist/types/components/tooltips/Tooltip.d.ts +42 -10
  45. package/dist/types/components/tooltips/Tooltip.d.ts.map +1 -1
  46. package/dist/types/hooks/useLoader.d.ts.map +1 -1
  47. package/dist/types/index.d.ts.map +1 -1
  48. package/dist/types/stories/Button.d.ts +29 -0
  49. package/dist/types/stories/Button.d.ts.map +1 -0
  50. package/dist/types/stories/Button.stories.d.ts +9 -0
  51. package/dist/types/stories/Button.stories.d.ts.map +1 -0
  52. package/dist/types/stories/Header.d.ts +10 -0
  53. package/dist/types/stories/Header.d.ts.map +1 -0
  54. package/dist/types/stories/Header.stories.d.ts +7 -0
  55. package/dist/types/stories/Header.stories.d.ts.map +1 -0
  56. package/dist/types/stories/Page.d.ts +10 -0
  57. package/dist/types/stories/Page.d.ts.map +1 -0
  58. package/dist/types/stories/Page.stories.d.ts +7 -0
  59. package/dist/types/stories/Page.stories.d.ts.map +1 -0
  60. package/dist/types/styles/UserFeedbackProps.d.ts +7 -0
  61. package/dist/types/styles/UserFeedbackProps.d.ts.map +1 -0
  62. package/dist/types/styles/colors.d.ts +2 -0
  63. package/dist/types/styles/colors.d.ts.map +1 -1
  64. package/dist/types/styles/theme/ThemeProvider.d.ts.map +1 -1
  65. package/dist/types/utils/validateFields.d.ts +1 -1
  66. package/package.json +60 -55
@@ -1,6 +1,7 @@
1
1
  import { Props as ButtonProps } from "components/forms/Button";
2
2
  import { StyledComponentProps } from "components/StyledComponentProps.type";
3
3
  import { ReactElement } from "react";
4
+ import { UserFeedbackProps } from "styles/UserFeedbackProps";
4
5
  declare type ButtonType = ReactElement & {
5
6
  props: {
6
7
  disableable: boolean;
@@ -11,15 +12,12 @@ export declare type ModalContent = {
11
12
  blocking?: boolean;
12
13
  body: any;
13
14
  buttons?: ButtonType[];
14
- isDanger?: boolean;
15
15
  isNotDismissible?: boolean;
16
- isSuccess?: boolean;
17
- isWarning?: boolean;
18
16
  title?: string;
19
17
  withCancelButton?: boolean;
20
18
  withNoActions?: boolean;
21
19
  onClose?: () => void;
22
- };
20
+ } & UserFeedbackProps;
23
21
  declare type Props = {
24
22
  isVisible: boolean;
25
23
  closeModal: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../src/components/Modal.tsx"],"names":[],"mappings":"AASA,OAAO,EAEL,KAAK,IAAI,WAAW,EACrB,MAAyD,yBAAyB,CAAA;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAsB,sCAAsC,CAAA;AAC3F,OAAc,EAAc,YAAY,EAAY,MAAM,OAAO,CAAA;AAIjE,aAAK,UAAU,GACb,YAAY,GACV;IAAE,KAAK,EAAE;QAAE,WAAW,EAAE,OAAO,CAAA;KAAE,GAAG,WAAW,CAAA;CAAE,CAAA;AAErD,oBAAY,YAAY,GAAG;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,GAAG,CAAC;IACV,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,OAAO,CAA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AAC;CACtB,GAAG,iBAAiB,CAAA;AA8CrB,aAAK,KAAK,GAAG;IACX,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,CAAC;CAC/C,GAAG,oBAAoB,CAAA;AAExB,eAAO,IAAI,KAAK,wEAMO,KAAK,uBA2F3B,CAAA"}
@@ -24,7 +24,7 @@ declare type ButtonBaseProps = PropsWithChildren<{
24
24
  pill?: boolean;
25
25
  primary?: boolean;
26
26
  size?: ButtonSize;
27
- onClick: Function;
27
+ onClick: () => void;
28
28
  }>;
29
29
  declare type CommonProps = ButtonBaseProps & {
30
30
  autoLoadable?: boolean;
@@ -33,7 +33,7 @@ declare type CommonProps = ButtonBaseProps & {
33
33
  } & ColorProps & ContainerProps;
34
34
  declare type ControlledLoadable = {
35
35
  loading?: boolean;
36
- onClick: Function;
36
+ onClick: () => void;
37
37
  };
38
38
  export declare type Props = (CommonProps & ControlledLoadable) | (CommonProps & AutoLoadable);
39
39
  export declare const Button: ComponentType<Props>;
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Button.tsx"],"names":[],"mappings":"AAWA,OAAc,EACZ,aAAa,EAIb,iBAAiB,EACjB,GAAG,EAGJ,MAA0C,OAAO,CAAA;AAElD,OAAO,EAAE,SAAS,EAAE,MAAuB,mBAAmB,CAAA;AAK9D,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAqB,sBAAsB,CAAA;AAiDjE,eAAO,MAAM,YAAY;;;CAA8C,CAAA;AACvE,oBAAY,UAAU,GAAG,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,CAAA;AAEvE,aAAK,YAAY,GAAG;IAClB,YAAY,EAAE,IAAI,CAAC;IACnB,OAAO,EAA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kB,CAAC,GAClD,CAAC,WAAW,GAAG,YAAY,CAAC,CAAA;AA6DhC,eAAO,MAAM,MAAM,EAAE,aAAa,CAAC,KAAK,CAoCrC,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { Props } from "components/forms/Button";
2
+ import React from "react";
3
+ declare const _default: {
4
+ title: string;
5
+ component: React.ComponentType<Props>;
6
+ argTypes: {
7
+ color: {};
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const Default: (props: Props) => JSX.Element;
12
+ export declare const Neutral: (props: Props) => JSX.Element;
13
+ //# sourceMappingURL=Button.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,EAAE,MAAW,yBAAyB,CAAA;AAC5D,OAAO,KAAK,MAAgB,OAAO,CAAA;;;;;;;;AAGnC,wBAQC;AAMD,eAAO,MAAM,OAAO,UAJE,KAAK,gBAIU,CAAA;AAcrC,eAAO,MAAM,OAAO,UAlBE,KAAK,gBAkBU,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Checkbox.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,cAAc,EAAE,MAA0B,kCAAkC,CAAA;AAUrF,aAAK,KAAK,GAAG,cAAc,GAAG;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;CACrC,CAAA;AAED,eAAO,IAAI,QAAQ,8HAYO,KAAK,gBAwC9B,CAAA"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Checkbox.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,cAAc,EAAE,MAA+B,kCAAkC,CAAA;AAU1F,aAAK,KAAK,GAAG,cAAc,GAAG;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;CACrC,CAAA;AAED,eAAO,IAAI,QAAQ,8HAYO,KAAK,gBAuC9B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"CycleButton.stories.d.ts","sourceRoot":"","sources":["../../../src/components/forms/CycleButton.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;AAGA,wBAIC;AAaD,eAAO,MAAM,OAAO,mBAAiB,CAAA"}
1
+ {"version":3,"file":"CycleButton.stories.d.ts","sourceRoot":"","sources":["../../../src/components/forms/CycleButton.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;AAGA,wBAIC;AAYD,eAAO,MAAM,OAAO,mBAAiB,CAAA"}
@@ -1,2 +1,3 @@
1
- export declare const Hint: import("styled-components").StyledComponent<any, any, object, string | number | symbol>;
1
+ /// <reference types="react" />
2
+ export declare const Hint: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
2
3
  //# sourceMappingURL=Hint.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Hint.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Hint.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,yFAMhB,CAAA"}
1
+ {"version":3,"file":"Hint.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Hint.tsx"],"names":[],"mappings":";AAKA,eAAO,MAAM,IAAI,wMAMhB,CAAA"}
@@ -1,2 +1,3 @@
1
- export declare const Label: import("styled-components").StyledComponent<any, any, object, string | number | symbol>;
1
+ /// <reference types="react" />
2
+ export declare const Label: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-forms").ILabelProps & import("react").RefAttributes<HTMLLabelElement>>, any, {}, never>;
2
3
  //# sourceMappingURL=Label.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Label.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK,yFAIjB,CAAA"}
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Label.tsx"],"names":[],"mappings":";AAIA,eAAO,MAAM,KAAK,4MAIjB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"buttonMixins.d.ts","sourceRoot":"","sources":["../../../src/components/forms/buttonMixins.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;QAE5B,CAAA;AAED,eAAO,MAAM,cAAc,wDAK1B,CAAA;AAED,eAAO,MAAM,kBAAkB;WACtB,MAAM;;;;QAQd,CAAA;AAED,eAAO,MAAM,sBAAsB;WAC1B,MAAM;;;;QAOd,CAAA;AAED,eAAO,MAAM,mBAAmB;WACvB,MAAM;;;;QAkBd,CAAA"}
1
+ {"version":3,"file":"buttonMixins.d.ts","sourceRoot":"","sources":["../../../src/components/forms/buttonMixins.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;QAE5B,CAAA;AAED,eAAO,MAAM,cAAc,wDAK1B,CAAA;AAED,eAAO,MAAM,kBAAkB;WACtB,MAAM;;;;QAQd,CAAA;AAED,eAAO,MAAM,sBAAsB;WAC1B,MAAM;;;;QAOd,CAAA;AAED,eAAO,MAAM,mBAAmB;WACvB,MAAM;;;;QAsBd,CAAA"}
@@ -1,10 +1,8 @@
1
- import { IItemProps } from "@zendeskgarden/react-dropdowns/dist/typings/Menu/Items/Item";
1
+ import { IItemProps } from "@zendeskgarden/react-dropdowns/dist/typings/types";
2
2
  import { SelectorOption } from "components/forms/selectors/types";
3
3
  import { ComponentType } from "react";
4
4
  import { Theme } from "styles/theme/Theme.type";
5
- export declare const Item: import("styled-components").StyledComponent<import("react").FunctionComponent<IItemProps>, any, Partial<Pick<IItemProps, "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "color" | "default" | "type" | "name" | "className" | "height" | "id" | "lang" | "max" | "media" | "method" | "min" | "target" | "width" | "role" | "tabIndex" | "crossOrigin" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "css" | "list" | "classID" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "download" | "hrefLang" | "rel" | "as" | "integrity" | "sizes" | "charSet" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "dateTime" | "open" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "async" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "content" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "start" | "selected" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "wrap" | "kind" | "srcLang" | "poster" | "component" | "active" | "focused" | "hovered"> & {
6
- ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
7
- } & {
5
+ export declare const Item: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<IItemProps & import("react").RefAttributes<HTMLLIElement>>, any, Partial<IItemProps & import("react").RefAttributes<HTMLLIElement> & {
8
6
  danger?: boolean | undefined;
9
7
  theme: Theme;
10
8
  }> & {
@@ -1 +1 @@
1
- {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/selectors/Dropdown/Item.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAe,6DAA6D,CAAA;AAEjG,OAAO,EAAE,cAAc,EAAE,MAAW,kCAAkC,CAAA;AACtE,OAAO,EAAE,aAAa,EAAE,MAAY,OAAO,CAAA;AAE3C,OAAO,EAAE,KAAK,EAAE,MAAoB,yBAAyB,CAAA;AAE7D,eAAO,MAAM,IAAI;;;;WAER,KAAK;;;;;;;;mBAQb,CAAA;AAED,eAAO,MAAM,WAAW,MAAO,cAAc,KAAG,cAAc,UAAU,CAAC,GAAG,WAO3E,CAAA"}
1
+ {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/selectors/Dropdown/Item.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAe,mDAAmD,CAAA;AAEvF,OAAO,EAAE,cAAc,EAAE,MAAW,kCAAkC,CAAA;AACtE,OAAO,EAAE,aAAa,EAAE,MAAY,OAAO,CAAA;AAE3C,OAAO,EAAE,KAAK,EAAE,MAAoB,yBAAyB,CAAA;AAE7D,eAAO,MAAM,IAAI;;WAER,KAAK;;;;;;;;mBAQb,CAAA;AAED,eAAO,MAAM,WAAW,MAAO,cAAc,KAAG,cAAc,UAAU,CAAC,GAAG,WAO3E,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/selectors/Dropdown.tsx"],"names":[],"mappings":"AAwBA,OAAO,EACL,kBAAkB,EAGlB,aAAa,EAEd,MAAuD,kCAAkC,CAA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,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CA0M/C,CAAA;AA6CD,eAAO,MAAM,YAAY,0BAAwC,CAAA;AACjE,eAAO,MAAM,MAAM,0BAAwC,CAAA;AAC3D,eAAO,MAAM,WAAW,uFAIvB,CAAA"}
@@ -1,13 +1,14 @@
1
1
  import { TextFieldProps } from "components/forms/formField.types";
2
2
  import { TextAreaProps } from "components/forms/textfields/TextArea";
3
- import { ComponentType } from "react";
3
+ import { ComponentType, PropsWithChildren } from "react";
4
4
  import { ChangeEvent, FC } from "react";
5
5
  declare type FieldProps = TextFieldProps | (Omit<TextAreaProps, "onChange"> & {
6
6
  onChange: (e: ChangeEvent<HTMLTextAreaElement>) => void;
7
7
  });
8
- declare type Props = {
8
+ declare type Props = PropsWithChildren<{
9
9
  WrappedComponent: ComponentType<FieldProps & any>;
10
- } & FieldProps;
10
+ compact?: boolean;
11
+ }> & FieldProps;
11
12
  export declare let TextFieldWrapper: FC<Props>;
12
13
  export {};
13
14
  //# sourceMappingURL=TextFieldWrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextFieldWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/textfields/TextFieldWrapper.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAE,MAAc,kCAAkC,CAAA;AACzE,OAAO,EAAE,aAAa,EAAE,MAAe,sCAAsC,CAAA;AAI7E,OAAO,EAAE,aAAa,EAAE,MAAU,OAAO,CAAA;AACzC,OAAc,EAAE,WAAW,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAK9C,aAAK,UAAU,GAAG,cAAc,GAAG,CACjC,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,GAC7B;IAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAA;CAAE,CAC5D,CAAA;AAEH,aAAK,KAAK,GAAG;IACX,gBAAgB,EAAE,aAAa,CAAC,UAAU,GAAG,GAAG,CAAC,CAAA;CAClD,GAAG,UAAU,CAAA;AAMd,eAAO,IAAI,gBAAgB,EAAE,EAAE,CAAC,KAAK,CAsDpC,CAAA"}
1
+ {"version":3,"file":"TextFieldWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/textfields/TextFieldWrapper.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAE,MAAwB,kCAAkC,CAAA;AACnF,OAAO,EAAE,aAAa,EAAE,MAAyB,sCAAsC,CAAA;AAIvF,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AACxD,OAAc,EAAE,WAAW,EAAE,EAAE,EAAE,MAAgB,OAAO,CAAA;AAKxD,aAAK,UAAU,GAAG,cAAc,GAAG,CACjC,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,GAC7B;IAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAA;CAAE,CAC5D,CAAA;AAEH,aAAK,KAAK,GAAG,iBAAiB,CAAC;IAC7B,gBAAgB,EAAE,aAAa,CAAC,UAAU,GAAG,GAAG,CAAC,CAAA;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC,GAAG,UAAU,CAAA;AAMf,eAAO,IAAI,gBAAgB,EAAE,EAAE,CAAC,KAAK,CAoDpC,CAAA"}
@@ -2,6 +2,6 @@ export declare const VALIDATION_STATES: {
2
2
  readonly ERROR: "error";
3
3
  readonly WARNING: "warning";
4
4
  readonly SUCCESS: "success";
5
- readonly NONE: null;
5
+ readonly NONE: undefined;
6
6
  };
7
7
  //# sourceMappingURL=validationStates.d.ts.map
@@ -1,4 +1,5 @@
1
- export declare const Grid: import("styled-components").StyledComponent<any, any, object, string | number | symbol>;
2
- export declare const Row: any;
3
- export declare const Col: import("styled-components").StyledComponent<any, any, object, string | number | symbol>;
1
+ /// <reference types="react" />
2
+ export declare const Grid: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-grid").IGridProps & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
3
+ export declare const Row: import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-grid").IRowProps & import("react").RefAttributes<HTMLDivElement>>;
4
+ export declare const Col: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-grid").IColProps & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
4
5
  //# sourceMappingURL=Grid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Grid.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,IAAI,yFAIhB,CAAA;AAED,eAAO,MAAM,GAAG,KAAO,CAAA;AAEvB,eAAO,MAAM,GAAG,yFAKf,CAAA"}
1
+ {"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Grid.tsx"],"names":[],"mappings":";AASA,eAAO,MAAM,IAAI,wMAIhB,CAAA;AAED,eAAO,MAAM,GAAG,0IAAO,CAAA;AAEvB,eAAO,MAAM,GAAG,uMAKf,CAAA"}
@@ -1,3 +1,4 @@
1
- export declare const Tabs: import("styled-components").StyledComponent<any, any, object, string | number | symbol>;
2
- export declare const TabPanel: any;
1
+ /// <reference types="react" />
2
+ export declare const Tabs: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-tabs").ITabsProps & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
3
+ export declare const TabPanel: import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-tabs").ITabPanelProps & import("react").RefAttributes<HTMLDivElement>>;
3
4
  //# sourceMappingURL=Tabs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Tabs.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI,yFA8BhB,CAAA;AAED,eAAO,MAAM,QAAQ,KAAY,CAAA"}
1
+ {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Tabs.tsx"],"names":[],"mappings":";AAMA,eAAO,MAAM,IAAI,wMA8BhB,CAAA;AAED,eAAO,MAAM,QAAQ,+IAAY,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"AsyncLoadable.d.ts","sourceRoot":"","sources":["../../../src/components/loaders/AsyncLoadable.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAY,sCAAsC,CAAA;AACjF,OAAc,EAAE,EAAE,EAAwB,MAAM,OAAO,CAAA;AAKvD,OAAO,EAAE,WAAW,EAAE,MAAqB,sBAAsB,CAAA;AAEjE,aAAK,aAAa,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAA;AAC9D,oBAAY,UAAU,GAAG;IAAE,WAAW,EAAE,aAAa,CAAA;CAAE,CAAA;AAEvD,aAAK,KAAK,GAAG;IACX,QAAQ,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,GAAG,CAAC,OAAO,CAAA;CACzC,GAAG,oBAAoB,CAAA;AAExB,eAAO,IAAI,aAAa,EAAE,EAAE,CAAC,KAAK,CA6BjC,CAAA"}
1
+ {"version":3,"file":"AsyncLoadable.d.ts","sourceRoot":"","sources":["../../../src/components/loaders/AsyncLoadable.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAiB,sCAAsC,CAAA;AACtF,OAAc,EAAE,EAAE,EAAwB,MAAM,OAAO,CAAA;AAKvD,OAAO,EAAE,WAAW,EAAE,MAA0B,sBAAsB,CAAA;AAEtE,aAAK,aAAa,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAA;AAC9D,oBAAY,UAAU,GAAG;IAAE,WAAW,EAAE,aAAa,CAAA;CAAE,CAAA;AAEvD,aAAK,KAAK,GAAG;IACX,QAAQ,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,GAAG,CAAC,OAAO,CAAA;CACzC,GAAG,oBAAoB,CAAA;AAExB,eAAO,IAAI,aAAa,EAAE,EAAE,CAAC,KAAK,CA0BjC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Loadable.d.ts","sourceRoot":"","sources":["../../../src/components/loaders/Loadable.tsx"],"names":[],"mappings":"AAIA,OAAc,EACZ,EAAE,EAEF,iBAAiB,EAIlB,MAAM,OAAO,CAAA;AA8Bd,aAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,EAAE,OAAO,CAAC;CACtB,CAAA;AAED,eAAO,IAAI,QAAQ,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAgD/C,CAAA"}
1
+ {"version":3,"file":"Loadable.d.ts","sourceRoot":"","sources":["../../../src/components/loaders/Loadable.tsx"],"names":[],"mappings":"AAGA,OAAc,EACZ,EAAE,EACF,iBAAiB,EAIlB,MAAoC,OAAO,CAAA;AA8B5C,aAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,EAAE,OAAO,CAAC;CACtB,CAAA;AAED,eAAO,IAAI,QAAQ,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CA4C/C,CAAA"}
@@ -4,12 +4,10 @@ declare type Props = {
4
4
  delay: number;
5
5
  };
6
6
  export declare const Loader: {
7
- ({ forceVisibility, delay }: Props): JSX.Element | null;
7
+ ({ forceVisibility }: Props): JSX.Element | null;
8
8
  defaultProps: {
9
9
  forceVisibility: boolean;
10
- delay: number;
11
10
  };
12
- COMPONENT_NAME: string;
13
11
  };
14
12
  export {};
15
13
  //# sourceMappingURL=Loader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/components/loaders/Loader.tsx"],"names":[],"mappings":";AAWA,aAAK,KAAK,GAAG;IACT,eAAe,EAAE,OAAO,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAWD,eAAO,MAAM,MAAM;iCAAgC,KAAK;;;;;;CAoBvD,CAAA"}
1
+ {"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/components/loaders/Loader.tsx"],"names":[],"mappings":";AAWA,aAAK,KAAK,GAAG;IACX,eAAe,EAAE,OAAO,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;CACf,CAAA;AAWD,eAAO,MAAM,MAAM;0BAAyB,KAAK;;;;CAehD,CAAA"}
@@ -1,14 +1,11 @@
1
1
  import { FC, ReactNode } from "react";
2
+ import { UserFeedbackProps } from "styles/UserFeedbackProps";
2
3
  declare type Props = {
3
4
  body: ReactNode;
4
- danger?: boolean;
5
- info?: boolean;
6
5
  notDismissible?: boolean;
7
- success?: boolean;
8
6
  title?: string;
9
- warning?: boolean;
10
7
  onClose?: () => void;
11
- };
8
+ } & UserFeedbackProps;
12
9
  export declare const Notification: FC<Props>;
13
10
  export {};
14
11
  //# sourceMappingURL=Notification.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../src/components/notification/Notification.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIrC,aAAK,KAAK,GAAG;IACX,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,KAAK,CA6BlC,CAAA"}
1
+ {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../src/components/notification/Notification.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAU,OAAO,CAAA;AAEzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAG5D,aAAK,KAAK,GAAG;IACX,IAAI,EAAE,SAAS,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,GAAG,iBAAiB,CAAA;AAErB,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,KAAK,CA6BlC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../../../src/components/tables/MobileTable/Row.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAErE,OAAc,EAAE,EAAE,EAAE,MAA6B,OAAO,CAAA;AAMxD,aAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IACnC,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACnD,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;CAClC,CAAA;AAED,eAAO,MAAM,GAAG,EAAE,EAAE,CAAC,KAAK,CAmGzB,CAAA"}
1
+ {"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../../../src/components/tables/MobileTable/Row.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAErE,OAAc,EAAE,EAAE,EAAE,MAA6B,OAAO,CAAA;AAMxD,aAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IACnC,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACnD,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;CAClC,CAAA;AAED,eAAO,MAAM,GAAG,EAAE,EAAE,CAAC,KAAK,CAmGzB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleTable.d.ts","sourceRoot":"","sources":["../../../src/components/tables/SimpleTable.tsx"],"names":[],"mappings":";AAmBA,OAAO,EAAE,UAAU,EAAE,MAAW,yBAAyB,CAAA;AAMzD,aAAK,KAAK,GAAG,UAAU,GAAG;IACxB,aAAa,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C,CAAA;AAED,eAAO,MAAM,WAAW,gIAWO,KAAK,gBAyDnC,CAAA"}
1
+ {"version":3,"file":"SimpleTable.d.ts","sourceRoot":"","sources":["../../../src/components/tables/SimpleTable.tsx"],"names":[],"mappings":";AAkBA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAMpD,aAAK,KAAK,GAAG,UAAU,GAAG;IACxB,aAAa,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C,CAAA;AAED,eAAO,MAAM,WAAW,gIAWO,KAAK,gBAyDnC,CAAA"}
@@ -1,9 +1,12 @@
1
- declare const Table: import("styled-components").StyledComponent<any, any, object, string | number | symbol>;
2
- declare const Head: import("styled-components").StyledComponent<any, any, object, string | number | symbol>;
3
- declare const HeaderRow: import("styled-components").StyledComponent<any, any, object, string | number | symbol>;
4
- declare const HeaderCell: import("styled-components").StyledComponent<any, any, object, string | number | symbol>;
5
- declare const Body: import("styled-components").StyledComponent<any, any, object, string | number | symbol>;
6
- declare const Cell: import("styled-components").StyledComponent<any, any, object, string | number | symbol>;
7
- declare const Row: import("styled-components").StyledComponent<any, any, object, string | number | symbol>;
1
+ /// <reference types="react" />
2
+ declare const Table: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-tables").ITableProps & import("react").RefAttributes<HTMLTableElement>>, any, {}, never>;
3
+ declare const Head: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLTableSectionElement> & import("react").RefAttributes<HTMLTableSectionElement>>, any, {}, never>;
4
+ declare const HeaderRow: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLTableRowElement> & import("react").RefAttributes<HTMLTableRowElement>>, any, {}, never>;
5
+ declare const HeaderCell: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-tables").IHeaderCellProps & import("react").RefAttributes<HTMLTableCellElement>>, any, {}, never>;
6
+ declare const Body: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLTableSectionElement> & import("react").RefAttributes<HTMLTableSectionElement>>, any, {}, never>;
7
+ declare const Cell: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-tables").ICellProps & import("react").RefAttributes<HTMLTableCellElement>>, any, {}, never>;
8
+ declare const Row: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-tables").IRowProps & import("react").RefAttributes<HTMLTableRowElement>>, any, {
9
+ clickable?: boolean | undefined;
10
+ }, never>;
8
11
  export { Table, Head, HeaderRow, HeaderCell, Body, Row, Cell, };
9
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tables/index.tsx"],"names":[],"mappings":"AAcA,QAAA,MAAM,KAAK,yFAEV,CAAA;AAGD,QAAA,MAAM,IAAI,yFAIT,CAAA;AAED,QAAA,MAAM,SAAS,yFAKd,CAAA;AAED,QAAA,MAAM,UAAU,yFAAwB,CAAA;AAExC,QAAA,MAAM,IAAI,yFAOT,CAAA;AAED,QAAA,MAAM,IAAI,yFAAkB,CAAA;AAgC5B,QAAA,MAAM,GAAG,yFAUR,CAAA;AAWD,OAAO,EACL,KAAK,EACL,IAAI,EACJ,SAAS,EACT,UAAU,EACV,IAAI,EACJ,GAAG,EACH,IAAI,GACL,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tables/index.tsx"],"names":[],"mappings":";AAcA,QAAA,MAAM,KAAK,6MAEV,CAAA;AAED,QAAA,MAAM,IAAI,0NAIT,CAAA;AAED,QAAA,MAAM,SAAS,kNAKd,CAAA;AAED,QAAA,MAAM,UAAU,sNAAwB,CAAA;AAExC,QAAA,MAAM,IAAI,0NAOT,CAAA;AAED,QAAA,MAAM,IAAI,gNAAkB,CAAA;AAgC5B,QAAA,MAAM,GAAG;;SAUR,CAAA;AAWD,OAAO,EACL,KAAK,EACL,IAAI,EACJ,SAAS,EACT,UAAU,EACV,IAAI,EACJ,GAAG,EACH,IAAI,GACL,CAAA"}
@@ -1,8 +1,15 @@
1
- export declare const Close: import("styled-components").StyledComponent<any, any, object, string | number | symbol>;
1
+ /// <reference types="react" />
2
+ export declare const Close: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
2
3
  declare type Props = {
3
4
  size?: "small" | "large";
4
5
  children: any | typeof Close;
5
6
  };
6
- export declare const Tag: import("styled-components").StyledComponent<any, any, object & Props, string | number | symbol>;
7
+ export declare const Tag: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-tags").ITagProps & import("react").RefAttributes<HTMLDivElement>> & {
8
+ Avatar: {
9
+ (props: import("react").HTMLAttributes<HTMLElement>): JSX.Element;
10
+ displayName: string;
11
+ };
12
+ Close: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
13
+ }, any, Props, never>;
7
14
  export {};
8
15
  //# sourceMappingURL=Tag.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/components/tags/Tag.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK,yFAEjB,CAAA;AAED,aAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACzB,QAAQ,EAAE,GAAG,GAAG,OAAO,KAAK,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,GAAG,iGASf,CAAA"}
1
+ {"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/components/tags/Tag.tsx"],"names":[],"mappings":";AAIA,eAAO,MAAM,KAAK,wMAEjB,CAAA;AAED,aAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACzB,QAAQ,EAAE,GAAG,GAAG,OAAO,KAAK,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,GAAG;;;;;;qBASf,CAAA"}
@@ -1,10 +1,10 @@
1
1
  import { IconProps } from "components/Icon";
2
2
  import { TooltipProps } from "components/tooltips/Tooltip";
3
- import { FC } from "react";
4
- declare type Props = Omit<TooltipProps, "trigger"> & {
3
+ import { FC, PropsWithChildren } from "react";
4
+ declare type Props = Omit<TooltipProps, "content"> & {
5
5
  icon: string;
6
6
  iconProps?: IconProps;
7
7
  };
8
- export declare let IconTooltip: FC<Props>;
8
+ export declare let IconTooltip: FC<PropsWithChildren<Props>>;
9
9
  export {};
10
10
  //# sourceMappingURL=IconTooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/tooltips/IconTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,EAAW,YAAY,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG1B,aAAK,KAAK,GACR,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,GAC3B;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,SAAS,CAAA;CAAE,CAAA;AAE3C,eAAO,IAAI,WAAW,EAAE,EAAE,CAAC,KAAK,CAc/B,CAAA"}
1
+ {"version":3,"file":"IconTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/tooltips/IconTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAY,iBAAiB,CAAA;AAEvD,OAAO,EAAW,YAAY,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAG7C,aAAK,KAAK,GACR,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,GAC3B;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,SAAS,CAAA;CAAE,CAAA;AAE3C,eAAO,IAAI,WAAW,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAYlD,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  declare const _default: {
3
3
  title: string;
4
- component: React.FC<Omit<import("./Tooltip").TooltipProps, "trigger"> & {
4
+ component: React.FC<React.PropsWithChildren<Omit<import("./Tooltip").TooltipProps, "content"> & {
5
5
  icon: string;
6
6
  iconProps?: {
7
7
  color?: string | undefined;
@@ -10,7 +10,7 @@ declare const _default: {
10
10
  title?: string | undefined;
11
11
  onClick?: (() => void) | undefined;
12
12
  } | undefined;
13
- }>;
13
+ }>>;
14
14
  argTypes: {};
15
15
  };
16
16
  export default _default;
@@ -1,14 +1,46 @@
1
- import { ReactNode } from "react";
2
- export declare type TooltipProps = {
1
+ import { PropsWithChildren, ReactNode } from "react";
2
+ declare type Placement = "start" | "end" | "auto" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "end-top" | "end-bottom" | "start-top" | "start-bottom";
3
+ export declare type TooltipProps = PropsWithChildren<{
3
4
  arrow?: boolean;
4
- children: ReactNode;
5
5
  maxWidth?: string;
6
- placement?: "start";
7
- trigger: ReactNode;
6
+ placement?: Placement;
7
+ content: ReactNode;
8
8
  type?: "light" | null;
9
- };
10
- export declare let Tooltip: import("styled-components").StyledComponent<any, any, object & {
11
- delayMilliseconds: number;
12
- zIndex: number;
13
- } & TooltipProps, string | number | symbol>;
9
+ }>;
10
+ export declare const Tooltip: import("styled-components").StyledComponent<{
11
+ ({ id, delayMS, isInitialVisible, content, refKey, placement, eventsEnabled, popperModifiers, children, hasArrow, size, type, appendToNode, zIndex, isVisible: externalIsVisible, ...otherProps }: import("@zendeskgarden/react-tooltips").ITooltipProps): JSX.Element;
12
+ displayName: string;
13
+ propTypes: {
14
+ appendToNode: import("prop-types").Requireable<any>;
15
+ hasArrow: import("prop-types").Requireable<boolean>;
16
+ delayMS: import("prop-types").Requireable<number>;
17
+ eventsEnabled: import("prop-types").Requireable<boolean>;
18
+ id: import("prop-types").Requireable<string>;
19
+ content: import("prop-types").Validator<string | number | boolean | import("prop-types").ReactElementLike | import("prop-types").ReactNodeArray>;
20
+ placement: import("prop-types").Requireable<"end" | "auto" | "start" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "end-top" | "end-bottom" | "start-top" | "start-bottom">;
21
+ popperModifiers: import("prop-types").Requireable<any>;
22
+ size: import("prop-types").Requireable<"small" | "large" | "medium" | "extra-large">;
23
+ type: import("prop-types").Requireable<"light" | "dark">;
24
+ zIndex: import("prop-types").Requireable<string | number>;
25
+ isInitialVisible: import("prop-types").Requireable<boolean>;
26
+ refKey: import("prop-types").Requireable<string>;
27
+ };
28
+ defaultProps: {
29
+ hasArrow: boolean;
30
+ eventsEnabled: boolean;
31
+ type: string;
32
+ placement: string;
33
+ delayMS: number;
34
+ refKey: string;
35
+ };
36
+ }, any, {
37
+ arrow?: boolean | undefined;
38
+ maxWidth?: string | undefined;
39
+ placement?: Placement | undefined;
40
+ content: ReactNode;
41
+ type?: "light" | null | undefined;
42
+ } & {
43
+ children?: ReactNode;
44
+ }, never>;
45
+ export {};
14
46
  //# sourceMappingURL=Tooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/tooltips/Tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAW,OAAO,CAAA;AAOtC,oBAAY,YAAY,GAAG;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,SAAS,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;CACtB,CAAA;AAED,eAAO,IAAI,OAAO;;;2CASjB,CAAA"}
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/tooltips/Tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOpD,aAAK,SAAS,GACZ,OAAO,GACL,KAAK,GACL,MAAM,GACN,KAAK,GACL,QAAQ,GACR,WAAW,GACX,SAAS,GACT,cAAc,GACd,YAAY,GACZ,SAAS,GACT,YAAY,GACZ,WAAW,GACX,cAAc,CAAA;AAElB,oBAAY,YAAY,GAAG,iBAAiB,CAAC;IAC3C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,EAAE,SAAS,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;CACtB,CAAC,CAAA;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAJT,SAAS;;;;SAenB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useLoader.d.ts","sourceRoot":"","sources":["../../src/hooks/useLoader.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAU,OAAO,CAAA;AAEzC,OAAO,EAAE,WAAW,EAAE,MAAY,sBAAsB,CAAA;AASxD,aAAK,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;AAErE,aAAK,MAAM,CAAC,CAAC,IAAI;IACb,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IAC5B,MAAM,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;CAC9B,CAAA;AAED,eAAO,MAAM,SAAS,oBAiDrB,CAAA"}
1
+ {"version":3,"file":"useLoader.d.ts","sourceRoot":"","sources":["../../src/hooks/useLoader.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAe,OAAO,CAAA;AAE9C,OAAO,EAAE,WAAW,EAAE,MAAiB,sBAAsB,CAAA;AAS7D,aAAK,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;AAErE,aAAK,MAAM,CAAC,CAAC,IAAI;IACf,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IAC5B,MAAM,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;CAC5B,CAAA;AAED,eAAO,MAAM,SAAS,oBAkDrB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AAIA,eAAO,MAAM,aAAa,mBAIzB,CAAA;AAED,QAAA,MAAM,gBAAgB,mBAErB,CAAA;AACD,eAAe,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,aAAa,mBAIzB,CAAA;AAED,QAAA,MAAM,gBAAgB,mBAErB,CAAA;AACD,eAAe,gBAAgB,CAAA"}
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ import './button.css';
3
+ export interface ButtonProps {
4
+ /**
5
+ * Is this the principal call to action on the page?
6
+ */
7
+ primary?: boolean;
8
+ /**
9
+ * What background color to use
10
+ */
11
+ backgroundColor?: string;
12
+ /**
13
+ * How large should the button be?
14
+ */
15
+ size?: 'small' | 'medium' | 'large';
16
+ /**
17
+ * Button contents
18
+ */
19
+ label: string;
20
+ /**
21
+ * Optional click handler
22
+ */
23
+ onClick?: () => void;
24
+ }
25
+ /**
26
+ * Primary UI component for user interaction
27
+ */
28
+ export declare const Button: React.FC<ButtonProps>;
29
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/stories/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;GAEG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAkBxC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { Story, Meta } from '@storybook/react';
2
+ import { ButtonProps } from './Button';
3
+ declare const _default: Meta<import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Primary: Story<ButtonProps>;
6
+ export declare const Secondary: Story<ButtonProps>;
7
+ export declare const Large: Story<ButtonProps>;
8
+ export declare const Small: Story<ButtonProps>;
9
+ //# sourceMappingURL=Button.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Button.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAU,WAAW,EAAE,MAAM,UAAU,CAAC;;AAE/C,wBAMU;AAIV,eAAO,MAAM,OAAO,oBAAoB,CAAC;AAMzC,eAAO,MAAM,SAAS,oBAAoB,CAAC;AAK3C,eAAO,MAAM,KAAK,oBAAoB,CAAC;AAMvC,eAAO,MAAM,KAAK,oBAAoB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import './header.css';
3
+ export interface HeaderProps {
4
+ user?: {};
5
+ onLogin: () => void;
6
+ onLogout: () => void;
7
+ onCreateAccount: () => void;
8
+ }
9
+ export declare const Header: React.FC<HeaderProps>;
10
+ //# sourceMappingURL=Header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../src/stories/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,EAAE,CAAC;IACV,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAkCxC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Story, Meta } from '@storybook/react';
2
+ import { HeaderProps } from './Header';
3
+ declare const _default: Meta<import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const LoggedIn: Story<HeaderProps>;
6
+ export declare const LoggedOut: Story<HeaderProps>;
7
+ //# sourceMappingURL=Header.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Header.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAU,WAAW,EAAE,MAAM,UAAU,CAAC;;AAE/C,wBAGU;AAIV,eAAO,MAAM,QAAQ,oBAAoB,CAAC;AAK1C,eAAO,MAAM,SAAS,oBAAoB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import './page.css';
3
+ export interface PageProps {
4
+ user?: {};
5
+ onLogin: () => void;
6
+ onLogout: () => void;
7
+ onCreateAccount: () => void;
8
+ }
9
+ export declare const Page: React.FC<PageProps>;
10
+ //# sourceMappingURL=Page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["../../src/stories/Page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,YAAY,CAAC;AAEpB,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,EAAE,CAAC;IACV,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAsDpC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Story, Meta } from '@storybook/react';
2
+ import { PageProps } from './Page';
3
+ declare const _default: Meta<import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const LoggedIn: Story<PageProps>;
6
+ export declare const LoggedOut: Story<PageProps>;
7
+ //# sourceMappingURL=Page.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Page.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Page.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAQ,SAAS,EAAE,MAAM,QAAQ,CAAC;;AAGzC,wBAGU;AAIV,eAAO,MAAM,QAAQ,kBAAoB,CAAC;AAK1C,eAAO,MAAM,SAAS,kBAAoB,CAAC"}