@itcase/ui 1.9.67 → 1.9.69

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.
@@ -1,16 +1,16 @@
1
- import { AppearanceKeysDefault, AppearanceSizeKey, AppearanceSizeOrEqualKey, AppearanceStyleKey, BorderColorProps, CompositeAppearanceDefaultSizeStyleKey, DirectionProps, FillActiveHoverProps, FillHoverProps, FillProps, ShapeProps, SizeProps, TextColorProps } from '@itcase/types-ui';
1
+ import { AppearanceKeysDefault, AppearanceSizeKey, AppearanceSizeOrEqualKey, AppearanceStyleKey, BorderColorActiveProps, BorderColorProps, CompositeAppearanceDefaultSizeStyleKey, DirectionProps, FillActiveHoverProps, FillActiveProps, FillHoverProps, FillProps, ShapeProps, SizeProps, TextColorProps } from '@itcase/types-ui';
2
2
  import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
3
3
  import { IconProps } from '../Icon/Icon.interface';
4
4
  import { LabelProps } from '../Label/Label.interface';
5
5
  import { TextProps } from '../Text/Text.interface';
6
6
  type CellAppearanceProps = {
7
7
  borderColor?: BorderColorProps;
8
- borderColorActive?: BorderColorProps;
8
+ borderColorActive?: BorderColorActiveProps;
9
9
  borderColorActiveHover?: BorderColorProps;
10
10
  borderColorHover?: BorderColorProps;
11
11
  direction?: DirectionProps;
12
12
  fill?: FillProps;
13
- fillActive?: FillProps;
13
+ fillActive?: FillActiveProps;
14
14
  fillActiveHover?: FillActiveHoverProps;
15
15
  fillHover?: FillHoverProps;
16
16
  labelTextColor?: TextProps['textColor'];
@@ -1,9 +1,9 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
- import { AlignProps, AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceKey, DirectionProps, FillActiveHoverProps, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, SizeProps, TextColorProps, WrapProps } from '@itcase/types-ui';
2
+ import { AlignProps, AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceKey, DirectionProps, FillActiveHoverProps, FillActiveProps, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, SizeProps, TextColorProps, WrapProps } from '@itcase/types-ui';
3
+ import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
3
4
  import { BadgeProps } from '../Badge/Badge.interface';
4
5
  import { IconProps } from '../Icon/Icon.interface';
5
6
  import { TextProps } from '../Text/Text.interface';
6
- import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
7
7
  type ChipsAppearanceProps = {
8
8
  align?: AlignProps;
9
9
  alignDirection?: DirectionProps;
@@ -22,7 +22,7 @@ type ChipsAppearanceProps = {
22
22
  borderTypeMobile?: BorderTypeProps;
23
23
  borderTypeTablet?: BorderTypeProps;
24
24
  fill?: FillProps;
25
- fillActive?: FillProps;
25
+ fillActive?: FillActiveProps;
26
26
  fillActiveHover?: FillActiveHoverProps;
27
27
  fillHover?: FillHoverProps;
28
28
  iconAfter?: IconProps['SvgImage'];
@@ -6,7 +6,7 @@ declare const Group: React.ForwardRefExoticComponent<{
6
6
  alignDirection?: import("@itcase/types-ui").DirectionProps;
7
7
  border?: import("@itcase/types-ui").BorderColorProps;
8
8
  borderColor?: import("@itcase/types-ui").BorderColorProps;
9
- borderColorActive?: import("@itcase/types-ui").BorderColorProps;
9
+ borderColorActive?: import("@itcase/types-ui").BorderColorActiveProps;
10
10
  borderColorActiveHover?: import("@itcase/types-ui").BorderColorProps;
11
11
  borderColorHover?: import("@itcase/types-ui").BorderColorProps;
12
12
  borderType?: import("@itcase/types-ui").BorderTypeProps;
@@ -15,7 +15,7 @@ declare const Group: React.ForwardRefExoticComponent<{
15
15
  direction?: import("@itcase/types-ui").DirectionProps;
16
16
  elevation?: import("@itcase/types-ui").ElevationProps;
17
17
  fill?: import("@itcase/types-ui").FillProps;
18
- fillActive?: import("@itcase/types-ui").FillProps;
18
+ fillActive?: import("@itcase/types-ui").FillActiveProps;
19
19
  fillActiveHover?: import("@itcase/types-ui").FillActiveHoverProps;
20
20
  fillDisabled?: import("@itcase/types-ui").FillProps;
21
21
  fillHover?: import("@itcase/types-ui").FillHoverProps;
@@ -1,15 +1,15 @@
1
1
  import { CSSProperties, ElementType, MouseEventHandler, ReactNode } from 'react';
2
- import { AlignProps, AppearanceKeysDefault, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceDefaultKey, DirectionProps, ElevationProps, FillActiveHoverProps, FillHoverProps, FillProps, HeightProps, JustifyContentProps, ShapeProps, ShapeStrengthProps, StackingProps, WidthProps, WrapProps } from '@itcase/types-ui';
2
+ import { AlignProps, AppearanceKeysDefault, BorderColorProps, BorderColorActiveProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceDefaultKey, DirectionProps, ElevationProps, FillActiveHoverProps, FillActiveProps, FillHoverProps, FillProps, HeightProps, JustifyContentProps, ShapeProps, ShapeStrengthProps, StackingProps, WidthProps, WrapProps } from '@itcase/types-ui';
3
+ import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
3
4
  import { IconProps } from '../Icon/Icon.interface';
4
5
  import { LabelProps } from '../Label/Label.interface';
5
6
  import { TextProps } from '../Text/Text.interface';
6
- import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
7
7
  type GroupAppearanceProps = {
8
8
  align?: AlignProps;
9
9
  alignDirection?: DirectionProps;
10
10
  border?: BorderColorProps;
11
11
  borderColor?: BorderColorProps;
12
- borderColorActive?: BorderColorProps;
12
+ borderColorActive?: BorderColorActiveProps;
13
13
  borderColorActiveHover?: BorderColorProps;
14
14
  borderColorHover?: BorderColorProps;
15
15
  borderType?: BorderTypeProps;
@@ -18,7 +18,7 @@ type GroupAppearanceProps = {
18
18
  direction?: DirectionProps;
19
19
  elevation?: ElevationProps;
20
20
  fill?: FillProps;
21
- fillActive?: FillProps;
21
+ fillActive?: FillActiveProps;
22
22
  fillActiveHover?: FillActiveHoverProps;
23
23
  fillDisabled?: FillProps;
24
24
  fillHover?: FillHoverProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.9.67",
3
+ "version": "1.9.69",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -23,6 +23,7 @@
23
23
  "dist/types/context/*.d.ts"
24
24
  ],
25
25
  "hooks/*": [
26
+ "dist/types/hooks/*/index.d.ts",
26
27
  "dist/types/hooks/*.d.ts"
27
28
  ],
28
29
  "types/*": [
@@ -49,6 +50,31 @@
49
50
  "import": "./dist/hoc/*.js",
50
51
  "require": "./dist/cjs/hoc/*.js"
51
52
  },
53
+ "./hooks/useActiveClasses": {
54
+ "types": "./dist/types/hooks/useActiveClasses/index.d.ts",
55
+ "import": "./dist/hooks/useActiveClasses.js",
56
+ "require": "./dist/cjs/hooks/useActiveClasses.js"
57
+ },
58
+ "./hooks/useAppearanceConfig": {
59
+ "types": "./dist/types/hooks/useAppearanceConfig/index.d.ts",
60
+ "import": "./dist/hooks/useAppearanceConfig.js",
61
+ "require": "./dist/cjs/hooks/useAppearanceConfig.js"
62
+ },
63
+ "./hooks/useDevicePropsGenerator": {
64
+ "types": "./dist/types/hooks/useDevicePropsGenerator/index.d.ts",
65
+ "import": "./dist/hooks/useDevicePropsGenerator.js",
66
+ "require": "./dist/cjs/hooks/useDevicePropsGenerator.js"
67
+ },
68
+ "./hooks/useMediaQueries": {
69
+ "types": "./dist/types/hooks/useMediaQueries/index.d.ts",
70
+ "import": "./dist/hooks/useMediaQueries.js",
71
+ "require": "./dist/cjs/hooks/useMediaQueries.js"
72
+ },
73
+ "./hooks/useStyles": {
74
+ "types": "./dist/types/hooks/useStyles/index.d.ts",
75
+ "import": "./dist/hooks/useStyles.js",
76
+ "require": "./dist/cjs/hooks/useStyles.js"
77
+ },
52
78
  "./hooks/*": {
53
79
  "types": "./dist/types/hooks/*.d.ts",
54
80
  "import": "./dist/hooks/*.js",
@@ -102,17 +128,17 @@
102
128
  "@emotion/is-prop-valid": "^1.4.0",
103
129
  "@itcase/common": "^1.2.41",
104
130
  "@itcase/icons": "^1.2.29",
105
- "@itcase/storybook-config": "^1.2.42",
131
+ "@itcase/storybook-config": "^1.2.46",
106
132
  "@itcase/tokens-am": "^1.1.45",
107
133
  "@itcase/tokens-baikal": "^1.1.41",
108
134
  "@itcase/tokens-palette": "^1.1.41",
109
135
  "clsx": "^2.1.1",
110
136
  "date-fns": "^4.1.0",
111
- "framer-motion": "^12.34.5",
137
+ "framer-motion": "^12.35.1",
112
138
  "js-cookie": "^3.0.5",
113
139
  "lodash": "^4.17.23",
114
140
  "luxon": "^3.7.2",
115
- "motion": "^12.34.5",
141
+ "motion": "^12.35.1",
116
142
  "rc-slider": "^11.1.9",
117
143
  "react": "^18.3.1",
118
144
  "react-dadata": "^2.27.4",
@@ -121,7 +147,7 @@
121
147
  "react-dropzone": "^15.0.0",
122
148
  "react-indiana-drag-scroll": "^3.0.3-alpha",
123
149
  "react-inlinesvg": "^4.2.0",
124
- "react-modal-sheet": "5.2.3",
150
+ "react-modal-sheet": "5.3.1",
125
151
  "react-modern-drawer": "^1.4.0",
126
152
  "react-otp-input": "^3.1.1",
127
153
  "react-paginate": "^8.3.0",
@@ -136,19 +162,19 @@
136
162
  "devDependencies": {
137
163
  "@babel/core": "^7.29.0",
138
164
  "@babel/preset-react": "^7.28.5",
139
- "@commitlint/cli": "^20.4.2",
140
- "@commitlint/config-conventional": "^20.4.2",
141
- "@itcase/config": "^1.6.51",
142
- "@itcase/lint": "^1.1.97",
165
+ "@commitlint/cli": "^20.4.3",
166
+ "@commitlint/config-conventional": "^20.4.3",
167
+ "@itcase/config": "^1.6.52",
168
+ "@itcase/lint": "^1.1.101",
143
169
  "@itcase/types-core": "^1.1.31",
144
- "@itcase/types-ui": "^1.1.33",
170
+ "@itcase/types-ui": "^1.1.37",
145
171
  "@rollup/plugin-alias": "^6.0.0",
146
- "@rollup/plugin-babel": "^6.1.0",
147
- "@rollup/plugin-commonjs": "^29.0.0",
172
+ "@rollup/plugin-babel": "^7.0.0",
173
+ "@rollup/plugin-commonjs": "^29.0.2",
148
174
  "@rollup/plugin-image": "^3.0.3",
149
175
  "@rollup/plugin-json": "^6.1.0",
150
176
  "@rollup/plugin-node-resolve": "^16.0.3",
151
- "@rollup/plugin-terser": "^0.4.4",
177
+ "@rollup/plugin-terser": "^1.0.0",
152
178
  "@rollup/plugin-typescript": "^12.3.0",
153
179
  "@semantic-release/changelog": "^6.0.3",
154
180
  "@semantic-release/git": "^10.0.1",
@@ -161,12 +187,12 @@
161
187
  "@types/react-dom": "^19.0.2",
162
188
  "@types/react-scroll": "^1.8.10",
163
189
  "@types/uuid": "^11.0.0",
164
- "babel-loader": "^10.0.0",
190
+ "babel-loader": "^10.1.0",
165
191
  "babel-plugin-inline-react-svg": "^2.0.2",
166
- "conventional-changelog-conventionalcommits": "^9.2.0",
192
+ "conventional-changelog-conventionalcommits": "^9.3.0",
167
193
  "eslint": "9",
168
194
  "husky": "^9.1.7",
169
- "lint-staged": "^16.3.1",
195
+ "lint-staged": "^16.3.2",
170
196
  "prettier": "^3.8.1",
171
197
  "rollup": "4.59.0",
172
198
  "rollup-plugin-copy": "^3.5.0",
@@ -174,7 +200,7 @@
174
200
  "rollup-plugin-peer-deps-external": "^2.2.4",
175
201
  "rollup-preserve-directives": "^1.1.3",
176
202
  "semantic-release": "^25.0.3",
177
- "storybook": "^10.2.14",
203
+ "storybook": "^10.2.16",
178
204
  "stylelint": "^17.4.0",
179
205
  "typescript": "^5.9.3"
180
206
  }