@design-system-rte/react 1.3.1-rc1 → 1.5.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/segmentedControl/Segment.d.ts +1 -1
- package/dist/components/stepper/Stepper.d.ts +6 -0
- package/dist/components/stepper/stepperItem/StepperItem.d.ts +6 -0
- package/dist/components/stepper/stepperItem/stepperseparator/StepperSeparator.d.ts +7 -0
- package/dist/index.d.ts +2 -1
- package/dist/react-package.cjs +1 -1
- package/dist/react-package.js +2546 -2348
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -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;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { StepperProps as coreStepperProps } from '../../../../core/components/stepper/stepper.interface';
|
|
2
|
+
interface StepperProps extends coreStepperProps, React.HTMLAttributes<HTMLElement> {
|
|
3
|
+
activeStepId: string | null;
|
|
4
|
+
}
|
|
5
|
+
declare const Stepper: import('react').ForwardRefExoticComponent<StepperProps & import('react').RefAttributes<HTMLElement>>;
|
|
6
|
+
export default Stepper;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { StepperItemProps as coreStepperItemProps } from '../../../../../core/components/stepper/stepper.interface';
|
|
2
|
+
export interface StepperItemProps extends coreStepperItemProps, Omit<React.HTMLAttributes<HTMLLIElement>, "onClick" | "id"> {
|
|
3
|
+
onClick?: () => void;
|
|
4
|
+
}
|
|
5
|
+
declare const StepperItem: ({ number, name, completionState, orientation, onClick, clickableCompleteStep, isActive, ...props }: StepperItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default StepperItem;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Direction } from '../../../../../../core/components/common/common-types';
|
|
2
|
+
export interface StepperSeparatorProps {
|
|
3
|
+
isComplete: boolean;
|
|
4
|
+
orientation?: Direction;
|
|
5
|
+
}
|
|
6
|
+
declare const StepperSeparator: ({ isComplete, orientation }: StepperSeparatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default StepperSeparator;
|
package/dist/index.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { default as Select } from './components/select/Select.tsx';
|
|
|
23
23
|
import { default as BaseSideNav } from './components/sideNav/baseSideNav/BaseSideNav.tsx';
|
|
24
24
|
import { default as SideNav } from './components/sideNav/SideNav.tsx';
|
|
25
25
|
import { default as SplitButton } from './components/splitButton/SplitButton.tsx';
|
|
26
|
+
import { default as Stepper } from './components/stepper/Stepper.tsx';
|
|
26
27
|
import { default as Switch } from './components/switch/Switch.tsx';
|
|
27
28
|
import { default as Tab } from './components/tab/Tab.tsx';
|
|
28
29
|
import { default as Tag } from './components/tag/Tag.tsx';
|
|
@@ -31,4 +32,4 @@ import { default as BaseTextInput } from './components/textInput/baseTextuInput/
|
|
|
31
32
|
import { default as Toast } from './components/toast/Toast.tsx';
|
|
32
33
|
import { default as ToastQueueProvider } from './components/toast/toastQueue/ToastQueueProvider.tsx';
|
|
33
34
|
import { default as Tooltip } from './components/tooltip/Tooltip.tsx';
|
|
34
|
-
export { Button, Grid, Checkbox, CheckboxGroup, Link, RadioButton, RadioButtonGroup, Icon, IconButton, IconButtonToggle, Loader, SplitButton, Tooltip, BaseTextInput as TextInput, Chip, Badge, Textarea, Divider, Switch, SegmentedControl, Breadcrumbs, Banner, Popover, Modal, SideNav, BaseSideNav, Card, Toast, ToastQueueProvider, Tag, Tab, Searchbar, Select, };
|
|
35
|
+
export { Button, Grid, Checkbox, CheckboxGroup, Link, RadioButton, RadioButtonGroup, Icon, IconButton, IconButtonToggle, Loader, SplitButton, Tooltip, BaseTextInput as TextInput, Chip, Badge, Textarea, Divider, Switch, SegmentedControl, Breadcrumbs, Banner, Popover, Modal, SideNav, Stepper, BaseSideNav, Card, Toast, ToastQueueProvider, Tag, Tab, Searchbar, Select, };
|