@ssa-ui-kit/core 2.31.0 → 2.32.0-canary-d213a33-20251219
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/components/Charts/BarLineComplexChart/BarLineComplexChartView.d.ts +2 -2
- package/dist/components/Charts/BarLineComplexChart/types.d.ts +2 -2
- package/dist/components/Charts/BigNumberChart/BigNumberChart.d.ts +4 -2
- package/dist/components/Charts/BigNumberChart/components/TrendLine.d.ts +8 -3
- package/dist/components/Charts/BigNumberChart/components/TrendLineTooltip.d.ts +8 -5
- package/dist/components/Charts/GaugeChart/components/GaugeChartBase.d.ts +3 -1
- package/dist/components/Charts/PieChart/types.d.ts +1 -1
- package/dist/components/Charts/RadarChart/RadarChart.d.ts +1 -1
- package/dist/components/Charts/TreeMapChart/TreeMapChart.d.ts +1 -1
- package/dist/components/Charts/index.d.ts +1 -0
- package/dist/components/Charts/utils/nivoReact19Compat.d.ts +20 -0
- package/dist/components/Checkbox/types.d.ts +2 -2
- package/dist/components/CollapsibleNavBar/components/TriggerIcon.d.ts +4 -2
- package/dist/components/DatePicker/styles.d.ts +0 -1
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/components/DateRangePicker/components/DatesListWrapper.d.ts +0 -1
- package/dist/components/DateRangePicker/components/TriggerInput.d.ts +1 -4
- package/dist/components/DateRangePicker/hooks/index.d.ts +1 -0
- package/dist/components/DateRangePicker/hooks/useDatePickerMask.d.ts +3 -9
- package/dist/components/DateRangePicker/hooks/useDateRangePicker.d.ts +21 -18
- package/dist/components/DateRangePicker/hooks/useRangeSelection.d.ts +20 -0
- package/dist/components/DateRangePicker/styles.d.ts +0 -2
- package/dist/components/DateRangePicker/types.d.ts +6 -4
- package/dist/components/DateRangePicker/useDateRangePickerContext.d.ts +2 -1
- package/dist/components/Field/FieldControl.d.ts +1 -1
- package/dist/components/Filters/FilterBlockWrapper.d.ts +0 -1
- package/dist/components/Filters/FiltersContext.d.ts +4 -4
- package/dist/components/Filters/hooks/useVisibility.d.ts +2 -2
- package/dist/components/Indicator/types.d.ts +4 -2
- package/dist/components/JsonSchemaForm/constants.d.ts +1 -0
- package/dist/components/JsonSchemaForm/index.d.ts +2 -0
- package/dist/components/JsonSchemaForm/types.d.ts +6 -0
- package/dist/components/ModalDismissButton/ModalDismissButton.d.ts +2 -2
- package/dist/components/ModalOpenButton/ModalOpenButton.d.ts +1 -1
- package/dist/components/NavBar/types.d.ts +1 -1
- package/dist/components/NotificationMenu/types.d.ts +3 -3
- package/dist/components/Pagination/WithPagination.d.ts +2 -4
- package/dist/components/PersonInfo/PersonInfoAvatar.d.ts +1 -8
- package/dist/components/PersonInfo/PersonInfoCounter.d.ts +3 -0
- package/dist/components/PersonInfo/PersonInfoValue.d.ts +1 -8
- package/dist/components/PersonInfo/helpers.d.ts +11 -0
- package/dist/components/PersonInfo/styles.d.ts +29 -14
- package/dist/components/PersonInfo/types.d.ts +31 -1
- package/dist/components/TableFilters/hooks/useTableData.d.ts +3 -3
- package/dist/components/Tooltip/SimpleChartTooltip.d.ts +2 -1
- package/dist/components/Tooltip/types.d.ts +6 -5
- package/dist/components/TooltipTrigger/TooltipTrigger.d.ts +1 -1
- package/dist/components/Typeahead/Typeahead.context.d.ts +4 -4
- package/dist/components/Typeahead/styles.d.ts +0 -1
- package/dist/components/Typeahead/useTypeahead.d.ts +4 -4
- package/dist/components/UserProfile/styles.d.ts +0 -2
- package/dist/components/UserProfile/types.d.ts +1 -1
- package/dist/components/WithLink.d.ts +1 -1
- package/dist/components/Wrapper/Wrapper.d.ts +0 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +770 -412
- package/dist/index.js.map +1 -1
- package/dist/utils/react19HocCompat.d.ts +14 -0
- package/package.json +30 -30
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* React 19 compatibility helper for Higher-Order Components (HOCs).
|
|
4
|
+
*
|
|
5
|
+
* React 19 has stricter requirements for component identification.
|
|
6
|
+
* This utility ensures HOCs properly set displayName for better debugging
|
|
7
|
+
* and React DevTools integration.
|
|
8
|
+
*
|
|
9
|
+
* @param hocName - The name of the HOC (e.g., 'WithPagination', 'WithLayout')
|
|
10
|
+
* @param Component - The component being wrapped
|
|
11
|
+
* @param WrappedComponent - The wrapper component function
|
|
12
|
+
* @returns The wrapper component with proper displayName set
|
|
13
|
+
*/
|
|
14
|
+
export declare function setHocDisplayName<T extends React.ComponentType<any>>(hocName: string, Component: React.ComponentType<any>, WrappedComponent: T): T;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ssa-ui-kit/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.32.0-canary-d213a33-20251219",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"private": false,
|
|
@@ -23,32 +23,32 @@
|
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@floating-ui/react": "0.27.4",
|
|
26
|
-
"@rc-component/color-picker": "
|
|
27
|
-
"@react-input/mask": "
|
|
28
|
-
"@react-input/number-format": "
|
|
29
|
-
"dotenv": "
|
|
30
|
-
"loose-envify": "
|
|
31
|
-
"luxon": "
|
|
26
|
+
"@rc-component/color-picker": "3.0.1",
|
|
27
|
+
"@react-input/mask": "2.0.4",
|
|
28
|
+
"@react-input/number-format": "2.0.3",
|
|
29
|
+
"dotenv": "16.0.3",
|
|
30
|
+
"loose-envify": "1.4.0",
|
|
31
|
+
"luxon": "3.5.0",
|
|
32
32
|
"plotly.js": "3.0.0",
|
|
33
33
|
"react-plotly.js": "2.6.0",
|
|
34
|
-
"@ssa-ui-kit/hooks": "^2.
|
|
35
|
-
"@ssa-ui-kit/utils": "^2.
|
|
34
|
+
"@ssa-ui-kit/hooks": "^2.32.0-canary-d213a33-20251219",
|
|
35
|
+
"@ssa-ui-kit/utils": "^2.32.0-canary-d213a33-20251219"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@emotion/css": "
|
|
39
|
-
"@emotion/jest": "
|
|
40
|
-
"@emotion/react": "
|
|
41
|
-
"@emotion/styled": "
|
|
42
|
-
"@nivo/radar": "
|
|
43
|
-
"@nivo/core": "
|
|
44
|
-
"@nivo/line": "
|
|
45
|
-
"@nivo/pie": "
|
|
46
|
-
"@nivo/treemap": "
|
|
47
|
-
"@playwright/test": "
|
|
48
|
-
"@rjsf/core": "
|
|
49
|
-
"@rjsf/utils": "
|
|
50
|
-
"@rjsf/validator-ajv8": "
|
|
51
|
-
"@types/luxon": "
|
|
38
|
+
"@emotion/css": "11.13.5",
|
|
39
|
+
"@emotion/jest": "11.14.2",
|
|
40
|
+
"@emotion/react": "11.14.0",
|
|
41
|
+
"@emotion/styled": "11.14.0",
|
|
42
|
+
"@nivo/radar": "0.99.0",
|
|
43
|
+
"@nivo/core": "0.99.0",
|
|
44
|
+
"@nivo/line": "0.99.0",
|
|
45
|
+
"@nivo/pie": "0.99.0",
|
|
46
|
+
"@nivo/treemap": "0.99.0",
|
|
47
|
+
"@playwright/test": "1.57.0",
|
|
48
|
+
"@rjsf/core": "5.24.8",
|
|
49
|
+
"@rjsf/utils": "5.24.8",
|
|
50
|
+
"@rjsf/validator-ajv8": "5.24.8",
|
|
51
|
+
"@types/luxon": "3.4.2",
|
|
52
52
|
"@types/react-plotly.js": "2.6.3"
|
|
53
53
|
},
|
|
54
54
|
"browserslist": [
|
|
@@ -60,15 +60,15 @@
|
|
|
60
60
|
"@emotion/css": "^11.13.5",
|
|
61
61
|
"@emotion/react": "^11.14.0",
|
|
62
62
|
"@emotion/styled": "^11.14.0",
|
|
63
|
-
"@nivo/radar": "^0.
|
|
64
|
-
"@nivo/core": "^0.
|
|
65
|
-
"@nivo/line": "^0.
|
|
66
|
-
"@nivo/pie": "^0.
|
|
67
|
-
"@nivo/treemap": "^0.
|
|
63
|
+
"@nivo/radar": "^0.99.0",
|
|
64
|
+
"@nivo/core": "^0.99.0",
|
|
65
|
+
"@nivo/line": "^0.99.0",
|
|
66
|
+
"@nivo/pie": "^0.99.0",
|
|
67
|
+
"@nivo/treemap": "^0.99.0",
|
|
68
68
|
"@rjsf/core": "^5.0.0",
|
|
69
69
|
"@rjsf/utils": "^5.0.0",
|
|
70
|
-
"react": "18.x",
|
|
71
|
-
"react-dom": "18.x",
|
|
70
|
+
"react": "18.x || 19.x",
|
|
71
|
+
"react-dom": "18.x || 19.x",
|
|
72
72
|
"react-hook-form": "^7.46.1",
|
|
73
73
|
"react-router-dom": "6.x || 7.x"
|
|
74
74
|
},
|