allaw-ui 1.0.30 → 1.0.31

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.
@@ -15,16 +15,16 @@
15
15
  cursor: pointer;
16
16
  transition:
17
17
  background-color 0.05s ease,
18
- transform 0.2s ease;
18
+ transform 0.1s ease;
19
19
  user-select: none;
20
20
  }
21
21
 
22
22
  .appointment-slot:hover {
23
- transform: scale(1.008);
23
+ transform: scale(1.015);
24
24
  }
25
25
 
26
26
  .appointment-slot.active {
27
- background: var(--active-grey, #e9eef5);
27
+ background: var(--grey-light-2);
28
28
  }
29
29
 
30
30
  /* Status-specific styles */
@@ -25,6 +25,7 @@ export interface StepperProps {
25
25
  startIconName?: string;
26
26
  endIconName?: string;
27
27
  onPrimaryButtonClick?: (step: number) => void;
28
+ disabled?: boolean;
28
29
  }[];
29
30
  showProgressBar?: boolean[];
30
31
  onClose?: () => void;
@@ -115,7 +115,7 @@ var Stepper = function (_a) {
115
115
  (currentSecondaryButton === null || currentSecondaryButton === void 0 ? void 0 : currentSecondaryButton.show) && (React.createElement("div", { className: "stepper-button-container secondary-button-container" },
116
116
  React.createElement(SecondaryButton, { fullWidth: true, label: currentSecondaryButton.label, startIcon: currentSecondaryButton.startIconName ? true : undefined, endIcon: currentSecondaryButton.endIconName ? true : undefined, startIconName: currentSecondaryButton.startIconName, endIconName: currentSecondaryButton.endIconName, onClick: function () { var _a; return (_a = currentSecondaryButton.onSecondaryButtonClick) === null || _a === void 0 ? void 0 : _a.call(currentSecondaryButton, step); } }))),
117
117
  (currentPrimaryButton === null || currentPrimaryButton === void 0 ? void 0 : currentPrimaryButton.show) && (React.createElement("div", { className: "stepper-button-container primary-button-container" },
118
- React.createElement(PrimaryButton, { fullWidth: true, label: currentPrimaryButton.label, startIcon: currentPrimaryButton.startIconName ? true : undefined, endIcon: currentPrimaryButton.endIconName ? true : undefined, startIconName: currentPrimaryButton.startIconName, endIconName: currentPrimaryButton.endIconName, onClick: handleNext })))))));
118
+ React.createElement(PrimaryButton, { fullWidth: true, label: currentPrimaryButton.label, startIcon: currentPrimaryButton.startIconName ? true : undefined, endIcon: currentPrimaryButton.endIconName ? true : undefined, startIconName: currentPrimaryButton.startIconName, endIconName: currentPrimaryButton.endIconName, disabled: currentPrimaryButton.disabled, onClick: handleNext })))))));
119
119
  return portalContainerRef.current && isVisible
120
120
  ? ReactDOM.createPortal(stepperContent, portalContainerRef.current)
121
121
  : null;
@@ -10,6 +10,7 @@
10
10
  --grey-venom: #e6edf5;
11
11
  --venom-grey-dark: #d1dce8;
12
12
  --grey-light: #f6fcfe;
13
+ --grey-light-2: #f2f8fc;
13
14
  --active-grey: #e9eef5;
14
15
  --blue-lightning: #f6fcfe;
15
16
  --fond-de-selection: #f6fcfe;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",