@olenbetong/appframe-ds 1.9.2 → 1.9.3

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,5 +1,11 @@
1
1
  # @olenbetong/appframe-ds
2
2
 
3
+ ## 1.9.3
4
+
5
+ ### Patch Changes
6
+
7
+ - aae787f: AfLookup: `slotProps.dialog` reaches the lookup dialog. It was accepted but dropped, so a dialog `className` or `style` (such as a wider `--default-width` for a grid lookup) had no effect.
8
+
3
9
  ## 1.9.2
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olenbetong/appframe-ds",
3
- "version": "1.9.2",
3
+ "version": "1.9.3",
4
4
  "description": "Components that bind Designsystemet components to Appframe data objects",
5
5
  "type": "module",
6
6
  "types": "./es/index.d.ts",
@@ -144,7 +144,17 @@ export function AfLookup<T extends Record<string, unknown>>({
144
144
  value,
145
145
  ...props
146
146
  }: AfLookupProps<T>) {
147
- let { inputId, open: _open, dialog, anchorName, openDialog, onKeyDown } = useLookup<T>(props);
147
+ let {
148
+ inputId,
149
+ open: _open,
150
+ dialog,
151
+ anchorName,
152
+ openDialog,
153
+ onKeyDown,
154
+ } = useLookup<T>({
155
+ ...props,
156
+ slotProps: { dialog: slotProps?.dialog },
157
+ });
148
158
 
149
159
  let hasClear = !!(props.nullable && value && props.onChange);
150
160