@edifice.io/react 2.5.2-develop-b2school-actualites.20251208165546 → 2.5.2-develop-b2school-actualites.20251208181225

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.
@@ -1,20 +1,18 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { Segmented } from "antd";
3
- import clsx from "clsx";
4
- /* empty css */
5
3
  const SegmentedControl = (props) => {
6
4
  const {
7
5
  options,
8
6
  value,
9
7
  onChange,
10
8
  className
11
- } = props, antProps = {
9
+ } = props;
10
+ return /* @__PURE__ */ jsx(Segmented, { ...{
12
11
  options,
13
12
  value,
14
13
  onChange,
15
- className: clsx("segmented-control-wrapper", className)
16
- };
17
- return /* @__PURE__ */ jsx(Segmented, { ...antProps });
14
+ className
15
+ } });
18
16
  };
19
17
  export {
20
18
  SegmentedControl as default
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .segmented-control-wrapper.ant-segmented{border-radius:var(--edifice-border-radius-xl);--ant-segmented-track-padding: var(--edifice-spacer-4);--ant-control-height: var(--edifice-spacer-48);--ant-control-padding-horizontal: var(--edifice-spacer-8);--ant-line-width: var(--edifice-spacer-0);--ant-segmented-track-bg: var(--edifice-white);border:1px solid var(--edifice-secondary-200)}.segmented-control-wrapper.ant-segmented .ant-segmented-group{gap:var(--edifice-spacer-4)}.segmented-control-wrapper.ant-segmented .ant-segmented-item{border-radius:var(--edifice-border-radius-lg);--ant-segmented-item-color: var(--edifice-body-color)}.segmented-control-wrapper.ant-segmented .ant-segmented-item:hover{--ant-segmented-item-hover-color:var(--edifice-body-color);--ant-segmented-item-hover-bg: var(--edifice-gray-300)}.segmented-control-wrapper.ant-segmented .ant-segmented-item-selected{--ant-segmented-item-selected-bg: var(--edifice-secondary-200);--ant-segmented-item-selected-color: var(--edifice-body-color);box-shadow:none}.segmented-control-wrapper.ant-segmented .ant-segmented-thumb{--ant-segmented-item-selected-bg: var(--edifice-secondary-200);box-shadow:none;border-radius:var(--edifice-border-radius-lg)}:root .edifice{--ant-border-radius: var(--edifice-border-radius)}
1
+ :root .edifice{--ant-border-radius: var(--edifice-border-radius)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edifice.io/react",
3
- "version": "2.5.2-develop-b2school-actualites.20251208165546",
3
+ "version": "2.5.2-develop-b2school-actualites.20251208181225",
4
4
  "description": "Edifice React Library",
5
5
  "keywords": [
6
6
  "react",
@@ -65,8 +65,7 @@
65
65
  "./widgets": {
66
66
  "import": "./dist/widgets.js",
67
67
  "types": "./dist/modules/widgets/index.d.ts"
68
- },
69
- "./dist/style.css": "./dist/style.css"
68
+ }
70
69
  },
71
70
  "module": "dist/index.js",
72
71
  "types": "dist/index.d.ts",
@@ -134,9 +133,9 @@
134
133
  "react-slugify": "^3.0.3",
135
134
  "swiper": "^10.1.0",
136
135
  "ua-parser-js": "^1.0.36",
137
- "@edifice.io/bootstrap": "2.5.2-develop-b2school-actualites.20251208165546",
138
- "@edifice.io/tiptap-extensions": "2.5.2-develop-b2school-actualites.20251208165546",
139
- "@edifice.io/utilities": "2.5.2-develop-b2school-actualites.20251208165546"
136
+ "@edifice.io/bootstrap": "2.5.2-develop-b2school-actualites.20251208181225",
137
+ "@edifice.io/tiptap-extensions": "2.5.2-develop-b2school-actualites.20251208181225",
138
+ "@edifice.io/utilities": "2.5.2-develop-b2school-actualites.20251208181225"
140
139
  },
141
140
  "devDependencies": {
142
141
  "@babel/plugin-transform-react-pure-annotations": "^7.23.3",
@@ -167,8 +166,8 @@
167
166
  "vite": "^5.4.11",
168
167
  "vite-plugin-dts": "^4.1.0",
169
168
  "vite-tsconfig-paths": "^5.0.1",
170
- "@edifice.io/client": "2.5.2-develop-b2school-actualites.20251208165546",
171
- "@edifice.io/config": "2.5.2-develop-b2school-actualites.20251208165546"
169
+ "@edifice.io/client": "2.5.2-develop-b2school-actualites.20251208181225",
170
+ "@edifice.io/config": "2.5.2-develop-b2school-actualites.20251208181225"
172
171
  },
173
172
  "peerDependencies": {
174
173
  "@react-spring/web": "^9.7.5",