@pingux/astro 2.104.0-alpha.1 → 2.104.0-alpha.2

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 (53) hide show
  1. package/lib/cjs/components/AIComponents/Response/Response.d.ts +4 -0
  2. package/lib/cjs/components/AIComponents/Response/Response.js +52 -0
  3. package/lib/cjs/components/AIComponents/Response/Response.stories.d.ts +7 -0
  4. package/lib/cjs/components/AIComponents/Response/Response.stories.js +82 -0
  5. package/lib/cjs/components/AIComponents/Response/Response.test.jsx +215 -0
  6. package/lib/cjs/components/AIComponents/Response/ResponseAttachment.d.ts +4 -0
  7. package/lib/cjs/components/AIComponents/Response/ResponseAttachment.js +54 -0
  8. package/lib/cjs/components/AIComponents/Response/ResponseList.d.ts +4 -0
  9. package/lib/cjs/components/AIComponents/Response/ResponseList.js +66 -0
  10. package/lib/cjs/components/AIComponents/Response/ResponseText.d.ts +4 -0
  11. package/lib/cjs/components/AIComponents/Response/ResponseText.js +46 -0
  12. package/lib/cjs/components/AIComponents/Response/ResponseToolbar.d.ts +4 -0
  13. package/lib/cjs/components/AIComponents/Response/ResponseToolbar.js +79 -0
  14. package/lib/cjs/components/AIComponents/Response/index.d.ts +5 -0
  15. package/lib/cjs/components/AIComponents/Response/index.js +42 -0
  16. package/lib/cjs/hooks/useTypeAnimation/index.d.ts +1 -0
  17. package/lib/cjs/hooks/useTypeAnimation/index.js +14 -0
  18. package/lib/cjs/hooks/useTypeAnimation/useTypeAnimation.d.ts +8 -0
  19. package/lib/cjs/hooks/useTypeAnimation/useTypeAnimation.js +50 -0
  20. package/lib/cjs/hooks/useTypeAnimation/useTypeAnimation.test.d.ts +1 -0
  21. package/lib/cjs/hooks/useTypeAnimation/useTypeAnimation.test.js +66 -0
  22. package/lib/cjs/index.d.ts +5 -0
  23. package/lib/cjs/index.js +40 -0
  24. package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +1 -1
  25. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +42 -0
  26. package/lib/cjs/styles/themes/next-gen/variants/response.d.ts +33 -0
  27. package/lib/cjs/styles/themes/next-gen/variants/response.js +43 -0
  28. package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +10 -0
  29. package/lib/cjs/styles/themes/next-gen/variants/text.js +10 -0
  30. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +32 -0
  31. package/lib/cjs/styles/themes/next-gen/variants/variants.js +3 -1
  32. package/lib/cjs/types/response.d.ts +48 -0
  33. package/lib/cjs/types/response.js +6 -0
  34. package/lib/cjs/utils/devUtils/shouldReturnComingSoon.js +1 -1
  35. package/lib/components/AIComponents/Response/Response.js +38 -0
  36. package/lib/components/AIComponents/Response/Response.stories.js +72 -0
  37. package/lib/components/AIComponents/Response/Response.test.jsx +215 -0
  38. package/lib/components/AIComponents/Response/ResponseAttachment.js +40 -0
  39. package/lib/components/AIComponents/Response/ResponseList.js +52 -0
  40. package/lib/components/AIComponents/Response/ResponseText.js +37 -0
  41. package/lib/components/AIComponents/Response/ResponseToolbar.js +65 -0
  42. package/lib/components/AIComponents/Response/index.js +5 -0
  43. package/lib/hooks/useTypeAnimation/index.js +1 -0
  44. package/lib/hooks/useTypeAnimation/useTypeAnimation.js +41 -0
  45. package/lib/hooks/useTypeAnimation/useTypeAnimation.test.js +63 -0
  46. package/lib/index.js +5 -0
  47. package/lib/styles/themes/next-gen/convertedComponentList.js +1 -1
  48. package/lib/styles/themes/next-gen/variants/response.js +35 -0
  49. package/lib/styles/themes/next-gen/variants/text.js +10 -0
  50. package/lib/styles/themes/next-gen/variants/variants.js +3 -1
  51. package/lib/types/response.js +1 -0
  52. package/lib/utils/devUtils/shouldReturnComingSoon.js +1 -1
  53. package/package.json +1 -1
@@ -18,6 +18,7 @@ import { menu, menuItem } from './menu';
18
18
  import { message } from './messages';
19
19
  import { navBar } from './navbar';
20
20
  import prompt from './prompt';
21
+ import response from './response';
21
22
  import { menuTab, tab, tabs } from './tabs';
22
23
  var fieldHelperText = {
23
24
  title: {
@@ -282,5 +283,6 @@ export default {
282
283
  tabs: tabs,
283
284
  menu: menu,
284
285
  iconWrapper: iconWrapper,
285
- overlayPanel: overlayPanel
286
+ overlayPanel: overlayPanel,
287
+ response: response
286
288
  };
@@ -0,0 +1 @@
1
+ export {};
@@ -19,7 +19,7 @@ export var shouldReturnComingSoon = function shouldReturnComingSoon(context, sel
19
19
  }
20
20
  // if the component is a NextGen ONLY component, and the selected theme is Astro,
21
21
  // return the coming soon message
22
- if (isNextGenOnlyComponent && selectedTheme === themes.ASTRO) {
22
+ if (isNextGenOnlyComponent && selectedTheme !== themes.NEXT_GEN && selectedTheme !== themes.NEXT_GEN_DARK) {
23
23
  return true;
24
24
  }
25
25
  // else return the story.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "2.104.0-alpha.1",
3
+ "version": "2.104.0-alpha.2",
4
4
  "description": "React component library for Ping Identity's design system",
5
5
  "repository": {
6
6
  "type": "git",