sbwb-ds 3.23.0 → 3.25.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.
Files changed (40) hide show
  1. package/dist/index.d.ts +4 -0
  2. package/dist/sbwb-ds.js +11417 -11364
  3. package/dist/sbwb-ds.umd.cjs +583 -580
  4. package/dist/src/main/assets/icons/index.d.ts +2 -0
  5. package/dist/src/main/helpers/functions/icons.d.ts +60 -0
  6. package/dist/src/main/helpers/functions/joinClasses.d.ts +3 -0
  7. package/dist/src/presentation/components/atoms/Radio/index.d.ts +3 -1
  8. package/dist/src/presentation/components/molecules/Datepicker/components/inputCalendar/index.d.ts +2 -0
  9. package/dist/src/presentation/components/molecules/Datepicker/hooks/useInputCalendar.d.ts +1 -1
  10. package/dist/src/presentation/components/molecules/Datepicker/index.d.ts +2 -0
  11. package/dist/src/presentation/components/molecules/SegmentedButton/SegmentedButton.spec.d.ts +1 -0
  12. package/dist/src/presentation/components/molecules/SegmentedButton/index.d.ts +4 -2
  13. package/dist/src/presentation/components/molecules/SegmentedButton/styles.d.ts +5 -1
  14. package/package.json +2 -2
  15. package/src/main/assets/icons/ant/ancoragem.svg +3 -0
  16. package/src/main/assets/icons/ant/share.svg +3 -0
  17. package/src/main/assets/icons/extraLarge/ancoragem.svg +3 -0
  18. package/src/main/assets/icons/extraLarge/share.svg +3 -0
  19. package/src/main/assets/icons/index.ts +2 -0
  20. package/src/main/assets/icons/large/ancoragem.svg +3 -0
  21. package/src/main/assets/icons/large/share.svg +3 -0
  22. package/src/main/assets/icons/medium/ancoragem.svg +3 -0
  23. package/src/main/assets/icons/medium/share.svg +3 -0
  24. package/src/main/assets/icons/small/ancoragem.svg +3 -0
  25. package/src/main/assets/icons/small/share.svg +3 -0
  26. package/src/main/helpers/functions/icons.ts +22 -0
  27. package/src/main/helpers/functions/joinClasses.ts +5 -0
  28. package/src/presentation/components/atoms/ActionButton/styles.ts +3 -3
  29. package/src/presentation/components/atoms/Radio/Radio.stories.tsx +15 -0
  30. package/src/presentation/components/atoms/Radio/index.tsx +9 -4
  31. package/src/presentation/components/molecules/Datepicker/DatePicker.stories.tsx +66 -0
  32. package/src/presentation/components/molecules/Datepicker/components/inputCalendar/index.tsx +7 -1
  33. package/src/presentation/components/molecules/Datepicker/hooks/useInputCalendar.tsx +40 -10
  34. package/src/presentation/components/molecules/Datepicker/index.tsx +8 -0
  35. package/src/presentation/components/molecules/SegmentedButton/SegmentedButton.spec.tsx +153 -0
  36. package/src/presentation/components/molecules/SegmentedButton/SegmentedButton.stories.tsx +31 -0
  37. package/src/presentation/components/molecules/SegmentedButton/index.tsx +36 -3
  38. package/src/presentation/components/molecules/SegmentedButton/styles.ts +14 -6
  39. package/src/presentation/components/molecules/Sidebar/index.tsx +7 -3
  40. package/src/presentation/components/molecules/Table/index.tsx +13 -9
package/dist/index.d.ts CHANGED
@@ -20,6 +20,7 @@ import { MenuSelectProps } from './src/presentation/components/molecules/MenuSel
20
20
  import { Tab } from './src/presentation/components/molecules/TabBar';
21
21
  import { SegmentedButtonProps, SegmentedButtonType } from './src/presentation/components/molecules/SegmentedButton';
22
22
  import { UploadAreaProps, FileListProps, FileListItemProps, FileItem } from './src/presentation/components/molecules/UploadArea/UploadArea.types';
23
+ import { RadioProps, RadioElementProps } from './src/presentation/components/atoms/Radio';
23
24
  export { default as Accordion } from './src/presentation/components/atoms/Accordion';
24
25
  export { default as Avatar } from './src/presentation/components/atoms/Avatar/Avatar.view';
25
26
  export { default as ActionButton } from './src/presentation/components/atoms/ActionButton';
@@ -47,6 +48,7 @@ export { default as Tooltip } from './src/presentation/components/atoms/Tooltip'
47
48
  export { default as Divider } from './src/presentation/components/atoms/Dividers';
48
49
  export { default as Alert } from './src/presentation/components/atoms/Alert';
49
50
  export { default as Loading } from './src/presentation/components/atoms/Loading';
51
+ export { default as LoadingBar } from './src/presentation/components/atoms/LoadingBar';
50
52
  export { default as ProgressBar } from './src/presentation/components/atoms/ProgresBar';
51
53
  export { default as ProgressCircle } from './src/presentation/components/atoms/ProgressCircle';
52
54
  export { default as Badge } from './src/presentation/components/atoms/Badge';
@@ -113,5 +115,7 @@ export type { FileItem };
113
115
  export type { FileListItemProps };
114
116
  export type { FileListProps };
115
117
  export type { UploadAreaProps };
118
+ export type { RadioProps };
119
+ export type { RadioElementProps };
116
120
  export { sg, GlobalStyles, resetStyles };
117
121
  export { LocalStorageAdapter };