obi-sdk 0.4.4 → 0.5.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.
Files changed (31) hide show
  1. package/README.md +0 -1
  2. package/dist/core/constants.d.ts +1 -1
  3. package/dist/core/init.d.ts +1 -1
  4. package/dist/loader.d.ts +0 -1
  5. package/dist/modular/chunks/index-ade17481.js +6 -0
  6. package/dist/modular/chunks/index-ade17481.js.map +1 -0
  7. package/dist/modular/chunks/{obi-widget-f540f7e0.js → obi-widget-2b8e7b28.js} +520 -136
  8. package/dist/modular/chunks/obi-widget-2b8e7b28.js.map +1 -0
  9. package/dist/modular/chunks/{types-e0297e7b.js → types-fad85d8c.js} +2 -2
  10. package/dist/modular/chunks/types-fad85d8c.js.map +1 -0
  11. package/dist/modular/core.js +1 -1
  12. package/dist/modular/index.js +37 -52
  13. package/dist/modular/index.js.map +1 -1
  14. package/dist/modular/ui.js +11 -11
  15. package/dist/modular/ui.js.map +1 -1
  16. package/dist/obi-sdk.es.js +556 -185
  17. package/dist/obi-sdk.es.js.map +1 -1
  18. package/dist/obi-sdk.standalone.iife.js +360 -127
  19. package/dist/obi-sdk.standalone.iife.js.map +1 -1
  20. package/dist/obi-sdk.umd.js +347 -114
  21. package/dist/obi-sdk.umd.js.map +1 -1
  22. package/dist/ui/components/courses/course-modal.d.ts +3 -0
  23. package/dist/ui/components/courses/courses.d.ts +4 -2
  24. package/dist/ui/components/obi-widget/index.d.ts +1 -0
  25. package/dist/ui/components/{obi-widget.d.ts → obi-widget/obi-widget.d.ts} +11 -6
  26. package/dist/utils/color.d.ts +12 -0
  27. package/dist/utils/index.d.ts +1 -0
  28. package/package.json +11 -3
  29. package/dist/modular/chunks/obi-widget-f540f7e0.js.map +0 -1
  30. package/dist/modular/chunks/types-e0297e7b.js.map +0 -1
  31. package/dist/ui/components/session-start-modal/session-start-modal.stories.d.ts +0 -37
@@ -1,37 +0,0 @@
1
- import type { StoryObj } from '@storybook/web-components-vite';
2
- import { SessionStartModal } from './session-start-modal';
3
- declare const meta: {
4
- title: string;
5
- tags: string[];
6
- render: (args: SessionStartModal) => SessionStartModal;
7
- argTypes: {
8
- session: {
9
- control: "object";
10
- description: string;
11
- };
12
- onStart: {
13
- action: string;
14
- description: string;
15
- };
16
- onClose: {
17
- action: string;
18
- description: string;
19
- };
20
- };
21
- args: {
22
- session: {
23
- id: string;
24
- name: string;
25
- description: string;
26
- imageSrc: string;
27
- };
28
- onStart: (sessionToken: string) => void;
29
- onClose: () => void;
30
- };
31
- };
32
- export default meta;
33
- type Story = StoryObj<SessionStartModal>;
34
- export declare const Primary: Story;
35
- export declare const LongDescription: Story;
36
- export declare const ShortTitle: Story;
37
- export declare const WithCustomImage: Story;