allaw-ui 1.0.29 → 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.
@@ -33,6 +33,11 @@
33
33
  color: var(--Tags-Mid-grey, var(--light-grey, #728ea7));
34
34
  }
35
35
 
36
+ .tab-navigation.normal .tab-item.inactive:hover {
37
+ border-bottom: 3px solid var(--venom-grey-dark, #d1dce8);
38
+ color: var(--Tags-Mid-grey, var(--dark-grey, #456073));
39
+ }
40
+
36
41
  /* Style round */
37
42
  .tab-navigation.tab-navigation--round {
38
43
  padding: 4px;
@@ -8,9 +8,9 @@
8
8
  border: none;
9
9
  background: none;
10
10
  cursor: pointer;
11
- transition:
11
+ /* transition:
12
12
  color 0.15s,
13
- border-bottom 0.15s; /* Ajout de la transition de 0.15s */
13
+ border-bottom 0.15s; */
14
14
  }
15
15
 
16
16
  .tertiary-button-default {
@@ -20,7 +20,7 @@
20
20
 
21
21
  .tertiary-button-default:hover {
22
22
  color: var(--primary-black, #171e25);
23
- border-bottom: none; /* Suppression de la border-bottom au hover */
23
+ border-bottom: none;
24
24
  }
25
25
 
26
26
  .tertiary-button-variant {
@@ -30,7 +30,12 @@
30
30
  }
31
31
 
32
32
  .tertiary-button-variant:hover {
33
- color: var(--Primary-Dark-grey, var(--dark-grey, #456073));
33
+ color: var(--Primary-Dark-grey, var(--noir, #171e25));
34
+ }
35
+
36
+ .tertiary-button-variant:hover .tertiary-button-icon,
37
+ .tertiary-button-variant:hover .tertiary-button-label {
38
+ color: var(--Primary-Dark-grey, var(--noir, #171e25));
34
39
  }
35
40
 
36
41
  .tertiary-button-icon {
@@ -40,6 +45,8 @@
40
45
  width: 16px;
41
46
  height: 16px;
42
47
  padding: 3.333px;
48
+ color: inherit;
49
+ /* transition: color 0.15s; */
43
50
  }
44
51
 
45
52
  .tertiary-button-label {
@@ -48,16 +55,18 @@
48
55
  font-style: normal;
49
56
  line-height: normal;
50
57
  letter-spacing: 0em;
58
+ color: inherit;
59
+ /* transition: color 0.15s; */
51
60
  }
52
61
 
53
62
  /* Styles spécifiques pour variant=false */
54
63
  .tertiary-button-default .tertiary-button-label {
55
- font-weight: 700; /* Bold */
64
+ font-weight: 700;
56
65
  color: var(--Primary-Mid-black, var(--primary-black, #171e25));
57
66
  }
58
67
 
59
68
  /* Styles spécifiques pour variant=true */
60
69
  .tertiary-button-variant .tertiary-button-label {
61
- font-weight: 400; /* Normal */
70
+ font-weight: 400;
62
71
  color: var(--Primary-Dark-grey, var(--dark-grey, #456073));
63
72
  }
@@ -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.29",
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",
@@ -75,4 +75,4 @@
75
75
  "react": "^17.0.0 || ^18.0.0",
76
76
  "react-dom": "^17.0.0 || ^18.0.0"
77
77
  }
78
- }
78
+ }