@danske/sapphire-react-lab 0.100.0 → 0.101.1

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.
Files changed (36) hide show
  1. package/build/cjs/index.js +967 -813
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/esm/Accordion/src/AccordionHeading.js.map +1 -1
  4. package/build/esm/Alert/src/Alert.js.map +1 -1
  5. package/build/esm/Autocomplete/i18n/da-DK.js +6 -0
  6. package/build/esm/Autocomplete/i18n/da-DK.js.map +1 -0
  7. package/build/esm/Autocomplete/i18n/de-DE.js +6 -0
  8. package/build/esm/Autocomplete/i18n/de-DE.js.map +1 -0
  9. package/build/esm/Autocomplete/i18n/en-US.js +6 -0
  10. package/build/esm/Autocomplete/i18n/en-US.js.map +1 -0
  11. package/build/esm/Autocomplete/i18n/fi-FI.js +6 -0
  12. package/build/esm/Autocomplete/i18n/fi-FI.js.map +1 -0
  13. package/build/esm/Autocomplete/i18n/index.js +20 -0
  14. package/build/esm/Autocomplete/i18n/index.js.map +1 -0
  15. package/build/esm/Autocomplete/i18n/nb-NO.js +6 -0
  16. package/build/esm/Autocomplete/i18n/nb-NO.js.map +1 -0
  17. package/build/esm/Autocomplete/i18n/pl-PL.js +6 -0
  18. package/build/esm/Autocomplete/i18n/pl-PL.js.map +1 -0
  19. package/build/esm/Autocomplete/i18n/sv-SE.js +6 -0
  20. package/build/esm/Autocomplete/i18n/sv-SE.js.map +1 -0
  21. package/build/esm/Autocomplete/src/Autocomplete.js +89 -0
  22. package/build/esm/Autocomplete/src/Autocomplete.js.map +1 -0
  23. package/build/esm/Breadcrumbs/src/BreadcrumbItemLink.js +6 -0
  24. package/build/esm/Breadcrumbs/src/BreadcrumbItemLink.js.map +1 -1
  25. package/build/esm/Breadcrumbs/src/BreadcrumbItemStatic.js +36 -0
  26. package/build/esm/Breadcrumbs/src/BreadcrumbItemStatic.js.map +1 -0
  27. package/build/esm/Filtering/src/SearchableSelectFilter.js +13 -11
  28. package/build/esm/Filtering/src/SearchableSelectFilter.js.map +1 -1
  29. package/build/esm/LabeledValue/src/LabeledValue.js.map +1 -1
  30. package/build/esm/NumberField/src/StepperButton.js.map +1 -1
  31. package/build/esm/TagGroup/src/Tag.js.map +1 -1
  32. package/build/esm/TagGroup/src/TagGroup.js.map +1 -1
  33. package/build/esm/index.js +8 -7
  34. package/build/esm/index.js.map +1 -1
  35. package/build/index.d.ts +175 -152
  36. package/package.json +6 -5
package/build/index.d.ts CHANGED
@@ -1,96 +1,16 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { ReactNode, ReactElement, RefObject, Key } from 'react';
3
- import { SapphireStyleProps, PopoverTriggerProps, SearchFieldPropsWithRef, ListBoxProps, TypographyHeadingProps, FieldProps, ButtonProps } from '@danske/sapphire-react';
4
3
  import * as _react_types_shared from '@react-types/shared';
5
4
  import { CollectionBase, DOMProps, Expandable, ItemProps, AriaLabelingProps, FocusableRefValue, PressEvents } from '@react-types/shared';
5
+ import { SapphireStyleProps, TypographyHeadingProps, ListBoxProps, ButtonProps, PopoverTriggerProps, SearchFieldPropsWithRef, FieldProps } from '@danske/sapphire-react';
6
+ import { ComboBoxProps } from '@react-types/combobox';
7
+ import { BreadcrumbProps, BreadcrumbsProps as BreadcrumbsProps$1, SliderProps as SliderProps$1, SliderThumbProps, TimeValue } from 'react-aria-components';
6
8
  import { HoverProps } from '@react-aria/interactions';
7
9
  import { DropOptions } from '@react-aria/dnd';
8
10
  import { AriaNumberFieldProps } from '@react-aria/numberfield';
9
- import { SliderProps as SliderProps$1, SliderThumbProps, BreadcrumbProps, BreadcrumbsProps as BreadcrumbsProps$1, TimeValue } from 'react-aria-components';
10
11
  import { AriaTimeFieldProps } from '@react-aria/datepicker';
11
12
  export { useLocale } from '@react-aria/i18n';
12
13
 
13
- interface FilterDropdownProps extends SapphireStyleProps, Pick<PopoverTriggerProps, 'defaultOpen' | 'isOpen' | 'onOpenChange' | 'noMaxWidth'> {
14
- /**
15
- * "Filter by" label, shown inside the trigger button.
16
- */
17
- label: ReactNode;
18
- /**
19
- * Filter value, shown inside the trigger button. `null`, `undefined` and empty string are
20
- * considered as unset value.
21
- */
22
- value: ReactNode;
23
- /**
24
- * Filtering UI controls, rendered in a popover.
25
- */
26
- children: ReactNode;
27
- /**
28
- * Called when:
29
- * - `Enter` is pressed on form fields rendered inside the popover.
30
- * - 'Apply' button is pressed (if `hasApplyButton` is true)
31
- */
32
- onApply?: () => void;
33
- /**
34
- * Whether to show the 'Apply' button.
35
- */
36
- hasApplyButton?: boolean;
37
- /**
38
- * Called when 'Clear' button is pressed.
39
- */
40
- onClear?: () => void;
41
- /**
42
- * Whether the button is disabled.
43
- */
44
- isDisabled?: boolean;
45
- /**
46
- * Whether the 'Apply' button is disabled.
47
- */
48
- isApplyDisabled?: boolean;
49
- /**
50
- * Whether the 'Clear' button is disabled.
51
- */
52
- isClearDisabled?: boolean;
53
- /**
54
- * The label of the 'Clear' button.
55
- * @default "Clear"
56
- */
57
- clearButtonLabel?: ReactNode;
58
- /**
59
- * The label of the 'Apply' button.
60
- * @default "Apply"
61
- */
62
- applyButtonLabel?: ReactNode;
63
- /**
64
- * The size of the buttons incl. the trigger itself.
65
- * @default 'md'
66
- */
67
- buttonSize?: 'sm' | 'md' | 'lg';
68
- }
69
- /**
70
- * A button with a dropdown, used for filtering UI.
71
- */
72
- declare function FilterDropdown({ children, label, value, isDisabled, isApplyDisabled, isClearDisabled, isOpen: isOpenProp, applyButtonLabel, clearButtonLabel, defaultOpen, hasApplyButton, noMaxWidth, onApply, onClear, onOpenChange, buttonSize, }: FilterDropdownProps): JSX.Element;
73
-
74
- interface SearchableSelectFilterProps extends SapphireStyleProps, Omit<FilterDropdownProps, 'children'> {
75
- /**
76
- * The SearchField to search items with.
77
- */
78
- searchField: ReactElement<SearchFieldPropsWithRef<object>>;
79
- /**
80
- * The ListBox to select items from.
81
- */
82
- listBox: ReactElement<ListBoxProps<object>>;
83
- /**
84
- * The Button size of the trigger
85
- * @default 'md'
86
- */
87
- size?: 'sm' | 'md' | 'lg';
88
- }
89
- /**
90
- * A button with a dropdown, used for filtering UI.
91
- */
92
- declare function SearchableSelectFilter(props: SearchableSelectFilterProps): JSX.Element;
93
-
94
14
  declare type TreeExpansionMode = 'single' | 'multiple';
95
15
 
96
16
  interface AccordionProps<T> extends SapphireStyleProps, CollectionBase<T>, DOMProps, Expandable {
@@ -148,6 +68,71 @@ declare const _Accordion: (<T extends object>(props: AccordionProps<T> & {
148
68
  Item: <T_1>(props: AccordionItemProps<T_1>) => JSX.Element;
149
69
  };
150
70
 
71
+ interface SapphireAlertProps extends SapphireStyleProps {
72
+ /**
73
+ * The content of the alert.
74
+ */
75
+ children?: ReactNode;
76
+ /**
77
+ * The title of the alert.
78
+ */
79
+ title?: ReactNode;
80
+ /**
81
+ * @default 'info'
82
+ */
83
+ variant?: 'info' | 'positive' | 'negative' | 'warning';
84
+ }
85
+ declare function Alert({ children, title, variant, ...props }: SapphireAlertProps): React__default.JSX.Element;
86
+
87
+ declare type AutocompleteProps<T extends object> = SapphireStyleProps & Pick<ComboBoxProps<T>, 'items' | 'children' | 'inputValue' | 'defaultInputValue' | 'onInputChange' | 'onSelectionChange' | 'isDisabled'> & Pick<ListBoxProps<T>, 'loadingState' | 'loadingSkeletonRowsCount'> & {
88
+ /**
89
+ * Render function for the input element.
90
+ * Receives props that should be spread onto the input component.
91
+ */
92
+ renderInput: (inputProps: any) => ReactElement;
93
+ /**
94
+ * Accessible label for the suggestions listbox.
95
+ */
96
+ listboxAriaLabel?: string;
97
+ /**
98
+ * Controlled selected value.
99
+ */
100
+ value?: React__default.Key | null;
101
+ /**
102
+ * Decide what items to display in the dropdown menu.
103
+ * @default 'String.includes'
104
+ */
105
+ defaultFilter?: (textValue: string, inputValue: string) => boolean;
106
+ };
107
+ declare function Autocomplete<T extends object>(props: AutocompleteProps<T>): ReactElement;
108
+
109
+ declare type BreadcrumbItemProps = {
110
+ isDisabled?: boolean;
111
+ } & SapphireStyleProps & Pick<BreadcrumbProps, 'children'>;
112
+ declare const BreadcrumbItem: ({ children, isDisabled: individualDisabled, ...props }: BreadcrumbItemProps) => JSX.Element;
113
+
114
+ declare type BreadcrumbsProps<T extends object> = Pick<BreadcrumbsProps$1<T>, 'aria-label' | 'isDisabled'> & {
115
+ children: React__default.ReactElement<BreadcrumbItemProps>[];
116
+ /**
117
+ * The size of the breadcrumbs component.
118
+ *
119
+ * @default 'md'
120
+ */
121
+ size?: 'sm' | 'md' | 'lg';
122
+ /**
123
+ * Maximum width for the breadcrumbs container. When content overflows,
124
+ * it will show an overflow menu with the first and last items.
125
+ */
126
+ maxWidth?: React__default.CSSProperties['maxWidth'];
127
+ } & SapphireStyleProps;
128
+ /**
129
+ * Breadcrumbs display a hierarchy of links to the current page or resource in an application.
130
+ */
131
+ declare const Breadcrumbs: <T extends object>({ size, children, maxWidth, ...props }: BreadcrumbsProps<T>) => JSX.Element;
132
+
133
+ declare type BreadcrumbItemLinkProps = Omit<ButtonProps<'a'>, 'variant' | 'iconAlign'> & SapphireStyleProps;
134
+ declare const BreadcrumbItemLink: React__default.ForwardRefExoticComponent<Omit<ButtonProps<"a">, "variant" | "iconAlign"> & SapphireStyleProps & React__default.RefAttributes<_react_types_shared.FocusableRefValue<HTMLAnchorElement, HTMLAnchorElement>>>;
135
+
151
136
  interface FileSelectProps {
152
137
  /**
153
138
  * List of file types that are allowed to be selected using the file select.
@@ -193,6 +178,87 @@ interface FileDropzoneProps extends SapphireStyleProps, Pick<DropOptions, 'getDr
193
178
  }
194
179
  declare const FileDropzone: React__default.ForwardRefExoticComponent<FileDropzoneProps & React__default.RefAttributes<HTMLDivElement>>;
195
180
 
181
+ interface FilterDropdownProps extends SapphireStyleProps, Pick<PopoverTriggerProps, 'defaultOpen' | 'isOpen' | 'onOpenChange' | 'noMaxWidth'> {
182
+ /**
183
+ * "Filter by" label, shown inside the trigger button.
184
+ */
185
+ label: ReactNode;
186
+ /**
187
+ * Filter value, shown inside the trigger button. `null`, `undefined` and empty string are
188
+ * considered as unset value.
189
+ */
190
+ value: ReactNode;
191
+ /**
192
+ * Filtering UI controls, rendered in a popover.
193
+ */
194
+ children: ReactNode;
195
+ /**
196
+ * Called when:
197
+ * - `Enter` is pressed on form fields rendered inside the popover.
198
+ * - 'Apply' button is pressed (if `hasApplyButton` is true)
199
+ */
200
+ onApply?: () => void;
201
+ /**
202
+ * Whether to show the 'Apply' button.
203
+ */
204
+ hasApplyButton?: boolean;
205
+ /**
206
+ * Called when 'Clear' button is pressed.
207
+ */
208
+ onClear?: () => void;
209
+ /**
210
+ * Whether the button is disabled.
211
+ */
212
+ isDisabled?: boolean;
213
+ /**
214
+ * Whether the 'Apply' button is disabled.
215
+ */
216
+ isApplyDisabled?: boolean;
217
+ /**
218
+ * Whether the 'Clear' button is disabled.
219
+ */
220
+ isClearDisabled?: boolean;
221
+ /**
222
+ * The label of the 'Clear' button.
223
+ * @default "Clear"
224
+ */
225
+ clearButtonLabel?: ReactNode;
226
+ /**
227
+ * The label of the 'Apply' button.
228
+ * @default "Apply"
229
+ */
230
+ applyButtonLabel?: ReactNode;
231
+ /**
232
+ * The size of the buttons incl. the trigger itself.
233
+ * @default 'md'
234
+ */
235
+ buttonSize?: 'sm' | 'md' | 'lg';
236
+ }
237
+ /**
238
+ * A button with a dropdown, used for filtering UI.
239
+ */
240
+ declare function FilterDropdown({ children, label, value, isDisabled, isApplyDisabled, isClearDisabled, isOpen: isOpenProp, applyButtonLabel, clearButtonLabel, defaultOpen, hasApplyButton, noMaxWidth, onApply, onClear, onOpenChange, buttonSize, }: FilterDropdownProps): JSX.Element;
241
+
242
+ interface SearchableSelectFilterProps extends SapphireStyleProps, Omit<FilterDropdownProps, 'children'> {
243
+ /**
244
+ * The SearchField to search items with.
245
+ */
246
+ searchField: ReactElement<SearchFieldPropsWithRef<object>>;
247
+ /**
248
+ * The ListBox to select items from.
249
+ */
250
+ listBox: ReactElement<ListBoxProps<object>>;
251
+ /**
252
+ * The Button size of the trigger
253
+ * @default 'md'
254
+ */
255
+ size?: 'sm' | 'md' | 'lg';
256
+ }
257
+ /**
258
+ * A button with a dropdown, used for filtering UI.
259
+ */
260
+ declare function SearchableSelectFilter(props: SearchableSelectFilterProps): JSX.Element;
261
+
196
262
  declare type FlagProps = SapphireStyleProps & {
197
263
  'aria-label'?: string;
198
264
  /**
@@ -214,7 +280,7 @@ declare const Flag: React__default.ForwardRefExoticComponent<SapphireStyleProps
214
280
  * The size of the flag.
215
281
  * @default 'lg'
216
282
  */
217
- size?: "sm" | "md" | "lg" | "xs" | "xl" | undefined;
283
+ size?: "lg" | "sm" | "md" | "xl" | "xs" | undefined;
218
284
  /**
219
285
  * Flags come in square or rounded shapes. Square flags are used for display purposes, ensuring a clean and consistent look.
220
286
  * Rounded flags are reserved for actionable elements like buttons or selectors, providing a more interactive and approachable feel.
@@ -224,6 +290,28 @@ declare const Flag: React__default.ForwardRefExoticComponent<SapphireStyleProps
224
290
  children: React__default.ReactNode;
225
291
  } & React__default.RefAttributes<HTMLSpanElement>>;
226
292
 
293
+ interface LabeledValueProps extends DOMProps, SapphireStyleProps {
294
+ children?: React__default.ReactNode;
295
+ /**
296
+ * A HelpButton element to place next to the label.
297
+ */
298
+ contextualHelp?: ReactNode;
299
+ /**
300
+ * The content to display as a label.
301
+ */
302
+ label: ReactNode;
303
+ /**
304
+ * Places the label either above (default) or on the left side of tags.
305
+ * @default 'above'
306
+ */
307
+ labelPlacement?: 'above' | 'side';
308
+ /**
309
+ * @default 'lg'
310
+ */
311
+ size?: 'lg' | 'md';
312
+ }
313
+ declare function LabeledValue({ children, contextualHelp, label, labelPlacement, size, ...otherProps }: LabeledValueProps): React__default.JSX.Element;
314
+
227
315
  interface SapphireNumberFieldProps extends Pick<AriaNumberFieldProps, 'label' | 'isDisabled' | 'isRequired' | 'value' | 'defaultValue' | 'onChange' | 'incrementAriaLabel' | 'decrementAriaLabel' | 'onFocus' | 'onBlur' | 'formatOptions' | 'step' | 'minValue' | 'maxValue' | 'placeholder' | 'isReadOnly' | 'autoFocus' | 'onFocusChange' | 'onKeyUp' | 'onKeyDown'> {
228
316
  /**
229
317
  * Whether the input should render as having an error and an error message.
@@ -327,33 +415,6 @@ declare const _Slider: (({ label, labelPlacement, note, name, ...props }: Slider
327
415
  } & React.HTMLAttributes<HTMLElement>) => React.JSX.Element;
328
416
  };
329
417
 
330
- declare type BreadcrumbItemProps = {
331
- isDisabled?: boolean;
332
- } & SapphireStyleProps & Pick<BreadcrumbProps, 'children'>;
333
- declare const BreadcrumbItem: ({ children, isDisabled: individualDisabled, ...props }: BreadcrumbItemProps) => JSX.Element;
334
-
335
- declare type BreadcrumbsProps<T extends object> = Pick<BreadcrumbsProps$1<T>, 'aria-label' | 'isDisabled'> & {
336
- children: React__default.ReactElement<BreadcrumbItemProps>[];
337
- /**
338
- * The size of the breadcrumbs component.
339
- *
340
- * @default 'md'
341
- */
342
- size?: 'sm' | 'md' | 'lg';
343
- /**
344
- * Maximum width for the breadcrumbs container. When content overflows,
345
- * it will show an overflow menu with the first and last items.
346
- */
347
- maxWidth?: React__default.CSSProperties['maxWidth'];
348
- } & SapphireStyleProps;
349
- /**
350
- * Breadcrumbs display a hierarchy of links to the current page or resource in an application.
351
- */
352
- declare const Breadcrumbs: <T extends object>({ size, children, maxWidth, ...props }: BreadcrumbsProps<T>) => JSX.Element;
353
-
354
- declare type BreadcrumbItemLinkProps = Omit<ButtonProps<'a'>, 'variant' | 'iconAlign'> & SapphireStyleProps;
355
- declare const BreadcrumbItemLink: React__default.ForwardRefExoticComponent<Omit<ButtonProps<"a">, "variant" | "iconAlign"> & SapphireStyleProps & React__default.RefAttributes<_react_types_shared.FocusableRefValue<HTMLAnchorElement, HTMLAnchorElement>>>;
356
-
357
418
  interface TagGroupProps<T> extends CollectionBase<T>, DOMProps, Pick<AriaLabelingProps, 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'aria-details'>, SapphireStyleProps {
358
419
  /**
359
420
  * A HelpButton element to place next to the label.
@@ -411,44 +472,6 @@ interface TagItemProps<T> extends ItemProps<T> {
411
472
  }
412
473
  declare const TagItem: <T>(props: TagItemProps<T>) => JSX.Element;
413
474
 
414
- interface LabeledValueProps extends DOMProps, SapphireStyleProps {
415
- children?: React__default.ReactNode;
416
- /**
417
- * A HelpButton element to place next to the label.
418
- */
419
- contextualHelp?: ReactNode;
420
- /**
421
- * The content to display as a label.
422
- */
423
- label: ReactNode;
424
- /**
425
- * Places the label either above (default) or on the left side of tags.
426
- * @default 'above'
427
- */
428
- labelPlacement?: 'above' | 'side';
429
- /**
430
- * @default 'lg'
431
- */
432
- size?: 'lg' | 'md';
433
- }
434
- declare function LabeledValue({ children, contextualHelp, label, labelPlacement, size, ...otherProps }: LabeledValueProps): React__default.JSX.Element;
435
-
436
- interface SapphireAlertProps extends SapphireStyleProps {
437
- /**
438
- * The content of the alert.
439
- */
440
- children?: ReactNode;
441
- /**
442
- * The title of the alert.
443
- */
444
- title?: ReactNode;
445
- /**
446
- * @default 'info'
447
- */
448
- variant?: 'info' | 'positive' | 'negative' | 'warning';
449
- }
450
- declare function Alert({ children, title, variant, ...props }: SapphireAlertProps): React__default.JSX.Element;
451
-
452
475
  declare type TimeFieldProps<T extends TimeValue> = Pick<AriaTimeFieldProps<T>, 'isDisabled' | 'isRequired' | 'isReadOnly' | 'label' | 'value' | 'defaultValue' | 'onChange' | 'onFocus' | 'onBlur' | 'shouldForceLeadingZeros'> & SapphireStyleProps & {
453
476
  /**
454
477
  * @default 'lg'
@@ -492,11 +515,11 @@ declare type TimeFieldProps<T extends TimeValue> = Pick<AriaTimeFieldProps<T>, '
492
515
  */
493
516
  contextualHelp?: ReactNode;
494
517
  };
495
- declare const TimeField: <T extends TimeValue>(props: Pick<AriaTimeFieldProps<T>, "label" | "value" | "isDisabled" | "onFocus" | "onBlur" | "onChange" | "defaultValue" | "isReadOnly" | "isRequired" | "shouldForceLeadingZeros"> & SapphireStyleProps & {
518
+ declare const TimeField: <T extends TimeValue>(props: Pick<AriaTimeFieldProps<T>, "value" | "label" | "onFocus" | "onBlur" | "onChange" | "isDisabled" | "isReadOnly" | "isRequired" | "defaultValue" | "shouldForceLeadingZeros"> & SapphireStyleProps & {
496
519
  /**
497
520
  * @default 'lg'
498
521
  */
499
- size?: "md" | "lg" | undefined;
522
+ size?: "lg" | "md" | undefined;
500
523
  /**
501
524
  * To visually indicate if this field is required or optional.
502
525
  * @default false
@@ -538,4 +561,4 @@ declare const TimeField: <T extends TimeValue>(props: Pick<AriaTimeFieldProps<T>
538
561
  ref?: React__default.RefObject<HTMLDivElement> | undefined;
539
562
  }) => React__default.ReactElement;
540
563
 
541
- export { _Accordion as Accordion, AccordionContext, AccordionHeadingProps, AccordionItemProps, AccordionProps, Alert, BreadcrumbItem, BreadcrumbItemLink, BreadcrumbItemLinkProps, BreadcrumbItemProps, Breadcrumbs, BreadcrumbsProps, FileDropzone, FileDropzoneProps, FileTrigger, FileTriggerProps, FilterDropdown, FilterDropdownProps, Flag, FlagProps, LabeledValue, NumberField, NumberFieldProps, NumberFieldRef, ProgressIndicator, ProgressIndicatorProps, SapphireAlertProps, SearchableSelectFilter, SearchableSelectFilterProps, _Slider as Slider, SliderProps, TagGroup, TagGroupProps, TagItem, TimeField, TimeFieldProps };
564
+ export { _Accordion as Accordion, AccordionContext, AccordionHeadingProps, AccordionItemProps, AccordionProps, Alert, Autocomplete, AutocompleteProps, BreadcrumbItem, BreadcrumbItemLink, BreadcrumbItemLinkProps, BreadcrumbItemProps, Breadcrumbs, BreadcrumbsProps, FileDropzone, FileDropzoneProps, FileTrigger, FileTriggerProps, FilterDropdown, FilterDropdownProps, Flag, FlagProps, LabeledValue, NumberField, NumberFieldProps, NumberFieldRef, ProgressIndicator, ProgressIndicatorProps, SapphireAlertProps, SearchableSelectFilter, SearchableSelectFilterProps, _Slider as Slider, SliderProps, TagGroup, TagGroupProps, TagItem, TimeField, TimeFieldProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danske/sapphire-react-lab",
3
- "version": "0.100.0",
3
+ "version": "0.101.1",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "Experimental React components of the Sapphire Design System from Danske Bank A/S",
6
6
  "exports": {
@@ -25,18 +25,18 @@
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@danske/sapphire-icons": "^3.1.0",
28
- "@danske/sapphire-react": "^5.6.2",
28
+ "@danske/sapphire-react": "^5.8.0",
29
29
  "react": ">=16.8.0",
30
30
  "react-dom": ">=16.8.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@danske/sapphire-icons": "^3.1.0",
34
- "@danske/sapphire-react": "^5.6.2",
34
+ "@danske/sapphire-react": "^5.8.0",
35
35
  "@types/react-transition-group": "^4.4.5",
36
36
  "cross-env": "^7.0.3"
37
37
  },
38
38
  "dependencies": {
39
- "@danske/sapphire-css": "^44.0.0",
39
+ "@danske/sapphire-css": "^46.0.0",
40
40
  "@internationalized/date": "^3.10.0",
41
41
  "@internationalized/string": "^3.2.7",
42
42
  "@react-aria/accordion": "3.0.0-alpha.37",
@@ -61,6 +61,7 @@
61
61
  "@react-stately/datepicker": "^3.15.2",
62
62
  "@react-stately/list": "^3.13.1",
63
63
  "@react-stately/numberfield": "^3.10.2",
64
+ "@react-stately/overlays": "^3.6.20",
64
65
  "@react-stately/toggle": "^3.9.2",
65
66
  "@react-stately/tree": "^3.9.3",
66
67
  "@react-stately/utils": "^3.10.8",
@@ -70,5 +71,5 @@
70
71
  "react-aria-components": "^1.13.0",
71
72
  "react-transition-group": "^4.4.5"
72
73
  },
73
- "gitHead": "9f90f2527ecc5fdd374638c518ab372b71f88709"
74
+ "gitHead": "b745d009a1799e0912fcaeb52973104d566326c0"
74
75
  }