allaw-ui 4.6.3 → 4.6.4

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.
@@ -193,7 +193,7 @@ export var Stepper = function (_a) {
193
193
  React.createElement("div", { style: { minWidth: "20px" } }),
194
194
  React.createElement("div", { className: "stepper-progress-bar", style: { flex: 1, height: 8, minWidth: 0 } },
195
195
  React.createElement("div", { className: "stepper-progress-inner", style: { width: progress + "%", height: 8 } })),
196
- onClose ? React.createElement(CloseButton, { onClick: function () { return onClose && onClose(); } }) : React.createElement("div", { style: { minWidth: "20px" } })),
196
+ onClose ? React.createElement(CloseButton, { onClick: function () { return onClose && onClose(); } }) : React.createElement("div", { style: { minWidth: "20px", minHeight: "20px" } })),
197
197
  React.createElement("div", { style: { marginBottom: "42px" } },
198
198
  React.createElement("div", { className: "stepper-title" }, currentStep.title),
199
199
  currentStep.description && React.createElement("div", { className: "stepper-desc" }, currentStep.description)),
@@ -6,6 +6,7 @@
6
6
  max-width: 500px;
7
7
  width: auto;
8
8
  height: 150px;
9
+ gap: 1rem;
9
10
  padding: 10px 18px 14px 18px;
10
11
  justify-content: space-between;
11
12
  align-items: flex-start;
@@ -59,10 +60,12 @@
59
60
  justify-content: space-between;
60
61
  align-items: flex-start;
61
62
  align-self: stretch;
62
- width: calc(100%);
63
+ width: max-content;
63
64
  overflow: visible;
64
65
  position: relative;
65
66
  z-index: 2;
67
+ flex-shrink: 1;
68
+ min-width: 0;
66
69
  }
67
70
 
68
71
  .case-card-header {
@@ -98,6 +101,8 @@
98
101
  padding-top: 4px;
99
102
  margin: 0;
100
103
  text-shadow: 0 1px 2px rgba(255,255,255,0.4);
104
+ flex-shrink: 1;
105
+ min-width: 0;
101
106
  }
102
107
 
103
108
  .case-card-title.closed {
@@ -110,7 +115,8 @@
110
115
  align-items: center;
111
116
  justify-content: center;
112
117
  height: 100%;
113
- min-width: 100px;
118
+ min-width: fit-content;
119
+ width: fit-content;
114
120
  flex-shrink: 0;
115
121
  position: relative;
116
122
  z-index: 2;
@@ -141,6 +147,10 @@
141
147
  display: none;
142
148
  }
143
149
 
150
+ .case-card-archived .case-card-content {
151
+ width: 100%;
152
+ }
153
+
144
154
  .case-card-progress-bar {
145
155
  width: 100%;
146
156
  margin-left: -10px;
@@ -91,7 +91,7 @@ var Template = function (args) { return React.createElement(CaseCard, __assign({
91
91
  export var Desktop = Template.bind({});
92
92
  Desktop.args = {
93
93
  clientName: "MME. JANE DOE",
94
- title: "Divorce à l'amiable",
94
+ title: "DDivorce à l'amiable très amiables de de",
95
95
  nextAppointment: {
96
96
  date: "2024-10-31",
97
97
  time: "14:15",
@@ -128,7 +128,7 @@ Mobile.args = {
128
128
  export var LongCategories = Template.bind({});
129
129
  LongCategories.args = {
130
130
  clientName: "MME. JANE DOE",
131
- title: "Divorce à l'amiable",
131
+ title: "Divorce à l'amiable très amiables de de",
132
132
  nextAppointment: {
133
133
  date: "2024-10-31",
134
134
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "4.6.3",
3
+ "version": "4.6.4",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",