@axa-fr/design-system-apollo-react 1.0.3-ci.127 → 1.0.3-ci.129

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.
@@ -0,0 +1,5 @@
1
+ import "@axa-fr/design-system-apollo-css/dist/Grid/DebugGrid.scss";
2
+ export declare const DebugGrid: ({ cols, isCheckedByDefault, }: {
3
+ cols?: number;
4
+ isCheckedByDefault?: boolean;
5
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import "@axa-fr/design-system-apollo-css/dist/Grid/DebugGrid.scss";
3
+ import { useState } from "react";
4
+ export const DebugGrid = ({ cols = 12, isCheckedByDefault = false, }) => {
5
+ const [checked, setChecked] = useState(isCheckedByDefault);
6
+ const handleChecked = () => setChecked(!checked);
7
+ return (_jsxs(_Fragment, { children: [_jsx("div", { className: "af-checkbox af-checkbox-select af-checkbox-select--debuggrid", children: _jsxs("label", { htmlFor: "debuggrid", children: [_jsx("input", { type: "checkbox", className: "af-checkbox af-checkbox-select af-checkbox-select--debuggrid", name: "debuggrid", checked: checked, onClick: handleChecked, id: "debuggrid" }), "Grid"] }) }), _jsx("div", { className: "debug-grid", children: _jsx("div", { className: "grid", children: [...Array(cols).keys()].map((col) => (_jsx("div", { className: "cols" }, col))) }) })] }));
8
+ };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import "@axa-fr/design-system-apollo-css/dist/common/tokens.scss";
2
+ import "@axa-fr/design-system-apollo-css/dist/Grid/Grid.scss";
2
3
  import "@fontsource/source-sans-pro";
3
4
  export { Button, buttonVariants, type ButtonVariants, } from "./Button/ButtonApollo";
4
5
  export { Svg } from "./Svg/Svg";
5
6
  export { Spinner, spinnerVariants, type SpinnerVariants, } from "./Spinner/SpinnerApollo";
7
+ export { DebugGrid } from "./Grid/DebugGrid";
package/dist/index.js CHANGED
@@ -1,5 +1,7 @@
1
1
  import "@axa-fr/design-system-apollo-css/dist/common/tokens.scss";
2
+ import "@axa-fr/design-system-apollo-css/dist/Grid/Grid.scss";
2
3
  import "@fontsource/source-sans-pro";
3
4
  export { Button, buttonVariants, } from "./Button/ButtonApollo";
4
5
  export { Svg } from "./Svg/Svg";
5
6
  export { Spinner, spinnerVariants, } from "./Spinner/SpinnerApollo";
7
+ export { DebugGrid } from "./Grid/DebugGrid";
package/dist/indexLF.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import "@axa-fr/design-system-look-and-feel-css/dist/common/tokens.scss";
2
+ import "@axa-fr/design-system-apollo-css/dist/Grid/Grid.scss";
2
3
  import "@fontsource/source-sans-pro";
3
4
  export { Button, buttonVariants, type ButtonVariants } from "./Button/ButtonLF";
4
5
  export { Svg } from "./Svg/Svg";
5
6
  export { Spinner, spinnerVariants, type SpinnerVariants, } from "./Spinner/SpinnerLF";
7
+ export { DebugGrid } from "./Grid/DebugGrid";
package/dist/indexLF.js CHANGED
@@ -1,5 +1,7 @@
1
1
  import "@axa-fr/design-system-look-and-feel-css/dist/common/tokens.scss";
2
+ import "@axa-fr/design-system-apollo-css/dist/Grid/Grid.scss";
2
3
  import "@fontsource/source-sans-pro";
3
4
  export { Button, buttonVariants } from "./Button/ButtonLF";
4
5
  export { Svg } from "./Svg/Svg";
5
6
  export { Spinner, spinnerVariants, } from "./Spinner/SpinnerLF";
7
+ export { DebugGrid } from "./Grid/DebugGrid";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axa-fr/design-system-apollo-react",
3
- "version": "1.0.3-ci.127",
3
+ "version": "1.0.3-ci.129",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -49,7 +49,7 @@
49
49
  "peerDependencies": {
50
50
  "@material-symbols/svg-400": ">= 0.19.0",
51
51
  "react": ">= 18",
52
- "@axa-fr/design-system-apollo-css": "1.0.3-ci.127"
52
+ "@axa-fr/design-system-apollo-css": "1.0.3-ci.129"
53
53
  },
54
54
  "peerDependenciesMeta": {
55
55
  "@material-symbols/svg-400": {