@loadsmart/loadsmart-ui 5.14.0 → 5.14.2

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": "5.14.0",
3
+ "version": "5.14.2",
4
4
  "description": "Miranda UI, a React UI library",
5
5
  "main": "dist",
6
6
  "files": [
@@ -168,7 +168,7 @@
168
168
  "tailwindcss": "npm:@tailwindcss/postcss7-compat",
169
169
  "ts-jest": "26.5.6",
170
170
  "ts-toolbelt": "^9.6.0",
171
- "ttypescript": "1.5.12",
171
+ "ttypescript": "^1.5.13",
172
172
  "typescript": "4.2.4",
173
173
  "typescript-plugin-styled-components": "1.5.0"
174
174
  },
@@ -60,7 +60,7 @@ describe('DateRangePicker', () => {
60
60
  })
61
61
 
62
62
  describe('when enabled', () => {
63
- const NEXT_MONTH = DateHelper(Date.UTC(2022, TODAY.getMonth() + 1))
63
+ const NEXT_MONTH = DateHelper(Date.UTC(TODAY.getYear(), TODAY.getMonth() + 1))
64
64
 
65
65
  it('expands with the current month/year calendar when range input is clicked', async () => {
66
66
  setup({ disabled: false })
@@ -1,5 +1,5 @@
1
1
  import React from 'react'
2
- import type { PropsWithChildren } from 'react'
2
+ import type { ReactNode } from 'react'
3
3
  import styled, { css } from 'styled-components'
4
4
 
5
5
  import { getToken as token } from 'theming'
@@ -33,7 +33,7 @@ const Container = styled.div`
33
33
  `
34
34
 
35
35
  export interface TopNavigationProps {
36
- children: PropsWithChildren<unknown>
36
+ children?: ReactNode
37
37
  }
38
38
 
39
39
  function TopNavigation({ children }: TopNavigationProps): JSX.Element {