sbwb-ds 3.13.0 → 3.15.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/index.d.ts +7 -2
- package/dist/sbwb-ds.js +19565 -19147
- package/dist/sbwb-ds.umd.cjs +1010 -867
- package/dist/src/main/helpers/types/base-props.d.ts +1 -2
- package/dist/src/presentation/components/atoms/ActionButton/index.d.ts +3 -1
- package/dist/src/presentation/components/atoms/ActionButton/styles.d.ts +1 -0
- package/dist/src/presentation/components/atoms/Alert/Alert.types.d.ts +27 -0
- package/dist/src/presentation/components/atoms/Alert/index.d.ts +2 -21
- package/dist/src/presentation/components/atoms/Alert/styles.d.ts +2 -0
- package/dist/src/presentation/components/atoms/Icon/index.d.ts +2 -1
- package/dist/src/presentation/components/atoms/Input/input.types.d.ts +2 -1
- package/dist/src/presentation/components/atoms/MenuMultiSelect/index.d.ts +2 -1
- package/dist/src/presentation/components/atoms/Select/index.d.ts +2 -1
- package/dist/src/presentation/components/atoms/Textarea/index.d.ts +2 -1
- package/dist/src/presentation/components/molecules/Autocomplete/index.d.ts +3 -1
- package/dist/src/presentation/components/molecules/DataTable/Components/ActionButtonCell/index.d.ts +2 -1
- package/dist/src/presentation/components/molecules/DataTable/Components/ActionButtonCell/styles.d.ts +1 -0
- package/dist/src/presentation/components/molecules/DataTable/Components/TableCell/index.d.ts +2 -1
- package/dist/src/presentation/components/molecules/DataTable/Components/TableCell/styles.d.ts +1 -0
- package/dist/src/presentation/components/molecules/DataTable/Components/TableHeaderCell/index.d.ts +3 -2
- package/dist/src/presentation/components/molecules/DataTable/Components/TableHeaderCell/styles.d.ts +9 -1
- package/dist/src/presentation/components/molecules/DataTable/Components/TableRow/index.d.ts +1 -1
- package/dist/src/presentation/components/molecules/DataTable/index.d.ts +14 -4
- package/dist/src/presentation/components/molecules/MenuSelect/index.d.ts +3 -1
- package/dist/src/presentation/components/molecules/MultiSelect/MenuMultiSelect/types.d.ts +3 -1
- package/dist/src/presentation/components/molecules/MultiSelect/MultiSelect.component.d.ts +32 -2
- package/dist/src/presentation/components/molecules/MultiSelect/styles.d.ts +4 -0
- package/dist/src/presentation/components/molecules/MultiSelect/types.d.ts +6 -1
- package/dist/src/presentation/components/molecules/RowsCard/RowCard.d.ts +1 -4
- package/dist/src/presentation/components/molecules/RowsCard/RowCardActions.d.ts +1 -4
- package/dist/src/presentation/components/molecules/RowsCard/RowCardContent.d.ts +1 -4
- package/dist/src/presentation/components/molecules/RowsCard/RowCardHeader.d.ts +1 -4
- package/dist/src/presentation/components/molecules/RowsCard/styles.d.ts +1 -4
- package/dist/src/presentation/components/molecules/SegmentedButton/index.d.ts +15 -8
- package/dist/src/presentation/components/molecules/SegmentedButton/styles.d.ts +3 -8
- package/dist/src/presentation/components/molecules/TabBar/index.d.ts +2 -1
- package/dist/src/presentation/styles/styleGuide.d.ts +11 -0
- package/package.json +1 -1
- package/src/main/helpers/types/base-props.ts +1 -1
- package/src/presentation/components/atoms/ActionButton/ActionButton.stories.tsx +563 -21
- package/src/presentation/components/atoms/ActionButton/index.tsx +16 -2
- package/src/presentation/components/atoms/ActionButton/styles.ts +83 -6
- package/src/presentation/components/atoms/Alert/Alert.stories.tsx +24 -1
- package/src/presentation/components/atoms/Alert/Alert.types.ts +27 -0
- package/src/presentation/components/atoms/Alert/index.tsx +4 -21
- package/src/presentation/components/atoms/Alert/styles.ts +14 -20
- package/src/presentation/components/atoms/Icon/index.tsx +15 -3
- package/src/presentation/components/atoms/Input/input.types.tsx +3 -1
- package/src/presentation/components/atoms/MenuMultiSelect/index.tsx +13 -4
- package/src/presentation/components/atoms/Select/index.tsx +12 -2
- package/src/presentation/components/atoms/Textarea/index.tsx +2 -1
- package/src/presentation/components/molecules/Autocomplete/Autocomplete.stories.tsx +26 -1
- package/src/presentation/components/molecules/Autocomplete/index.tsx +29 -4
- package/src/presentation/components/molecules/DataTable/Components/ActionButtonCell/index.tsx +8 -1
- package/src/presentation/components/molecules/DataTable/Components/ActionButtonCell/styles.ts +14 -1
- package/src/presentation/components/molecules/DataTable/Components/TableCell/TableCell.stories.tsx +54 -116
- package/src/presentation/components/molecules/DataTable/Components/TableCell/index.tsx +3 -0
- package/src/presentation/components/molecules/DataTable/Components/TableCell/styles.tsx +26 -22
- package/src/presentation/components/molecules/DataTable/Components/TableHeaderCell/TableHeaderCell.stories.tsx +10 -37
- package/src/presentation/components/molecules/DataTable/Components/TableHeaderCell/index.tsx +13 -2
- package/src/presentation/components/molecules/DataTable/Components/TableHeaderCell/styles.tsx +18 -4
- package/src/presentation/components/molecules/DataTable/Components/TableRow/TableRow.stories.tsx +83 -11
- package/src/presentation/components/molecules/DataTable/Components/TableRow/index.tsx +3 -1
- package/src/presentation/components/molecules/DataTable/DataTable.stories.tsx +54 -138
- package/src/presentation/components/molecules/DataTable/index.tsx +56 -19
- package/src/presentation/components/molecules/MenuSelect/index.tsx +25 -5
- package/src/presentation/components/molecules/Modal/components/ProgressModal/styles.ts +10 -0
- package/src/presentation/components/molecules/MultiSelect/MenuMultiSelect/index.tsx +17 -4
- package/src/presentation/components/molecules/MultiSelect/MenuMultiSelect/styles.ts +1 -0
- package/src/presentation/components/molecules/MultiSelect/MenuMultiSelect/types.ts +3 -1
- package/src/presentation/components/molecules/MultiSelect/MultiSelect.component.tsx +94 -37
- package/src/presentation/components/molecules/MultiSelect/MultiSelect.stories.tsx +116 -1
- package/src/presentation/components/molecules/MultiSelect/styles.ts +17 -0
- package/src/presentation/components/molecules/MultiSelect/types.ts +7 -1
- package/src/presentation/components/molecules/SegmentedButton/SegmentedButton.stories.tsx +38 -21
- package/src/presentation/components/molecules/SegmentedButton/index.tsx +72 -35
- package/src/presentation/components/molecules/SegmentedButton/styles.ts +17 -24
- package/src/presentation/components/molecules/TabBar/TabBar.stories.tsx +7 -1
- package/src/presentation/components/molecules/TabBar/index.tsx +31 -7
- package/src/presentation/components/molecules/TabBar/styles.ts +48 -36
- package/src/presentation/styles/styleGuide.ts +12 -0
package/dist/index.d.ts
CHANGED
|
@@ -5,19 +5,20 @@ import { TreeProps, TreeItem } from './src/presentation/components/molecules/Tre
|
|
|
5
5
|
import { TooltipProps } from './src/presentation/components/atoms/Tooltip';
|
|
6
6
|
import { ButtonProps } from './src/presentation/components/atoms/Button';
|
|
7
7
|
import { InputProps } from './src/presentation/components/atoms/Input/input.types';
|
|
8
|
-
import { AlertProps } from './src/presentation/components/atoms/Alert';
|
|
8
|
+
import { AlertProps } from './src/presentation/components/atoms/Alert/Alert.types';
|
|
9
9
|
import { CheckboxProps } from './src/presentation/components/atoms/Checkbox';
|
|
10
10
|
import { TextareaProps } from './src/presentation/components/atoms/Textarea';
|
|
11
11
|
import { SelectProps } from './src/presentation/components/atoms/Select';
|
|
12
12
|
import { SelectOption } from './src/models/select-option';
|
|
13
13
|
import { CommentProps as HistoryCommentProps } from './src/presentation/components/molecules/SheetHistory/components/HistoryComment';
|
|
14
|
-
import { Column } from './src/presentation/components/molecules/DataTable';
|
|
14
|
+
import { Column, OnSelectRowType } from './src/presentation/components/molecules/DataTable';
|
|
15
15
|
import { TableCellProps } from './src/presentation/components/molecules/DataTable/Components/TableCell';
|
|
16
16
|
import { TableHeaderCellProps } from './src/presentation/components/molecules/DataTable/Components/TableHeaderCell';
|
|
17
17
|
import { SeriesData } from './src/presentation/components/molecules/ChartLinear';
|
|
18
18
|
import { NotificationItemProps, NotificationProps } from './src/presentation/components/molecules/Notification';
|
|
19
19
|
import { MenuSelectProps } from './src/presentation/components/molecules/MenuSelect';
|
|
20
20
|
import { Tab } from './src/presentation/components/molecules/TabBar';
|
|
21
|
+
import { SegmentedButtonProps, SegmentedButtonType } from './src/presentation/components/molecules/SegmentedButton';
|
|
21
22
|
export { default as Accordion } from './src/presentation/components/atoms/Accordion';
|
|
22
23
|
export { default as Avatar } from './src/presentation/components/atoms/Avatar/Avatar.view';
|
|
23
24
|
export { default as ActionButton } from './src/presentation/components/atoms/ActionButton';
|
|
@@ -79,6 +80,7 @@ export { default as Popover } from './src/presentation/components/molecules/Popo
|
|
|
79
80
|
export { default as Notification } from './src/presentation/components/molecules/Notification';
|
|
80
81
|
export { NotificationText } from './src/presentation/components/molecules/Notification';
|
|
81
82
|
export * from './src/presentation/components/molecules/RowsCard';
|
|
83
|
+
export { default as SegmentedButton } from './src/presentation/components/molecules/SegmentedButton';
|
|
82
84
|
export { TableProvider, useTableContext, } from './src/presentation/context/table/index';
|
|
83
85
|
export type IconType = keyof typeof Icons;
|
|
84
86
|
export type { TreeProps };
|
|
@@ -92,6 +94,7 @@ export type { SelectProps };
|
|
|
92
94
|
export type { SelectOption };
|
|
93
95
|
export type { HistoryCommentProps };
|
|
94
96
|
export type { Column as ColumnTableProps };
|
|
97
|
+
export type { OnSelectRowType };
|
|
95
98
|
export type { TableCellProps };
|
|
96
99
|
export type { TableHeaderCellProps };
|
|
97
100
|
export type { SeriesData as ChartLinearData };
|
|
@@ -100,5 +103,7 @@ export type { NotificationProps };
|
|
|
100
103
|
export type { MenuSelectProps };
|
|
101
104
|
export type { CheckboxProps };
|
|
102
105
|
export type { Tab };
|
|
106
|
+
export type { SegmentedButtonProps };
|
|
107
|
+
export type { SegmentedButtonType };
|
|
103
108
|
export { sg, GlobalStyles, resetStyles };
|
|
104
109
|
export { LocalStorageAdapter };
|