@wistia/ui 0.20.22-beta.f90d62fb.62ae307 → 0.21.0-beta.0a3f809d.ebf7b0d

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.d.ts CHANGED
@@ -613,11 +613,11 @@ declare const Avatar: {
613
613
  type BadgeVariants = 'default' | 'outline';
614
614
  type BadgeProps = ComponentPropsWithoutRef<'div'> & {
615
615
  /**
616
- * Sets the [color scheme](../?path=/docs/docs-color-schemes--docs)
616
+ * Sets the [color scheme](/docs/color-schemes)
617
617
  */
618
618
  colorScheme?: ColorSchemeTypes;
619
619
  /**
620
- * Optional `Icon` component to use. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
620
+ * Optional `Icon` component to use. Must be an instance of [Icon](/docs/components/Icon)
621
621
  */
622
622
  icon?: JSX.Element | undefined;
623
623
  /**
@@ -634,11 +634,11 @@ type BadgeProps = ComponentPropsWithoutRef<'div'> & {
634
634
  */
635
635
  declare const Badge: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
636
636
  /**
637
- * Sets the [color scheme](../?path=/docs/docs-color-schemes--docs)
637
+ * Sets the [color scheme](/docs/color-schemes)
638
638
  */
639
639
  colorScheme?: ColorSchemeTypes;
640
640
  /**
641
- * Optional `Icon` component to use. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
641
+ * Optional `Icon` component to use. Must be an instance of [Icon](/docs/components/Icon)
642
642
  */
643
643
  icon?: JSX.Element | undefined;
644
644
  /**
@@ -749,7 +749,8 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$1> & {
749
749
  /**
750
750
  * Specifies how the browser distributes space between and around
751
751
  * items along the cross-axis of their container; has no effect on
752
- * single line flexible boxes. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
752
+ * single line flexible boxes. Can be a [responsive prop](/docs/responsive-props).
753
+ * @type ResponsiveObject<"center" | "flex-end" | "flex-start" | "space-around" | "space-between" | "stretch">
753
754
  */
754
755
  alignContent?: AlignContentType | ResponsiveObject<AlignContentType>;
755
756
  /**
@@ -758,23 +759,28 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$1> & {
758
759
  * to the alignContent prop is that alignItems specifies the
759
760
  * alignment of the items within the current container's line,
760
761
  * whereas alignContent specifies the alignment of the lines themselves.
761
- * Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
762
+ * Can be a [responsive prop](/docs/responsive-props).
763
+ * @type ResponsiveObject<"baseline" | "center" | "flex-end" | "flex-start" | "stretch">
762
764
  */
763
765
  alignItems?: AlignItemsType | ResponsiveObject<AlignItemsType>;
764
766
  /**
765
767
  * Specifies how the browser aligns items of the current line, overriding the
766
768
  * alignItems value of parent; if any of the item's cross-axis margin is set to auto,
767
- * then alignSelf is ignored. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
769
+ * then alignSelf is ignored. Can be a [responsive prop](/docs/responsive-props).
768
770
  *
769
771
  * *Note: only works for nested `<Box />`*
772
+ *
773
+ * @type ResponsiveObject<'auto' | 'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch'>
770
774
  */
771
775
  alignSelf?: AlignSelfType | ResponsiveObject<AlignSelfType>;
772
776
  /**
773
- * Specifies the initial main size of an item. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
777
+ * Specifies the initial main size of an item. Can be a [responsive prop](/docs/responsive-props).
774
778
  *
775
779
  * *Note: Cannot be used with `flexMode` prop.*
776
780
  *
777
781
  * *Note: only works for nested `<Box />`*
782
+ * @type ResponsiveObject<'string'>
783
+
778
784
  */
779
785
  basis?: ResponsiveObject<string> | string;
780
786
  /**
@@ -782,17 +788,19 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$1> & {
782
788
  */
783
789
  children?: ReactNode;
784
790
  /**
785
- * Specifies the main axis of the container. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
791
+ * Specifies the main axis of the container. Can be a [responsive prop](/docs/responsive-props).
792
+ * @type ResponsiveObject<'column-reverse' | 'column' | 'row-reverse' | 'row'>
786
793
  */
787
794
  direction?: DirectionType | ResponsiveObject<DirectionType>;
788
795
  /**
789
796
  * Specifies whether the width and/or height should fill the container.
790
- * Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
797
+ * Can be a [responsive prop](/docs/responsive-props).
791
798
  *
792
799
  * *Note: Cannot be used with height/width props when setting the corresponding dimension.*
793
800
  *
794
801
  * For example, `fill="vertical"` or `fill={true}` cannot be used with the `height` prop,
795
802
  * and `fill="horizontal"` or `fill={true}` cannot be used with the `width` prop.
803
+ * @type ResponsiveObject<boolean | 'horizontal' | 'vertical'>
796
804
  */
797
805
  fill?: FillType | ResponsiveObject<FillType>;
798
806
  /**
@@ -802,49 +810,58 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$1> & {
802
810
  *
803
811
  * For example, `fillViewport="vertical"` or `fillViewport={true}` cannot be used with the `height` prop,
804
812
  * and `fillViewport="horizontal"` or `fillViewport={true}` cannot be used with the `width` prop.
813
+ * @type boolean | 'horizontal' | 'vertical'
805
814
  */
806
815
  fillViewport?: FillType;
807
816
  /**
808
- * Predefined `flex` behavior patterns. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
817
+ * Predefined `flex` behavior patterns. Can be a [responsive prop](/docs/responsive-props).
809
818
  *
810
819
  * - `grow`: fills available space (`flex: 1 0 0`)
811
820
  * - `initial`: default behavior (`flex: 0 1 auto`)
812
821
  * - `equal`: equal space distribution (`flex: 1`)
813
822
  * - `rigid`: fixed size (`flex: 0 0 auto`)
814
823
  * - `fluid`: responsive (`flex: 1 1 auto`)
824
+ *
825
+ * @type ResponsiveObject<'equal' | 'fluid' | 'grow' | 'initial' | 'rigid'>
815
826
  */
816
827
  flexMode?: FlexModeType | ResponsiveObject<FlexModeType>;
817
828
  /**
818
829
  * Specifies the gaps (gutters) between rows and columns.
819
- * Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
830
+ * Can be a [responsive prop](/docs/responsive-props).
820
831
  *
821
832
  * Can be either a single spacing value that applies to both row and column gaps,
822
833
  * or an object specifying different values for row and column gaps.
834
+ *
835
+ * @type ResponsiveObject<Spacings | { row: Spacings; column: Spacings }>
823
836
  */
824
837
  gap?: Gap$1 | ResponsiveGap$1 | Spacings;
825
838
  /**
826
839
  * Specifies what amount of space inside the flex container the item should take up.
827
- * Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
840
+ * Can be a [responsive prop](/docs/responsive-props).
828
841
  *
829
842
  * *Note: Cannot be used with `flexMode` prop.*
830
843
  *
831
844
  * *Note: only works for nested `<Box />`*
845
+ * @type ResponsiveObject<number | string>
832
846
  */
833
847
  grow?: ResponsiveObject<number | string> | number | string;
834
848
  /**
835
- * Specifies the height of the box. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
849
+ * Specifies the height of the box. Can be a [responsive prop](/docs/responsive-props).
836
850
  *
837
851
  * *Note: Cannot be used with fill="vertical" or fillViewport="vertical"*
852
+ * @type ResponsiveObject<string>
838
853
  */
839
854
  height?: ResponsiveObject<string> | string;
840
855
  /**
841
856
  * Make Layout behave like an inline element but still lay out its content according to flexbox model.
842
- * Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
857
+ * Can be a [responsive prop](/docs/responsive-props).
858
+ * @type ResponsiveObject<boolean>
843
859
  */
844
860
  inline?: ResponsiveObject<boolean> | boolean;
845
861
  /**
846
862
  * Specifies how the browser distributes space between and around
847
- * items along the main axis of their container. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
863
+ * items along the main axis of their container. Can be a [responsive prop](/docs/responsive-props).
864
+ * @type ResponsiveObject<'center' | 'flex-end' | 'flex-start' | 'space-around' | 'space-between' | 'space-evenly'>
848
865
  */
849
866
  justifyContent?: JustifyContentType | ResponsiveObject<JustifyContentType>;
850
867
  /**
@@ -858,22 +875,25 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$1> & {
858
875
  renderAs?: ElementType;
859
876
  /**
860
877
  * Specifies how items will shrink inside the container when the default size of
861
- * items is larger than their container. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
878
+ * items is larger than their container. Can be a [responsive prop](/docs/responsive-props).
862
879
  *
863
880
  * *Note: Cannot be used with `flexMode` prop.*
864
881
  *
865
882
  * *Note: only works for nested `<Box />`*
883
+ * @type ResponsiveObject<number>
866
884
  */
867
885
  shrink?: ResponsiveObject<number> | number;
868
886
  /**
869
887
  * Specifies whether items are forced into a single line or can be wrapped onto multiple lines.
870
- * Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
888
+ * Can be a [responsive prop](/docs/responsive-props).
889
+ * @type ResponsiveObject<boolean>
871
890
  */
872
891
  wrapItems?: ResponsiveObject<boolean> | boolean;
873
892
  /**
874
- * Specifies the width of the box. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
893
+ * Specifies the width of the box. Can be a [responsive prop](/docs/responsive-props).
875
894
  *
876
895
  * *Note: Cannot be used with fill="horizontal" or fillViewport="horizontal"*
896
+ * @type ResponsiveObject<string>
877
897
  */
878
898
  width?: ResponsiveObject<string> | string;
879
899
  };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.20.22-beta.f90d62fb.62ae307
3
+ * @license @wistia/ui v0.21.0-beta.0a3f809d.ebf7b0d
4
4
  *
5
5
  * Copyright (c) 2024-2026, Wistia, Inc. and its affiliates.
6
6
  *