@edifice.io/react 2.1.2-develop-pedago.20250304150740 → 2.1.2-develop-pedago.20250304154006

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.
@@ -59,8 +59,10 @@ declare const Card: import('react').ForwardRefExoticComponent<CardProps & import
59
59
  displayName: string;
60
60
  };
61
61
  Body: {
62
- ({ children, space, flexDirection, }: {
62
+ ({ children, gap, space, padding, flexDirection, }: {
63
+ gap?: "0" | "8" | "16" | null;
63
64
  space?: "0" | "8" | "16" | null;
65
+ padding?: "0" | "8" | "16" | null;
64
66
  flexDirection?: "row" | "column" | null;
65
67
  children: ReactNode;
66
68
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,9 @@
1
1
  import { ReactNode } from 'react';
2
2
  declare const CardBody: {
3
- ({ children, space, flexDirection, }: {
3
+ ({ children, gap, space, padding, flexDirection, }: {
4
+ gap?: "0" | "8" | "16" | null;
4
5
  space?: "0" | "8" | "16" | null;
6
+ padding?: "0" | "8" | "16" | null;
5
7
  flexDirection?: "row" | "column" | null;
6
8
  children: ReactNode;
7
9
  }): import("react/jsx-runtime").JSX.Element;
@@ -2,12 +2,14 @@ import { jsx } from "react/jsx-runtime";
2
2
  import clsx from "clsx";
3
3
  const CardBody = ({
4
4
  children,
5
+ gap = null,
5
6
  space = null,
7
+ padding = null,
6
8
  flexDirection = "row"
7
9
  }) => {
8
10
  const cardbody = clsx("card-body", {
9
- [`p-${space}`]: space,
10
- [`gap-${space}`]: space,
11
+ [`p-${padding ?? space}`]: space,
12
+ [`gap-${gap ?? space}`]: space,
11
13
  "align-items-start": flexDirection === "column",
12
14
  "flex-column": flexDirection === "column"
13
15
  });
@@ -3,7 +3,7 @@ export interface DropdownTriggerProps extends React.ComponentPropsWithRef<'butto
3
3
  /**
4
4
  * Dropdown trigger title
5
5
  */
6
- label?: string;
6
+ label?: React.ReactNode;
7
7
  /**
8
8
  * Add an icon in dropdown trigger
9
9
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edifice.io/react",
3
- "version": "2.1.2-develop-pedago.20250304150740",
3
+ "version": "2.1.2-develop-pedago.20250304154006",
4
4
  "description": "Edifice React Library",
5
5
  "keywords": [
6
6
  "react",
@@ -118,9 +118,9 @@
118
118
  "react-slugify": "^3.0.3",
119
119
  "swiper": "^10.1.0",
120
120
  "ua-parser-js": "^1.0.36",
121
- "@edifice.io/bootstrap": "2.1.2-develop-pedago.20250304150740",
122
- "@edifice.io/tiptap-extensions": "2.1.2-develop-pedago.20250304150740",
123
- "@edifice.io/utilities": "2.1.2-develop-pedago.20250304150740"
121
+ "@edifice.io/bootstrap": "2.1.2-develop-pedago.20250304154006",
122
+ "@edifice.io/tiptap-extensions": "2.1.2-develop-pedago.20250304154006",
123
+ "@edifice.io/utilities": "2.1.2-develop-pedago.20250304154006"
124
124
  },
125
125
  "devDependencies": {
126
126
  "@babel/plugin-transform-react-pure-annotations": "^7.23.3",
@@ -151,8 +151,8 @@
151
151
  "vite": "^5.4.11",
152
152
  "vite-plugin-dts": "^4.1.0",
153
153
  "vite-tsconfig-paths": "^5.0.1",
154
- "@edifice.io/client": "2.1.2-develop-pedago.20250304150740",
155
- "@edifice.io/config": "2.1.2-develop-pedago.20250304150740"
154
+ "@edifice.io/client": "2.1.2-develop-pedago.20250304154006",
155
+ "@edifice.io/config": "2.1.2-develop-pedago.20250304154006"
156
156
  },
157
157
  "peerDependencies": {
158
158
  "@react-spring/web": "^9.7.5",