aristid-ds 7.2.0-3aead0c → 7.2.0-e49c136

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.
Files changed (171) hide show
  1. package/CHANGELOG.md +295 -215
  2. package/dist/Kit/App/index.js +2 -2
  3. package/dist/Kit/DataDisplay/Avatar/index.js +1 -1
  4. package/dist/Kit/DataDisplay/Badge/index.js +8 -8
  5. package/dist/Kit/DataDisplay/Card/index.js +2 -2
  6. package/dist/Kit/DataDisplay/Collapse/index.js +1 -1
  7. package/dist/Kit/DataDisplay/Empty/index.js +1 -1
  8. package/dist/Kit/DataDisplay/Error/index.js +2 -2
  9. package/dist/Kit/DataDisplay/IdCard/index.js +1 -1
  10. package/dist/Kit/DataDisplay/Image/index.js +9 -9
  11. package/dist/Kit/DataDisplay/ItemCard/index.js +1 -1
  12. package/dist/Kit/DataDisplay/ItemList/index.d.ts +2 -2
  13. package/dist/Kit/DataDisplay/ItemList/index.js +2 -2
  14. package/dist/Kit/DataDisplay/LegacyCard/index.js +5 -5
  15. package/dist/Kit/DataDisplay/Table/index.js +33 -33
  16. package/dist/Kit/DataDisplay/Tabs/index.js +4 -4
  17. package/dist/Kit/DataDisplay/Tag/Tag.d.ts +2 -2
  18. package/dist/Kit/DataDisplay/Tag/index.js +1 -1
  19. package/dist/Kit/DataDisplay/Tree/index.js +4 -4
  20. package/dist/Kit/DataDisplay/index.js +1 -1
  21. package/dist/Kit/DataEntry/AutoComplete/index.d.ts +2 -2
  22. package/dist/Kit/DataEntry/AutoComplete/index.js +10 -10
  23. package/dist/Kit/DataEntry/Checkbox/Checkbox.d.ts +2 -2
  24. package/dist/Kit/DataEntry/Checkbox/Group.d.ts +2 -3
  25. package/dist/Kit/DataEntry/Checkbox/index.js +14 -14
  26. package/dist/Kit/DataEntry/ColorPicker/index.js +5 -5
  27. package/dist/Kit/DataEntry/DatePicker/DatePicker.d.ts +2 -2
  28. package/dist/Kit/DataEntry/DatePicker/RangePicker.d.ts +4 -4
  29. package/dist/Kit/DataEntry/DatePicker/index.js +19 -19
  30. package/dist/Kit/DataEntry/DatePicker/types.d.ts +2 -0
  31. package/dist/Kit/DataEntry/Input/Input.d.ts +2 -2
  32. package/dist/Kit/DataEntry/Input/Password.d.ts +2 -2
  33. package/dist/Kit/DataEntry/Input/TextArea.d.ts +2 -2
  34. package/dist/Kit/DataEntry/Input/index.js +29 -24
  35. package/dist/Kit/DataEntry/Input/types.d.ts +2 -0
  36. package/dist/Kit/DataEntry/InputNumber/index.d.ts +2 -2
  37. package/dist/Kit/DataEntry/InputNumber/index.js +2 -2
  38. package/dist/Kit/DataEntry/InputWrapper/index.js +1 -1
  39. package/dist/Kit/DataEntry/Radio/Group.d.ts +2 -2
  40. package/dist/Kit/DataEntry/Radio/Radio.d.ts +2 -2
  41. package/dist/Kit/DataEntry/Radio/index.js +12 -12
  42. package/dist/Kit/DataEntry/Rate/index.d.ts +2 -2
  43. package/dist/Kit/DataEntry/Rate/index.js +1 -1
  44. package/dist/Kit/DataEntry/Select/index.js +2 -2
  45. package/dist/Kit/DataEntry/Select/types.d.ts +1 -0
  46. package/dist/Kit/DataEntry/Slider/index.d.ts +2 -2
  47. package/dist/Kit/DataEntry/Slider/index.js +8 -8
  48. package/dist/Kit/DataEntry/Switch/index.d.ts +2 -2
  49. package/dist/Kit/DataEntry/Switch/index.js +8 -8
  50. package/dist/Kit/DataEntry/Upload/Upload.d.ts +2 -2
  51. package/dist/Kit/DataEntry/Upload/index.js +8 -8
  52. package/dist/Kit/DataEntry/index.js +2 -2
  53. package/dist/Kit/Feedback/Alert/index.js +6 -6
  54. package/dist/Kit/Feedback/Modal/index.js +9 -9
  55. package/dist/Kit/Feedback/Notification/index.js +1 -1
  56. package/dist/Kit/Feedback/Notification/notification-provider.d.ts +2 -2
  57. package/dist/Kit/Feedback/SnackBar/index.js +9 -9
  58. package/dist/Kit/Feedback/index.js +1 -1
  59. package/dist/Kit/General/Button/index.js +10 -10
  60. package/dist/Kit/General/Icon/index.js +8 -8
  61. package/dist/Kit/General/Typography/Link.d.ts +2 -2
  62. package/dist/Kit/General/Typography/Paragraph.d.ts +2 -2
  63. package/dist/Kit/General/Typography/Text.d.ts +2 -2
  64. package/dist/Kit/General/Typography/Title.d.ts +2 -2
  65. package/dist/Kit/General/Typography/index.js +41 -50
  66. package/dist/Kit/Layout/Divider/index.js +9 -10
  67. package/dist/Kit/Layout/Divider/types.d.ts +0 -4
  68. package/dist/Kit/Layout/Section/index.js +8 -8
  69. package/dist/Kit/Navigation/Breadcrumb/index.js +9 -9
  70. package/dist/Kit/Navigation/Header/index.js +1 -1
  71. package/dist/Kit/Navigation/Menu/index.js +1 -1
  72. package/dist/Kit/Navigation/PageHeader/index.js +2 -2
  73. package/dist/Kit/Navigation/Pagination/index.d.ts +1 -1
  74. package/dist/Kit/Navigation/Pagination/index.js +1 -1
  75. package/dist/Kit/Navigation/SideMenu/index.js +1 -1
  76. package/dist/Kit/Navigation/Steps/index.js +6 -6
  77. package/dist/Kit/Navigation/index.js +1 -1
  78. package/dist/Kit/index.js +3 -3
  79. package/dist/assets/Avatar.css +1 -1
  80. package/dist/assets/InputWrapper.css +1 -1
  81. package/dist/assets/KitNotification.css +1 -1
  82. package/dist/assets/index.css +1 -1
  83. package/dist/assets/index10.css +1 -1
  84. package/dist/assets/index11.css +1 -1
  85. package/dist/assets/index12.css +1 -1
  86. package/dist/assets/index13.css +1 -1
  87. package/dist/assets/index15.css +1 -1
  88. package/dist/assets/index16.css +1 -1
  89. package/dist/assets/index17.css +1 -1
  90. package/dist/assets/index18.css +1 -1
  91. package/dist/assets/index19.css +1 -1
  92. package/dist/assets/index20.css +1 -1
  93. package/dist/assets/index21.css +1 -1
  94. package/dist/assets/index22.css +1 -1
  95. package/dist/assets/index23.css +1 -1
  96. package/dist/assets/index24.css +1 -1
  97. package/dist/assets/index25.css +1 -1
  98. package/dist/assets/index26.css +1 -1
  99. package/dist/assets/index27.css +1 -1
  100. package/dist/assets/index28.css +1 -1
  101. package/dist/assets/index29.css +1 -1
  102. package/dist/assets/index3.css +1 -1
  103. package/dist/assets/index31.css +1 -1
  104. package/dist/assets/index32.css +1 -1
  105. package/dist/assets/index4.css +1 -1
  106. package/dist/assets/index5.css +1 -1
  107. package/dist/assets/index6.css +1 -1
  108. package/dist/assets/index7.css +1 -1
  109. package/dist/assets/index8.css +1 -1
  110. package/dist/assets/index9.css +1 -1
  111. package/dist/assets/styles.css +1 -1
  112. package/dist/assets/styles2.css +1 -1
  113. package/dist/chunks/Avatar.icARSD26.js +30 -0
  114. package/dist/chunks/InputWrapper.RG8Q9Ntu.js +26 -0
  115. package/dist/chunks/{KitNotification.eFNdYjE1.js → KitNotification.YKY0mq-u.js} +5 -5
  116. package/dist/chunks/index.wMOo1bfz.js +572 -0
  117. package/dist/chunks/notification-provider.EgQZHEbE.js +74 -0
  118. package/dist/chunks/styles.module.Q_QQjQdX.js +8 -0
  119. package/dist/chunks/{styles.module.x1Oajwjm.js → styles.module.XgQ5x7Pq.js} +1 -1
  120. package/dist/index.es.js +3 -3
  121. package/dist/index.umd.js +7 -7
  122. package/dist/theme/aristid/components/Layout/Divider/index.js +1 -2
  123. package/dist/theme/aristid/general/colors/index.js +101 -149
  124. package/dist/theme/aristid/general/index.js +5 -3
  125. package/dist/theme/aristid/general/utilities/index.d.ts +3 -0
  126. package/dist/theme/aristid/general/utilities/index.js +107 -0
  127. package/dist/theme/types/components/Layout/Divider/index.d.ts +0 -2
  128. package/dist/theme/types/general/colors/index.d.ts +92 -196
  129. package/dist/theme/types/index.d.ts +2 -0
  130. package/dist/theme/types/utilities/index.d.ts +249 -0
  131. package/dist/theme/utils/testTokens.d.ts +31 -48
  132. package/dist/theme/utils/tokens-mapper/DataDisplay/Badge/index.d.ts +1 -0
  133. package/dist/theme/utils/tokens-mapper/DataDisplay/Badge/index.js +8 -7
  134. package/dist/theme/utils/tokens-mapper/DataDisplay/Collapse/index.d.ts +0 -1
  135. package/dist/theme/utils/tokens-mapper/DataDisplay/Collapse/index.js +4 -5
  136. package/dist/theme/utils/tokens-mapper/DataDisplay/Table/index.d.ts +0 -1
  137. package/dist/theme/utils/tokens-mapper/DataDisplay/Table/index.js +3 -5
  138. package/dist/theme/utils/tokens-mapper/DataDisplay/Tabs/index.js +8 -8
  139. package/dist/theme/utils/tokens-mapper/{DataEntry → DataDisplay}/Tag/index.d.ts +0 -2
  140. package/dist/theme/utils/tokens-mapper/DataDisplay/Tag/index.js +8 -0
  141. package/dist/theme/utils/tokens-mapper/DataDisplay/Tooltip/index.js +8 -8
  142. package/dist/theme/utils/tokens-mapper/DataDisplay/Tree/index.d.ts +0 -1
  143. package/dist/theme/utils/tokens-mapper/DataDisplay/Tree/index.js +6 -8
  144. package/dist/theme/utils/tokens-mapper/DataDisplay/index.d.ts +1 -0
  145. package/dist/theme/utils/tokens-mapper/DataDisplay/index.js +4 -2
  146. package/dist/theme/utils/tokens-mapper/DataEntry/Checkbox/index.js +8 -8
  147. package/dist/theme/utils/tokens-mapper/DataEntry/ColorPicker/index.d.ts +0 -2
  148. package/dist/theme/utils/tokens-mapper/DataEntry/ColorPicker/index.js +9 -11
  149. package/dist/theme/utils/tokens-mapper/DataEntry/DatePicker/index.js +16 -16
  150. package/dist/theme/utils/tokens-mapper/DataEntry/Form/index.js +2 -2
  151. package/dist/theme/utils/tokens-mapper/DataEntry/Input/index.js +10 -10
  152. package/dist/theme/utils/tokens-mapper/DataEntry/InputNumber/index.js +12 -12
  153. package/dist/theme/utils/tokens-mapper/DataEntry/Rate/index.js +1 -1
  154. package/dist/theme/utils/tokens-mapper/DataEntry/Select/index.js +6 -6
  155. package/dist/theme/utils/tokens-mapper/DataEntry/Slider/index.js +9 -9
  156. package/dist/theme/utils/tokens-mapper/Feedback/Alert/index.js +14 -14
  157. package/dist/theme/utils/tokens-mapper/Feedback/Progress/index.js +5 -5
  158. package/dist/theme/utils/tokens-mapper/Layout/Divider/index.d.ts +0 -1
  159. package/dist/theme/utils/tokens-mapper/Layout/Divider/index.js +7 -8
  160. package/dist/theme/utils/tokens-mapper/Navigation/Pagination/index.js +13 -13
  161. package/dist/theme/utils/tokens-mapper/Navigation/Steps/index.js +11 -11
  162. package/dist/theme/utils/tokens-mapper/index.js +26 -26
  163. package/dist/utils/functions/index.d.ts +4 -1
  164. package/dist/utils/functions/index.js +50 -37
  165. package/package.json +1 -1
  166. package/dist/chunks/Avatar.VZkvLuLD.js +0 -30
  167. package/dist/chunks/InputWrapper.NQtlTzQk.js +0 -26
  168. package/dist/chunks/index.tMktkiEu.js +0 -570
  169. package/dist/chunks/notification-provider.pUKOxZw6.js +0 -74
  170. package/dist/chunks/styles.module.tkXR5gsa.js +0 -8
  171. package/dist/theme/utils/tokens-mapper/DataEntry/Tag/index.js +0 -11
package/CHANGELOG.md CHANGED
@@ -1,326 +1,406 @@
1
1
  # Changelog
2
2
 
3
+ ## [X.X.X](https://www.npmjs.com/package/aristid-ds/v/X.X.X) (2024-XX-XX)
4
+
5
+ ### ✨ Features
6
+
7
+ - **⚠️ Breaking changen - Divider:**
8
+ - Remove property `color` and update default color (@philippechevieux)
9
+ - **Input**:
10
+ - adding new prop `readonly` (@fatb38)
11
+ - **InputWrapper**:
12
+ - update info icon (@fatb38)
13
+ - adding warning and error icon (@fatb38)
14
+ - adding ellipsis for too long helper label (@fatb38)
15
+ - **TextArea**:
16
+ - adding new prop `readonly` (@fatb38)
17
+ - **Select**:
18
+ - adding new prop `readonly` (@fatb38)
19
+
20
+ ### 🎨 Theming
21
+
22
+ - **⚠️ Breaking changen - Update tokens and css variables:**
23
+
24
+ - Remove the following colors: (@philippechevieux)
25
+ - `neutral.typography`
26
+ - `neutral.background`
27
+ - `neutral.black60`
28
+ - Move `secondary.mediumGrey` into `neutral.grey` (@philippechevieux)
29
+ - Remove `secondary.mediumGrey` (@philippechevieux)
30
+ - Rename `secondary.orange` as `secondary.warning` (@philippechevieux)
31
+ - Rename `secondary.red` as `secondary.error` (@philippechevieux)
32
+ - Rename `secondary.green` as `secondary.success` (@philippechevieux)
33
+ - Move `secondary.yellow` into `tertiary.yellow` (@philippechevieux)
34
+ - Move `secondary.pink` into `tertiary.pink` (@philippechevieux)
35
+ - Add new tokens and css variables in `utilities` (@philippechevieux)
36
+
37
+ > If you use tokens or css variables in your application, we strongly recommend that you update them and prefer to use utilities.
38
+
3
39
  ## [7.2.0](https://www.npmjs.com/package/aristid-ds/v/7.2.0) (2024-06-25)
40
+
4
41
  ### 🐛 Bug Fixes
5
- * **ItemList**:
6
- * fix border (@evoiron)
7
- * **Input**:
8
- * fix `required`prop not passed to input element
9
- * enabled `type`property
10
- * **Select**:
11
- * fix select not closing automatically when selecting value in simple mode
42
+
43
+ - **ItemList**:
44
+ - fix border (@evoiron)
45
+ - **Input**:
46
+ - fix `required`prop not passed to input element
47
+ - enabled `type`property
48
+ - **Select**:
49
+ - fix select not closing automatically when selecting value in simple mode
12
50
 
13
51
  ## [7.1.0](https://www.npmjs.com/package/aristid-ds/v/7.1.0) (2024-06-14)
52
+
14
53
  ### 🐛 Bug Fixes
15
- * **Table:**
16
- * fix last children rows indentaion of first data column (@evoiron)
17
- * fix last row bottom truncated when its not a filrst level row (@evoiron)
18
- * **ItemList et Card**:
19
- * add `disabled`to actions (@evoiron)
54
+
55
+ - **Table:**
56
+ - fix last children rows indentaion of first data column (@evoiron)
57
+ - fix last row bottom truncated when its not a filrst level row (@evoiron)
58
+ - **ItemList et Card**:
59
+ - add `disabled`to actions (@evoiron)
20
60
 
21
61
  ## [7.0.0](https://www.npmjs.com/package/aristid-ds/v/X7.0.0) (2024-06-12)
62
+
22
63
  ### 🐛 Bug Fixes
23
- * **SideMenu:**
24
- * fix css strange behavior (@evoiron)
25
- * expose `complement`prop to SideMenuItem (@evoiron)
64
+
65
+ - **SideMenu:**
66
+ - fix css strange behavior (@evoiron)
67
+ - expose `complement`prop to SideMenuItem (@evoiron)
68
+
26
69
  ### ✨ Features
27
- * **Table:**
28
- * Handle tree data and expandable rows (@renaudamsellem /@philippechevieux)
70
+
71
+ - **Table:**
72
+ - Handle tree data and expandable rows (@renaudamsellem /@philippechevieux)
29
73
 
30
74
  ## [6.0.0](https://www.npmjs.com/package/aristid-ds/v/6.0.0) (2024-06-05)
75
+
31
76
  ### ✨ Features
32
- * **SideMenu:**
33
- * Add `SideMenu` component (@evoiron)
77
+
78
+ - **SideMenu:**
79
+ - Add `SideMenu` component (@evoiron)
80
+
34
81
  ### 🐛 Bug Fixes
35
- * **Collapse:**
36
- * Fix border width (@evoiron)
37
- * **Avatar:**
38
- * Fix background color for transparent images, and add box shadow to avatar group (@evoiron)
39
- * **Modal:**
40
- * Fix modal width bug (@evoiron)
41
- * Allow multiline text in modal (@evoiron)
82
+
83
+ - **Collapse:**
84
+ - Fix border width (@evoiron)
85
+ - **Avatar:**
86
+ - Fix background color for transparent images, and add box shadow to avatar group (@evoiron)
87
+ - **Modal:**
88
+ - Fix modal width bug (@evoiron)
89
+ - Allow multiline text in modal (@evoiron)
42
90
 
43
91
  ## [5.1.0](https://www.npmjs.com/package/aristid-ds/v/5.1.0) (2024-05-24)
92
+
44
93
  ### 🐛 Bug Fixes
45
- * **Button, Icon, ItemMenu:**
46
- * Fix bug in useSecureClick causing onClick not called in some cases (@evoiron)
94
+
95
+ - **Button, Icon, ItemMenu:**
96
+ - Fix bug in useSecureClick causing onClick not called in some cases (@evoiron)
47
97
 
48
98
  ## [5.0.0](https://www.npmjs.com/package/aristid-ds/v/5.0.0) (2024-04-24)
99
+
49
100
  ### ✨ Features
50
- * **ItemList:**
51
- * Add `disabled`property (@Delmotte-Vincent)
52
- * Add highlight style on component `focus` (@Delmotte-Vincent)
53
- * **⚠️ Breaking change - IdCard:**
54
- * Change `avatar` property to `avatarProps`. `avatarProps` are `KitAvatar`'s props. (@Delmotte-Vincent)
55
- * Add `disabled`property (@Delmotte-Vincent)
56
- * **Avatar:**
57
- * Add `disabled` property (@Delmotte-Vincent)
58
- * **Avatar.Group:**
59
- * Add `disabled` property (@Delmotte-Vincent)
60
- * **Header.Profile:**
61
- * Add `alt` property (@philippechevieux)
62
- * **Error:**
63
- * Add a new component `KitError` to manage error page (@P0ppoff)
64
- * **Table:**
65
- * Add a new component `Table` to display a collection of structured data (@philippechevieux)
101
+
102
+ - **ItemList:**
103
+ - Add `disabled`property (@Delmotte-Vincent)
104
+ - Add highlight style on component `focus` (@Delmotte-Vincent)
105
+ - **⚠️ Breaking change - IdCard:**
106
+ - Change `avatar` property to `avatarProps`. `avatarProps` are `KitAvatar`'s props. (@Delmotte-Vincent)
107
+ - Add `disabled`property (@Delmotte-Vincent)
108
+ - **Avatar:**
109
+ - Add `disabled` property (@Delmotte-Vincent)
110
+ - **Avatar.Group:**
111
+ - Add `disabled` property (@Delmotte-Vincent)
112
+ - **Header.Profile:**
113
+ - Add `alt` property (@philippechevieux)
114
+ - **Error:**
115
+ - Add a new component `KitError` to manage error page (@P0ppoff)
116
+ - **Table:**
117
+ - Add a new component `Table` to display a collection of structured data (@philippechevieux)
66
118
 
67
119
  ### 🐛 Bug Fixes
68
- * **Select:**
69
- * Fix Select displaying option value instead of label when setting value prop (@evoiron / @renaudamsellem / @TdyP)
70
- * **Avatar:**
71
- * Fix incorrect digram when label contains accented characters (@evoiron)
72
- * **Empty:**
73
- * Removing console errors on svg attributes (kebab-case instead of camelCase) (@fatb38)
120
+
121
+ - **Select:**
122
+ - Fix Select displaying option value instead of label when setting value prop (@evoiron / @renaudamsellem / @TdyP)
123
+ - **Avatar:**
124
+ - Fix incorrect digram when label contains accented characters (@evoiron)
125
+ - **Empty:**
126
+ - Removing console errors on svg attributes (kebab-case instead of camelCase) (@fatb38)
74
127
 
75
128
  ### 📚 Documentation
76
- * Add an example for searching with a Select (@philippechevieux)
129
+
130
+ - Add an example for searching with a Select (@philippechevieux)
77
131
 
78
132
  ## [4.0.0](https://www.npmjs.com/package/aristid-ds/v/4.0.0) (2024-03-28)
133
+
79
134
  ### ✨ Features
80
- * **Select:**
81
- * Add `idCard` property to option to display a `KitIdCard` instead of the label (@philippechevieux)
82
- * **Avatar:**
83
- * Add a new property `imageFit` to change how image will fit (@philippechevieux)
135
+
136
+ - **Select:**
137
+ - Add `idCard` property to option to display a `KitIdCard` instead of the label (@philippechevieux)
138
+ - **Avatar:**
139
+ - Add a new property `imageFit` to change how image will fit (@philippechevieux)
84
140
 
85
141
  ### 🐛 Bug Fixes
86
- * **IdCard:**
87
- * Add default ellipsis to `title` and `description` (@philippechevieux)
88
- * Add missing exports for `useKitLocale`, `KitEmpty`, `KitIdCard`, `KitInputWrapper` and `KitSection` (@philippechevieux)
89
- * **DatePicker / RangePicker:**
90
- * Fix calendar icon disapearing on hover when a default value is set (@evoiron)
91
- * **⚠️ Breaking change - ItemList:**
92
- * Refactor ItemList (@P0ppoff / @Delmotte-Vincent / @renaudamsellem / @philippechevieux)
93
- * **Modal:**
94
- * Remove use of getComputedStyle which can be time consuming in tests (@evoiron)
142
+
143
+ - **IdCard:**
144
+ - Add default ellipsis to `title` and `description` (@philippechevieux)
145
+ - Add missing exports for `useKitLocale`, `KitEmpty`, `KitIdCard`, `KitInputWrapper` and `KitSection` (@philippechevieux)
146
+ - **DatePicker / RangePicker:**
147
+ - Fix calendar icon disapearing on hover when a default value is set (@evoiron)
148
+ - **⚠️ Breaking change - ItemList:**
149
+ - Refactor ItemList (@P0ppoff / @Delmotte-Vincent / @renaudamsellem / @philippechevieux)
150
+ - **Modal:**
151
+ - Remove use of getComputedStyle which can be time consuming in tests (@evoiron)
95
152
 
96
153
  ## [3.0.0](https://www.npmjs.com/package/aristid-ds/v/3.0.0) (2024-03-15)
154
+
97
155
  ### ✨ Features
98
- * **Empty:**
99
- * Add a new component `KitEmpty` (@philippechevieux)
100
- * **IdCard:**
101
- * Add a new component `KitIdCard` (@philippechevieux)
102
- * **Avatar:**
103
- * Add `label` property to retrieve avatar initials from (@philippechevieux)
104
- * Add `initialsMaxChars` property to set the number of initials (@philippechevieux)
105
- * **⚠️ Breaking change - Header:**
106
- * Existing `Header` is renamed to `PageHeader` (@TdyP)
107
- * `Header` component is now a totally new component (@TdyP, @evoiron)
156
+
157
+ - **Empty:**
158
+ - Add a new component `KitEmpty` (@philippechevieux)
159
+ - **IdCard:**
160
+ - Add a new component `KitIdCard` (@philippechevieux)
161
+ - **Avatar:**
162
+ - Add `label` property to retrieve avatar initials from (@philippechevieux)
163
+ - Add `initialsMaxChars` property to set the number of initials (@philippechevieux)
164
+ - **⚠️ Breaking change - Header:**
165
+ - Existing `Header` is renamed to `PageHeader` (@TdyP)
166
+ - `Header` component is now a totally new component (@TdyP, @evoiron)
108
167
 
109
168
  ### 🐛 Bug Fixes
110
- * **Button:**
111
- * Add missing property `form` to `KitButton` (@evoiron)
112
- * Add missing property `htmlType` to `KitButton` (@philippechevieux)
113
- * **Build:**
114
- * Build as EsModule and commonjs module (@evoiron)
169
+
170
+ - **Button:**
171
+ - Add missing property `form` to `KitButton` (@evoiron)
172
+ - Add missing property `htmlType` to `KitButton` (@philippechevieux)
173
+ - **Build:**
174
+ - Build as EsModule and commonjs module (@evoiron)
115
175
 
116
176
  ## [2.0.0](https://www.npmjs.com/package/aristid-ds/v/2.0.0) (2024-03-06)
177
+
117
178
  ### ✨ Features
118
- * **⚠️ Breaking change - Modal:** (@evoiron)
119
- * update Modal Design
120
- * update confirmModal Options:
121
- * remove `secondLine` property
122
- * rename `firstLine` to `content`
123
- * add `dangerConfirm` property to show Cta Button as danger look n' feel,
124
- * add `showCloseIcon` to display top tight button for closing
125
- * **Section:** (@Delmotte-Vincent)
126
- * Add new component Section
127
- * **Typography:**
128
- * update default typography color (@evoiron)
129
- * **InputWrapper:**
130
- * Add 4 properties: (@evoiron)
131
- * `required`: show a red asterisk right after the label
132
- * `actions`: an array of items to display at the right of the label
133
- * `onInfoClick`: When set, display a clickable info icon which triggers this event
134
- * `infoIcon`: customise the infoIcon displayed
135
- * These components now accept the 4 properties above: (@evoiron)
136
- * `AutoComplete`, `Checkbox.Group`, `Radio.Group`, `ColorPicker`, `DatePicker`, `RangePicker`, `Input`, `InputNumber`, `Select`
137
- * **ItemList**
138
- * Add `draggable` property showing an icon that indicates the item is draggable (@fatb38)
139
- * **Tabs:**
140
- * Add `hideSeparator` prop to hide separator between tabs and content (@P0ppoff)
141
- * (Style) Allow tabs center on extraContent (@P0ppoff)
142
- * (Style) Reduce space between tabs and separator (@P0ppoff)
179
+
180
+ - **⚠️ Breaking change - Modal:** (@evoiron)
181
+ - update Modal Design
182
+ - update confirmModal Options:
183
+ - remove `secondLine` property
184
+ - rename `firstLine` to `content`
185
+ - add `dangerConfirm` property to show Cta Button as danger look n' feel,
186
+ - add `showCloseIcon` to display top tight button for closing
187
+ - **Section:** (@Delmotte-Vincent)
188
+ - Add new component Section
189
+ - **Typography:**
190
+ - update default typography color (@evoiron)
191
+ - **InputWrapper:**
192
+ - Add 4 properties: (@evoiron)
193
+ - `required`: show a red asterisk right after the label
194
+ - `actions`: an array of items to display at the right of the label
195
+ - `onInfoClick`: When set, display a clickable info icon which triggers this event
196
+ - `infoIcon`: customise the infoIcon displayed
197
+ - These components now accept the 4 properties above: (@evoiron)
198
+ - `AutoComplete`, `Checkbox.Group`, `Radio.Group`, `ColorPicker`, `DatePicker`, `RangePicker`, `Input`, `InputNumber`, `Select`
199
+ - **ItemList**
200
+ - Add `draggable` property showing an icon that indicates the item is draggable (@fatb38)
201
+ - **Tabs:**
202
+ - Add `hideSeparator` prop to hide separator between tabs and content (@P0ppoff)
203
+ - (Style) Allow tabs center on extraContent (@P0ppoff)
204
+ - (Style) Reduce space between tabs and separator (@P0ppoff)
143
205
 
144
206
  ### 🐛 Bug Fixes
145
- * **Package**: include typescript definitions for each component in built package (@evoiron)
146
- * **Select:**
147
- * Fix default border color (@philippechevieux)
148
- * **Badge:**
149
- * Fix custom className bug (@evoiron)
150
- * **Input:**
151
- * Update color of content, label, placeholder and clear icon (@TdyP)
152
- * Add aria-label on clear icon to improve testability (@TdyP)
153
- * **InputNumber:**
154
- * Update color of content, label, placeholder and clear icon (@TdyP)
155
- * **ColorPicker:**
156
- * Update color of content, label and placeholder (@TdyP)
157
- * **DatePicker:**
158
- * Update color of content, label and placeholder (@TdyP)
207
+
208
+ - **Package**: include typescript definitions for each component in built package (@evoiron)
209
+ - **Select:**
210
+ - Fix default border color (@philippechevieux)
211
+ - **Badge:**
212
+ - Fix custom className bug (@evoiron)
213
+ - **Input:**
214
+ - Update color of content, label, placeholder and clear icon (@TdyP)
215
+ - Add aria-label on clear icon to improve testability (@TdyP)
216
+ - **InputNumber:**
217
+ - Update color of content, label, placeholder and clear icon (@TdyP)
218
+ - **ColorPicker:**
219
+ - Update color of content, label and placeholder (@TdyP)
220
+ - **DatePicker:**
221
+ - Update color of content, label and placeholder (@TdyP)
159
222
 
160
223
  ## [1.1.0](https://www.npmjs.com/package/aristid-ds/v/1.1.0) (2024-02-28)
161
224
 
162
225
  ### ✨ Features
163
- * **Nightly build:**
164
- * publish a nightly version of the package under `next`. (@evoiron)
226
+
227
+ - **Nightly build:**
228
+ - publish a nightly version of the package under `next`. (@evoiron)
165
229
 
166
230
  ### 🐛 Bug Fixes
167
- * **AutoComplete:**
168
- * Fix crashing release (@evoiron)
169
231
 
170
- * **AutoComplete:**
171
- * Fix dropdown border when focused or when a status is set (@philippechevieux)
232
+ - **AutoComplete:**
233
+
234
+ - Fix crashing release (@evoiron)
235
+
236
+ - **AutoComplete:**
237
+
238
+ - Fix dropdown border when focused or when a status is set (@philippechevieux)
172
239
 
173
- * **Select:**
174
- * Fix dropdown border when focused or when a status is set (@philippechevieux)
175
- * Fix dropdown border on click on arrow (@renaudamsellem)
240
+ - **Select:**
176
241
 
177
- * **InputWrapper:**
178
- * Fix border default color (@philippechevieux)
242
+ - Fix dropdown border when focused or when a status is set (@philippechevieux)
243
+ - Fix dropdown border on click on arrow (@renaudamsellem)
244
+
245
+ - **InputWrapper:**
246
+ - Fix border default color (@philippechevieux)
179
247
 
180
248
  ## [1.0.1](https://www.npmjs.com/package/aristid-ds/v/1.0.1) (2024-02-26)
249
+
181
250
  ### 🐛 Bug Fixes
182
- * **Typography:**
183
- * fix css error leading to application crash
251
+
252
+ - **Typography:**
253
+ - fix css error leading to application crash
184
254
 
185
255
  ## [1.0.0](https://www.npmjs.com/package/aristid-ds/v/1.0.0) (2024-02-02)
186
- * **⚠️ Breaking change - Button:** (@evoiron)
187
- * update color Management
188
- * remove design tokens
189
- * remove some props : `href`, `target`, `wrapperClassName`, `wrapperStyle`, `textColor`
190
- * rename props:
191
- * `segmentedColor` is now `color`
192
- * `segmentedactived` is now `active`
193
- * `segmentedChecked` is now `checked`
194
- * modify button types:
195
- * add `tertiary` type
196
- * remove `link` type
256
+
257
+ - **⚠️ Breaking change - Button:** (@evoiron)
258
+ - update color Management
259
+ - remove design tokens
260
+ - remove some props : `href`, `target`, `wrapperClassName`, `wrapperStyle`, `textColor`
261
+ - rename props:
262
+ - `segmentedColor` is now `color`
263
+ - `segmentedactived` is now `active`
264
+ - `segmentedChecked` is now `checked`
265
+ - modify button types:
266
+ - add `tertiary` type
267
+ - remove `link` type
197
268
 
198
269
  ### ✨ Features
199
- * **Typography:**
200
- * Add `color` prop to set color on each typography elements (@evoiron)
201
270
 
202
- * **Breadcrumb:**
203
- * change `breadcrumb` design (@Delmotte-Vincent)
204
- * add `icon` props in `breadcrumb` items (@Delmotte-Vincent)
271
+ - **Typography:**
272
+
273
+ - Add `color` prop to set color on each typography elements (@evoiron)
274
+
275
+ - **Breadcrumb:**
276
+ - change `breadcrumb` design (@Delmotte-Vincent)
277
+ - add `icon` props in `breadcrumb` items (@Delmotte-Vincent)
205
278
 
206
279
  ## [0.13.0](https://www.npmjs.com/package/aristid-ds/v/0.13.0) (2024-02-16)
207
280
 
208
281
  ### 🐛 Bug Fixes
209
- * remove styled-components for improved performances. All Components impacted (@evoiron)
210
- * upgrade Ant to versin 5.14.1 (@evoiron)
211
282
 
283
+ - remove styled-components for improved performances. All Components impacted (@evoiron)
284
+ - upgrade Ant to versin 5.14.1 (@evoiron)
212
285
 
213
286
  ## [0.12.0](https://www.npmjs.com/package/aristid-ds/v/0.12.0) (2024-02-02)
214
287
 
215
288
  ### ✨ Features
216
- * **Modal:**
217
- * Add `fullscreen`option (@evoiron)
218
289
 
219
- * **⚠️ Breaking change - ItemList**
220
- * Add `selected` props to display a colored border (@Delmotte-Vincent)
221
- * Rename `onSelectChange` by `onSelect` (@Delmotte-Vincent)
290
+ - **Modal:**
291
+
292
+ - Add `fullscreen`option (@evoiron)
293
+
294
+ - **⚠️ Breaking change - ItemList**
295
+ - Add `selected` props to display a colored border (@Delmotte-Vincent)
296
+ - Rename `onSelectChange` by `onSelect` (@Delmotte-Vincent)
222
297
 
223
298
  ### 🐛 Bug Fixes
224
- * A build option was removed by error
225
- * **Select**
226
- * Remove unused props `suffixIcon` and adapt the documentation (@Delmotte-Vincent)
227
- * Add focus state on select dropdown (@Delmotte-Vincent)
228
- * Fix Ellipsed tag on select (@Delmotte-Vincent)
229
- * **Storybook**
230
- * fix a visual bug on storybook caused by an addon (@evoiron)
299
+
300
+ - A build option was removed by error
301
+ - **Select**
302
+ - Remove unused props `suffixIcon` and adapt the documentation (@Delmotte-Vincent)
303
+ - Add focus state on select dropdown (@Delmotte-Vincent)
304
+ - Fix Ellipsed tag on select (@Delmotte-Vincent)
305
+ - **Storybook**
306
+ - fix a visual bug on storybook caused by an addon (@evoiron)
231
307
 
232
308
  ### 📚 Documentation
233
- * New documentation page to list available design tokens (@evoiron)
234
- * Display each design token corresponding css variable (@evoiron)
235
- * Display package version number on the top right corner of Storybook (@philippechevieux)
309
+
310
+ - New documentation page to list available design tokens (@evoiron)
311
+ - Display each design token corresponding css variable (@evoiron)
312
+ - Display package version number on the top right corner of Storybook (@philippechevieux)
236
313
 
237
314
  ## [0.11.0](https://www.npmjs.com/package/aristid-ds/v/0.11.0) (2024-01-24)
315
+
238
316
  ### ✨ Features
239
- * **Notification:**
240
- * Add `KitNotification` component usable without using `useKitNotification` hook (@evoiron)
317
+
318
+ - **Notification:**
319
+ - Add `KitNotification` component usable without using `useKitNotification` hook (@evoiron)
241
320
 
242
321
  ### 🐛 Bug Fixes
243
322
 
244
- * Fix warning at build time about potential cycling dependencies (@evoiron)
245
- * Remove deprecated package `react-uuid` (@evoiron)
246
- * Enable 3 Select options, to allow dynamic filtering of options (@evoiron)
323
+ - Fix warning at build time about potential cycling dependencies (@evoiron)
324
+ - Remove deprecated package `react-uuid` (@evoiron)
325
+ - Enable 3 Select options, to allow dynamic filtering of options (@evoiron)
247
326
 
248
327
  ## [0.10.0](https://www.npmjs.com/package/aristid-ds/v/0.10.0) (2024-01-19)
249
328
 
250
329
  ### ✨ Features
251
- * **⚠️ Breaking change - Card:**
252
- * Update visual render and properties (@Delmotte-Vincent)
253
- * This `Card` aim to replace actual `Card` and `ItemCard`
254
- * **⚠️ Breaking change - Collapse:**
255
- * Update visual render (@philippechevieux)
256
- * Update properties of `KitHeader` and `KitExtraHeader`
257
- * **Notification:**
258
- * Update visual render (@evoiron, @renaudAmsellem)
259
- * **DataEntry components:**
260
- * Update visual render of `hover` and `focus` state for all those components (@evoiron, @renaudAmsellem)
261
- * **Antd components:**
262
- * Export all components of `Ant Design`. Those components are now available in `aristid-ds`, all prefixed by `Ant` (eg `AntLayout`) (@evoiron)
263
- * **Tree shaking:**
264
- * All components are now tree shakable (@evoiron)
330
+
331
+ - **⚠️ Breaking change - Card:**
332
+ - Update visual render and properties (@Delmotte-Vincent)
333
+ - This `Card` aim to replace actual `Card` and `ItemCard`
334
+ - **⚠️ Breaking change - Collapse:**
335
+ - Update visual render (@philippechevieux)
336
+ - Update properties of `KitHeader` and `KitExtraHeader`
337
+ - **Notification:**
338
+ - Update visual render (@evoiron, @renaudAmsellem)
339
+ - **DataEntry components:**
340
+ - Update visual render of `hover` and `focus` state for all those components (@evoiron, @renaudAmsellem)
341
+ - **Antd components:**
342
+ - Export all components of `Ant Design`. Those components are now available in `aristid-ds`, all prefixed by `Ant` (eg `AntLayout`) (@evoiron)
343
+ - **Tree shaking:**
344
+ - All components are now tree shakable (@evoiron)
265
345
 
266
346
  ### 🚨 Tests
267
347
 
268
- * **Chromatic:**
269
- * Reduce number of snapshots (Group set of visual tests) (@fatb38)
348
+ - **Chromatic:**
349
+ - Reduce number of snapshots (Group set of visual tests) (@fatb38)
270
350
 
271
351
  ## [0.9.1](https://www.npmjs.com/package/aristid-ds/v/0.9.1) (2023-12-22)
272
352
 
273
353
  ### 🐛 Bug Fixes
274
354
 
275
- * Fix types issues in `IKitLocale` that was causing build to crash (@fatb38)
355
+ - Fix types issues in `IKitLocale` that was causing build to crash (@fatb38)
276
356
 
277
357
  ## [0.9.0](https://www.npmjs.com/package/aristid-ds/v/0.9.0) (2023-12-22)
278
358
 
279
359
  ### 🎨 Theming
280
360
 
281
- * Improve performance when using multiple `KitApp` component (@Delmotte-Vincent, @evoiron, @fatb38, @philippechevieux)
282
- * Replace `css-in-js` theming variables by `css variables` (@Delmotte-Vincent, @evoiron, @fatb38, @philippechevieux)
361
+ - Improve performance when using multiple `KitApp` component (@Delmotte-Vincent, @evoiron, @fatb38, @philippechevieux)
362
+ - Replace `css-in-js` theming variables by `css variables` (@Delmotte-Vincent, @evoiron, @fatb38, @philippechevieux)
283
363
 
284
364
  ### 🤖 CI
285
365
 
286
- * Add `eslint` to CI pipeline (@evoiron)
287
- * Add a build to CI pipeline (@evoiron)
366
+ - Add `eslint` to CI pipeline (@evoiron)
367
+ - Add a build to CI pipeline (@evoiron)
288
368
 
289
369
  ## [0.8.0](https://www.npmjs.com/package/aristid-ds/v/0.8.0) (2023-11-16)
290
370
 
291
371
  ### 🐛 Bug Fixes
292
372
 
293
- * **Select:**
294
- * Border rendering was not good when the DropDown changed position due to insufficient space (@philippechevieux)
295
- * In some cases, the last Dropdown item was not visible (@philippechevieux)
296
- * **Input:**
297
- * Token `colors.border.hover` was not used (@philippechevieux)
298
- * **Alert:**
299
- * Token `colors.icon.alert.info` was not set with the right value (@philippechevieux)
300
- * **Avatar, Badge, Tag, Rate, Icon:**
301
- * Add a function to check if the color property value is valid instead of type checking. If given value is not valid then component will use its default value (@philippechevieux)
373
+ - **Select:**
374
+ - Border rendering was not good when the DropDown changed position due to insufficient space (@philippechevieux)
375
+ - In some cases, the last Dropdown item was not visible (@philippechevieux)
376
+ - **Input:**
377
+ - Token `colors.border.hover` was not used (@philippechevieux)
378
+ - **Alert:**
379
+ - Token `colors.icon.alert.info` was not set with the right value (@philippechevieux)
380
+ - **Avatar, Badge, Tag, Rate, Icon:**
381
+ - Add a function to check if the color property value is valid instead of type checking. If given value is not valid then component will use its default value (@philippechevieux)
302
382
 
303
383
  ### ✨ Features
304
384
 
305
- * **Input, Password, TextArea, InputNuver, DatePicker, RangePicker, ColorPicker:**
306
- * Add a new property `wrapperClassName` to target component wrapper element (@Delmotte-Vincent)
307
- * **Rate:**
308
- * Update component render (@philippechevieux)
309
- * Remove property `disabledStarTransparency` (@philippechevieux)
310
- * Add optional props `defaultIcon`, `halfIcon` and `activeIcon` (@philippechevieux)
311
- * **🆕 Tour:**
312
- * Add this brand new component (@Delmotte-Vincent)
385
+ - **Input, Password, TextArea, InputNuver, DatePicker, RangePicker, ColorPicker:**
386
+ - Add a new property `wrapperClassName` to target component wrapper element (@Delmotte-Vincent)
387
+ - **Rate:**
388
+ - Update component render (@philippechevieux)
389
+ - Remove property `disabledStarTransparency` (@philippechevieux)
390
+ - Add optional props `defaultIcon`, `halfIcon` and `activeIcon` (@philippechevieux)
391
+ - **🆕 Tour:**
392
+ - Add this brand new component (@Delmotte-Vincent)
313
393
 
314
394
  ### 🚨 Tests
315
395
 
316
- * **Chromatic:**
317
- * Add tests for `DataDisplay` folder (@Delmotte-Vincent)
318
- * Add tests for `DataEntry` folder (@Delmotte-Vincent)
319
- * Add tests for `Layout` folder (@Delmotte-Vincent)
320
- * Add tests for `General` folder (@evoiron)
321
- * Add tests for `Feedback` folder (@evoiron)
396
+ - **Chromatic:**
397
+ - Add tests for `DataDisplay` folder (@Delmotte-Vincent)
398
+ - Add tests for `DataEntry` folder (@Delmotte-Vincent)
399
+ - Add tests for `Layout` folder (@Delmotte-Vincent)
400
+ - Add tests for `General` folder (@evoiron)
401
+ - Add tests for `Feedback` folder (@evoiron)
322
402
 
323
403
  ### 📚 Documentation
324
404
 
325
- * Update code structure in `README.md` and remove duplicate information `Introduction.stories.mdx` (@philippechevieux)
326
- * Fix multiples `console.error` caused by missing property `key` in some exemple (@philippechevieux)
405
+ - Update code structure in `README.md` and remove duplicate information `Introduction.stories.mdx` (@philippechevieux)
406
+ - Fix multiples `console.error` caused by missing property `key` in some exemple (@philippechevieux)
@@ -14,10 +14,10 @@ import { frFR as p } from "../../translation/fr-FR/index.js";
14
14
  import { enUS as x } from "../../translation/en-US/index.js";
15
15
  import { K as A, u as F } from "../../chunks/useKitLocale.96CdK3og.js";
16
16
  import { mapKitLocaleToAntdLocale as I } from "../../translation/utils/index.js";
17
- import { d as $ } from "../../chunks/notification-provider.pUKOxZw6.js";
17
+ import { d as $ } from "../../chunks/notification-provider.EgQZHEbE.js";
18
18
  import "../DataDisplay/Avatar/index.js";
19
19
  import "../DataDisplay/Badge/index.js";
20
- import "../../chunks/index.tMktkiEu.js";
20
+ import "../../chunks/index.wMOo1bfz.js";
21
21
  import { KitEmpty as c } from "../DataDisplay/Empty/index.js";
22
22
  import "../DataDisplay/Error/index.js";
23
23
  import "../DataDisplay/IdCard/index.js";
@@ -1,4 +1,4 @@
1
- import { s as a, K as m } from "../../../chunks/Avatar.VZkvLuLD.js";
1
+ import { s as a, K as m } from "../../../chunks/Avatar.icARSD26.js";
2
2
  import { jsx as c } from "react/jsx-runtime";
3
3
  import { Avatar as l } from "antd";
4
4
  import { u as n } from "../../../chunks/useKitTheme.KSAU-Pdv.js";