jamespot-react-components 1.3.112 → 1.3.113

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.
@@ -6606,7 +6606,6 @@ Valid keys: `+JSON.stringify(Object.keys(M),null," "));var L=W(Ae,_,Z,oe,de+"."
6606
6606
  ${e=>e.$maxHeight!==void 0&&`max-height: ${e.$maxHeight}px;`}
6607
6607
  `,aje=b.div`
6608
6608
  position: relative;
6609
- width: ${e=>e.$steps*100}%;
6610
6609
  left: ${e=>-e.$step*100}%;
6611
6610
  display: flex;
6612
6611
  flex: 1;
@@ -6614,7 +6613,8 @@ Valid keys: `+JSON.stringify(Object.keys(M),null," "));var L=W(Ae,_,Z,oe,de+"."
6614
6613
  `,sje=b.div`
6615
6614
  position: relative;
6616
6615
  display: flex;
6617
- width: 100%;
6616
+ flex: 0 0 100%;
6617
+ min-width: 0;
6618
6618
  ${e=>e.$maxHeight!==void 0&&`max-height: ${e.$maxHeight}px;`}
6619
6619
  `,Aje=b.div`
6620
6620
  position: absolute;
@@ -8863,7 +8863,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8863
8863
  :first-letter {
8864
8864
  text-transform: uppercase;
8865
8865
  }
8866
- `,YZe=({label:e,date:t,response:r,totalRespondents:n,context:i,defaultValues:o,onChange:a,onClickRespondents:s,isClosed:A})=>{const[c,d]=p.useState(o?.isChecked??!1),{list:u,total:f,progression:g}=p.useMemo(()=>r?{list:r.list,total:r.total,progression:Math.floor(r.total*100/n)}:{list:[],total:0,progression:0},[r,n]),h=p.useCallback(m=>{d(v=>!v),a(m)},[a]);return l.jsxs(VZe,{$progression:g,$isCheck:!A&&c,children:[l.jsxs(KZe,{onClick:()=>h(t),disabled:A,children:[!A&&l.jsx(_Ze,{$isChecked:c,children:c&&l.jsx(se,{name:"icon-check",size:10,color:"white"})}),l.jsx(qZe,{children:e})]}),!!f&&l.jsx(JZe,{onClick:s,children:l.jsx(GZe,{list:u,total:f})}),!!g&&l.jsxs(XZe,{children:[l.jsx("div",{children:n}),l.jsxs("div",{children:["(",g,"%)"]})]}),i]})},ZZe=b.ul`
8866
+ `,YZe=({label:e,date:t,response:r,totalRespondents:n,context:i,defaultValues:o,onChange:a,onClickRespondents:s,isClosed:A})=>{const[c,d]=p.useState(o?.isChecked??!1),{list:u,total:f,progression:g}=p.useMemo(()=>r?{list:r.list,total:r.total,progression:Math.floor(r.total*100/n)}:{list:[],total:0,progression:0},[r,n]),h=p.useCallback(m=>{d(v=>!v),a(m)},[a]);return l.jsxs(VZe,{$progression:g,$isCheck:!A&&c,children:[l.jsxs(KZe,{onClick:()=>h(t),disabled:A,children:[!A&&l.jsx(_Ze,{$isChecked:c,children:c&&l.jsx(se,{name:"icon-check",size:10,color:"white"})}),l.jsx(qZe,{children:e})]}),!!f&&l.jsx(JZe,{onClick:s,children:l.jsx(GZe,{list:u,total:f})}),!!g&&l.jsxs(XZe,{children:[l.jsx("div",{children:f}),l.jsxs("div",{children:["(",g,"%)"]})]}),i]})},ZZe=b.ul`
8867
8867
  list-style-type: none;
8868
8868
  display: flex;
8869
8869
  flex-direction: column;
@@ -52767,7 +52767,6 @@ const bPe = y.div`
52767
52767
  ${(e) => e.$maxHeight !== void 0 && `max-height: ${e.$maxHeight}px;`}
52768
52768
  `, xPe = y.div`
52769
52769
  position: relative;
52770
- width: ${(e) => e.$steps * 100}%;
52771
52770
  left: ${(e) => -e.$step * 100}%;
52772
52771
  display: flex;
52773
52772
  flex: 1;
@@ -52775,7 +52774,8 @@ const bPe = y.div`
52775
52774
  `, wPe = y.div`
52776
52775
  position: relative;
52777
52776
  display: flex;
52778
- width: 100%;
52777
+ flex: 0 0 100%;
52778
+ min-width: 0;
52779
52779
  ${(e) => e.$maxHeight !== void 0 && `max-height: ${e.$maxHeight}px;`}
52780
52780
  `, CPe = y.div`
52781
52781
  position: absolute;
@@ -78996,7 +78996,7 @@ const $Ze = [
78996
78996
  ] }),
78997
78997
  !!f && /* @__PURE__ */ l.jsx(w$e, { onClick: s, children: /* @__PURE__ */ l.jsx(v$e, { list: u, total: f }) }),
78998
78998
  !!g && /* @__PURE__ */ l.jsxs(b$e, { children: [
78999
- /* @__PURE__ */ l.jsx("div", { children: n }),
78999
+ /* @__PURE__ */ l.jsx("div", { children: f }),
79000
79000
  /* @__PURE__ */ l.jsxs("div", { children: [
79001
79001
  "(",
79002
79002
  g,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-components",
3
- "version": "1.3.112",
3
+ "version": "1.3.113",
4
4
  "description": "",
5
5
  "main": "dist/jamespot-react-components.cjs",
6
6
  "module": "dist/jamespot-react-components.js",
@@ -61,7 +61,7 @@
61
61
  "globals": "^16.5.0",
62
62
  "html2canvas": "^1.4.1",
63
63
  "jamespot-front-business": "^1.3.112",
64
- "jamespot-user-api": "^1.3.112",
64
+ "jamespot-user-api": "^1.3.113",
65
65
  "jsdom": "^26.1.0",
66
66
  "knip": "^5.88.1",
67
67
  "lint-staged": "^16.4.0",