@contentstudio/ui 0.1.42 → 0.1.44

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
@@ -26,9 +26,11 @@ import { default as ListItem } from './ListItem.vue';
26
26
  import { default as Loader } from './Loader.vue';
27
27
  import { default as Modal } from './Modal.vue';
28
28
  import { default as Pagination } from './Pagination.vue';
29
+ import { default as Pill } from './Pill.vue';
29
30
  import { Placement } from '@floating-ui/vue';
30
31
  import { default as Popover } from './Popover.vue';
31
32
  import { default as Progress } from './Progress.vue';
33
+ import { default as Radio } from './Radio.vue';
32
34
  import { Ref } from 'vue';
33
35
  import { default as SegmentedControl } from './SegmentedControl.vue';
34
36
  import { default as SplitButton } from './SplitButton.vue';
@@ -854,6 +856,29 @@ export declare interface PaginationProps {
854
856
 
855
857
  export declare type PaginationVariant = 'filled' | 'outline';
856
858
 
859
+ export { Pill }
860
+
861
+ export declare interface PillEmits {
862
+ (e: 'remove'): void;
863
+ }
864
+
865
+ export declare interface PillProps {
866
+ /** Controls pill font-size and padding */
867
+ size?: Size;
868
+ /** Key of theme.radius or any valid CSS value to set border-radius */
869
+ radius?: Radius;
870
+ /** Determines whether the remove button should be displayed */
871
+ withRemoveButton?: boolean;
872
+ /** If pill is disabled it has higher contrast and remove button is hidden */
873
+ disabled?: boolean;
874
+ /** Color variant of the pill */
875
+ color: ColorVariant;
876
+ /** Style variant of the pill */
877
+ variant?: PillVariant;
878
+ }
879
+
880
+ export declare type PillVariant = Extract<VariantType, 'default' | 'contrast'>;
881
+
857
882
  export { Popover }
858
883
 
859
884
  export declare type PopoverPlacement = 'top' | 'bottom' | 'left' | 'right' | 'auto' | 'top-start' | 'bottom-start' | 'top-end' | 'bottom-end' | 'left-start' | 'right-start';
@@ -980,6 +1005,8 @@ export declare interface ProgressSection {
980
1005
  label?: string;
981
1006
  }
982
1007
 
1008
+ export { Radio }
1009
+
983
1010
  export declare interface RadioProps {
984
1011
  /**
985
1012
  * Value of the radio group (v-model)