odaptos_design_system 2.0.45 → 2.0.46
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/Atoms/Badge/Badge.d.ts +2 -1
- package/dist/Atoms/Box/Box.d.ts +4 -1
- package/dist/Molecules/Tabs/TabsUnderLine.d.ts +2 -2
- package/dist/odaptos_design_system.cjs.development.js +2365 -2245
- package/dist/odaptos_design_system.cjs.development.js.map +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js.map +1 -1
- package/dist/odaptos_design_system.esm.js +2508 -2388
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Atoms/Badge/Badge.tsx +3 -1
- package/src/Atoms/Box/Box.module.scss +18 -7
- package/src/Atoms/Box/Box.tsx +32 -1
- package/src/Molecules/Tabs/TabsUnderLine.tsx +292 -114
- package/src/Molecules/Tabs/tabsUnderline.modules.scss +91 -0
- package/src/Organisms/MultiSelect/MultiSelect.tsx +6 -5
- package/src/Organisms/MultiSelect/MultiSelectWithCategories.tsx +7 -6
|
@@ -8,7 +8,8 @@ interface BadgeProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
8
8
|
number?: number;
|
|
9
9
|
customColor?: string;
|
|
10
10
|
className?: string;
|
|
11
|
+
canBeRemoved?: boolean;
|
|
11
12
|
}
|
|
12
13
|
/** Figma link : https://www.figma.com/file/fjnhhbL12HvKccPmJchVnr/Atomic-Library?type=design&node-id=3073-110563&mode=dev */
|
|
13
|
-
export declare const Badge: ({ text, status, size, iconLeft, iconRight, number, customColor, className, ...props }: BadgeProps) => React.JSX.Element;
|
|
14
|
+
export declare const Badge: ({ text, status, size, iconLeft, iconRight, number, customColor, className, canBeRemoved, ...props }: BadgeProps) => React.JSX.Element;
|
|
14
15
|
export {};
|
package/dist/Atoms/Box/Box.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from 'react';
|
|
2
2
|
interface BoxProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
children: any;
|
|
4
|
+
title?: string;
|
|
5
|
+
tooltipDescription?: string;
|
|
4
6
|
className?: string;
|
|
5
7
|
id?: string;
|
|
8
|
+
required?: boolean;
|
|
6
9
|
props?: any;
|
|
7
10
|
}
|
|
8
|
-
export declare const Box: ({ children, className, id, props }: BoxProps) => React.JSX.Element;
|
|
11
|
+
export declare const Box: ({ children, title, tooltipDescription, className, id, required, props, }: BoxProps) => React.JSX.Element;
|
|
9
12
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface TabsUnderlineProps {
|
|
3
|
-
type
|
|
3
|
+
type?: 'underline' | 'filled';
|
|
4
4
|
defaultValue: number;
|
|
5
5
|
onChange: (index: number, item: any) => void;
|
|
6
6
|
tabs: any[];
|
|
@@ -8,5 +8,5 @@ interface TabsUnderlineProps {
|
|
|
8
8
|
isArrowIconDisplay?: boolean;
|
|
9
9
|
}
|
|
10
10
|
/** Figma link : https://www.figma.com/file/fjnhhbL12HvKccPmJchVnr/Atomic-Library?type=design&node-id=2946-50988&mode=dev */
|
|
11
|
-
export declare const TabsUnderline: ({ defaultValue, onChange, tabs, className, isArrowIconDisplay, }: TabsUnderlineProps) => React.JSX.Element;
|
|
11
|
+
export declare const TabsUnderline: ({ type, defaultValue, onChange, tabs, className, isArrowIconDisplay, }: TabsUnderlineProps) => React.JSX.Element;
|
|
12
12
|
export {};
|