@qasa/qds-ui 0.10.0-next.10 → 0.10.0-next.12

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.
@@ -1,5 +1,6 @@
1
1
  export * from './avatar';
2
2
  export * from './button';
3
+ export * from './display-text';
3
4
  export * from './checkbox';
4
5
  export * from './divider';
5
6
  export * from './dropdown-menu';
@@ -1,7 +1,7 @@
1
1
  export declare const radii: {
2
2
  /** 0px */
3
3
  none: string;
4
- /** 4px */
4
+ /** 6px */
5
5
  '2xs': string;
6
6
  /** 8px */
7
7
  xs: string;
package/dist/index.d.ts CHANGED
@@ -2421,6 +2421,33 @@ declare type PolymorphicButton = ForwardRefComponent<'button', ButtonOptions>;
2421
2421
  declare type ButtonProps = PropsOf<PolymorphicButton>;
2422
2422
  declare const Button: PolymorphicButton;
2423
2423
 
2424
+ declare type DisplaySize = keyof Theme['typography']['display'];
2425
+ declare type DisplayTextAlign = 'left' | 'center' | 'right';
2426
+ declare type DisplayTextWrap = 'pretty' | 'balance' | 'wrap' | 'nowrap' | 'stable';
2427
+ interface DisplayTextOptions {
2428
+ /**
2429
+ * Sets the visual size of the display text.
2430
+ * To override the rendered tag, use the `as` prop.
2431
+ *
2432
+ * @default 'md'
2433
+ */
2434
+ size?: DisplaySize;
2435
+ /**
2436
+ * Sets the text alignment
2437
+ * @default 'left'
2438
+ */
2439
+ textAlign?: DisplayTextAlign;
2440
+ /**
2441
+ * Sets the text wrapping
2442
+ * @default 'pretty'
2443
+ * Read more on [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap)
2444
+ */
2445
+ textWrap?: DisplayTextWrap;
2446
+ }
2447
+ declare type DisplayTextComponent = ForwardRefComponent<'h2', DisplayTextOptions>;
2448
+ declare type DisplayTextProps = PropsOf<DisplayTextComponent>;
2449
+ declare const DisplayText: DisplayTextComponent;
2450
+
2424
2451
  interface CheckboxOptions {
2425
2452
  /**
2426
2453
  * The label for the checkbox. Accepts a string, or a React component for rendering links within the label.
@@ -5301,4 +5328,4 @@ declare function useStableId(fixedId?: string | null): string;
5301
5328
  */
5302
5329
  declare const useSafeLayoutEffect: typeof useLayoutEffect;
5303
5330
 
5304
- export { AlertCircleIcon, AlertTriangleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Avatar, AvatarProps, BellIcon, BellOffIcon, BookmarkIcon, Button, ButtonProps, CalendarIcon, CameraIcon, CheckCircleIcon, CheckIcon, Checkbox, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CreateIconOptions, Divider, DividerProps, DropdownMenu, DropdownMenuContentProps, DropdownMenuDividerProps, DropdownMenuItemProps, DropdownMenuRootProps, DropdownMenuTriggerProps, ForwardRefComponent, GlobalStyles, GlobeIcon, Heading, HeadingProps, HeartFilledIcon, HeartIcon, HelpCircleIcon, HintBox, HintBoxProps, HintBoxTitleProps, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconProps, ImageIcon, InputBase, InputBaseOptions, InputBaseProps, IntrinsicElement, Label, LabelProps, Link, LinkProps, ListFilterIcon, ListIcon, LoadingDots, LoadingDotsProps, LogOutIcon, MapIcon, MapPinIcon, MenuIcon, MessageCircleIcon, MinusIcon, MoreHorizontalIcon, MoreVerticalIcon, OwnProps, Paragraph, ParagraphProps, PenIcon, PlusIcon, PropsOf, QdsProvider, RadioCardProps, RadioGroup, RadioGroupLabelProps, RadioGroupProps, SearchIcon, Select, SelectBase, SelectBaseOptions, SelectOptionProps, SelectProps, SettingsIcon, ShareIcon, SlidersIcon, Spacer, SpacerProps, Stack, StackProps, StarFilledIcon, StarIcon, Switch, TextField, TextFieldProps, Textarea, TextareaBase, TextareaBaseOptions, TextareaBaseProps, TextareaProps, Theme, ThemeOverrides, TrashIcon, UseBreakpointOptions, UseBreakpointValueProps, UseFormFieldProps, UseImageProps, UserIcon, VariantProps, XCircleIcon, XIcon, createIcon, createLucideIcon, createStyle, createStyleVariants, getFormFieldBaseStyles, overrideTheme, pxToRem, theme, toast, useBreakpoint, useBreakpointValue, useFormField, useImage, useSafeLayoutEffect, useStableId };
5331
+ export { AlertCircleIcon, AlertTriangleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Avatar, AvatarProps, BellIcon, BellOffIcon, BookmarkIcon, Button, ButtonProps, CalendarIcon, CameraIcon, CheckCircleIcon, CheckIcon, Checkbox, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CreateIconOptions, DisplayText, DisplayTextProps, Divider, DividerProps, DropdownMenu, DropdownMenuContentProps, DropdownMenuDividerProps, DropdownMenuItemProps, DropdownMenuRootProps, DropdownMenuTriggerProps, ForwardRefComponent, GlobalStyles, GlobeIcon, Heading, HeadingProps, HeartFilledIcon, HeartIcon, HelpCircleIcon, HintBox, HintBoxProps, HintBoxTitleProps, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconProps, ImageIcon, InputBase, InputBaseOptions, InputBaseProps, IntrinsicElement, Label, LabelProps, Link, LinkProps, ListFilterIcon, ListIcon, LoadingDots, LoadingDotsProps, LogOutIcon, MapIcon, MapPinIcon, MenuIcon, MessageCircleIcon, MinusIcon, MoreHorizontalIcon, MoreVerticalIcon, OwnProps, Paragraph, ParagraphProps, PenIcon, PlusIcon, PropsOf, QdsProvider, RadioCardProps, RadioGroup, RadioGroupLabelProps, RadioGroupProps, SearchIcon, Select, SelectBase, SelectBaseOptions, SelectOptionProps, SelectProps, SettingsIcon, ShareIcon, SlidersIcon, Spacer, SpacerProps, Stack, StackProps, StarFilledIcon, StarIcon, Switch, TextField, TextFieldProps, Textarea, TextareaBase, TextareaBaseOptions, TextareaBaseProps, TextareaProps, Theme, ThemeOverrides, TrashIcon, UseBreakpointOptions, UseBreakpointValueProps, UseFormFieldProps, UseImageProps, UserIcon, VariantProps, XCircleIcon, XIcon, createIcon, createLucideIcon, createStyle, createStyleVariants, getFormFieldBaseStyles, overrideTheme, pxToRem, theme, toast, useBreakpoint, useBreakpointValue, useFormField, useImage, useSafeLayoutEffect, useStableId };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qasa/qds-ui",
3
- "version": "0.10.0-next.10",
3
+ "version": "0.10.0-next.12",
4
4
  "license": "UNLICENSED",
5
5
  "repository": {
6
6
  "type": "git",