@ultraviolet/plus 2.1.5 → 3.0.0-beta.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.
- package/dist/components/CodeEditor/CodeEditor.cjs +7 -5
- package/dist/components/CodeEditor/CodeEditor.d.ts +2 -1
- package/dist/components/CodeEditor/CodeEditor.js +7 -5
- package/dist/components/EstimateCost/componentStyle.d.ts +10 -8
- package/dist/components/InfoTable/components/Row.d.ts +5 -5
- package/dist/components/Navigation/Navigation.d.ts +1 -1
- package/dist/components/Navigation/components/Item.cjs +49 -82
- package/dist/components/Navigation/components/Item.d.ts +2 -2
- package/dist/components/Navigation/components/Item.js +62 -95
- package/dist/components/OfferList/OfferList.d.ts +1 -1
- package/dist/components/OrderSummary/ScrollableContent.cjs +4 -4
- package/dist/components/OrderSummary/ScrollableContent.js +4 -4
- package/dist/components/OrderSummary/index.cjs +4 -4
- package/dist/components/OrderSummary/index.js +4 -4
- package/package.json +11 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Badge } from '@ultraviolet/ui';
|
|
2
|
-
import type { ComponentProps,
|
|
2
|
+
import type { ComponentProps, ElementType, ReactNode } from 'react';
|
|
3
3
|
import type { PinUnPinType } from '../types';
|
|
4
4
|
type ItemType = 'default' | 'pinned' | 'pinnedGroup';
|
|
5
5
|
type ItemProps = {
|
|
@@ -70,7 +70,7 @@ type ItemProps = {
|
|
|
70
70
|
* a non focusable element. This option allows you to choose the tag of the
|
|
71
71
|
* item.
|
|
72
72
|
*/
|
|
73
|
-
as?:
|
|
73
|
+
as?: ElementType;
|
|
74
74
|
/**
|
|
75
75
|
* Use this prop if you want to remove the expand behavior when the item
|
|
76
76
|
* has sub items.
|