@anoki/fse-ui 1.0.525 → 1.0.527

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.
Files changed (191) hide show
  1. package/dist/components/ui/TabsGlossary/TabsGlossary.css +1 -1
  2. package/dist/index.cjs106.js +1 -1
  3. package/dist/index.cjs16.js +1 -1
  4. package/dist/index.cjs161.js +1 -1
  5. package/dist/index.cjs161.js.map +1 -1
  6. package/dist/index.cjs162.js +1 -1
  7. package/dist/index.cjs162.js.map +1 -1
  8. package/dist/index.cjs166.js +1 -1
  9. package/dist/index.cjs166.js.map +1 -1
  10. package/dist/index.cjs175.js +1 -1
  11. package/dist/index.cjs175.js.map +1 -1
  12. package/dist/index.cjs179.js +1 -1
  13. package/dist/index.cjs179.js.map +1 -1
  14. package/dist/index.cjs18.js +1 -1
  15. package/dist/index.cjs208.js +1 -1
  16. package/dist/index.cjs213.js +1 -1
  17. package/dist/index.cjs219.js +1 -1
  18. package/dist/index.cjs237.js +1 -1
  19. package/dist/index.cjs238.js +1 -1
  20. package/dist/index.cjs24.js +1 -1
  21. package/dist/index.cjs242.js +1 -1
  22. package/dist/index.cjs247.js +1 -1
  23. package/dist/index.cjs249.js +1 -1
  24. package/dist/index.cjs25.js +1 -1
  25. package/dist/index.cjs257.js +1 -1
  26. package/dist/index.cjs259.js +2 -2
  27. package/dist/index.cjs259.js.map +1 -1
  28. package/dist/index.cjs26.js +1 -1
  29. package/dist/index.cjs27.js +1 -1
  30. package/dist/index.cjs30.js +1 -1
  31. package/dist/index.cjs309.js +1 -1
  32. package/dist/index.cjs316.js +2 -2
  33. package/dist/index.cjs317.js +12 -3
  34. package/dist/index.cjs317.js.map +1 -1
  35. package/dist/index.cjs32.js +1 -1
  36. package/dist/index.cjs326.js +1 -1
  37. package/dist/index.cjs327.js +1 -1
  38. package/dist/index.cjs33.js +1 -1
  39. package/dist/index.cjs33.js.map +1 -1
  40. package/dist/index.cjs330.js +1 -1
  41. package/dist/index.cjs330.js.map +1 -1
  42. package/dist/index.cjs340.js +1 -1
  43. package/dist/index.cjs344.js +1 -1
  44. package/dist/index.cjs345.js +1 -1
  45. package/dist/index.cjs346.js +1 -1
  46. package/dist/index.cjs349.js +1 -1
  47. package/dist/index.cjs35.js +1 -1
  48. package/dist/index.cjs351.js +1 -1
  49. package/dist/index.cjs353.js +1 -1
  50. package/dist/{index.cjs354.js → index.cjs365.js} +1 -1
  51. package/dist/{index.cjs354.js.map → index.cjs365.js.map} +1 -1
  52. package/dist/index.cjs366.js +2 -0
  53. package/dist/{index.cjs355.js.map → index.cjs366.js.map} +1 -1
  54. package/dist/index.cjs367.js +2 -0
  55. package/dist/{index.cjs356.js.map → index.cjs367.js.map} +1 -1
  56. package/dist/index.cjs37.js +1 -1
  57. package/dist/index.cjs372.js +1 -1
  58. package/dist/index.cjs372.js.map +1 -1
  59. package/dist/index.cjs373.js +1 -1
  60. package/dist/index.cjs373.js.map +1 -1
  61. package/dist/index.cjs374.js +1 -4
  62. package/dist/index.cjs374.js.map +1 -1
  63. package/dist/index.cjs375.js +4 -1
  64. package/dist/index.cjs375.js.map +1 -1
  65. package/dist/index.cjs376.js +1 -1
  66. package/dist/index.cjs376.js.map +1 -1
  67. package/dist/index.cjs377.js +1 -1
  68. package/dist/index.cjs377.js.map +1 -1
  69. package/dist/index.cjs378.js +1 -1
  70. package/dist/index.cjs378.js.map +1 -1
  71. package/dist/index.cjs379.js +2 -0
  72. package/dist/index.cjs379.js.map +1 -0
  73. package/dist/index.cjs380.js +3 -3
  74. package/dist/index.cjs384.js +1 -1
  75. package/dist/index.cjs390.js +1 -1
  76. package/dist/index.cjs394.js +1 -1
  77. package/dist/index.cjs394.js.map +1 -1
  78. package/dist/index.cjs397.js +1 -1
  79. package/dist/index.cjs397.js.map +1 -1
  80. package/dist/index.cjs399.js +1 -1
  81. package/dist/index.cjs403.js +1 -1
  82. package/dist/index.cjs403.js.map +1 -1
  83. package/dist/index.cjs405.js +1 -1
  84. package/dist/index.cjs47.js +1 -1
  85. package/dist/index.cjs68.js +1 -1
  86. package/dist/index.cjs69.js +1 -1
  87. package/dist/index.es106.js +17 -17
  88. package/dist/index.es16.js +18 -18
  89. package/dist/index.es161.js +71 -76
  90. package/dist/index.es161.js.map +1 -1
  91. package/dist/index.es162.js +1 -11
  92. package/dist/index.es162.js.map +1 -1
  93. package/dist/index.es163.js +2 -2
  94. package/dist/index.es164.js +24 -24
  95. package/dist/index.es166.js +58 -63
  96. package/dist/index.es166.js.map +1 -1
  97. package/dist/index.es171.js +1 -1
  98. package/dist/index.es175.js +26 -29
  99. package/dist/index.es175.js.map +1 -1
  100. package/dist/index.es179.js +15 -18
  101. package/dist/index.es179.js.map +1 -1
  102. package/dist/index.es18.js +22 -22
  103. package/dist/index.es208.js +16 -16
  104. package/dist/index.es212.js +24 -24
  105. package/dist/index.es213.js +10 -10
  106. package/dist/index.es237.js +1 -1
  107. package/dist/index.es238.js +1 -1
  108. package/dist/index.es24.js +4 -4
  109. package/dist/index.es242.js +1 -1
  110. package/dist/index.es247.js +1 -1
  111. package/dist/index.es249.js +1 -1
  112. package/dist/index.es25.js +38 -38
  113. package/dist/index.es257.js +25 -25
  114. package/dist/index.es259.js +22 -22
  115. package/dist/index.es259.js.map +1 -1
  116. package/dist/index.es26.js +21 -21
  117. package/dist/index.es27.js +2 -2
  118. package/dist/index.es296.js +9 -9
  119. package/dist/index.es30.js +6 -6
  120. package/dist/index.es309.js +3 -3
  121. package/dist/index.es316.js +20 -20
  122. package/dist/index.es317.js +298 -137
  123. package/dist/index.es317.js.map +1 -1
  124. package/dist/index.es32.js +4 -4
  125. package/dist/index.es325.js +14 -14
  126. package/dist/index.es326.js +40 -40
  127. package/dist/index.es327.js +10 -10
  128. package/dist/index.es329.js +75 -75
  129. package/dist/index.es329.js.map +1 -1
  130. package/dist/index.es33.js +40 -32
  131. package/dist/index.es33.js.map +1 -1
  132. package/dist/index.es330.js +7 -7
  133. package/dist/index.es330.js.map +1 -1
  134. package/dist/index.es337.js +4 -4
  135. package/dist/index.es338.js +7 -7
  136. package/dist/index.es341.js +9 -9
  137. package/dist/index.es345.js +23 -23
  138. package/dist/index.es346.js +3 -3
  139. package/dist/index.es349.js +9 -9
  140. package/dist/index.es35.js +14 -14
  141. package/dist/index.es351.js +8 -8
  142. package/dist/index.es353.js +126 -126
  143. package/dist/{index.es354.js → index.es365.js} +1 -1
  144. package/dist/{index.es354.js.map → index.es365.js.map} +1 -1
  145. package/dist/{index.es355.js → index.es366.js} +14 -14
  146. package/dist/{index.es355.js.map → index.es366.js.map} +1 -1
  147. package/dist/index.es367.js +8 -0
  148. package/dist/{index.es356.js.map → index.es367.js.map} +1 -1
  149. package/dist/index.es37.js +6 -6
  150. package/dist/index.es372.js +5 -3
  151. package/dist/index.es372.js.map +1 -1
  152. package/dist/index.es373.js +3 -24
  153. package/dist/index.es373.js.map +1 -1
  154. package/dist/index.es374.js +22 -108
  155. package/dist/index.es374.js.map +1 -1
  156. package/dist/index.es375.js +108 -14
  157. package/dist/index.es375.js.map +1 -1
  158. package/dist/index.es376.js +14 -521
  159. package/dist/index.es376.js.map +1 -1
  160. package/dist/index.es377.js +509 -113
  161. package/dist/index.es377.js.map +1 -1
  162. package/dist/index.es378.js +121 -123
  163. package/dist/index.es378.js.map +1 -1
  164. package/dist/index.es379.js +132 -0
  165. package/dist/index.es379.js.map +1 -0
  166. package/dist/index.es380.js +16 -16
  167. package/dist/index.es384.js +1 -1
  168. package/dist/index.es394.js +2 -2
  169. package/dist/index.es394.js.map +1 -1
  170. package/dist/index.es397.js +34 -34
  171. package/dist/index.es397.js.map +1 -1
  172. package/dist/index.es399.js +2 -2
  173. package/dist/index.es399.js.map +1 -1
  174. package/dist/index.es403.js +2 -2
  175. package/dist/index.es403.js.map +1 -1
  176. package/dist/index.es47.js +2 -2
  177. package/dist/index.es5.js +4 -4
  178. package/dist/index.es65.js +44 -44
  179. package/dist/index.es68.js +25 -25
  180. package/dist/index.es69.js +23 -23
  181. package/dist/index.es98.js +12 -12
  182. package/package.json +1 -1
  183. package/dist/index.cjs355.js +0 -2
  184. package/dist/index.cjs356.js +0 -2
  185. package/dist/index.cjs371.js +0 -2
  186. package/dist/index.cjs371.js.map +0 -1
  187. package/dist/index.es356.js +0 -8
  188. package/dist/index.es371.js +0 -8
  189. package/dist/index.es371.js.map +0 -1
  190. /package/dist/components/ui/{ConsentModal/ConsentModalContent/ConsentModalContent.css → DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css} +0 -0
  191. /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
@@ -1,22 +1,22 @@
1
1
  import { j as i } from "./index.es180.js";
2
- import { clsx as h } from "./index.es182.js";
2
+ import { clsx as v } from "./index.es182.js";
3
3
  import { useRef as k, useEffect as N } from "react";
4
- import { DatePicker as x } from "./index.es68.js";
4
+ import { DatePicker as f } from "./index.es68.js";
5
5
  import { Row as $ } from "./index.es9.js";
6
6
  const E = ({
7
7
  label: l,
8
- startDateLabel: f = "Start Date",
9
- endDateLabel: p = "End Date",
8
+ startDateLabel: x = "Start Date",
9
+ endDateLabel: d = "End Date",
10
10
  startDate: t,
11
11
  endDate: c,
12
- className: d,
12
+ className: p,
13
13
  disabled: u = !1,
14
- required: o = !1,
14
+ required: n = !1,
15
15
  error: a,
16
- onStartDateChange: n,
16
+ onStartDateChange: o,
17
17
  onEndDateChange: m,
18
18
  onStartDateClick: b,
19
- onEndDateClick: v
19
+ onEndDateClick: j
20
20
  }) => {
21
21
  const r = k(null), s = l ? `datepicker-range-${l.toLowerCase().replace(/\s+/g, "-")}` : "datepicker-range";
22
22
  N(() => {
@@ -25,48 +25,48 @@ const E = ({
25
25
  `${s}-error`
26
26
  )) : r.current && (r.current.setAttribute("aria-invalid", "false"), r.current.removeAttribute("aria-describedby"));
27
27
  }, [a, s]);
28
- const j = (e) => {
29
- c && e > c ? (n(e), m(e)) : n(e);
30
- }, g = (e) => {
31
- t && e < t && n(e), m(e);
28
+ const g = (e) => {
29
+ c && e > c ? (o(e), m(e)) : o(e);
30
+ }, h = (e) => {
31
+ t && e < t && o(e), m(e);
32
32
  };
33
33
  return /* @__PURE__ */ i.jsxs(
34
34
  "div",
35
35
  {
36
36
  ref: r,
37
- className: h("base-col gap-x8", d),
37
+ className: v("base-col gap-x8", p),
38
38
  role: "group",
39
39
  "aria-labelledby": l ? `${s}-label` : void 0,
40
40
  "aria-describedby": a ? `${s}-error` : void 0,
41
41
  children: [
42
42
  l && /* @__PURE__ */ i.jsxs("label", { id: `${s}-label`, className: "text-sm text-dark", children: [
43
43
  l,
44
- o && /* @__PURE__ */ i.jsx("span", { className: "text-error ml-1", "aria-hidden": "true", children: "*" })
44
+ n && /* @__PURE__ */ i.jsx("span", { className: "text-error ml-1", "aria-hidden": "true", children: "*" })
45
45
  ] }),
46
46
  /* @__PURE__ */ i.jsxs($, { gap: "x16", role: "group", children: [
47
47
  /* @__PURE__ */ i.jsx(
48
- x,
48
+ f,
49
49
  {
50
- label: f,
50
+ label: x,
51
51
  value: t,
52
52
  maxValue: c,
53
53
  disabled: u,
54
- required: o,
55
- onChange: j,
54
+ required: n,
55
+ onChange: g,
56
56
  onClick: b,
57
57
  className: "flex-1"
58
58
  }
59
59
  ),
60
60
  /* @__PURE__ */ i.jsx(
61
- x,
61
+ f,
62
62
  {
63
- label: p,
63
+ label: d,
64
64
  value: c,
65
65
  minValue: t,
66
66
  disabled: u,
67
- required: o,
68
- onChange: g,
69
- onClick: v,
67
+ required: n,
68
+ onChange: h,
69
+ onClick: j,
70
70
  className: "flex-1"
71
71
  }
72
72
  )
@@ -5,19 +5,19 @@ import { Root as u, Indicator as g } from "./index.es219.js";
5
5
  import { Row as t } from "./index.es9.js";
6
6
  import { Col as r } from "./index.es10.js";
7
7
  const y = ({
8
- id: a,
9
- isSelected: i,
8
+ id: n,
9
+ isSelected: a,
10
10
  title: d,
11
11
  subtitle: x,
12
- region: n,
12
+ region: i,
13
13
  relation: l,
14
14
  isMe: s = !1,
15
15
  showRegion: o = !1,
16
16
  setSelectedCard: h = () => {
17
17
  },
18
- className: p
18
+ className: f
19
19
  }) => {
20
- const f = w(null), m = (c) => c.charAt(0).toUpperCase() + c.slice(1), j = () => /* @__PURE__ */ e.jsx(
20
+ const p = w(null), m = (c) => c.charAt(0).toUpperCase() + c.slice(1), j = () => /* @__PURE__ */ e.jsx(
21
21
  "svg",
22
22
  {
23
23
  width: "14",
@@ -46,18 +46,18 @@ const y = ({
46
46
  gap: "x16",
47
47
  bg: "white",
48
48
  text: "slate-20",
49
- ref: f,
50
- className: `${p} ${i ? "ui-is-active" : ""} ui-card-delegate shadow cursor-pointer`,
49
+ ref: p,
50
+ className: `${f} ${a ? "ui-is-active" : ""} ui-card-delegate shadow cursor-pointer`,
51
51
  onClick: () => {
52
- h(a);
52
+ h(n);
53
53
  },
54
54
  style: { width: "100%" },
55
55
  children: [
56
56
  /* @__PURE__ */ e.jsx(
57
57
  u,
58
58
  {
59
- id: a,
60
- checked: i,
59
+ id: n,
60
+ checked: a,
61
61
  className: "ui-checkbox-filter",
62
62
  children: /* @__PURE__ */ e.jsx(g, { children: /* @__PURE__ */ e.jsx(j, {}) })
63
63
  }
@@ -86,9 +86,9 @@ const y = ({
86
86
  /* @__PURE__ */ e.jsx("div", { className: "fw-bold", children: "Relazione con il delegante" }),
87
87
  /* @__PURE__ */ e.jsx("p", { className: "fw-normal", children: l })
88
88
  ] }),
89
- o && n && /* @__PURE__ */ e.jsxs(r, { pr: "x104", gap: "x4", children: [
89
+ o && i && /* @__PURE__ */ e.jsxs(r, { pr: "x104", gap: "x4", children: [
90
90
  /* @__PURE__ */ e.jsx("div", { className: "fw-bold", children: "Regione di assistenza" }),
91
- /* @__PURE__ */ e.jsx("p", { className: "fw-normal", children: m(n) })
91
+ /* @__PURE__ */ e.jsx("p", { className: "fw-normal", children: m(i) })
92
92
  ] })
93
93
  ] })
94
94
  ] }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anoki/fse-ui",
3
- "version": "1.0.525",
3
+ "version": "1.0.527",
4
4
  "description": "FSE UI components library",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs354.js"),j=require("react"),f=require("./index.cjs371.js"),k=require("./index.cjs372.js"),q=require("./index.cjs373.js");function B(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,l.get?l:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const a=B(j);var o=function(){},s=a.forwardRef(function(e,n){var r=a.useRef(null),l=a.useState({onScrollCapture:o,onWheelCapture:o,onTouchMoveCapture:o}),m=l[0],g=l[1],v=e.forwardProps,c=e.children,h=e.className,_=e.removeScrollBar,b=e.enabled,C=e.shards,S=e.sideCar,P=e.noIsolation,R=e.inert,w=e.allowPinchZoom,i=e.as,M=i===void 0?"div":i,N=e.gapMode,y=t.__rest(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),O=S,d=q.useMergeRefs([r,n]),u=t.__assign(t.__assign({},y),m);return a.createElement(a.Fragment,null,b&&a.createElement(O,{sideCar:k.effectCar,removeScrollBar:_,shards:C,noIsolation:P,inert:R,setCallbacks:g,allowPinchZoom:!!w,lockRef:r,gapMode:N}),v?a.cloneElement(a.Children.only(c),t.__assign(t.__assign({},u),{ref:d})):a.createElement(M,t.__assign({},u,{className:h,ref:d}),c))});s.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};s.classNames={fullWidth:f.fullWidthClassName,zeroRight:f.zeroRightClassName};exports.RemoveScroll=s;
2
- //# sourceMappingURL=index.cjs355.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const e=require("./index.cjs374.js"),r=require("./index.cjs372.js"),t=require("./index.cjs375.js"),c=t.exportSidecar(r.effectCar,e.RemoveScrollSideCar);module.exports=c;
2
- //# sourceMappingURL=index.cjs356.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r="right-scroll-bar-position",a="width-before-scroll-bar",e="with-scroll-bars-hidden",l="--removed-body-scroll-bar-size";exports.fullWidthClassName=a;exports.noScrollbarsClassName=e;exports.removedBarSizeVariable=l;exports.zeroRightClassName=r;
2
- //# sourceMappingURL=index.cjs371.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs371.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":["zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable"],"mappings":"gFAAU,IAACA,EAAqB,4BACrBC,EAAqB,0BACrBC,EAAwB,0BAKxBC,EAAyB","x_google_ignoreList":[0]}
@@ -1,8 +0,0 @@
1
- import { RemoveScrollSideCar as r } from "./index.es374.js";
2
- import { effectCar as o } from "./index.es372.js";
3
- import { exportSidecar as e } from "./index.es375.js";
4
- const f = e(o, r);
5
- export {
6
- f as default
7
- };
8
- //# sourceMappingURL=index.es356.js.map
@@ -1,8 +0,0 @@
1
- var r = "right-scroll-bar-position", a = "width-before-scroll-bar", l = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
2
- export {
3
- a as fullWidthClassName,
4
- l as noScrollbarsClassName,
5
- e as removedBarSizeVariable,
6
- r as zeroRightClassName
7
- };
8
- //# sourceMappingURL=index.es371.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es371.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":["zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable"],"mappings":"AAAU,IAACA,IAAqB,6BACrBC,IAAqB,2BACrBC,IAAwB,2BAKxBC,IAAyB;","x_google_ignoreList":[0]}