superdesk-ui-framework 4.0.27 → 4.0.29

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 (43) hide show
  1. package/app-typescript/components/Alert.tsx +11 -1
  2. package/app-typescript/components/Button.tsx +47 -17
  3. package/app-typescript/components/FormLabel.tsx +7 -1
  4. package/app-typescript/components/Label.tsx +2 -13
  5. package/app-typescript/components/RadioButtonGroup.tsx +6 -5
  6. package/app-typescript/components/SelectPreview.tsx +1 -1
  7. package/app-typescript/components/ShowPopup.tsx +28 -19
  8. package/app-typescript/components/Tooltip.tsx +22 -6
  9. package/app-typescript/components/TreeSelect/TreeSelect.tsx +4 -21
  10. package/app-typescript/components/TreeSelect/TreeSelectItem.tsx +1 -1
  11. package/app-typescript/components/TreeSelect/TreeSelectPill.tsx +1 -1
  12. package/app-typescript/helpers.tsx +13 -0
  13. package/app-typescript/index.ts +1 -0
  14. package/dist/components/Buttons.tsx +6 -6
  15. package/dist/examples.bundle.js +37093 -37033
  16. package/dist/playgrounds/react-playgrounds/TestGround.tsx +1 -1
  17. package/dist/superdesk-ui.bundle.js +36975 -36916
  18. package/dist/vendor.bundle.js +7 -7
  19. package/examples/pages/components/Buttons.tsx +6 -6
  20. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +1 -1
  21. package/package.json +1 -1
  22. package/react/components/Alert.d.ts +1 -0
  23. package/react/components/Alert.js +5 -1
  24. package/react/components/Button.d.ts +1 -0
  25. package/react/components/Button.js +35 -4
  26. package/react/components/FormLabel.d.ts +1 -0
  27. package/react/components/FormLabel.js +1 -1
  28. package/react/components/Label.d.ts +0 -1
  29. package/react/components/Label.js +3 -15
  30. package/react/components/RadioButtonGroup.d.ts +3 -2
  31. package/react/components/RadioButtonGroup.js +3 -3
  32. package/react/components/SelectPreview.js +3 -3
  33. package/react/components/ShowPopup.d.ts +1 -1
  34. package/react/components/ShowPopup.js +7 -7
  35. package/react/components/Tooltip.d.ts +9 -1
  36. package/react/components/Tooltip.js +40 -10
  37. package/react/components/TreeSelect/TreeSelect.js +5 -14
  38. package/react/components/TreeSelect/TreeSelectItem.js +2 -2
  39. package/react/components/TreeSelect/TreeSelectPill.js +3 -3
  40. package/react/helpers.d.ts +1 -0
  41. package/react/helpers.js +14 -1
  42. package/react/index.d.ts +1 -0
  43. package/react/index.js +3 -1
@@ -2031,7 +2031,7 @@ export class TestGround extends React.Component<IProps, IState> {
2031
2031
 
2032
2032
  <div className="sd-check__group-new sd-check-button__group--left">
2033
2033
  <RadioButtonGroup
2034
- value={this.state.value3}
2034
+ value={this.state.value3 ?? ''}
2035
2035
  options={[
2036
2036
  {label: "RadioButton with an icon", value: "somevalue4", icon: "th-list"},
2037
2037
  {label: "RadioButton with no visible text, only an icon", value: "somevalue5", icon: "th", labelHidden: true},