@appquality/unguess-design-system 4.0.2 → 4.0.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ # v4.0.4 (Mon Oct 21 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - feat: Allow disabling autowidth for selects [#431](https://github.com/AppQuality/unguess-design-system/pull/431) ([@d-beezee](https://github.com/d-beezee))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@d-beezee](https://github.com/d-beezee)
10
+
11
+ ---
12
+
13
+ # v4.0.3 (Mon Oct 21 2024)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - fix types and stories render [#430](https://github.com/AppQuality/unguess-design-system/pull/430) ([@d-beezee](https://github.com/d-beezee))
18
+
19
+ #### Authors: 1
20
+
21
+ - [@d-beezee](https://github.com/d-beezee)
22
+
23
+ ---
24
+
1
25
  # v4.0.2 (Mon Oct 21 2024)
2
26
 
3
27
  #### 🐛 Bug Fix
package/build/index.d.ts CHANGED
@@ -7747,6 +7747,7 @@ declare interface SelectArgs extends Omit<IComboboxProps, "onSelect"> {
7747
7747
  children?: React.ReactNode;
7748
7748
  onSelect?: (value: string) => Promise<void> | void;
7749
7749
  isDisabled?: boolean;
7750
+ fullWidthOption?: boolean;
7750
7751
  }
7751
7752
 
7752
7753
  declare type SentenceType = {
@@ -11219,8 +11220,10 @@ export declare const theme: {
11219
11220
  } | undefined;
11220
11221
  borderColor?: string | undefined;
11221
11222
  };
11222
- "dropdowns.combobox.floating": () => {
11223
- width: string;
11223
+ "dropdowns.combobox": (props: any) => {
11224
+ "[data-garden-id='dropdowns.combobox.floating']": {
11225
+ width?: string | undefined;
11226
+ };
11224
11227
  };
11225
11228
  "buttons.button": ({ isAccent, isBright, isPrimary, isBasic, isLink, }: ButtonArgs) => {
11226
11229
  backgroundColor?: string | undefined;
package/build/index.js CHANGED
@@ -6643,8 +6643,10 @@ const vle = {
6643
6643
  },
6644
6644
  ...e && { pointerEvents: "none" }
6645
6645
  }),
6646
- "dropdowns.combobox.floating": () => ({
6647
- width: "auto !important"
6646
+ "dropdowns.combobox": (e) => ({
6647
+ "[data-garden-id='dropdowns.combobox.floating']": {
6648
+ ...e.fullWidthOption ? {} : { width: "auto !important" }
6649
+ }
6648
6650
  }),
6649
6651
  "buttons.button": ({
6650
6652
  isAccent: e,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "4.0.2",
3
+ "version": "4.0.4",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -78,7 +78,7 @@
78
78
  "@zendeskgarden/react-tooltips": "8.76.8",
79
79
  "@zendeskgarden/react-typography": "8.76.8",
80
80
  "react-slick": "^0.29.0",
81
- "react-window": "^1.8.6",
81
+ "@types/react-slick": "^0.23.10",
82
82
  "tippy.js": "^6.3.7",
83
83
  "ua-parser-js": "^1.0.2",
84
84
  "uuid": "^9.0.1"
@@ -105,7 +105,7 @@
105
105
  "@types/node": "^20.14.2",
106
106
  "@types/react": "^17.0.0 || ^18.0.0",
107
107
  "@types/react-dom": "^17.0.0 || ^18.0.0",
108
- "@types/react-slick": "^0.23.10",
108
+ "react-window": "^1.8.6",
109
109
  "@types/react-window": "^1.8.5",
110
110
  "@types/ua-parser-js": "^0.7.36",
111
111
  "@types/uuid": "^9.0.8",