@wirecore/wirelayer-react 0.12.0 → 0.12.2
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 +4 -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/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 +1272 -1216
- 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 +117 -21
- package/package.json +3 -3
- package/dist/CopyButton-0e1pHR3f.js +0 -45
- package/dist/Tree-DVjwp6FG.js +0 -568
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../../src/components/Calendar/Calendar.tsx"],"names":[],"mappings":"AACA,OAAO,EACH,UAAU,IAAI,gBAAgB,EAE9B,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../../src/components/Calendar/Calendar.tsx"],"names":[],"mappings":"AACA,OAAO,EACH,UAAU,IAAI,gBAAgB,EAE9B,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,KAAK,cAAc,EAAmB,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AACjF,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAKhF,MAAM,WAAW,aAAa,CAAC,CAAC,SAAS,QAAQ,EAAE,GAAG,MAAM,EAAE,CAAE,SAAQ,IAAI,CACxE,cAAc,CAAC,KAAK,CAAC,EACrB,cAAc,GAAG,OAAO,CAC3B;IACG,wDAAwD;IACxD,aAAa,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;IAChD,8DAA8D;IAC9D,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,YAAY,CAAC,EAAE,CAAC,CAAC;IACjB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IACnC,qEAAqE;IACrE,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,GAAG,CAAC,EAAE,QAAQ,CAAC;IACf,G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AE,UAAU,EAClB,QAAgB,EAChB,aAAa,EACb,eAAe,EACf,cAAc,EACd,cAAqB,EACrB,eAAe,EACf,cAAc,EACd,WAAW,EACX,aAAa,EACb,QAAQ,EACR,SAAS,EACT,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,aAAa,CAAC,CAAC,CAAC,+BAmDlB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { carousel as carouselRecipe, type CarouselBreakpoint, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties, type ReactNode } from 'react';
|
|
3
|
-
export interface CarouselProps<T> {
|
|
2
|
+
import { type ComponentProps, type CSSProperties, type ReactNode } from 'react';
|
|
3
|
+
export interface CarouselProps<T> extends Omit<ComponentProps<'div'>, 'children'> {
|
|
4
4
|
items: readonly T[];
|
|
5
5
|
/** Accessible name of the carousel region, e.g. "References" */
|
|
6
6
|
label: string;
|
|
@@ -41,5 +41,5 @@ export interface CarouselProps<T> {
|
|
|
41
41
|
* Region "carousel" with slides labelled "Image n of m". Previous/next buttons, one dot per page (arrow keys
|
|
42
42
|
* move between pages there); autoplay only with a pause button.
|
|
43
43
|
*/
|
|
44
|
-
export declare function Carousel<T>({ classes, items, label, children, slidesPerPage, slidesToScroll, orientation, height, breakpoints, allowMouseDrag, spacing, loop, autoplay, indicators, controlsPosition, page, defaultPage, onPageChange, className, style, }: CarouselProps<T>): import("react").JSX.Element;
|
|
44
|
+
export declare function Carousel<T>({ classes, items, label, children, slidesPerPage, slidesToScroll, orientation, height, breakpoints, allowMouseDrag, spacing, loop, autoplay, indicators, controlsPosition, page, defaultPage, onPageChange, className, style, ...rest }: CarouselProps<T>): import("react").JSX.Element;
|
|
45
45
|
//# sourceMappingURL=Carousel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|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AAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,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,CAAC,EAAE,EACxB,OAAO,EACP,KAAK,EACL,KAAK,EACL,QAAQ,EACR,aAAiB,EACjB,cAAc,EACd,WAA0B,EAC1B,MAAM,EACN,WAAW,EACX,cAAsB,EACtB,OAAgB,EAChB,IAAY,EACZ,QAAgB,EAChB,UAAiB,EACjB,gBAA2B,EAC3B,IAAI,EACJ,WAAe,EACf,YAAY,EACZ,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,aAAa,CAAC,CAAC,CAAC,+BAmGlB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cascadeSelect as cascadeSelectRecipe, type DataSource, type ItemAccessor, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties } from 'react';
|
|
2
|
+
import { type ComponentProps, type CSSProperties } from 'react';
|
|
3
3
|
import type { IconComponent } from '../../types.js';
|
|
4
4
|
export interface CascadeOption<V = string> {
|
|
5
5
|
/** Any type (string, number, object – see `valueKey`) */
|
|
@@ -15,7 +15,7 @@ export interface CascadeOption<V = string> {
|
|
|
15
15
|
/** false: like `hasChildren: true` */
|
|
16
16
|
leaf?: boolean;
|
|
17
17
|
}
|
|
18
|
-
export interface CascadeSelectProps<V = string> {
|
|
18
|
+
export interface CascadeSelectProps<V = string> extends Omit<ComponentProps<'div'>, 'defaultValue' | 'value' | 'onSelect'> {
|
|
19
19
|
items: readonly CascadeOption<V>[];
|
|
20
20
|
/** Chosen value; any type (see `valueKey`) */
|
|
21
21
|
value?: V | null;
|
|
@@ -48,6 +48,7 @@ export interface CascadeSelectProps<V = string> {
|
|
|
48
48
|
onLoadChildren?: (option: CascadeOption<V>) => void;
|
|
49
49
|
/** Source of the options of lazy levels (`getChildren`) */
|
|
50
50
|
dataSource?: DataSource<CascadeOption<V>>;
|
|
51
|
+
/** Accessible name of the field without a surrounding Field (not of the outer element) */
|
|
51
52
|
'aria-label'?: string;
|
|
52
53
|
/** Id of the field (the trigger, with `filter` the search field), e.g. for a `<label for>` */
|
|
53
54
|
id?: string;
|
|
@@ -61,5 +62,5 @@ export interface CascadeSelectProps<V = string> {
|
|
|
61
62
|
* radio items. The trigger shows the whole path. With `filter` the field is a combobox: the hits are listed
|
|
62
63
|
* with their path, the button at its end opens the levels.
|
|
63
64
|
*/
|
|
64
|
-
export declare function CascadeSelect<V = string>({ classes, items: itemsProp, value, defaultValue, onValueChange, placeholder, separator, disabled, invalid, valueKey, changeOnSelect, expandTrigger, filter, clearable, loading, size, loadChildren, onLoadChildren, dataSource, 'aria-label': ariaLabel, id, className, style, }: CascadeSelectProps<V>): import("react").JSX.Element;
|
|
65
|
+
export declare function CascadeSelect<V = string>({ classes, items: itemsProp, value, defaultValue, onValueChange, placeholder, separator, disabled, invalid, valueKey, changeOnSelect, expandTrigger, filter, clearable, loading, size, loadChildren, onLoadChildren, dataSource, 'aria-label': ariaLabel, id, className, style, ...rest }: CascadeSelectProps<V>): import("react").JSX.Element;
|
|
65
66
|
//# sourceMappingURL=CascadeSelect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CascadeSelect.d.ts","sourceRoot":"","sources":["../../../src/components/CascadeSelect/CascadeSelect.tsx"],"names":[],"mappings":"AAKA,OAAO,EAEH,aAAa,IAAI,mBAAmB,EASpC,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,aAAa,EAErB,MAAM,6BAA6B,CAAC;AAErC,OAAO,
|
|
1
|
+
{"version":3,"file":"CascadeSelect.d.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EACnB,aAAa,EACb,WAAW,EACX,SAAiB,EACjB,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,cAAsB,EACtB,aAAuB,EACvB,MAAc,EACd,SAAiB,EACjB,OAAe,EACf,IAAI,EACJ,YAAY,EACZ,cAAc,EACd,UAAU,EACV,YAAY,EAAE,SAAS,EACvB,EAAE,EACF,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,kBAAkB,CAAC,CAAC,CAAC,+BAgXvB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { colorPicker as colorPickerRecipe, type ColorFormat, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties } from 'react';
|
|
3
|
-
export interface ColorPickerProps {
|
|
2
|
+
import { type ComponentProps, type CSSProperties } from 'react';
|
|
3
|
+
export interface ColorPickerProps extends Omit<ComponentProps<'div'>, 'defaultValue' | 'value'> {
|
|
4
4
|
/** Colour, e.g. "#1e66f5" ("#1e66f580" with alpha; in `format`) */
|
|
5
5
|
value?: string;
|
|
6
6
|
defaultValue?: string;
|
|
@@ -23,7 +23,7 @@ export interface ColorPickerProps {
|
|
|
23
23
|
readOnly?: boolean;
|
|
24
24
|
invalid?: boolean;
|
|
25
25
|
name?: string;
|
|
26
|
-
/** Accessible name without a surrounding Field */
|
|
26
|
+
/** Accessible name of the button without a surrounding Field (not of the outer element) */
|
|
27
27
|
'aria-label'?: string;
|
|
28
28
|
/** Id of the field (the button), e.g. for a `<label for>` */
|
|
29
29
|
id?: string;
|
|
@@ -33,5 +33,5 @@ export interface ColorPickerProps {
|
|
|
33
33
|
classes?: RecipeClasses<typeof colorPickerRecipe>;
|
|
34
34
|
}
|
|
35
35
|
/** Colour field: the button opens a panel with area, hue (and opacity) slider, hex input and presets */
|
|
36
|
-
export declare function ColorPicker({ classes, value, defaultValue, onValueChange, onValueChangeEnd, alpha, swatches, format, withPicker, eyeDropper, channelInputs, disabled, readOnly, invalid, name, 'aria-label': ariaLabel, id, className, style, }: ColorPickerProps): import("react").JSX.Element;
|
|
36
|
+
export declare function ColorPicker({ classes, value, defaultValue, onValueChange, onValueChangeEnd, alpha, swatches, format, withPicker, eyeDropper, channelInputs, disabled, readOnly, invalid, name, 'aria-label': ariaLabel, id, className, style, ...rest }: ColorPickerProps): import("react").JSX.Element;
|
|
37
37
|
//# sourceMappingURL=ColorPicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,WAAW,IAAI,iBAAiB,EAGhC,KAAK,WAAW,EAChB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAkB,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,WAAW,IAAI,iBAAiB,EAGhC,KAAK,WAAW,EAChB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,KAAK,cAAc,EAAkB,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAKhF,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC;IAC3F,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,mCAAmC;IACnC,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,8DAA8D;IAC9D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,mGAAmG;IACnG,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,2FAA2F;IAC3F,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iFAAiF;IACjF,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2FAA2F;IAC3F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6DAA6D;IAC7D,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,iBAAiB,CAAC,CAAC;CACrD;AAED,wGAAwG;AACxG,wBAAgB,WAAW,CAAC,EACxB,OAAO,EACP,KAAK,EACL,YAAwB,EACxB,aAAa,EACb,gBAAgB,EAChB,KAAa,EACb,QAAQ,EACR,MAAc,EACd,UAAiB,EACjB,UAAkB,EAClB,aAAqB,EACrB,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,YAAY,EAAE,SAAS,EACvB,EAAE,EACF,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,gBAAgB,+BAiFlB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { copyButton as copyButtonRecipe, type Size, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import type { CSSProperties } from 'react';
|
|
3
|
-
export interface CopyButtonProps {
|
|
2
|
+
import type { ComponentProps, CSSProperties } from 'react';
|
|
3
|
+
export interface CopyButtonProps extends Omit<ComponentProps<'div'>, 'defaultValue' | 'value'> {
|
|
4
4
|
/** Text that is copied */
|
|
5
5
|
value: string;
|
|
6
6
|
/** Shows the value next to the button (monospace) */
|
|
@@ -14,5 +14,5 @@ export interface CopyButtonProps {
|
|
|
14
14
|
classes?: RecipeClasses<typeof copyButtonRecipe>;
|
|
15
15
|
}
|
|
16
16
|
/** Copies the value; the icon turns into a check and "Copied to clipboard" is announced */
|
|
17
|
-
export declare function CopyButton({ classes, value, showValue, label: labelProp, size, className, style, }: CopyButtonProps): import("react").JSX.Element;
|
|
17
|
+
export declare function CopyButton({ classes, value, showValue, label: labelProp, size, className, style, ...rest }: CopyButtonProps): import("react").JSX.Element;
|
|
18
18
|
//# sourceMappingURL=CopyButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyButton.d.ts","sourceRoot":"","sources":["../../../src/components/CopyButton/CopyButton.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"CopyButton.d.ts","sourceRoot":"","sources":["../../../src/components/CopyButton/CopyButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAEH,UAAU,IAAI,gBAAgB,EAE9B,KAAK,IAAI,EACT,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3D,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC;IAC1F,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,gBAAgB,CAAC,CAAC;CACpD;AAED,2FAA2F;AAC3F,wBAAgB,UAAU,CAAC,EACvB,OAAO,EACP,KAAK,EACL,SAAiB,EACjB,KAAK,EAAE,SAAS,EAChB,IAAW,EACX,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,eAAe,+BA8BjB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dataView as dataViewRecipe, type DataQuery, type DataSource, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties, type ReactNode } from 'react';
|
|
3
|
-
export interface DataViewProps<T> {
|
|
2
|
+
import { type ComponentProps, type CSSProperties, type ReactNode } from 'react';
|
|
3
|
+
export interface DataViewProps<T> extends Omit<ComponentProps<'div'>, 'children'> {
|
|
4
4
|
items?: readonly T[];
|
|
5
5
|
/** Accessible name of the list, e.g. "Server" */
|
|
6
6
|
label: string;
|
|
@@ -61,5 +61,5 @@ export interface DataViewProps<T> {
|
|
|
61
61
|
classes?: RecipeClasses<typeof dataViewRecipe>;
|
|
62
62
|
}
|
|
63
63
|
/** Items as a list or grid (a list either way); the switch is a radio group "View" */
|
|
64
|
-
export declare function DataView<T>({ classes, items, label, layout, defaultLayout, onLayoutChange, layoutToggle, pageSize, onPageSizeChange, pageSizes, page: pageProp, defaultPage, onPageChange, manual, totalCount, dataSource, query, loadMode, autoLoad, hasMore, onLoadMore, loading, skeletonCount, filtered, error, emptyText, header, toolbar, empty, noResults, renderError, children, className, style, }: DataViewProps<T>): import("react").JSX.Element;
|
|
64
|
+
export declare function DataView<T>({ classes, items, label, layout, defaultLayout, onLayoutChange, layoutToggle, pageSize, onPageSizeChange, pageSizes, page: pageProp, defaultPage, onPageChange, manual, totalCount, dataSource, query, loadMode, autoLoad, hasMore, onLoadMore, loading, skeletonCount, filtered, error, emptyText, header, toolbar, empty, noResults, renderError, children, className, style, ...attributes }: DataViewProps<T>): import("react").JSX.Element;
|
|
65
65
|
//# sourceMappingURL=DataView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataView.d.ts","sourceRoot":"","sources":["../../../src/components/DataView/DataView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGH,QAAQ,IAAI,cAAc,EAC1B,KAAK,SAAS,EACd,KAAK,UAAU,EAEf,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAA+B,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DataView.d.ts","sourceRoot":"","sources":["../../../src/components/DataView/DataView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGH,QAAQ,IAAI,cAAc,EAC1B,KAAK,SAAS,EACd,KAAK,UAAU,EAEf,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,KAAK,cAAc,EAA+B,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAW7G,MAAM,WAAW,aAAa,CAAC,CAAC,CAAE,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IAC7E,KAAK,CAAC,EAAE,SAAS,CAAC,EAAE,CAAC;IACrB,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IACnD,mDAAmD;IACnD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,gDAAgD;IAChD,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9B,4BAA4B;IAC5B,IAAI,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EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,KAAK,SAAS,CAAC;IAC1D,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,sFAAsF;AACtF,wBAAgB,QAAQ,CAAC,CAAC,EAAE,EACxB,OAAO,EACP,KAAU,EACV,KAAK,EACL,MAAM,EACN,aAAsB,EACtB,cAAc,EACd,YAAmB,EACnB,QAAQ,EACR,gBAAgB,EAChB,SAAS,EACT,IAAI,EAAE,QAAQ,EACd,WAAe,EACf,YAAY,EACZ,MAAc,EACd,UAAU,EACV,UAAU,EACV,KAAK,EACL,QAAkB,EAClB,QAAgB,EAChB,OAAe,EACf,UAAU,EACV,OAAe,EACf,aAAa,EACb,QAAgB,EAChB,KAAK,EACL,SAAS,EACT,MAAM,EACN,OAAO,EACP,KAAK,EACL,SAAS,EACT,WAAW,EACX,QAAQ,EACR,SAAS,EACT,KAAK,EACL,GAAG,UAAU,EAChB,EAAE,aAAa,CAAC,CAAC,CAAC,+BA6MlB"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { fieldset as fieldsetRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties, type ReactNode } from 'react';
|
|
3
|
-
export interface FieldsetProps {
|
|
2
|
+
import { type ComponentProps, type CSSProperties, type ReactNode } from 'react';
|
|
3
|
+
export interface FieldsetProps extends ComponentProps<'fieldset'> {
|
|
4
4
|
legend: string;
|
|
5
|
+
/** Base of the ids of the legend and the texts (Ark) – unlike other attributes, not the fieldset's own id */
|
|
6
|
+
id?: string;
|
|
5
7
|
helperText?: string;
|
|
6
8
|
/** Error of the whole group (e.g. "Please choose an option") */
|
|
7
9
|
errorText?: string;
|
|
@@ -21,5 +23,5 @@ export interface FieldsetProps {
|
|
|
21
23
|
classes?: RecipeClasses<typeof fieldsetRecipe>;
|
|
22
24
|
}
|
|
23
25
|
/** <fieldset> with <legend>: names the group of fields; help and error text describe it */
|
|
24
|
-
export declare function Fieldset({ classes, legend, helperText, errorText, invalid, disabled, collapsible, open, defaultOpen, onOpenChange, children, className, style, }: FieldsetProps): import("react").JSX.Element;
|
|
26
|
+
export declare function Fieldset({ classes, legend, helperText, errorText, invalid, disabled, collapsible, open, defaultOpen, onOpenChange, children, className, style, ...rest }: FieldsetProps): import("react").JSX.Element;
|
|
25
27
|
//# sourceMappingURL=Fieldset.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fieldset.d.ts","sourceRoot":"","sources":["../../../src/components/Fieldset/Fieldset.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE7F,OAAO,EAAmB,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Fieldset.d.ts","sourceRoot":"","sources":["../../../src/components/Fieldset/Fieldset.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE7F,OAAO,EAAE,KAAK,cAAc,EAAmB,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGjG,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,UAAU,CAAC;IAC7D,MAAM,EAAE,MAAM,CAAC;IACf,6GAA6G;IAC7G,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uFAAuF;IACvF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8EAA8E;IAC9E,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2EAA2E;IAC3E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,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,cAAc,CAAC,CAAC;CAClD;AAED,2FAA2F;AAC3F,wBAAgB,QAAQ,CAAC,EACrB,OAAO,EACP,MAAM,EACN,UAAU,EACV,SAAS,EACT,OAAe,EACf,QAAgB,EAChB,WAAmB,EACnB,IAAI,EACJ,WAAkB,EAClB,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,aAAa,+BAkDf"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { gallery as galleryRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties } from 'react';
|
|
2
|
+
import { type ComponentProps, type CSSProperties } from 'react';
|
|
3
3
|
/** A text track of a video slide (captions, subtitles, descriptions) */
|
|
4
4
|
export interface GalleryTrack {
|
|
5
5
|
src: string;
|
|
@@ -33,7 +33,7 @@ export interface GalleryImage {
|
|
|
33
33
|
/** File the download button offers (`tools`); defaults to fullSrc or src */
|
|
34
34
|
download?: string;
|
|
35
35
|
}
|
|
36
|
-
export interface GalleryProps {
|
|
36
|
+
export interface GalleryProps extends ComponentProps<'div'> {
|
|
37
37
|
images: readonly GalleryImage[];
|
|
38
38
|
/** Accessible name of the gallery, also the title of the fullscreen view */
|
|
39
39
|
label: string;
|
|
@@ -63,5 +63,5 @@ export interface GalleryProps {
|
|
|
63
63
|
classes?: RecipeClasses<typeof galleryRecipe>;
|
|
64
64
|
}
|
|
65
65
|
/** Carousel of pictures with thumbnails (aria-current marks the shown one) and an optional fullscreen dialog */
|
|
66
|
-
export declare function Gallery({ classes, images, label, thumbnails, fullscreen, tools, lazy, hasMore, loading, onLoadMore, page, defaultPage, onPageChange, className, style, }: GalleryProps): import("react").JSX.Element;
|
|
66
|
+
export declare function Gallery({ classes, images, label, thumbnails, fullscreen, tools, lazy, hasMore, loading, onLoadMore, page, defaultPage, onPageChange, className, style, ...rest }: GalleryProps): import("react").JSX.Element;
|
|
67
67
|
//# sourceMappingURL=Gallery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gallery.d.ts","sourceRoot":"","sources":["../../../src/components/Gallery/Gallery.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,OAAO,IAAI,aAAa,EAExB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAA+B,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Gallery.d.ts","sourceRoot":"","sources":["../../../src/components/Gallery/Gallery.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,OAAO,IAAI,aAAa,EAExB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,KAAK,cAAc,EAA+B,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAO7F,wEAAwE;AACxE,MAAM,WAAW,YAAY;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,UAAU,GAAG,WAAW,GAAG,cAAc,GAAG,UAAU,CAAC;IAC9D,uCAAuC;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,2GAA2G;IAC3G,GAAG,EAAE,MAAM,CAAC;IACZ,sDAAsD;IAC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AAa,CAAC,OAAO,aAAa,CAAC,CAAC;CACjD;AAED,gHAAgH;AAChH,wBAAgB,OAAO,CAAC,EACpB,OAAO,EACP,MAAM,EACN,KAAK,EACL,UAAiB,EACjB,UAAiB,EACjB,KAAa,EACb,IAAY,EACZ,OAAe,EACf,OAAe,EACf,UAAU,EACV,IAAI,EACJ,WAAe,EACf,YAAY,EACZ,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,YAAY,+BAuId"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsonViewer as jsonViewerRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties } from 'react';
|
|
3
|
-
export interface JsonViewerProps {
|
|
2
|
+
import { type ComponentProps, type CSSProperties } from 'react';
|
|
3
|
+
export interface JsonViewerProps extends Omit<ComponentProps<'div'>, 'onCopy'> {
|
|
4
4
|
/** The data to show (any JSON value) */
|
|
5
5
|
data: unknown;
|
|
6
6
|
/** Accessible name of the tree (default "JSON data") */
|
|
@@ -15,6 +15,7 @@ export interface JsonViewerProps {
|
|
|
15
15
|
showTypes?: boolean;
|
|
16
16
|
/** A value was copied: its path and the copied text */
|
|
17
17
|
onCopy?: (path: string, text: string) => void;
|
|
18
|
+
/** Accessible name of the tree, like `label` (not of the outer element) */
|
|
18
19
|
'aria-label'?: string;
|
|
19
20
|
className?: string;
|
|
20
21
|
style?: CSSProperties;
|
|
@@ -25,5 +26,5 @@ export interface JsonViewerProps {
|
|
|
25
26
|
* JSON as a tree (role="tree"): arrow keys open and close, typing jumps to a key; values are coloured by type and
|
|
26
27
|
* readable as text (quotes, true/false, null). Ctrl+C copies the focused value.
|
|
27
28
|
*/
|
|
28
|
-
export declare function JsonViewer({ classes, data, label, defaultExpandedDepth, search, copyable, showTypes, onCopy, 'aria-label': ariaLabel, className, style, }: JsonViewerProps): import("react").JSX.Element;
|
|
29
|
+
export declare function JsonViewer({ classes, data, label, defaultExpandedDepth, search, copyable, showTypes, onCopy, 'aria-label': ariaLabel, className, style, ...rest }: JsonViewerProps): import("react").JSX.Element;
|
|
29
30
|
//# sourceMappingURL=JsonViewer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JsonViewer.d.ts","sourceRoot":"","sources":["../../../src/components/JsonViewer/JsonViewer.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"JsonViewer.d.ts","sourceRoot":"","sources":["../../../src/components/JsonViewer/JsonViewer.tsx"],"names":[],"mappings":"AACA,OAAO,EAQH,UAAU,IAAI,gBAAgB,EAI9B,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACH,KAAK,cAAc,EAKnB,KAAK,aAAa,EAErB,MAAM,OAAO,CAAC;AAMf,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC;IAC1E,wCAAwC;IACxC,IAAI,EAAE,OAAO,CAAC;IACd,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0EAA0E;IAC1E,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,6EAA6E;IAC7E,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gFAAgF;IAChF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uDAAuD;IACvD,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,gBAAgB,CAAC,CAAC;CACpD;AAYD;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EACvB,OAAO,EACP,IAAI,EACJ,KAAK,EACL,oBAAwB,EACxB,MAAM,EACN,QAAe,EACf,SAAS,EACT,MAAM,EACN,YAAY,EAAE,SAAS,EACvB,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,eAAe,+BAyGjB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { knob as knobRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties } from 'react';
|
|
3
|
-
export interface KnobProps {
|
|
2
|
+
import { type ComponentProps, type CSSProperties } from 'react';
|
|
3
|
+
export interface KnobProps extends Omit<ComponentProps<'div'>, 'color' | 'defaultValue' | 'value'> {
|
|
4
4
|
value?: number;
|
|
5
5
|
defaultValue?: number;
|
|
6
6
|
onValueChange?: (value: number) => void;
|
|
@@ -9,6 +9,7 @@ export interface KnobProps {
|
|
|
9
9
|
step?: number;
|
|
10
10
|
/** Visible label, also the accessible name */
|
|
11
11
|
label?: string;
|
|
12
|
+
/** Accessible name of the dial without `label` (not of the outer element) */
|
|
12
13
|
'aria-label'?: string;
|
|
13
14
|
/** Id of the dial (the slider); a `<label for>` cannot name it, use `label`, a Field or aria-label */
|
|
14
15
|
id?: string;
|
|
@@ -32,5 +33,5 @@ export interface KnobProps {
|
|
|
32
33
|
* Dial (270°): a slider – arrow keys, Page Up/Down, Home/End, or drag around the ring.
|
|
33
34
|
* The ring is drawing only; the dial is the focusable slider.
|
|
34
35
|
*/
|
|
35
|
-
export declare function Knob({ classes, value, defaultValue, onValueChange, min, max, step, label, 'aria-label': ariaLabel, id, formatValue, valueTemplate, strokeWidth, color, size, disabled, name, className, style, }: KnobProps): import("react").JSX.Element;
|
|
36
|
+
export declare function Knob({ classes, value, defaultValue, onValueChange, min, max, step, label, 'aria-label': ariaLabel, id, formatValue, valueTemplate, strokeWidth, color, size, disabled, name, className, style, ...rest }: KnobProps): import("react").JSX.Element;
|
|
36
37
|
//# sourceMappingURL=Knob.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Knob.d.ts","sourceRoot":"","sources":["../../../src/components/Knob/Knob.tsx"],"names":[],"mappings":"AACA,OAAO,EACH,IAAI,IAAI,UAAU,EAIlB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAmB,KAAK,aAAa,EAAqB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Knob.d.ts","sourceRoot":"","sources":["../../../src/components/Knob/Knob.tsx"],"names":[],"mappings":"AACA,OAAO,EACH,IAAI,IAAI,UAAU,EAIlB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,KAAK,cAAc,EAAmB,KAAK,aAAa,EAAqB,MAAM,OAAO,CAAC;AAIpG,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,cAAc,GAAG,OAAO,CAAC;IAC9F,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sGAAsG;IACtG,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kEAAkE;IAClE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACxC,iFAAiF;IACjF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iDAAiD;IACjD,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;IACxE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,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,UAAU,CAAC,CAAC;CAC9C;AAED;;;GAGG;AACH,wBAAgB,IAAI,CAAC,EACjB,OAAO,EACP,KAAK,EACL,YAAgB,EAChB,aAAa,EACb,GAAO,EACP,GAAS,EACT,IAAQ,EACR,KAAK,EACL,YAAY,EAAE,SAAS,EACvB,EAAE,EACF,WAAW,EACX,aAAa,EACb,WAAe,EACf,KAAiB,EACjB,IAAI,EACJ,QAAgB,EAChB,IAAI,EACJ,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,SAAS,+BA+EX"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { listbox as listboxRecipe, type DataSource, type ItemAccessor, type ItemValueOf, 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
|
import type { IconComponent } from '../../types.js';
|
|
4
4
|
import { type ListItemState } from '../Select/list.js';
|
|
5
5
|
export interface ListboxItem<V = string> {
|
|
@@ -12,12 +12,12 @@ export interface ListboxItem<V = string> {
|
|
|
12
12
|
/** Items with the same group are listed under this heading */
|
|
13
13
|
group?: string;
|
|
14
14
|
}
|
|
15
|
-
export interface ListboxProps<T = ListboxItem, V = ItemValueOf<T>> {
|
|
15
|
+
export interface ListboxProps<T = ListboxItem, V = ItemValueOf<T>> extends Omit<ComponentProps<'div'>, 'defaultValue' | 'value' | 'onSelect'> {
|
|
16
16
|
/** Options: ListboxItem objects – or any objects or values, read with itemValue/itemLabel/itemDisabled/itemGroup */
|
|
17
17
|
items: readonly T[];
|
|
18
18
|
/** Visible label, also the list's accessible name */
|
|
19
19
|
label?: string;
|
|
20
|
-
/** Accessible name without a visible label */
|
|
20
|
+
/** Accessible name of the list without a visible label (not of the outer element) */
|
|
21
21
|
'aria-label'?: string;
|
|
22
22
|
/** Id of the root element; a `<label for>` cannot name the list box, use a Field or aria-label */
|
|
23
23
|
id?: string;
|
|
@@ -77,5 +77,5 @@ export interface ListboxProps<T = ListboxItem, V = ItemValueOf<T>> {
|
|
|
77
77
|
classes?: RecipeClasses<typeof listboxRecipe>;
|
|
78
78
|
}
|
|
79
79
|
/** Always visible list (role="listbox"): arrow keys move, Enter/Space choose, typing jumps to an option */
|
|
80
|
-
export declare function Listbox<T = ListboxItem, V = ItemValueOf<T>>({ classes, items, label, 'aria-label': ariaLabel, id, multiple, value, defaultValue, onValueChange, disabled, itemValue, itemLabel, itemDisabled, itemGroup, valueKey, filter, manualFilter, onFilterChange, emptyText, loading, loadingText, hasMore, onLoadMore, checkboxes, selectAll, dataSource, minSearchLength, pageSize, draggableItems, renderItem, className, style, }: ListboxProps<T, V>): import("react").JSX.Element;
|
|
80
|
+
export declare function Listbox<T = ListboxItem, V = ItemValueOf<T>>({ classes, items, label, 'aria-label': ariaLabel, id, multiple, value, defaultValue, onValueChange, disabled, itemValue, itemLabel, itemDisabled, itemGroup, valueKey, filter, manualFilter, onFilterChange, emptyText, loading, loadingText, hasMore, onLoadMore, checkboxes, selectAll, dataSource, minSearchLength, pageSize, draggableItems, renderItem, className, style, ...rest }: ListboxProps<T, V>): import("react").JSX.Element;
|
|
81
81
|
//# sourceMappingURL=Listbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Listbox.d.ts","sourceRoot":"","sources":["../../../src/components/Listbox/Listbox.tsx"],"names":[],"mappings":"AACA,OAAO,EAGH,OAAO,I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AU,CAAC,EAAE,OAAO,CAAC;IACrB,kGAAkG;IAClG,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;IAC3B,yEAAyE;IACzE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+GAA+G;IAC/G,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,uDAAuD;IACvD,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,KAAK,SAAS,CAAC;IAC1D,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,2GAA2G;AAC3G,wBAAgB,OAAO,CAAC,CAAC,GAAG,WAAW,EAAE,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,EAAE,EACzD,OAAO,EACP,KAAK,EACL,KAAK,EACL,YAAY,EAAE,SAAS,EACvB,EAAE,EACF,QAAgB,EAChB,KAAK,EACL,YAAY,EACZ,aAAa,EACb,QAAgB,EAChB,SAAS,EACT,SAAS,EACT,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,MAAM,EACN,YAAY,EACZ,cAAc,EACd,SAAS,EACT,OAAO,EACP,WAAW,EACX,OAAO,EACP,UAAU,EACV,UAAkB,EAClB,SAAiB,EACjB,UAAU,EACV,eAAe,EACf,QAAQ,EACR,cAAsB,EACtB,UAAU,EACV,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,+BA8IpB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { logViewer as logViewerRecipe, type DataSource, type LogLevel, type LogLine, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties } from 'react';
|
|
3
|
-
export interface LogViewerProps {
|
|
2
|
+
import { type ComponentProps, type CSSProperties } from 'react';
|
|
3
|
+
export interface LogViewerProps extends ComponentProps<'div'> {
|
|
4
4
|
/** The lines, oldest first – strings or { text, level, time, id } (with `dataSource`: the newest, after the loaded) */
|
|
5
5
|
lines?: (LogLine | string)[];
|
|
6
6
|
/**
|
|
@@ -43,5 +43,5 @@ export interface LogViewerProps {
|
|
|
43
43
|
* Log: a scrollable, focusable area (arrow keys scroll) with numbered lines; level as icon and text; search filters
|
|
44
44
|
* and marks; new lines stay in view until you scroll up. Only the visible lines are rendered.
|
|
45
45
|
*/
|
|
46
|
-
export declare function LogViewer({ classes, lines, dataSource, pageSize, label, search, levelFilter, levels, onLevelsChange, detectLevels, autoScroll, onAutoScrollChange, lineNumbers, hasMore: hasMoreProp, onLoadMore, loading: loadingProp, rowHeight, className, style, }: LogViewerProps): import("react").JSX.Element;
|
|
46
|
+
export declare function LogViewer({ classes, lines, dataSource, pageSize, label, search, levelFilter, levels, onLevelsChange, detectLevels, autoScroll, onAutoScrollChange, lineNumbers, hasMore: hasMoreProp, onLoadMore, loading: loadingProp, rowHeight, className, style, ...rest }: LogViewerProps): import("react").JSX.Element;
|
|
47
47
|
//# sourceMappingURL=LogViewer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogViewer.d.ts","sourceRoot":"","sources":["../../../src/components/LogViewer/LogViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIH,SAAS,IAAI,eAAe,EAG5B,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAyD,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"LogViewer.d.ts","sourceRoot":"","sources":["../../../src/components/LogViewer/LogViewer.tsx"],"names":[],"mappings":"A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nB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,eAAe,CAAC,CAAC;CACnD;AAMD;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EACtB,OAAO,EACP,KAAgB,EAChB,UAAU,EACV,QAAc,EACd,KAAK,EACL,MAAa,EACb,WAAkB,EAClB,MAAM,EACN,cAAc,EACd,YAAmB,EACnB,UAAiB,EACjB,kBAAkB,EAClB,WAAkB,EAClB,OAAO,EAAE,WAAW,EACpB,UAAU,EACV,OAAO,EAAE,WAAW,EACpB,SAAc,EACd,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,cAAc,+BA+NhB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { meterGroup as meterGroupRecipe, type MeterColor, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import { type CSSProperties } from 'react';
|
|
2
|
+
import { type ComponentProps, type CSSProperties } from 'react';
|
|
3
3
|
export interface MeterGroupItem {
|
|
4
4
|
label: string;
|
|
5
5
|
value: number;
|
|
6
6
|
color?: MeterColor;
|
|
7
7
|
}
|
|
8
|
-
export interface MeterGroupProps {
|
|
8
|
+
export interface MeterGroupProps extends ComponentProps<'div'> {
|
|
9
9
|
items: readonly MeterGroupItem[];
|
|
10
10
|
/** Visible label, e.g. "Storage" */
|
|
11
11
|
label: string;
|
|
@@ -25,5 +25,5 @@ export interface MeterGroupProps {
|
|
|
25
25
|
classes?: RecipeClasses<typeof meterGroupRecipe>;
|
|
26
26
|
}
|
|
27
27
|
/** One bar for the parts (visual), the legend lists every part with its value as text */
|
|
28
|
-
export declare function MeterGroup({ classes, items, label, max, formatValue, orientation, legendPosition, legendOrientation, className, style, }: MeterGroupProps): import("react").JSX.Element;
|
|
28
|
+
export declare function MeterGroup({ classes, items, label, max, formatValue, orientation, legendPosition, legendOrientation, className, style, ...rest }: MeterGroupProps): import("react").JSX.Element;
|
|
29
29
|
//# sourceMappingURL=MeterGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeterGroup.d.ts","sourceRoot":"","sources":["../../../src/components/MeterGroup/MeterGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,KAAK,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAClH,OAAO,EAAS,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MeterGroup.d.ts","sourceRoot":"","sources":["../../../src/components/MeterGroup/MeterGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,KAAK,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAClH,OAAO,EAAE,KAAK,cAAc,EAAS,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAGvE,MAAM,WAAW,cAAc;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,UAAU,CAAC;CACtB;AAED,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC1D,KAAK,EAAE,SAAS,cAAc,EAAE,CAAC;IACjC,oCAAoC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,8DAA8D;IAC9D,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IACrD,kEAAkE;IAClE,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,+DAA+D;IAC/D,cAAc,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAC;IACpD,+DAA+D;IAC/D,iBAAiB,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,gBAAgB,CAAC,CAAC;CACpD;AAKD,yFAAyF;AACzF,wBAAgB,UAAU,CAAC,EACvB,OAAO,EACP,KAAK,EACL,KAAK,EACL,GAAG,EACH,WAAqB,EACrB,WAAW,EACX,cAAc,EACd,iBAAiB,EACjB,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,eAAe,+BA0CjB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { navigationMenu as navigationMenuRecipe, type RecipeClasses } 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 NavigationMenuLink {
|
|
5
5
|
label: string;
|
|
@@ -16,7 +16,7 @@ export interface NavigationMenuEntry {
|
|
|
16
16
|
current?: boolean;
|
|
17
17
|
children?: NavigationMenuLink[];
|
|
18
18
|
}
|
|
19
|
-
export interface NavigationMenuProps {
|
|
19
|
+
export interface NavigationMenuProps extends Omit<ComponentProps<'nav'>, 'defaultValue'> {
|
|
20
20
|
items: readonly NavigationMenuEntry[];
|
|
21
21
|
/** Name of the navigation landmark */
|
|
22
22
|
label?: string;
|
|
@@ -29,5 +29,5 @@ export interface NavigationMenuProps {
|
|
|
29
29
|
* Website navigation (nav landmark): entries with children are buttons (aria-expanded) that open a panel with
|
|
30
30
|
* links – on hover or click; Escape closes. Not a menu (role="menu"), so links behave like links.
|
|
31
31
|
*/
|
|
32
|
-
export declare function NavigationMenu({ classes, items, label: labelProp, className, style }: NavigationMenuProps): import("react").JSX.Element;
|
|
32
|
+
export declare function NavigationMenu({ classes, items, label: labelProp, className, style, ...rest }: NavigationMenuProps): import("react").JSX.Element;
|
|
33
33
|
//# sourceMappingURL=NavigationMenu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationMenu.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationMenu/NavigationMenu.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"NavigationMenu.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationMenu/NavigationMenu.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,cAAc,IAAI,oBAAoB,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAErH,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAIpD,MAAM,WAAW,kBAAkB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,gEAAgE;IAChE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,kBAAkB,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC;IACpF,KAAK,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACtC,sCAAsC;IACtC,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,oBAAoB,CAAC,CAAC;CACxD;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,mBAAmB,+BAwDlH"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { orderList as orderListRecipe, type ItemAccessor, type ItemValueOf, 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
|
import { type ListboxItem } from '../Listbox/Listbox.js';
|
|
4
4
|
import { type ListItemState } from '../Select/list.js';
|
|
5
|
-
export interface OrderListProps<T = ListboxItem, V = ItemValueOf<T>> {
|
|
5
|
+
export interface OrderListProps<T = ListboxItem, V = ItemValueOf<T>> extends Omit<ComponentProps<'div'>, 'defaultValue' | 'draggable' | 'value'> {
|
|
6
6
|
/** Items in their order; ListboxItem objects or any objects/values (see itemValue/itemLabel) */
|
|
7
7
|
value?: T[];
|
|
8
8
|
defaultValue?: T[];
|
|
@@ -29,5 +29,5 @@ export interface OrderListProps<T = ListboxItem, V = ItemValueOf<T>> {
|
|
|
29
29
|
classes?: RecipeClasses<typeof orderListRecipe>;
|
|
30
30
|
}
|
|
31
31
|
/** Choose an item, then move it with the buttons (or Alt + arrow keys); the new position is announced */
|
|
32
|
-
export declare function OrderList<T = ListboxItem, V = ItemValueOf<T>>({ classes, value, defaultValue, onValueChange, label, itemValue, itemLabel, itemDisabled, valueKey, filter, draggable, renderItem, className, style, }: OrderListProps<T, V>): import("react").JSX.Element;
|
|
32
|
+
export declare function OrderList<T = ListboxItem, V = ItemValueOf<T>>({ classes, value, defaultValue, onValueChange, label, itemValue, itemLabel, itemDisabled, valueKey, filter, draggable, renderItem, className, style, ...rest }: OrderListProps<T, V>): import("react").JSX.Element;
|
|
33
33
|
//# sourceMappingURL=OrderList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrderList.d.ts","sourceRoot":"","sources":["../../../src/components/OrderList/OrderList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEH,SAAS,IAAI,eAAe,EAE5B,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,
|
|
1
|
+
{"version":3,"file":"OrderList.d.ts","sourceRoot":"","sources":["../../../src/components/OrderList/OrderList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEH,SAAS,IAAI,eAAe,EAE5B,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACH,KAAK,cAAc,EAEnB,KAAK,aAAa,EAGlB,KAAK,SAAS,EACjB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAW,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGlE,OAAO,EAAW,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEhE,MAAM,WAAW,cAAc,CAAC,CAAC,GAAG,WAAW,EAAE,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAE,SAAQ,IAAI,CAC7E,cAAc,CAAC,KAAK,CAAC,EACrB,cAAc,GAAG,WAAW,GAAG,OAAO,CACzC;IACG,gGAAgG;IAChG,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,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,gGAAgG;IAChG,SAAS,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,qEAAqE;IACrE,SAAS,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;IACpC,iFAAiF;IACjF,YAAY,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;IACxC,mHAAmH;IACnH,QAAQ,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IAC5C,qEAAqE;IACrE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,qGAAqG;IACrG,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,qDAAqD;IACrD,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,KAAK,SAAS,CAAC;IAC1D,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,yGAAyG;AACzG,wBAAgB,SAAS,CAAC,CAAC,GAAG,WAAW,EAAE,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,EAAE,EAC3D,OAAO,EACP,KAAK,EACL,YAAiB,EACjB,aAAa,EACb,KAAK,EACL,SAAS,EACT,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,MAAc,EACd,SAAiB,EACjB,UAAU,EACV,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,+BAiHtB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { orgChart as orgChartRecipe, type DataSource, 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 OrgChartNode {
|
|
4
4
|
/** Identifies the node (collapsedKeys, selectedKeys, loadChildren) – default: its position, e.g. "0-1" */
|
|
5
5
|
id?: string;
|
|
@@ -19,7 +19,7 @@ export interface OrgChartNodeState {
|
|
|
19
19
|
expanded: boolean;
|
|
20
20
|
loading: boolean;
|
|
21
21
|
}
|
|
22
|
-
export interface OrgChartProps {
|
|
22
|
+
export interface OrgChartProps extends ComponentProps<'div'> {
|
|
23
23
|
/** The top of the hierarchy */
|
|
24
24
|
node: OrgChartNode;
|
|
25
25
|
/** Accessible name, e.g. "Org chart" */
|
|
@@ -51,5 +51,5 @@ export interface OrgChartProps {
|
|
|
51
51
|
classes?: RecipeClasses<typeof orgChartRecipe>;
|
|
52
52
|
}
|
|
53
53
|
/** Hierarchy as nested lists – screen readers read the structure, the lines are drawn with CSS */
|
|
54
|
-
export declare function OrgChart({ classes, node, label, collapsible, collapsedKeys, defaultCollapsedKeys, onCollapsedKeysChange, selectionMode, selectedKeys, defaultSelectedKeys, onSelectedKeysChange, loadChildren, onLoadChildren, dataSource, renderContent, className, style, }: OrgChartProps): import("react").JSX.Element;
|
|
54
|
+
export declare function OrgChart({ classes, node, label, collapsible, collapsedKeys, defaultCollapsedKeys, onCollapsedKeysChange, selectionMode, selectedKeys, defaultSelectedKeys, onSelectedKeysChange, loadChildren, onLoadChildren, dataSource, renderContent, className, style, ...rest }: OrgChartProps): import("react").JSX.Element;
|
|
55
55
|
//# sourceMappingURL=OrgChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrgChart.d.ts","sourceRoot":"","sources":["../../../src/components/OrgChart/OrgChart.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIH,QAAQ,IAAI,cAAc,EAI1B,KAAK,UAAU,EACf,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,
|
|
1
|
+
{"version":3,"file":"OrgChart.d.ts","sourceRoot":"","sources":["../../../src/components/OrgChart/OrgChart.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIH,QAAQ,IAAI,cAAc,EAI1B,KAAK,UAAU,EACf,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACH,KAAK,cAAc,EAOnB,KAAK,aAAa,EAClB,KAAK,SAAS,EACjB,MAAM,OAAO,CAA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EAAE,CAAC,CAAC;IACjG,2FAA2F;IAC3F,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC9C,wDAAwD;IACxD,UAAU,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;IACtC,yDAAyD;IACzD,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,iBAAiB,KAAK,SAAS,CAAC;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,cAAc,CAAC,CAAC;CAClD;AAkBD,kGAAkG;AAClG,wBAAgB,QAAQ,CAAC,EACrB,OAAO,EACP,IAAI,EACJ,KAAK,EACL,WAAmB,EACnB,aAAa,EACb,oBAAyB,EACzB,qBAAqB,EACrB,aAAsB,EACtB,YAAY,EACZ,mBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,cAAc,EACd,UAAU,EACV,aAAa,EACb,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,aAAa,+BAqHf"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { panel as panelRecipe, type RecipeClasses } from '@wirecore/wirelayer-recipes';
|
|
2
|
-
import type { CSSProperties, ReactNode } from 'react';
|
|
3
|
-
export interface PanelProps {
|
|
2
|
+
import type { ComponentProps, CSSProperties, ReactNode } from 'react';
|
|
3
|
+
export interface PanelProps extends ComponentProps<'div'> {
|
|
4
4
|
title: string;
|
|
5
5
|
/** Heading level of the title */
|
|
6
6
|
headingLevel?: 2 | 3 | 4;
|
|
@@ -19,5 +19,5 @@ export interface PanelProps {
|
|
|
19
19
|
classes?: RecipeClasses<typeof panelRecipe>;
|
|
20
20
|
}
|
|
21
21
|
/** Card with a heading (and actions); toggleable: the heading holds a button with aria-expanded */
|
|
22
|
-
export declare function Panel({ classes, title, headingLevel, toggleable, open, defaultOpen, onOpenChange, actions, footer, children, className, style, }: PanelProps): import("react").JSX.Element;
|
|
22
|
+
export declare function Panel({ classes, title, headingLevel, toggleable, open, defaultOpen, onOpenChange, actions, footer, children, className, style, ...rest }: PanelProps): import("react").JSX.Element;
|
|
23
23
|
//# sourceMappingURL=Panel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/Panel.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/Panel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,IAAI,WAAW,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEnG,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtE,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,KAAK,CAAC;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,iCAAiC;IACjC,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACzB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,yCAAyC;IACzC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,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,WAAW,CAAC,CAAC;CAC/C;AAED,mGAAmG;AACnG,wBAAgB,KAAK,CAAC,EAClB,OAAO,EACP,KAAK,EACL,YAAgB,EAChB,UAAkB,EAClB,IAAI,EACJ,WAAkB,EAClB,YAAY,EACZ,OAAO,EACP,MAAM,EACN,QAAQ,EACR,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACV,EAAE,UAAU,+BA8CZ"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { pickList as pickListRecipe, type ItemAccessor, type ItemValueOf, 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
|
import { type ListboxItem } from '../Listbox/Listbox.js';
|
|
4
4
|
import { type ListItemState } from '../Select/list.js';
|
|
5
|
-
export interface PickListProps<T = ListboxItem, V = ItemValueOf<T>> {
|
|
5
|
+
export interface PickListProps<T = ListboxItem, V = ItemValueOf<T>> extends Omit<ComponentProps<'div'>, 'defaultValue' | 'draggable' | 'value'> {
|
|
6
6
|
/** All items: ListboxItem objects – or any objects or values, read with itemValue/itemLabel/itemDisabled */
|
|
7
7
|
items: readonly T[];
|
|
8
8
|
/** Values of the chosen items, in their order; any type (see `valueKey`) */
|
|
@@ -46,5 +46,5 @@ export interface PickListProps<T = ListboxItem, V = ItemValueOf<T>> {
|
|
|
46
46
|
classes?: RecipeClasses<typeof pickListRecipe>;
|
|
47
47
|
}
|
|
48
48
|
/** Two lists with several choices each; the buttons move the chosen items across, the move is announced */
|
|
49
|
-
export declare function PickList<T = ListboxItem, V = ItemValueOf<T>>({ classes, items, value, defaultValue, onValueChange, sourceLabel: sourceProp, targetLabel: targetProp, itemValue, itemLabel, itemDisabled, valueKey, filter, manualFilter, onFilterChange, loading, hasMore, onLoadMore, selectAll, draggable, renderItem, className, style, }: PickListProps<T, V>): import("react").JSX.Element;
|
|
49
|
+
export declare function PickList<T = ListboxItem, V = ItemValueOf<T>>({ classes, items, value, defaultValue, onValueChange, sourceLabel: sourceProp, targetLabel: targetProp, itemValue, itemLabel, itemDisabled, valueKey, filter, manualFilter, onFilterChange, loading, hasMore, onLoadMore, selectAll, draggable, renderItem, className, style, ...rest }: PickListProps<T, V>): import("react").JSX.Element;
|
|
50
50
|
//# sourceMappingURL=PickList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PickList.d.ts","sourceRoot":"","sources":["../../../src/components/PickList/PickList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEH,QAAQ,IAAI,cAAc,EAE1B,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAqB,KAAK,aAAa,EAAkB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PickList.d.ts","sourceRoot":"","sources":["../../../src/components/PickList/PickList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEH,QAAQ,IAAI,cAAc,EAE1B,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,aAAa,EACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,KAAK,cAAc,EAAqB,KAAK,aAAa,EAAkB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnH,OAAO,EAAW,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGlE,OAAO,EAAW,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEhE,MAAM,WAAW,aAAa,CAAC,CAAC,GAAG,WAAW,EAAE,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAE,SAAQ,IAAI,CAC5E,cAAc,CAAC,KAAK,CAAC,EACrB,cAAc,GAAG,WAAW,GAAG,OAAO,CACzC;IACG,4GAA4G;IAC5G,KAAK,EAAE,SAAS,CAAC,EAAE,CAAC;IACpB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC;IACZ,YAAY,CAAC,EAAE,CAAC,EAAE,CAAC;IACnB,a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