@wirecore/wirelayer-react 0.11.0 → 0.12.1
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/CopyButton-C_LAuCkR.js +47 -0
- package/dist/Tree-DLHbcH3-.js +602 -0
- package/dist/chart/Chart.d.ts +3 -3
- package/dist/chart/Chart.d.ts.map +1 -1
- package/dist/chart/PieChart.d.ts +3 -3
- package/dist/chart/PieChart.d.ts.map +1 -1
- package/dist/chart/SeriesChartView.d.ts +1 -1
- package/dist/chart/SeriesChartView.d.ts.map +1 -1
- package/dist/chart/Sparkline.d.ts +3 -3
- package/dist/chart/Sparkline.d.ts.map +1 -1
- package/dist/chart/WaterfallChart.d.ts +3 -3
- package/dist/chart/WaterfallChart.d.ts.map +1 -1
- package/dist/chart/types.d.ts +2 -2
- package/dist/chart/types.d.ts.map +1 -1
- package/dist/chart.js +148 -143
- package/dist/code.js +1 -1
- package/dist/components/AngleSlider/AngleSlider.d.ts +3 -3
- package/dist/components/AngleSlider/AngleSlider.d.ts.map +1 -1
- package/dist/components/BlockUi/BlockUi.d.ts +3 -3
- package/dist/components/BlockUi/BlockUi.d.ts.map +1 -1
- package/dist/components/Calendar/Calendar.d.ts +3 -3
- package/dist/components/Calendar/Calendar.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.d.ts +3 -3
- package/dist/components/Carousel/Carousel.d.ts.map +1 -1
- package/dist/components/CascadeSelect/CascadeSelect.d.ts +4 -3
- package/dist/components/CascadeSelect/CascadeSelect.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPicker.d.ts +4 -4
- package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/dist/components/CopyButton/CopyButton.d.ts +3 -3
- package/dist/components/CopyButton/CopyButton.d.ts.map +1 -1
- package/dist/components/DataView/DataView.d.ts +3 -3
- package/dist/components/DataView/DataView.d.ts.map +1 -1
- package/dist/components/Fieldset/Fieldset.d.ts +5 -3
- package/dist/components/Fieldset/Fieldset.d.ts.map +1 -1
- package/dist/components/Gallery/Gallery.d.ts +3 -3
- package/dist/components/Gallery/Gallery.d.ts.map +1 -1
- package/dist/components/JsonViewer/JsonViewer.d.ts +4 -3
- package/dist/components/JsonViewer/JsonViewer.d.ts.map +1 -1
- package/dist/components/Knob/Knob.d.ts +4 -3
- package/dist/components/Knob/Knob.d.ts.map +1 -1
- package/dist/components/Listbox/Listbox.d.ts +4 -4
- package/dist/components/Listbox/Listbox.d.ts.map +1 -1
- package/dist/components/LogViewer/LogViewer.d.ts +3 -3
- package/dist/components/LogViewer/LogViewer.d.ts.map +1 -1
- package/dist/components/MeterGroup/MeterGroup.d.ts +3 -3
- package/dist/components/MeterGroup/MeterGroup.d.ts.map +1 -1
- package/dist/components/NavigationMenu/NavigationMenu.d.ts +3 -3
- package/dist/components/NavigationMenu/NavigationMenu.d.ts.map +1 -1
- package/dist/components/OrderList/OrderList.d.ts +3 -3
- package/dist/components/OrderList/OrderList.d.ts.map +1 -1
- package/dist/components/OrgChart/OrgChart.d.ts +3 -3
- package/dist/components/OrgChart/OrgChart.d.ts.map +1 -1
- package/dist/components/Panel/Panel.d.ts +3 -3
- package/dist/components/Panel/Panel.d.ts.map +1 -1
- package/dist/components/PickList/PickList.d.ts +3 -3
- package/dist/components/PickList/PickList.d.ts.map +1 -1
- package/dist/components/PinInput/PinInput.d.ts +4 -4
- package/dist/components/PinInput/PinInput.d.ts.map +1 -1
- package/dist/components/ProgressCircle/ProgressCircle.d.ts +3 -3
- package/dist/components/ProgressCircle/ProgressCircle.d.ts.map +1 -1
- package/dist/components/Rating/Rating.d.ts +3 -3
- package/dist/components/Rating/Rating.d.ts.map +1 -1
- package/dist/components/ScrollPanel/ScrollPanel.d.ts +3 -3
- package/dist/components/ScrollPanel/ScrollPanel.d.ts.map +1 -1
- package/dist/components/ScrollTop/ScrollTop.d.ts +3 -2
- package/dist/components/ScrollTop/ScrollTop.d.ts.map +1 -1
- package/dist/components/SidebarNav/SidebarNav.d.ts +3 -3
- package/dist/components/SidebarNav/SidebarNav.d.ts.map +1 -1
- package/dist/components/SignaturePad/SignaturePad.d.ts +3 -3
- package/dist/components/SignaturePad/SignaturePad.d.ts.map +1 -1
- package/dist/components/Sortable/Sortable.d.ts +9 -3
- package/dist/components/Sortable/Sortable.d.ts.map +1 -1
- package/dist/components/SpeedDial/SpeedDial.d.ts +3 -3
- package/dist/components/SpeedDial/SpeedDial.d.ts.map +1 -1
- package/dist/components/SplitButton/SplitButton.d.ts +3 -3
- package/dist/components/SplitButton/SplitButton.d.ts.map +1 -1
- package/dist/components/Splitter/Splitter.d.ts +3 -3
- package/dist/components/Splitter/Splitter.d.ts.map +1 -1
- package/dist/components/Spoiler/Spoiler.d.ts +3 -3
- package/dist/components/Spoiler/Spoiler.d.ts.map +1 -1
- package/dist/components/Stepper/Stepper.d.ts +3 -3
- package/dist/components/Stepper/Stepper.d.ts.map +1 -1
- package/dist/components/TableOfContents/TableOfContents.d.ts +3 -3
- package/dist/components/TableOfContents/TableOfContents.d.ts.map +1 -1
- package/dist/components/Timeline/Timeline.d.ts +3 -3
- package/dist/components/Timeline/Timeline.d.ts.map +1 -1
- package/dist/components/Toolbar/Toolbar.d.ts +3 -3
- package/dist/components/Toolbar/Toolbar.d.ts.map +1 -1
- package/dist/components/Tour/Tour.d.ts +10 -1
- package/dist/components/Tour/Tour.d.ts.map +1 -1
- package/dist/components/Tree/Tree.d.ts +3 -3
- package/dist/components/Tree/Tree.d.ts.map +1 -1
- package/dist/components/Tree/useTree.d.ts +2 -0
- package/dist/components/Tree/useTree.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelect.d.ts +4 -4
- package/dist/components/TreeSelect/TreeSelect.d.ts.map +1 -1
- package/dist/data-table.js +1 -1
- package/dist/editor/Editor.d.ts +4 -4
- package/dist/editor/Editor.d.ts.map +1 -1
- package/dist/editor.js +184 -183
- package/dist/index.js +2903 -2779
- package/dist/pdf.js +1 -1
- package/dist/virtual/VirtualList.d.ts +3 -3
- package/dist/virtual/VirtualList.d.ts.map +1 -1
- package/dist/virtual/VirtualTree.d.ts.map +1 -1
- package/dist/virtual.js +224 -219
- package/llms-full.txt +70 -10
- package/package.json +2 -2
- package/dist/CopyButton-0e1pHR3f.js +0 -45
- package/dist/Tree-DVjwp6FG.js +0 -568
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { pinInput as pinInputRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import type { CSSProperties } from 'react';
|
|
3
|
-
export interface PinInputProps {
|
|
2
|
+
import type { ComponentProps, CSSProperties } from 'react';
|
|
3
|
+
export interface PinInputProps extends Omit<ComponentProps<'div'>, 'defaultValue' | 'type' | 'value'> {
|
|
4
4
|
/** Number of characters */
|
|
5
5
|
length?: number;
|
|
6
6
|
value?: string;
|
|
@@ -17,7 +17,7 @@ export interface PinInputProps {
|
|
|
17
17
|
invalid?: boolean;
|
|
18
18
|
disabled?: boolean;
|
|
19
19
|
name?: string;
|
|
20
|
-
/** Accessible name of the group without a surrounding Field */
|
|
20
|
+
/** Accessible name of the group of boxes without a surrounding Field (not of the outer element) */
|
|
21
21
|
'aria-label'?: string;
|
|
22
22
|
/** Id of the root element; a `<label for>` cannot name the PIN input, use a Field or aria-label */
|
|
23
23
|
id?: string;
|
|
@@ -27,5 +27,5 @@ export interface PinInputProps {
|
|
|
27
27
|
classes?: RecipeClasses<typeof pinInputRecipe>;
|
|
28
28
|
}
|
|
29
29
|
/** Code input (OTP, PIN): one box per character, typing moves on, pasting fills all boxes */
|
|
30
|
-
export declare function PinInput({ classes, length, value, defaultValue, onValueChange, onValueComplete, type, otp, mask, placeholder, invalid, disabled, name, 'aria-label': ariaLabel, id, className, style, }: PinInputProps): import("react").JSX.Element;
|
|
30
|
+
export declare function PinInput({ classes, length, value, defaultValue, onValueChange, onValueComplete, type, otp, mask, placeholder, invalid, disabled, name, 'aria-label': ariaLabel, id, className, style, ...rest }: PinInputProps): import("react").JSX.Element;
|
|
31
31
|
//# sourceMappingURL=PinInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PinInput.d.ts","sourceRoot":"","sources":["../../../src/components/PinInput/PinInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,QAAQ,IAAI,cAAc,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACzG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PinInput.d.ts","sourceRoot":"","sources":["../../../src/components/PinInput/PinInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,QAAQ,IAAI,cAAc,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACzG,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAK3D,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,MAAM,GAAG,OAAO,CAAC;IACjG,2BAA2B;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,6BAA6B;IAC7B,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,IAAI,CAAC,EAAE,SAAS,GAAG,cAAc,GAAG,YAAY,CAAC;IACjD,kEAAkE;IAClE,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,0CAA0C;IAC1C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mGAAmG;IACnG,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mGAAmG;IACnG,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,cAAc,CAAC,CAAC;CAClD;AAID,6FAA6F;AAC7F,wBAAgB,QAAQ,CAAC,EACrB,OAAO,EACP,MAAU,EACV,KAAK,EACL,YAAY,EACZ,aAAa,EACb,eAAe,EACf,IAAgB,EAChB,GAAU,EACV,IAAI,EACJ,WAAgB,EAChB,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,YAAY,EAAE,SAAS,EACvB,EAAE,EACF,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,aAAa,+BA+Cf"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { progressCircle as progressCircleRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import type { CSSProperties } from 'react';
|
|
3
|
-
export interface ProgressCircleProps {
|
|
2
|
+
import type { ComponentProps, CSSProperties } from 'react';
|
|
3
|
+
export interface ProgressCircleProps extends Omit<ComponentProps<'div'>, 'defaultValue' | 'value'> {
|
|
4
4
|
value: number;
|
|
5
5
|
max?: number;
|
|
6
6
|
/** Visible label below the ring, also its accessible name */
|
|
@@ -15,5 +15,5 @@ export interface ProgressCircleProps {
|
|
|
15
15
|
classes?: RecipeClasses<typeof progressCircleRecipe>;
|
|
16
16
|
}
|
|
17
17
|
/** Ring with the value in the middle; a progressbar named by its label, the value as aria-valuetext */
|
|
18
|
-
export declare function ProgressCircle({ classes, value, max, label, size, status, formatValue, className, style, }: ProgressCircleProps): import("react").JSX.Element;
|
|
18
|
+
export declare function ProgressCircle({ classes, value, max, label, size, status, formatValue, className, style, ...rest }: ProgressCircleProps): import("react").JSX.Element;
|
|
19
19
|
//# sourceMappingURL=ProgressCircle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressCircle.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressCircle/ProgressCircle.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"ProgressCircle.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressCircle/ProgressCircle.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,cAAc,IAAI,oBAAoB,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACrH,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3D,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC;IAC9F,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,6DAA6D;IAC7D,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;IACnD,0CAA0C;IAC1C,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,oBAAoB,CAAC,CAAC;CACxD;AAID,uGAAuG;AACvG,wBAAgB,cAAc,CAAC,EAC3B,OAAO,EACP,KAAK,EACL,GAAS,EACT,KAAK,EACL,IAAW,EACX,MAAkB,EAClB,WAAqB,EACrB,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,mBAAmB,+BA2BrB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { rating as ratingRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type ComponentType, type CSSProperties } from 'react';
|
|
3
|
-
export interface RatingProps {
|
|
2
|
+
import { type ComponentProps, type ComponentType, type CSSProperties } from 'react';
|
|
3
|
+
export interface RatingProps extends Omit<ComponentProps<'div'>, 'defaultValue' | 'value'> {
|
|
4
4
|
value?: number;
|
|
5
5
|
defaultValue?: number;
|
|
6
6
|
onValueChange?: (value: number) => void;
|
|
@@ -30,5 +30,5 @@ export interface RatingProps {
|
|
|
30
30
|
classes?: RecipeClasses<typeof ratingRecipe>;
|
|
31
31
|
}
|
|
32
32
|
/** Star rating: a radio group – arrow keys change the value, each star reads "3 stars" */
|
|
33
|
-
export declare function Rating({ classes, value, defaultValue, onValueChange, count, allowHalf, allowClear, icon: Icon, readOnly, disabled, label, 'aria-label': ariaLabel, id, size, name, className, style, }: RatingProps): import("react").JSX.Element;
|
|
33
|
+
export declare function Rating({ classes, value, defaultValue, onValueChange, count, allowHalf, allowClear, icon: Icon, readOnly, disabled, label, 'aria-label': ariaLabel, id, size, name, className, style, ...rest }: RatingProps): import("react").JSX.Element;
|
|
34
34
|
//# sourceMappingURL=Rating.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rating.d.ts","sourceRoot":"","sources":["../../../src/components/Rating/Rating.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,MAAM,IAAI,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAErG,OAAO,EAAU,KAAK,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Rating.d.ts","sourceRoot":"","sources":["../../../src/components/Rating/Rating.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,MAAM,IAAI,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAErG,OAAO,EAAE,KAAK,cAAc,EAAU,KAAK,aAAa,EAAE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QAAQ,EACR,KAAK,EACL,YAAY,EAAE,SAAS,EACvB,EAAE,EACF,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,WAAW,+BA2Eb"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { scrollPanel as scrollPanelRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties, type ReactNode } from 'react';
|
|
3
|
-
export interface ScrollPanelProps {
|
|
2
|
+
import { type ComponentProps, type CSSProperties, type ReactNode } from 'react';
|
|
3
|
+
export interface ScrollPanelProps extends ComponentProps<'div'> {
|
|
4
4
|
/** Names the scrollable region – it is focusable, so keyboard users can scroll it */
|
|
5
5
|
label: string;
|
|
6
6
|
children: ReactNode;
|
|
@@ -20,5 +20,5 @@ export interface ScrollPanelProps {
|
|
|
20
20
|
classes?: RecipeClasses<typeof scrollPanelRecipe>;
|
|
21
21
|
}
|
|
22
22
|
/** Native scrolling with slim scrollbars; the viewport is a named, focusable region (arrow keys scroll) */
|
|
23
|
-
export declare function ScrollPanel({ classes, label, children, scrollbars, fade, reachThreshold, onReachStart, onReachEnd, className, style, }: ScrollPanelProps): import("react").JSX.Element;
|
|
23
|
+
export declare function ScrollPanel({ classes, label, children, scrollbars, fade, reachThreshold, onReachStart, onReachEnd, className, style, ...rest }: ScrollPanelProps): import("react").JSX.Element;
|
|
24
24
|
//# sourceMappingURL=ScrollPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollPanel.d.ts","sourceRoot":"","sources":["../../../src/components/ScrollPanel/ScrollPanel.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"ScrollPanel.d.ts","sourceRoot":"","sources":["../../../src/components/ScrollPanel/ScrollPanel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,WAAW,IAAI,iBAAiB,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC/G,OAAO,EAAE,KAAK,cAAc,EAAU,KAAK,aAAa,EAAE,KAAK,SAAS,EAAgB,MAAM,OAAO,CAAC;AAGtG,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC3D,qFAAqF;IACrF,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,SAAS,CAAC;IACpB,6FAA6F;IAC7F,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACpD,oFAAoF;IACpF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,8FAA8F;IAC9F,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,+BAA+B;IAC/B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,gDAAgD;IAChD,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,iBAAiB,CAAC,CAAC;CACrD;AAED,2GAA2G;AAC3G,wBAAgB,WAAW,CAAC,EACxB,OAAO,EACP,KAAK,EACL,QAAQ,EACR,UAAU,EACV,IAAI,EACJ,cAAkB,EAClB,YAAY,EACZ,UAAU,EACV,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,gBAAgB,+BAqClB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { scrollTop as scrollTopRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
|
|
2
|
+
import { type ComponentProps } from 'react';
|
|
3
|
+
export interface ScrollTopProps extends Omit<ComponentProps<'button'>, 'children' | 'color'> {
|
|
3
4
|
/** Shown after scrolling this far (px) */
|
|
4
5
|
threshold?: number;
|
|
5
6
|
label?: string;
|
|
@@ -8,5 +9,5 @@ export interface ScrollTopProps {
|
|
|
8
9
|
classes?: RecipeClasses<typeof scrollTopRecipe>;
|
|
9
10
|
}
|
|
10
11
|
/** Hidden (and out of the tab order) until the page is scrolled down */
|
|
11
|
-
export declare function ScrollTop({ classes, threshold, label: labelProp, className }: ScrollTopProps): import("react").JSX.Element;
|
|
12
|
+
export declare function ScrollTop({ classes, threshold, label: labelProp, className, ...rest }: ScrollTopProps): import("react").JSX.Element;
|
|
12
13
|
//# sourceMappingURL=ScrollTop.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollTop.d.ts","sourceRoot":"","sources":["../../../src/components/ScrollTop/ScrollTop.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"ScrollTop.d.ts","sourceRoot":"","sources":["../../../src/components/ScrollTop/ScrollTop.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE/F,OAAO,EAA+B,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAKzE,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IACxF,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,eAAe,CAAC,CAAC;CACnD;AAWD,wEAAwE;AACxE,wBAAgB,SAAS,CAAC,EAAE,OAAO,EAAE,SAAe,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,+BAkC3G"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { sidebarNav as sidebarNavRecipe, type LinkTo, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties, type ElementType, type MouseEvent, type ReactNode } from 'react';
|
|
2
|
+
import { type ComponentProps, type CSSProperties, type ElementType, type MouseEvent, type ReactNode } from 'react';
|
|
3
3
|
import type { IconComponent } from '../../types.js';
|
|
4
4
|
export interface SidebarNavItem {
|
|
5
5
|
label: string;
|
|
@@ -14,7 +14,7 @@ export interface SidebarNavItem {
|
|
|
14
14
|
/** Count or short text after the label (part of the link's name) */
|
|
15
15
|
badge?: number | string;
|
|
16
16
|
}
|
|
17
|
-
export interface SidebarNavProps {
|
|
17
|
+
export interface SidebarNavProps extends ComponentProps<'nav'> {
|
|
18
18
|
items: readonly SidebarNavItem[];
|
|
19
19
|
/** Name of the navigation landmark, e.g. "Main navigation" */
|
|
20
20
|
label: string;
|
|
@@ -43,5 +43,5 @@ export interface SidebarNavProps {
|
|
|
43
43
|
classes?: RecipeClasses<typeof sidebarNavRecipe>;
|
|
44
44
|
}
|
|
45
45
|
/** Navigation landmark with links and expandable groups (buttons with aria-expanded); optionally a rail of icons */
|
|
46
|
-
export declare function SidebarNav({ classes, items, label, onNavigate, linkAs, currentHref, isCurrent, rail: railProp, expandOnHover: expandOnHoverProp, header, footer, className, style, }: SidebarNavProps): import("react").JSX.Element;
|
|
46
|
+
export declare function SidebarNav({ classes, items, label, onNavigate, linkAs, currentHref, isCurrent, rail: railProp, expandOnHover: expandOnHoverProp, header, footer, className, style, ...rest }: SidebarNavProps): import("react").JSX.Element;
|
|
47
47
|
//# sourceMappingURL=SidebarNav.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarNav.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarNav/SidebarNav.tsx"],"names":[],"mappings":"AACA,OAAO,EAIH,UAAU,IAAI,gBAAgB,EAC9B,KAAK,MAAM,EACX,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,
|
|
1
|
+
{"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GAA4G;IAC5G,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,iDAAiD;IACjD,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,gDAAgD;IAChD,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,gBAAgB,CAAC,CAAC;CACpD;AAQD,oHAAoH;AACpH,wBAAgB,UAAU,CAAC,EACvB,OAAO,EACP,KAAK,EACL,KAAK,EACL,UAAU,EACV,MAAY,EACZ,WAAW,EACX,SAAS,EACT,IAAI,EAAE,QAAQ,EACd,aAAa,EAAE,iBAAiB,EAChC,MAAM,EACN,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,eAAe,+BA8BjB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { signaturePad as signaturePadRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties } from 'react';
|
|
3
|
-
export interface SignaturePadProps {
|
|
2
|
+
import { type ComponentProps, type CSSProperties } from 'react';
|
|
3
|
+
export interface SignaturePadProps extends Omit<ComponentProps<'div'>, 'color' | 'value'> {
|
|
4
4
|
/** The signature as data URL ("" when empty, controlled) */
|
|
5
5
|
value?: string;
|
|
6
6
|
onValueChange?: (value: string) => void;
|
|
@@ -36,5 +36,5 @@ export interface SignaturePadProps {
|
|
|
36
36
|
* Signature field (role="application"): draw with mouse, pen or finger; "Undo" removes the last stroke.
|
|
37
37
|
* With typedAlternative the name can be typed instead – the field shows it in a handwriting font.
|
|
38
38
|
*/
|
|
39
|
-
export declare function SignaturePad({ classes, value, onValueChange, paths, defaultPaths, onPathsChange, format, label, color, strokeWidth, typedAlternative, typedName, onTypedNameChange, disabled, readOnly, invalid, required, name, className, style, }: SignaturePadProps): import("react").JSX.Element;
|
|
39
|
+
export declare function SignaturePad({ classes, value, onValueChange, paths, defaultPaths, onPathsChange, format, label, color, strokeWidth, typedAlternative, typedName, onTypedNameChange, disabled, readOnly, invalid, required, name, className, style, ...rest }: SignaturePadProps): import("react").JSX.Element;
|
|
40
40
|
//# sourceMappingURL=SignaturePad.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignaturePad.d.ts","sourceRoot":"","sources":["../../../src/components/SignaturePad/SignaturePad.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,YAAY,IAAI,kBAAkB,EAElC,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAsC,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SignaturePad.d.ts","sourceRoot":"","sources":["../../../src/components/SignaturePad/SignaturePad.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,YAAY,IAAI,kBAAkB,EAElC,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,KAAK,cAAc,EAAsC,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAMpG,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACrF,4DAA4D;IAC5D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC1C,oFAAoF;IACpF,MAAM,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IACvB,yGAAyG;IACzG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oFAAoF;IACpF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qCAAqC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gEAAgE;IAChE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,kBAAkB,CAAC,CAAC;CACtD;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EACzB,OAAO,EACP,KAAK,EACL,aAAa,EACb,KAAK,EACL,YAAY,EACZ,aAAa,EACb,MAAc,EACd,KAAK,EACL,KAAiB,EACjB,WAAe,EACf,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,iBAAiB,+BAqJnB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { sortable as sortableRecipe, type ItemAccessor, type RecipeClasses, type SortableMove, type SortableOrientation } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties, type ReactNode } from 'react';
|
|
3
|
-
export interface SortableProps<T = unknown> {
|
|
2
|
+
import { type ComponentProps, type CSSProperties, type ReactNode } from 'react';
|
|
3
|
+
export interface SortableProps<T = unknown> extends Omit<ComponentProps<'div'>, 'defaultValue' | 'value'> {
|
|
4
4
|
/** The items in their order (controlled) */
|
|
5
5
|
value?: T[];
|
|
6
6
|
defaultValue?: T[];
|
|
@@ -23,6 +23,11 @@ export interface SortableProps<T = unknown> {
|
|
|
23
23
|
columns?: number;
|
|
24
24
|
/** Whether an item from another list of the group may come in */
|
|
25
25
|
accepts?: (item: T, from: string) => boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Makes the list a source (e.g. a palette): dragging an item out copies it – this function makes the copy, e.g.
|
|
28
|
+
* with a new id. The list keeps its items, takes none in and is not sorted.
|
|
29
|
+
*/
|
|
30
|
+
clone?: (item: T) => unknown;
|
|
26
31
|
/** Items glide to their new place when they move (default: yes; not with reduced motion) */
|
|
27
32
|
animate?: boolean;
|
|
28
33
|
disabled?: boolean;
|
|
@@ -33,6 +38,7 @@ export interface SortableProps<T = unknown> {
|
|
|
33
38
|
index: number;
|
|
34
39
|
grabbed: boolean;
|
|
35
40
|
}) => ReactNode;
|
|
41
|
+
/** Name of the list without `label` – on the list, not the outer element like other attributes */
|
|
36
42
|
'aria-label'?: string;
|
|
37
43
|
className?: string;
|
|
38
44
|
style?: CSSProperties;
|
|
@@ -43,5 +49,5 @@ export interface SortableProps<T = unknown> {
|
|
|
43
49
|
* Sortable list: every item has a handle – drag it, or press Space/Enter, move with the arrow keys and drop with
|
|
44
50
|
* Space (Escape cancels), or click it and click the target (WCAG 2.5.7). Every step is announced.
|
|
45
51
|
*/
|
|
46
|
-
export declare function Sortable<T = unknown>({ classes, value, defaultValue, onValueChange, onMove, itemKey, itemLabel, label, group, name, orientation, columns, accepts, animate, disabled, emptyText, renderItem, 'aria-label': ariaLabel, className, style, }: SortableProps<T>): import("react").JSX.Element;
|
|
52
|
+
export declare function Sortable<T = unknown>({ classes, value, defaultValue, onValueChange, onMove, itemKey, itemLabel, label, group, name, orientation, columns, accepts, clone, animate, disabled, emptyText, renderItem, 'aria-label': ariaLabel, className, style, ...rest }: SortableProps<T>): import("react").JSX.Element;
|
|
47
53
|
//# sourceMappingURL=Sortable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sortable.d.ts","sourceRoot":"","sources":["../../../src/components/Sortable/Sortable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAMH,QAAQ,IAAI,cAAc,EAE1B,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EAC3B,MAAM,6BAA6B,CAAC;AAErC,OAAO,
|
|
1
|
+
{"version":3,"file":"Sortable.d.ts","sourceRoot":"","sources":["../../../src/components/Sortable/Sortable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAMH,QAAQ,IAAI,cAAc,EAE1B,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EAC3B,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACH,KAAK,cAAc,EAQnB,KAAK,aAAa,EAClB,KAAK,SAAS,EACjB,MAAM,OAAO,CAAC;AAKf,MAAM,WAAW,aAAa,CAAC,CAAC,GAAG,OAAO,CAAE,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC;IACrG,4CAA4C;IAC5C,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC;IACZ,YAAY,CAAC,EAAE,CAAC,EAAE,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IACrC,+EAA+E;IAC/E,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACzC,4FAA4F;IAC5F,OAAO,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IAC3C,gGAAgG;IAChG,SAAS,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;IACpC,6EAA6E;IAC7E,KAAK,CAAC,EAAE,MAAM,CAA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EACV,EAAE,aAAa,CAAC,CAAC,CAAC,+BA6JlB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { speedDial as speedDialRecipe, type RecipeClasses, type SpeedDialDirection, type SpeedDialLayout } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { ComponentProps, CSSProperties } from 'react';
|
|
3
3
|
import type { IconComponent } from '../../types.js';
|
|
4
4
|
export interface SpeedDialItem {
|
|
5
5
|
value: string;
|
|
@@ -7,7 +7,7 @@ export interface SpeedDialItem {
|
|
|
7
7
|
icon: IconComponent;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export interface SpeedDialProps {
|
|
10
|
+
export interface SpeedDialProps extends Omit<ComponentProps<'button'>, 'onSelect' | 'value'> {
|
|
11
11
|
items: readonly SpeedDialItem[];
|
|
12
12
|
/** Accessible name of the main button */
|
|
13
13
|
label?: string;
|
|
@@ -30,5 +30,5 @@ export interface SpeedDialProps {
|
|
|
30
30
|
* A menu button: the actions open above it (or in a circle around it) as menu items with their labels (arrow keys,
|
|
31
31
|
* Escape)
|
|
32
32
|
*/
|
|
33
|
-
export declare function SpeedDial({ classes, items, label: labelProp, layout, direction, radius, onSelect, className, style, }: SpeedDialProps): import("react").JSX.Element;
|
|
33
|
+
export declare function SpeedDial({ classes, items, label: labelProp, layout, direction, radius, onSelect, className, style, ...rest }: SpeedDialProps): import("react").JSX.Element;
|
|
34
34
|
//# sourceMappingURL=SpeedDial.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpeedDial.d.ts","sourceRoot":"","sources":["../../../src/components/SpeedDial/SpeedDial.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"SpeedDial.d.ts","sourceRoot":"","sources":["../../../src/components/SpeedDial/SpeedDial.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,SAAS,IAAI,eAAe,EAE5B,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACvB,MAAM,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAIpD,MAAM,WAAW,aAAa;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IACxF,KAAK,EAAE,SAAS,aAAa,EAAE,CAAC;IAChC,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,gGAAgG;IAChG,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B,+FAA+F;IAC/F,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,eAAe,CAAC,CAAC;CACnD;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EACtB,OAAO,EACP,KAAK,EACL,KAAK,EAAE,SAAS,EAChB,MAAiB,EACjB,SAAgB,EAChB,MAAW,EACX,QAAQ,EACR,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,cAAc,+BAiEhB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { splitButton as splitButtonRecipe, type ButtonColor, type ButtonShape, type ButtonSize, type ButtonVariant, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import type { CSSProperties, MouseEvent } from 'react';
|
|
2
|
+
import type { ComponentProps, CSSProperties, MouseEvent } from 'react';
|
|
3
3
|
import type { IconComponent } from '../../types.js';
|
|
4
4
|
import { type MenuEntry } from '../Menu/Menu.js';
|
|
5
|
-
export interface SplitButtonProps {
|
|
5
|
+
export interface SplitButtonProps extends Omit<ComponentProps<'div'>, 'color' | 'onClick' | 'onSelect'> {
|
|
6
6
|
/** Label of the main action */
|
|
7
7
|
label: string;
|
|
8
8
|
/** The other actions in the menu */
|
|
@@ -25,5 +25,5 @@ export interface SplitButtonProps {
|
|
|
25
25
|
classes?: RecipeClasses<typeof splitButtonRecipe>;
|
|
26
26
|
}
|
|
27
27
|
/** Main action plus a menu with the other actions; both are separate buttons */
|
|
28
|
-
export declare function SplitButton({ classes, label, items, variant, color, size, shape, icon: Icon, disabled, menuLabel: menuLabelProp, onClick, onSelect, className, style, }: SplitButtonProps): import("react").JSX.Element;
|
|
28
|
+
export declare function SplitButton({ classes, label, items, variant, color, size, shape, icon: Icon, disabled, menuLabel: menuLabelProp, onClick, onSelect, className, style, ...rest }: SplitButtonProps): import("react").JSX.Element;
|
|
29
29
|
//# sourceMappingURL=SplitButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SplitButton.d.ts","sourceRoot":"","sources":["../../../src/components/SplitButton/SplitButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGH,WAAW,IAAI,iBAAiB,EAChC,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SplitButton.d.ts","sourceRoot":"","sources":["../../../src/components/SplitButton/SplitButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGH,W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ACxB,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAmB,EACnB,KAAK,EACL,IAAW,EACX,KAAK,EACL,IAAI,EAAE,IAAI,EACV,QAAgB,EAChB,SAAS,EAAE,aAAa,EACxB,OAAO,EACP,QAAQ,EACR,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,gBAAgB,+BAyBlB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { splitter as splitterRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties, type ReactNode } from 'react';
|
|
2
|
+
import { type ComponentProps, type CSSProperties, type ReactNode } from 'react';
|
|
3
3
|
export interface SplitterPanel {
|
|
4
4
|
id: string;
|
|
5
5
|
/** Names the panel for the resize handle ("Resize “…”") */
|
|
@@ -14,7 +14,7 @@ export interface SplitterPanel {
|
|
|
14
14
|
/** Size when collapsed (default 0) */
|
|
15
15
|
collapsedSize?: number | string;
|
|
16
16
|
}
|
|
17
|
-
export interface SplitterProps {
|
|
17
|
+
export interface SplitterProps extends Omit<ComponentProps<'div'>, 'children'> {
|
|
18
18
|
panels: readonly SplitterPanel[];
|
|
19
19
|
orientation?: 'horizontal' | 'vertical';
|
|
20
20
|
/** Arrow keys on a handle change the size by this many percent (default 1) */
|
|
@@ -40,5 +40,5 @@ export interface SplitterProps {
|
|
|
40
40
|
* Panels with handles between them (role="separator"): drag, or arrow keys (Shift for bigger steps) and Home/End on
|
|
41
41
|
* the handle; Enter folds a collapsible panel; double click resets. Splitters can be nested in a panel.
|
|
42
42
|
*/
|
|
43
|
-
export declare function Splitter({ classes, panels, orientation, step, shiftStep, storageKey, onResize, onResizeEnd, onCollapse, onExpand, children, className, style, }: SplitterProps): import("react").JSX.Element;
|
|
43
|
+
export declare function Splitter({ classes, panels, orientation, step, shiftStep, storageKey, onResize, onResizeEnd, onCollapse, onExpand, children, className, style, ...rest }: SplitterProps): import("react").JSX.Element;
|
|
44
44
|
//# sourceMappingURL=Splitter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Splitter.d.ts","sourceRoot":"","sources":["../../../src/components/Splitter/Splitter.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,QAAQ,IAAI,cAAc,EAAe,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEtH,OAAO,
|
|
1
|
+
{"version":3,"file":"Splitter.d.ts","sourceRoot":"","sources":["../../../src/components/Splitter/Splitter.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,QAAQ,IAAI,cAAc,EAAe,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEtH,OAAO,EACH,KAAK,cAAc,EAGnB,KAAK,aAAa,EAElB,KAAK,SAAS,EACjB,MAAM,OAAO,CAAC;AAIf,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,2DAA2D;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,sFAAsF;IACtF,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,uDAAuD;IACvD,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,yGAAyG;IACzG,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,sCAAsC;IACtC,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IAC1E,MAAM,EAAE,SAAS,aAAa,EAAE,CAAC;IACjC,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,8EAA8E;IAC9E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACrC,iDAAiD;IACjD,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACxC,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,yBAAyB;IACzB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,SAAS,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,cAAc,CAAC,CAAC;CAClD;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,EACrB,OAAO,EACP,MAAM,EACN,WAA0B,EAC1B,IAAI,EACJ,SAAS,EACT,UAAU,EACV,QAAQ,EACR,WAAW,EACX,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,aAAa,+BA4Ff"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spoiler as spoilerRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties, type ReactNode } from 'react';
|
|
3
|
-
export interface SpoilerProps {
|
|
2
|
+
import { type ComponentProps, type CSSProperties, type ReactNode } from 'react';
|
|
3
|
+
export interface SpoilerProps extends ComponentProps<'div'> {
|
|
4
4
|
/** Height of the cut content in px */
|
|
5
5
|
maxHeight?: number;
|
|
6
6
|
open?: boolean;
|
|
@@ -14,5 +14,5 @@ export interface SpoilerProps {
|
|
|
14
14
|
classes?: RecipeClasses<typeof spoilerRecipe>;
|
|
15
15
|
}
|
|
16
16
|
/** Content cut to maxHeight; the button (aria-expanded) shows the rest. Hidden text stays in the reading order. */
|
|
17
|
-
export declare function Spoiler({ classes, maxHeight, open, onOpenChange, showLabel: showLabelProp, hideLabel: hideLabelProp, children, className, style, }: SpoilerProps): import("react").JSX.Element;
|
|
17
|
+
export declare function Spoiler({ classes, maxHeight, open, onOpenChange, showLabel: showLabelProp, hideLabel: hideLabelProp, children, className, style, ...rest }: SpoilerProps): import("react").JSX.Element;
|
|
18
18
|
//# sourceMappingURL=Spoiler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spoiler.d.ts","sourceRoot":"","sources":["../../../src/components/Spoiler/Spoiler.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC3F,OAAO,EAAsC,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Spoiler.d.ts","sourceRoot":"","sources":["../../../src/components/Spoiler/Spoiler.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC3F,OAAO,EAAE,KAAK,cAAc,EAAsC,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIpH,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,KAAK,CAAC;IACvD,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,aAAa,CAAC,CAAC;CACjD;AAED,mHAAmH;AACnH,wBAAgB,OAAO,CAAC,EACpB,OAAO,EACP,SAAe,EACf,IAAI,EACJ,YAAY,EACZ,SAAS,EAAE,aAAa,EACxB,SAAS,EAAE,aAAa,EACxB,QAAQ,EACR,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,YAAY,+BAgDd"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { stepper as stepperRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import type { ComponentProps, CSSProperties, ReactNode } from 'react';
|
|
3
3
|
export interface StepperItem {
|
|
4
4
|
label: string;
|
|
5
5
|
description?: string;
|
|
@@ -9,7 +9,7 @@ export interface StepperItem {
|
|
|
9
9
|
*/
|
|
10
10
|
loading?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export interface StepperProps {
|
|
12
|
+
export interface StepperProps extends Omit<ComponentProps<'div'>, 'children'> {
|
|
13
13
|
items: readonly StepperItem[];
|
|
14
14
|
/** Current step (0-based; items.length = all done) */
|
|
15
15
|
step?: number;
|
|
@@ -35,5 +35,5 @@ export interface StepperProps {
|
|
|
35
35
|
classes?: RecipeClasses<typeof stepperRecipe>;
|
|
36
36
|
}
|
|
37
37
|
/** Steps list (tabs) with one panel per step and back/next buttons; the last "Next" finishes */
|
|
38
|
-
export declare function Stepper({ classes, items, step, defaultStep, onStepChange, linear, isStepValid, orientation, labelPlacement, finishLabel, children, completed, className, style, }: StepperProps): import("react").JSX.Element;
|
|
38
|
+
export declare function Stepper({ classes, items, step, defaultStep, onStepChange, linear, isStepValid, orientation, labelPlacement, finishLabel, children, completed, className, style, ...rest }: StepperProps): import("react").JSX.Element;
|
|
39
39
|
//# sourceMappingURL=Stepper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Stepper.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Stepper.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,OAAO,IAAI,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEvG,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKtE,MAAM,WAAW,WAAW;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IACzE,KAAK,EAAE,SAAS,WAAW,EAAE,CAAC;IAC9B,sDAAsD;IACtD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,8DAA8D;IAC9D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,4DAA4D;IAC5D,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IACzC,oDAAoD;IACpD,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,oDAAoD;IACpD,cAAc,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAClC,uEAAuE;IACvE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wBAAwB;IACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IACvC,gCAAgC;IAChC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,aAAa,CAAC,CAAC;CACjD;AAKD,gGAAgG;AAChG,wBAAgB,OAAO,CAAC,EACpB,OAAO,EACP,KAAK,EACL,IAAI,EACJ,WAAe,EACf,YAAY,EACZ,MAAc,EACd,WAAW,EACX,WAA0B,EAC1B,cAAsB,EACtB,WAAW,EACX,QAAQ,EACR,SAAS,EACT,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,YAAY,+BAmFd"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { tableOfContents as tableOfContentsRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { ComponentProps, CSSProperties } from 'react';
|
|
3
3
|
export interface TocEntry {
|
|
4
4
|
/** id of the heading on the page */
|
|
5
5
|
id: string;
|
|
@@ -7,7 +7,7 @@ export interface TocEntry {
|
|
|
7
7
|
/** 1 for the top level, 2 below it … */
|
|
8
8
|
depth?: number;
|
|
9
9
|
}
|
|
10
|
-
export interface TableOfContentsProps {
|
|
10
|
+
export interface TableOfContentsProps extends ComponentProps<'div'> {
|
|
11
11
|
items: readonly TocEntry[];
|
|
12
12
|
title?: string;
|
|
13
13
|
className?: string;
|
|
@@ -16,5 +16,5 @@ export interface TableOfContentsProps {
|
|
|
16
16
|
classes?: RecipeClasses<typeof tableOfContentsRecipe>;
|
|
17
17
|
}
|
|
18
18
|
/** Navigation to the headings of the page; the section in view is marked (aria-current="location") */
|
|
19
|
-
export declare function TableOfContents({ classes, items, title: titleProp, className, style }: TableOfContentsProps): import("react").JSX.Element;
|
|
19
|
+
export declare function TableOfContents({ classes, items, title: titleProp, className, style, ...rest }: TableOfContentsProps): import("react").JSX.Element;
|
|
20
20
|
//# sourceMappingURL=TableOfContents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableOfContents.d.ts","sourceRoot":"","sources":["../../../src/components/TableOfContents/TableOfContents.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"TableOfContents.d.ts","sourceRoot":"","sources":["../../../src/components/TableOfContents/TableOfContents.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,eAAe,IAAI,qBAAqB,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACvH,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3D,MAAM,WAAW,QAAQ;IACrB,oCAAoC;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,oBAAqB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC/D,KAAK,EAAE,SAAS,QAAQ,EAAE,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,qBAAqB,CAAC,CAAC;CACzD;AAED,sGAAsG;AACtG,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,oBAAoB,+BA4BpH"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { timeline as timelineRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties, type ReactNode } from 'react';
|
|
2
|
+
import { type CSSProperties, type HTMLAttributes, type ReactNode } from 'react';
|
|
3
3
|
import type { IconComponent } from '../../types.js';
|
|
4
4
|
export interface TimelineItem {
|
|
5
5
|
/** Shown above the title, e.g. "10/20/2026, 2:30 PM" */
|
|
@@ -13,7 +13,7 @@ export interface TimelineItem {
|
|
|
13
13
|
/** Text on the other side of the marker (or renderOpposite), e.g. the author */
|
|
14
14
|
opposite?: string;
|
|
15
15
|
}
|
|
16
|
-
export interface TimelineProps {
|
|
16
|
+
export interface TimelineProps extends HTMLAttributes<HTMLElement> {
|
|
17
17
|
items: readonly TimelineItem[];
|
|
18
18
|
/** Accessible name of the list, e.g. "History" */
|
|
19
19
|
label: string;
|
|
@@ -50,5 +50,5 @@ export interface TimelineProps {
|
|
|
50
50
|
classes?: RecipeClasses<typeof timelineRecipe>;
|
|
51
51
|
}
|
|
52
52
|
/** Events in order (ordered list); the markers are decoration, the status colour is not the only cue */
|
|
53
|
-
export declare function Timeline({ classes, items, label, align: alignProp, orientation, activeIndex, renderContent, renderOpposite, renderMarker, feed, hasMore, loading, autoLoad, setSize, onLoadMore, className, style, }: TimelineProps): import("react").JSX.Element;
|
|
53
|
+
export declare function Timeline({ classes, items, label, align: alignProp, orientation, activeIndex, renderContent, renderOpposite, renderMarker, feed, hasMore, loading, autoLoad, setSize, onLoadMore, className, style, ...rest }: TimelineProps): import("react").JSX.Element;
|
|
54
54
|
//# sourceMappingURL=Timeline.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../src/components/Timeline/Timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC7F,OAAO,EAAS,KAAK,aAAa,EAAsB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../src/components/Timeline/Timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC7F,OAAO,EAAS,KAAK,aAAa,EAAE,KAAK,cAAc,EAAsB,KAA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EAAE,OAAO,CAAC;IAClB,mGAAmG;IACnG,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8GAA8G;IAC9G,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,cAAc,CAAC,CAAC;CAClD;AAED,wGAAwG;AACxG,wBAAgB,QAAQ,CAAC,EACrB,OAAO,EACP,KAAK,EACL,KAAK,EACL,KAAK,EAAE,SAAmB,EAC1B,WAAwB,EACxB,WAAW,EACX,aAAa,EACb,cAAc,EACd,YAAY,EACZ,IAAY,EACZ,OAAe,EACf,OAAe,EACf,QAAgB,EAChB,OAAO,EACP,UAAU,EACV,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,aAAa,+BA0Hf"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { toolbar as toolbarRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties, type ReactNode } from 'react';
|
|
3
|
-
export interface ToolbarProps {
|
|
2
|
+
import { type ComponentProps, type CSSProperties, type ReactNode } from 'react';
|
|
3
|
+
export interface ToolbarProps extends ComponentProps<'div'> {
|
|
4
4
|
/** Accessible name, e.g. "Formatting" */
|
|
5
5
|
label: string;
|
|
6
6
|
orientation?: 'horizontal' | 'vertical';
|
|
@@ -17,5 +17,5 @@ export interface ToolbarProps {
|
|
|
17
17
|
classes?: RecipeClasses<typeof toolbarRecipe>;
|
|
18
18
|
}
|
|
19
19
|
/** Groups controls (role="toolbar"): one tab stop, arrow keys move between the controls (across all areas) */
|
|
20
|
-
export declare function Toolbar({ classes, label, orientation, children, start, center, end, className, style, }: ToolbarProps): import("react").JSX.Element;
|
|
20
|
+
export declare function Toolbar({ classes, label, orientation, children, start, center, end, className, style, ...rest }: ToolbarProps): import("react").JSX.Element;
|
|
21
21
|
//# sourceMappingURL=Toolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/Toolbar/Toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEH,OAAO,IAAI,aAAa,EAExB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAqB,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/Toolbar/Toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEH,OAAO,IAAI,aAAa,EAExB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,KAAK,cAAc,EAAqB,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGnG,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,KAAK,CAAC;IACvD,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,+FAA+F;IAC/F,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,uCAAuC;IACvC,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,eAAe;IACf,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,aAAa,CAAC,CAAC;CACjD;AAED,8GAA8G;AAC9G,wBAAgB,OAAO,CAAC,EACpB,OAAO,EACP,KAAK,EACL,WAA0B,EAC1B,QAAQ,EACR,KAAK,EACL,MAAM,EACN,GAAG,EACH,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,YAAY,+BA8Bd"}
|
|
@@ -6,12 +6,21 @@ export interface TourStep {
|
|
|
6
6
|
/** CSS selector of the element to show; without it the step is a centred dialog */
|
|
7
7
|
target?: string;
|
|
8
8
|
placement?: 'top' | 'bottom' | 'left' | 'right';
|
|
9
|
+
/** Runs before the step is shown (also for the first step and when going back), may be async – e.g. switches a tab */
|
|
10
|
+
before?: () => void | Promise<void>;
|
|
11
|
+
/** How long (ms) to wait for `target` after `before`, e.g. while it loads (default 0: look once) */
|
|
12
|
+
waitFor?: number;
|
|
9
13
|
}
|
|
10
14
|
export interface TourProps {
|
|
11
15
|
steps: readonly TourStep[];
|
|
12
16
|
/** Running – starting it sets it, the tour ends itself */
|
|
13
17
|
open?: boolean;
|
|
14
18
|
onOpenChange?: (open: boolean) => void;
|
|
19
|
+
/** Id of the step shown, null while the tour does not run; setting it moves there */
|
|
20
|
+
step?: string | null;
|
|
21
|
+
onStepChange?: (step: string | null) => void;
|
|
22
|
+
/** A step whose target is not there (after `waitFor`): skip it (default) or show it as a centred dialog */
|
|
23
|
+
missingTarget?: 'skip' | 'dialog';
|
|
15
24
|
onComplete?: () => void;
|
|
16
25
|
/** Extra classes per part of the component, e.g. { base: "…" } (see the recipe) */
|
|
17
26
|
classes?: RecipeClasses<typeof tourRecipe>;
|
|
@@ -20,5 +29,5 @@ export interface TourProps {
|
|
|
20
29
|
* Step-by-step introduction: each step is a dialog next to its element (focus moves in, Escape ends the tour,
|
|
21
30
|
* arrow keys move between steps).
|
|
22
31
|
*/
|
|
23
|
-
export declare function Tour({ classes, steps, open, onOpenChange, onComplete }: TourProps): import("react").JSX.Element;
|
|
32
|
+
export declare function Tour({ classes, steps, open, onOpenChange, step, onStepChange, missingTarget, onComplete, }: TourProps): import("react").JSX.Element;
|
|
24
33
|
//# sourceMappingURL=Tour.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tour.d.ts","sourceRoot":"","sources":["../../../src/components/Tour/Tour.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"Tour.d.ts","sourceRoot":"","sources":["../../../src/components/Tour/Tour.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAmC,IAAI,IAAI,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAQtH,MAAM,WAAW,QAAQ;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,mFAAmF;IACnF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAChD,sHAAsH;IACtH,MAAM,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpC,oGAAoG;IACpG,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACtB,KAAK,EAAE,SAAS,QAAQ,EAAE,CAAC;IAC3B,0DAA0D;IAC1D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,qFAAqF;IACrF,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7C,2GAA2G;IAC3G,aAAa,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,UAAU,CAAC,CAAC;CAC9C;AAED;;;GAGG;AACH,wBAAgB,IAAI,CAAC,EACjB,OAAO,EACP,KAAK,EACL,IAAY,EACZ,YAAY,EACZ,IAAI,EACJ,YAAY,EACZ,aAAsB,EACtB,UAAU,GACb,EAAE,SAAS,+BA4JX"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { tree as treeRecipe, type DataSource, type RecipeClasses, type TreeCheckedStrategy, type TreeMove } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties, type ReactNode, type Ref } from 'react';
|
|
2
|
+
import { type ComponentProps, type CSSProperties, type ReactNode, type Ref } from 'react';
|
|
3
3
|
import type { TreeDropAllowed, TreeNode, TreeNodeState, TreeTransfer } from './types.js';
|
|
4
4
|
import { type TreeModel } from './useTree.js';
|
|
5
5
|
export type { TreeDropAllowed, TreeNode, TreeNodeState, TreeTransfer } from './types.js';
|
|
6
|
-
export interface TreeProps {
|
|
6
|
+
export interface TreeProps extends Omit<ComponentProps<'div'>, 'ref'> {
|
|
7
7
|
items: readonly TreeNode[];
|
|
8
8
|
/** Visible label, also the tree's accessible name */
|
|
9
9
|
label?: string;
|
|
10
|
-
/** Accessible name without a visible label */
|
|
10
|
+
/** Accessible name of the tree without a visible label (not of the outer element) */
|
|
11
11
|
'aria-label'?: string;
|
|
12
12
|
selectionMode?: 'single' | 'multiple';
|
|
13
13
|
selectedValue?: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../src/components/Tree/Tree.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../src/components/Tree/Tree.tsx"],"names":[],"mappings":"AACA,OAAO,EAGH,IAAI,IAAI,UAAU,EAElB,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,mBAAmB,EAExB,KAAK,QAAQ,EAChB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAKH,KAAK,cAAc,EACnB,KAAK,aAAa,EAGlB,KAAK,SAAS,EACd,KAAK,GAAG,EACX,MAAM,OAAO,CAAC;AAKf,OAAO,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AAgB,YAAY,CAAC,EACzB,IAAI,EACJ,SAAS,EACT,IAAY,EACZ,QAAQ,EACR,OAAO,GACV,EAAE;IACC,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,+BAkIA;AAED,gFAAgF;AAChF,eAAO,MAAM,iBAAiB,6CAAY,CAAC;AAE3C,kDAAkD;AAClD,wBAAgB,YAAY,CAAC,CAAC,SAAS;IAAE,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAA;CAAE,EAClF,KAAK,EAAE,CAAC,EAAE,EACV,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC7B,IAAI,GAAE,CAAC,EAAO,GACf,CAAC,EAAE,GAAG,SAAS,CAOjB"}
|
|
@@ -31,6 +31,8 @@ export interface TreeModelProps {
|
|
|
31
31
|
name?: string;
|
|
32
32
|
onTransfer?: (transfer: TreeTransfer) => void;
|
|
33
33
|
}
|
|
34
|
+
/** A tree's other props without those of the tree logic: the HTML attributes for its root element */
|
|
35
|
+
export declare function treeAttributes<P extends object>(props: P): Omit<P, keyof TreeModelProps>;
|
|
34
36
|
/** Drag and drop state of a tree, shared with the nodes */
|
|
35
37
|
export interface TreeDragContext {
|
|
36
38
|
reorderable: boolean;
|