@axa-fr/design-system-look-and-feel-react 1.0.5-ci.109 → 1.0.5-ci.111

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.
@@ -8,7 +8,7 @@ import error from "@material-symbols/svg-400/outlined/error-fill.svg";
8
8
  import errorO from "@material-symbols/svg-400/outlined/error.svg";
9
9
  import plus from "@material-symbols/svg-400/outlined/add_circle-fill.svg";
10
10
  import classNames from "classnames";
11
- import { Loader, Svg, Button } from "@axa-fr/design-system-apollo-react/lf";
11
+ import { Spinner, Svg, Button } from "@axa-fr/design-system-apollo-react/lf";
12
12
  import { InputError } from "../InputError";
13
13
  function getReadableFileSizeString(fileSizeInBytes) {
14
14
  let i = -1;
@@ -27,7 +27,7 @@ const FileUpload = ({ id, label, buttonLabel, instructions, dropzoneDescription,
27
27
  return (_jsx(Svg, { src: error, className: "af-form__file-title-container-icon-error" }));
28
28
  }
29
29
  if (isLoading) {
30
- return _jsx(Loader, { size: 18, border: 2 });
30
+ return _jsx(Spinner, { size: 24 });
31
31
  }
32
32
  return (_jsx(Svg, { src: check, className: "af-form__file-title-container-icon-success" }));
33
33
  };
@@ -0,0 +1,2 @@
1
+ export { Spinner, spinnerVariants, } from "@axa-fr/design-system-apollo-react/lf";
2
+ export type { SpinnerVariants } from "@axa-fr/design-system-apollo-react/lf";
@@ -0,0 +1 @@
1
+ export { Spinner, spinnerVariants, } from "@axa-fr/design-system-apollo-react/lf";
package/dist/index.d.ts CHANGED
@@ -26,7 +26,7 @@ export { ClickItem, ClickList, createClickItemParent } from "./List/ClickList";
26
26
  export { ContentItemDuo } from "./List/ContentItemDuo";
27
27
  export { ContentItemMono, ContentItemMonoSize } from "./List/ContentItemMono";
28
28
  export { ContentTabItem, ContentTabList } from "./List/ContentTabList";
29
- export { Loader } from "./Loader/Loader";
29
+ export { Spinner, type SpinnerVariants, spinnerVariants, } from "./Spinner/Spinner";
30
30
  export { Modal, ModalCore, ModalCoreBody, ModalCoreFooter, ModalCoreHeader, } from "./Modal";
31
31
  export type { ModalCoreBodyProps, ModalCoreFooterProps, ModalCoreHeaderProps, ModalCoreProps, ModalProps, } from "./Modal";
32
32
  export { Pagination } from "./Pagination/Pagination";
package/dist/index.js CHANGED
@@ -25,7 +25,7 @@ export { ClickItem, ClickList, createClickItemParent } from "./List/ClickList";
25
25
  export { ContentItemDuo } from "./List/ContentItemDuo";
26
26
  export { ContentItemMono, ContentItemMonoSize } from "./List/ContentItemMono";
27
27
  export { ContentTabItem, ContentTabList } from "./List/ContentTabList";
28
- export { Loader } from "./Loader/Loader";
28
+ export { Spinner, spinnerVariants, } from "./Spinner/Spinner";
29
29
  export { Modal, ModalCore, ModalCoreBody, ModalCoreFooter, ModalCoreHeader, } from "./Modal";
30
30
  export { Pagination } from "./Pagination/Pagination";
31
31
  export { Skeleton } from "./Skeleton/Skeleton";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axa-fr/design-system-look-and-feel-react",
3
- "version": "1.0.5-ci.109",
3
+ "version": "1.0.5-ci.111",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "homepage": "https://github.com/AxaFrance/design-system#readme",
50
50
  "peerDependencies": {
51
- "@axa-fr/design-system-look-and-feel-css": "1.0.5-ci.109",
51
+ "@axa-fr/design-system-look-and-feel-css": "1.0.5-ci.111",
52
52
  "@material-symbols/svg-400": ">= 0.19.0",
53
53
  "react": ">= 18"
54
54
  },
@@ -1 +0,0 @@
1
- export { Loader } from "@axa-fr/design-system-apollo-react/lf";
@@ -1 +0,0 @@
1
- export { Loader } from "@axa-fr/design-system-apollo-react/lf";