@qasa/qds-ui 0.7.1 → 0.8.1

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.
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import type { HTMLQdsProps } from '../../types';
3
+ export declare type HintBoxTitleProps = HTMLQdsProps<'span'>;
4
+ export declare type HintBoxProps = HTMLQdsProps<'aside'>;
5
+ export declare const HintBox: import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "key" | keyof import("react").HTMLAttributes<HTMLElement>> & import("react").RefAttributes<HTMLElement>> & {
6
+ Title: import("@emotion/styled").StyledComponent<{
7
+ theme?: import("@emotion/react").Theme | undefined;
8
+ as?: import("react").ElementType<any> | undefined;
9
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
10
+ };
@@ -0,0 +1 @@
1
+ export * from './hint-box';
@@ -2,6 +2,7 @@ export * from './avatar';
2
2
  export * from './button';
3
3
  export * from './divider';
4
4
  export * from './heading';
5
+ export * from './hint-box';
5
6
  export * from './icon';
6
7
  export * from './icon-button';
7
8
  export * from './image';
@@ -1,10 +1,18 @@
1
1
  export declare const radii: {
2
+ /** 0px */
2
3
  none: string;
4
+ /** 4px */
3
5
  '2xs': string;
6
+ /** 8px */
4
7
  xs: string;
8
+ /** 12px */
5
9
  sm: string;
10
+ /** 16px */
6
11
  md: string;
12
+ /** 24px */
7
13
  lg: string;
14
+ /** 32px */
8
15
  xl: string;
16
+ /** 9999px */
9
17
  full: string;
10
18
  };
@@ -1,14 +1,26 @@
1
1
  export declare const spacing: {
2
+ /** 0rem (0px) */
2
3
  '0x': string;
4
+ /** 0.25rem (4px) */
3
5
  '1x': string;
6
+ /** 0.5rem (8px) */
4
7
  '2x': string;
8
+ /** 0.75rem (12px) */
5
9
  '3x': string;
10
+ /** 1rem (16px) */
6
11
  '4x': string;
12
+ /** 1.25rem (20px) */
7
13
  '5x': string;
14
+ /** 1.5rem (24px) */
8
15
  '6x': string;
16
+ /** 2rem (32px) */
9
17
  '8x': string;
18
+ /** 3rem (48px) */
10
19
  '12x': string;
20
+ /** 4rem (64px) */
11
21
  '16x': string;
22
+ /** 5rem (80px) */
12
23
  '20x': string;
24
+ /** 6rem (96px) */
13
25
  '24x': string;
14
26
  };
@@ -1,15 +1,28 @@
1
1
  export declare const zIndices: {
2
+ /** -1 */
2
3
  hide: number;
4
+ /** auto */
3
5
  auto: string;
6
+ /** 0 */
4
7
  base: number;
8
+ /** 10 */
5
9
  docked: number;
10
+ /** 1000 */
6
11
  dropdown: number;
12
+ /** 1100 */
7
13
  sticky: number;
14
+ /** 1200 */
8
15
  banner: number;
16
+ /** 1300 */
9
17
  overlay: number;
18
+ /** 1400 */
10
19
  modal: number;
20
+ /** 1500 */
11
21
  popover: number;
22
+ /** 1600 */
12
23
  skipLink: number;
24
+ /** 1700 */
13
25
  toast: number;
26
+ /** 1800 */
14
27
  tooltip: number;
15
28
  };
package/dist/index.d.ts CHANGED
@@ -2,7 +2,9 @@
2
2
  import * as react from 'react';
3
3
  import { ElementType, ComponentPropsWithoutRef, ReactNode, SVGAttributes, useLayoutEffect } from 'react';
4
4
  import { Options } from '@emotion/cache';
5
+ import * as _emotion_react from '@emotion/react';
5
6
  import { CSSObject } from '@emotion/react';
7
+ import * as _emotion_styled from '@emotion/styled';
6
8
 
7
9
  declare const theme: {
8
10
  mediaQueries: {
@@ -2787,6 +2789,15 @@ declare type HeadingComponent = ForwardRefComponent<'h2', HeadingOptions>;
2787
2789
  declare type HeadingProps = PropsOf<HeadingComponent>;
2788
2790
  declare const Heading: HeadingComponent;
2789
2791
 
2792
+ declare type HintBoxTitleProps = HTMLQdsProps<'span'>;
2793
+ declare type HintBoxProps = HTMLQdsProps<'aside'>;
2794
+ declare const HintBox: react.ForwardRefExoticComponent<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "key" | keyof react.HTMLAttributes<HTMLElement>> & react.RefAttributes<HTMLElement>> & {
2795
+ Title: _emotion_styled.StyledComponent<{
2796
+ theme?: _emotion_react.Theme | undefined;
2797
+ as?: react.ElementType<any> | undefined;
2798
+ }, react.DetailedHTMLProps<react.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
2799
+ };
2800
+
2790
2801
  declare const getSizeStyles$4: (theme: {
2791
2802
  mediaQueries: {
2792
2803
  readonly smUp: "@media(min-width: 480px)";
@@ -5862,4 +5873,4 @@ declare function useStableId(fixedId?: string | null): string;
5862
5873
  */
5863
5874
  declare const useSafeLayoutEffect: typeof useLayoutEffect;
5864
5875
 
5865
- export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Avatar, AvatarProps, BellIcon, BellSlashIcon, Button, ButtonProps, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CreateIconOptions, Divider, DividerProps, EllipsisIcon, EllipsisVerticalIcon, ForwardRefComponent, GlobalStyles, Heading, HeadingProps, HeartFilledIcon, HeartIcon, IconButton, IconButtonProps, IconProps, Image, ImageIcon, ImageProps, InputBase, InputBaseOptions, InputBaseProps, IntrinsicElement, Label, LabelProps, Link, LinkProps, LoadingDots, LoadingDotsProps, LocationDotIcon, MapIcon, MinusIcon, OwnProps, Paragraph, ParagraphProps, PlusIcon, PropsOf, QdsProvider, SearchIcon, Select, SelectBase, SelectBaseOptions, SelectOptionProps, SelectProps, SettingsIcon, Spacer, SpacerProps, Stack, StackProps, StarFilledIcon, StarIcon, TextField, TextFieldProps, Textarea, TextareaBase, TextareaBaseOptions, TextareaBaseProps, TextareaProps, Theme, ThemeOverrides, TrashIcon, UseBreakpointOptions, UseBreakpointValueProps, UseFormFieldProps, UseImageProps, UserIcon, VariantProps, XmarkIcon, createIcon, createStyle, createStyleVariants, getFormFieldBaseStyles, overrideTheme, pxToRem, theme, useBreakpoint, useBreakpointValue, useFormField, useImage, useSafeLayoutEffect, useStableId };
5876
+ export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Avatar, AvatarProps, BellIcon, BellSlashIcon, Button, ButtonProps, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CreateIconOptions, Divider, DividerProps, EllipsisIcon, EllipsisVerticalIcon, ForwardRefComponent, GlobalStyles, Heading, HeadingProps, HeartFilledIcon, HeartIcon, HintBox, HintBoxProps, HintBoxTitleProps, IconButton, IconButtonProps, IconProps, Image, ImageIcon, ImageProps, InputBase, InputBaseOptions, InputBaseProps, IntrinsicElement, Label, LabelProps, Link, LinkProps, LoadingDots, LoadingDotsProps, LocationDotIcon, MapIcon, MinusIcon, OwnProps, Paragraph, ParagraphProps, PlusIcon, PropsOf, QdsProvider, SearchIcon, Select, SelectBase, SelectBaseOptions, SelectOptionProps, SelectProps, SettingsIcon, Spacer, SpacerProps, Stack, StackProps, StarFilledIcon, StarIcon, TextField, TextFieldProps, Textarea, TextareaBase, TextareaBaseOptions, TextareaBaseProps, TextareaProps, Theme, ThemeOverrides, TrashIcon, UseBreakpointOptions, UseBreakpointValueProps, UseFormFieldProps, UseImageProps, UserIcon, VariantProps, XmarkIcon, createIcon, createStyle, createStyleVariants, getFormFieldBaseStyles, overrideTheme, pxToRem, theme, 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.7.1",
3
+ "version": "0.8.1",
4
4
  "license": "UNLICENSED",
5
5
  "repository": {
6
6
  "type": "git",