@jetbrains/ring-ui 7.0.124 → 8.0.0-beta.10
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/babel.config.js +1 -9
- package/components/auth-dialog-service/auth-dialog-service.js +2 -2
- package/components/avatar/avatar-info.js +0 -2
- package/components/avatar/avatar-size.d.ts +0 -4
- package/components/avatar/avatar-size.js +0 -4
- package/components/avatar/avatar.js +0 -6
- package/components/avatar/fallback-avatar.js +0 -28
- package/components/avatar-stack/avatar-stack.js +1 -1
- package/components/button/button.css +4 -4
- package/components/button/button.d.ts +0 -4
- package/components/button/button.js +2 -7
- package/components/button-group/button-group.css +23 -23
- package/components/button-toolbar/button-toolbar.css +2 -2
- package/components/checkbox/checkbox.d.ts +1 -1
- package/components/collapse/collapse-content.js +7 -16
- package/components/collapse/collapse-context.d.ts +1 -0
- package/components/collapse/collapse-context.js +1 -0
- package/components/collapse/collapse-control.js +2 -2
- package/components/collapse/collapse.css +8 -2
- package/components/collapse/collapse.js +10 -2
- package/components/collapsible-group/collapsible-group.css +1 -1
- package/components/collapsible-group/collapsible-group.d.ts +5 -1
- package/components/collapsible-group/collapsible-group.js +13 -22
- package/components/confirm-service/confirm-service.js +2 -2
- package/components/contenteditable/contenteditable.js +1 -2
- package/components/data-list/data-list.d.ts +4 -4
- package/components/data-list/data-list.js +2 -2
- package/components/data-list/data-list.mock.d.ts +1 -1
- package/components/data-list/item.d.ts +1 -1
- package/components/data-list/selection.d.ts +1 -1
- package/components/data-list/selection.js +1 -1
- package/components/date-picker/month.d.ts +0 -2
- package/components/date-picker/month.js +5 -5
- package/components/date-picker/months.js +8 -7
- package/components/date-picker/use-scroll-behavior.js +5 -6
- package/components/date-picker/years.js +11 -10
- package/components/dialog/dialog.d.ts +2 -2
- package/components/dialog/dialog.js +2 -2
- package/components/dropdown-menu/dropdown-menu.d.ts +4 -4
- package/components/dropdown-menu/dropdown-menu.js +4 -4
- package/components/editable-heading/editable-heading.d.ts +1 -2
- package/components/editable-heading/editable-heading.js +5 -6
- package/components/global/compose-refs.d.ts +2 -1
- package/components/global/compose-refs.js +24 -8
- package/components/global/configuration.d.ts +0 -5
- package/components/global/configuration.js +0 -7
- package/components/global/create-stateful-context.js +5 -5
- package/components/global/focus-with-temporary-tabindex.d.ts +11 -0
- package/components/global/focus-with-temporary-tabindex.js +21 -0
- package/components/global/intersection-observer-context.d.ts +46 -0
- package/components/global/intersection-observer-context.js +91 -0
- package/components/global/is-within-interactive-element.d.ts +6 -0
- package/components/global/is-within-interactive-element.js +26 -0
- package/components/global/is-within-navigable-element.d.ts +6 -0
- package/components/global/is-within-navigable-element.js +27 -0
- package/components/global/parse-css-duration.d.ts +5 -0
- package/components/global/parse-css-duration.js +13 -0
- package/components/global/rerender-hoc.d.ts +4 -2
- package/components/global/rerender-hoc.js +4 -4
- package/components/global/schedule-with-cleanup.d.ts +12 -0
- package/components/global/schedule-with-cleanup.js +34 -0
- package/components/{table/selection.d.ts → global/table-selection.d.ts} +15 -15
- package/components/{table/selection.js → global/table-selection.js} +3 -3
- package/components/global/theme.d.ts +4 -3
- package/components/global/theme.js +8 -8
- package/components/global/variables.css +0 -10
- package/components/global/variables.interface.d.ts +0 -4
- package/components/global/variables_dark.css +0 -7
- package/components/i18n/i18n-context.js +1 -1
- package/components/icon/icon-svg.js +2 -3
- package/components/icon/icon.css +0 -27
- package/components/icon/icon.d.ts +0 -1
- package/components/icon/icon.js +2 -4
- package/components/input/input.d.ts +1 -1
- package/components/island/adaptive-island-hoc.js +4 -4
- package/components/island/content.d.ts +7 -2
- package/components/island/content.js +5 -5
- package/components/{table → legacy-table}/cell.js +1 -1
- package/components/{table → legacy-table}/header-cell.js +1 -1
- package/components/{table → legacy-table}/header.js +1 -1
- package/components/legacy-table/legacy-table.css +260 -0
- package/components/{table → legacy-table}/multitable.d.ts +1 -1
- package/components/{table → legacy-table}/row.d.ts +1 -1
- package/components/{table → legacy-table}/row.js +1 -1
- package/components/legacy-table/selection-adapter.d.ts +6 -0
- package/components/{table → legacy-table}/selection-shortcuts-hoc.d.ts +5 -5
- package/components/{table → legacy-table}/simple-table.d.ts +2 -2
- package/components/{table → legacy-table}/simple-table.js +3 -3
- package/components/{table → legacy-table}/smart-table.d.ts +5 -5
- package/components/{table → legacy-table}/smart-table.js +3 -3
- package/components/legacy-table/table.d.ts +109 -0
- package/components/legacy-table/table.js +191 -0
- package/components/list/consts.d.ts +0 -1
- package/components/list/consts.js +0 -1
- package/components/list/list.d.ts +0 -4
- package/components/login-dialog/service.js +2 -2
- package/components/popup/popup.target.d.ts +3 -2
- package/components/popup/popup.target.js +4 -6
- package/components/query-assist/query-assist.d.ts +3 -1
- package/components/query-assist/query-assist.js +2 -2
- package/components/radio/radio-item.d.ts +3 -3
- package/components/radio/radio-item.js +3 -4
- package/components/radio/radio.d.ts +2 -2
- package/components/radio/radio.js +1 -1
- package/components/select/select-popup.d.ts +3 -2
- package/components/select/select-popup.js +3 -3
- package/components/select/select.d.ts +6 -2
- package/components/select/select.js +2 -4
- package/components/selection-toolbar/selection-toolbar.css +86 -0
- package/components/selection-toolbar/selection-toolbar.d.ts +11 -0
- package/components/selection-toolbar/selection-toolbar.js +23 -0
- package/components/slider/slider.js +4 -5
- package/components/tab-trap/tab-trap.d.ts +3 -3
- package/components/tab-trap/tab-trap.js +3 -5
- package/components/table/default-item-renderer.d.ts +55 -0
- package/components/table/default-item-renderer.js +77 -0
- package/components/table/internal/reorder-animation-context.d.ts +21 -0
- package/components/table/internal/reorder-animation-context.js +60 -0
- package/components/table/internal/reorder-handle.d.ts +9 -0
- package/components/table/internal/reorder-handle.js +334 -0
- package/components/table/internal/reorder-layout-context.d.ts +16 -0
- package/components/table/internal/reorder-layout-context.js +69 -0
- package/components/table/internal/table-header.d.ts +1 -0
- package/components/table/internal/table-header.js +143 -0
- package/components/table/internal/virtualization.d.ts +41 -0
- package/components/table/internal/virtualization.js +186 -0
- package/components/table/item-virtualization.d.ts +37 -0
- package/components/table/item-virtualization.js +26 -0
- package/components/table/reorder-animation.d.ts +37 -0
- package/components/table/reorder-animation.js +11 -0
- package/components/table/reorder-item-layout.d.ts +32 -0
- package/components/table/reorder-item-layout.js +23 -0
- package/components/table/table-const.d.ts +10 -0
- package/components/table/table-const.js +10 -0
- package/components/table/table-primitives.d.ts +64 -0
- package/components/table/table-primitives.js +34 -0
- package/components/table/table-props.d.ts +304 -0
- package/components/table/table-props.js +1 -0
- package/components/table/table.css +156 -167
- package/components/table/table.d.ts +231 -107
- package/components/table/table.js +319 -183
- package/components/tags-input/tags-input.d.ts +3 -1
- package/components/tooltip/tooltip.d.ts +2 -1
- package/components/tooltip/tooltip.js +6 -5
- package/components/upload/upload.d.ts +4 -3
- package/components/upload/upload.js +3 -7
- package/components/user-agreement/service.js +2 -2
- package/components/util-stories.d.ts +26 -0
- package/components/util-stories.js +61 -0
- package/package.json +45 -48
- package/components/content-layout/content-layout.css +0 -109
- package/components/content-layout/content-layout.d.ts +0 -20
- package/components/content-layout/content-layout.js +0 -40
- package/components/content-layout/sidebar.d.ts +0 -26
- package/components/content-layout/sidebar.js +0 -71
- package/components/date-picker/use-intersection-observer.d.ts +0 -6
- package/components/date-picker/use-intersection-observer.js +0 -48
- package/components/expand/collapsible-group.css +0 -76
- package/components/expand/collapsible-group.d.ts +0 -8
- package/components/expand/collapsible-group.js +0 -14
- package/components/global/composeRefs.d.ts +0 -6
- package/components/global/composeRefs.js +0 -7
- package/components/global/use-event-callback.d.ts +0 -4
- package/components/global/use-event-callback.js +0 -20
- package/components/grid/col.d.ts +0 -16
- package/components/grid/col.js +0 -35
- package/components/grid/grid.css +0 -920
- package/components/grid/grid.d.ts +0 -13
- package/components/grid/grid.js +0 -19
- package/components/grid/row.d.ts +0 -21
- package/components/grid/row.js +0 -41
- package/components/old-browsers-message/__mocks__/old-browsers-message.js +0 -1
- package/components/old-browsers-message/old-browsers-message-stop.d.ts +0 -1
- package/components/old-browsers-message/old-browsers-message-stop.js +0 -2
- package/components/old-browsers-message/old-browsers-message.css +0 -26
- package/components/old-browsers-message/old-browsers-message.d.ts +0 -5
- package/components/old-browsers-message/old-browsers-message.js +0 -86
- package/components/old-browsers-message/white-list.d.ts +0 -2
- package/components/old-browsers-message/white-list.js +0 -24
- package/components/table/selection-adapter.d.ts +0 -6
- /package/components/{table → legacy-table}/cell.d.ts +0 -0
- /package/components/{table → legacy-table}/disable-hover-hoc.d.ts +0 -0
- /package/components/{table → legacy-table}/disable-hover-hoc.js +0 -0
- /package/components/{table → legacy-table}/header-cell.d.ts +0 -0
- /package/components/{table → legacy-table}/header.d.ts +0 -0
- /package/components/{table → legacy-table}/multitable.js +0 -0
- /package/components/{table → legacy-table}/row-with-focus-sensor.d.ts +0 -0
- /package/components/{table → legacy-table}/row-with-focus-sensor.js +0 -0
- /package/components/{table → legacy-table}/selection-adapter.js +0 -0
- /package/components/{table → legacy-table}/selection-shortcuts-hoc.js +0 -0
- /package/components/{table → legacy-table}/table.examples2.json +0 -0
|
@@ -1 +1,62 @@
|
|
|
1
|
+
/* eslint-disable no-magic-numbers */
|
|
1
2
|
export const hideAddonsPanelParam = 'hideAddonsPanel';
|
|
3
|
+
export function createRandom(seed) {
|
|
4
|
+
const u64Mask = 2n ** 64n - 1n;
|
|
5
|
+
const u64Range = 2n ** 64n;
|
|
6
|
+
const scrambleConst = 2685821657736338717n;
|
|
7
|
+
let x = seed & u64Mask;
|
|
8
|
+
if (!x)
|
|
9
|
+
throw new Error('Seed must be non-zero');
|
|
10
|
+
function nextFractional() {
|
|
11
|
+
x ^= x >> 12n;
|
|
12
|
+
x ^= (x << 25n) & u64Mask;
|
|
13
|
+
x ^= x >> 27n;
|
|
14
|
+
const scrambled = (x * scrambleConst) & u64Mask;
|
|
15
|
+
return Number(scrambled) / Number(u64Range);
|
|
16
|
+
}
|
|
17
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
18
|
+
return (...args) => {
|
|
19
|
+
if (!args.length) {
|
|
20
|
+
return nextFractional();
|
|
21
|
+
}
|
|
22
|
+
if (args.length === 1) {
|
|
23
|
+
const [a] = args;
|
|
24
|
+
if (typeof a === 'number') {
|
|
25
|
+
return Math.floor(nextFractional() * a);
|
|
26
|
+
}
|
|
27
|
+
if (Array.isArray(a)) {
|
|
28
|
+
return a[Math.floor(nextFractional() * a.length)];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
if (args.length === 2) {
|
|
32
|
+
const [a, b] = args;
|
|
33
|
+
let fromNum;
|
|
34
|
+
let toNum;
|
|
35
|
+
let isDate = false;
|
|
36
|
+
if (typeof a === 'number' && typeof b === 'number') {
|
|
37
|
+
fromNum = a;
|
|
38
|
+
toNum = b;
|
|
39
|
+
}
|
|
40
|
+
if (a instanceof Date && b instanceof Date) {
|
|
41
|
+
fromNum = a.getTime();
|
|
42
|
+
toNum = b.getTime();
|
|
43
|
+
isDate = true;
|
|
44
|
+
}
|
|
45
|
+
if (fromNum != null && toNum != null && fromNum < toNum) {
|
|
46
|
+
const r = Math.floor(nextFractional() * (toNum - fromNum)) + fromNum;
|
|
47
|
+
return isDate ? new Date(r) : r;
|
|
48
|
+
}
|
|
49
|
+
if (Array.isArray(a) && typeof b === 'number') {
|
|
50
|
+
const aIndices = Array.from({ length: a.length }, (_, i) => i);
|
|
51
|
+
const sample = [];
|
|
52
|
+
for (let i = 0; i < b && aIndices.length; i++) {
|
|
53
|
+
const indexIndex = Math.floor(nextFractional() * aIndices.length);
|
|
54
|
+
const [aIndex] = aIndices.splice(indexIndex, 1);
|
|
55
|
+
sample.push(a[aIndex]);
|
|
56
|
+
}
|
|
57
|
+
return sample;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
throw new Error(`Bad args: ${JSON.stringify(args)}`);
|
|
61
|
+
};
|
|
62
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetbrains/ring-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0-beta.10",
|
|
4
4
|
"description": "JetBrains UI library",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "JetBrains"
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"prelint-ci": "echo \"##teamcity[importData type='jslint' path='eslint-report.xml']\"",
|
|
60
60
|
"lint-ci": "eslint --format jslint-xml . > eslint-report.xml && npm run stylelint-ci",
|
|
61
61
|
"lint:js": "eslint",
|
|
62
|
-
"postbuild": "cpy './**/*.d.ts' ../dist --parents --cwd=components/
|
|
62
|
+
"postbuild": "cpy './**/*.d.ts' ../dist --parents --cwd=components/",
|
|
63
63
|
"_postinstall": "husky && npm run postinstall:gitconfig",
|
|
64
64
|
"postinstall:gitconfig": "git config blame.ignoreRevsFile .git-blame-ignore-revs",
|
|
65
65
|
"postpublish": "pinst --enable",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"storybook-debug": "node --inspect-brk node_modules/@storybook/react/bin -p 9999",
|
|
83
83
|
"stylelint": "stylelint --ignore-path .stylelintignore '**/*.css'",
|
|
84
84
|
"stylelint-ci": "stylelint --ignore-path .stylelintignore --custom-formatter 'scripts/jslint-xml.js' '**/*.css' | xmlappend eslint-report.xml",
|
|
85
|
-
"test": "vitest src
|
|
85
|
+
"test": "vitest src",
|
|
86
86
|
"type-check": "(npm run type-check:create-d-ts && npm run type-check:main && npm run type-check:build) ; npm run type-check:cleanup-d-ts",
|
|
87
87
|
"type-check:create-d-ts": "npx tcm src && npx tcm .storybook",
|
|
88
88
|
"type-check:main": "tsc --noEmit -p tsconfig.json",
|
|
@@ -99,51 +99,51 @@
|
|
|
99
99
|
},
|
|
100
100
|
"readmeFilename": "README.md",
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@babel/cli": "^8.0.
|
|
102
|
+
"@babel/cli": "^8.0.1",
|
|
103
103
|
"@babel/eslint-parser": "^7.29.7",
|
|
104
104
|
"@csstools/css-parser-algorithms": "^4.0.0",
|
|
105
105
|
"@csstools/stylelint-no-at-nest-rule": "^5.0.0",
|
|
106
106
|
"@eslint/compat": "^2.1.0",
|
|
107
|
-
"@eslint/eslintrc": "^3.3.
|
|
107
|
+
"@eslint/eslintrc": "^3.3.5",
|
|
108
108
|
"@eslint/js": "^10.0.1",
|
|
109
|
-
"@figma/code-connect": "^1.
|
|
109
|
+
"@figma/code-connect": "^1.4.8",
|
|
110
110
|
"@jetbrains/eslint-config": "^6.0.5",
|
|
111
111
|
"@jetbrains/logos": "3.0.0-canary.734b213.0",
|
|
112
112
|
"@jetbrains/rollup-css-plugin": "./packages/rollup-css-plugin",
|
|
113
113
|
"@jetbrains/stylelint-config": "^4.0.2",
|
|
114
114
|
"@jetbrains/typescript-plugin-css-modules": "^5.3.1",
|
|
115
|
-
"@primer/octicons": "^19.
|
|
115
|
+
"@primer/octicons": "^19.28.1",
|
|
116
116
|
"@rollup/plugin-babel": "^7.1.0",
|
|
117
117
|
"@rollup/plugin-json": "^6.1.0",
|
|
118
118
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
119
119
|
"@rollup/plugin-replace": "^6.0.3",
|
|
120
|
-
"@storybook/addon-a11y": "10.
|
|
121
|
-
"@storybook/addon-docs": "
|
|
122
|
-
"@storybook/addon-themes": "
|
|
120
|
+
"@storybook/addon-a11y": "10.4.6",
|
|
121
|
+
"@storybook/addon-docs": "10.4.6",
|
|
122
|
+
"@storybook/addon-themes": "10.4.6",
|
|
123
123
|
"@storybook/csf": "^0.1.13",
|
|
124
|
-
"@storybook/react-webpack5": "10.
|
|
124
|
+
"@storybook/react-webpack5": "10.4.6",
|
|
125
125
|
"@storybook/test-runner": "^0.24.4",
|
|
126
126
|
"@testing-library/dom": "^10.4.1",
|
|
127
127
|
"@testing-library/react": "^16.3.2",
|
|
128
|
-
"@testing-library/user-event": "^14.6.
|
|
128
|
+
"@testing-library/user-event": "^14.6.1",
|
|
129
129
|
"@types/chai-as-promised": "^8.0.2",
|
|
130
130
|
"@types/chai-dom": "1.11.3",
|
|
131
131
|
"@types/markdown-it": "^14.1.2",
|
|
132
|
-
"@types/react": "^19.2.
|
|
133
|
-
"@types/react-dom": "^19.2.
|
|
132
|
+
"@types/react": "^19.2.17",
|
|
133
|
+
"@types/react-dom": "^19.2.3",
|
|
134
134
|
"@types/webpack-env": "^1.18.8",
|
|
135
|
-
"@vitejs/plugin-react": "^6.0.
|
|
136
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
137
|
-
"acorn": "^8.
|
|
135
|
+
"@vitejs/plugin-react": "^6.0.3",
|
|
136
|
+
"@vitest/eslint-plugin": "^1.6.20",
|
|
137
|
+
"acorn": "^8.17.0",
|
|
138
138
|
"babel-plugin-require-context-hook": "^1.0.0",
|
|
139
139
|
"caniuse-lite": "^1.0.30001799",
|
|
140
140
|
"chai-as-promised": "^8.0.2",
|
|
141
141
|
"chai-dom": "^1.12.1",
|
|
142
142
|
"cheerio": "^1.2.0",
|
|
143
|
-
"core-js": "^3.
|
|
143
|
+
"core-js": "^3.49.0",
|
|
144
144
|
"cpy-cli": "^7.0.0",
|
|
145
145
|
"dotenv-cli": "^11.0.0",
|
|
146
|
-
"eslint": "^9.39.
|
|
146
|
+
"eslint": "^9.39.4",
|
|
147
147
|
"eslint-config-prettier": "^10.1.8",
|
|
148
148
|
"eslint-formatter-jslint-xml": "^9.0.1",
|
|
149
149
|
"eslint-import-resolver-exports": "^1.0.0-beta.5",
|
|
@@ -154,53 +154,53 @@
|
|
|
154
154
|
"eslint-plugin-prettier": "^5.5.6",
|
|
155
155
|
"eslint-plugin-react": "^7.37.5",
|
|
156
156
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
157
|
-
"eslint-plugin-storybook": "^10.
|
|
158
|
-
"eslint-plugin-unicorn": "^
|
|
157
|
+
"eslint-plugin-storybook": "^10.4.6",
|
|
158
|
+
"eslint-plugin-unicorn": "^70.0.0",
|
|
159
159
|
"events": "^3.3.0",
|
|
160
160
|
"glob": "^13.0.6",
|
|
161
|
-
"globals": "^17.
|
|
162
|
-
"html-webpack-plugin": "^5.6.
|
|
161
|
+
"globals": "^17.7.0",
|
|
162
|
+
"html-webpack-plugin": "^5.6.7",
|
|
163
163
|
"http-server": "^14.1.1",
|
|
164
164
|
"husky": "^9.1.7",
|
|
165
165
|
"identity-obj-proxy": "^3.0.0",
|
|
166
166
|
"jest": "~30.4.2",
|
|
167
167
|
"jest-environment-jsdom": "^30.4.1",
|
|
168
168
|
"jest-teamcity": "^1.12.0",
|
|
169
|
-
"lint-staged": "^17.
|
|
170
|
-
"markdown-it": "^
|
|
169
|
+
"lint-staged": "^17.0.8",
|
|
170
|
+
"markdown-it": "^14.2.0",
|
|
171
171
|
"merge-options": "^3.0.4",
|
|
172
172
|
"pinst": "^3.0.0",
|
|
173
|
-
"prettier": "^3.9.
|
|
173
|
+
"prettier": "^3.9.4",
|
|
174
174
|
"raw-loader": "^4.0.2",
|
|
175
|
-
"react": "^19.2.
|
|
176
|
-
"react-dom": "^19.2.
|
|
175
|
+
"react": "^19.2.7",
|
|
176
|
+
"react-dom": "^19.2.7",
|
|
177
177
|
"regenerator-runtime": "^0.14.1",
|
|
178
178
|
"rimraf": "^6.1.3",
|
|
179
|
-
"rollup": "^4.62.
|
|
179
|
+
"rollup": "^4.62.2",
|
|
180
180
|
"rollup-plugin-clear": "^2.0.7",
|
|
181
181
|
"storage-mock": "^2.1.0",
|
|
182
|
-
"storybook": "10.
|
|
183
|
-
"stylelint": "^17.14.
|
|
182
|
+
"storybook": "10.4.6",
|
|
183
|
+
"stylelint": "^17.14.0",
|
|
184
184
|
"stylelint-config-sass-guidelines": "^13.0.0",
|
|
185
185
|
"svg-inline-loader": "^0.8.2",
|
|
186
|
-
"teamcity-service-messages": "^0.
|
|
186
|
+
"teamcity-service-messages": "^0.1.14",
|
|
187
187
|
"terser-webpack-plugin": "^5.6.1",
|
|
188
188
|
"typed-css-modules": "^0.9.1",
|
|
189
189
|
"typescript": "~6.0.3",
|
|
190
|
-
"typescript-eslint": "^8.
|
|
191
|
-
"vite": "^8.
|
|
192
|
-
"vitest": "^4.1.
|
|
193
|
-
"vitest-teamcity-reporter": "^0.
|
|
194
|
-
"webpack": "^5.
|
|
195
|
-
"webpack-cli": "^7.
|
|
190
|
+
"typescript-eslint": "^8.62.1",
|
|
191
|
+
"vite": "^8.1.0",
|
|
192
|
+
"vitest": "^4.1.9",
|
|
193
|
+
"vitest-teamcity-reporter": "^0.4.1",
|
|
194
|
+
"webpack": "^5.108.1",
|
|
195
|
+
"webpack-cli": "^7.1.0",
|
|
196
196
|
"xmlappend": "^1.0.4"
|
|
197
197
|
},
|
|
198
198
|
"peerDependencies": {
|
|
199
|
-
"@types/react": ">=
|
|
200
|
-
"@types/react-dom": ">=
|
|
199
|
+
"@types/react": ">=19.2.0",
|
|
200
|
+
"@types/react-dom": ">=19.2.0",
|
|
201
201
|
"core-js": ">=3.0.0",
|
|
202
|
-
"react": ">=
|
|
203
|
-
"react-dom": ">=
|
|
202
|
+
"react": ">=19.2.0",
|
|
203
|
+
"react-dom": ">=19.2.0",
|
|
204
204
|
"webpack": ">=5.0.0"
|
|
205
205
|
},
|
|
206
206
|
"peerDependenciesMeta": {
|
|
@@ -226,9 +226,7 @@
|
|
|
226
226
|
"@types/util-deprecate": "^1.0.4",
|
|
227
227
|
"babel-loader": "10.1.1",
|
|
228
228
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
229
|
-
"
|
|
230
|
-
"browserslist": "^4.28.8",
|
|
231
|
-
"change-case": "^5.4.4",
|
|
229
|
+
"change-case": "^4.1.1",
|
|
232
230
|
"classnames": "^2.5.1",
|
|
233
231
|
"combokeys": "^3.0.1",
|
|
234
232
|
"css-loader": "^7.1.4",
|
|
@@ -242,16 +240,15 @@
|
|
|
242
240
|
"highlight.js": "^10.7.2",
|
|
243
241
|
"just-debounce-it": "^3.2.0",
|
|
244
242
|
"memoize-one": "^6.0.0",
|
|
245
|
-
"postcss": "^8.5.
|
|
243
|
+
"postcss": "^8.5.15",
|
|
246
244
|
"postcss-calc": "^10.1.1",
|
|
247
245
|
"postcss-font-family-system-ui": "^5.0.0",
|
|
248
246
|
"postcss-loader": "^8.2.1",
|
|
249
247
|
"postcss-modules-values-replace": "^4.2.2",
|
|
250
|
-
"postcss-preset-env": "^11.3.
|
|
248
|
+
"postcss-preset-env": "^11.3.1",
|
|
251
249
|
"react-compiler-runtime": "^1.0.0",
|
|
252
250
|
"react-movable": "^3.4.1",
|
|
253
251
|
"react-virtualized": "^9.22.6",
|
|
254
|
-
"react-waypoint": "^10.3.0",
|
|
255
252
|
"scrollbar-width": "^3.1.1",
|
|
256
253
|
"simply-uuid": "^1.0.1",
|
|
257
254
|
"sniffr": "^1.4.0",
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
@import '../global/variables.css';
|
|
2
|
-
|
|
3
|
-
@value extra-small-screen-media, small-screen-media from '../global/global.css';
|
|
4
|
-
|
|
5
|
-
.contentLayout {
|
|
6
|
-
--ring-content-layout-sidebar-width: calc(var(--ring-unit) * 30);
|
|
7
|
-
|
|
8
|
-
position: relative;
|
|
9
|
-
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-flow: row nowrap;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.contentLayoutContent {
|
|
15
|
-
align-self: flex-start;
|
|
16
|
-
flex-grow: 2;
|
|
17
|
-
|
|
18
|
-
width: 100%; /* without this hack IE11 render contentLayoutContent wider than its container */
|
|
19
|
-
margin: 0 calc(var(--ring-unit) * 4);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.sidebarContainer {
|
|
23
|
-
min-width: var(--ring-content-layout-sidebar-width);
|
|
24
|
-
max-width: var(--ring-content-layout-sidebar-width);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.sidebarContainerRight {
|
|
28
|
-
order: 1;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.sidebar {
|
|
32
|
-
overflow: auto;
|
|
33
|
-
|
|
34
|
-
box-sizing: border-box;
|
|
35
|
-
min-width: var(--ring-content-layout-sidebar-width);
|
|
36
|
-
max-width: var(--ring-content-layout-sidebar-width);
|
|
37
|
-
height: 100%;
|
|
38
|
-
padding-right: calc(var(--ring-unit) * 2);
|
|
39
|
-
padding-left: calc(var(--ring-unit) * 4);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.sidebarRight {
|
|
43
|
-
padding-right: calc(var(--ring-unit) * 4);
|
|
44
|
-
padding-left: calc(var(--ring-unit) * 2);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.sidebarFixedTop {
|
|
48
|
-
top: 0;
|
|
49
|
-
bottom: 0;
|
|
50
|
-
|
|
51
|
-
&.sidebarFixedTop {
|
|
52
|
-
position: fixed;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.sidebarFixedBottom.sidebarFixedBottom {
|
|
57
|
-
position: absolute;
|
|
58
|
-
top: auto;
|
|
59
|
-
bottom: 0;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.bottomMarker {
|
|
63
|
-
position: absolute;
|
|
64
|
-
bottom: 0;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.contentLayoutResponsive {
|
|
68
|
-
@media extra-small-screen-media, small-screen-media {
|
|
69
|
-
& .contentLayoutContent {
|
|
70
|
-
margin: 0 16px;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
& .sidebar {
|
|
74
|
-
position: absolute;
|
|
75
|
-
top: 0;
|
|
76
|
-
bottom: 0;
|
|
77
|
-
left: 0;
|
|
78
|
-
|
|
79
|
-
box-sizing: content-box;
|
|
80
|
-
padding: 0 16px;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
& .sidebarFixedTop {
|
|
84
|
-
position: fixed;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
& .sidebarFixedBottom {
|
|
88
|
-
top: auto;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
& .sidebarRight {
|
|
92
|
-
right: 0;
|
|
93
|
-
left: auto;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
& .sidebarContainer {
|
|
97
|
-
min-width: 0;
|
|
98
|
-
max-width: 0;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
@media extra-small-screen-media {
|
|
103
|
-
& .sidebar {
|
|
104
|
-
width: 80%;
|
|
105
|
-
min-width: 0;
|
|
106
|
-
max-width: none;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Component, type HTMLAttributes } from 'react';
|
|
2
|
-
export interface ContentLayoutProps extends HTMLAttributes<HTMLElement> {
|
|
3
|
-
responsive: boolean;
|
|
4
|
-
contentClassName?: string | null | undefined;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* @name Content Layout
|
|
8
|
-
* @deprecated Will be removed in Ring UI 8.0.
|
|
9
|
-
*/
|
|
10
|
-
export default class ContentLayout extends Component<ContentLayoutProps> {
|
|
11
|
-
static defaultProps: {
|
|
12
|
-
responsive: boolean;
|
|
13
|
-
};
|
|
14
|
-
state: {
|
|
15
|
-
contentNode: null;
|
|
16
|
-
};
|
|
17
|
-
saveContentNode: (contentNode: HTMLElement | null) => void;
|
|
18
|
-
render(): import("react").JSX.Element;
|
|
19
|
-
}
|
|
20
|
-
export { default as Sidebar } from './sidebar';
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Children, cloneElement, Component } from 'react';
|
|
2
|
-
import classNames from 'classnames';
|
|
3
|
-
import Sidebar from './sidebar';
|
|
4
|
-
import styles from './content-layout.css';
|
|
5
|
-
/**
|
|
6
|
-
* @name Content Layout
|
|
7
|
-
* @deprecated Will be removed in Ring UI 8.0.
|
|
8
|
-
*/
|
|
9
|
-
export default class ContentLayout extends Component {
|
|
10
|
-
static defaultProps = {
|
|
11
|
-
responsive: true,
|
|
12
|
-
};
|
|
13
|
-
state = {
|
|
14
|
-
contentNode: null,
|
|
15
|
-
};
|
|
16
|
-
saveContentNode = (contentNode) => {
|
|
17
|
-
this.setState({ contentNode });
|
|
18
|
-
};
|
|
19
|
-
render() {
|
|
20
|
-
const { children, className, contentClassName, responsive, ...restProps } = this.props;
|
|
21
|
-
const classes = classNames(styles.contentLayout, className, {
|
|
22
|
-
[styles.contentLayoutResponsive]: responsive,
|
|
23
|
-
});
|
|
24
|
-
const contentClasses = classNames(styles.contentLayoutContent, contentClassName);
|
|
25
|
-
const childrenArray = Children.toArray(children);
|
|
26
|
-
const sidebarChild = childrenArray.filter((child) => !!child && typeof child === 'object' && 'type' in child && child.type === Sidebar)[0];
|
|
27
|
-
const sidebar = sidebarChild &&
|
|
28
|
-
cloneElement(sidebarChild, {
|
|
29
|
-
contentNode: this.state.contentNode,
|
|
30
|
-
});
|
|
31
|
-
const contentChildren = childrenArray.filter(child => child !== sidebarChild);
|
|
32
|
-
return (<div data-test='content-layout' {...restProps} className={classes}>
|
|
33
|
-
{sidebar}
|
|
34
|
-
<main className={contentClasses} ref={this.saveContentNode}>
|
|
35
|
-
{contentChildren}
|
|
36
|
-
</main>
|
|
37
|
-
</div>);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
export { default as Sidebar } from './sidebar';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Component, type HTMLAttributes } from 'react';
|
|
2
|
-
import { Waypoint } from 'react-waypoint';
|
|
3
|
-
export interface SidebarProps extends HTMLAttributes<HTMLElement> {
|
|
4
|
-
right?: boolean | null | undefined;
|
|
5
|
-
containerClassName?: string | null | undefined;
|
|
6
|
-
fixedClassName?: string | null | undefined;
|
|
7
|
-
contentNode?: HTMLElement | null | undefined;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @name Sidebar
|
|
11
|
-
* @deprecated Will be removed in Ring UI 8.0.
|
|
12
|
-
*/
|
|
13
|
-
export default class Sidebar extends Component<SidebarProps> {
|
|
14
|
-
state: {
|
|
15
|
-
topIsOutside: boolean;
|
|
16
|
-
bottomIsOutside: boolean;
|
|
17
|
-
sidebarVisibleHeight: undefined;
|
|
18
|
-
};
|
|
19
|
-
sidebarNode?: HTMLElement | null;
|
|
20
|
-
handleTopWaypoint: ({ currentPosition }: Waypoint.CallbackArgs) => void;
|
|
21
|
-
handleBottomWaypoint: ({ currentPosition, waypointTop }: Waypoint.CallbackArgs) => void;
|
|
22
|
-
shouldUseFixation(): boolean;
|
|
23
|
-
shouldFixateBottom(): boolean;
|
|
24
|
-
sidebarRef: (node: HTMLElement | null) => void;
|
|
25
|
-
render(): import("react").JSX.Element;
|
|
26
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import classNames from 'classnames';
|
|
3
|
-
import { Waypoint } from 'react-waypoint';
|
|
4
|
-
import styles from './content-layout.css';
|
|
5
|
-
const ABOVE = 'above';
|
|
6
|
-
const INSIDE = 'inside';
|
|
7
|
-
/**
|
|
8
|
-
* @name Sidebar
|
|
9
|
-
* @deprecated Will be removed in Ring UI 8.0.
|
|
10
|
-
*/
|
|
11
|
-
export default class Sidebar extends Component {
|
|
12
|
-
state = {
|
|
13
|
-
topIsOutside: true,
|
|
14
|
-
bottomIsOutside: true,
|
|
15
|
-
sidebarVisibleHeight: undefined,
|
|
16
|
-
};
|
|
17
|
-
sidebarNode;
|
|
18
|
-
handleTopWaypoint = ({ currentPosition }) => {
|
|
19
|
-
this.setState({ topIsOutside: currentPosition === ABOVE });
|
|
20
|
-
};
|
|
21
|
-
handleBottomWaypoint = ({ currentPosition, waypointTop }) => {
|
|
22
|
-
this.setState({
|
|
23
|
-
sidebarVisibleHeight: waypointTop,
|
|
24
|
-
bottomIsOutside: currentPosition !== INSIDE,
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
shouldUseFixation() {
|
|
28
|
-
const { contentNode } = this.props;
|
|
29
|
-
const { sidebarNode } = this;
|
|
30
|
-
if (!contentNode || !sidebarNode) {
|
|
31
|
-
return false;
|
|
32
|
-
}
|
|
33
|
-
return contentNode.offsetHeight >= sidebarNode.offsetHeight;
|
|
34
|
-
}
|
|
35
|
-
shouldFixateBottom() {
|
|
36
|
-
const { topIsOutside, bottomIsOutside } = this.state;
|
|
37
|
-
return !bottomIsOutside && topIsOutside && this.shouldUseFixation();
|
|
38
|
-
}
|
|
39
|
-
sidebarRef = (node) => {
|
|
40
|
-
this.sidebarNode = node;
|
|
41
|
-
};
|
|
42
|
-
render() {
|
|
43
|
-
const { right, children, className, containerClassName, fixedClassName, contentNode, ...restProps } = this.props;
|
|
44
|
-
const { topIsOutside, bottomIsOutside, sidebarVisibleHeight } = this.state;
|
|
45
|
-
const shouldFixateTop = bottomIsOutside && topIsOutside && this.shouldUseFixation();
|
|
46
|
-
const shouldFixateBottom = this.shouldFixateBottom();
|
|
47
|
-
const containerClasses = classNames(styles.sidebarContainer, containerClassName, {
|
|
48
|
-
[styles.sidebarContainerRight]: right,
|
|
49
|
-
});
|
|
50
|
-
const classes = classNames(styles.sidebar, className, {
|
|
51
|
-
[styles.sidebarRight]: right,
|
|
52
|
-
[styles.sidebarFixedTop]: shouldFixateTop,
|
|
53
|
-
[styles.sidebarFixedBottom]: shouldFixateBottom,
|
|
54
|
-
[fixedClassName ?? '']: shouldFixateTop || shouldFixateBottom,
|
|
55
|
-
});
|
|
56
|
-
const style = {
|
|
57
|
-
maxHeight: shouldFixateBottom && sidebarVisibleHeight ? `${sidebarVisibleHeight}px` : undefined,
|
|
58
|
-
};
|
|
59
|
-
return (<aside className={containerClasses} ref={this.sidebarRef}>
|
|
60
|
-
<Waypoint onEnter={this.handleTopWaypoint} onLeave={this.handleTopWaypoint}/>
|
|
61
|
-
|
|
62
|
-
<div {...restProps} style={style} className={classes}>
|
|
63
|
-
{children}
|
|
64
|
-
</div>
|
|
65
|
-
|
|
66
|
-
<div className={styles.bottomMarker}>
|
|
67
|
-
<Waypoint onEnter={this.handleBottomWaypoint} onLeave={this.handleBottomWaypoint}/>
|
|
68
|
-
</div>
|
|
69
|
-
</aside>);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type RefObject } from 'react';
|
|
2
|
-
export declare function useIntersectionObserver(containerRef: RefObject<HTMLElement | null>, scrollMargin?: number): IntersectionObserverHandle | null;
|
|
3
|
-
export interface IntersectionObserverHandle {
|
|
4
|
-
observeVisibility(element: Element, setVisible: (isVisible: boolean) => void): () => void;
|
|
5
|
-
}
|
|
6
|
-
export declare function useVisibility(handle: IntersectionObserverHandle | null, elementRef: RefObject<Element | null>): boolean;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { useEffect, useState } from 'react';
|
|
2
|
-
export function useIntersectionObserver(containerRef, scrollMargin = 0) {
|
|
3
|
-
const [handle, setHandle] = useState(null);
|
|
4
|
-
useEffect(() => {
|
|
5
|
-
const container = containerRef.current;
|
|
6
|
-
if (!container)
|
|
7
|
-
return;
|
|
8
|
-
const elementToSetVisible = new Map();
|
|
9
|
-
const observer = new IntersectionObserver(entries => {
|
|
10
|
-
for (const entry of entries) {
|
|
11
|
-
const setVisible = elementToSetVisible.get(entry.target);
|
|
12
|
-
setVisible?.(entry.isIntersecting);
|
|
13
|
-
}
|
|
14
|
-
}, {
|
|
15
|
-
root: container,
|
|
16
|
-
...(scrollMargin
|
|
17
|
-
? {
|
|
18
|
-
scrollMargin: `${scrollMargin}px`,
|
|
19
|
-
}
|
|
20
|
-
: {}),
|
|
21
|
-
});
|
|
22
|
-
setHandle({
|
|
23
|
-
observeVisibility(element, setVisible) {
|
|
24
|
-
elementToSetVisible.set(element, setVisible);
|
|
25
|
-
observer.observe(element);
|
|
26
|
-
return () => {
|
|
27
|
-
elementToSetVisible.delete(element);
|
|
28
|
-
observer.unobserve(element);
|
|
29
|
-
};
|
|
30
|
-
},
|
|
31
|
-
});
|
|
32
|
-
return () => {
|
|
33
|
-
observer.disconnect();
|
|
34
|
-
setHandle(null);
|
|
35
|
-
};
|
|
36
|
-
}, [containerRef, scrollMargin]);
|
|
37
|
-
return handle;
|
|
38
|
-
}
|
|
39
|
-
export function useVisibility(handle, elementRef) {
|
|
40
|
-
const [isVisible, setIsVisible] = useState(false);
|
|
41
|
-
useEffect(() => {
|
|
42
|
-
const element = elementRef.current;
|
|
43
|
-
if (!element || !handle)
|
|
44
|
-
return;
|
|
45
|
-
return handle.observeVisibility(element, setIsVisible);
|
|
46
|
-
}, [handle, elementRef, setIsVisible]);
|
|
47
|
-
return isVisible;
|
|
48
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/* Deprecated alias of `../collapsible-group/collapsible-group.css` (removed in Ring UI 8.0).
|
|
2
|
-
Class names are forwarded via `composes` so the canonical stylesheet stays the single source of
|
|
3
|
-
the actual rules, while `import styles from '.../components/expand/collapsible-group.css'` keeps
|
|
4
|
-
returning the full token map. */
|
|
5
|
-
|
|
6
|
-
.expand {
|
|
7
|
-
composes: expand from '../collapsible-group/collapsible-group.css';
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.collapseRoot {
|
|
11
|
-
composes: collapseRoot from '../collapsible-group/collapsible-group.css';
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.hovered {
|
|
15
|
-
composes: hovered from '../collapsible-group/collapsible-group.css';
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.expanded {
|
|
19
|
-
composes: expanded from '../collapsible-group/collapsible-group.css';
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.focused {
|
|
23
|
-
composes: focused from '../collapsible-group/collapsible-group.css';
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.header {
|
|
27
|
-
composes: header from '../collapsible-group/collapsible-group.css';
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.heading {
|
|
31
|
-
composes: heading from '../collapsible-group/collapsible-group.css';
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.headerButton {
|
|
35
|
-
composes: headerButton from '../collapsible-group/collapsible-group.css';
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.headerStatic {
|
|
39
|
-
composes: headerStatic from '../collapsible-group/collapsible-group.css';
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.headerContent {
|
|
43
|
-
composes: headerContent from '../collapsible-group/collapsible-group.css';
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.avatarGroup {
|
|
47
|
-
composes: avatarGroup from '../collapsible-group/collapsible-group.css';
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.title {
|
|
51
|
-
composes: title from '../collapsible-group/collapsible-group.css';
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.subtitleGroup {
|
|
55
|
-
composes: subtitleGroup from '../collapsible-group/collapsible-group.css';
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.subtitle {
|
|
59
|
-
composes: subtitle from '../collapsible-group/collapsible-group.css';
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.subtitleChevron {
|
|
63
|
-
composes: subtitleChevron from '../collapsible-group/collapsible-group.css';
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.toggle {
|
|
67
|
-
composes: toggle from '../collapsible-group/collapsible-group.css';
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.toggleIcon {
|
|
71
|
-
composes: toggleIcon from '../collapsible-group/collapsible-group.css';
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.body {
|
|
75
|
-
composes: body from '../collapsible-group/collapsible-group.css';
|
|
76
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type CollapsibleGroupProps } from '../collapsible-group/collapsible-group';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated The `expand` module has been renamed to `collapsible-group`. This re-export will be removed in
|
|
4
|
-
* Ring UI 8.0. Use `CollapsibleGroup` from `@jetbrains/ring-ui/components/collapsible-group/collapsible-group` instead.
|
|
5
|
-
*/
|
|
6
|
-
declare const DeprecatedCollapsibleGroup: import("react").ForwardRefExoticComponent<CollapsibleGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
-
export type { CollapsibleGroupProps };
|
|
8
|
-
export default DeprecatedCollapsibleGroup;
|