sbwb-ds 3.21.0 → 3.22.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 +8 -0
- package/dist/sbwb-ds.js +15668 -15194
- package/dist/sbwb-ds.umd.cjs +1291 -1146
- package/dist/src/main/assets/icons/index.d.ts +1 -0
- package/dist/src/main/helpers/functions/dateFormatterPtBr.d.ts +2 -1
- package/dist/src/main/helpers/functions/icons.d.ts +30 -0
- package/dist/src/presentation/components/molecules/Datepicker/components/inputCalendar/index.d.ts +1 -1
- package/dist/src/presentation/components/molecules/Datepicker/hooks/useCalendar.d.ts +11 -7
- package/dist/src/presentation/components/molecules/Datepicker/index.d.ts +2 -2
- package/dist/src/presentation/components/molecules/UploadArea/UploadArea.styles.d.ts +25 -0
- package/dist/src/presentation/components/molecules/UploadArea/UploadArea.types.d.ts +39 -0
- package/dist/src/presentation/components/molecules/UploadArea/components/FileList.d.ts +3 -0
- package/dist/src/presentation/components/molecules/UploadArea/components/FileListItem.d.ts +3 -0
- package/dist/src/presentation/components/molecules/UploadArea/documentation/index.d.ts +1 -0
- package/dist/src/presentation/components/molecules/UploadArea/hooks/useUploadArea.d.ts +16 -0
- package/dist/src/presentation/components/molecules/UploadArea/index.d.ts +3 -0
- package/package.json +1 -1
- package/src/main/assets/icons/ant/oil-barrel-fill.svg +3 -0
- package/src/main/assets/icons/extraLarge/oil-barrel-fill.svg +3 -0
- package/src/main/assets/icons/index.ts +1 -0
- package/src/main/assets/icons/large/oil-barrel-fill.svg +3 -0
- package/src/main/assets/icons/medium/oil-barrel-fill.svg +3 -0
- package/src/main/assets/icons/small/oil-barrel-fill.svg +3 -0
- package/src/main/helpers/functions/dateFormatterPtBr.ts +52 -15
- package/src/main/helpers/functions/icons.ts +11 -0
- package/src/presentation/components/atoms/ActionButton/styles.ts +4 -4
- package/src/presentation/components/atoms/Button/styles.ts +2 -1
- package/src/presentation/components/atoms/Input/index.tsx +18 -2
- package/src/presentation/components/atoms/Input/styles.ts +2 -2
- package/src/presentation/components/atoms/Select/index.tsx +11 -2
- package/src/presentation/components/atoms/Select/styles.ts +1 -1
- package/src/presentation/components/molecules/DataTable/Components/ActionButtonCell/index.tsx +1 -0
- package/src/presentation/components/molecules/DataTable/Components/TableCell/TableCell.stories.tsx +2 -113
- package/src/presentation/components/molecules/DataTable/Components/TableCell/styles.tsx +15 -1
- package/src/presentation/components/molecules/Datepicker/DatePicker.stories.tsx +46 -5
- package/src/presentation/components/molecules/Datepicker/components/Header/index.tsx +2 -0
- package/src/presentation/components/molecules/Datepicker/components/inputCalendar/index.tsx +4 -2
- package/src/presentation/components/molecules/Datepicker/components/inputCalendar/styles.ts +2 -8
- package/src/presentation/components/molecules/Datepicker/hooks/useCalendar.tsx +60 -15
- package/src/presentation/components/molecules/Datepicker/index.tsx +15 -7
- package/src/presentation/components/molecules/MultiSelect/MultiSelect.component.tsx +11 -2
- package/src/presentation/components/molecules/MultiSelect/styles.ts +1 -1
- package/src/presentation/components/molecules/UploadArea/UploadArea.stories.tsx +195 -0
- package/src/presentation/components/molecules/UploadArea/UploadArea.styles.ts +187 -0
- package/src/presentation/components/molecules/UploadArea/UploadArea.types.ts +46 -0
- package/src/presentation/components/molecules/UploadArea/components/FileList.tsx +33 -0
- package/src/presentation/components/molecules/UploadArea/components/FileListItem.tsx +79 -0
- package/src/presentation/components/molecules/UploadArea/documentation/index.tsx +290 -0
- package/src/presentation/components/molecules/UploadArea/hooks/useUploadArea.ts +163 -0
- package/src/presentation/components/molecules/UploadArea/index.tsx +113 -0
package/dist/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ import { NotificationItemProps, NotificationProps } from './src/presentation/com
|
|
|
19
19
|
import { MenuSelectProps } from './src/presentation/components/molecules/MenuSelect';
|
|
20
20
|
import { Tab } from './src/presentation/components/molecules/TabBar';
|
|
21
21
|
import { SegmentedButtonProps, SegmentedButtonType } from './src/presentation/components/molecules/SegmentedButton';
|
|
22
|
+
import { UploadAreaProps, FileListProps, FileListItemProps, FileItem } from './src/presentation/components/molecules/UploadArea/UploadArea.types';
|
|
22
23
|
export { default as Accordion } from './src/presentation/components/atoms/Accordion';
|
|
23
24
|
export { default as Avatar } from './src/presentation/components/atoms/Avatar/Avatar.view';
|
|
24
25
|
export { default as ActionButton } from './src/presentation/components/atoms/ActionButton';
|
|
@@ -77,6 +78,9 @@ export { default as Footer } from './src/presentation/components/molecules/Foote
|
|
|
77
78
|
export { default as Autocomplete } from './src/presentation/components/molecules/Autocomplete';
|
|
78
79
|
export { default as BackgroundSection } from './src/presentation/components/molecules/BackgroundSection';
|
|
79
80
|
export { default as Popover } from './src/presentation/components/molecules/Popover';
|
|
81
|
+
export { default as UploadArea } from './src/presentation/components/molecules/UploadArea';
|
|
82
|
+
export { default as FileListItem } from './src/presentation/components/molecules/UploadArea/components/FileListItem';
|
|
83
|
+
export { default as FileList } from './src/presentation/components/molecules/UploadArea/components/FileList';
|
|
80
84
|
export { default as Notification } from './src/presentation/components/molecules/Notification';
|
|
81
85
|
export { NotificationText } from './src/presentation/components/molecules/Notification';
|
|
82
86
|
export * from './src/presentation/components/molecules/RowsCard';
|
|
@@ -105,5 +109,9 @@ export type { CheckboxProps };
|
|
|
105
109
|
export type { Tab };
|
|
106
110
|
export type { SegmentedButtonProps };
|
|
107
111
|
export type { SegmentedButtonType };
|
|
112
|
+
export type { FileItem };
|
|
113
|
+
export type { FileListItemProps };
|
|
114
|
+
export type { FileListProps };
|
|
115
|
+
export type { UploadAreaProps };
|
|
108
116
|
export { sg, GlobalStyles, resetStyles };
|
|
109
117
|
export { LocalStorageAdapter };
|