@imfusion/web-ui 0.8.1-dev.17.gcbf0282e → 0.8.1-dev.18.g2355b181
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/CHANGELOG.md +5 -0
- package/dist/components/slider/slider.d.ts +11 -1
- package/dist/index.js +1344 -1366
- package/dist/integrations/frame-selection/frame-selection-view.d.ts +24 -0
- package/dist/integrations/frame-selection/frame-selection.d.ts +21 -0
- package/dist/integrations/frame-selection/frame-selection.meta.d.ts +2 -0
- package/dist/integrations/frame-selection/index.d.ts +2 -0
- package/dist/integrations/frame-selection.js +121 -0
- package/dist/integrations/image-display-options.js +71 -70
- package/dist/separator-BAxxttef.js +26 -0
- package/dist/slider-gyIYWSy3.js +116 -0
- package/dist/style.css +1 -1
- package/dist/tabs-9d4oaDwZ.js +295 -0
- package/dist/vite.js +1 -1
- package/dist/web-ui-cli.js +1 -1
- package/package.json +1 -1
- package/src/docgen/doc.gen.json +45 -1
- package/src/llms/llms.gen.txt +7 -1
- package/dist/tabs-BS6rqrrA.js +0 -398
- /package/dist/{paths-Oi0v8x-w.js → paths-CUyf9wjm.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -28,6 +28,11 @@ workflows already ask for stay as they are. Say "change my profile" to answer ag
|
|
|
28
28
|
- `Typo.Eyebrow` sets a short mono, uppercase label above a heading, in the quiet `support` color by default.
|
|
29
29
|
- `Card.Status` marks a card's outcome with a tinted column or band and the `info`, `positive`, `warning`, or `negative`
|
|
30
30
|
glyph that `Callout` uses for the same status.
|
|
31
|
+
- Components — Stephan Wenninger <wenninger@imfusion.com>
|
|
32
|
+
- `Slider.Root` has a `variant="position"` that draws a scrollbar-like trough and bar thumb for picking one position in a
|
|
33
|
+
range.
|
|
34
|
+
- `FrameSelection`, from `@imfusion/web-ui/integrations/frame-selection`, steps through the frames of ImFusion Web SDK
|
|
35
|
+
image sets with a position slider and a current-of-total readout.
|
|
31
36
|
|
|
32
37
|
### Changed
|
|
33
38
|
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import { Slider as SliderPrimitive } from '@base-ui/react/slider';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const sliderRoot: (props?: ({
|
|
4
|
+
variant?: "default" | "position" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
interface RootProps extends React.ComponentProps<typeof SliderPrimitive.Root>, VariantProps<typeof sliderRoot> {
|
|
7
|
+
}
|
|
2
8
|
/**
|
|
3
9
|
* Slider.Root — value selector along a continuous or stepped track.
|
|
4
10
|
*
|
|
11
|
+
* `variant="position"` draws a scrollbar-like trough and bar thumb for picking one position
|
|
12
|
+
* between `min` and `max`, such as a slice or frame; `onValueChange` reports the position.
|
|
13
|
+
*
|
|
5
14
|
* @doc https://base-ui.com/react/components/slider
|
|
6
15
|
* @llm https://base-ui.com/react/components/slider.md
|
|
7
16
|
*/
|
|
8
|
-
export declare function Root({ value, defaultValue, onValueChange, onValueCommitted, min, max, step, largeStep, minStepsBetweenValues, disabled, orientation, name, form, locale, thumbAlignment, thumbCollisionBehavior, format, ...props }:
|
|
17
|
+
export declare function Root({ variant, value, defaultValue, onValueChange, onValueCommitted, min, max, step, largeStep, minStepsBetweenValues, disabled, orientation, name, form, locale, thumbAlignment, thumbCollisionBehavior, format, ...props }: RootProps): import("react/jsx-runtime").JSX.Element;
|
|
9
18
|
export declare namespace Root {
|
|
10
19
|
var displayName: string;
|
|
11
20
|
}
|
|
@@ -39,3 +48,4 @@ export declare function Thumb({ index, ...props }: React.ComponentProps<typeof S
|
|
|
39
48
|
export declare namespace Thumb {
|
|
40
49
|
var displayName: string;
|
|
41
50
|
}
|
|
51
|
+
export {};
|