@contentstudio/ui 0.2.27-rc.27 → 0.2.27-rc.28

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
@@ -751,6 +751,7 @@ transitionDuration: number;
751
751
  withItemsBorders: boolean;
752
752
  orientation: string;
753
753
  capitalize: boolean;
754
+ scrollable: boolean;
754
755
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
755
756
  "update:modelValue": (value: string) => void;
756
757
  }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToOption_22<SegmentedControlProps_2>, {
@@ -764,6 +765,7 @@ transitionDuration: number;
764
765
  withItemsBorders: boolean;
765
766
  orientation: string;
766
767
  capitalize: boolean;
768
+ scrollable: boolean;
767
769
  }>>> & {
768
770
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
769
771
  }, {
@@ -775,6 +777,7 @@ fullWidth: boolean;
775
777
  modelValue: string;
776
778
  transitionDuration: number;
777
779
  capitalize: boolean;
780
+ scrollable: boolean;
778
781
  orientation: "horizontal" | "vertical";
779
782
  withItemsBorders: boolean;
780
783
  }>;
@@ -6384,6 +6387,23 @@ export declare interface SegmentedControlProps {
6384
6387
  * @default 'horizontal'
6385
6388
  */
6386
6389
  orientation?: 'horizontal' | 'vertical';
6390
+ /**
6391
+ * When true and orientation is 'horizontal', the segments wrapper scrolls
6392
+ * horizontally instead of wrapping or squishing. Items keep their intrinsic
6393
+ * width. Has no effect in vertical orientation.
6394
+ * @default false
6395
+ */
6396
+ scrollable?: boolean;
6397
+ /**
6398
+ * Custom background color for the selected/active segment (the pill).
6399
+ * Any CSS color string. Overrides the `color` variant's pill color when set.
6400
+ */
6401
+ selectedColor?: string;
6402
+ /**
6403
+ * Custom background color for the control's track/container.
6404
+ * Any CSS color string. Overrides the variant default when set.
6405
+ */
6406
+ backgroundColor?: string;
6387
6407
  }
6388
6408
 
6389
6409
  declare interface SegmentedControlProps_2 {
@@ -6398,6 +6418,24 @@ declare interface SegmentedControlProps_2 {
6398
6418
  withItemsBorders?: boolean;
6399
6419
  orientation?: 'horizontal' | 'vertical';
6400
6420
  capitalize?: boolean;
6421
+ /**
6422
+ * When true and orientation is 'horizontal', the segments wrapper scrolls
6423
+ * horizontally instead of wrapping or squishing. Items keep their intrinsic
6424
+ * width. Has no effect in vertical orientation.
6425
+ * @default false
6426
+ */
6427
+ scrollable?: boolean;
6428
+ /**
6429
+ * Custom background color for the selected/active segment (the pill).
6430
+ * Any CSS color string. Overrides the `color` variant's pill color when set.
6431
+ * Pair with `color="dark"` if you need white label text on a dark custom color.
6432
+ */
6433
+ selectedColor?: string;
6434
+ /**
6435
+ * Custom background color for the control's track/container.
6436
+ * Any CSS color string. Overrides the variant default when set.
6437
+ */
6438
+ backgroundColor?: string;
6401
6439
  }
6402
6440
 
6403
6441
  export declare interface SelectOption {