@itcase/ui 1.8.116 → 1.8.117
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/{Avatar_cjs_CQhA8iu9.js → Avatar_cjs_BqJtyGqb.js} +1 -1
- package/dist/{Avatar_es__NA_FQGM.js → Avatar_es_7WTlfUFM.js} +1 -1
- package/dist/{Button_cjs_B2eZhvoC.js → Button_cjs_oO7g75FT.js} +1 -1
- package/dist/{Button_es_C8qinRU4.js → Button_es_CymyESs0.js} +1 -1
- package/dist/{ChipsGroup_cjs_ChJ71i_A.js → ChipsGroup_cjs_C3KJn3MF.js} +1 -1
- package/dist/{ChipsGroup_es_Dj0Lu5zm.js → ChipsGroup_es_BdIFBKkG.js} +1 -1
- package/dist/{DatePicker_cjs_CpN9wFK4.js → DatePicker_cjs_DsFAHbZ4.js} +3 -3
- package/dist/{DatePicker_es_B6WjNDiN.js → DatePicker_es_CvtwPWL_.js} +3 -3
- package/dist/{DropdownItem_cjs_DUIefLij.js → DropdownItem_cjs_f1GO8Bg4.js} +1 -1
- package/dist/{DropdownItem_es_uFi08Joi.js → DropdownItem_es_Cc7Ebhgl.js} +1 -1
- package/dist/{Icon_cjs_D-UNVTqI.js → Icon_cjs_C9zGWlVp.js} +13 -13
- package/dist/{Icon_es_Cstv1LFr.js → Icon_es_DHLepoKo.js} +13 -13
- package/dist/{Label_cjs_BvS_ANE3.js → Label_cjs_O2PnxmeQ.js} +6 -6
- package/dist/{Label_es_C4Icioi8.js → Label_es_47i4dTW3.js} +6 -6
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/AvatarStack.js +2 -2
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +2 -2
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +2 -2
- package/dist/cjs/components/DatePeriod.js +5 -5
- package/dist/cjs/components/DatePicker.js +4 -4
- package/dist/cjs/components/Drawer.js +1 -1
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/MenuItem.js +1 -1
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/ModalSheetBottom.js +1 -1
- package/dist/cjs/components/Notification.js +1 -1
- package/dist/cjs/components/Pagination.js +7 -5
- package/dist/cjs/components/Response.js +2 -2
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Segmented.js +1 -1
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tab.js +1 -1
- package/dist/cjs/components/Tile.js +5 -9
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/cjs/components/Warning.js +1 -1
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Avatar.js +2 -2
- package/dist/components/AvatarStack.js +2 -2
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Cell.js +2 -2
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice.js +1 -1
- package/dist/components/CookiesWarning.js +2 -2
- package/dist/components/DatePeriod.js +5 -5
- package/dist/components/DatePicker.js +4 -4
- package/dist/components/Drawer.js +1 -1
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/MenuItem.js +1 -1
- package/dist/components/Modal.js +1 -1
- package/dist/components/ModalSheetBottom.js +1 -1
- package/dist/components/Notification.js +1 -1
- package/dist/components/Pagination.js +7 -5
- package/dist/components/Response.js +2 -2
- package/dist/components/Search.js +1 -1
- package/dist/components/Segmented.js +1 -1
- package/dist/components/Select.js +1 -1
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tab.js +1 -1
- package/dist/components/Tile.js +5 -9
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/Warning.js +1 -1
- package/dist/css/components/Tooltip/Tooltip.css +0 -8
- package/dist/types/components/Icon/Icon.appearance.d.ts +7 -7
- package/dist/types/components/Icon/Icon.interface.d.ts +8 -8
- package/dist/types/components/Input/Input.appearance.d.ts +163 -2
- package/dist/types/components/Label/Label.appearance.d.ts +2262 -259
- package/dist/types/components/Label/Label.interface.d.ts +54 -45
- package/dist/types/components/Label/appearance/labelAccent.d.ts +2 -20
- package/dist/types/components/Label/appearance/labelDanger.d.ts +2 -16
- package/dist/types/components/Label/appearance/labelDisabled.d.ts +2 -16
- package/dist/types/components/Label/appearance/labelError.d.ts +2 -16
- package/dist/types/components/Label/appearance/labelGradient.d.ts +2 -9
- package/dist/types/components/Label/appearance/labelInfo.d.ts +2 -23
- package/dist/types/components/Label/appearance/labelPrimary.d.ts +2 -16
- package/dist/types/components/Label/appearance/labelSecondary.d.ts +2 -16
- package/dist/types/components/Label/appearance/labelShape.d.ts +2 -24
- package/dist/types/components/Label/appearance/labelSize.d.ts +2 -58
- package/dist/types/components/Label/appearance/labelStyle.d.ts +2 -13
- package/dist/types/components/Label/appearance/labelSuccess.d.ts +2 -16
- package/dist/types/components/Label/appearance/labelSurface.d.ts +2 -28
- package/dist/types/components/Label/appearance/labelWarning.d.ts +2 -16
- package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +2 -0
- package/dist/types/components/Tooltip/Tooltip.appearance.d.ts +914 -2
- package/dist/types/components/Tooltip/Tooltip.d.ts +43 -2
- package/dist/types/components/Tooltip/Tooltip.interface.d.ts +42 -32
- package/dist/types/components/Tooltip/appearance/tooltipDefault.d.ts +2 -9
- package/dist/types/components/Tooltip/appearance/tooltipDisabled.d.ts +2 -8
- package/dist/types/components/Tooltip/appearance/tooltipError.d.ts +2 -9
- package/dist/types/components/Tooltip/appearance/tooltipRequire.d.ts +2 -9
- package/dist/types/components/Tooltip/appearance/tooltipSize.d.ts +2 -17
- package/dist/types/components/Tooltip/appearance/tooltipStyle.d.ts +2 -13
- package/dist/types/components/Tooltip/appearance/tooltipSuccess.d.ts +2 -9
- package/package.json +4 -4
package/dist/components/Modal.js
CHANGED
|
@@ -5,7 +5,7 @@ import ReactDOM from 'react-dom';
|
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { b as Title, I as Icon } from '../
|
|
8
|
+
import { b as Title, I as Icon } from '../Icon_es_DHLepoKo.js';
|
|
9
9
|
import { O as Overlay } from '../Overlay_es_DF3DAdxS.js';
|
|
10
10
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
11
11
|
import { icons24, icons32, icons40 } from '@itcase/icons/default';
|
|
@@ -6,7 +6,7 @@ import { Sheet } from 'react-modal-sheet';
|
|
|
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 Title } from '../
|
|
9
|
+
import { b as Title } from '../Icon_es_DHLepoKo.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
11
11
|
import 'lodash/castArray';
|
|
12
12
|
import 'lodash/upperFirst';
|
|
@@ -3,7 +3,7 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { I as Icon } from '../
|
|
6
|
+
import { I as Icon } from '../Icon_es_DHLepoKo.js';
|
|
7
7
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import { icons20 } from '@itcase/icons/default';
|
|
@@ -6,8 +6,8 @@ import ReactPaginate from 'react-paginate';
|
|
|
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 { D as Dropdown, a as DropdownItem } from '../
|
|
10
|
-
import { I as Icon } from '../
|
|
9
|
+
import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_Cc7Ebhgl.js';
|
|
10
|
+
import { I as Icon } from '../Icon_es_DHLepoKo.js';
|
|
11
11
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
12
12
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
13
13
|
import { icons14, icons24, icons16 } from '@itcase/icons/default';
|
|
@@ -166,7 +166,9 @@ var paginationAppearanceStyle = {
|
|
|
166
166
|
var paginationAppearanceSurface = {
|
|
167
167
|
surfacePrimary: {
|
|
168
168
|
fill: 'surfacePrimary',
|
|
169
|
+
fillHover: 'surfaceTertiary',
|
|
169
170
|
fillActive: 'surfaceTertiary',
|
|
171
|
+
fillActiveHover: 'surfaceTertiary',
|
|
170
172
|
fillInput: 'surfacePrimary',
|
|
171
173
|
textColor: 'surfaceTextPrimary',
|
|
172
174
|
builderIconFillIcon: 'surfaceItemPrimary',
|
|
@@ -260,15 +262,15 @@ function Pagination(props) {
|
|
|
260
262
|
}, [pageNumber]);
|
|
261
263
|
var appearanceConfig = useAppearanceConfig(appearance, paginationConfig, isDisabled);
|
|
262
264
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
263
|
-
var justifyContentClass = propsGenerator.justifyContentClass, fillActiveClass = propsGenerator.fillActiveClass
|
|
265
|
+
var justifyContentClass = propsGenerator.justifyContentClass, fillActiveClass = propsGenerator.fillActiveClass; propsGenerator.fillActiveHoverClass; var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, fillInputClass = propsGenerator.fillInputClass, fillInputHoverClass = propsGenerator.fillInputHoverClass, textColorClass = propsGenerator.textColorClass, textSizeClass = propsGenerator.textSizeClass, builderIcon = propsGenerator.builderIcon, builderIconFill = propsGenerator.builderIconFill, builderIconFillIcon = propsGenerator.builderIconFillIcon, builderIconFillSize = propsGenerator.builderIconFillSize, builderIconSize = propsGenerator.builderIconSize, marginPagesDisplayed = propsGenerator.marginPagesDisplayed, nextIcon = propsGenerator.nextIcon, nextIconFill = propsGenerator.nextIconFill, nextIconFillIcon = propsGenerator.nextIconFillIcon, nextIconFillSize = propsGenerator.nextIconFillSize, nextIconSize = propsGenerator.nextIconSize, pageCountDescTextColor = propsGenerator.pageCountDescTextColor, pageCountDescTextSize = propsGenerator.pageCountDescTextSize, pageCountDropdownAlignment = propsGenerator.pageCountDropdownAlignment, pageCountDropdownElevation = propsGenerator.pageCountDropdownElevation, pageCountDropdownFill = propsGenerator.pageCountDropdownFill, pageCountDropdownItemDividerFill = propsGenerator.pageCountDropdownItemDividerFill, pageCountDropdownItemDividerSize = propsGenerator.pageCountDropdownItemDividerSize, pageCountDropdownItemFill = propsGenerator.pageCountDropdownItemFill, pageCountDropdownItemFillActive = propsGenerator.pageCountDropdownItemFillActive, pageCountDropdownItemFillActiveHover = propsGenerator.pageCountDropdownItemFillActiveHover, pageCountDropdownItemFillHover = propsGenerator.pageCountDropdownItemFillHover, pageCountDropdownItemLabelAlign = propsGenerator.pageCountDropdownItemLabelAlign, pageCountDropdownItemLabelColor = propsGenerator.pageCountDropdownItemLabelColor, pageCountDropdownItemLabelColorActive = propsGenerator.pageCountDropdownItemLabelColorActive, pageCountDropdownItemLabelColorActiveHover = propsGenerator.pageCountDropdownItemLabelColorActiveHover, pageCountDropdownItemLabelColorHover = propsGenerator.pageCountDropdownItemLabelColorHover, pageCountDropdownItemLabelSize = propsGenerator.pageCountDropdownItemLabelSize, pageCountDropdownItemLabelWrap = propsGenerator.pageCountDropdownItemLabelWrap, pageCountDropdownItemShowDivider = propsGenerator.pageCountDropdownItemShowDivider, pageCountDropdownItemSize = propsGenerator.pageCountDropdownItemSize, pageCountDropdownItemWidth = propsGenerator.pageCountDropdownItemWidth, pageCountDropdownShape = propsGenerator.pageCountDropdownShape, pageCountInputIcon = propsGenerator.pageCountInputIcon, pageCountInputIconColor = propsGenerator.pageCountInputIconColor, pageCountInputIconFillSize = propsGenerator.pageCountInputIconFillSize, pageCountInputIconSrc = propsGenerator.pageCountInputIconSrc, pageCountInputTextColor = propsGenerator.pageCountInputTextColor, pageCountInputTextSize = propsGenerator.pageCountInputTextSize, pageRangeDisplayed = propsGenerator.pageRangeDisplayed, previousIcon = propsGenerator.previousIcon, previousIconFill = propsGenerator.previousIconFill, previousIconFillIcon = propsGenerator.previousIconFillIcon, previousIconFillSize = propsGenerator.previousIconFillSize, previousIconSize = propsGenerator.previousIconSize, sizeClass = propsGenerator.sizeClass;
|
|
264
266
|
var paginationStyles = useStyles(props).styles;
|
|
265
|
-
return (jsxs("div", { className: clsx('pagination', sizeClass && "pagination_size_".concat(sizeClass), isSkeleton && "pagination_skeleton"),
|
|
267
|
+
return (jsxs("div", { className: clsx('pagination', sizeClass && "pagination_size_".concat(sizeClass), isSkeleton && "pagination_skeleton"), "data-test-id": dataTestId, "data-tour": dataTour, style: paginationStyles, children: [jsx(ReactPaginate, { disabledClassName: "pagination__item_state_disabled cursor_type_default", disabledLinkClassName: "pagination__item_state_disabled", activeClassName: clsx('pagination__item_state_active cursor_type_default', fillActiveClass && "fill_active_".concat(fillActiveClass), fillHoverClass && "fill_hover_".concat(fillHoverClass)), activeLinkClassName: "pagination__item-link_state_active", breakClassName: "pagination__item pagination__item_break", breakLabel: "...", breakLinkClassName: "pagination__item-link", containerClassName: clsx(className, 'pagination__container', justifyContentClass &&
|
|
266
268
|
"pagination_justify-content_".concat(justifyContentClass)),
|
|
267
269
|
// pages settings
|
|
268
270
|
forcePage: paginationPageIndex, marginPagesDisplayed: marginPagesDisplayed, nextClassName: clsx('pagination__item pagination__item_next', sizeClass && "pagination__item_size_".concat(sizeClass), fillClass && "fill_".concat(fillClass)),
|
|
269
271
|
// next button
|
|
270
272
|
nextLabel: jsx(Icon, { fill: nextIconFill, fillSize: nextIconFillSize, iconFill: nextIconFillIcon, iconSize: nextIconSize, shape: "circular", SvgImage: nextIcon }), nextLinkClassName: "pagination__item-link", pageClassName: clsx('pagination__item', sizeClass && "pagination__item_size_".concat(sizeClass), fillClass && "fill_".concat(fillClass)), pageCount: paginationPagesCount, pageLabelBuilder: isPageLabelBuilder &&
|
|
271
|
-
(function () { return (jsx(Icon, { fill: builderIconFill, fillSize: builderIconFillSize, iconFill: builderIconFillIcon, iconSize: builderIconSize, shape: "circular", SvgImage: builderIcon })); }), pageLinkClassName: clsx('pagination__item-link', textSizeClass && "pagination__item-link_size_".concat(textSizeClass), textColorClass && 'text', textColorClass && "text-color_".concat(textColorClass)), pageRangeDisplayed: pageRangeDisplayed, previousClassName: clsx('pagination__item pagination__item_previous', sizeClass && "pagination__item_size_".concat(sizeClass), fillClass && "fill_".concat(fillClass)), previousLabel: jsx(Icon, { fill: previousIconFill, fillSize: previousIconFillSize, iconFill: previousIconFillIcon, iconSize: previousIconSize, shape: "circular", SvgImage: previousIcon }), previousLinkClassName: "pagination__item-link", onPageChange: _onChangePage }), isPageCount && (jsxs("div", { className: clsx(className, 'pagination__count'), children: [jsx(Text, { className: "pagination__count-text", size: pageCountDescTextSize, textColor: pageCountDescTextColor, children: pageCountDesc }), jsxs("div", { className: clsx('pagination__input', 'cursor_type_pointer', fillClass && "fill_".concat(fillInputClass), fillHoverClass && "fill_hover_".concat(fillInputHoverClass)), onClick: onClickCommandMenuButton, children: [jsx(Text, { size: pageCountInputTextSize, textColor: pageCountInputTextColor, children: activeDropdownItem }), jsx(Icon, { fillSize: pageCountInputIconFillSize, iconFill: pageCountInputIconColor, imageSrc: pageCountInputIconSrc, SvgImage: pageCountInputIcon }), jsx(Dropdown, { className: "pagination__dropdown", alignment: pageCountDropdownAlignment, fill: pageCountDropdownFill, elevation: pageCountDropdownElevation, shape: pageCountDropdownShape, isOpen: isOpenDropdown,
|
|
273
|
+
(function () { return (jsx(Icon, { fill: builderIconFill, fillSize: builderIconFillSize, iconFill: builderIconFillIcon, iconSize: builderIconSize, shape: "circular", SvgImage: builderIcon })); }), pageLinkClassName: clsx('pagination__item-link', textSizeClass && "pagination__item-link_size_".concat(textSizeClass), textColorClass && 'text', textColorClass && "text-color_".concat(textColorClass)), pageRangeDisplayed: pageRangeDisplayed, previousClassName: clsx('pagination__item pagination__item_previous', sizeClass && "pagination__item_size_".concat(sizeClass), fillClass && "fill_".concat(fillClass)), previousLabel: jsx(Icon, { fill: previousIconFill, fillSize: previousIconFillSize, iconFill: previousIconFillIcon, iconSize: previousIconSize, shape: "circular", SvgImage: previousIcon }), previousLinkClassName: "pagination__item-link", onPageChange: _onChangePage }), isPageCount && (jsxs("div", { className: clsx(className, 'pagination__count'), children: [jsx(Text, { className: "pagination__count-text", size: pageCountDescTextSize, textColor: pageCountDescTextColor, children: pageCountDesc }), jsxs("div", { className: clsx('pagination__input', 'cursor_type_pointer', fillClass && "fill_".concat(fillInputClass), fillHoverClass && "fill_hover_".concat(fillInputHoverClass)), onClick: onClickCommandMenuButton, children: [jsx(Text, { size: pageCountInputTextSize, textColor: pageCountInputTextColor, children: activeDropdownItem }), jsx(Icon, { fillSize: pageCountInputIconFillSize, iconFill: pageCountInputIconColor, imageSrc: pageCountInputIconSrc, SvgImage: pageCountInputIcon }), jsx(Dropdown, { className: "pagination__dropdown", alignment: pageCountDropdownAlignment, fill: pageCountDropdownFill, elevation: pageCountDropdownElevation, setIsOpen: setIsOpenDropdown, shape: pageCountDropdownShape, isOpen: isOpenDropdown, children: pageCountDropdownArray.map(function (item, index) {
|
|
272
274
|
return activeDropdownItem === item ? (jsx(DropdownItem, { width: pageCountDropdownItemWidth, size: pageCountDropdownItemSize, fill: pageCountDropdownItemFill, fillActive: pageCountDropdownItemFillActive, fillActiveHover: pageCountDropdownItemFillActiveHover, fillHover: pageCountDropdownItemFillHover, label: item.toString(), labelTextAlign: pageCountDropdownItemLabelAlign, labelTextColor: pageCountDropdownItemLabelColor, labelTextColorActive: pageCountDropdownItemLabelColorActive, labelTextColorActiveHover: pageCountDropdownItemLabelColorActiveHover, labelTextColorHover: pageCountDropdownItemLabelColorHover, labelTextSize: pageCountDropdownItemLabelSize, labelTextWrap: pageCountDropdownItemLabelWrap, dividerDirection: pageCountDropdownItemDividerDirection, dividerFill: pageCountDropdownItemDividerFill, dividerSize: pageCountDropdownItemDividerSize, showDivider: index < pageCountArray.length - 1 &&
|
|
273
275
|
pageCountDropdownItemShowDivider, isActive: true, onClick: function (event) { return handleDropdownItemClick(event, item); } }, item)) : (jsx(DropdownItem, { width: pageCountDropdownItemWidth, size: pageCountDropdownItemSize, fill: pageCountDropdownItemFill, fillHover: pageCountDropdownItemFillHover, label: item.toString(), labelTextAlign: pageCountDropdownItemLabelAlign, labelTextColor: pageCountDropdownItemLabelColor, labelTextColorHover: pageCountDropdownItemLabelColorHover, labelTextSize: pageCountDropdownItemLabelSize, labelTextWrap: pageCountDropdownItemLabelWrap, dividerDirection: pageCountDropdownItemDividerDirection, dividerFill: pageCountDropdownItemDividerFill, dividerSize: pageCountDropdownItemDividerSize, showDivider: index < pageCountArray.length - 1 &&
|
|
274
276
|
pageCountDropdownItemShowDivider, isActive: false, onClick: function (event) { return handleDropdownItemClick(event, item); } }, item));
|
|
@@ -7,7 +7,7 @@ import { urlWithAssetPrefix } from '../hoc/urlWithAssetPrefix.js';
|
|
|
7
7
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
8
8
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
9
9
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
10
|
-
import { B as Button } from '../
|
|
10
|
+
import { B as Button } from '../Button_es_CymyESs0.js';
|
|
11
11
|
import { G as Group } from '../Group_es_DIfmrMSM.js';
|
|
12
12
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
13
13
|
import '@itcase/common';
|
|
@@ -24,7 +24,7 @@ import '../utils/setViewportProperty.js';
|
|
|
24
24
|
import '../hooks.js';
|
|
25
25
|
import '../hooks/useStyles/styleAttributes.js';
|
|
26
26
|
import 'lodash/maxBy';
|
|
27
|
-
import '../
|
|
27
|
+
import '../Icon_es_DHLepoKo.js';
|
|
28
28
|
import 'react-inlinesvg';
|
|
29
29
|
import '../Link_es_XiqbdwLp.js';
|
|
30
30
|
import '../Loader_es_ByhTIMxS.js';
|
|
@@ -6,7 +6,7 @@ import clsx from 'clsx';
|
|
|
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 { I as Icon } from '../
|
|
9
|
+
import { I as Icon } from '../Icon_es_DHLepoKo.js';
|
|
10
10
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
11
11
|
import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
|
|
12
12
|
import 'lodash/camelCase';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import React, { useRef, useMemo, createRef, useCallback, useEffect } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_DHLepoKo.js';
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import Select, { components } from 'react-select';
|
|
4
|
-
import { I as Icon, B as Badge } from '../
|
|
4
|
+
import { I as Icon, B as Badge } from '../Icon_es_DHLepoKo.js';
|
|
5
5
|
import React, { useRef, useEffect, useMemo } from 'react';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import CreatableSelect from 'react-select/creatable';
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { Swiper as Swiper$1, SwiperSlide } from 'swiper/react';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { b as Title } from '../
|
|
7
|
+
import { b as Title } from '../Icon_es_DHLepoKo.js';
|
|
8
8
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
package/dist/components/Tab.js
CHANGED
|
@@ -5,7 +5,7 @@ import { useActiveClasses } from '../hooks/useActiveClasses/useActiveClasses.js'
|
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { B as Badge, I as Icon } from '../
|
|
8
|
+
import { B as Badge, I as Icon } from '../Icon_es_DHLepoKo.js';
|
|
9
9
|
import { D as Divider } from '../Divider_es_CCLBFIx6.js';
|
|
10
10
|
import { L as Link } from '../Link_es_XiqbdwLp.js';
|
|
11
11
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
package/dist/components/Tile.js
CHANGED
|
@@ -3,7 +3,7 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { b as Title, B as Badge, I as Icon } from '../
|
|
6
|
+
import { b as Title, B as Badge, I as Icon } from '../Icon_es_DHLepoKo.js';
|
|
7
7
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'react';
|
|
@@ -118,37 +118,33 @@ var tileAppearanceStyle = {
|
|
|
118
118
|
var tileAppearanceSurface = {
|
|
119
119
|
surfacePrimary: {
|
|
120
120
|
fill: 'surfacePrimary',
|
|
121
|
-
fillHover: 'surfacePrimaryHover',
|
|
122
121
|
titleTextColor: 'surfaceTextPrimary',
|
|
123
122
|
descTextColor: 'surfaceTextPrimary',
|
|
124
|
-
borderColor: '
|
|
123
|
+
borderColor: 'surfaceBorderTertiary',
|
|
125
124
|
badgeAppearance: 'accentPrimary',
|
|
126
125
|
iconFillIcon: 'surfaceItemPrimary',
|
|
127
126
|
},
|
|
128
127
|
surfaceSecondary: {
|
|
129
128
|
fill: 'surfaceSecondary',
|
|
130
|
-
fillHover: 'surfaceSecondaryHover',
|
|
131
129
|
titleTextColor: 'surfaceTextPrimary',
|
|
132
130
|
descTextColor: 'surfaceTextPrimary',
|
|
133
|
-
borderColor: '
|
|
131
|
+
borderColor: 'surfaceBorderTertiary',
|
|
134
132
|
badgeAppearance: 'accentPrimary',
|
|
135
133
|
iconFillIcon: 'surfaceItemPrimary',
|
|
136
134
|
},
|
|
137
135
|
surfaceTertiary: {
|
|
138
136
|
fill: 'surfaceTertiary',
|
|
139
|
-
fillHover: 'surfaceTertiaryHover',
|
|
140
137
|
titleTextColor: 'surfaceTextPrimary',
|
|
141
138
|
descTextColor: 'surfaceTextPrimary',
|
|
142
|
-
borderColor: '
|
|
139
|
+
borderColor: 'surfaceBorderTertiary',
|
|
143
140
|
badgeAppearance: 'accentPrimary',
|
|
144
141
|
iconFillIcon: 'surfaceItemPrimary',
|
|
145
142
|
},
|
|
146
143
|
surfaceQuaternary: {
|
|
147
144
|
fill: 'surfaceQuaternary',
|
|
148
|
-
fillHover: 'surfaceQuaternaryHover',
|
|
149
145
|
titleTextColor: 'surfaceTextPrimary',
|
|
150
146
|
descTextColor: 'surfaceTextPrimary',
|
|
151
|
-
borderColor: '
|
|
147
|
+
borderColor: 'surfaceBorderTertiary',
|
|
152
148
|
badgeAppearance: 'accentPrimary',
|
|
153
149
|
iconFillIcon: 'surfaceItemPrimary',
|
|
154
150
|
},
|
package/dist/components/Title.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as Title, d as titleAppearance, c as titleConfig } from '../
|
|
1
|
+
export { b as Title, d as titleAppearance, c as titleConfig } from '../Icon_es_DHLepoKo.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../
|
|
1
|
+
export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Icon_es_DHLepoKo.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, Fragment } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_DHLepoKo.js';
|
|
5
5
|
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
@@ -19,13 +19,13 @@ export declare const iconAppearance: {
|
|
|
19
19
|
fillHover?: import("@itcase/types").FillHoverProps;
|
|
20
20
|
fillSize?: import("@itcase/types").FillSizeProps;
|
|
21
21
|
iconAppearance?: import("@itcase/types").CompositeAppearanceKey;
|
|
22
|
-
iconFill?: import("@itcase/types").
|
|
23
|
-
iconFillActive?: import("@itcase/types").
|
|
24
|
-
iconFillActiveHover?: import("@itcase/types").
|
|
25
|
-
iconFillDisabled?:
|
|
26
|
-
iconFillHover?: import("@itcase/types").
|
|
27
|
-
iconFillIcon?: import("@itcase/types").
|
|
28
|
-
iconFillSize?: import("@itcase/types").
|
|
22
|
+
iconFill?: import("@itcase/types").IconFillProps;
|
|
23
|
+
iconFillActive?: import("@itcase/types").IconFillActiveProps;
|
|
24
|
+
iconFillActiveHover?: import("@itcase/types").IconFillActiveHoverProps;
|
|
25
|
+
iconFillDisabled?: IconFillDisabledProps;
|
|
26
|
+
iconFillHover?: import("@itcase/types").IconFillHoverProps;
|
|
27
|
+
iconFillIcon?: import("@itcase/types").IconFillItemProps;
|
|
28
|
+
iconFillSize?: import("@itcase/types").IconFillSizeProps;
|
|
29
29
|
iconShape?: import("@itcase/types").ShapeProps;
|
|
30
30
|
iconSize?: import("@itcase/types").IconSizeProps;
|
|
31
31
|
shape?: import("@itcase/types").ShapeProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import { AlignmentProps, AlignProps, AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorHoverProps, BorderColorProps, BorderTypeProps, BorderWidthProps, CenteringProps, CompositeAppearanceKey, DirectionProps, FillActiveHoverProps, FillActiveProps, FillDisabledProps, FillHoverProps, FillProps, FillSizeProps,
|
|
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
3
|
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
type IconAppearanceProps = {
|
|
5
5
|
alignment?: AlignmentProps;
|
|
@@ -22,13 +22,13 @@ type IconAppearanceProps = {
|
|
|
22
22
|
fillHover?: FillHoverProps;
|
|
23
23
|
fillSize?: FillSizeProps;
|
|
24
24
|
iconAppearance?: CompositeAppearanceKey;
|
|
25
|
-
iconFill?:
|
|
26
|
-
iconFillActive?:
|
|
27
|
-
iconFillActiveHover?:
|
|
28
|
-
iconFillDisabled?:
|
|
29
|
-
iconFillHover?:
|
|
30
|
-
iconFillIcon?:
|
|
31
|
-
iconFillSize?:
|
|
25
|
+
iconFill?: IconFillProps;
|
|
26
|
+
iconFillActive?: IconFillActiveProps;
|
|
27
|
+
iconFillActiveHover?: IconFillActiveHoverProps;
|
|
28
|
+
iconFillDisabled?: IconFillDisabledProps;
|
|
29
|
+
iconFillHover?: IconFillHoverProps;
|
|
30
|
+
iconFillIcon?: IconFillItemProps;
|
|
31
|
+
iconFillSize?: IconFillSizeProps;
|
|
32
32
|
iconShape?: ShapeProps;
|
|
33
33
|
iconSize?: IconSizeProps;
|
|
34
34
|
shape?: ShapeProps;
|
|
@@ -1,2 +1,163 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const inputAppearance: {
|
|
2
|
+
solid: {
|
|
3
|
+
borderColor: string;
|
|
4
|
+
borderColorHover: string;
|
|
5
|
+
};
|
|
6
|
+
outlined: {
|
|
7
|
+
fill: string;
|
|
8
|
+
};
|
|
9
|
+
full: {};
|
|
10
|
+
ghost: {
|
|
11
|
+
fill: string;
|
|
12
|
+
borderColor: string;
|
|
13
|
+
borderColorHover: string;
|
|
14
|
+
};
|
|
15
|
+
sizeXXL: {
|
|
16
|
+
size: string;
|
|
17
|
+
textSize: string;
|
|
18
|
+
};
|
|
19
|
+
sizeXL: {
|
|
20
|
+
size: string;
|
|
21
|
+
textSize: string;
|
|
22
|
+
};
|
|
23
|
+
sizeL: {
|
|
24
|
+
size: string;
|
|
25
|
+
textSize: string;
|
|
26
|
+
};
|
|
27
|
+
sizeM: {
|
|
28
|
+
size: string;
|
|
29
|
+
textSize: string;
|
|
30
|
+
};
|
|
31
|
+
sizeS: {
|
|
32
|
+
size: string;
|
|
33
|
+
textSize: string;
|
|
34
|
+
};
|
|
35
|
+
sizeXS: {
|
|
36
|
+
size: string;
|
|
37
|
+
textSize: string;
|
|
38
|
+
};
|
|
39
|
+
sizeXXS: {
|
|
40
|
+
size: string;
|
|
41
|
+
textSize: string;
|
|
42
|
+
};
|
|
43
|
+
disabledPrimary: {
|
|
44
|
+
fill: string;
|
|
45
|
+
fillHover: string;
|
|
46
|
+
borderColor: string;
|
|
47
|
+
borderColorHover: string;
|
|
48
|
+
textColor: string;
|
|
49
|
+
iconBeforeFill: string;
|
|
50
|
+
iconClearFill: string;
|
|
51
|
+
placeholderTextColor: string;
|
|
52
|
+
};
|
|
53
|
+
disabledSecondary: {
|
|
54
|
+
fill: string;
|
|
55
|
+
borderColor: string;
|
|
56
|
+
borderColorHover: string;
|
|
57
|
+
iconBeforeFill: string;
|
|
58
|
+
iconClearFill: string;
|
|
59
|
+
placeholderTextColor: string;
|
|
60
|
+
};
|
|
61
|
+
requirePrimary: {
|
|
62
|
+
fill: string;
|
|
63
|
+
fillHover: string;
|
|
64
|
+
borderColor: string;
|
|
65
|
+
borderColorHover: string;
|
|
66
|
+
textColor: string;
|
|
67
|
+
caret: string;
|
|
68
|
+
iconBeforeFill: string;
|
|
69
|
+
iconClearFill: string;
|
|
70
|
+
placeholderTextColor: string;
|
|
71
|
+
};
|
|
72
|
+
requireSecondary: {
|
|
73
|
+
fill: string;
|
|
74
|
+
borderColor: string;
|
|
75
|
+
borderColorHover: string;
|
|
76
|
+
caret: string;
|
|
77
|
+
iconBeforeFill: string;
|
|
78
|
+
iconClearFill: string;
|
|
79
|
+
placeholderTextColor: string;
|
|
80
|
+
};
|
|
81
|
+
successPrimary: {
|
|
82
|
+
fill: string;
|
|
83
|
+
borderColor: string;
|
|
84
|
+
borderColorHover: string;
|
|
85
|
+
textColor: string;
|
|
86
|
+
caret: string;
|
|
87
|
+
iconBeforeFill: string;
|
|
88
|
+
iconClearFill: string;
|
|
89
|
+
placeholderTextColor: string;
|
|
90
|
+
};
|
|
91
|
+
successSecondary: {
|
|
92
|
+
fill: string;
|
|
93
|
+
borderColor: string;
|
|
94
|
+
borderColorHover: string;
|
|
95
|
+
caret: string;
|
|
96
|
+
iconBeforeFill: string;
|
|
97
|
+
iconClearFill: string;
|
|
98
|
+
placeholderTextColor: string;
|
|
99
|
+
};
|
|
100
|
+
circular: {
|
|
101
|
+
shape: string;
|
|
102
|
+
};
|
|
103
|
+
rounded: {
|
|
104
|
+
shape: string;
|
|
105
|
+
};
|
|
106
|
+
roundedXL: {
|
|
107
|
+
shape: string;
|
|
108
|
+
shapeStrength: string;
|
|
109
|
+
};
|
|
110
|
+
roundedL: {
|
|
111
|
+
shape: string;
|
|
112
|
+
shapeStrength: string;
|
|
113
|
+
};
|
|
114
|
+
roundedM: {
|
|
115
|
+
shape: string;
|
|
116
|
+
shapeStrength: string;
|
|
117
|
+
};
|
|
118
|
+
roundedS: {
|
|
119
|
+
shape: string;
|
|
120
|
+
shapeStrength: string;
|
|
121
|
+
};
|
|
122
|
+
errorPrimary: {
|
|
123
|
+
fill: string;
|
|
124
|
+
borderColor: string;
|
|
125
|
+
borderColorHover: string;
|
|
126
|
+
textColor: string;
|
|
127
|
+
caret: string;
|
|
128
|
+
iconBeforeFill: string;
|
|
129
|
+
iconClearFill: string;
|
|
130
|
+
placeholderTextColor: string;
|
|
131
|
+
};
|
|
132
|
+
errorSecondary: {
|
|
133
|
+
fill: string;
|
|
134
|
+
borderColor: string;
|
|
135
|
+
borderColorHover: string;
|
|
136
|
+
caret: string;
|
|
137
|
+
iconBeforeFill: string;
|
|
138
|
+
iconClearFill: string;
|
|
139
|
+
placeholderTextColor: string;
|
|
140
|
+
};
|
|
141
|
+
defaultPrimary: {
|
|
142
|
+
fill: string;
|
|
143
|
+
fillHover: string;
|
|
144
|
+
borderColor: string;
|
|
145
|
+
borderColorHover: string;
|
|
146
|
+
textColor: string;
|
|
147
|
+
caret: string;
|
|
148
|
+
iconBeforeFill: string;
|
|
149
|
+
iconClearFill: string;
|
|
150
|
+
placeholderTextColor: string;
|
|
151
|
+
};
|
|
152
|
+
defaultSecondary: {
|
|
153
|
+
fill: string;
|
|
154
|
+
fillHover: string;
|
|
155
|
+
borderColor: string;
|
|
156
|
+
borderColorHover: string;
|
|
157
|
+
textColor: string;
|
|
158
|
+
caret: string;
|
|
159
|
+
iconBeforeFill: string;
|
|
160
|
+
iconClearFill: string;
|
|
161
|
+
placeholderTextColor: string;
|
|
162
|
+
};
|
|
163
|
+
};
|