@appquality/unguess-design-system 4.0.21 → 4.0.23

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,32 @@
1
+ # v4.0.23 (Tue Jan 21 2025)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - new version [#476](https://github.com/AppQuality/unguess-design-system/pull/476) ([@iacopolea](https://github.com/iacopolea))
6
+ - fix: update CheckboxCardArgs to use ICheckboxProps for improved type safety [#475](https://github.com/AppQuality/unguess-design-system/pull/475) ([@iacopolea](https://github.com/iacopolea))
7
+
8
+ #### Authors: 1
9
+
10
+ - Iacopo Leardini ([@iacopolea](https://github.com/iacopolea))
11
+
12
+ ---
13
+
14
+ # v4.0.22 (Tue Jan 21 2025)
15
+
16
+ #### 🐛 Bug Fix
17
+
18
+ - release 20250121 [#474](https://github.com/AppQuality/unguess-design-system/pull/474) ([@iacopolea](https://github.com/iacopolea) [@d-beezee](https://github.com/d-beezee) [@marcbon](https://github.com/marcbon))
19
+ - fix: correct mention id parsing to read integer instead of string [#465](https://github.com/AppQuality/unguess-design-system/pull/465) ([@d-beezee](https://github.com/d-beezee))
20
+ - Un 538 new accordion [#466](https://github.com/AppQuality/unguess-design-system/pull/466) ([@iacopolea](https://github.com/iacopolea))
21
+
22
+ #### Authors: 3
23
+
24
+ - [@d-beezee](https://github.com/d-beezee)
25
+ - Iacopo Leardini ([@iacopolea](https://github.com/iacopolea))
26
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
27
+
28
+ ---
29
+
1
30
  # v4.0.21 (Thu Jan 16 2025)
2
31
 
3
32
  #### 🐛 Bug Fix
package/build/index.d.ts CHANGED
@@ -180,6 +180,9 @@ export declare const Accordion: ForwardRefExoticComponent<AccordionArgs_2 & RefA
180
180
 
181
181
  export declare interface AccordionArgs extends IAccordionProps {
182
182
  hasCheckbox?: boolean;
183
+ hasBorder?: boolean;
184
+ hasShadow?: boolean;
185
+ type?: "default" | "primary" | "danger" | "warning" | "success" | "info";
183
186
  }
184
187
 
185
188
  declare interface AccordionArgs_2 extends IAccordionProps {
@@ -210,6 +213,8 @@ declare interface AccordionArgs_2 extends IAccordionProps {
210
213
  export declare interface AccordionContext {
211
214
  isCompact?: boolean;
212
215
  hasCheckbox?: boolean;
216
+ hasBorder?: boolean;
217
+ type?: "default" | "primary" | "danger" | "warning" | "success" | "info";
213
218
  }
214
219
 
215
220
  export declare const AccordionContext: Context<AccordionContext>;
@@ -942,19 +947,11 @@ export declare const ChatProvider: ({ onSave, onFileUpload, onDeleteThumbnail, s
942
947
  * - To give the user a mutually exclusive choice, use the Radio component instead
943
948
  * - To let users activate an option that takes effect immediately, use a Toggle instead
944
949
  **/
945
- export declare const Checkbox: (props: CheckboxArgs) => JSX_2.Element;
946
-
947
- declare interface CheckboxArgs extends ICheckboxProps {
948
- /**
949
- * Sets the checkbox state to
950
- * [indeterminate](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#Indeterminate_state_checkboxes)
951
- */
952
- indeterminate?: boolean;
953
- }
950
+ export declare const Checkbox: (props: ICheckboxProps) => JSX_2.Element;
954
951
 
955
952
  export declare const CheckboxCard: (props: CheckboxCardArgs) => JSX_2.Element;
956
953
 
957
- declare interface CheckboxCardArgs extends CheckboxArgs {
954
+ declare interface CheckboxCardArgs extends ICheckboxProps {
958
955
  card?: SpecialCardProps;
959
956
  label: string;
960
957
  icon: React.ReactNode;