etudes 10.2.1 → 11.0.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.
@@ -25,4 +25,7 @@ type AnchorVariantProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'aria-di
25
25
  };
26
26
  export type ButtonProps = AnchorVariantProps | LinkVariantProps | NavLinkVariantProps | ButtonVariantProps;
27
27
  export declare function Button(props: Readonly<ButtonProps>): import("react/jsx-runtime").JSX.Element;
28
+ export declare namespace Button {
29
+ var displayName: string;
30
+ }
28
31
  export {};
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  type Orientation = 'horizontal' | 'vertical';
3
- export type StepwiseSliderProps = Omit<HTMLAttributes<HTMLDivElement>, 'aria-valuenow' | 'role'> & {
3
+ export type StepSliderProps = Omit<HTMLAttributes<HTMLDivElement>, 'aria-valuenow' | 'role'> & {
4
4
  /**
5
5
  * By default the position is a value from 0 - 1, 0 being the start of the
6
6
  * slider and 1 being the end. Switching on this flag inverts this behavior,
@@ -87,7 +87,7 @@ export type StepwiseSliderProps = Omit<HTMLAttributes<HTMLDivElement>, 'aria-val
87
87
  onDragStart?: () => void;
88
88
  };
89
89
  /**
90
- * A "stepwise" slider component supporting both horizontal and vertical
90
+ * A "step" slider component supporting both horizontal and vertical
91
91
  * orientations that automatically snaps to a set of predefined points on the
92
92
  * slider when dragged. These points are referred to as "steps", indexed by an
93
93
  * integer referred to as "index". This index can be two-way bound. The
@@ -99,13 +99,13 @@ export type StepwiseSliderProps = Omit<HTMLAttributes<HTMLDivElement>, 'aria-val
99
99
  * the slider. While dragging, the slider still emits a position change event,
100
100
  * where the position is a decimal ranging between 0.0 and 1.0, inclusive.
101
101
  *
102
- * @exports StepwiseSliderKnob The component for the knob.
103
- * @exports StepwiseSliderLabel The component for the label on the knob.
104
- * @exports StepwiseSliderTrack The component for the slide track on either side
102
+ * @exports StepSliderKnob The component for the knob.
103
+ * @exports StepSliderLabel The component for the label on the knob.
104
+ * @exports StepSliderTrack The component for the slide track on either side
105
105
  * of the knob.
106
106
  */
107
- export declare const StepwiseSlider: import('react').ForwardRefExoticComponent<Readonly<StepwiseSliderProps> & import('react').RefAttributes<HTMLDivElement>>;
108
- export declare const StepwiseSliderTrack: ({ ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
109
- export declare const StepwiseSliderKnob: ({ ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
110
- export declare const StepwiseSliderLabel: ({ ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
107
+ export declare const StepSlider: import('react').ForwardRefExoticComponent<Readonly<StepSliderProps> & import('react').RefAttributes<HTMLDivElement>>;
108
+ export declare const StepSliderTrack: ({ ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
109
+ export declare const StepSliderKnob: ({ ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
110
+ export declare const StepSliderLabel: ({ ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
111
111
  export {};
@@ -33,4 +33,7 @@ export type WithTooltipProps = Pick<HTMLAttributes<HTMLElement>, 'className' | '
33
33
  threshold?: number;
34
34
  };
35
35
  export declare function WithTooltip({ children, className, style, alignment: externalAlignment, arrowHeight, arrowWidth, gap, hint, maxWidth, threshold, }: Readonly<WithTooltipProps>): import("react/jsx-runtime").JSX.Element;
36
+ export declare namespace WithTooltip {
37
+ var displayName: string;
38
+ }
36
39
  export {};
@@ -18,7 +18,7 @@ export * from './PanoramaSlider.js';
18
18
  export * from './RangeSlider.js';
19
19
  export * from './SelectableButton.js';
20
20
  export * from './Slider.js';
21
- export * from './StepwiseSlider.js';
21
+ export * from './StepSlider.js';
22
22
  export * from './SwipeRegion.js';
23
23
  export * from './TextField.js';
24
24
  export * from './Video.js';