forstok-ui-lib 7.5.0 → 7.5.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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/rollup.config.js +8 -0
- package/src/components/date/range.tsx +1 -1
package/package.json
CHANGED
package/rollup.config.js
CHANGED
|
@@ -70,6 +70,14 @@ export default [
|
|
|
70
70
|
'use-state-with-callback',
|
|
71
71
|
'frimousse',
|
|
72
72
|
].some((pkg) => id === pkg || id.startsWith(pkg + '/')),
|
|
73
|
+
onwarn: (warning, warn) => {
|
|
74
|
+
// Ignore dynamic require warnings
|
|
75
|
+
if (warning.code === 'CIRCULAR_DEPENDENCY') return; // optional
|
|
76
|
+
if (warning.code === 'EVAL' || /the request of a dependency is an expression/.test(warning.message)) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
warn(warning); // show other warnings
|
|
80
|
+
},
|
|
73
81
|
},
|
|
74
82
|
{
|
|
75
83
|
input: 'src/index.ts',
|
|
@@ -101,7 +101,7 @@ const DateRangeComponent = (props: TDateRange) => {
|
|
|
101
101
|
placeholder={['Start Date', 'End Date']}
|
|
102
102
|
minDate={_minDate}
|
|
103
103
|
maxDate={maxDate || moment().clone()}
|
|
104
|
-
defaultValue={value}
|
|
104
|
+
// defaultValue={value}
|
|
105
105
|
suffixIcon={<IconComponent $width='14px' $name='calendar' />}
|
|
106
106
|
prevIcon={<IconComponent $width='12px' $name='arrow-left' />}
|
|
107
107
|
nextIcon={<IconComponent $width='12px' $name='arrow-right' />}
|