allaw-ui 1.0.74 → 1.0.76

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.
@@ -12,8 +12,8 @@
12
12
  font-size: 18px;
13
13
  }
14
14
 
15
- /* Style normal (par défaut) */
16
- .tab-navigation-d.normal .tab-item-d {
15
+ /* Normal variant styles */
16
+ .tab-navigation-d:not(.tab-navigation--round) .tab-item-d {
17
17
  display: flex;
18
18
  padding: 0px 16px 10px 16px;
19
19
  justify-content: center;
@@ -23,91 +23,77 @@
23
23
  position: relative;
24
24
  }
25
25
 
26
- .tab-navigation-d.normal .tab-item-d.active {
26
+ .tab-navigation-d:not(.tab-navigation--round) .tab-item-d.active {
27
27
  border-bottom: 3px solid #000;
28
28
  padding-bottom: 10px;
29
29
  color: var(--Primary-Mid-black, var(--primary-black, #171e25));
30
30
  }
31
31
 
32
- .tab-navigation-d.normal .tab-item-d.inactive {
32
+ .tab-navigation-d:not(.tab-navigation--round) .tab-item-d.inactive {
33
33
  border-bottom: 3px solid var(--grey-venom, #e6edf5);
34
34
  color: var(--Tags-Mid-grey, var(--light-grey, #728ea7));
35
35
  }
36
36
 
37
- .tab-navigation-d.normal .tab-item-d.inactive:hover {
38
- border-bottom: 3px solid var(--venom-grey-dark, #d1dce8);
39
- color: var(--Tags-Mid-grey, var(--dark-grey, #456073));
40
- }
41
-
42
- /* Style round */
43
- .tab-navigation-d.tab-navigation--round.small .tab-item-d,
44
- .tab-navigation-d.tab-navigation--round.normal .tab-item-d {
37
+ /* Round variant styles */
38
+ .tab-navigation-d.tab-navigation--round .tab-item-d {
45
39
  display: flex;
46
- padding: 8px 16px;
40
+ height: 35px;
41
+ padding: 12px 24px;
47
42
  justify-content: center;
48
43
  align-items: center;
49
44
  gap: 8px;
50
45
  cursor: pointer;
51
46
  position: relative;
52
- border-radius: 6px;
47
+ border-radius: 18px;
53
48
  }
54
49
 
55
- /* Style explicite pour les tabs inactifs en mode round */
56
- .tab-navigation-d.tab-navigation--round.small .tab-item-d.inactive,
57
- .tab-navigation-d.tab-navigation--round.normal .tab-item-d.inactive {
58
- background-color: var(--grey-light, #f6fcfe) !important;
50
+ /* Round variant - inactive state */
51
+ .tab-navigation-d.tab-navigation--round .tab-item-d.inactive {
52
+ background-color: var(--grey-light, #f6fcfe);
59
53
  color: var(--noir, #171e25);
60
- height: 35px;
61
- padding: 12px 24px;
62
- border-radius: 18px;
63
54
  border: 1px solid var(--grey-venom, #e6edf5);
64
55
  }
65
56
 
66
- /* Style explicite pour les tabs actifs en mode round */
67
- .tab-navigation-d.tab-navigation--round.small .tab-item-d.active,
68
- .tab-navigation-d.tab-navigation--round.normal .tab-item-d.active {
69
- background-color: var(--dark-grey, #456073) !important;
57
+ /* Round variant - active state */
58
+ .tab-navigation-d.tab-navigation--round .tab-item-d.active {
59
+ background-color: var(--dark-grey, #456073);
70
60
  color: var(--pure-white, #fff);
71
- height: 35px;
72
- padding: 12px 24px;
73
- border-radius: 18px;
74
61
  border: 1px solid var(--dark-grey, #456073);
75
62
  }
76
63
 
77
- /* Hover states */
78
- .tab-navigation-d.tab-navigation--round.small .tab-item-d.inactive:hover,
79
- .tab-navigation-d.tab-navigation--round.normal .tab-item-d.inactive:hover {
80
- background-color: var(--grey-venom, #e6edf5) !important;
64
+ /* Hover states for round variant */
65
+ .tab-navigation-d.tab-navigation--round .tab-item-d.inactive:hover {
66
+ background-color: var(--grey-venom, #e6edf5);
81
67
  }
82
68
 
83
- .tab-navigation-d.tab-navigation--round.small .tab-item-d.active:hover,
84
- .tab-navigation-d.tab-navigation--round.normal .tab-item-d.active:hover {
85
- background-color: #3c5364 !important;
86
- color: var(--pure-white, #fff);
69
+ .tab-navigation-d.tab-navigation--round .tab-item-d.active:hover {
70
+ background-color: #3c5364;
87
71
  }
88
72
 
73
+ /* Label styles */
89
74
  .tab-label-d {
90
75
  font-family: "Open Sans", sans-serif;
91
- font-size: 14px;
92
76
  font-style: normal;
93
77
  font-weight: 500;
94
78
  line-height: 1;
95
79
  text-align: center;
96
80
  }
97
81
 
82
+ /* Notification styles */
98
83
  .tab-notification-dot {
99
84
  width: 5px;
100
85
  height: 5px;
101
86
  background-color: #ef1a1a;
102
87
  border-radius: 50%;
103
88
  position: absolute;
104
- right: 10px;
105
89
  }
106
90
 
107
- .tab-navigation-d.normal .tab-notification-dot {
91
+ .tab-navigation-d:not(.tab-navigation--round) .tab-notification-dot {
108
92
  top: 7px;
93
+ right: 10px;
109
94
  }
110
95
 
111
96
  .tab-navigation-d.tab-navigation--round .tab-notification-dot {
112
97
  top: 15px;
98
+ right: 10px;
113
99
  }
@@ -7,7 +7,7 @@ export interface SelectFormProps {
7
7
  isRequired: boolean;
8
8
  options: SelectItem[];
9
9
  isMultiple: boolean;
10
- placeHolder?: "";
10
+ placeHolder?: string;
11
11
  width?: number;
12
12
  selectedItem?: string | string[];
13
13
  onChange?: (selected: string | string[]) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "1.0.74",
3
+ "version": "1.0.76",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",