@ni/spright-react 0.12.0 → 0.12.1

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
+ 'use client';
1
2
  import { ChatConversation } from '@ni/spright-components/dist/esm/chat/conversation';
2
3
  import { wrap } from '../../utilities/react-wrapper';
3
4
  export const SprightChatConversation = wrap(ChatConversation);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/chat/conversation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mDAAmD,CAAC;AACrF,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAC,gBAAgB,CAAC,CAAC","sourcesContent":["import { ChatConversation } from '@ni/spright-components/dist/esm/chat/conversation';\nimport { wrap } from '../../utilities/react-wrapper';\n\nexport const SprightChatConversation = wrap(ChatConversation);\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/chat/conversation/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,gBAAgB,EAAE,MAAM,mDAAmD,CAAC;AACrF,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAC,gBAAgB,CAAC,CAAC","sourcesContent":["'use client';\n\nimport { ChatConversation } from '@ni/spright-components/dist/esm/chat/conversation';\nimport { wrap } from '../../utilities/react-wrapper';\n\nexport const SprightChatConversation = wrap(ChatConversation);\n"]}
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { ChatInput } from '@ni/spright-components/dist/esm/chat/input';
2
3
  import { wrap } from '../../utilities/react-wrapper';
3
4
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/chat/input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAEvE,OAAO,EAAE,IAAI,EAAkB,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAkB,CAAC;AAC1B,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC,SAAS,EAAE;IAC5C,MAAM,EAAE;QACJ,MAAM,EAAE,MAAuC;KAClD;CACJ,CAAC,CAAC","sourcesContent":["import { ChatInput } from '@ni/spright-components/dist/esm/chat/input';\nimport type { ChatInputSendEventDetail } from '@ni/spright-components/dist/esm/chat/input/types';\nimport { wrap, type EventName } from '../../utilities/react-wrapper';\n\nexport { type ChatInput };\nexport const SprightChatInput = wrap(ChatInput, {\n events: {\n onSend: 'send' as EventName<ChatInputSendEvent>,\n }\n});\nexport interface ChatInputSendEvent extends CustomEvent<ChatInputSendEventDetail> {\n target: ChatInput;\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/chat/input/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAEvE,OAAO,EAAE,IAAI,EAAkB,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAkB,CAAC;AAC1B,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC,SAAS,EAAE;IAC5C,MAAM,EAAE;QACJ,MAAM,EAAE,MAAuC;KAClD;CACJ,CAAC,CAAC","sourcesContent":["'use client';\n\nimport { ChatInput } from '@ni/spright-components/dist/esm/chat/input';\nimport type { ChatInputSendEventDetail } from '@ni/spright-components/dist/esm/chat/input/types';\nimport { wrap, type EventName } from '../../utilities/react-wrapper';\n\nexport { type ChatInput };\nexport const SprightChatInput = wrap(ChatInput, {\n events: {\n onSend: 'send' as EventName<ChatInputSendEvent>,\n }\n});\nexport interface ChatInputSendEvent extends CustomEvent<ChatInputSendEventDetail> {\n target: ChatInput;\n}\n"]}
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { ChatMessageInbound } from '@ni/spright-components/dist/esm/chat/message/inbound';
2
3
  import { wrap } from '../../../utilities/react-wrapper';
3
4
  export const SprightChatMessageInbound = wrap(ChatMessageInbound);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/chat/message/inbound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAExD,MAAM,CAAC,MAAM,yBAAyB,GAAG,IAAI,CAAC,kBAAkB,CAAC,CAAC","sourcesContent":["import { ChatMessageInbound } from '@ni/spright-components/dist/esm/chat/message/inbound';\nimport { wrap } from '../../../utilities/react-wrapper';\n\nexport const SprightChatMessageInbound = wrap(ChatMessageInbound);\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/chat/message/inbound/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAExD,MAAM,CAAC,MAAM,yBAAyB,GAAG,IAAI,CAAC,kBAAkB,CAAC,CAAC","sourcesContent":["'use client';\n\nimport { ChatMessageInbound } from '@ni/spright-components/dist/esm/chat/message/inbound';\nimport { wrap } from '../../../utilities/react-wrapper';\n\nexport const SprightChatMessageInbound = wrap(ChatMessageInbound);\n"]}
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { ChatMessage } from '@ni/spright-components/dist/esm/chat/message';
2
3
  import { wrap } from '../../utilities/react-wrapper';
3
4
  export const SprightChatMessage = wrap(ChatMessage);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/chat/message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC","sourcesContent":["import { ChatMessage } from '@ni/spright-components/dist/esm/chat/message';\nimport { wrap } from '../../utilities/react-wrapper';\n\nexport const SprightChatMessage = wrap(ChatMessage);\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/chat/message/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC","sourcesContent":["'use client';\n\nimport { ChatMessage } from '@ni/spright-components/dist/esm/chat/message';\nimport { wrap } from '../../utilities/react-wrapper';\n\nexport const SprightChatMessage = wrap(ChatMessage);\n"]}
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { ChatMessageOutbound } from '@ni/spright-components/dist/esm/chat/message/outbound';
2
3
  import { wrap } from '../../../utilities/react-wrapper';
3
4
  export const SprightChatMessageOutbound = wrap(ChatMessageOutbound);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/chat/message/outbound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAC5F,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAExD,MAAM,CAAC,MAAM,0BAA0B,GAAG,IAAI,CAAC,mBAAmB,CAAC,CAAC","sourcesContent":["import { ChatMessageOutbound } from '@ni/spright-components/dist/esm/chat/message/outbound';\nimport { wrap } from '../../../utilities/react-wrapper';\n\nexport const SprightChatMessageOutbound = wrap(ChatMessageOutbound);\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/chat/message/outbound/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAC5F,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAExD,MAAM,CAAC,MAAM,0BAA0B,GAAG,IAAI,CAAC,mBAAmB,CAAC,CAAC","sourcesContent":["'use client';\n\nimport { ChatMessageOutbound } from '@ni/spright-components/dist/esm/chat/message/outbound';\nimport { wrap } from '../../../utilities/react-wrapper';\n\nexport const SprightChatMessageOutbound = wrap(ChatMessageOutbound);\n"]}
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { ChatMessageSystem } from '@ni/spright-components/dist/esm/chat/message/system';
2
3
  import { wrap } from '../../../utilities/react-wrapper';
3
4
  export const SprightChatMessageSystem = wrap(ChatMessageSystem);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/chat/message/system/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qDAAqD,CAAC;AACxF,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAExD,MAAM,CAAC,MAAM,wBAAwB,GAAG,IAAI,CAAC,iBAAiB,CAAC,CAAC","sourcesContent":["import { ChatMessageSystem } from '@ni/spright-components/dist/esm/chat/message/system';\nimport { wrap } from '../../../utilities/react-wrapper';\n\nexport const SprightChatMessageSystem = wrap(ChatMessageSystem);\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/chat/message/system/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,iBAAiB,EAAE,MAAM,qDAAqD,CAAC;AACxF,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAExD,MAAM,CAAC,MAAM,wBAAwB,GAAG,IAAI,CAAC,iBAAiB,CAAC,CAAC","sourcesContent":["'use client';\n\nimport { ChatMessageSystem } from '@ni/spright-components/dist/esm/chat/message/system';\nimport { wrap } from '../../../utilities/react-wrapper';\n\nexport const SprightChatMessageSystem = wrap(ChatMessageSystem);\n"]}
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { ChatMessageWelcome } from '@ni/spright-components/dist/esm/chat/message/welcome';
2
3
  import { wrap } from '../../../utilities/react-wrapper';
3
4
  export const SprightChatMessageWelcome = wrap(ChatMessageWelcome);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/chat/message/welcome/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAExD,MAAM,CAAC,MAAM,yBAAyB,GAAG,IAAI,CAAC,kBAAkB,CAAC,CAAC","sourcesContent":["import { ChatMessageWelcome } from '@ni/spright-components/dist/esm/chat/message/welcome';\nimport { wrap } from '../../../utilities/react-wrapper';\n\nexport const SprightChatMessageWelcome = wrap(ChatMessageWelcome);"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/chat/message/welcome/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAExD,MAAM,CAAC,MAAM,yBAAyB,GAAG,IAAI,CAAC,kBAAkB,CAAC,CAAC","sourcesContent":["'use client';\n\nimport { ChatMessageWelcome } from '@ni/spright-components/dist/esm/chat/message/welcome';\nimport { wrap } from '../../../utilities/react-wrapper';\n\nexport const SprightChatMessageWelcome = wrap(ChatMessageWelcome);"]}
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { IconNigelChat, iconNigelChatTag } from '@ni/spright-components/dist/esm/icons/nigel-chat';
2
3
  import { wrap } from '../../utilities/react-wrapper';
3
4
  export { iconNigelChatTag };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/icons/nigel-chat/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACnG,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAGrD,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,MAAM,CAAC,MAAM,oBAAoB,GAAG,IAAI,CAAC,aAAa,CAAC,CAAC","sourcesContent":["import { IconNigelChat, iconNigelChatTag } from '@ni/spright-components/dist/esm/icons/nigel-chat';\nimport { wrap } from '../../utilities/react-wrapper';\n\nexport type { IconNigelChat };\nexport { iconNigelChatTag };\nexport const SprightIconNigelChat = wrap(IconNigelChat);\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/icons/nigel-chat/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACnG,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAGrD,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,MAAM,CAAC,MAAM,oBAAoB,GAAG,IAAI,CAAC,aAAa,CAAC,CAAC","sourcesContent":["'use client';\n\nimport { IconNigelChat, iconNigelChatTag } from '@ni/spright-components/dist/esm/icons/nigel-chat';\nimport { wrap } from '../../utilities/react-wrapper';\n\nexport type { IconNigelChat };\nexport { iconNigelChatTag };\nexport const SprightIconNigelChat = wrap(IconNigelChat);\n"]}
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Rectangle } from '@ni/spright-components/dist/esm/rectangle';
2
3
  import { wrap } from '../utilities/react-wrapper';
3
4
  export const SprightRectangle = wrap(Rectangle);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rectangle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2CAA2C,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAElD,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC","sourcesContent":["import { Rectangle } from '@ni/spright-components/dist/esm/rectangle';\nimport { wrap } from '../utilities/react-wrapper';\n\nexport const SprightRectangle = wrap(Rectangle);\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rectangle/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,2CAA2C,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAElD,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC","sourcesContent":["'use client';\n\nimport { Rectangle } from '@ni/spright-components/dist/esm/rectangle';\nimport { wrap } from '../utilities/react-wrapper';\n\nexport const SprightRectangle = wrap(Rectangle);\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ni/spright-react",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "React components for NI Spright",
5
5
  "keywords": [
6
6
  "ni",