@appquality/unguess-design-system 4.0.21 → 4.0.22

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,19 @@
1
+ # v4.0.22 (Tue Jan 21 2025)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - 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))
6
+ - 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))
7
+ - Un 538 new accordion [#466](https://github.com/AppQuality/unguess-design-system/pull/466) ([@iacopolea](https://github.com/iacopolea))
8
+
9
+ #### Authors: 3
10
+
11
+ - [@d-beezee](https://github.com/d-beezee)
12
+ - Iacopo Leardini ([@iacopolea](https://github.com/iacopolea))
13
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
14
+
15
+ ---
16
+
1
17
  # v4.0.21 (Thu Jan 16 2025)
2
18
 
3
19
  #### 🐛 Bug Fix
package/build/index.d.ts CHANGED
@@ -13,6 +13,7 @@ import { ReactComponent as CampaignFunctionalIcon } from '../../assets/icons/cam
13
13
  import { Cell } from '@zendeskgarden/react-tables';
14
14
  import { ChangeEventHandler } from 'react';
15
15
  import { Checkbox as Checkbox_2 } from '@zendeskgarden/react-forms';
16
+ import { CheckboxArgs } from '../_types';
16
17
  import { ClipboardEventHandler } from 'react';
17
18
  import { ComponentProps } from 'react';
18
19
  import { CompositionEventHandler } from 'react';
@@ -180,6 +181,9 @@ export declare const Accordion: ForwardRefExoticComponent<AccordionArgs_2 & RefA
180
181
 
181
182
  export declare interface AccordionArgs extends IAccordionProps {
182
183
  hasCheckbox?: boolean;
184
+ hasBorder?: boolean;
185
+ hasShadow?: boolean;
186
+ type?: "default" | "primary" | "danger" | "warning" | "success" | "info";
183
187
  }
184
188
 
185
189
  declare interface AccordionArgs_2 extends IAccordionProps {
@@ -210,6 +214,8 @@ declare interface AccordionArgs_2 extends IAccordionProps {
210
214
  export declare interface AccordionContext {
211
215
  isCompact?: boolean;
212
216
  hasCheckbox?: boolean;
217
+ hasBorder?: boolean;
218
+ type?: "default" | "primary" | "danger" | "warning" | "success" | "info";
213
219
  }
214
220
 
215
221
  export declare const AccordionContext: Context<AccordionContext>;
@@ -942,15 +948,7 @@ export declare const ChatProvider: ({ onSave, onFileUpload, onDeleteThumbnail, s
942
948
  * - To give the user a mutually exclusive choice, use the Radio component instead
943
949
  * - To let users activate an option that takes effect immediately, use a Toggle instead
944
950
  **/
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
- }
951
+ export declare const Checkbox: (props: ICheckboxProps) => JSX_2.Element;
954
952
 
955
953
  export declare const CheckboxCard: (props: CheckboxCardArgs) => JSX_2.Element;
956
954