@itcase/ui 1.8.79 → 1.8.81

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.
@@ -63,7 +63,7 @@ function Dropdown(props) {
63
63
  var styles = useStyles.useStyles(props).styles;
64
64
  return (jsxRuntime.jsxs("div", { className: clsx(className, 'dropdown', alignmentClass && "alignment_".concat(alignmentClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), elevationClass && "elevation_".concat(elevationClass), isOpen ? 'dropdown_state_open' : 'dropdown_state_close', animationState.className), ref: dropdownRef, style: styles, children: [before, (children || dropdownList) && (jsxRuntime.jsxs("div", { className: clsx('dropdown__wrapper', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass)),
65
65
  // Add "onAnimationEnd" only for wrapper for ignore dropdown button
66
- onAnimationEnd: onAnimationEnd, children: [dropdownList === null || dropdownList === void 0 ? void 0 : dropdownList.map(function (item) { return (jsxRuntime.jsx(DropdownItem, { appearance: appearance, label: item.label, badgeValue: item.badgeValue, emptyMessage: item.emptyMessage, iconAfter: item.iconAfter, iconBefore: item.iconBefore, iconSrc: item.icon, isActive: item.isActive, isSkeleton: isSkeleton, onClick: item.onClick || onClickItem }, item.key)); }), children] })), after] }));
66
+ onAnimationEnd: onAnimationEnd, children: [dropdownList === null || dropdownList === void 0 ? void 0 : dropdownList.map(function (item) { return (jsxRuntime.jsx(DropdownItem, { appearance: appearance, label: item.label, badgeValue: item.badgeValue, emptyMessage: item.emptyMessage, iconAfter: item.iconAfter, iconBefore: item.iconBefore, iconSrc: item.icon, isActive: item.isActive, isSkeleton: isSkeleton, onClick: item.onClick || (function (event) { return onClickItem === null || onClickItem === void 0 ? void 0 : onClickItem(item, event); }) }, item.key)); }), children] })), after] }));
67
67
  }
68
68
 
69
69
  var dropdownAppearanceAccent = {
@@ -61,7 +61,7 @@ function Dropdown(props) {
61
61
  var styles = useStyles(props).styles;
62
62
  return (jsxs("div", { className: clsx(className, 'dropdown', alignmentClass && "alignment_".concat(alignmentClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), elevationClass && "elevation_".concat(elevationClass), isOpen ? 'dropdown_state_open' : 'dropdown_state_close', animationState.className), ref: dropdownRef, style: styles, children: [before, (children || dropdownList) && (jsxs("div", { className: clsx('dropdown__wrapper', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass)),
63
63
  // Add "onAnimationEnd" only for wrapper for ignore dropdown button
64
- onAnimationEnd: onAnimationEnd, children: [dropdownList === null || dropdownList === void 0 ? void 0 : dropdownList.map(function (item) { return (jsx(DropdownItem, { appearance: appearance, label: item.label, badgeValue: item.badgeValue, emptyMessage: item.emptyMessage, iconAfter: item.iconAfter, iconBefore: item.iconBefore, iconSrc: item.icon, isActive: item.isActive, isSkeleton: isSkeleton, onClick: item.onClick || onClickItem }, item.key)); }), children] })), after] }));
64
+ onAnimationEnd: onAnimationEnd, children: [dropdownList === null || dropdownList === void 0 ? void 0 : dropdownList.map(function (item) { return (jsx(DropdownItem, { appearance: appearance, label: item.label, badgeValue: item.badgeValue, emptyMessage: item.emptyMessage, iconAfter: item.iconAfter, iconBefore: item.iconBefore, iconSrc: item.icon, isActive: item.isActive, isSkeleton: isSkeleton, onClick: item.onClick || (function (event) { return onClickItem === null || onClickItem === void 0 ? void 0 : onClickItem(item, event); }) }, item.key)); }), children] })), after] }));
65
65
  }
66
66
 
67
67
  var dropdownAppearanceAccent = {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var DropdownItem = require('../../DropdownItem_cjs_Blo36yaf.js');
3
+ var DropdownItem = require('../../DropdownItem_cjs_HeDIPuKd.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -8,7 +8,7 @@ var ReactPaginate = require('react-paginate');
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 DropdownItem = require('../../DropdownItem_cjs_Blo36yaf.js');
11
+ var DropdownItem = require('../../DropdownItem_cjs_HeDIPuKd.js');
12
12
  var Icon = require('../../Icon_cjs_Zv-F7ZYW.js');
13
13
  var Text = require('../../Text_cjs_B8nNXWBA.js');
14
14
  var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
@@ -1,4 +1,4 @@
1
- export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../DropdownItem_es_D6ATE1Qa.js';
1
+ export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../DropdownItem_es_C7P-fBm9.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'clsx';
@@ -6,7 +6,7 @@ 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 '../DropdownItem_es_D6ATE1Qa.js';
9
+ import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_C7P-fBm9.js';
10
10
  import { I as Icon } from '../Icon_es_U8q1esww.js';
11
11
  import { T as Text } from '../Text_es_BvmOR4nv.js';
12
12
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable order/order */
2
+
1
3
  .text {
2
4
  &-weight {
3
5
  @each $val in 100, 200, 300, 400, 500, 600, 700, 800, 900, 950 {
@@ -9,7 +11,9 @@
9
11
  font-weight: 100;
10
12
  }
11
13
  &_extra-light,
12
- &_ultra-light {
14
+ &_extralight,
15
+ &_ultra-light,
16
+ &_ultralight {
13
17
  font-weight: 200;
14
18
  }
15
19
  &_light {
@@ -21,6 +25,7 @@
21
25
  &_medium {
22
26
  font-weight: 500;
23
27
  }
28
+ &_semibold,
24
29
  &_semi-bold,
25
30
  &_demi-bold {
26
31
  font-weight: 600;
@@ -28,7 +33,9 @@
28
33
  &_bold {
29
34
  font-weight: 700;
30
35
  }
36
+ &_extrabold,
31
37
  &_extra-bold,
38
+ &_ultrabold,
32
39
  &_ultra-bold {
33
40
  font-weight: 800;
34
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.8.79",
3
+ "version": "1.8.81",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -107,7 +107,6 @@
107
107
  "@itcase/tokens-am": "^1.1.19",
108
108
  "@itcase/tokens-baikal": "^1.1.17",
109
109
  "@itcase/tokens-palette": "^1.1.11",
110
- "@storybook/addon-vitest": "^9.0.18",
111
110
  "clsx": "^2.1.1",
112
111
  "date-fns": "^4.1.0",
113
112
  "eslint-import-resolver-alias": "^1.1.2",
@@ -180,8 +179,8 @@
180
179
  "rollup-plugin-peer-deps-external": "^2.2.4",
181
180
  "rollup-preserve-directives": "^1.1.3",
182
181
  "semantic-release": "^24.2.7",
183
- "storybook": "^9.0.18",
182
+ "storybook": "^9.1.0",
184
183
  "stylelint": "^16.23.0",
185
- "typescript": "^5.8.3"
184
+ "typescript": "^5.9.2"
186
185
  }
187
186
  }