@synerise/ds-factors 2.0.4 → 2.1.0

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
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@2.0.5...@synerise/ds-factors@2.1.0) (2026-09-16)
7
+
8
+ ### Features
9
+
10
+ - **list-item:** add content-fitting size="auto" ([e269f0a](https://github.com/Synerise/synerise-design/commit/e269f0a48ca7472f4766a50a957e22d7988c5e13))
11
+
12
+ ## [2.0.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@2.0.4...@synerise/ds-factors@2.0.5) (2026-09-10)
13
+
14
+ **Note:** Version bump only for package @synerise/ds-factors
15
+
6
16
  ## [2.0.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@2.0.3...@synerise/ds-factors@2.0.4) (2026-09-08)
7
17
 
8
18
  **Note:** Version bump only for package @synerise/ds-factors
@@ -1,9 +1,17 @@
1
1
  import { CSSProperties } from 'react';
2
+ import { ItemSize } from '@synerise/ds-list-item';
2
3
  export declare const LIST_STYLE: CSSProperties;
3
4
  export declare const NO_GROUP_NAME = "NO_GROUP_NAME";
4
- export declare const ITEM_SIZE: {
5
- large: number;
6
- default: number;
5
+ /**
6
+ * Row height estimates. Typed exhaustively over `ItemSize` on purpose: a new size must fail
7
+ * the build here rather than silently yield an undefined row offset. `auto` has no fixed
8
+ * height — 32 is its `min-height` floor.
9
+ *
10
+ * `ParameterDropdown`'s `getItemSize` only ever reads the `default` entry, so this dropdown
11
+ * does not honour a per-item `size` at all — not `large` either. That is a pre-existing gap,
12
+ * not something `auto` introduced.
13
+ */
14
+ export declare const ITEM_SIZE: Record<ItemSize, number> & {
7
15
  title: number;
8
16
  };
9
17
  export declare const DROPDOWN_HEIGHT = 420;
@@ -7,6 +7,7 @@ const NO_GROUP_NAME = "NO_GROUP_NAME";
7
7
  const ITEM_SIZE = {
8
8
  [itemSizes.LARGE]: 50,
9
9
  [itemSizes.DEFAULT]: 32,
10
+ [itemSizes.AUTO]: 32,
10
11
  title: 32
11
12
  };
12
13
  const DROPDOWN_HEIGHT = 420;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-factors",
3
- "version": "2.0.4",
3
+ "version": "2.1.0",
4
4
  "description": "Factors UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -42,34 +42,34 @@
42
42
  ],
43
43
  "types": "dist/index.d.ts",
44
44
  "dependencies": {
45
- "@synerise/ds-autocomplete": "^2.0.3",
46
- "@synerise/ds-badge": "^2.0.2",
47
- "@synerise/ds-button": "^2.0.2",
48
- "@synerise/ds-button-group": "^2.0.2",
49
- "@synerise/ds-collector": "^2.0.3",
50
- "@synerise/ds-date-picker": "^2.0.3",
51
- "@synerise/ds-date-range-picker": "^2.0.4",
52
- "@synerise/ds-divider": "^2.0.2",
53
- "@synerise/ds-dropdown": "^2.0.3",
54
- "@synerise/ds-empty-states": "^2.0.1",
55
- "@synerise/ds-icon": "^2.1.0",
56
- "@synerise/ds-information-card": "^2.0.4",
57
- "@synerise/ds-inline-alert": "^2.0.1",
58
- "@synerise/ds-inline-edit": "^2.0.3",
59
- "@synerise/ds-input": "^2.0.3",
60
- "@synerise/ds-input-number": "^2.0.3",
61
- "@synerise/ds-list-item": "^2.0.2",
62
- "@synerise/ds-modal": "^2.0.3",
63
- "@synerise/ds-result": "^2.0.2",
64
- "@synerise/ds-scrollbar": "^2.0.1",
65
- "@synerise/ds-search": "^2.0.2",
66
- "@synerise/ds-select": "^2.0.4",
67
- "@synerise/ds-short-cuts": "^2.0.2",
68
- "@synerise/ds-skeleton": "^2.0.2",
69
- "@synerise/ds-tabs": "^2.0.3",
70
- "@synerise/ds-tag": "^2.0.2",
71
- "@synerise/ds-tooltip": "^2.0.2",
72
- "@synerise/ds-utils": "^2.0.0",
45
+ "@synerise/ds-autocomplete": "^2.0.4",
46
+ "@synerise/ds-badge": "^2.0.3",
47
+ "@synerise/ds-button": "^2.0.3",
48
+ "@synerise/ds-button-group": "^2.0.3",
49
+ "@synerise/ds-collector": "^2.0.4",
50
+ "@synerise/ds-date-picker": "^2.1.1",
51
+ "@synerise/ds-date-range-picker": "^2.1.1",
52
+ "@synerise/ds-divider": "^2.0.3",
53
+ "@synerise/ds-dropdown": "^2.1.0",
54
+ "@synerise/ds-empty-states": "^2.0.2",
55
+ "@synerise/ds-icon": "^2.1.1",
56
+ "@synerise/ds-information-card": "^2.0.6",
57
+ "@synerise/ds-inline-alert": "^2.0.2",
58
+ "@synerise/ds-inline-edit": "^2.0.4",
59
+ "@synerise/ds-input": "^2.0.4",
60
+ "@synerise/ds-input-number": "^2.0.4",
61
+ "@synerise/ds-list-item": "^2.1.0",
62
+ "@synerise/ds-modal": "^2.0.4",
63
+ "@synerise/ds-result": "^2.0.3",
64
+ "@synerise/ds-scrollbar": "^2.0.2",
65
+ "@synerise/ds-search": "^2.0.3",
66
+ "@synerise/ds-select": "^2.1.0",
67
+ "@synerise/ds-short-cuts": "^2.0.3",
68
+ "@synerise/ds-skeleton": "^2.0.3",
69
+ "@synerise/ds-tabs": "^2.0.4",
70
+ "@synerise/ds-tag": "^2.0.3",
71
+ "@synerise/ds-tooltip": "^2.0.3",
72
+ "@synerise/ds-utils": "^2.1.0",
73
73
  "lodash.merge": "^4.6.2",
74
74
  "react-window": "^1.8.11",
75
75
  "uuid": "^8.3.2"
@@ -85,5 +85,5 @@
85
85
  "styled-components": "^5.3.3",
86
86
  "vitest": "4"
87
87
  },
88
- "gitHead": "e0dced8fd3a1194eff2fafc1b7e385b29238af88"
88
+ "gitHead": "71f08fdaba8e7b80731e29a03883dc6a33f2b9db"
89
89
  }