@loadsmart/loadsmart-ui 7.3.0 → 7.3.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loadsmart/loadsmart-ui",
3
- "version": "7.3.0",
3
+ "version": "7.3.1",
4
4
  "description": "Miranda UI, a React UI library",
5
5
  "main": "dist",
6
6
  "files": [
@@ -48,10 +48,6 @@ function Steps({
48
48
  )
49
49
  }
50
50
 
51
- Steps.defaultProps = {
52
- scheme: 'light',
53
- }
54
-
55
51
  Steps.Step = StepsStep
56
52
 
57
53
  export default Steps
@@ -210,7 +210,7 @@ interface PanelsItemProps extends HTMLAttributes<HTMLElement> {
210
210
  lazy?: boolean
211
211
  }
212
212
 
213
- function PanelsItem({ children, name, lazy, ...props }: PanelsItemProps) {
213
+ function PanelsItem({ children, name, lazy = false, ...props }: PanelsItemProps) {
214
214
  const { activeTab } = useContext(TabContext)
215
215
 
216
216
  const hidden = activeTab !== name
@@ -222,10 +222,6 @@ function PanelsItem({ children, name, lazy, ...props }: PanelsItemProps) {
222
222
  )
223
223
  }
224
224
 
225
- PanelsItem.defaultProps = {
226
- lazy: false,
227
- }
228
-
229
225
  export interface TabsProps extends HTMLAttributes<HTMLElement>, WithDirectionProps {
230
226
  activeTab?: string
231
227
  onTabChange?: (tab: string) => void