@cgi-learning-hub/ui 0.0.1-dev.1706708255 → 0.0.1-dev.1706796454

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 (28) hide show
  1. package/dist/TransitionGroupContext-SCyurvOT.js +4197 -0
  2. package/dist/assets/index.css +1 -1
  3. package/dist/components/Button/Button.d.ts +3 -3
  4. package/dist/components/Button/Button.js +1251 -26
  5. package/dist/components/Button/Button.stories.d.ts +4 -3
  6. package/dist/components/Button/Button.stories.js +16 -6
  7. package/dist/components/SearchField/SearchField.d.ts +7 -0
  8. package/dist/components/SearchField/SearchField.js +26605 -0
  9. package/dist/components/SearchField/index.d.ts +2 -0
  10. package/dist/components/SearchField/index.js +4 -0
  11. package/dist/components/index.d.ts +1 -2
  12. package/dist/components/index.js +4 -6
  13. package/dist/createSvgIcon-3ijLxpup.js +182 -0
  14. package/dist/index.js +4 -6
  15. package/package.json +2 -1
  16. package/dist/Button-t2XOOBeu.js +0 -5460
  17. package/dist/components/AnotherComponent/AnotherComponent.d.ts +0 -2
  18. package/dist/components/AnotherComponent/AnotherComponent.js +0 -5
  19. package/dist/components/AnotherComponent/AnotherComponent.stories.d.ts +0 -5
  20. package/dist/components/AnotherComponent/AnotherComponent.stories.js +0 -22
  21. package/dist/components/AnotherComponent/index.d.ts +0 -2
  22. package/dist/components/AnotherComponent/index.js +0 -4
  23. package/dist/components/BasicButtons/BasicButtons.d.ts +0 -2
  24. package/dist/components/BasicButtons/BasicButtons.js +0 -198
  25. package/dist/components/BasicButtons/BasicButtons.stories.d.ts +0 -5
  26. package/dist/components/BasicButtons/BasicButtons.stories.js +0 -22
  27. package/dist/components/BasicButtons/index.d.ts +0 -2
  28. package/dist/components/BasicButtons/index.js +0 -4
@@ -1,6 +1,7 @@
1
1
  import { Meta, StoryObj } from "@storybook/react";
2
- import Button from './Button';
3
- declare const meta: Meta<typeof Button>;
2
+ import { ButtonProps } from './Button';
3
+ declare const meta: Meta<ButtonProps>;
4
4
  export default meta;
5
- type Story = StoryObj<typeof Button>;
5
+ type Story = StoryObj<ButtonProps>;
6
6
  export declare const Base: Story;
7
+ export declare const IconedButton: Story;
@@ -1,7 +1,11 @@
1
- import t from "./Button.js";
2
- const e = {
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import o from "./Button.js";
3
+ import { c as n } from "../../createSvgIcon-3ijLxpup.js";
4
+ const e = n(/* @__PURE__ */ t("path", {
5
+ d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z"
6
+ }), "InsertEmoticon"), m = {
3
7
  title: "Components/Buttons/Button",
4
- component: t,
8
+ component: o,
5
9
  argTypes: {
6
10
  text: {
7
11
  description: "Button text value",
@@ -10,12 +14,18 @@ const e = {
10
14
  }
11
15
  }
12
16
  }
13
- }, n = {
17
+ }, a = {
14
18
  args: {
15
19
  text: "Base button"
16
20
  }
21
+ }, i = {
22
+ args: {
23
+ text: "Iconed Button",
24
+ icon: /* @__PURE__ */ t(e, {})
25
+ }
17
26
  };
18
27
  export {
19
- n as Base,
20
- e as default
28
+ a as Base,
29
+ i as IconedButton,
30
+ m as default
21
31
  };
@@ -0,0 +1,7 @@
1
+ import { TextFieldProps } from '@mui/material';
2
+ export type SearchFieldProps = TextFieldProps;
3
+ declare const SearchField: {
4
+ (props: SearchFieldProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default SearchField;