@idea-fragments/react-components-zendesk 0.1.24 → 0.1.26

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.
@@ -1,3 +1,4 @@
1
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
+ import { CSSProp } from "styles/types";
3
+ export declare const Hint: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, CSSProp<any>, never>;
3
4
  //# 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,wMAMhB,CAAA"}
1
+ {"version":3,"file":"Hint.d.ts","sourceRoot":"","sources":["../../../src/components/forms/Hint.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAY,cAAc,CAAA;AAM5C,eAAO,MAAM,IAAI,kNAOhB,CAAA"}
@@ -1,6 +1,8 @@
1
1
  import { FormFieldProps } from "components/forms/formField.types";
2
2
  import { ChangeEvent, FC } from "react";
3
3
  export declare type TextAreaProps = FormFieldProps & {
4
+ autoExpand?: boolean;
5
+ characterLimit?: number;
4
6
  resizable?: boolean;
5
7
  value?: string;
6
8
  onChange: (text: string, e: ChangeEvent<HTMLTextAreaElement>) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/textfields/TextArea.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAc,kCAAkC,CAAA;AAEzE,OAAc,EAAE,WAAW,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE9C,oBAAY,aAAa,GAAG,cAAc,GAAG;IAC3C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,WAAW,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;CACvE,CAAA;AAGD,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAQtC,CAAA"}
1
+ {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/textfields/TextArea.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAS,kCAAkC,CAAA;AAGpE,OAAc,EACZ,WAAW,EACX,EAAE,EAEH,MAAiC,OAAO,CAAA;AAEzC,oBAAY,aAAa,GAAG,cAAc,GAAG;IAC3C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,WAAW,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;CACvE,CAAA;AAGD,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAkCtC,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { TextAreaProps } from "components/forms/textfields/TextArea";
2
+ import React from "react";
3
+ declare const _default: {
4
+ title: string;
5
+ component: React.FC<TextAreaProps>;
6
+ argTypes: {};
7
+ };
8
+ export default _default;
9
+ export declare const Default: (args: Partial<TextAreaProps>) => JSX.Element;
10
+ //# sourceMappingURL=TextArea.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextArea.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/textfields/TextArea.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,EACd,MAAM,sCAAsC,CAAA;AAC7C,OAAO,KAAmB,MAAM,OAAO,CAAA;;;;;;AAGvC,wBAIC;AAYD,eAAO,MAAM,OAAO,SAVC,QAAQ,aAAa,CAAC,gBAUN,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"TextFieldWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/textfields/TextFieldWrapper.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAS,kCAAkC,CAAA;AACpE,OAAO,EAAE,aAAa,EAAE,MAAU,sCAAsC,CAAA;AAGxE,OAAO,KAAK,EAAE,EACZ,WAAW,EACX,aAAa,EAEb,iBAAiB,EAClB,MAAiC,OAAO,CAAA;AAQzC,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,uEAmDzB,CAAA"}
1
+ {"version":3,"file":"TextFieldWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/textfields/TextFieldWrapper.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAS,kCAAkC,CAAA;AAEpE,OAAO,EAAE,aAAa,EAAE,MAAU,sCAAsC,CAAA;AAGxE,OAAO,KAAK,EAAE,EACZ,WAAW,EACX,aAAa,EAEb,iBAAiB,EAClB,MAAiC,OAAO,CAAA;AAQzC,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,uEAkDzB,CAAA"}
@@ -2,6 +2,7 @@ import { PropsWithChildren, ReactNode } from "react";
2
2
  export declare type SectionHeaderProps = PropsWithChildren<{
3
3
  actions?: ReactNode;
4
4
  caption?: ReactNode;
5
+ title?: ReactNode;
5
6
  }>;
6
- export declare const SectionHeader: import("styled-components").StyledComponent<({ actions, children: title, caption, }: SectionHeaderProps) => JSX.Element, any, {}, never>;
7
+ export declare const SectionHeader: import("styled-components").StyledComponent<({ actions, children, caption, title, }: SectionHeaderProps) => JSX.Element, any, {}, never>;
7
8
  //# sourceMappingURL=SectionHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SectionHeader.d.ts","sourceRoot":"","sources":["../../../src/components/layout/SectionHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,SAAS,EACV,MAAwB,OAAO,CAAA;AAKhC,oBAAY,kBAAkB,GAAG,iBAAiB,CAAC;IACjD,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC,CAAA;AAGF,eAAO,MAAM,aAAa,uFAIc,kBAAkB,KAAG,WAAW,iBAQpE,CAAA"}
1
+ {"version":3,"file":"SectionHeader.d.ts","sourceRoot":"","sources":["../../../src/components/layout/SectionHeader.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,iBAAiB,EACjB,SAAS,EACV,MAAoC,OAAO,CAAA;AAG5C,oBAAY,kBAAkB,GAAG,iBAAiB,CAAC;IACjD,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC,CAAA;AAEF,eAAO,MAAM,aAAa,uFAKc,kBAAkB,KAAG,WAAW,iBAWpE,CAAA"}
@@ -2,7 +2,7 @@
2
2
  import { SectionHeaderProps } from "components/layout/SectionHeader";
3
3
  declare const _default: {
4
4
  title: string;
5
- component: import("styled-components").StyledComponent<({ actions, children: title, caption, }: SectionHeaderProps) => JSX.Element, any, {}, never>;
5
+ component: import("styled-components").StyledComponent<({ actions, children, caption, title, }: SectionHeaderProps) => JSX.Element, any, {}, never>;
6
6
  argTypes: {};
7
7
  };
8
8
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idea-fragments/react-components-zendesk",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist"