@edifice.io/react 2.3.0-develop-pedago.20250909173150 → 2.3.0-develop-pedago.20250910133517

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.
@@ -12,6 +12,7 @@ export interface StepperProps {
12
12
  * Gap between steps in the Stepper.
13
13
  */
14
14
  gap?: '4' | '8' | '12' | '16' | '24' | '32';
15
+ color?: StepperColors;
15
16
  }
16
17
  declare const Stepper: import('react').ForwardRefExoticComponent<StepperProps & import('react').RefAttributes<HTMLDivElement>>;
17
18
  export default Stepper;
@@ -5,10 +5,11 @@ const Stepper = /* @__PURE__ */ forwardRef(({
5
5
  currentStep,
6
6
  nbSteps,
7
7
  gap = "8",
8
+ color = "secondary",
8
9
  ...props
9
10
  }, ref) => /* @__PURE__ */ jsx(Flex, { gap, ref, ...props, children: Array.from({
10
11
  length: nbSteps
11
- }).map((_, index) => /* @__PURE__ */ jsx("div", { className: `rounded step ${index === currentStep ? "bg-secondary step-active" : "bg-secondary-300"}` }, `step-${index}`)) }));
12
+ }).map((_, index) => /* @__PURE__ */ jsx("div", { className: `rounded step ${index === currentStep ? `bg-${color} step-active` : `bg-${color}-300`}` }, `step-${index}`)) }));
12
13
  export {
13
14
  Stepper as default
14
15
  };
@@ -34,9 +34,6 @@ function useEdificeIcons() {
34
34
  case "communautés":
35
35
  appCode = "community";
36
36
  break;
37
- case "communities":
38
- appCode = "community";
39
- break;
40
37
  case "directory.user":
41
38
  appCode = "userbook";
42
39
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edifice.io/react",
3
- "version": "2.3.0-develop-pedago.20250909173150",
3
+ "version": "2.3.0-develop-pedago.20250910133517",
4
4
  "description": "Edifice React Library",
5
5
  "keywords": [
6
6
  "react",
@@ -130,9 +130,9 @@
130
130
  "react-slugify": "^3.0.3",
131
131
  "swiper": "^10.1.0",
132
132
  "ua-parser-js": "^1.0.36",
133
- "@edifice.io/bootstrap": "2.3.0-develop-pedago.20250909173150",
134
- "@edifice.io/tiptap-extensions": "2.3.0-develop-pedago.20250909173150",
135
- "@edifice.io/utilities": "2.3.0-develop-pedago.20250909173150"
133
+ "@edifice.io/bootstrap": "2.3.0-develop-pedago.20250910133517",
134
+ "@edifice.io/utilities": "2.3.0-develop-pedago.20250910133517",
135
+ "@edifice.io/tiptap-extensions": "2.3.0-develop-pedago.20250910133517"
136
136
  },
137
137
  "devDependencies": {
138
138
  "@babel/plugin-transform-react-pure-annotations": "^7.23.3",
@@ -163,8 +163,8 @@
163
163
  "vite": "^5.4.11",
164
164
  "vite-plugin-dts": "^4.1.0",
165
165
  "vite-tsconfig-paths": "^5.0.1",
166
- "@edifice.io/client": "2.3.0-develop-pedago.20250909173150",
167
- "@edifice.io/config": "2.3.0-develop-pedago.20250909173150"
166
+ "@edifice.io/client": "2.3.0-develop-pedago.20250910133517",
167
+ "@edifice.io/config": "2.3.0-develop-pedago.20250910133517"
168
168
  },
169
169
  "peerDependencies": {
170
170
  "@react-spring/web": "^9.7.5",