allaw-ui 5.0.5 → 5.0.7

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.
@@ -117,7 +117,7 @@ var AppointmentSlot = function (_a) {
117
117
  }
118
118
  };
119
119
  if (style === "summary") {
120
- return (React.createElement("div", { className: "".concat(styles.summary, " ").concat(styles[status]) },
120
+ return (React.createElement("div", { className: "".concat(styles.summary, " ").concat(styles[status], " ").concat(isActive ? styles.active : ""), onMouseDown: handleMouseDown, onMouseUp: handleMouseUp, onMouseLeave: handleMouseUp, onClick: handleClick },
121
121
  React.createElement("div", { className: styles.appointmentHeader },
122
122
  React.createElement("div", { className: styles.dateTimeContainer },
123
123
  React.createElement("span", { className: styles.summaryDate }, date),
@@ -309,6 +309,17 @@
309
309
  border-radius: 16px;
310
310
  background: #fff;
311
311
  box-shadow: 0px 1px 9px 0px rgba(15, 133, 168, 0.08);
312
+ cursor: pointer;
313
+ transition: background-color 0.05s ease, transform 0.1s ease;
314
+ user-select: none;
315
+ }
316
+
317
+ .summary:hover {
318
+ transform: scale(1.015);
319
+ }
320
+
321
+ .summary.active {
322
+ background: #f4f7fb;
312
323
  }
313
324
 
314
325
  .summary .appointmentHeader {
package/dist/index.d.ts CHANGED
@@ -52,6 +52,7 @@ export { default as BorderRadius } from "./components/atoms/uiVariables/BorderRa
52
52
  export { default as Shadows } from "./components/atoms/uiVariables/Shadows";
53
53
  export { default as Strokes } from "./components/atoms/uiVariables/Strokes";
54
54
  export { default as AppointmentSlot } from "./components/molecules/appointmentSlot/AppointmentSlot";
55
+ export type { AppointmentSlotProps } from "./components/molecules/appointmentSlot/AppointmentSlot";
55
56
  export { default as BillingCount } from "./components/molecules/billingCount/BillingCount";
56
57
  export { default as CaseCard } from "./components/molecules/caseCard/CaseCard";
57
58
  export { default as ContactCard } from "./components/molecules/contactCard/ContactCard";
@@ -134,4 +135,4 @@ export type { AiTextProps } from "./components/molecules/AiText/aiText";
134
135
  export { default as Notification } from "./components/molecules/notification/Notification";
135
136
  export type { NotificationProps } from "./components/molecules/notification/Notification";
136
137
  export { default as Section } from "./components/molecules/section/Section";
137
- export type { SectionProps, SectionAction } from "./components/molecules/section/Section";
138
+ export type { SectionProps, SectionAction, } from "./components/molecules/section/Section";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "5.0.5",
3
+ "version": "5.0.7",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",