@design-system-rte/react 1.4.0 → 1.6.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/dist/components/dropdown/dropdownItem/DropdownItem.d.ts +1 -1
- package/dist/components/icon/IconMap.d.ts +5 -0
- package/dist/components/icon/generated/ContactFilled.d.ts +3 -0
- package/dist/components/icon/generated/ContactOutlined.d.ts +3 -0
- package/dist/components/icon/generated/ExportXlsFilled.d.ts +3 -0
- package/dist/components/icon/generated/ExportXlsOutlined.d.ts +3 -0
- package/dist/components/icon/generated/HandshakeFilled.d.ts +3 -0
- package/dist/components/icon/generated/HandshakeOutlined.d.ts +3 -0
- package/dist/components/icon/generated/SwapHoriz.d.ts +3 -0
- package/dist/components/icon/generated/SwapVert.d.ts +3 -0
- package/dist/components/icon/generated/index.d.ts +8 -0
- package/dist/components/segmentedControl/Segment.d.ts +1 -1
- package/dist/components/select/Select.d.ts +14 -1
- package/dist/react-package.cjs +1 -1
- package/dist/react-package.js +2445 -2244
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -2,5 +2,5 @@ import { DropdownItemProps as CoreDropdownItemProps } from '../../../../../core/
|
|
|
2
2
|
interface DropdownItemProps extends Omit<CoreDropdownItemProps, "onClick">, React.HTMLAttributes<HTMLLIElement> {
|
|
3
3
|
onClick?: (event: React.MouseEvent<HTMLLIElement> | React.KeyboardEvent<HTMLLIElement>) => void;
|
|
4
4
|
}
|
|
5
|
-
export declare const DropdownItem: ({ label, link, leftIcon, trailingText, disabled, hasSeparator, hasIndent, children, badgeCount, badgeContent, badgeIcon, badgeType, badgeSize, showBadge, isSelected, onClick, ...props }: DropdownItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const DropdownItem: ({ label, link, leftIcon, trailingText, disabled, hasSeparator, hasIndent, children, badgeCount, badgeContent, badgeIcon, badgeType, badgeSize, showBadge, isSelected, isIndeterminate, onClick, hasCheckbox, ...props }: DropdownItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -106,6 +106,8 @@ export declare const RegularIcons: {
|
|
|
106
106
|
"side-navigation": ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
107
107
|
sort: ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
108
108
|
"support-agent": ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
109
|
+
"swap-horiz": ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
110
|
+
"swap-vert": ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
109
111
|
timeline: ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
110
112
|
"trending-down": ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
111
113
|
"trending-flat": ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -171,6 +173,7 @@ export declare const TogglableIcons: {
|
|
|
171
173
|
"cloud-upload": (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
172
174
|
"comment-add": (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
173
175
|
comment: (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
176
|
+
contact: (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
174
177
|
copy: (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
175
178
|
dangerous: (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
176
179
|
dashboard: (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
@@ -185,6 +188,7 @@ export declare const TogglableIcons: {
|
|
|
185
188
|
error: (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
186
189
|
explore: (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
187
190
|
"explore-off": (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
191
|
+
"export-xls": (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
188
192
|
"fast-forward": (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
189
193
|
"fast-rewind": (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
190
194
|
feedback: (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
@@ -207,6 +211,7 @@ export declare const TogglableIcons: {
|
|
|
207
211
|
"group-add": (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
208
212
|
group: (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
209
213
|
groups: (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
214
|
+
handshake: (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
210
215
|
headphones: (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
211
216
|
heart: (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
212
217
|
help: (({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element)[];
|
|
@@ -146,6 +146,8 @@ export { default as CommentAddOutlined } from './CommentAddOutlined';
|
|
|
146
146
|
export { default as CommentFilled } from './CommentFilled';
|
|
147
147
|
export { default as CommentOutlined } from './CommentOutlined';
|
|
148
148
|
export { default as Compare } from './Compare';
|
|
149
|
+
export { default as ContactFilled } from './ContactFilled';
|
|
150
|
+
export { default as ContactOutlined } from './ContactOutlined';
|
|
149
151
|
export { default as CopyAll } from './CopyAll';
|
|
150
152
|
export { default as CopyFilled } from './CopyFilled';
|
|
151
153
|
export { default as CopyOutlined } from './CopyOutlined';
|
|
@@ -183,6 +185,8 @@ export { default as ExploreOffFilled } from './ExploreOffFilled';
|
|
|
183
185
|
export { default as ExploreOffOutlined } from './ExploreOffOutlined';
|
|
184
186
|
export { default as ExploreOutlined } from './ExploreOutlined';
|
|
185
187
|
export { default as ExploreTravel } from './ExploreTravel';
|
|
188
|
+
export { default as ExportXlsFilled } from './ExportXlsFilled';
|
|
189
|
+
export { default as ExportXlsOutlined } from './ExportXlsOutlined';
|
|
186
190
|
export { default as ExternalLink } from './ExternalLink';
|
|
187
191
|
export { default as FastForwardFilled } from './FastForwardFilled';
|
|
188
192
|
export { default as FastForwardOutlined } from './FastForwardOutlined';
|
|
@@ -234,6 +238,8 @@ export { default as GroupFilled } from './GroupFilled';
|
|
|
234
238
|
export { default as GroupOutlined } from './GroupOutlined';
|
|
235
239
|
export { default as GroupsFilled } from './GroupsFilled';
|
|
236
240
|
export { default as GroupsOutlined } from './GroupsOutlined';
|
|
241
|
+
export { default as HandshakeFilled } from './HandshakeFilled';
|
|
242
|
+
export { default as HandshakeOutlined } from './HandshakeOutlined';
|
|
237
243
|
export { default as HeadphonesFilled } from './HeadphonesFilled';
|
|
238
244
|
export { default as HeadphonesOutlined } from './HeadphonesOutlined';
|
|
239
245
|
export { default as HeartFilled } from './HeartFilled';
|
|
@@ -407,6 +413,8 @@ export { default as StopOutlined } from './StopOutlined';
|
|
|
407
413
|
export { default as SubtitlesFilled } from './SubtitlesFilled';
|
|
408
414
|
export { default as SubtitlesOutlined } from './SubtitlesOutlined';
|
|
409
415
|
export { default as SupportAgent } from './SupportAgent';
|
|
416
|
+
export { default as SwapHoriz } from './SwapHoriz';
|
|
417
|
+
export { default as SwapVert } from './SwapVert';
|
|
410
418
|
export { default as TextSnippetFilled } from './TextSnippetFilled';
|
|
411
419
|
export { default as TextSnippetOutlined } from './TextSnippetOutlined';
|
|
412
420
|
export { default as Timeline } from './Timeline';
|
|
@@ -2,5 +2,5 @@ import { SegmentProps as CoreSegmentProps } from '../../../../core/components/se
|
|
|
2
2
|
interface SegmentProps extends CoreSegmentProps {
|
|
3
3
|
onClick?: (event: React.MouseEvent<HTMLDivElement> | React.KeyboardEvent<HTMLDivElement>) => void;
|
|
4
4
|
}
|
|
5
|
-
declare const Segment: ({ id, icon, label, position, isSelected, onClick, badgeCount, badgeContent, badgeIcon, badgeType, badgeSize, showBadge, ...props }: SegmentProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const Segment: ({ id, icon, label, position, isSelected, onClick, badgeCount, badgeContent, badgeIcon, badgeType, badgeSize, showBadge, appearance, isCompact, ...props }: SegmentProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default Segment;
|
|
@@ -1,3 +1,16 @@
|
|
|
1
1
|
import { SelectProps as coreSelectProps } from '../../../../core/components/select/select.interface';
|
|
2
|
-
|
|
2
|
+
interface SingleSelectProps extends Omit<coreSelectProps, "value"> {
|
|
3
|
+
multiple?: false;
|
|
4
|
+
value?: string;
|
|
5
|
+
header?: React.ReactNode;
|
|
6
|
+
footer?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
interface MultiSelectProps extends Omit<coreSelectProps, "value"> {
|
|
9
|
+
multiple: true;
|
|
10
|
+
value?: string[];
|
|
11
|
+
header?: React.ReactNode;
|
|
12
|
+
footer?: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export type SelectProps = SingleSelectProps | MultiSelectProps;
|
|
15
|
+
declare const Select: import('react').ForwardRefExoticComponent<SelectProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
3
16
|
export default Select;
|