@itcase/ui 1.8.150 → 1.8.152
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/{Button_cjs_DDRaYn9R.js → Button_cjs_CGIzPuXo.js} +1 -1
- package/dist/{Button_es_XkC7cQdA.js → Button_es_CtAnUzZA.js} +1 -1
- package/dist/{DatePicker_cjs_jKDgzxWR.js → DatePicker_cjs_CccRZSjc.js} +3 -3
- package/dist/{DatePicker_es_yp-h-DUa.js → DatePicker_es_54jl8guQ.js} +3 -3
- package/dist/cjs/components/Button.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +1 -1
- package/dist/cjs/components/DatePeriod.js +2 -2
- package/dist/cjs/components/DatePicker.js +2 -2
- package/dist/cjs/components/Notification.js +1 -1
- package/dist/cjs/components/Response.js +1 -1
- package/dist/components/Button.js +1 -1
- package/dist/components/CookiesWarning.js +1 -1
- package/dist/components/DatePeriod.js +2 -2
- package/dist/components/DatePicker.js +2 -2
- package/dist/components/Notification.js +1 -1
- package/dist/components/Response.js +1 -1
- package/package.json +1 -1
|
@@ -386,7 +386,7 @@ const buttonAppearanceSurface = {
|
|
|
386
386
|
},
|
|
387
387
|
surfaceSecondary: {
|
|
388
388
|
fill: 'surfaceSecondary',
|
|
389
|
-
fillHover: '
|
|
389
|
+
fillHover: 'surfaceTertiary',
|
|
390
390
|
labelTextColor: 'surfaceTextPrimary',
|
|
391
391
|
borderColor: 'surfaceBorderTertiary',
|
|
392
392
|
iconAfterFillIcon: 'surfaceItemPrimary',
|
|
@@ -384,7 +384,7 @@ const buttonAppearanceSurface = {
|
|
|
384
384
|
},
|
|
385
385
|
surfaceSecondary: {
|
|
386
386
|
fill: 'surfaceSecondary',
|
|
387
|
-
fillHover: '
|
|
387
|
+
fillHover: 'surfaceTertiary',
|
|
388
388
|
labelTextColor: 'surfaceTextPrimary',
|
|
389
389
|
borderColor: 'surfaceBorderTertiary',
|
|
390
390
|
iconAfterFillIcon: 'surfaceItemPrimary',
|
|
@@ -8,7 +8,7 @@ var DatePicker = require('react-datepicker');
|
|
|
8
8
|
var useAppearanceConfig = require('./cjs/hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
9
9
|
var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
10
10
|
var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
|
|
11
|
-
var Button = require('./
|
|
11
|
+
var Button = require('./Button_cjs_CGIzPuXo.js');
|
|
12
12
|
var Icon = require('./Icon_cjs_B5o0K55R.js');
|
|
13
13
|
var Input = require('./Input_cjs_DDi5JVAV.js');
|
|
14
14
|
var Label = require('./Label_cjs_DRIwteHh.js');
|
|
@@ -101,7 +101,7 @@ function DatePickerInput(props) {
|
|
|
101
101
|
const datepickerRef = React.useRef(null);
|
|
102
102
|
const [dateStart, dateEnd] = React.useMemo(() => {
|
|
103
103
|
let dateStart = undefined;
|
|
104
|
-
if (value
|
|
104
|
+
if (value) {
|
|
105
105
|
if (typeof value === 'string') {
|
|
106
106
|
dateStart = new Date(value);
|
|
107
107
|
}
|
|
@@ -110,7 +110,7 @@ function DatePickerInput(props) {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
let dateEnd = undefined;
|
|
113
|
-
if (endValue
|
|
113
|
+
if (endValue) {
|
|
114
114
|
if (typeof endValue === 'string') {
|
|
115
115
|
dateEnd = new Date(endValue);
|
|
116
116
|
}
|
|
@@ -6,7 +6,7 @@ import DatePicker from 'react-datepicker';
|
|
|
6
6
|
import { useAppearanceConfig } from './hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from './hooks/useStyles/useStyles.js';
|
|
9
|
-
import { B as Button } from './
|
|
9
|
+
import { B as Button } from './Button_es_CtAnUzZA.js';
|
|
10
10
|
import { I as Icon } from './Icon_es_BEhzKfrD.js';
|
|
11
11
|
import { I as Input } from './Input_es_BnCXATnh.js';
|
|
12
12
|
import { L as Label } from './Label_es_DYd2RwDK.js';
|
|
@@ -99,7 +99,7 @@ function DatePickerInput(props) {
|
|
|
99
99
|
const datepickerRef = useRef(null);
|
|
100
100
|
const [dateStart, dateEnd] = useMemo(() => {
|
|
101
101
|
let dateStart = undefined;
|
|
102
|
-
if (value
|
|
102
|
+
if (value) {
|
|
103
103
|
if (typeof value === 'string') {
|
|
104
104
|
dateStart = new Date(value);
|
|
105
105
|
}
|
|
@@ -108,7 +108,7 @@ function DatePickerInput(props) {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
let dateEnd = undefined;
|
|
111
|
-
if (endValue
|
|
111
|
+
if (endValue) {
|
|
112
112
|
if (typeof endValue === 'string') {
|
|
113
113
|
dateEnd = new Date(endValue);
|
|
114
114
|
}
|
|
@@ -6,7 +6,7 @@ var clsx = require('clsx');
|
|
|
6
6
|
var Cookies = require('js-cookie');
|
|
7
7
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
8
8
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
9
|
-
var Button = require('../../
|
|
9
|
+
var Button = require('../../Button_cjs_CGIzPuXo.js');
|
|
10
10
|
var Text = require('../../Text_cjs_DaH5tVvz.js');
|
|
11
11
|
require('lodash/camelCase');
|
|
12
12
|
require('lodash/castArray');
|
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var luxon = require('luxon');
|
|
7
7
|
var common = require('@itcase/common');
|
|
8
|
-
var DatePicker = require('../../
|
|
8
|
+
var DatePicker = require('../../DatePicker_cjs_CccRZSjc.js');
|
|
9
9
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
10
10
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
11
11
|
var ChipsGroup = require('../../ChipsGroup_cjs_DVizkQ4v.js');
|
|
@@ -23,7 +23,7 @@ require('react-responsive');
|
|
|
23
23
|
require('../utils/setViewportProperty.js');
|
|
24
24
|
require('../hooks.js');
|
|
25
25
|
require('../hooks/useStyles/styleAttributes.js');
|
|
26
|
-
require('../../
|
|
26
|
+
require('../../Button_cjs_CGIzPuXo.js');
|
|
27
27
|
require('../../Icon_cjs_B5o0K55R.js');
|
|
28
28
|
require('react-inlinesvg');
|
|
29
29
|
require('../hoc/urlWithAssetPrefix.js');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var DatePicker = require('../../
|
|
3
|
+
var DatePicker = require('../../DatePicker_cjs_CccRZSjc.js');
|
|
4
4
|
require('react/jsx-runtime');
|
|
5
5
|
require('react');
|
|
6
6
|
require('clsx');
|
|
@@ -22,7 +22,7 @@ require('../hooks.js');
|
|
|
22
22
|
require('../hooks/useStyles/styleAttributes.js');
|
|
23
23
|
require('../hooks/useStyles/useStyles.js');
|
|
24
24
|
require('lodash/maxBy');
|
|
25
|
-
require('../../
|
|
25
|
+
require('../../Button_cjs_CGIzPuXo.js');
|
|
26
26
|
require('../../Icon_cjs_B5o0K55R.js');
|
|
27
27
|
require('react-inlinesvg');
|
|
28
28
|
require('../hoc/urlWithAssetPrefix.js');
|
|
@@ -6,7 +6,7 @@ var Loader = require('../../Loader_cjs_CRiUlTC3.js');
|
|
|
6
6
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
7
7
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
8
8
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
9
|
-
var Button = require('../../
|
|
9
|
+
var Button = require('../../Button_cjs_CGIzPuXo.js');
|
|
10
10
|
var Icon = require('../../Icon_cjs_B5o0K55R.js');
|
|
11
11
|
var Text = require('../../Text_cjs_DaH5tVvz.js');
|
|
12
12
|
var _default = require('@itcase/icons/default');
|
|
@@ -8,7 +8,7 @@ var urlWithAssetPrefix = require('../hoc/urlWithAssetPrefix.js');
|
|
|
8
8
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
9
9
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
10
10
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
11
|
-
var Button = require('../../
|
|
11
|
+
var Button = require('../../Button_cjs_CGIzPuXo.js');
|
|
12
12
|
var Group = require('../../Group_cjs_CLE5_jDA.js');
|
|
13
13
|
var Text = require('../../Text_cjs_DaH5tVvz.js');
|
|
14
14
|
require('@itcase/common');
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
|
-
import { B as Button } from '../
|
|
7
|
+
import { B as Button } from '../Button_es_CtAnUzZA.js';
|
|
8
8
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
|
@@ -3,7 +3,7 @@ import { useCallback } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { DateTime } from 'luxon';
|
|
5
5
|
import { DATE_PERIOD_INTERVALS } from '@itcase/common';
|
|
6
|
-
import { D as DatePickerInput } from '../
|
|
6
|
+
import { D as DatePickerInput } from '../DatePicker_es_54jl8guQ.js';
|
|
7
7
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
8
8
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
9
9
|
import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_D3eiXGyK.js';
|
|
@@ -21,7 +21,7 @@ import 'react-responsive';
|
|
|
21
21
|
import '../utils/setViewportProperty.js';
|
|
22
22
|
import '../hooks.js';
|
|
23
23
|
import '../hooks/useStyles/styleAttributes.js';
|
|
24
|
-
import '../
|
|
24
|
+
import '../Button_es_CtAnUzZA.js';
|
|
25
25
|
import '../Icon_es_BEhzKfrD.js';
|
|
26
26
|
import 'react-inlinesvg';
|
|
27
27
|
import '../hoc/urlWithAssetPrefix.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../
|
|
1
|
+
export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../DatePicker_es_54jl8guQ.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -20,7 +20,7 @@ import '../hooks.js';
|
|
|
20
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
21
|
import '../hooks/useStyles/useStyles.js';
|
|
22
22
|
import 'lodash/maxBy';
|
|
23
|
-
import '../
|
|
23
|
+
import '../Button_es_CtAnUzZA.js';
|
|
24
24
|
import '../Icon_es_BEhzKfrD.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
26
|
import '../hoc/urlWithAssetPrefix.js';
|
|
@@ -4,7 +4,7 @@ import { L as Loader } from '../Loader_es_Dq2-7sn2.js';
|
|
|
4
4
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { B as Button } from '../
|
|
7
|
+
import { B as Button } from '../Button_es_CtAnUzZA.js';
|
|
8
8
|
import { I as Icon } from '../Icon_es_BEhzKfrD.js';
|
|
9
9
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
10
10
|
import { icons24 } from '@itcase/icons/default';
|
|
@@ -6,7 +6,7 @@ import { urlWithAssetPrefix } from '../hoc/urlWithAssetPrefix.js';
|
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { B as Button } from '../
|
|
9
|
+
import { B as Button } from '../Button_es_CtAnUzZA.js';
|
|
10
10
|
import { G as Group } from '../Group_es_ZTwafPX1.js';
|
|
11
11
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
12
12
|
import '@itcase/common';
|