@elliemae/ds-chat-floating-button 3.70.0-alpha.13 → 3.70.0-alpha.14

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,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/react-desc-prop-types.ts", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import type React from 'react';\nimport {\n type DSPropTypesSchema,\n type GlobalAttributesT,\n type XstyledProps,\n PropTypes,\n getPropsPerSlotPropTypes,\n globalAttributesPropTypes,\n xstyledPropTypes,\n} from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { noop } from 'lodash-es';\nimport { DSChatFloatingButtonName, FLOATING_BUTTON_SLOTS } from './constants/index.js';\n\nexport declare namespace DSChatFloatingButtonT {\n // hand-written per-slot function argument map \u2014 one entry per slot in FLOATING_BUTTON_SLOTS\n export type SlotFunctionArguments = {\n dsChatfloatingbuttonRoot: () => object;\n dsChatfloatingbuttonContainer: () => object;\n };\n\n export interface DefaultProps {\n onClick: () => void;\n onFocus: () => void;\n innerRef: React.RefObject<HTMLButtonElement>;\n }\n\n export interface OptionalProps\n extends TypescriptHelpersT.PropsForGlobalOnSlots<typeof DSChatFloatingButtonName, typeof FLOATING_BUTTON_SLOTS> {}\n\n export interface Props\n extends Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof OptionalProps>,\n XstyledProps {}\n\n export interface InternalProps\n extends DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof OptionalProps>,\n XstyledProps {}\n}\n\nexport const defaultFloatingButton: DSChatFloatingButtonT.DefaultProps = {\n onClick: noop,\n onFocus: noop,\n innerRef: null as unknown as React.RefObject<HTMLButtonElement>,\n};\n\nexport const DSChatFloatingButtonPropTypes: DSPropTypesSchema<DSChatFloatingButtonT.Props> = {\n ...getPropsPerSlotPropTypes(DSChatFloatingButtonName, FLOATING_BUTTON_SLOTS),\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n onClick: PropTypes.func\n .description('The function to call when the chat is opened via the footer')\n .defaultValue(defaultFloatingButton.onClick),\n onFocus: PropTypes.func\n .description('The function to call when button is being focused')\n .defaultValue(defaultFloatingButton.onFocus),\n innerRef: PropTypes.object.description('Ref to the component container').defaultValue(null),\n};\n\nexport const DSChatFloatingButtonPropTypesSchema =\n DSChatFloatingButtonPropTypes as unknown as React.WeakValidationMap<DSChatFloatingButtonT.Props>;\n\n/** @deprecated use DSChatFloatingButtonPropTypes */\nexport const propsFloatingButton = DSChatFloatingButtonPropTypes;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,8BAQO;AAEP,uBAAqB;AACrB,uBAAgE;AA+BzD,MAAM,wBAA4D;AAAA,EACvE,SAAS;AAAA,EACT,SAAS;AAAA,EACT,UAAU;AACZ;AAEO,MAAM,gCAAgF;AAAA,EAC3F,OAAG,kDAAyB,2CAA0B,sCAAqB;AAAA,EAC3E,GAAG;AAAA,EACH,GAAG;AAAA,EACH,SAAS,kCAAU,KAChB,YAAY,6DAA6D,EACzE,aAAa,sBAAsB,OAAO;AAAA,EAC7C,SAAS,kCAAU,KAChB,YAAY,mDAAmD,EAC/D,aAAa,sBAAsB,OAAO;AAAA,EAC7C,UAAU,kCAAU,OAAO,YAAY,gCAAgC,EAAE,aAAa,IAAI;AAC5F;AAEO,MAAM,sCACX;AAGK,MAAM,sBAAsB;",
4
+ "sourcesContent": ["import type React from 'react';\nimport {\n type DSPropTypesSchema,\n type GlobalAttributesT,\n type XstyledProps,\n PropTypes,\n getPropsPerSlotPropTypes,\n globalAttributesPropTypes,\n xstyledPropTypes,\n} from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { noop } from 'lodash-es';\nimport { DSChatFloatingButtonName, FLOATING_BUTTON_SLOTS } from './constants/index.js';\n\nexport declare namespace DSChatFloatingButtonT {\n // hand-written per-slot function argument map \u2014 one entry per slot in FLOATING_BUTTON_SLOTS\n export type SlotFunctionArguments = {\n dsChatfloatingbuttonRoot: () => object;\n dsChatfloatingbuttonContainer: () => object;\n };\n\n export interface DefaultProps {\n onClick: () => void;\n onFocus: () => void;\n innerRef: React.RefObject<HTMLButtonElement>;\n }\n\n export interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<\n typeof DSChatFloatingButtonName,\n typeof FLOATING_BUTTON_SLOTS\n > {}\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof OptionalProps>,\n XstyledProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof OptionalProps>,\n XstyledProps {}\n}\n\nexport const defaultFloatingButton: DSChatFloatingButtonT.DefaultProps = {\n onClick: noop,\n onFocus: noop,\n innerRef: null as unknown as React.RefObject<HTMLButtonElement>,\n};\n\nexport const DSChatFloatingButtonPropTypes: DSPropTypesSchema<DSChatFloatingButtonT.Props> = {\n ...getPropsPerSlotPropTypes(DSChatFloatingButtonName, FLOATING_BUTTON_SLOTS),\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n onClick: PropTypes.func\n .description('The function to call when the chat is opened via the footer')\n .defaultValue(defaultFloatingButton.onClick),\n onFocus: PropTypes.func\n .description('The function to call when button is being focused')\n .defaultValue(defaultFloatingButton.onFocus),\n innerRef: PropTypes.object.description('Ref to the component container').defaultValue(null),\n};\n\nexport const DSChatFloatingButtonPropTypesSchema =\n DSChatFloatingButtonPropTypes as unknown as React.WeakValidationMap<DSChatFloatingButtonT.Props>;\n\n/** @deprecated use DSChatFloatingButtonPropTypes */\nexport const propsFloatingButton = DSChatFloatingButtonPropTypes;\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,8BAQO;AAEP,uBAAqB;AACrB,uBAAgE;AAmCzD,MAAM,wBAA4D;AAAA,EACvE,SAAS;AAAA,EACT,SAAS;AAAA,EACT,UAAU;AACZ;AAEO,MAAM,gCAAgF;AAAA,EAC3F,OAAG,kDAAyB,2CAA0B,sCAAqB;AAAA,EAC3E,GAAG;AAAA,EACH,GAAG;AAAA,EACH,SAAS,kCAAU,KAChB,YAAY,6DAA6D,EACzE,aAAa,sBAAsB,OAAO;AAAA,EAC7C,SAAS,kCAAU,KAChB,YAAY,mDAAmD,EAC/D,aAAa,sBAAsB,OAAO;AAAA,EAC7C,UAAU,kCAAU,OAAO,YAAY,gCAAgC,EAAE,aAAa,IAAI;AAC5F;AAEO,MAAM,sCACX;AAGK,MAAM,sBAAsB;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/react-desc-prop-types.ts"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type React from 'react';\nimport {\n type DSPropTypesSchema,\n type GlobalAttributesT,\n type XstyledProps,\n PropTypes,\n getPropsPerSlotPropTypes,\n globalAttributesPropTypes,\n xstyledPropTypes,\n} from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { noop } from 'lodash-es';\nimport { DSChatFloatingButtonName, FLOATING_BUTTON_SLOTS } from './constants/index.js';\n\nexport declare namespace DSChatFloatingButtonT {\n // hand-written per-slot function argument map \u2014 one entry per slot in FLOATING_BUTTON_SLOTS\n export type SlotFunctionArguments = {\n dsChatfloatingbuttonRoot: () => object;\n dsChatfloatingbuttonContainer: () => object;\n };\n\n export interface DefaultProps {\n onClick: () => void;\n onFocus: () => void;\n innerRef: React.RefObject<HTMLButtonElement>;\n }\n\n export interface OptionalProps\n extends TypescriptHelpersT.PropsForGlobalOnSlots<typeof DSChatFloatingButtonName, typeof FLOATING_BUTTON_SLOTS> {}\n\n export interface Props\n extends Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof OptionalProps>,\n XstyledProps {}\n\n export interface InternalProps\n extends DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof OptionalProps>,\n XstyledProps {}\n}\n\nexport const defaultFloatingButton: DSChatFloatingButtonT.DefaultProps = {\n onClick: noop,\n onFocus: noop,\n innerRef: null as unknown as React.RefObject<HTMLButtonElement>,\n};\n\nexport const DSChatFloatingButtonPropTypes: DSPropTypesSchema<DSChatFloatingButtonT.Props> = {\n ...getPropsPerSlotPropTypes(DSChatFloatingButtonName, FLOATING_BUTTON_SLOTS),\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n onClick: PropTypes.func\n .description('The function to call when the chat is opened via the footer')\n .defaultValue(defaultFloatingButton.onClick),\n onFocus: PropTypes.func\n .description('The function to call when button is being focused')\n .defaultValue(defaultFloatingButton.onFocus),\n innerRef: PropTypes.object.description('Ref to the component container').defaultValue(null),\n};\n\nexport const DSChatFloatingButtonPropTypesSchema =\n DSChatFloatingButtonPropTypes as unknown as React.WeakValidationMap<DSChatFloatingButtonT.Props>;\n\n/** @deprecated use DSChatFloatingButtonPropTypes */\nexport const propsFloatingButton = DSChatFloatingButtonPropTypes;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACCvB;AAAA,EAIE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,YAAY;AACrB,SAAS,0BAA0B,6BAA6B;AA+BzD,MAAM,wBAA4D;AAAA,EACvE,SAAS;AAAA,EACT,SAAS;AAAA,EACT,UAAU;AACZ;AAEO,MAAM,gCAAgF;AAAA,EAC3F,GAAG,yBAAyB,0BAA0B,qBAAqB;AAAA,EAC3E,GAAG;AAAA,EACH,GAAG;AAAA,EACH,SAAS,UAAU,KAChB,YAAY,6DAA6D,EACzE,aAAa,sBAAsB,OAAO;AAAA,EAC7C,SAAS,UAAU,KAChB,YAAY,mDAAmD,EAC/D,aAAa,sBAAsB,OAAO;AAAA,EAC7C,UAAU,UAAU,OAAO,YAAY,gCAAgC,EAAE,aAAa,IAAI;AAC5F;AAEO,MAAM,sCACX;AAGK,MAAM,sBAAsB;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type React from 'react';\nimport {\n type DSPropTypesSchema,\n type GlobalAttributesT,\n type XstyledProps,\n PropTypes,\n getPropsPerSlotPropTypes,\n globalAttributesPropTypes,\n xstyledPropTypes,\n} from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { noop } from 'lodash-es';\nimport { DSChatFloatingButtonName, FLOATING_BUTTON_SLOTS } from './constants/index.js';\n\nexport declare namespace DSChatFloatingButtonT {\n // hand-written per-slot function argument map \u2014 one entry per slot in FLOATING_BUTTON_SLOTS\n export type SlotFunctionArguments = {\n dsChatfloatingbuttonRoot: () => object;\n dsChatfloatingbuttonContainer: () => object;\n };\n\n export interface DefaultProps {\n onClick: () => void;\n onFocus: () => void;\n innerRef: React.RefObject<HTMLButtonElement>;\n }\n\n export interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<\n typeof DSChatFloatingButtonName,\n typeof FLOATING_BUTTON_SLOTS\n > {}\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof OptionalProps>,\n XstyledProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof OptionalProps>,\n XstyledProps {}\n}\n\nexport const defaultFloatingButton: DSChatFloatingButtonT.DefaultProps = {\n onClick: noop,\n onFocus: noop,\n innerRef: null as unknown as React.RefObject<HTMLButtonElement>,\n};\n\nexport const DSChatFloatingButtonPropTypes: DSPropTypesSchema<DSChatFloatingButtonT.Props> = {\n ...getPropsPerSlotPropTypes(DSChatFloatingButtonName, FLOATING_BUTTON_SLOTS),\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n onClick: PropTypes.func\n .description('The function to call when the chat is opened via the footer')\n .defaultValue(defaultFloatingButton.onClick),\n onFocus: PropTypes.func\n .description('The function to call when button is being focused')\n .defaultValue(defaultFloatingButton.onFocus),\n innerRef: PropTypes.object.description('Ref to the component container').defaultValue(null),\n};\n\nexport const DSChatFloatingButtonPropTypesSchema =\n DSChatFloatingButtonPropTypes as unknown as React.WeakValidationMap<DSChatFloatingButtonT.Props>;\n\n/** @deprecated use DSChatFloatingButtonPropTypes */\nexport const propsFloatingButton = DSChatFloatingButtonPropTypes;\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACCvB;AAAA,EAIE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,YAAY;AACrB,SAAS,0BAA0B,6BAA6B;AAmCzD,MAAM,wBAA4D;AAAA,EACvE,SAAS;AAAA,EACT,SAAS;AAAA,EACT,UAAU;AACZ;AAEO,MAAM,gCAAgF;AAAA,EAC3F,GAAG,yBAAyB,0BAA0B,qBAAqB;AAAA,EAC3E,GAAG;AAAA,EACH,GAAG;AAAA,EACH,SAAS,UAAU,KAChB,YAAY,6DAA6D,EACzE,aAAa,sBAAsB,OAAO;AAAA,EAC7C,SAAS,UAAU,KAChB,YAAY,mDAAmD,EAC/D,aAAa,sBAAsB,OAAO;AAAA,EAC7C,UAAU,UAAU,OAAO,YAAY,gCAAgC,EAAE,aAAa,IAAI;AAC5F;AAEO,MAAM,sCACX;AAGK,MAAM,sBAAsB;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-chat-floating-button",
3
- "version": "3.70.0-alpha.13",
3
+ "version": "3.70.0-alpha.14",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Chat Floating Button",
6
6
  "files": [
@@ -36,16 +36,16 @@
36
36
  "typeSafety": true
37
37
  },
38
38
  "dependencies": {
39
- "@elliemae/ds-system": "3.70.0-alpha.13",
40
- "@elliemae/ds-props-helpers": "3.70.0-alpha.13",
41
- "@elliemae/ds-icons": "3.70.0-alpha.13",
42
- "@elliemae/ds-grid": "3.70.0-alpha.13"
39
+ "@elliemae/ds-grid": "3.70.0-alpha.14",
40
+ "@elliemae/ds-system": "3.70.0-alpha.14",
41
+ "@elliemae/ds-icons": "3.70.0-alpha.14",
42
+ "@elliemae/ds-props-helpers": "3.70.0-alpha.14"
43
43
  },
44
44
  "devDependencies": {
45
45
  "jest": "^30.0.0",
46
46
  "styled-components": "~5.3.11",
47
- "@elliemae/ds-monorepo-devops": "3.70.0-alpha.13",
48
- "@elliemae/ds-test-utils": "3.70.0-alpha.13"
47
+ "@elliemae/ds-monorepo-devops": "3.70.0-alpha.14",
48
+ "@elliemae/ds-test-utils": "3.70.0-alpha.14"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "lodash-es": "^4.18.1",