@itcase/ui 1.2.15 → 1.2.16

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.
@@ -51,7 +51,7 @@ function Pagination(props) {
51
51
  return onChangePerPageCount;
52
52
  }, [onChangePerPageCount, onPerPageCountChange]);
53
53
  var _g = React.useState(false), isOpenDropdown = _g[0], setIsOpenDropdown = _g[1];
54
- var _h = React.useState(10), activeDropdownItem = _h[0], setActiveDropdownItem = _h[1];
54
+ var _h = React.useState(perPageCount), activeDropdownItem = _h[0], setActiveDropdownItem = _h[1];
55
55
  var pageCountDropdownArray = React.useMemo(function () {
56
56
  return isPageCountDropdownReversed ? pageCountArray === null || pageCountArray === void 0 ? void 0 : pageCountArray.reverse() : pageCountArray;
57
57
  }, [isPageCountDropdownReversed, pageCountArray]);
@@ -49,7 +49,7 @@ function Pagination(props) {
49
49
  return onChangePerPageCount;
50
50
  }, [onChangePerPageCount, onPerPageCountChange]);
51
51
  var _g = useState(false), isOpenDropdown = _g[0], setIsOpenDropdown = _g[1];
52
- var _h = useState(10), activeDropdownItem = _h[0], setActiveDropdownItem = _h[1];
52
+ var _h = useState(perPageCount), activeDropdownItem = _h[0], setActiveDropdownItem = _h[1];
53
53
  var pageCountDropdownArray = useMemo(function () {
54
54
  return isPageCountDropdownReversed ? pageCountArray === null || pageCountArray === void 0 ? void 0 : pageCountArray.reverse() : pageCountArray;
55
55
  }, [isPageCountDropdownReversed, pageCountArray]);
@@ -1,6 +1,6 @@
1
1
  import { CSSProperties, ElementType, ReactNode } from 'react';
2
2
  import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { tAlignDirectionProps, tAlignProps, borderTypePropsType, elevationPropsType, flexGrowPropsType, tJustifyContentProps, stackingPropsType, tBorderColorProps, tDirectionProps, tFillHoverProps, tFillProps, tHeightProps, tShapeProps, tTextColorProps, tWidthProps, wrapPropsType } from '../../types';
3
+ import { borderTypePropsType, elevationPropsType, flexGrowPropsType, stackingPropsType, tAlignDirectionProps, tAlignProps, tBorderColorProps, tDirectionProps, tFillHoverProps, tFillProps, tHeightProps, tItemColorProps, tJustifyContentProps, tShapeProps, tTextColorProps, tWidthProps, wrapPropsType } from '../../types';
4
4
  import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
5
5
  interface ThemeColor {
6
6
  border?: string;
@@ -21,7 +21,6 @@ export interface IGroupConfig {
21
21
  }
22
22
  export interface IGroupProps extends iStyleAttributes {
23
23
  id?: number | string;
24
- name?: string;
25
24
  align?: tAlignProps;
26
25
  alignDirection?: tAlignDirectionProps;
27
26
  appearance?: appearanceKeysType;
@@ -39,7 +38,9 @@ export interface IGroupProps extends iStyleAttributes {
39
38
  height?: tHeightProps;
40
39
  horizontalScroll?: boolean;
41
40
  htmlFor?: string;
41
+ iconFillHover?: tItemColorProps;
42
42
  justifyContent?: tJustifyContentProps;
43
+ name?: string;
43
44
  shape?: tShapeProps;
44
45
  stacking?: stackingPropsType;
45
46
  style?: CSSProperties;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.2.15",
3
+ "version": "1.2.16",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -90,7 +90,7 @@
90
90
  "registry": "https://registry.npmjs.org/"
91
91
  },
92
92
  "dependencies": {
93
- "@itcase/common": "^1.2.11",
93
+ "@itcase/common": "^1.2.13",
94
94
  "clsx": "^2.1.1",
95
95
  "html5-boilerplate": "^9.0.1",
96
96
  "js-cookie": "^3.0.5",
@@ -116,11 +116,11 @@
116
116
  "uuid": "^10.0.0"
117
117
  },
118
118
  "devDependencies": {
119
- "@babel/core": "^7.25.2",
120
- "@babel/eslint-parser": "^7.25.1",
121
- "@babel/eslint-plugin": "^7.25.1",
122
- "@babel/preset-env": "^7.25.4",
123
- "@babel/preset-react": "^7.24.7",
119
+ "@babel/core": "^7.25.7",
120
+ "@babel/eslint-parser": "^7.25.7",
121
+ "@babel/eslint-plugin": "^7.25.7",
122
+ "@babel/preset-env": "^7.25.7",
123
+ "@babel/preset-react": "^7.25.7",
124
124
  "@commitlint/cli": "^19.5.0",
125
125
  "@commitlint/config-conventional": "^19.5.0",
126
126
  "@itcase/lint": "^1.0.13",
@@ -134,7 +134,7 @@
134
134
  "@semantic-release/git": "^10.0.1",
135
135
  "@semantic-release/release-notes-generator": "14.0.1",
136
136
  "@types/js-cookie": "^3.0.6",
137
- "@types/lodash": "^4.17.9",
137
+ "@types/lodash": "^4.17.10",
138
138
  "@types/react": "^18",
139
139
  "@types/react-datepicker": "^7.0.0",
140
140
  "@types/react-dom": "^18.3.0",
@@ -148,7 +148,7 @@
148
148
  "eslint": "9.11.1",
149
149
  "husky": "^9.1.6",
150
150
  "lint-staged": "^15.2.10",
151
- "npm": "^10.8.3",
151
+ "npm": "^10.9.0",
152
152
  "postcss": "^8.4.47",
153
153
  "postcss-aspect-ratio-polyfill": "^2.0.0",
154
154
  "postcss-cli": "^11.0.0",
@@ -162,7 +162,7 @@
162
162
  "postcss-hexrgba": "^2.1.0",
163
163
  "postcss-import": "^16.1.0",
164
164
  "postcss-import-ext-glob": "^2.1.1",
165
- "postcss-mixins": "^11.0.2",
165
+ "postcss-mixins": "^11.0.3",
166
166
  "postcss-nested": "^6.2.0",
167
167
  "postcss-nested-ancestors": "^3.0.0",
168
168
  "postcss-normalize": "^13.0.1",
@@ -172,7 +172,7 @@
172
172
  "postcss-responsive-type": "github:ITCase/postcss-responsive-type",
173
173
  "postcss-sort-media-queries": "^5.2.0",
174
174
  "prettier": "^3.3.3",
175
- "rollup": "^4.22.5",
175
+ "rollup": "^4.24.0",
176
176
  "rollup-plugin-copy": "^3.5.0",
177
177
  "rollup-plugin-dts": "^6.1.1",
178
178
  "rollup-plugin-peer-deps-external": "^2.2.4",