allaw-ui 3.9.6 → 3.9.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.
@@ -70,31 +70,43 @@
70
70
  align-items: center;
71
71
  }
72
72
 
73
- /* Medium, square, transparent background with outline */
73
+ /* Medium, square, transparent background with outline - style BackButton */
74
74
  .icon-button.mediumOutline {
75
75
  display: flex;
76
- width: 35px;
77
- height: 35px;
76
+ width: 40px;
77
+ height: 40px;
78
78
  padding: 8px;
79
79
  justify-content: center;
80
80
  align-items: center;
81
81
  gap: 8px;
82
82
  flex-shrink: 0;
83
- border-radius: 4px;
84
- border: 1px solid var(--primary-blue, #25beeb);
83
+ border-radius: 8px;
84
+ border: 1px solid var(--primary-venom-grey, #e6edf5);
85
85
  background: transparent;
86
+ cursor: pointer;
87
+ transition: all 0.2s ease;
88
+ }
89
+
90
+ .icon-button.mediumOutline:hover {
91
+ background: rgba(37, 190, 235, 0.1);
92
+ border-color: var(--allaw-blue, #25beeb);
86
93
  }
87
94
 
88
95
  .icon-button.mediumOutline .icon {
89
96
  width: 24px;
90
97
  height: 24px;
91
98
  flex-shrink: 0;
92
- color: var(--bleu-allaw, #25beeb);
99
+ color: var(--primary-dark-grey, #456073);
93
100
  display: flex;
94
101
  flex-direction: row;
95
102
  justify-content: center;
96
103
  align-items: center;
97
- font-size: 18px;
104
+ font-size: 16px;
105
+ transition: color 0.2s ease;
106
+ }
107
+
108
+ .icon-button.mediumOutline:hover .icon {
109
+ color: var(--allaw-blue, #25beeb);
98
110
  }
99
111
 
100
112
  /* Just the outline icons */
@@ -44,6 +44,8 @@ export default _default;
44
44
  export const SmallFilled: any;
45
45
  export const LargeFilled: any;
46
46
  export const MediumOutline: any;
47
+ export const MediumOutlineDocument: any;
48
+ export const MediumOutlineArrow: any;
47
49
  export const IconOnly: any;
48
50
  export const IconCircle: any;
49
51
  import IconButton from "./IconButton";
@@ -74,6 +74,18 @@ MediumOutline.args = {
74
74
  iconName: "allaw-icon-calendar",
75
75
  onClick: function () { return console.log("MediumOutline button clicked"); },
76
76
  };
77
+ export var MediumOutlineDocument = Template.bind({});
78
+ MediumOutlineDocument.args = {
79
+ style: "mediumOutline",
80
+ iconName: "allaw-icon-document",
81
+ onClick: function () { return console.log("MediumOutline document button clicked"); },
82
+ };
83
+ export var MediumOutlineArrow = Template.bind({});
84
+ MediumOutlineArrow.args = {
85
+ style: "mediumOutline",
86
+ iconName: "allaw-icon-arrow-left",
87
+ onClick: function () { return console.log("MediumOutline arrow button clicked"); },
88
+ };
77
89
  export var IconOnly = Template.bind({});
78
90
  IconOnly.args = {
79
91
  style: "iconOnly",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "3.9.6",
3
+ "version": "3.9.7",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",