@wallarm-org/design-system 1.13.0 → 1.14.0
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/Resizable/ResizableContext.d.ts +6 -0
- package/dist/components/Resizable/ResizableContext.js +9 -0
- package/dist/components/Resizable/ResizableHandle.d.ts +9 -0
- package/dist/components/Resizable/ResizableHandle.js +29 -0
- package/dist/components/Resizable/ResizablePanel.d.ts +9 -0
- package/dist/components/Resizable/ResizablePanel.js +16 -0
- package/dist/components/Resizable/ResizablePanelGroup.d.ts +9 -0
- package/dist/components/Resizable/ResizablePanelGroup.js +25 -0
- package/dist/components/Resizable/classes.d.ts +4 -0
- package/dist/components/Resizable/classes.js +15 -0
- package/dist/components/Resizable/index.d.ts +3 -0
- package/dist/components/Resizable/index.js +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/metadata/components.json +961 -3
- package/package.json +2 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { createContext, useContext } from "react";
|
|
2
|
+
const ResizableContext = createContext({
|
|
3
|
+
orientation: 'horizontal'
|
|
4
|
+
});
|
|
5
|
+
const ResizableProvider = ResizableContext.Provider;
|
|
6
|
+
function useResizableContext() {
|
|
7
|
+
return useContext(ResizableContext);
|
|
8
|
+
}
|
|
9
|
+
export { ResizableProvider, useResizableContext };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FC, HTMLAttributes, Ref } from 'react';
|
|
2
|
+
import { type SeparatorProps } from 'react-resizable-panels';
|
|
3
|
+
import { type TestableProps } from '../../utils/testId';
|
|
4
|
+
export interface ResizableHandleProps extends Omit<HTMLAttributes<HTMLDivElement>, 'id' | 'role' | 'tabIndex'>, Pick<SeparatorProps, 'disabled' | 'disableDoubleClick'>, TestableProps {
|
|
5
|
+
ref?: Ref<HTMLDivElement>;
|
|
6
|
+
/** Show a visible grip icon on the handle. */
|
|
7
|
+
withHandle?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const ResizableHandle: FC<ResizableHandleProps>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Separator } from "react-resizable-panels";
|
|
3
|
+
import { GripVertical } from "../../icons/index.js";
|
|
4
|
+
import { cn } from "../../utils/cn.js";
|
|
5
|
+
import { useTestId } from "../../utils/testId.js";
|
|
6
|
+
import { resizableHandleGripVariants, resizableHandleVariants } from "./classes.js";
|
|
7
|
+
import { useResizableContext } from "./ResizableContext.js";
|
|
8
|
+
const ResizableHandle = ({ ref, className, withHandle = false, 'data-testid': testIdProp, ...props })=>{
|
|
9
|
+
const testId = useTestId('handle', testIdProp);
|
|
10
|
+
const { orientation } = useResizableContext();
|
|
11
|
+
return /*#__PURE__*/ jsx(Separator, {
|
|
12
|
+
...props,
|
|
13
|
+
elementRef: ref,
|
|
14
|
+
"data-slot": "resizable-handle",
|
|
15
|
+
"data-testid": testId,
|
|
16
|
+
className: cn(resizableHandleVariants({
|
|
17
|
+
orientation
|
|
18
|
+
}), className),
|
|
19
|
+
children: withHandle && /*#__PURE__*/ jsx("div", {
|
|
20
|
+
className: resizableHandleGripVariants(),
|
|
21
|
+
"data-slot": "resizable-handle-grip",
|
|
22
|
+
children: /*#__PURE__*/ jsx(GripVertical, {
|
|
23
|
+
className: "size-10"
|
|
24
|
+
})
|
|
25
|
+
})
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
ResizableHandle.displayName = 'ResizableHandle';
|
|
29
|
+
export { ResizableHandle };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FC, HTMLAttributes, Ref } from 'react';
|
|
2
|
+
import { type PanelProps } from 'react-resizable-panels';
|
|
3
|
+
import { type TestableProps } from '../../utils/testId';
|
|
4
|
+
export interface ResizablePanelProps extends Omit<HTMLAttributes<HTMLDivElement>, 'id' | 'onResize'>, Pick<PanelProps, 'collapsedSize' | 'collapsible' | 'defaultSize' | 'disabled' | 'groupResizeBehavior' | 'maxSize' | 'minSize' | 'onResize' | 'panelRef'>, TestableProps {
|
|
5
|
+
ref?: Ref<HTMLDivElement>;
|
|
6
|
+
/** Unique panel identity for layout persistence. */
|
|
7
|
+
id?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const ResizablePanel: FC<ResizablePanelProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Panel } from "react-resizable-panels";
|
|
3
|
+
import { cn } from "../../utils/cn.js";
|
|
4
|
+
import { useTestId } from "../../utils/testId.js";
|
|
5
|
+
const ResizablePanel = ({ ref, className, 'data-testid': testIdProp, ...props })=>{
|
|
6
|
+
const testId = useTestId('panel', testIdProp);
|
|
7
|
+
return /*#__PURE__*/ jsx(Panel, {
|
|
8
|
+
...props,
|
|
9
|
+
elementRef: ref,
|
|
10
|
+
"data-slot": "resizable-panel",
|
|
11
|
+
"data-testid": testId,
|
|
12
|
+
className: cn(className)
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
ResizablePanel.displayName = 'ResizablePanel';
|
|
16
|
+
export { ResizablePanel };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FC, HTMLAttributes, Ref } from 'react';
|
|
2
|
+
import { type GroupProps } from 'react-resizable-panels';
|
|
3
|
+
import { type TestableProps } from '../../utils/testId';
|
|
4
|
+
export interface ResizablePanelGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'id'>, Pick<GroupProps, 'defaultLayout' | 'disabled' | 'groupRef' | 'onLayoutChange' | 'onLayoutChanged' | 'orientation'>, TestableProps {
|
|
5
|
+
ref?: Ref<HTMLDivElement>;
|
|
6
|
+
/** Unique id for layout persistence via localStorage. */
|
|
7
|
+
autoSaveId?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const ResizablePanelGroup: FC<ResizablePanelGroupProps>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Group } from "react-resizable-panels";
|
|
3
|
+
import { cn } from "../../utils/cn.js";
|
|
4
|
+
import { TestIdProvider } from "../../utils/testId.js";
|
|
5
|
+
import { ResizableProvider } from "./ResizableContext.js";
|
|
6
|
+
const ResizablePanelGroup = ({ ref, className, orientation = 'horizontal', autoSaveId, children, 'data-testid': testId, ...props })=>/*#__PURE__*/ jsx(ResizableProvider, {
|
|
7
|
+
value: {
|
|
8
|
+
orientation
|
|
9
|
+
},
|
|
10
|
+
children: /*#__PURE__*/ jsx(TestIdProvider, {
|
|
11
|
+
value: testId,
|
|
12
|
+
children: /*#__PURE__*/ jsx(Group, {
|
|
13
|
+
...props,
|
|
14
|
+
id: autoSaveId,
|
|
15
|
+
elementRef: ref,
|
|
16
|
+
orientation: orientation,
|
|
17
|
+
"data-slot": "resizable-panel-group",
|
|
18
|
+
"data-testid": testId,
|
|
19
|
+
className: cn(className),
|
|
20
|
+
children: children
|
|
21
|
+
})
|
|
22
|
+
})
|
|
23
|
+
});
|
|
24
|
+
ResizablePanelGroup.displayName = 'ResizablePanelGroup';
|
|
25
|
+
export { ResizablePanelGroup };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const resizableHandleVariants: (props?: ({
|
|
2
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
3
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4
|
+
export declare const resizableHandleGripVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { cva } from "class-variance-authority";
|
|
2
|
+
import { cn } from "../../utils/cn.js";
|
|
3
|
+
const resizableHandleVariants = cva(cn('relative', 'flex items-center justify-center', 'outline-none', 'bg-border-primary', 'before:absolute before:content-[""]', 'before:rounded-full', 'before:bg-bg-fill-brand', 'before:opacity-0', 'before:transition-opacity before:duration-150', 'after:absolute after:content-[""]', 'after:z-10', 'hover:before:opacity-100', 'data-[separator=active]:before:opacity-100', 'focus-visible:before:opacity-100', 'focus-visible:ring-2 focus-visible:ring-focus-primary focus-visible:ring-offset-0'), {
|
|
4
|
+
variants: {
|
|
5
|
+
orientation: {
|
|
6
|
+
horizontal: cn('w-px', 'cursor-col-resize', 'before:w-3 before:inset-y-0', 'after:inset-y-0 after:-inset-x-6', '[&>[data-slot=resizable-handle-grip]]:rotate-0'),
|
|
7
|
+
vertical: cn('h-px', 'cursor-row-resize', 'before:h-3 before:inset-x-0', 'after:inset-x-0 after:-inset-y-6', '[&>[data-slot=resizable-handle-grip]]:rotate-90')
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
defaultVariants: {
|
|
11
|
+
orientation: 'horizontal'
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
const resizableHandleGripVariants = cva(cn('z-20', 'flex items-center justify-center', 'size-12', 'rounded-4', 'border border-border-primary', 'bg-bg-surface-2', 'text-text-secondary'));
|
|
15
|
+
export { resizableHandleGripVariants, resizableHandleVariants };
|
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* `CalendarDateTime`, `ZonedDateTime`, `Time`) come from
|
|
10
10
|
* `@internationalized/date`.
|
|
11
11
|
*/
|
|
12
|
+
export { useGroupRef, usePanelRef, } from 'react-resizable-panels';
|
|
12
13
|
export { usePagination, usePaginationContext } from '@ark-ui/react/pagination';
|
|
13
14
|
export { CalendarDate, CalendarDateTime, getLocalTimeZone, parseDate, parseDateTime, parseTime, parseZonedDateTime, Time, today, ZonedDateTime, } from '@internationalized/date';
|
|
14
15
|
export { Accordion, AccordionActions, type AccordionActionsProps, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type AccordionValueChangeDetails, type AccordionVariant, } from './components/Accordion';
|
|
@@ -64,6 +65,7 @@ export { Popover, PopoverContent, PopoverTrigger } from './components/Popover';
|
|
|
64
65
|
export { Progress, type ProgressColor, type ProgressProps, } from './components/Progress';
|
|
65
66
|
export { Radio, RadioDescription, type RadioDescriptionProps, RadioGroup, type RadioGroupProps, RadioIndicator, RadioLabel, type RadioLabelProps, type RadioProps, } from './components/Radio';
|
|
66
67
|
export { type BreadcrumbSegment, findFirstLinkPath, type NavConfig, type NavConfigDrill, type NavConfigGroup, type NavConfigLink, type NavConfigNode, type NavStackEntry, pushPathname, RemoteShell, RemoteShellBreadcrumb, type RemoteShellBreadcrumbProps, RemoteShellContent, type RemoteShellContentProps, type RemoteShellContextValue, RemoteShellPanel, type RemoteShellPanelProps, type RemoteShellProps, useLocationPathname, useRemoteShellContext, } from './components/RemoteShell';
|
|
68
|
+
export { ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type ResizablePanelProps, } from './components/Resizable';
|
|
67
69
|
export { getResponseCodeCategory, RESPONSE_CODE_COLOR, ResponseCode, type ResponseCodeCategory, type ResponseCodeProps, } from './components/ResponseCode';
|
|
68
70
|
export { ScrollArea, ScrollAreaContent, type ScrollAreaContentProps, ScrollAreaCorner, type ScrollAreaProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaViewport, type ScrollAreaViewportProps, } from './components/ScrollArea';
|
|
69
71
|
export { SearchModal, SearchModalBody, type SearchModalBodyProps, SearchModalContent, type SearchModalContentProps, SearchModalEmpty, type SearchModalEmptyProps, SearchModalFooter, type SearchModalFooterProps, SearchModalGroup, SearchModalGroupLabel, type SearchModalGroupLabelProps, type SearchModalGroupProps, SearchModalInput, type SearchModalInputProps, SearchModalItem, type SearchModalItemProps, type SearchModalProps, SearchModalTrigger, type SearchModalTriggerProps, useSearchModalContext, } from './components/SearchModal';
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { useGroupRef, usePanelRef } from "react-resizable-panels";
|
|
1
2
|
export { usePagination, usePaginationContext } from "@ark-ui/react/pagination";
|
|
2
3
|
export { CalendarDate, CalendarDateTime, Time, ZonedDateTime, getLocalTimeZone, parseDate, parseDateTime, parseTime, parseZonedDateTime, today } from "@internationalized/date";
|
|
3
4
|
export { Accordion, AccordionActions, AccordionContent, AccordionItem, AccordionTrigger } from "./components/Accordion/index.js";
|
|
@@ -53,6 +54,7 @@ export { Popover, PopoverContent, PopoverTrigger } from "./components/Popover/in
|
|
|
53
54
|
export { Progress } from "./components/Progress/index.js";
|
|
54
55
|
export { Radio, RadioDescription, RadioGroup, RadioIndicator, RadioLabel } from "./components/Radio/index.js";
|
|
55
56
|
export { RemoteShell, RemoteShellBreadcrumb, RemoteShellContent, RemoteShellPanel, findFirstLinkPath, pushPathname, useLocationPathname, useRemoteShellContext } from "./components/RemoteShell/index.js";
|
|
57
|
+
export { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "./components/Resizable/index.js";
|
|
56
58
|
export { RESPONSE_CODE_COLOR, ResponseCode, getResponseCodeCategory } from "./components/ResponseCode/index.js";
|
|
57
59
|
export { ScrollArea, ScrollAreaContent, ScrollAreaCorner, ScrollAreaScrollbar, ScrollAreaViewport } from "./components/ScrollArea/index.js";
|
|
58
60
|
export { SearchModal, SearchModalBody, SearchModalContent, SearchModalEmpty, SearchModalFooter, SearchModalGroup, SearchModalGroupLabel, SearchModalInput, SearchModalItem, SearchModalTrigger, useSearchModalContext } from "./components/SearchModal/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
3
|
-
"generatedAt": "2026-09-
|
|
2
|
+
"version": "1.13.0",
|
|
3
|
+
"generatedAt": "2026-09-02T21:31:52.442Z",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"name": "Accordion",
|
|
@@ -53901,6 +53901,964 @@
|
|
|
53901
53901
|
],
|
|
53902
53902
|
"examples": []
|
|
53903
53903
|
},
|
|
53904
|
+
{
|
|
53905
|
+
"name": "Resizable",
|
|
53906
|
+
"importPath": "@wallarm-org/design-system/Resizable",
|
|
53907
|
+
"props": [],
|
|
53908
|
+
"variants": [
|
|
53909
|
+
{
|
|
53910
|
+
"name": "orientation",
|
|
53911
|
+
"options": [
|
|
53912
|
+
"horizontal",
|
|
53913
|
+
"vertical"
|
|
53914
|
+
],
|
|
53915
|
+
"defaultValue": "horizontal"
|
|
53916
|
+
}
|
|
53917
|
+
],
|
|
53918
|
+
"subComponents": [
|
|
53919
|
+
{
|
|
53920
|
+
"name": "ResizableHandle",
|
|
53921
|
+
"props": [
|
|
53922
|
+
{
|
|
53923
|
+
"name": "withHandle",
|
|
53924
|
+
"type": "boolean | undefined",
|
|
53925
|
+
"required": false,
|
|
53926
|
+
"description": "Show a visible grip icon on the handle.",
|
|
53927
|
+
"defaultValue": "false"
|
|
53928
|
+
},
|
|
53929
|
+
{
|
|
53930
|
+
"name": "defaultChecked",
|
|
53931
|
+
"type": "boolean | undefined",
|
|
53932
|
+
"required": false
|
|
53933
|
+
},
|
|
53934
|
+
{
|
|
53935
|
+
"name": "defaultValue",
|
|
53936
|
+
"type": "string | number | readonly string[] | undefined",
|
|
53937
|
+
"required": false
|
|
53938
|
+
},
|
|
53939
|
+
{
|
|
53940
|
+
"name": "suppressContentEditableWarning",
|
|
53941
|
+
"type": "boolean | undefined",
|
|
53942
|
+
"required": false
|
|
53943
|
+
},
|
|
53944
|
+
{
|
|
53945
|
+
"name": "suppressHydrationWarning",
|
|
53946
|
+
"type": "boolean | undefined",
|
|
53947
|
+
"required": false
|
|
53948
|
+
},
|
|
53949
|
+
{
|
|
53950
|
+
"name": "accessKey",
|
|
53951
|
+
"type": "string | undefined",
|
|
53952
|
+
"required": false
|
|
53953
|
+
},
|
|
53954
|
+
{
|
|
53955
|
+
"name": "autoCapitalize",
|
|
53956
|
+
"type": "\"off\" | \"none\" | \"on\" | \"sentences\" | \"words\" | \"characters\" | (string & {}) | undefined",
|
|
53957
|
+
"required": false
|
|
53958
|
+
},
|
|
53959
|
+
{
|
|
53960
|
+
"name": "autoFocus",
|
|
53961
|
+
"type": "boolean | undefined",
|
|
53962
|
+
"required": false
|
|
53963
|
+
},
|
|
53964
|
+
{
|
|
53965
|
+
"name": "contentEditable",
|
|
53966
|
+
"type": "Booleanish | \"inherit\" | \"plaintext-only\" | undefined",
|
|
53967
|
+
"required": false
|
|
53968
|
+
},
|
|
53969
|
+
{
|
|
53970
|
+
"name": "contextMenu",
|
|
53971
|
+
"type": "string | undefined",
|
|
53972
|
+
"required": false
|
|
53973
|
+
},
|
|
53974
|
+
{
|
|
53975
|
+
"name": "dir",
|
|
53976
|
+
"type": "string | undefined",
|
|
53977
|
+
"required": false
|
|
53978
|
+
},
|
|
53979
|
+
{
|
|
53980
|
+
"name": "draggable",
|
|
53981
|
+
"type": "Booleanish | undefined",
|
|
53982
|
+
"required": false
|
|
53983
|
+
},
|
|
53984
|
+
{
|
|
53985
|
+
"name": "enterKeyHint",
|
|
53986
|
+
"type": "\"enter\" | \"done\" | \"go\" | \"next\" | \"previous\" | \"search\" | \"send\" | undefined",
|
|
53987
|
+
"required": false
|
|
53988
|
+
},
|
|
53989
|
+
{
|
|
53990
|
+
"name": "hidden",
|
|
53991
|
+
"type": "boolean | undefined",
|
|
53992
|
+
"required": false
|
|
53993
|
+
},
|
|
53994
|
+
{
|
|
53995
|
+
"name": "lang",
|
|
53996
|
+
"type": "string | undefined",
|
|
53997
|
+
"required": false
|
|
53998
|
+
},
|
|
53999
|
+
{
|
|
54000
|
+
"name": "nonce",
|
|
54001
|
+
"type": "string | undefined",
|
|
54002
|
+
"required": false
|
|
54003
|
+
},
|
|
54004
|
+
{
|
|
54005
|
+
"name": "slot",
|
|
54006
|
+
"type": "string | undefined",
|
|
54007
|
+
"required": false
|
|
54008
|
+
},
|
|
54009
|
+
{
|
|
54010
|
+
"name": "spellCheck",
|
|
54011
|
+
"type": "Booleanish | undefined",
|
|
54012
|
+
"required": false
|
|
54013
|
+
},
|
|
54014
|
+
{
|
|
54015
|
+
"name": "title",
|
|
54016
|
+
"type": "string | undefined",
|
|
54017
|
+
"required": false
|
|
54018
|
+
},
|
|
54019
|
+
{
|
|
54020
|
+
"name": "translate",
|
|
54021
|
+
"type": "\"yes\" | \"no\" | undefined",
|
|
54022
|
+
"required": false
|
|
54023
|
+
},
|
|
54024
|
+
{
|
|
54025
|
+
"name": "radioGroup",
|
|
54026
|
+
"type": "string | undefined",
|
|
54027
|
+
"required": false
|
|
54028
|
+
},
|
|
54029
|
+
{
|
|
54030
|
+
"name": "about",
|
|
54031
|
+
"type": "string | undefined",
|
|
54032
|
+
"required": false
|
|
54033
|
+
},
|
|
54034
|
+
{
|
|
54035
|
+
"name": "content",
|
|
54036
|
+
"type": "string | undefined",
|
|
54037
|
+
"required": false
|
|
54038
|
+
},
|
|
54039
|
+
{
|
|
54040
|
+
"name": "datatype",
|
|
54041
|
+
"type": "string | undefined",
|
|
54042
|
+
"required": false
|
|
54043
|
+
},
|
|
54044
|
+
{
|
|
54045
|
+
"name": "inlist",
|
|
54046
|
+
"type": "any",
|
|
54047
|
+
"required": false
|
|
54048
|
+
},
|
|
54049
|
+
{
|
|
54050
|
+
"name": "prefix",
|
|
54051
|
+
"type": "string | undefined",
|
|
54052
|
+
"required": false
|
|
54053
|
+
},
|
|
54054
|
+
{
|
|
54055
|
+
"name": "property",
|
|
54056
|
+
"type": "string | undefined",
|
|
54057
|
+
"required": false
|
|
54058
|
+
},
|
|
54059
|
+
{
|
|
54060
|
+
"name": "rel",
|
|
54061
|
+
"type": "string | undefined",
|
|
54062
|
+
"required": false
|
|
54063
|
+
},
|
|
54064
|
+
{
|
|
54065
|
+
"name": "resource",
|
|
54066
|
+
"type": "string | undefined",
|
|
54067
|
+
"required": false
|
|
54068
|
+
},
|
|
54069
|
+
{
|
|
54070
|
+
"name": "rev",
|
|
54071
|
+
"type": "string | undefined",
|
|
54072
|
+
"required": false
|
|
54073
|
+
},
|
|
54074
|
+
{
|
|
54075
|
+
"name": "typeof",
|
|
54076
|
+
"type": "string | undefined",
|
|
54077
|
+
"required": false
|
|
54078
|
+
},
|
|
54079
|
+
{
|
|
54080
|
+
"name": "vocab",
|
|
54081
|
+
"type": "string | undefined",
|
|
54082
|
+
"required": false
|
|
54083
|
+
},
|
|
54084
|
+
{
|
|
54085
|
+
"name": "autoCorrect",
|
|
54086
|
+
"type": "string | undefined",
|
|
54087
|
+
"required": false
|
|
54088
|
+
},
|
|
54089
|
+
{
|
|
54090
|
+
"name": "autoSave",
|
|
54091
|
+
"type": "string | undefined",
|
|
54092
|
+
"required": false
|
|
54093
|
+
},
|
|
54094
|
+
{
|
|
54095
|
+
"name": "color",
|
|
54096
|
+
"type": "string | undefined",
|
|
54097
|
+
"required": false
|
|
54098
|
+
},
|
|
54099
|
+
{
|
|
54100
|
+
"name": "itemProp",
|
|
54101
|
+
"type": "string | undefined",
|
|
54102
|
+
"required": false
|
|
54103
|
+
},
|
|
54104
|
+
{
|
|
54105
|
+
"name": "itemScope",
|
|
54106
|
+
"type": "boolean | undefined",
|
|
54107
|
+
"required": false
|
|
54108
|
+
},
|
|
54109
|
+
{
|
|
54110
|
+
"name": "itemType",
|
|
54111
|
+
"type": "string | undefined",
|
|
54112
|
+
"required": false
|
|
54113
|
+
},
|
|
54114
|
+
{
|
|
54115
|
+
"name": "itemID",
|
|
54116
|
+
"type": "string | undefined",
|
|
54117
|
+
"required": false
|
|
54118
|
+
},
|
|
54119
|
+
{
|
|
54120
|
+
"name": "itemRef",
|
|
54121
|
+
"type": "string | undefined",
|
|
54122
|
+
"required": false
|
|
54123
|
+
},
|
|
54124
|
+
{
|
|
54125
|
+
"name": "results",
|
|
54126
|
+
"type": "number | undefined",
|
|
54127
|
+
"required": false
|
|
54128
|
+
},
|
|
54129
|
+
{
|
|
54130
|
+
"name": "security",
|
|
54131
|
+
"type": "string | undefined",
|
|
54132
|
+
"required": false
|
|
54133
|
+
},
|
|
54134
|
+
{
|
|
54135
|
+
"name": "unselectable",
|
|
54136
|
+
"type": "\"off\" | \"on\" | undefined",
|
|
54137
|
+
"required": false
|
|
54138
|
+
},
|
|
54139
|
+
{
|
|
54140
|
+
"name": "popover",
|
|
54141
|
+
"type": "\"\" | \"auto\" | \"manual\" | \"hint\" | undefined",
|
|
54142
|
+
"required": false
|
|
54143
|
+
},
|
|
54144
|
+
{
|
|
54145
|
+
"name": "popoverTargetAction",
|
|
54146
|
+
"type": "\"toggle\" | \"show\" | \"hide\" | undefined",
|
|
54147
|
+
"required": false
|
|
54148
|
+
},
|
|
54149
|
+
{
|
|
54150
|
+
"name": "popoverTarget",
|
|
54151
|
+
"type": "string | undefined",
|
|
54152
|
+
"required": false
|
|
54153
|
+
},
|
|
54154
|
+
{
|
|
54155
|
+
"name": "inert",
|
|
54156
|
+
"type": "boolean | undefined",
|
|
54157
|
+
"required": false,
|
|
54158
|
+
"description": "@see {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert}"
|
|
54159
|
+
},
|
|
54160
|
+
{
|
|
54161
|
+
"name": "inputMode",
|
|
54162
|
+
"type": "\"none\" | \"search\" | \"text\" | \"tel\" | \"url\" | \"email\" | \"numeric\" | \"decimal\" | undefined",
|
|
54163
|
+
"required": false,
|
|
54164
|
+
"description": "Hints at the type of data that might be entered by the user while editing the element or its contents"
|
|
54165
|
+
},
|
|
54166
|
+
{
|
|
54167
|
+
"name": "is",
|
|
54168
|
+
"type": "string | undefined",
|
|
54169
|
+
"required": false,
|
|
54170
|
+
"description": "Specify that a standard HTML element should behave like a defined custom built-in element"
|
|
54171
|
+
},
|
|
54172
|
+
{
|
|
54173
|
+
"name": "exportparts",
|
|
54174
|
+
"type": "string | undefined",
|
|
54175
|
+
"required": false,
|
|
54176
|
+
"description": "@see {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts}"
|
|
54177
|
+
},
|
|
54178
|
+
{
|
|
54179
|
+
"name": "part",
|
|
54180
|
+
"type": "string | undefined",
|
|
54181
|
+
"required": false,
|
|
54182
|
+
"description": "@see {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part}"
|
|
54183
|
+
},
|
|
54184
|
+
{
|
|
54185
|
+
"name": "disabled",
|
|
54186
|
+
"type": "boolean | undefined",
|
|
54187
|
+
"required": false,
|
|
54188
|
+
"description": "When disabled, the separator cannot be used to resize its neighboring panels.\r\n\r\nℹ️ The panels may still be resized indirectly (while other panels are being resized).\r\nTo prevent a panel from being resized at all, it needs to also be disabled."
|
|
54189
|
+
},
|
|
54190
|
+
{
|
|
54191
|
+
"name": "disableDoubleClick",
|
|
54192
|
+
"type": "boolean | undefined",
|
|
54193
|
+
"required": false,
|
|
54194
|
+
"description": "When true, double-clicking this `Separator` will not reset its `Panel` to its default size."
|
|
54195
|
+
}
|
|
54196
|
+
]
|
|
54197
|
+
},
|
|
54198
|
+
{
|
|
54199
|
+
"name": "ResizablePanel",
|
|
54200
|
+
"props": [
|
|
54201
|
+
{
|
|
54202
|
+
"name": "id",
|
|
54203
|
+
"type": "string | undefined",
|
|
54204
|
+
"required": false,
|
|
54205
|
+
"description": "Unique panel identity for layout persistence."
|
|
54206
|
+
},
|
|
54207
|
+
{
|
|
54208
|
+
"name": "role",
|
|
54209
|
+
"type": "AriaRole | undefined",
|
|
54210
|
+
"required": false
|
|
54211
|
+
},
|
|
54212
|
+
{
|
|
54213
|
+
"name": "tabIndex",
|
|
54214
|
+
"type": "number | undefined",
|
|
54215
|
+
"required": false
|
|
54216
|
+
},
|
|
54217
|
+
{
|
|
54218
|
+
"name": "defaultChecked",
|
|
54219
|
+
"type": "boolean | undefined",
|
|
54220
|
+
"required": false
|
|
54221
|
+
},
|
|
54222
|
+
{
|
|
54223
|
+
"name": "defaultValue",
|
|
54224
|
+
"type": "string | number | readonly string[] | undefined",
|
|
54225
|
+
"required": false
|
|
54226
|
+
},
|
|
54227
|
+
{
|
|
54228
|
+
"name": "suppressContentEditableWarning",
|
|
54229
|
+
"type": "boolean | undefined",
|
|
54230
|
+
"required": false
|
|
54231
|
+
},
|
|
54232
|
+
{
|
|
54233
|
+
"name": "suppressHydrationWarning",
|
|
54234
|
+
"type": "boolean | undefined",
|
|
54235
|
+
"required": false
|
|
54236
|
+
},
|
|
54237
|
+
{
|
|
54238
|
+
"name": "accessKey",
|
|
54239
|
+
"type": "string | undefined",
|
|
54240
|
+
"required": false
|
|
54241
|
+
},
|
|
54242
|
+
{
|
|
54243
|
+
"name": "autoCapitalize",
|
|
54244
|
+
"type": "\"off\" | \"none\" | \"on\" | \"sentences\" | \"words\" | \"characters\" | (string & {}) | undefined",
|
|
54245
|
+
"required": false
|
|
54246
|
+
},
|
|
54247
|
+
{
|
|
54248
|
+
"name": "autoFocus",
|
|
54249
|
+
"type": "boolean | undefined",
|
|
54250
|
+
"required": false
|
|
54251
|
+
},
|
|
54252
|
+
{
|
|
54253
|
+
"name": "contentEditable",
|
|
54254
|
+
"type": "Booleanish | \"inherit\" | \"plaintext-only\" | undefined",
|
|
54255
|
+
"required": false
|
|
54256
|
+
},
|
|
54257
|
+
{
|
|
54258
|
+
"name": "contextMenu",
|
|
54259
|
+
"type": "string | undefined",
|
|
54260
|
+
"required": false
|
|
54261
|
+
},
|
|
54262
|
+
{
|
|
54263
|
+
"name": "dir",
|
|
54264
|
+
"type": "string | undefined",
|
|
54265
|
+
"required": false
|
|
54266
|
+
},
|
|
54267
|
+
{
|
|
54268
|
+
"name": "draggable",
|
|
54269
|
+
"type": "Booleanish | undefined",
|
|
54270
|
+
"required": false
|
|
54271
|
+
},
|
|
54272
|
+
{
|
|
54273
|
+
"name": "enterKeyHint",
|
|
54274
|
+
"type": "\"enter\" | \"done\" | \"go\" | \"next\" | \"previous\" | \"search\" | \"send\" | undefined",
|
|
54275
|
+
"required": false
|
|
54276
|
+
},
|
|
54277
|
+
{
|
|
54278
|
+
"name": "hidden",
|
|
54279
|
+
"type": "boolean | undefined",
|
|
54280
|
+
"required": false
|
|
54281
|
+
},
|
|
54282
|
+
{
|
|
54283
|
+
"name": "lang",
|
|
54284
|
+
"type": "string | undefined",
|
|
54285
|
+
"required": false
|
|
54286
|
+
},
|
|
54287
|
+
{
|
|
54288
|
+
"name": "nonce",
|
|
54289
|
+
"type": "string | undefined",
|
|
54290
|
+
"required": false
|
|
54291
|
+
},
|
|
54292
|
+
{
|
|
54293
|
+
"name": "slot",
|
|
54294
|
+
"type": "string | undefined",
|
|
54295
|
+
"required": false
|
|
54296
|
+
},
|
|
54297
|
+
{
|
|
54298
|
+
"name": "spellCheck",
|
|
54299
|
+
"type": "Booleanish | undefined",
|
|
54300
|
+
"required": false
|
|
54301
|
+
},
|
|
54302
|
+
{
|
|
54303
|
+
"name": "title",
|
|
54304
|
+
"type": "string | undefined",
|
|
54305
|
+
"required": false
|
|
54306
|
+
},
|
|
54307
|
+
{
|
|
54308
|
+
"name": "translate",
|
|
54309
|
+
"type": "\"yes\" | \"no\" | undefined",
|
|
54310
|
+
"required": false
|
|
54311
|
+
},
|
|
54312
|
+
{
|
|
54313
|
+
"name": "radioGroup",
|
|
54314
|
+
"type": "string | undefined",
|
|
54315
|
+
"required": false
|
|
54316
|
+
},
|
|
54317
|
+
{
|
|
54318
|
+
"name": "about",
|
|
54319
|
+
"type": "string | undefined",
|
|
54320
|
+
"required": false
|
|
54321
|
+
},
|
|
54322
|
+
{
|
|
54323
|
+
"name": "content",
|
|
54324
|
+
"type": "string | undefined",
|
|
54325
|
+
"required": false
|
|
54326
|
+
},
|
|
54327
|
+
{
|
|
54328
|
+
"name": "datatype",
|
|
54329
|
+
"type": "string | undefined",
|
|
54330
|
+
"required": false
|
|
54331
|
+
},
|
|
54332
|
+
{
|
|
54333
|
+
"name": "inlist",
|
|
54334
|
+
"type": "any",
|
|
54335
|
+
"required": false
|
|
54336
|
+
},
|
|
54337
|
+
{
|
|
54338
|
+
"name": "prefix",
|
|
54339
|
+
"type": "string | undefined",
|
|
54340
|
+
"required": false
|
|
54341
|
+
},
|
|
54342
|
+
{
|
|
54343
|
+
"name": "property",
|
|
54344
|
+
"type": "string | undefined",
|
|
54345
|
+
"required": false
|
|
54346
|
+
},
|
|
54347
|
+
{
|
|
54348
|
+
"name": "rel",
|
|
54349
|
+
"type": "string | undefined",
|
|
54350
|
+
"required": false
|
|
54351
|
+
},
|
|
54352
|
+
{
|
|
54353
|
+
"name": "resource",
|
|
54354
|
+
"type": "string | undefined",
|
|
54355
|
+
"required": false
|
|
54356
|
+
},
|
|
54357
|
+
{
|
|
54358
|
+
"name": "rev",
|
|
54359
|
+
"type": "string | undefined",
|
|
54360
|
+
"required": false
|
|
54361
|
+
},
|
|
54362
|
+
{
|
|
54363
|
+
"name": "typeof",
|
|
54364
|
+
"type": "string | undefined",
|
|
54365
|
+
"required": false
|
|
54366
|
+
},
|
|
54367
|
+
{
|
|
54368
|
+
"name": "vocab",
|
|
54369
|
+
"type": "string | undefined",
|
|
54370
|
+
"required": false
|
|
54371
|
+
},
|
|
54372
|
+
{
|
|
54373
|
+
"name": "autoCorrect",
|
|
54374
|
+
"type": "string | undefined",
|
|
54375
|
+
"required": false
|
|
54376
|
+
},
|
|
54377
|
+
{
|
|
54378
|
+
"name": "autoSave",
|
|
54379
|
+
"type": "string | undefined",
|
|
54380
|
+
"required": false
|
|
54381
|
+
},
|
|
54382
|
+
{
|
|
54383
|
+
"name": "color",
|
|
54384
|
+
"type": "string | undefined",
|
|
54385
|
+
"required": false
|
|
54386
|
+
},
|
|
54387
|
+
{
|
|
54388
|
+
"name": "itemProp",
|
|
54389
|
+
"type": "string | undefined",
|
|
54390
|
+
"required": false
|
|
54391
|
+
},
|
|
54392
|
+
{
|
|
54393
|
+
"name": "itemScope",
|
|
54394
|
+
"type": "boolean | undefined",
|
|
54395
|
+
"required": false
|
|
54396
|
+
},
|
|
54397
|
+
{
|
|
54398
|
+
"name": "itemType",
|
|
54399
|
+
"type": "string | undefined",
|
|
54400
|
+
"required": false
|
|
54401
|
+
},
|
|
54402
|
+
{
|
|
54403
|
+
"name": "itemID",
|
|
54404
|
+
"type": "string | undefined",
|
|
54405
|
+
"required": false
|
|
54406
|
+
},
|
|
54407
|
+
{
|
|
54408
|
+
"name": "itemRef",
|
|
54409
|
+
"type": "string | undefined",
|
|
54410
|
+
"required": false
|
|
54411
|
+
},
|
|
54412
|
+
{
|
|
54413
|
+
"name": "results",
|
|
54414
|
+
"type": "number | undefined",
|
|
54415
|
+
"required": false
|
|
54416
|
+
},
|
|
54417
|
+
{
|
|
54418
|
+
"name": "security",
|
|
54419
|
+
"type": "string | undefined",
|
|
54420
|
+
"required": false
|
|
54421
|
+
},
|
|
54422
|
+
{
|
|
54423
|
+
"name": "unselectable",
|
|
54424
|
+
"type": "\"off\" | \"on\" | undefined",
|
|
54425
|
+
"required": false
|
|
54426
|
+
},
|
|
54427
|
+
{
|
|
54428
|
+
"name": "popover",
|
|
54429
|
+
"type": "\"\" | \"auto\" | \"manual\" | \"hint\" | undefined",
|
|
54430
|
+
"required": false
|
|
54431
|
+
},
|
|
54432
|
+
{
|
|
54433
|
+
"name": "popoverTargetAction",
|
|
54434
|
+
"type": "\"toggle\" | \"show\" | \"hide\" | undefined",
|
|
54435
|
+
"required": false
|
|
54436
|
+
},
|
|
54437
|
+
{
|
|
54438
|
+
"name": "popoverTarget",
|
|
54439
|
+
"type": "string | undefined",
|
|
54440
|
+
"required": false
|
|
54441
|
+
},
|
|
54442
|
+
{
|
|
54443
|
+
"name": "inert",
|
|
54444
|
+
"type": "boolean | undefined",
|
|
54445
|
+
"required": false,
|
|
54446
|
+
"description": "@see {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert}"
|
|
54447
|
+
},
|
|
54448
|
+
{
|
|
54449
|
+
"name": "inputMode",
|
|
54450
|
+
"type": "\"none\" | \"search\" | \"text\" | \"tel\" | \"url\" | \"email\" | \"numeric\" | \"decimal\" | undefined",
|
|
54451
|
+
"required": false,
|
|
54452
|
+
"description": "Hints at the type of data that might be entered by the user while editing the element or its contents"
|
|
54453
|
+
},
|
|
54454
|
+
{
|
|
54455
|
+
"name": "is",
|
|
54456
|
+
"type": "string | undefined",
|
|
54457
|
+
"required": false,
|
|
54458
|
+
"description": "Specify that a standard HTML element should behave like a defined custom built-in element"
|
|
54459
|
+
},
|
|
54460
|
+
{
|
|
54461
|
+
"name": "exportparts",
|
|
54462
|
+
"type": "string | undefined",
|
|
54463
|
+
"required": false,
|
|
54464
|
+
"description": "@see {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts}"
|
|
54465
|
+
},
|
|
54466
|
+
{
|
|
54467
|
+
"name": "part",
|
|
54468
|
+
"type": "string | undefined",
|
|
54469
|
+
"required": false,
|
|
54470
|
+
"description": "@see {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part}"
|
|
54471
|
+
},
|
|
54472
|
+
{
|
|
54473
|
+
"name": "disabled",
|
|
54474
|
+
"type": "boolean | undefined",
|
|
54475
|
+
"required": false,
|
|
54476
|
+
"description": "When disabled, a panel cannot be resized either directly or indirectly (by resizing another panel)."
|
|
54477
|
+
},
|
|
54478
|
+
{
|
|
54479
|
+
"name": "collapsedSize",
|
|
54480
|
+
"type": "string | number | undefined",
|
|
54481
|
+
"required": false,
|
|
54482
|
+
"description": "Panel size when collapsed; defaults to 0%."
|
|
54483
|
+
},
|
|
54484
|
+
{
|
|
54485
|
+
"name": "collapsible",
|
|
54486
|
+
"type": "boolean | undefined",
|
|
54487
|
+
"required": false,
|
|
54488
|
+
"description": "This panel can be collapsed.\r\n\r\nℹ️ A collapsible panel will collapse when it's size is less than of the specified `minSize`"
|
|
54489
|
+
},
|
|
54490
|
+
{
|
|
54491
|
+
"name": "defaultSize",
|
|
54492
|
+
"type": "string | number | undefined",
|
|
54493
|
+
"required": false,
|
|
54494
|
+
"description": "Default size of Panel within its parent group; default is auto-assigned based on the total number of Panels.\r\n\r\nℹ️ Interpretation rules:\r\n- Numbers are interpreted as pixels (e.g. `defaultSize={200}` is 200 pixels)\r\n- Strings without explicit units are interpreted as percentage (e.g. `defaultSize=\"50\"` is 50 percent)\r\n- Use explicit units (e.g. \"px\", \"%\", \"em\", \"rem\", \"vh\", or \"vw\") to change interpretation\r\n\r\n⚠️ Percentage based sizes may cause slight layout shift when server-rendering.\r\nFor more information see the documentation."
|
|
54495
|
+
},
|
|
54496
|
+
{
|
|
54497
|
+
"name": "groupResizeBehavior",
|
|
54498
|
+
"type": "\"preserve-relative-size\" | \"preserve-pixel-size\" | undefined",
|
|
54499
|
+
"required": false,
|
|
54500
|
+
"description": "How should this Panel behave if the parent Group is resized?\r\nDefaults to `preserve-relative-size`.\r\n\r\n- `preserve-relative-size`: Retain the current relative size (as a percentage of the Group)\r\n- `preserve-pixel-size`: Retain its current size (in pixels)\r\n\r\nℹ️ Panel min/max size constraints may impact this behavior.\r\n\r\n⚠️ A Group must contain at least one Panel with `preserve-relative-size` resize behavior."
|
|
54501
|
+
},
|
|
54502
|
+
{
|
|
54503
|
+
"name": "maxSize",
|
|
54504
|
+
"type": "string | number | undefined",
|
|
54505
|
+
"required": false,
|
|
54506
|
+
"description": "Maximum size of Panel within its parent group; defaults to `\"100%\"`.\r\n\r\nℹ️ Interpretation rules:\r\n- Numbers are interpreted as pixels (e.g. `maxSize={200}` is 200 pixels)\r\n- Strings without explicit units are interpreted as percentage (e.g. `maxSize=\"50\"` is 50 percent)\r\n- Use explicit units (e.g. \"px\", \"%\", \"em\", \"rem\", \"vh\", or \"vw\") to change interpretation"
|
|
54507
|
+
},
|
|
54508
|
+
{
|
|
54509
|
+
"name": "minSize",
|
|
54510
|
+
"type": "string | number | undefined",
|
|
54511
|
+
"required": false,
|
|
54512
|
+
"description": "Minimum size of Panel within its parent group; defaults to 0%.\r\n\r\nℹ️ Interpretation rules:\r\n- Numbers are interpreted as pixels (e.g. `minSize={200}` is 200 pixels)\r\n- Strings without explicit units are interpreted as percentage (e.g. `minSize=\"50\"` is 50 percent)\r\n- Use explicit units (e.g. \"px\", \"%\", \"em\", \"rem\", \"vh\", or \"vw\") to change interpretation"
|
|
54513
|
+
},
|
|
54514
|
+
{
|
|
54515
|
+
"name": "panelRef",
|
|
54516
|
+
"type": "complex",
|
|
54517
|
+
"required": false,
|
|
54518
|
+
"description": "Exposes the following imperative API:\r\n- `collapse(): void`\r\n- `expand(): void`\r\n- `getSize(): number`\r\n- `isCollapsed(): boolean`\r\n- `resize(size: number): void`\r\n\r\nℹ️ The `usePanelRef` and `usePanelCallbackRef` hooks are exported for convenience use in TypeScript projects."
|
|
54519
|
+
}
|
|
54520
|
+
]
|
|
54521
|
+
},
|
|
54522
|
+
{
|
|
54523
|
+
"name": "ResizablePanelGroup",
|
|
54524
|
+
"props": [
|
|
54525
|
+
{
|
|
54526
|
+
"name": "autoSaveId",
|
|
54527
|
+
"type": "string | undefined",
|
|
54528
|
+
"required": false,
|
|
54529
|
+
"description": "Unique id for layout persistence via localStorage."
|
|
54530
|
+
},
|
|
54531
|
+
{
|
|
54532
|
+
"name": "role",
|
|
54533
|
+
"type": "AriaRole | undefined",
|
|
54534
|
+
"required": false
|
|
54535
|
+
},
|
|
54536
|
+
{
|
|
54537
|
+
"name": "tabIndex",
|
|
54538
|
+
"type": "number | undefined",
|
|
54539
|
+
"required": false
|
|
54540
|
+
},
|
|
54541
|
+
{
|
|
54542
|
+
"name": "defaultChecked",
|
|
54543
|
+
"type": "boolean | undefined",
|
|
54544
|
+
"required": false
|
|
54545
|
+
},
|
|
54546
|
+
{
|
|
54547
|
+
"name": "defaultValue",
|
|
54548
|
+
"type": "string | number | readonly string[] | undefined",
|
|
54549
|
+
"required": false
|
|
54550
|
+
},
|
|
54551
|
+
{
|
|
54552
|
+
"name": "suppressContentEditableWarning",
|
|
54553
|
+
"type": "boolean | undefined",
|
|
54554
|
+
"required": false
|
|
54555
|
+
},
|
|
54556
|
+
{
|
|
54557
|
+
"name": "suppressHydrationWarning",
|
|
54558
|
+
"type": "boolean | undefined",
|
|
54559
|
+
"required": false
|
|
54560
|
+
},
|
|
54561
|
+
{
|
|
54562
|
+
"name": "accessKey",
|
|
54563
|
+
"type": "string | undefined",
|
|
54564
|
+
"required": false
|
|
54565
|
+
},
|
|
54566
|
+
{
|
|
54567
|
+
"name": "autoCapitalize",
|
|
54568
|
+
"type": "\"off\" | \"none\" | \"on\" | \"sentences\" | \"words\" | \"characters\" | (string & {}) | undefined",
|
|
54569
|
+
"required": false
|
|
54570
|
+
},
|
|
54571
|
+
{
|
|
54572
|
+
"name": "autoFocus",
|
|
54573
|
+
"type": "boolean | undefined",
|
|
54574
|
+
"required": false
|
|
54575
|
+
},
|
|
54576
|
+
{
|
|
54577
|
+
"name": "contentEditable",
|
|
54578
|
+
"type": "Booleanish | \"inherit\" | \"plaintext-only\" | undefined",
|
|
54579
|
+
"required": false
|
|
54580
|
+
},
|
|
54581
|
+
{
|
|
54582
|
+
"name": "contextMenu",
|
|
54583
|
+
"type": "string | undefined",
|
|
54584
|
+
"required": false
|
|
54585
|
+
},
|
|
54586
|
+
{
|
|
54587
|
+
"name": "dir",
|
|
54588
|
+
"type": "string | undefined",
|
|
54589
|
+
"required": false
|
|
54590
|
+
},
|
|
54591
|
+
{
|
|
54592
|
+
"name": "draggable",
|
|
54593
|
+
"type": "Booleanish | undefined",
|
|
54594
|
+
"required": false
|
|
54595
|
+
},
|
|
54596
|
+
{
|
|
54597
|
+
"name": "enterKeyHint",
|
|
54598
|
+
"type": "\"enter\" | \"done\" | \"go\" | \"next\" | \"previous\" | \"search\" | \"send\" | undefined",
|
|
54599
|
+
"required": false
|
|
54600
|
+
},
|
|
54601
|
+
{
|
|
54602
|
+
"name": "hidden",
|
|
54603
|
+
"type": "boolean | undefined",
|
|
54604
|
+
"required": false
|
|
54605
|
+
},
|
|
54606
|
+
{
|
|
54607
|
+
"name": "lang",
|
|
54608
|
+
"type": "string | undefined",
|
|
54609
|
+
"required": false
|
|
54610
|
+
},
|
|
54611
|
+
{
|
|
54612
|
+
"name": "nonce",
|
|
54613
|
+
"type": "string | undefined",
|
|
54614
|
+
"required": false
|
|
54615
|
+
},
|
|
54616
|
+
{
|
|
54617
|
+
"name": "slot",
|
|
54618
|
+
"type": "string | undefined",
|
|
54619
|
+
"required": false
|
|
54620
|
+
},
|
|
54621
|
+
{
|
|
54622
|
+
"name": "spellCheck",
|
|
54623
|
+
"type": "Booleanish | undefined",
|
|
54624
|
+
"required": false
|
|
54625
|
+
},
|
|
54626
|
+
{
|
|
54627
|
+
"name": "title",
|
|
54628
|
+
"type": "string | undefined",
|
|
54629
|
+
"required": false
|
|
54630
|
+
},
|
|
54631
|
+
{
|
|
54632
|
+
"name": "translate",
|
|
54633
|
+
"type": "\"yes\" | \"no\" | undefined",
|
|
54634
|
+
"required": false
|
|
54635
|
+
},
|
|
54636
|
+
{
|
|
54637
|
+
"name": "radioGroup",
|
|
54638
|
+
"type": "string | undefined",
|
|
54639
|
+
"required": false
|
|
54640
|
+
},
|
|
54641
|
+
{
|
|
54642
|
+
"name": "about",
|
|
54643
|
+
"type": "string | undefined",
|
|
54644
|
+
"required": false
|
|
54645
|
+
},
|
|
54646
|
+
{
|
|
54647
|
+
"name": "content",
|
|
54648
|
+
"type": "string | undefined",
|
|
54649
|
+
"required": false
|
|
54650
|
+
},
|
|
54651
|
+
{
|
|
54652
|
+
"name": "datatype",
|
|
54653
|
+
"type": "string | undefined",
|
|
54654
|
+
"required": false
|
|
54655
|
+
},
|
|
54656
|
+
{
|
|
54657
|
+
"name": "inlist",
|
|
54658
|
+
"type": "any",
|
|
54659
|
+
"required": false
|
|
54660
|
+
},
|
|
54661
|
+
{
|
|
54662
|
+
"name": "prefix",
|
|
54663
|
+
"type": "string | undefined",
|
|
54664
|
+
"required": false
|
|
54665
|
+
},
|
|
54666
|
+
{
|
|
54667
|
+
"name": "property",
|
|
54668
|
+
"type": "string | undefined",
|
|
54669
|
+
"required": false
|
|
54670
|
+
},
|
|
54671
|
+
{
|
|
54672
|
+
"name": "rel",
|
|
54673
|
+
"type": "string | undefined",
|
|
54674
|
+
"required": false
|
|
54675
|
+
},
|
|
54676
|
+
{
|
|
54677
|
+
"name": "resource",
|
|
54678
|
+
"type": "string | undefined",
|
|
54679
|
+
"required": false
|
|
54680
|
+
},
|
|
54681
|
+
{
|
|
54682
|
+
"name": "rev",
|
|
54683
|
+
"type": "string | undefined",
|
|
54684
|
+
"required": false
|
|
54685
|
+
},
|
|
54686
|
+
{
|
|
54687
|
+
"name": "typeof",
|
|
54688
|
+
"type": "string | undefined",
|
|
54689
|
+
"required": false
|
|
54690
|
+
},
|
|
54691
|
+
{
|
|
54692
|
+
"name": "vocab",
|
|
54693
|
+
"type": "string | undefined",
|
|
54694
|
+
"required": false
|
|
54695
|
+
},
|
|
54696
|
+
{
|
|
54697
|
+
"name": "autoCorrect",
|
|
54698
|
+
"type": "string | undefined",
|
|
54699
|
+
"required": false
|
|
54700
|
+
},
|
|
54701
|
+
{
|
|
54702
|
+
"name": "autoSave",
|
|
54703
|
+
"type": "string | undefined",
|
|
54704
|
+
"required": false
|
|
54705
|
+
},
|
|
54706
|
+
{
|
|
54707
|
+
"name": "color",
|
|
54708
|
+
"type": "string | undefined",
|
|
54709
|
+
"required": false
|
|
54710
|
+
},
|
|
54711
|
+
{
|
|
54712
|
+
"name": "itemProp",
|
|
54713
|
+
"type": "string | undefined",
|
|
54714
|
+
"required": false
|
|
54715
|
+
},
|
|
54716
|
+
{
|
|
54717
|
+
"name": "itemScope",
|
|
54718
|
+
"type": "boolean | undefined",
|
|
54719
|
+
"required": false
|
|
54720
|
+
},
|
|
54721
|
+
{
|
|
54722
|
+
"name": "itemType",
|
|
54723
|
+
"type": "string | undefined",
|
|
54724
|
+
"required": false
|
|
54725
|
+
},
|
|
54726
|
+
{
|
|
54727
|
+
"name": "itemID",
|
|
54728
|
+
"type": "string | undefined",
|
|
54729
|
+
"required": false
|
|
54730
|
+
},
|
|
54731
|
+
{
|
|
54732
|
+
"name": "itemRef",
|
|
54733
|
+
"type": "string | undefined",
|
|
54734
|
+
"required": false
|
|
54735
|
+
},
|
|
54736
|
+
{
|
|
54737
|
+
"name": "results",
|
|
54738
|
+
"type": "number | undefined",
|
|
54739
|
+
"required": false
|
|
54740
|
+
},
|
|
54741
|
+
{
|
|
54742
|
+
"name": "security",
|
|
54743
|
+
"type": "string | undefined",
|
|
54744
|
+
"required": false
|
|
54745
|
+
},
|
|
54746
|
+
{
|
|
54747
|
+
"name": "unselectable",
|
|
54748
|
+
"type": "\"off\" | \"on\" | undefined",
|
|
54749
|
+
"required": false
|
|
54750
|
+
},
|
|
54751
|
+
{
|
|
54752
|
+
"name": "popover",
|
|
54753
|
+
"type": "\"\" | \"auto\" | \"manual\" | \"hint\" | undefined",
|
|
54754
|
+
"required": false
|
|
54755
|
+
},
|
|
54756
|
+
{
|
|
54757
|
+
"name": "popoverTargetAction",
|
|
54758
|
+
"type": "\"toggle\" | \"show\" | \"hide\" | undefined",
|
|
54759
|
+
"required": false
|
|
54760
|
+
},
|
|
54761
|
+
{
|
|
54762
|
+
"name": "popoverTarget",
|
|
54763
|
+
"type": "string | undefined",
|
|
54764
|
+
"required": false
|
|
54765
|
+
},
|
|
54766
|
+
{
|
|
54767
|
+
"name": "inert",
|
|
54768
|
+
"type": "boolean | undefined",
|
|
54769
|
+
"required": false,
|
|
54770
|
+
"description": "@see {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert}"
|
|
54771
|
+
},
|
|
54772
|
+
{
|
|
54773
|
+
"name": "inputMode",
|
|
54774
|
+
"type": "\"none\" | \"search\" | \"text\" | \"tel\" | \"url\" | \"email\" | \"numeric\" | \"decimal\" | undefined",
|
|
54775
|
+
"required": false,
|
|
54776
|
+
"description": "Hints at the type of data that might be entered by the user while editing the element or its contents"
|
|
54777
|
+
},
|
|
54778
|
+
{
|
|
54779
|
+
"name": "is",
|
|
54780
|
+
"type": "string | undefined",
|
|
54781
|
+
"required": false,
|
|
54782
|
+
"description": "Specify that a standard HTML element should behave like a defined custom built-in element"
|
|
54783
|
+
},
|
|
54784
|
+
{
|
|
54785
|
+
"name": "exportparts",
|
|
54786
|
+
"type": "string | undefined",
|
|
54787
|
+
"required": false,
|
|
54788
|
+
"description": "@see {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts}"
|
|
54789
|
+
},
|
|
54790
|
+
{
|
|
54791
|
+
"name": "part",
|
|
54792
|
+
"type": "string | undefined",
|
|
54793
|
+
"required": false,
|
|
54794
|
+
"description": "@see {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part}"
|
|
54795
|
+
},
|
|
54796
|
+
{
|
|
54797
|
+
"name": "disabled",
|
|
54798
|
+
"type": "boolean | undefined",
|
|
54799
|
+
"required": false,
|
|
54800
|
+
"description": "Disable resize functionality."
|
|
54801
|
+
},
|
|
54802
|
+
{
|
|
54803
|
+
"name": "defaultLayout",
|
|
54804
|
+
"type": "complex",
|
|
54805
|
+
"required": false,
|
|
54806
|
+
"description": "Default layout for the Group.\r\n\r\nℹ️ This value allows layouts to be remembered between page reloads.\r\n\r\n⚠️ Slight layout shift may occur when server-rendering panels with percentage-based default sizes.\r\nRefer to the documentation for suggestions on how to minimize the impact of this."
|
|
54807
|
+
},
|
|
54808
|
+
{
|
|
54809
|
+
"name": "groupRef",
|
|
54810
|
+
"type": "complex",
|
|
54811
|
+
"required": false,
|
|
54812
|
+
"description": "Exposes the following imperative API:\r\n- `getLayout(): Layout`\r\n- `setLayout(layout: Layout): void`\r\n\r\nℹ️ The `useGroupRef` and `useGroupCallbackRef` hooks are exported for convenience use in TypeScript projects."
|
|
54813
|
+
},
|
|
54814
|
+
{
|
|
54815
|
+
"name": "orientation",
|
|
54816
|
+
"type": "\"horizontal\" | \"vertical\" | undefined",
|
|
54817
|
+
"required": false,
|
|
54818
|
+
"description": "Specifies the resizable orientation (\"horizontal\" or \"vertical\"); defaults to \"horizontal\"",
|
|
54819
|
+
"defaultValue": "horizontal"
|
|
54820
|
+
}
|
|
54821
|
+
]
|
|
54822
|
+
}
|
|
54823
|
+
],
|
|
54824
|
+
"examples": [
|
|
54825
|
+
{
|
|
54826
|
+
"name": "Horizontal",
|
|
54827
|
+
"code": "() => (\n <div className='h-[320px] w-[600px] rounded-8 border border-border-primary'>\n <ResizablePanelGroup orientation='horizontal'>\n <ResizablePanel id='left' defaultSize='50%'>\n <div className='flex h-full items-center justify-center p-24'>\n <span className='text-text-secondary'>Panel A</span>\n </div>\n </ResizablePanel>\n <ResizableHandle />\n <ResizablePanel id='right' defaultSize='50%'>\n <div className='flex h-full items-center justify-center p-24'>\n <span className='text-text-secondary'>Panel B</span>\n </div>\n </ResizablePanel>\n </ResizablePanelGroup>\n </div>\n)",
|
|
54828
|
+
"description": "Two panels side by side with a resizable divider."
|
|
54829
|
+
},
|
|
54830
|
+
{
|
|
54831
|
+
"name": "Vertical",
|
|
54832
|
+
"code": "() => (\n <div className='h-[400px] w-[400px] rounded-8 border border-border-primary'>\n <ResizablePanelGroup orientation='vertical'>\n <ResizablePanel id='top' defaultSize='50%'>\n <div className='flex h-full items-center justify-center p-24'>\n <span className='text-text-secondary'>Top</span>\n </div>\n </ResizablePanel>\n <ResizableHandle />\n <ResizablePanel id='bottom' defaultSize='50%'>\n <div className='flex h-full items-center justify-center p-24'>\n <span className='text-text-secondary'>Bottom</span>\n </div>\n </ResizablePanel>\n </ResizablePanelGroup>\n </div>\n)",
|
|
54833
|
+
"description": "Two panels stacked vertically."
|
|
54834
|
+
},
|
|
54835
|
+
{
|
|
54836
|
+
"name": "WithHandle",
|
|
54837
|
+
"code": "() => (\n <div className='h-[320px] w-[600px] rounded-8 border border-border-primary'>\n <ResizablePanelGroup orientation='horizontal'>\n <ResizablePanel id='left' defaultSize='50%'>\n <div className='flex h-full items-center justify-center p-24'>\n <span className='text-text-secondary'>Panel A</span>\n </div>\n </ResizablePanel>\n <ResizableHandle withHandle />\n <ResizablePanel id='right' defaultSize='50%'>\n <div className='flex h-full items-center justify-center p-24'>\n <span className='text-text-secondary'>Panel B</span>\n </div>\n </ResizablePanel>\n </ResizablePanelGroup>\n </div>\n)",
|
|
54838
|
+
"description": "A visible grip icon on the resize handle."
|
|
54839
|
+
},
|
|
54840
|
+
{
|
|
54841
|
+
"name": "ThreePanels",
|
|
54842
|
+
"code": "() => (\n <div className='h-[320px] w-[800px] rounded-8 border border-border-primary'>\n <ResizablePanelGroup orientation='horizontal'>\n <ResizablePanel id='left' defaultSize='25%'>\n <div className='flex h-full items-center justify-center p-24'>\n <span className='text-text-secondary'>Sidebar</span>\n </div>\n </ResizablePanel>\n <ResizableHandle />\n <ResizablePanel id='center' defaultSize='50%'>\n <div className='flex h-full items-center justify-center p-24'>\n <span className='text-text-secondary'>Content</span>\n </div>\n </ResizablePanel>\n <ResizableHandle />\n <ResizablePanel id='right' defaultSize='25%'>\n <div className='flex h-full items-center justify-center p-24'>\n <span className='text-text-secondary'>Inspector</span>\n </div>\n </ResizablePanel>\n </ResizablePanelGroup>\n </div>\n)",
|
|
54843
|
+
"description": "Three panels with two resize handles."
|
|
54844
|
+
},
|
|
54845
|
+
{
|
|
54846
|
+
"name": "Nested",
|
|
54847
|
+
"code": "() => (\n <div className='h-[400px] w-[700px] rounded-8 border border-border-primary'>\n <ResizablePanelGroup orientation='horizontal'>\n <ResizablePanel id='left' defaultSize='40%'>\n <div className='flex h-full items-center justify-center p-24'>\n <span className='text-text-secondary'>Sidebar</span>\n </div>\n </ResizablePanel>\n <ResizableHandle withHandle />\n <ResizablePanel id='right' defaultSize='60%'>\n <ResizablePanelGroup orientation='vertical'>\n <ResizablePanel id='top' defaultSize='60%'>\n <div className='flex h-full items-center justify-center p-24'>\n <span className='text-text-secondary'>Editor</span>\n </div>\n </ResizablePanel>\n <ResizableHandle withHandle />\n <ResizablePanel id='bottom' defaultSize='40%'>\n <div className='flex h-full items-center justify-center p-24'>\n <span className='text-text-secondary'>Terminal</span>\n </div>\n </ResizablePanel>\n </ResizablePanelGroup>\n </ResizablePanel>\n </ResizablePanelGroup>\n </div>\n)",
|
|
54848
|
+
"description": "A horizontal group with a vertical sub-group nested inside one panel."
|
|
54849
|
+
},
|
|
54850
|
+
{
|
|
54851
|
+
"name": "Collapsible",
|
|
54852
|
+
"code": "() => (\n <div className='h-[320px] w-[600px] rounded-8 border border-border-primary'>\n <ResizablePanelGroup orientation='horizontal'>\n <ResizablePanel id='sidebar' defaultSize='30%' collapsible minSize='15%' collapsedSize='0%'>\n <div className='flex h-full items-center justify-center p-24'>\n <span className='text-text-secondary'>Collapsible</span>\n </div>\n </ResizablePanel>\n <ResizableHandle withHandle />\n <ResizablePanel id='content' defaultSize='70%'>\n <div className='flex h-full items-center justify-center p-24'>\n <span className='text-text-secondary'>Content</span>\n </div>\n </ResizablePanel>\n </ResizablePanelGroup>\n </div>\n)",
|
|
54853
|
+
"description": "A panel that can be collapsed by dragging past its minimum size. Double-click the handle to reset."
|
|
54854
|
+
},
|
|
54855
|
+
{
|
|
54856
|
+
"name": "WithConstraints",
|
|
54857
|
+
"code": "() => (\n <div className='h-[320px] w-[600px] rounded-8 border border-border-primary'>\n <ResizablePanelGroup orientation='horizontal'>\n <ResizablePanel id='constrained' defaultSize='40%' minSize='20%' maxSize='60%'>\n <div className='flex h-full items-center justify-center p-24'>\n <span className='text-text-secondary'>Min 20% / Max 60%</span>\n </div>\n </ResizablePanel>\n <ResizableHandle withHandle />\n <ResizablePanel id='flexible' defaultSize='60%'>\n <div className='flex h-full items-center justify-center p-24'>\n <span className='text-text-secondary'>Flexible</span>\n </div>\n </ResizablePanel>\n </ResizablePanelGroup>\n </div>\n)",
|
|
54858
|
+
"description": "Panels with minimum and maximum size constraints."
|
|
54859
|
+
}
|
|
54860
|
+
]
|
|
54861
|
+
},
|
|
53904
54862
|
{
|
|
53905
54863
|
"name": "ResponseCode",
|
|
53906
54864
|
"description": "Domain primitive that renders an HTTP response status code as a colored Badge.\nPair with `HttpMethod` in API endpoint lists, request logs, and docs.",
|
|
@@ -54167,7 +55125,7 @@
|
|
|
54167
55125
|
},
|
|
54168
55126
|
{
|
|
54169
55127
|
"name": "inputMode",
|
|
54170
|
-
"type": "\"
|
|
55128
|
+
"type": "\"text\" | \"none\" | \"search\" | \"tel\" | \"url\" | \"email\" | \"numeric\" | \"decimal\" | undefined",
|
|
54171
55129
|
"required": false,
|
|
54172
55130
|
"description": "Hints at the type of data that might be entered by the user while editing the element or its contents"
|
|
54173
55131
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wallarm-org/design-system",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"description": "Core design system library with React components and Storybook documentation",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -138,6 +138,7 @@
|
|
|
138
138
|
"highlight.js": "11.11.1",
|
|
139
139
|
"prism-react-renderer": "2.4.1",
|
|
140
140
|
"prismjs": "1.30.0",
|
|
141
|
+
"react-resizable-panels": "4.12.3",
|
|
141
142
|
"recharts": "3.10.1",
|
|
142
143
|
"shiki": "4.4.2",
|
|
143
144
|
"tailwind-merge": "3.6.0"
|