@wistia/ui 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +162 -148
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -7
- package/dist/index.d.ts +5 -7
- package/dist/index.mjs +174 -164
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -544,19 +544,17 @@ type CheckboxProps = Omit<ComponentPropsWithRef<'label'>, 'onChange'> & {
|
|
|
544
544
|
};
|
|
545
545
|
declare const Checkbox: react.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
546
546
|
|
|
547
|
-
type DividerProps = ComponentPropsWithoutRef<'
|
|
547
|
+
type DividerProps = ComponentPropsWithoutRef<'div'> & {
|
|
548
548
|
/**
|
|
549
|
-
*
|
|
550
|
-
*
|
|
551
|
-
* @type 'lg' | 'sm'
|
|
549
|
+
* Orientation of the divider.
|
|
552
550
|
*/
|
|
553
|
-
|
|
551
|
+
orientation?: 'horizontal' | 'vertical';
|
|
554
552
|
};
|
|
555
553
|
/**
|
|
556
|
-
* A line used to visually separate content
|
|
554
|
+
* A line used to visually separate content; note that dividers have no margin/spacing on their own.
|
|
557
555
|
*/
|
|
558
556
|
declare const Divider: {
|
|
559
|
-
({
|
|
557
|
+
({ orientation, ...otherProps }: DividerProps): JSX.Element;
|
|
560
558
|
displayName: string;
|
|
561
559
|
};
|
|
562
560
|
|
package/dist/index.d.ts
CHANGED
|
@@ -544,19 +544,17 @@ type CheckboxProps = Omit<ComponentPropsWithRef<'label'>, 'onChange'> & {
|
|
|
544
544
|
};
|
|
545
545
|
declare const Checkbox: react.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
546
546
|
|
|
547
|
-
type DividerProps = ComponentPropsWithoutRef<'
|
|
547
|
+
type DividerProps = ComponentPropsWithoutRef<'div'> & {
|
|
548
548
|
/**
|
|
549
|
-
*
|
|
550
|
-
*
|
|
551
|
-
* @type 'lg' | 'sm'
|
|
549
|
+
* Orientation of the divider.
|
|
552
550
|
*/
|
|
553
|
-
|
|
551
|
+
orientation?: 'horizontal' | 'vertical';
|
|
554
552
|
};
|
|
555
553
|
/**
|
|
556
|
-
* A line used to visually separate content
|
|
554
|
+
* A line used to visually separate content; note that dividers have no margin/spacing on their own.
|
|
557
555
|
*/
|
|
558
556
|
declare const Divider: {
|
|
559
|
-
({
|
|
557
|
+
({ orientation, ...otherProps }: DividerProps): JSX.Element;
|
|
560
558
|
displayName: string;
|
|
561
559
|
};
|
|
562
560
|
|