@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.
- package/dist/cjs/index.js +6 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/index.d.ts +1 -0
- package/dist/cjs/types/theme/foundations/radius.d.ts +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/index.d.ts +1 -0
- package/dist/esm/types/theme/foundations/radius.d.ts +1 -1
- package/dist/index.d.ts +28 -1
- package/package.json +1 -1
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 };
|