@itcase/ui 1.8.179 → 1.9.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/dist/cjs/components/Chips.js +3 -3
- package/dist/cjs/components/DatePeriod.js +2 -2
- package/dist/cjs/components/Drawer.js +5 -5
- package/dist/cjs/components/Select.js +2 -2
- package/dist/components/Chips.js +3 -3
- package/dist/components/DatePeriod.js +2 -2
- package/dist/components/Drawer.js +5 -5
- package/dist/components/Select.js +2 -2
- package/dist/css/styles/bundles.css +13 -1
- package/dist/stories/useAppearanceConfig.mdx +1 -1
- package/dist/stories/useDevicePropsGenerator.mdx +2 -2
- package/dist/stories/useMediaQueries.mdx +1 -1
- package/dist/types/components/Accordion/Accordion.interface.d.ts +1 -1
- package/dist/types/components/Avatar/Avatar.interface.d.ts +1 -1
- package/dist/types/components/Badge/Badge.interface.d.ts +1 -1
- package/dist/types/components/Breadcrumbs/Breadcrumbs.interface.d.ts +1 -1
- package/dist/types/components/Button/Button.interface.d.ts +1 -1
- package/dist/types/components/Cell/Cell.interface.d.ts +1 -1
- package/dist/types/components/Checkbox/Checkbox.interface.d.ts +1 -1
- package/dist/types/components/Checkmark/Checkmark.interface.d.ts +1 -1
- package/dist/types/components/Chips/Chips.interface.d.ts +1 -1
- package/dist/types/components/Choice/Choice.interface.d.ts +1 -1
- package/dist/types/components/Code/Code.interface.d.ts +1 -1
- package/dist/types/components/CookiesWarning/CookiesWarning.d.ts +1 -1
- package/dist/types/components/Dadata/Dadata.interface.d.ts +1 -1
- package/dist/types/components/DatePeriod/DatePeriod.interface.d.ts +1 -1
- package/dist/types/components/Divider/Divider.interface.d.ts +1 -1
- package/dist/types/components/Dot/Dot.interface.d.ts +1 -1
- package/dist/types/components/Drawer/Drawer.interface.d.ts +1 -1
- package/dist/types/components/Dropdown/Dropdown.interface.d.ts +1 -1
- package/dist/types/components/Flex/Flex.interface.d.ts +1 -1
- package/dist/types/components/Grid/Grid.interface.d.ts +1 -1
- package/dist/types/components/Group/Group.interface.d.ts +1 -1
- package/dist/types/components/HTMLContent/HTMLContent.interface.d.ts +1 -1
- package/dist/types/components/HeroTitle/HeroTitle.interface.d.ts +1 -1
- package/dist/types/components/Icon/Icon.interface.d.ts +1 -1
- package/dist/types/components/Image/Image.interface.d.ts +1 -1
- package/dist/types/components/Input/Input.interface.d.ts +1 -1
- package/dist/types/components/InputPassword/InputPassword.interface.d.ts +1 -1
- package/dist/types/components/Label/Label.interface.d.ts +1 -1
- package/dist/types/components/Link/Link.interface.d.ts +1 -1
- package/dist/types/components/List/List.interface.d.ts +1 -1
- package/dist/types/components/Loader/Loader.interface.d.ts +1 -1
- package/dist/types/components/Logo/Logo.interface.d.ts +1 -1
- package/dist/types/components/MenuItem/MenuItem.interface.d.ts +1 -1
- package/dist/types/components/Modal/Modal.interface.d.ts +1 -1
- package/dist/types/components/Notification/Notification.interface.d.ts +1 -1
- package/dist/types/components/Overlay/Overlay.interface.d.ts +1 -1
- package/dist/types/components/Pagination/Pagination.interface.d.ts +1 -1
- package/dist/types/components/Radio/Radio.interface.d.ts +1 -1
- package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +1 -1
- package/dist/types/components/Response/Response.interface.d.ts +1 -1
- package/dist/types/components/SVGContent/SVGContent.interface.d.ts +1 -1
- package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +1 -1
- package/dist/types/components/Scrollbar/Scrollbar.interface.d.ts +1 -1
- package/dist/types/components/Search/Search.interface.d.ts +1 -1
- package/dist/types/components/Segmented/Segmented.interface.d.ts +1 -1
- package/dist/types/components/Segmented/stories/__mock__/index.d.ts +6 -21
- package/dist/types/components/Swiper/Swiper.interface.d.ts +1 -1
- package/dist/types/components/Switch/Switch.interface.d.ts +1 -1
- package/dist/types/components/Tab/Tab.interface.d.ts +1 -1
- package/dist/types/components/Text/Text.interface.d.ts +1 -1
- package/dist/types/components/Textarea/Textarea.interface.d.ts +1 -1
- package/dist/types/components/Tile/Tile.interface.d.ts +1 -1
- package/dist/types/components/Title/Title.interface.d.ts +1 -1
- package/dist/types/components/Tooltip/Tooltip.interface.d.ts +1 -1
- package/dist/types/components/Video/Video.interface.d.ts +1 -1
- package/dist/types/hoc/urlWithAssetPrefix.d.ts +1 -1
- package/dist/types/hooks/index.helpers.d.ts +2 -2
- package/dist/types/hooks/useDevicePropsGenerator/useDevicePropsGenerator.d.ts +1 -1
- package/package.json +4 -7
- package/dist/css/components/Accordion/Accordion.css +0 -197
- package/dist/css/components/Avatar/Avatar.css +0 -326
- package/dist/css/components/AvatarStack/AvatarStack.css +0 -135
- package/dist/css/components/Badge/Badge.css +0 -1235
- package/dist/css/components/Breadcrumbs/Breadcrumbs.css +0 -77
- package/dist/css/components/Button/Button.css +0 -630
- package/dist/css/components/Cell/Cell.css +0 -158
- package/dist/css/components/Checkbox/Checkbox.css +0 -11133
- package/dist/css/components/Checkmark/Checkmark.css +0 -103
- package/dist/css/components/Chips/Chips.css +0 -139
- package/dist/css/components/Choice/Choice.css +0 -288
- package/dist/css/components/Choice/css/__item/choice__item.css +0 -32
- package/dist/css/components/Choice/css/__item/choice__item_shape.css +0 -11
- package/dist/css/components/Choice/css/__item/choice__item_size.css +0 -88
- package/dist/css/components/Code/Code.css +0 -123
- package/dist/css/components/CookiesWarning/CookiesWarning.css +0 -40
- package/dist/css/components/CookiesWarning/CookiesWarning.token.css +0 -2
- package/dist/css/components/Dadata/Dadata.css +0 -21
- package/dist/css/components/DatePeriod/DatePeriod.css +0 -101
- package/dist/css/components/DatePicker/DatePicker.css +0 -1377
- package/dist/css/components/Divider/Divider.css +0 -105
- package/dist/css/components/Dot/Dot.css +0 -72
- package/dist/css/components/Drawer/Drawer.css +0 -80
- package/dist/css/components/Dropdown/Dropdown.css +0 -221
- package/dist/css/components/Flex/Flex.css +0 -379
- package/dist/css/components/Flex/css/__item/flex__item.css +0 -5
- package/dist/css/components/Flex/css/__item/flex__item_align.css +0 -58
- package/dist/css/components/Flex/css/__item/flex__item_direction.css +0 -24
- package/dist/css/components/Flex/css/__item/flex__item_grow.css +0 -10
- package/dist/css/components/Flex/css/__item/flex__item_justify-content.css +0 -22
- package/dist/css/components/Flex/css/__item/flex__item_shape.css +0 -12
- package/dist/css/components/Flex/css/__item/flex__item_wrap.css +0 -9
- package/dist/css/components/Grid/Grid.css +0 -2303
- package/dist/css/components/Grid/css/__item/grid__item.css +0 -5
- package/dist/css/components/Grid/css/__item/grid__item_align-self.css +0 -58
- package/dist/css/components/Grid/css/__item/grid__item_column.css +0 -279
- package/dist/css/components/Grid/css/__item/grid__item_justify-self.css +0 -70
- package/dist/css/components/Grid/css/__item/grid__item_row.css +0 -279
- package/dist/css/components/Grid/css/__row/grid__row.css +0 -6
- package/dist/css/components/Group/Group.css +0 -5317
- package/dist/css/components/HTMLContent/HTMLContent.css +0 -166
- package/dist/css/components/HeroTitle/HeroTitle.css +0 -87
- package/dist/css/components/Icon/Icon.css +0 -7774
- package/dist/css/components/Image/Image.css +0 -163
- package/dist/css/components/Input/Input.css +0 -135
- package/dist/css/components/InputPassword/InputPassword.css +0 -115
- package/dist/css/components/Label/Label.css +0 -118
- package/dist/css/components/Link/Link.css +0 -58
- package/dist/css/components/List/List.css +0 -515
- package/dist/css/components/Loader/Loader.css +0 -212
- package/dist/css/components/Logo/Logo.css +0 -96
- package/dist/css/components/MenuItem/MenuItem.css +0 -251
- package/dist/css/components/Modal/Modal.css +0 -232
- package/dist/css/components/ModalSheetBottom/ModalSheetBottom.css +0 -45
- package/dist/css/components/Notification/Notification.css +0 -182
- package/dist/css/components/Notification/css/__item/notification__item.css +0 -26
- package/dist/css/components/Notification/css/__item/notification__item_size.css +0 -44
- package/dist/css/components/Notification/css/__item/notification__item_skeleton.css +0 -25
- package/dist/css/components/Notification/css/__item/notification__item_type.css +0 -23
- package/dist/css/components/Overlay/Overlay.css +0 -42
- package/dist/css/components/Pagination/Pagination.css +0 -279
- package/dist/css/components/Pagination/css/__item/pagination__item.css +0 -44
- package/dist/css/components/Pagination/css/__item/pagination__item_size.css +0 -18
- package/dist/css/components/Pagination/css/__item/pagination__item_state_active.css +0 -16
- package/dist/css/components/Pagination/css/__item/pagination__item_state_disabled.css +0 -20
- package/dist/css/components/Radio/Radio.css +0 -11226
- package/dist/css/components/RangeSlider/RangeSlider.css +0 -2944
- package/dist/css/components/Response/Response.css +0 -69
- package/dist/css/components/SVGContent/SVGContent.css +0 -2
- package/dist/css/components/ScrollOnDrag/ScrollOnDrag.css +0 -257
- package/dist/css/components/ScrollToView/ScrollToView.css +0 -1998
- package/dist/css/components/Scrollbar/Scrollbar.css +0 -58
- package/dist/css/components/Search/Search.css +0 -162
- package/dist/css/components/Search/css/search-input/search-input.css +0 -61
- package/dist/css/components/Search/css/search-input/search-input_size.css +0 -39
- package/dist/css/components/Search/css/search-input/search-input_skeleton.css +0 -25
- package/dist/css/components/Search/css/search-result/search-result.css +0 -6
- package/dist/css/components/Segmented/Segmented.css +0 -244
- package/dist/css/components/Segmented/css/__item/segmaented__item.css +0 -92
- package/dist/css/components/Select/Select.css +0 -768
- package/dist/css/components/Select/css/__control/select__control.css +0 -16
- package/dist/css/components/Select/css/__indicators/select__indicators.css +0 -21
- package/dist/css/components/Select/css/__input-container/select__input-container.css +0 -383
- package/dist/css/components/Select/css/__menu/select__menu-list-item_size.css +0 -31
- package/dist/css/components/Select/css/__menu/select__menu-notice.css +0 -6
- package/dist/css/components/Select/css/__menu/select__menu.css +0 -56
- package/dist/css/components/Select/css/__multi-value/select__multi-value.css +0 -7
- package/dist/css/components/Select/css/__option/select__option.css +0 -6
- package/dist/css/components/Select/css/__placeholder/select__placeholder.css +0 -9
- package/dist/css/components/Select/css/__single-value/select__single-value.css +0 -10
- package/dist/css/components/Select/css/__value-container/select__value-container.css +0 -21
- package/dist/css/components/Swiper/Swiper.css +0 -997
- package/dist/css/components/Swiper/css/__item/swiper-block__item.css +0 -6
- package/dist/css/components/Switch/Switch.css +0 -154
- package/dist/css/components/Tab/Tab.css +0 -180
- package/dist/css/components/Text/Text.css +0 -103
- package/dist/css/components/Textarea/Textarea.css +0 -86
- package/dist/css/components/Tile/Tile.css +0 -141
- package/dist/css/components/Title/Title.css +0 -125
- package/dist/css/components/Tooltip/Tooltip.css +0 -236
- package/dist/css/components/Video/Video.css +0 -23
- package/dist/css/components/Warning/Warning.css +0 -50
- package/dist/css/styles/align/align.css +0 -25
- package/dist/css/styles/align/align_horizontal-reverse.css +0 -252
- package/dist/css/styles/align/align_horizontal.css +0 -252
- package/dist/css/styles/align/align_vertical-reverse.css +0 -236
- package/dist/css/styles/align/align_vertical.css +0 -236
- package/dist/css/styles/align-items/align-items.css +0 -20
- package/dist/css/styles/align-self/align-self.css +0 -20
- package/dist/css/styles/alignment/alignment.css +0 -51
- package/dist/css/styles/blur/blur.css +0 -82
- package/dist/css/styles/border/border.css +0 -244
- package/dist/css/styles/border-color/border-color.css +0 -24405
- package/dist/css/styles/border-type/border-type.css +0 -13
- package/dist/css/styles/border-width/border-width.css +0 -57
- package/dist/css/styles/caret-color/caret-color.css +0 -282
- package/dist/css/styles/centering/centering.css +0 -17
- package/dist/css/styles/constraints/constraints.css +0 -72
- package/dist/css/styles/cursor/cursor.css +0 -28
- package/dist/css/styles/direction/direction.css +0 -18
- package/dist/css/styles/easing/easing.css +0 -104
- package/dist/css/styles/elevation/elevation.css +0 -26
- package/dist/css/styles/elevation/elevation_hover.css +0 -44
- package/dist/css/styles/fill/fill.css +0 -7750
- package/dist/css/styles/fill/fill_gradient.css +0 -525
- package/dist/css/styles/flex/flex-grow.css +0 -8
- package/dist/css/styles/height/height.css +0 -11
- package/dist/css/styles/hover/hover-fill-color.css +0 -842
- package/dist/css/styles/hover/hover-item-color.css +0 -1082
- package/dist/css/styles/hover/hover-text-color.css +0 -1082
- package/dist/css/styles/justify-content/justify-content.css +0 -35
- package/dist/css/styles/opacity/opacity.css +0 -74
- package/dist/css/styles/placeholder-text-color/placeholder-text-color.css +0 -362
- package/dist/css/styles/position/position.css +0 -14
- package/dist/css/styles/print/print.css +0 -12
- package/dist/css/styles/resize-horizontal/resize-horizontal.css +0 -12
- package/dist/css/styles/resize-vertical/resize-vertical.css +0 -10
- package/dist/css/styles/shape/shape.css +0 -8
- package/dist/css/styles/shape-strength/shape-strength.css +0 -15
- package/dist/css/styles/svg-color/svg_fill.css +0 -1044
- package/dist/css/styles/svg-color/svg_fill_hover.css +0 -484
- package/dist/css/styles/svg-color/svg_path_fill.css +0 -364
- package/dist/css/styles/text-align/text-align.css +0 -11
- package/dist/css/styles/text-color/text-color.css +0 -3617
- package/dist/css/styles/text-decoration/text-decoration.css +0 -10
- package/dist/css/styles/text-gradient/text-gradient.css +0 -1195
- package/dist/css/styles/text-style/text-style.css +0 -10
- package/dist/css/styles/text-truncate/text-truncate.css +0 -7
- package/dist/css/styles/text-weight/text-weight.css +0 -181
- package/dist/css/styles/width/width.css +0 -11
- package/dist/css/styles/word-wrap/word-wrap.css +0 -8
- package/dist/{ChipsGroup_cjs_B182e4c8.js → ChipsGroup_cjs_C-CP64k4.js} +1 -1
- package/dist/{ChipsGroup_es_BflE-5Q3.js → ChipsGroup_es_BfN_kCqj.js} +1 -1
- package/dist/{SelectContainer_cjs_BOMkYSVf.js → SelectContainer_cjs_NkNDS17H.js} +2 -2
- package/dist/{SelectContainer_es_gcm20n4I.js → SelectContainer_es_BpYwQ-do.js} +2 -2
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var ChipsGroup = require('../../
|
|
3
|
+
var ChipsGroup = require('../../ChipsGroup_cjs_C-CP64k4.js');
|
|
4
4
|
require('react/jsx-runtime');
|
|
5
5
|
require('clsx');
|
|
6
|
-
require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
7
|
-
require('react');
|
|
8
6
|
require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
7
|
+
require('react');
|
|
9
8
|
require('lodash/camelCase');
|
|
10
9
|
require('lodash/castArray');
|
|
11
10
|
require('lodash/upperFirst');
|
|
@@ -20,6 +19,7 @@ require('../hooks.js');
|
|
|
20
19
|
require('../hooks/useStyles/styleAttributes.js');
|
|
21
20
|
require('../hooks/useStyles/useStyles.js');
|
|
22
21
|
require('lodash/maxBy');
|
|
22
|
+
require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
23
23
|
require('../../Icon_cjs_Xsu3KUlK.js');
|
|
24
24
|
require('react-inlinesvg');
|
|
25
25
|
require('../hoc/urlWithAssetPrefix.js');
|
|
@@ -8,10 +8,10 @@ var common = require('@itcase/common');
|
|
|
8
8
|
var DatePicker = require('../../DatePicker_cjs_C4EKZl4o.js');
|
|
9
9
|
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
10
10
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
11
|
-
var ChipsGroup = require('../../
|
|
11
|
+
var ChipsGroup = require('../../ChipsGroup_cjs_C-CP64k4.js');
|
|
12
12
|
require('react-select');
|
|
13
13
|
require('../../Icon_cjs_Xsu3KUlK.js');
|
|
14
|
-
var SelectContainer = require('../../
|
|
14
|
+
var SelectContainer = require('../../SelectContainer_cjs_NkNDS17H.js');
|
|
15
15
|
require('lodash/camelCase');
|
|
16
16
|
require('lodash/maxBy');
|
|
17
17
|
require('lodash/upperFirst');
|
|
@@ -4,15 +4,14 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var ReactDrawer = require('react-modern-drawer');
|
|
7
|
+
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
8
|
+
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
7
9
|
var Divider = require('../../Divider_cjs_DrmV2ezS.js');
|
|
8
10
|
var Icon = require('../../Icon_cjs_Xsu3KUlK.js');
|
|
9
11
|
var Text = require('../../Text_cjs_DaH5tVvz.js');
|
|
10
|
-
var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
11
|
-
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
12
12
|
var _default = require('@itcase/icons/default');
|
|
13
|
-
require('../hooks/useStyles/useStyles.js');
|
|
14
13
|
require('lodash/camelCase');
|
|
15
|
-
require('lodash/
|
|
14
|
+
require('lodash/castArray');
|
|
16
15
|
require('lodash/upperFirst');
|
|
17
16
|
require('../context/Notifications.js');
|
|
18
17
|
require('uuid');
|
|
@@ -23,11 +22,12 @@ require('react-responsive');
|
|
|
23
22
|
require('../utils/setViewportProperty.js');
|
|
24
23
|
require('../hooks.js');
|
|
25
24
|
require('../hooks/useStyles/styleAttributes.js');
|
|
25
|
+
require('../hooks/useStyles/useStyles.js');
|
|
26
|
+
require('lodash/maxBy');
|
|
26
27
|
require('react-inlinesvg');
|
|
27
28
|
require('../hoc/urlWithAssetPrefix.js');
|
|
28
29
|
require('../context/UrlAssetPrefix.js');
|
|
29
30
|
require('../../Link_cjs_qKXVfU8e.js');
|
|
30
|
-
require('lodash/castArray');
|
|
31
31
|
|
|
32
32
|
const drawerAppearanceSize = {
|
|
33
33
|
sizeH3: {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var SelectContainer = require('../../
|
|
3
|
+
var SelectContainer = require('../../SelectContainer_cjs_NkNDS17H.js');
|
|
4
4
|
require('react/jsx-runtime');
|
|
5
5
|
require('react');
|
|
6
6
|
require('clsx');
|
|
7
7
|
require('react-select');
|
|
8
8
|
require('react-select/creatable');
|
|
9
|
-
require('../../Group_cjs_CFzdSMKV.js');
|
|
10
9
|
require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
|
|
11
10
|
require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
12
11
|
require('lodash/camelCase');
|
|
@@ -21,6 +20,7 @@ require('react-responsive');
|
|
|
21
20
|
require('../utils/setViewportProperty.js');
|
|
22
21
|
require('../hooks.js');
|
|
23
22
|
require('../hooks/useStyles/styleAttributes.js');
|
|
23
|
+
require('../../Group_cjs_CFzdSMKV.js');
|
|
24
24
|
require('../hooks/useStyles/useStyles.js');
|
|
25
25
|
require('lodash/maxBy');
|
|
26
26
|
require('../../Text_cjs_DaH5tVvz.js');
|
package/dist/components/Chips.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../
|
|
1
|
+
export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_BfN_kCqj.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'clsx';
|
|
4
|
-
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
5
|
-
import 'react';
|
|
6
4
|
import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
|
+
import 'react';
|
|
7
6
|
import 'lodash/camelCase';
|
|
8
7
|
import 'lodash/castArray';
|
|
9
8
|
import 'lodash/upperFirst';
|
|
@@ -18,6 +17,7 @@ import '../hooks.js';
|
|
|
18
17
|
import '../hooks/useStyles/styleAttributes.js';
|
|
19
18
|
import '../hooks/useStyles/useStyles.js';
|
|
20
19
|
import 'lodash/maxBy';
|
|
20
|
+
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
21
21
|
import '../Icon_es_B02tKDTb.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../hoc/urlWithAssetPrefix.js';
|
|
@@ -6,10 +6,10 @@ import { DATE_PERIOD_INTERVALS } from '@itcase/common';
|
|
|
6
6
|
import { D as DatePickerInput } from '../DatePicker_es_B7Th76gy.js';
|
|
7
7
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
8
8
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
9
|
-
import { b as ChipsGroup, C as Chips } from '../
|
|
9
|
+
import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_BfN_kCqj.js';
|
|
10
10
|
import 'react-select';
|
|
11
11
|
import '../Icon_es_B02tKDTb.js';
|
|
12
|
-
import { a as SelectContainer } from '../
|
|
12
|
+
import { a as SelectContainer } from '../SelectContainer_es_BpYwQ-do.js';
|
|
13
13
|
import 'lodash/camelCase';
|
|
14
14
|
import 'lodash/maxBy';
|
|
15
15
|
import 'lodash/upperFirst';
|
|
@@ -2,15 +2,14 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import ReactDrawer from 'react-modern-drawer';
|
|
5
|
+
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
|
+
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
7
|
import { D as Divider } from '../Divider_es_BiYozVBS.js';
|
|
6
8
|
import { I as Icon, b as Title } from '../Icon_es_B02tKDTb.js';
|
|
7
9
|
import { T as Text } from '../Text_es_RDU9GLCV.js';
|
|
8
|
-
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
9
|
-
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
10
10
|
import { icons24 } from '@itcase/icons/default';
|
|
11
|
-
import '../hooks/useStyles/useStyles.js';
|
|
12
11
|
import 'lodash/camelCase';
|
|
13
|
-
import 'lodash/
|
|
12
|
+
import 'lodash/castArray';
|
|
14
13
|
import 'lodash/upperFirst';
|
|
15
14
|
import '../context/Notifications.js';
|
|
16
15
|
import 'uuid';
|
|
@@ -21,11 +20,12 @@ import 'react-responsive';
|
|
|
21
20
|
import '../utils/setViewportProperty.js';
|
|
22
21
|
import '../hooks.js';
|
|
23
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
+
import '../hooks/useStyles/useStyles.js';
|
|
24
|
+
import 'lodash/maxBy';
|
|
24
25
|
import 'react-inlinesvg';
|
|
25
26
|
import '../hoc/urlWithAssetPrefix.js';
|
|
26
27
|
import '../context/UrlAssetPrefix.js';
|
|
27
28
|
import '../Link_es_P2b6ya7P.js';
|
|
28
|
-
import 'lodash/castArray';
|
|
29
29
|
|
|
30
30
|
const drawerAppearanceSize = {
|
|
31
31
|
sizeH3: {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
export { a as Select, S as SelectClearIndicator, b as SelectControl, c as SelectDropdownIndicator, d as SelectGroupHeading, e as SelectIndicatorsContainer, f as SelectInput, g as SelectMenu, h as SelectMultiValueContainer, i as SelectMultiValueLabel, j as SelectMultiValueRemove, k as SelectOption, l as SelectPlaceholder, m as SelectSingleValue, n as SelectValueContainer, s as selectConfig } from '../
|
|
1
|
+
export { a as Select, S as SelectClearIndicator, b as SelectControl, c as SelectDropdownIndicator, d as SelectGroupHeading, e as SelectIndicatorsContainer, f as SelectInput, g as SelectMenu, h as SelectMultiValueContainer, i as SelectMultiValueLabel, j as SelectMultiValueRemove, k as SelectOption, l as SelectPlaceholder, m as SelectSingleValue, n as SelectValueContainer, s as selectConfig } from '../SelectContainer_es_BpYwQ-do.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import 'react-select';
|
|
6
6
|
import 'react-select/creatable';
|
|
7
|
-
import '../Group_es_BwTj-yH-.js';
|
|
8
7
|
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
9
8
|
import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
10
9
|
import 'lodash/camelCase';
|
|
@@ -19,6 +18,7 @@ import 'react-responsive';
|
|
|
19
18
|
import '../utils/setViewportProperty.js';
|
|
20
19
|
import '../hooks.js';
|
|
21
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
|
+
import '../Group_es_BwTj-yH-.js';
|
|
22
22
|
import '../hooks/useStyles/useStyles.js';
|
|
23
23
|
import 'lodash/maxBy';
|
|
24
24
|
import '../Text_es_RDU9GLCV.js';
|
|
@@ -38298,6 +38298,18 @@ textarea.fill {
|
|
|
38298
38298
|
.shape {
|
|
38299
38299
|
&_rounded {
|
|
38300
38300
|
border-radius: 8px;
|
|
38301
|
+
&S {
|
|
38302
|
+
border-radius: 0.5m;
|
|
38303
|
+
}
|
|
38304
|
+
&M {
|
|
38305
|
+
border-radius: 1m;
|
|
38306
|
+
}
|
|
38307
|
+
&L {
|
|
38308
|
+
border-radius: 1.5m;
|
|
38309
|
+
}
|
|
38310
|
+
&XL {
|
|
38311
|
+
border-radius: 2m;
|
|
38312
|
+
}
|
|
38301
38313
|
}
|
|
38302
38314
|
&_circular {
|
|
38303
38315
|
border-radius: 50%;
|
|
@@ -77901,7 +77913,7 @@ h2.react-datepicker__current-month {
|
|
|
77901
77913
|
);
|
|
77902
77914
|
background-size: 200%;
|
|
77903
77915
|
animation: imageSkeleton 3s infinite linear;
|
|
77904
|
-
|
|
77916
|
+
^&__item {
|
|
77905
77917
|
opacity: 0%;
|
|
77906
77918
|
}
|
|
77907
77919
|
}
|
|
@@ -8,7 +8,7 @@ import { Meta } from '@storybook/addon-docs/blocks'
|
|
|
8
8
|
## Использование
|
|
9
9
|
|
|
10
10
|
```js
|
|
11
|
-
import { useAppearanceConfig } from '
|
|
11
|
+
import { useAppearanceConfig } from '../../hooks/useAppearanceConfig'
|
|
12
12
|
|
|
13
13
|
const { appearanceConfig } = useAppearanceConfig(
|
|
14
14
|
appearance,
|
|
@@ -155,7 +155,7 @@ const componentConfig: ComponentConfig = {
|
|
|
155
155
|
```
|
|
156
156
|
|
|
157
157
|
4. Применяем стили к компоненту. Важно учитывать, если в названии класса указывается сначала название компонента, это означает что он ссылается на стили,
|
|
158
|
-
которые определены внутри директории этого компонента
|
|
158
|
+
которые определены внутри директории этого компонента `../Component/css`
|
|
159
159
|
|
|
160
160
|
```jsx
|
|
161
161
|
'textarea__input'
|
|
@@ -199,4 +199,4 @@ const componentConfig: ComponentConfig = {
|
|
|
199
199
|
2. Tablet (от `768px` до `960px`)
|
|
200
200
|
3. Desktop (от `960px` до `1920px`)
|
|
201
201
|
|
|
202
|
-
Подробнее об этом можно узнать в `src/context/UIContext.tsx`, ознакомиться с размерами для (`Mobile`, `Tablet`, `Desktop`) можно в
|
|
202
|
+
Подробнее об этом можно узнать в `src/context/UIContext.tsx`, ознакомиться с размерами для (`Mobile`, `Tablet`, `Desktop`) можно в `../../hooks/useMediaQueries/mediaQueries.json`
|
|
@@ -3,7 +3,7 @@ import { Meta } from '@storybook/addon-docs/blocks'
|
|
|
3
3
|
<Meta title="Hooks / useMediaQueries" />
|
|
4
4
|
|
|
5
5
|
# `useMediaQueries`
|
|
6
|
-
Предназначен для определения и выполнения кода согласно значению `viewport`, список доступных `viewport` находится в файле
|
|
6
|
+
Предназначен для определения и выполнения кода согласно значению `viewport`, список доступных `viewport` находится в файле `../../hooks/useMediaQueries/mediaQueries.json`
|
|
7
7
|
|
|
8
8
|
## API
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorProps, CompositeAppearanceKey, DirectionProps, FillHoverProps, FillProps, HeightProps, ItemColorProps, ShapeProps, SizeProps, TextColorProps, TextSizeProps, TextWeightProps, WidthProps } from '@itcase/types';
|
|
3
|
-
import type { StyleAttributes } from '
|
|
3
|
+
import type { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
type AccordionProps = {};
|
|
5
5
|
type AccordionItemEventData = {
|
|
6
6
|
id: number | string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceSizePxKey, AppearanceStyleKey, BorderColorProps, CompositeAppearanceDefaultStyleShapeKey, CompositeAppearanceSizePxKey, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, SizePXProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
import { BadgeProps } from '../Badge/Badge.interface';
|
|
5
5
|
import { IconProps } from '../Icon/Icon.interface';
|
|
6
6
|
import { TextProps } from '../Text/Text.interface';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorHoverProps, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceKey, FillHoverProps, FillProps, IconFillItemProps, IconFillProps, IconSizeProps, ShapeProps, ShapeStrengthProps, SizeProps, SvgFillItemProps, TextColorProps, TextSizeProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
type BadgeAppearanceProps = {
|
|
5
5
|
borderColor?: BorderColorProps;
|
|
6
6
|
borderColorHover?: BorderColorHoverProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementType, ReactNode } from 'react';
|
|
2
2
|
import { DirectionProps, FillProps, IconSizeProps, PositionProps, ShapeProps, TextColorHoverProps, TextColorProps, TextSizeProps, UnderlineProps, WidthProps, type AppearanceKeysDefault, type BorderColorProps, type FillHoverProps, type SizeProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
export interface BreadcrumbsThemeColor {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
borderColor?: BorderColorProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { AlignProps, AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceDefaultKey, CompositeAppearanceKey, ElevationProps, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, SizeProps, WidthProps, WrapProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
import { IconProps } from '../Icon/Icon.interface';
|
|
5
5
|
import { LoaderProps } from '../Loader/Loader.interface';
|
|
6
6
|
import { TextProps } from '../Text/Text.interface';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementType, ReactNode } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault, DirectionProps, FillProps, IconFillSizeProps, ItemColorProps, ShapeProps, SizeProps, TextAlignProps, TextColorProps, TextSizeProps, TextWeightProps, TextWrapProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
export interface CellThemeColor {
|
|
5
5
|
}
|
|
6
6
|
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ElementType, ReactNode } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault, BorderColorProps, BorderWidthProps, FillProps, ItemColorProps, ShapeProps, TextColorProps, TextSizeProps, TextWeightProps, WidthProps } from '@itcase/types';
|
|
3
|
-
import type { StyleAttributes } from '
|
|
3
|
+
import type { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
type CheckboxState = {
|
|
5
5
|
[key in AppearanceKeysDefault]?: CheckboxThemeColor;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementType } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault, BorderColorProps, BorderWidthProps, FillProps, SizeProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
export interface CheckmarkThemeColor {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
borderColor?: BorderColorProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { AlignDirectionProps, AlignProps, AppearanceKeysDefault, BorderColorProps, BorderTypeProps, CompositeAppearanceKey, FillHoverProps, FillProps, ShapeProps, SizeProps, TextColorProps, TextSizeProps, TextWeightProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
interface ChipsThemeColor {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
align?: AlignProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault, BorderColorProps, BorderTypeProps, BorderWidthProps, FillHoverProps, FillProps, IconSizeProps, ItemColorProps, ShapeProps, SizeOptionProps, TextColorProps, TextSizeProps, TextWeightProps, WrapProps } from '@itcase/types';
|
|
3
|
-
import type { StyleAttributes } from '
|
|
3
|
+
import type { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
interface ChoiceThemeColor {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
activeIconItemFill?: ItemColorProps;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FocusEvent, ReactNode } from 'react';
|
|
2
2
|
import { AllowedInputTypes } from 'react-otp-input';
|
|
3
3
|
import { AppearanceKeysDefault, BorderColorHoverProps, BorderColorProps, BorderWidthProps, FillHoverProps, FillProps, ItemColorProps, ShapeProps, SizeProps, TextColorProps, TextSizeProps, TextWeightProps, WidthProps } from '@itcase/types';
|
|
4
|
-
import { StyleAttributes } from '
|
|
4
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
5
5
|
export interface CodeThemeColor {
|
|
6
6
|
[key: number | string | symbol]: any;
|
|
7
7
|
borderColor?: BorderColorProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LabelConfig } from '
|
|
1
|
+
import { LabelConfig } from '../Label/Label.interface';
|
|
2
2
|
import type { CookiesWarningProps } from './CookiesWarning.interface';
|
|
3
3
|
declare const cookiesWarningConfig: LabelConfig;
|
|
4
4
|
declare function CookiesWarning(props: CookiesWarningProps): false | import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLProps } from 'react';
|
|
2
2
|
import { DaDataSuggestion } from 'react-dadata';
|
|
3
3
|
import { DaDataParty } from 'react-dadata/dist/variants/party_russia/party-russia-types';
|
|
4
|
-
import { StyleAttributes } from '
|
|
4
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
5
5
|
export interface DadataProps extends StyleAttributes {
|
|
6
6
|
delay?: number;
|
|
7
7
|
input?: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DatePeriodItem } from '@itcase/common/types';
|
|
2
2
|
import type { AppearanceKeysDefault, CompositeAppearanceKey, DateIso, FillHoverProps, FillProps, ShapeProps, SizePXProps, TextSizeProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
type DatePeriodThemeColor = {
|
|
5
5
|
fill?: FillProps;
|
|
6
6
|
fillHover?: FillHoverProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorProps, CompositeAppearanceKey, DirectionProps, FillActiveHoverProps, FillActiveProps, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, SizeProps, TextColorProps, TextSizeProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
type DividerAppearanceProps = {
|
|
5
5
|
borderColor?: BorderColorProps;
|
|
6
6
|
direction?: DirectionProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { BorderColorProps, BorderTypeProps, FillProps, ShapeProps, SizeProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
export interface DotThemeColor {
|
|
5
5
|
borderColor?: BorderColorProps;
|
|
6
6
|
borderColorDesktop?: BorderColorProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault } from '@itcase/types';
|
|
3
|
-
import type { StyleAttributes } from '
|
|
3
|
+
import type { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
export interface DrawerThemeColor {
|
|
5
5
|
}
|
|
6
6
|
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, MouseEventHandler, ReactNode } from 'react';
|
|
2
2
|
import { AlignDirectionProps, AlignmentProps, AlignProps, AppearanceKeysDefault, DirectionProps, ElevationProps, FillHoverProps, FillProps, JustifyContentProps, ShapeProps, SizeProps, TextAlignProps, TextColorActiveProps, TextColorHoverProps, TextColorProps, TextGradientProps, TextSizeProps, TextWeightProps, TextWrapProps, TypeProps, UnderlineProps, WidthProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
export interface DropdownProps extends StyleAttributes {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
after?: ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
2
|
import { AlignDirectionProps, BorderColorProps, BorderTypeProps, DirectionProps, FillHoverProps, FillProps, FlexAlignProps, FlexJustifyContentProps, FlexWrapProps, HorizontalResizeModeProps, PositionProps, ShapeProps, WidthProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
export interface FlexProps extends StyleAttributes {
|
|
5
5
|
id?: number | string;
|
|
6
6
|
[key: number | string | symbol]: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementType, ReactNode } from 'react';
|
|
2
2
|
import { BorderColorProps, DirectionProps, FillHoverProps, FillProps, GridAlignProps, GridAlignSelfProps, GridJustifyItemsProps, GridJustifySelfProps, HorizontalResizeModeProps, ShapeProps, VerticalResizeModeProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
export interface GridBaseThemeColor extends StyleAttributes {
|
|
5
5
|
alignSelf?: GridAlignSelfProps;
|
|
6
6
|
alignSelfDesktop?: GridAlignSelfProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
2
|
import { AlignDirectionProps, AlignProps, AppearanceKeysDefault, BorderColorProps, BorderTypeProps, DirectionProps, ElevationProps, FillHoverProps, FillProps, FlexGrowProps, HeightProps, ItemColorProps, JustifyContentProps, ShapeProps, StackingProps, TextColorProps, WidthProps, WrapProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
interface ThemeColor {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
border?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { AlignDirectionProps, AlignProps, BorderColorProps, BorderTypeProps, DirectionProps, ElevationProps, FillHoverProps, FillProps, FlexGrowProps, HeightProps, JustifyContentProps, ShapeProps, TextColorProps, TextWeightProps, WidthProps, WrapProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
export interface HTMLContentProps extends StyleAttributes {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
align?: AlignProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault, FillProps, SvgFillProps, TextAlignProps, TextColorActiveProps, TextColorHoverProps, TextColorProps, TextGradientProps, TextStyleProps, TextWeightProps, TextWrapProps, TitleSizeHeadingProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
interface HeroTitleThemeColor {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
fill?: FillProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { AlignmentProps, AlignProps, AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorHoverProps, BorderColorProps, BorderTypeProps, BorderWidthProps, CenteringProps, CompositeAppearanceKey, DirectionProps, FillActiveHoverProps, FillActiveProps, FillDisabledProps, FillHoverProps, FillProps, FillSizeProps, IconFillActiveHoverProps, IconFillActiveProps, IconFillHoverProps, IconFillItemProps, IconFillProps, IconFillSizeProps, IconSizeProps, ShapeProps, ShapeStrengthProps, SizeProps, TextColorProps, TextSizeProps, TitleSizeProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
type IconAppearanceProps = {
|
|
5
5
|
alignment?: AlignmentProps;
|
|
6
6
|
badgeAppearance?: AppearanceKeysDefault;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { BorderColorProps, FillHoverProps, FillProps, HorizontalContentAlignProps, ShapeProps, VerticalContentAlignProps, WidthProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
export interface ImageProps extends StyleAttributes {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
after?: ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AppearanceKeysDefault, BorderColorProps, BorderWidthProps, FillProps, ItemColorProps, ShapeProps, SizeProps, StateKeysDefault, TextColorProps, TextSizeProps, TextWeightProps, WidthProps } from '@itcase/types';
|
|
2
|
-
import type { StyleAttributes } from '
|
|
2
|
+
import type { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
3
3
|
interface InputThemeColor {
|
|
4
4
|
[key: number | string | symbol]: any;
|
|
5
5
|
borderColor?: BorderColorProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AppearanceKeysDefault, BorderColorProps, BorderWidthProps, FillProps, IconSizeProps, ItemColorProps, ShapeProps, SizeProps, TextColorProps, TextSizeProps, TextWeightProps, WidthProps } from '@itcase/types';
|
|
2
|
-
import { StyleAttributes } from '
|
|
2
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
3
3
|
export interface InputThemeColor {
|
|
4
4
|
[key: number | string | symbol]: any;
|
|
5
5
|
borderColor?: BorderColorProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { AlignProps, AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorProps, BorderTypeProps, CompositeAppearanceKey, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, SizeProps, WrapProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
import { IconProps } from '../Icon/Icon.interface';
|
|
5
5
|
import { TextProps } from '../Text/Text.interface';
|
|
6
6
|
import { TooltipProps } from '../Tooltip/Tooltip.interface';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault, DirectionProps, FillProps, SizeProps, TextColorHoverProps, TextColorProps, TextGradientProps, TextStyleProps, TextWeightProps, UnderlineProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
export interface LinkThemeColor {
|
|
5
5
|
direction?: DirectionProps;
|
|
6
6
|
fill?: FillProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault, DirectionProps, FillProps, SizeProps, TextColorProps, TextStyleProps, TextWeightProps, TitleSizeProps, type BorderColorProps, type FillHoverProps, type ShapeProps, type WidthProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
interface ListThemeColor {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
borderColor?: BorderColorProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorProps, CompositeAppearanceKey, FillProps, ItemFillProps, ShapeProps, ShapeStrengthProps, SizeProps, TextColorProps, TextSizeProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
type LoaderAppearanceProps = {
|
|
5
5
|
borderColor?: BorderColorProps;
|
|
6
6
|
fill?: FillProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
2
|
import { AlignDirectionProps, AlignProps, AppearanceKeysDefault, FlexAlignProps, SizeProps, WidthProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
export interface LogoThemeColor {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
alt?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorProps, CompositeAppearanceSizePxKey, FillActiveHoverProps, FillActiveProps, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, TextSizeProps, TextTagProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
import { IconProps } from '../Icon/Icon.interface';
|
|
5
5
|
import { TextProps } from '../Text/Text.interface';
|
|
6
6
|
import { TooltipProps } from '../Tooltip/Tooltip.interface';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, MouseEventHandler, ReactNode } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceIconKeys, CompositeAppearanceKey, ElevationProps, FillProps, IconFillSizeProps, IconSizeProps, ItemFillProps, ShapeProps, ShapeStrengthProps, SizeProps, TextColorHoverProps, TextColorProps, TextSizeProps, TextWeightProps, TextWrapProps, TitleSizeProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
import { OverlayProps } from '../Overlay/Overlay.interface';
|
|
5
5
|
type ModalAppearanceProps = {
|
|
6
6
|
borderColor?: BorderColorProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault, FillProps, SizeProps, TextColorProps, TextSizeProps, WidthProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
export interface NotificationThemeColor {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
fill?: FillProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, MouseEventHandler, ReactNode } from 'react';
|
|
2
2
|
import { AppearanceOverlayKey, BlurProps, FillProps, OpacityProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
type OverlayAppearanceProps = {
|
|
5
5
|
blur?: BlurProps;
|
|
6
6
|
fill?: FillProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import { AlignmentProps, AppearanceKeysDefault, DirectionProps, ElevationProps, FillHoverProps, FillProps, IconFillSizeProps, ItemColorProps, ShapeProps, SizeProps, TextAlignProps, TextColorActiveProps, TextColorProps, TextSizeProps, TextWrapProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
export interface PaginationThemeColor {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
fill?: FillProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementType } from 'react';
|
|
2
2
|
import { AppearanceKeysDefault, BorderColorHoverProps, BorderColorProps, BorderWidthProps, FillProps, ItemColorProps, ShapeProps, TextColorProps, TextSizeProps, TextWeightProps } from '@itcase/types';
|
|
3
|
-
import { StyleAttributes } from '
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
export interface RadioThemeColor {
|
|
5
5
|
[key: number | string | symbol]: any;
|
|
6
6
|
descTextColor?: TextColorProps;
|