@helpscout/ui-kit-react 0.6.1 → 0.6.2
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/lib/components/badge/badge.d.ts +3 -3
- package/dist/lib/components/badge/badge.d.ts.map +1 -1
- package/dist/lib/components/button/button.d.ts +4 -4
- package/dist/lib/components/button/button.d.ts.map +1 -1
- package/dist/lib/components/button-group/button-group.d.ts +2 -1
- package/dist/lib/components/divider/divider.d.ts +0 -1
- package/dist/lib/components/divider/divider.d.ts.map +1 -1
- package/dist/lib/components/icon/icon.d.ts +3 -3
- package/dist/lib/components/icon/icon.d.ts.map +1 -1
- package/dist/lib/components/input/input.d.ts +4 -4
- package/dist/lib/components/input/input.d.ts.map +1 -1
- package/dist/lib/components/label/label.d.ts +4 -4
- package/dist/lib/components/label/label.d.ts.map +1 -1
- package/dist/lib/components/link/link.d.ts +4 -4
- package/dist/lib/components/link/link.d.ts.map +1 -1
- package/dist/lib/components/list/list.d.ts +3 -3
- package/dist/lib/components/list/list.d.ts.map +1 -1
- package/dist/lib/components/menu/menu.d.ts +2 -2
- package/dist/lib/components/menu/menu.d.ts.map +1 -1
- package/dist/lib/components/modal/modal.d.ts +2 -2
- package/dist/lib/components/modal/modal.d.ts.map +1 -1
- package/dist/lib/components/modal/modal.test.d.ts +1 -0
- package/dist/lib/components/number-field/number-field.d.ts +2 -2
- package/dist/lib/components/number-field/number-field.d.ts.map +1 -1
- package/dist/lib/components/select/select.d.ts +3 -3
- package/dist/lib/components/side-panel/components/side-panel.content.d.ts +2 -1
- package/dist/lib/components/side-panel/components/side-panel.footer.d.ts +2 -1
- package/dist/lib/components/side-panel/components/side-panel.header.d.ts +2 -1
- package/dist/lib/components/side-panel/components/tooltip/tooltip.d.ts +2 -1
- package/dist/lib/components/side-panel/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/lib/components/side-panel/index.d.ts +3 -2
- package/dist/lib/components/side-panel/side-panel.context.d.ts +1 -2
- package/dist/lib/components/side-panel/side-panel.context.d.ts.map +1 -1
- package/dist/lib/components/side-panel/side-panel.d.ts +5 -4
- package/dist/lib/components/side-panel/side-panel.hooks.d.ts +1 -2
- package/dist/lib/components/side-panel/side-panel.hooks.d.ts.map +1 -1
- package/dist/lib/components/text/text.d.ts +6 -4
- package/dist/lib/components/text/text.d.ts.map +1 -1
- package/dist/lib/components/text/text.utils.d.ts +2 -1
- package/dist/lib/components/text/text.utils.d.ts.map +1 -1
- package/dist/lib/components/text-area/text-area.d.ts +4 -4
- package/dist/lib/components/text-area/text-area.d.ts.map +1 -1
- package/dist/lib/components/text-area-field/text-area-field.d.ts +2 -2
- package/dist/lib/components/text-area-field/text-area-field.d.ts.map +1 -1
- package/dist/lib/components/text-field/text-field.d.ts +3 -3
- package/dist/lib/components/text-field/text-field.d.ts.map +1 -1
- package/dist/lib/components/theme/theme.d.ts +0 -1
- package/dist/lib/components/theme/theme.d.ts.map +1 -1
- package/dist/lib/components/thumbnail/thumbnail.d.ts +3 -3
- package/dist/lib/components/thumbnail/thumbnail.d.ts.map +1 -1
- package/dist/lib/components/validation-alert/validation-alert.d.ts +3 -3
- package/dist/lib/components/validation-alert/validation-alert.d.ts.map +1 -1
- package/dist/lib/hooks/useFocusRing/useFocusRing.d.ts +2 -1
- package/dist/lib/ui-kit-react.d.ts +22 -22
- package/dist/prop-types.json +1868 -1148
- package/dist/ui-kit-react.js +21758 -21754
- package/dist/ui-kit-react.umd.cjs +85 -70
- package/package.json +2 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
|
|
3
3
|
declare const badgeStyles: (props?: ({
|
|
4
4
|
color?: "default" | "success" | "warning" | "error" | null | undefined;
|
|
5
5
|
size?: "default" | "sm" | null | undefined;
|
|
6
|
-
} & import(
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export type BadgeVariantProps = VariantProps<typeof badgeStyles>;
|
|
8
8
|
export interface BadgeProps {
|
|
9
9
|
/** Content of the badge. Can be text, icons, etc. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../../lib/components/badge/badge.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../../lib/components/badge/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAKlE,QAAA,MAAM,WAAW;;;8EAaf,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjE,MAAM,WAAW,UAAU;IACzB,qDAAqD;IACrD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,mCAAmC;IACnC,KAAK,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAEnC,kCAAkC;IAClC,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;CAClC;AAED,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,KAAiB,EACjB,IAAgB,GACjB,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CAE1B;yBANe,KAAK"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { ButtonProps as RACButtonProps } from 'react-aria-components';
|
|
3
|
+
|
|
4
4
|
declare const buttonStyles: (props?: ({
|
|
5
5
|
variant?: "critical" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
6
|
-
} & import(
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export type ButtonVariantProps = VariantProps<typeof buttonStyles>;
|
|
8
8
|
export interface ButtonProps extends RACButtonProps {
|
|
9
9
|
/** Changes the appearance of the button. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../lib/components/button/button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../lib/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAEL,KAAK,WAAW,IAAI,cAAc,EACnC,MAAM,uBAAuB,CAAC;AAQ/B,QAAA,MAAM,YAAY;;8EAShB,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC;AAGnE,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD,4CAA4C;IAC5C,OAAO,CAAC,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;CACzC;AACD,wBAAgB,MAAM,CAAC,EACrB,SAAS,EACT,OAAqB,EACrB,GAAG,KAAK,EACT,EAAE,WAAW,GAAG,GAAG,CAAC,OAAO,CAgB3B;yBApBe,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../../lib/components/divider/divider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../../lib/components/divider/divider.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC;CAAG;AAE5E,wBAAgB,OAAO,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CAE1E"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
|
|
3
3
|
declare const iconStyles: (props?: ({
|
|
4
4
|
size?: "sm" | "xs" | "md" | "lg" | null | undefined;
|
|
5
|
-
} & import(
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export type IconVariantProps = VariantProps<typeof iconStyles>;
|
|
7
7
|
export interface IconProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
8
8
|
/** The icon component to render. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../lib/components/icon/icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../lib/components/icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAKlE,QAAA,MAAM,UAAU;;8EASd,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/D,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IACtE,oCAAoC;IACpC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC;IAE1B,iCAAiC;IACjC,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CACjC;AAED,wBAAgB,IAAI,CAAC,EACnB,SAAS,EACT,IAAI,EAAE,aAAa,EACnB,IAAW,EACX,GAAG,KAAK,EACT,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAMzB;yBAXe,IAAI"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { InputProps as RACInputProps } from 'react-aria-components';
|
|
3
|
+
|
|
4
4
|
declare const inputStyles: (props?: ({
|
|
5
5
|
align?: "left" | "right" | null | undefined;
|
|
6
6
|
state?: "success" | "warning" | "error" | null | undefined;
|
|
7
|
-
} & import(
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
export type InputVariantProps = VariantProps<typeof inputStyles>;
|
|
9
9
|
type AddonProps = React.ReactNode | string;
|
|
10
10
|
export interface InputProps extends Omit<RACInputProps, "prefix"> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../lib/components/input/input.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../lib/components/input/input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAGL,KAAK,UAAU,IAAI,aAAa,EACjC,MAAM,uBAAuB,CAAC;AA+B/B,QAAA,MAAM,WAAW;;;8EAYf,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjE,KAAK,UAAU,GAAG,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;AAE3C,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC;IAC/D,8CAA8C;IAC9C,KAAK,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAEnC,sCAAsC;IACtC,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB,2FAA2F;IAC3F,KAAK,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAEnC,sCAAsC;IACtC,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB;AAqBD,wBAAgB,KAAK,CAAC,EACpB,SAAS,EACT,KAAc,EACd,QAAQ,EACR,MAAM,EACN,KAAK,EACL,MAAM,EACN,GAAG,KAAK,EACT,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CAmB1B;yBA3Be,KAAK"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { GroupProps, LabelProps as RACLabelProps } from 'react-aria-components';
|
|
3
|
+
|
|
4
4
|
declare const labelStyles: (props?: ({
|
|
5
5
|
required?: boolean | null | undefined;
|
|
6
|
-
} & import(
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export type LabelVariantProps = VariantProps<typeof labelStyles>;
|
|
8
8
|
export interface LabelProps extends RACLabelProps {
|
|
9
9
|
/** Displays a required indicator next to the label. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../../lib/components/label/label.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../../lib/components/label/label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAEL,KAAK,UAAU,EAEf,KAAK,UAAU,IAAI,aAAa,EACjC,MAAM,uBAAuB,CAAC;AAM/B,QAAA,MAAM,WAAW;;8EAMf,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjE,MAAM,WAAW,UAAW,SAAQ,aAAa;IAC/C,uDAAuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CAWtE;yBAXe,KAAK;;;AAarB,MAAM,WAAW,qBAAqB;IACpC,uCAAuC;IACvC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,GACT,EAAE,qBAAqB,GAAG,GAAG,CAAC,OAAO,CAMrC;yBARe,gBAAgB;;;AAUhC,MAAM,WAAW,eAAgB,SAAQ,UAAU;CAAG;AAEtD,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CAE9D;yBAFe,UAAU"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const linkStyles: (props?: import(
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { LinkProps as RACLinkProps } from 'react-aria-components';
|
|
3
|
+
|
|
4
|
+
declare const linkStyles: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
5
5
|
export type LinkVariantProps = VariantProps<typeof linkStyles>;
|
|
6
6
|
export interface LinkProps extends RACLinkProps {
|
|
7
7
|
/** Whether the link is disabled. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../lib/components/link/link.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../lib/components/link/link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAEL,KAAK,SAAS,IAAI,YAAY,EAC/B,MAAM,uBAAuB,CAAC;AAM/B,QAAA,MAAM,UAAU,oFAAmB,CAAC;AAEpC,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/D,MAAM,WAAW,SAAU,SAAQ,YAAY;IAC7C,oCAAoC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAWpE;yBAXe,IAAI"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
|
|
3
3
|
declare const listStyles: (props?: ({
|
|
4
4
|
decoration?: "none" | "bullet" | "numbered" | null | undefined;
|
|
5
|
-
} & import(
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export type ListVariantProps = VariantProps<typeof listStyles>;
|
|
7
7
|
export interface ListProps {
|
|
8
8
|
/** The list items to render */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../lib/components/list/list.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../lib/components/list/list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAKlE,QAAA,MAAM,UAAU;;8EAQd,CAAC;AAIH,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/D,MAAM,WAAW,SAAS;IACxB,+BAA+B;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,6CAA6C;IAC7C,UAAU,CAAC,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAC;CAC7C;AAED,MAAM,WAAW,aAAa;CAAG;AAEjC,wBAAgB,IAAI,CAAC,EACnB,UAAmB,EACnB,GAAG,KAAK,EACT,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CASzB;yBAZe,IAAI;;;AAcpB,wBAAgB,QAAQ,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,GAAG,GAAG,CAAC,OAAO,CAEjE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { MenuItemProps as MenuItemRACProps, MenuTrigger } from 'react-aria-components';
|
|
2
|
+
|
|
3
3
|
interface MenuProps {
|
|
4
4
|
/** Optional class name to apply to the menu. */
|
|
5
5
|
className?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../lib/components/menu/menu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../lib/components/menu/menu.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,aAAa,IAAI,gBAAgB,EAEtC,WAAW,EAEZ,MAAM,uBAAuB,CAAC;AAI/B,UAAU,SAAS;IACjB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,0CAA0C;IAC1C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,yCAAyC;IACzC,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAEtC,uDAAuD;IACvD,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;CAC1C;AAED,iBAAS,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAM/C;AAED,UAAU,aAAc,SAAQ,gBAAgB;IAC9C,yCAAyC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,+CAA+C;IAC/C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,UAAU,EACV,KAAU,EACV,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,aAAa,2CAef;AAED,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,SAAS,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { DialogProps as DialogPropsRAC, ModalOverlayProps, DialogTrigger as ModalTrigger } from 'react-aria-components';
|
|
2
|
+
|
|
3
3
|
interface ModalProps extends Omit<ModalOverlayProps, "children"> {
|
|
4
4
|
/** The role of the dialog. */
|
|
5
5
|
role?: DialogPropsRAC["role"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../../lib/components/modal/modal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../../lib/components/modal/modal.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,IAAI,cAAc,EAG7B,iBAAiB,EAEjB,aAAa,IAAI,YAAY,EAC9B,MAAM,uBAAuB,CAAC;AAM/B,UAAU,UAAW,SAAQ,IAAI,CAAC,iBAAiB,EAAE,UAAU,CAAC;IAC9D,8BAA8B;IAC9B,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IAE9B,4CAA4C;IAC5C,QAAQ,EACJ,KAAK,CAAC,SAAS,GACf,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE;QAAE,KAAK,EAAE,MAAM,IAAI,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;CAC7D;AAED,UAAU,iBAAiB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAe,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAkBjE;AAED,iBAAS,YAAY,CAAC,EACpB,KAAK,EACL,WAAW,EACX,MAAM,EACN,SAAS,GACV,EAAE,iBAAiB,2CAYnB;AAED,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,UAAU,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { NumberFieldProps as RCANumberFieldProps } from 'react-aria-components';
|
|
2
|
+
|
|
3
3
|
export interface NumberFieldProps extends RCANumberFieldProps {
|
|
4
4
|
}
|
|
5
5
|
export declare function NumberField({ className, ...props }: NumberFieldProps): JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-field.d.ts","sourceRoot":"","sources":["../../../../lib/components/number-field/number-field.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"number-field.d.ts","sourceRoot":"","sources":["../../../../lib/components/number-field/number-field.tsx"],"names":[],"mappings":"AAGA,OAAO,EAOL,KAAK,gBAAgB,IAAI,mBAAmB,EAC7C,MAAM,uBAAuB,CAAC;AAiB/B,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB;CAAG;AAEhE,wBAAgB,WAAW,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,CA4BhC;yBA/Be,WAAW"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ListBoxItemProps, ListBoxRenderProps, ComboBoxProps, PopoverProps, SelectProps as SelectPropsRAC } from 'react-aria-components';
|
|
3
|
+
|
|
4
4
|
interface SelectProps extends Omit<SelectPropsRAC<object> & ComboBoxProps<object>, "children"> {
|
|
5
5
|
/** Optional class name to apply to the Select. */
|
|
6
6
|
className?: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
2
3
|
export type ButtonVariants = "primary" | "secondary" | "tertiary" | "critical";
|
|
3
4
|
export interface FooterProps extends Omit<React.ComponentPropsWithoutRef<"div">, "children"> {
|
|
4
5
|
/** The button label to be used for the primary Side Panel footer button. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../../../lib/components/side-panel/components/tooltip/tooltip.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAY,MAAM,OAAO,CAAC;AAIpD,KAAK,KAAK,GAAG,iBAAiB,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACvC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../../../lib/components/side-panel/components/tooltip/tooltip.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAY,MAAM,OAAO,CAAC;AAIpD,KAAK,KAAK,GAAG,iBAAiB,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACvC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH,eAAO,MAAM,OAAO,GAAI,4CAKrB,KAAK,4CAoCP,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface SidePanelContextType {
|
|
3
2
|
stickyFooter: boolean;
|
|
4
3
|
hasFooterOverflow: boolean;
|
|
5
4
|
setHasFooterOverflow: (hasOverflow: boolean) => void;
|
|
6
5
|
}
|
|
7
|
-
export declare const SidePanelContext: import(
|
|
6
|
+
export declare const SidePanelContext: import('react').Context<SidePanelContextType>;
|
|
8
7
|
interface SidePanelContextProviderProps {
|
|
9
8
|
children: React.ReactNode;
|
|
10
9
|
stickyFooter?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"side-panel.context.d.ts","sourceRoot":"","sources":["../../../../lib/components/side-panel/side-panel.context.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"side-panel.context.d.ts","sourceRoot":"","sources":["../../../../lib/components/side-panel/side-panel.context.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,oBAAoB,EAAE,CAAC,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC;CACtD;AAED,eAAO,MAAM,gBAAgB,+CAI3B,CAAC;AAEH,UAAU,6BAA6B;IACrC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,wBAAgB,wBAAwB,CAAC,EACvC,QAAQ,EACR,YAAmB,GACpB,EAAE,6BAA6B,2CAc/B;AAED,eAAO,MAAM,mBAAmB,QAAO,oBAEtC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
2
3
|
export interface SidePanelProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
3
4
|
/** Custom class names to be added to the component. */
|
|
4
5
|
className?: string;
|
|
@@ -9,9 +10,9 @@ export interface SidePanelProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
|
9
10
|
}
|
|
10
11
|
export declare const SidePanel: {
|
|
11
12
|
({ children, className, stickyFooter, ...rest }: SidePanelProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
Header: React.FC<import(
|
|
13
|
-
Content: React.FunctionComponent<import(
|
|
14
|
-
Footer: React.FunctionComponent<Readonly<import(
|
|
13
|
+
Header: React.FC<import('./components/side-panel.header').HeaderProps>;
|
|
14
|
+
Content: React.FunctionComponent<import('./components/side-panel.content').SidePanelContentProps>;
|
|
15
|
+
Footer: React.FunctionComponent<Readonly<import('./components/side-panel.footer').FooterProps>>;
|
|
15
16
|
};
|
|
16
17
|
export default SidePanel;
|
|
17
18
|
//# sourceMappingURL=side-panel.d.ts.map
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const useOverflowObserver: () => import("react").MutableRefObject<HTMLDivElement | null>;
|
|
1
|
+
export declare const useOverflowObserver: () => import('react').MutableRefObject<HTMLDivElement | null>;
|
|
3
2
|
//# sourceMappingURL=side-panel.hooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"side-panel.hooks.d.ts","sourceRoot":"","sources":["../../../../lib/components/side-panel/side-panel.hooks.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"side-panel.hooks.d.ts","sourceRoot":"","sources":["../../../../lib/components/side-panel/side-panel.hooks.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,+DAqC/B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
|
|
3
3
|
declare const textStyles: (props?: ({
|
|
4
4
|
tone?: "default" | "success" | "warning" | "error" | "critical" | "headline" | "dark" | "light" | "disabled" | "info" | null | undefined;
|
|
5
5
|
variant?: "heading-md" | "heading-lg" | "body-md-strong" | "body-md" | "body-sm" | null | undefined;
|
|
6
6
|
visuallyHidden?: boolean | null | undefined;
|
|
7
|
-
} & import(
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
export type TextVariantProps = VariantProps<typeof textStyles>;
|
|
9
9
|
export type Element = "dt" | "dd" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "legend" | "p" | "span" | "strong";
|
|
10
10
|
type BaseColor = "red" | "green" | "yellow" | "orange" | "purple" | "magenta" | "cobalt" | "charcoal" | "clay" | "slate";
|
|
@@ -27,11 +27,13 @@ export interface TextProps {
|
|
|
27
27
|
color?: TextColor;
|
|
28
28
|
/** Optional variant of the text. */
|
|
29
29
|
variant?: TextVariantProps["variant"];
|
|
30
|
+
/** Optional slot for use in composite components. */
|
|
31
|
+
slot?: string;
|
|
30
32
|
/** Optional boolean to visually hide the text.
|
|
31
33
|
* @default false
|
|
32
34
|
*/
|
|
33
35
|
visuallyHidden?: boolean;
|
|
34
36
|
}
|
|
35
|
-
export declare const Text: import(
|
|
37
|
+
export declare const Text: import('react').ForwardRefExoticComponent<TextProps & import('react').RefAttributes<HTMLElement>>;
|
|
36
38
|
export {};
|
|
37
39
|
//# sourceMappingURL=text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../lib/components/text/text.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../lib/components/text/text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AASlE,QAAA,MAAM,UAAU;;;;8EAyBd,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/D,MAAM,MAAM,OAAO,GACf,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,QAAQ,GACR,GAAG,GACH,MAAM,GACN,QAAQ,CAAC;AAEb,KAAK,SAAS,GACV,KAAK,GACL,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,UAAU,GACV,MAAM,GACN,OAAO,CAAC;AAEZ,KAAK,KAAK,GACN,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,GACN,QAAQ,CAAC;AAEb,KAAK,SAAS,GAAG,GAAG,SAAS,IAAI,KAAK,EAAE,CAAC;AAEzC,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC;IAEb,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,2BAA2B;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,4BAA4B;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,iCAAiC;IACjC,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAEhC,kDAAkD;IAClD,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB,oCAAoC;IACpC,OAAO,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IAEtC,qDAAqD;IACrD,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAID,eAAO,MAAM,IAAI,mGAoChB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { TextProps } from
|
|
1
|
+
import { TextProps } from './text';
|
|
2
|
+
|
|
2
3
|
export declare const mapPropDefaults: ({ as, variant, tone, }: Pick<TextProps, "as" | "variant" | "tone">) => {
|
|
3
4
|
variant: "heading-md" | "heading-lg" | "body-md-strong" | "body-md" | "body-sm";
|
|
4
5
|
tone: "default" | "success" | "warning" | "error" | "critical" | "headline" | "dark" | "light" | "disabled" | "info";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.utils.d.ts","sourceRoot":"","sources":["../../../../lib/components/text/text.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,SAAS,EAAE,MAAM,QAAQ,CAAC;AAsB5C,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"text.utils.d.ts","sourceRoot":"","sources":["../../../../lib/components/text/text.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,SAAS,EAAE,MAAM,QAAQ,CAAC;AAsB5C,eAAO,MAAM,eAAe,GAAI,wBAI7B,IAAI,CAAC,SAAS,EAAE,IAAI,GAAG,SAAS,GAAG,MAAM,CAAC;;;CAQ5C,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { TextAreaProps as RACTextAreaProps } from 'react-aria-components';
|
|
3
|
+
|
|
4
4
|
declare const textAreaStyles: (props?: ({
|
|
5
5
|
state?: "success" | "warning" | "error" | null | undefined;
|
|
6
|
-
} & import(
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export type TextAreaVariantProps = VariantProps<typeof textAreaStyles>;
|
|
8
8
|
export interface TextAreaProps extends RACTextAreaProps {
|
|
9
9
|
/** Changes the appearance of the textarea to indicate an error, success, or warning state. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-area.d.ts","sourceRoot":"","sources":["../../../../lib/components/text-area/text-area.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"text-area.d.ts","sourceRoot":"","sources":["../../../../lib/components/text-area/text-area.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAEL,KAAK,aAAa,IAAI,gBAAgB,EACvC,MAAM,uBAAuB,CAAC;AAgB/B,QAAA,MAAM,cAAc;;8EAQlB,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAEvE,MAAM,WAAW,aAAc,SAAQ,gBAAgB;IACrD,8FAA8F;IAC9F,KAAK,CAAC,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;CACvC;AAED,wBAAgB,QAAQ,CAAC,EACvB,SAAS,EACT,QAAQ,EACR,KAAK,EACL,GAAG,KAAK,EACT,EAAE,aAAa,GAAG,GAAG,CAAC,OAAO,CAoB7B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { TextFieldProps as RACTextFieldProps } from 'react-aria-components';
|
|
2
|
+
|
|
3
3
|
export interface TextAreaFieldProps extends Omit<RACTextFieldProps, "isInvalid" | "inputMode" | "type"> {
|
|
4
4
|
/** The label for the textarea. */
|
|
5
5
|
label?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-area-field.d.ts","sourceRoot":"","sources":["../../../../lib/components/text-area-field/text-area-field.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"text-area-field.d.ts","sourceRoot":"","sources":["../../../../lib/components/text-area-field/text-area-field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,IAAI,iBAAiB,EACzC,MAAM,uBAAuB,CAAC;AAQ/B,MAAM,WAAW,kBACf,SAAQ,IAAI,CAAC,iBAAiB,EAAE,WAAW,GAAG,WAAW,GAAG,MAAM,CAAC;IACnE,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,0DAA0D;IAC1D,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,oDAAoD;IACpD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,8CAA8C;IAC9C,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;CACnD;AAED,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,WAAW,EACX,UAAU,EACV,WAAW,EACX,IAAQ,EACR,iBAAiB,EACjB,eAAe,EACf,GAAG,KAAK,EACT,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,CA0BlC;yBAnCe,aAAa"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { TextFieldProps as RACTextFieldProps } from 'react-aria-components';
|
|
2
|
+
import { InputProps } from '../input/input';
|
|
3
|
+
|
|
4
4
|
export interface TextFieldProps extends Omit<RACTextFieldProps, "isInvalid"> {
|
|
5
5
|
/** Change the alignment of the input text. */
|
|
6
6
|
align?: InputProps["align"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-field.d.ts","sourceRoot":"","sources":["../../../../lib/components/text-field/text-field.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"text-field.d.ts","sourceRoot":"","sources":["../../../../lib/components/text-field/text-field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,IAAI,iBAAiB,EACzC,MAAM,uBAAuB,CAAC;AAI/B,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAIxD,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,iBAAiB,EAAE,WAAW,CAAC;IAC1E,8CAA8C;IAC9C,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAE5B,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,6CAA6C;IAC7C,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,wCAAwC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,sCAAsC;IACtC,MAAM,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;IAE9B,kDAAkD;IAClD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,gDAAgD;IAChD,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;CACnD;AAED,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,WAAW,EACX,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,GAAG,KAAK,EACT,EAAE,cAAc,GAAG,GAAG,CAAC,OAAO,CA2B9B;yBAnCe,SAAS"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../lib/components/theme/theme.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../lib/components/theme/theme.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,UAAU;IACzB,yDAAyD;IACzD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,2FAA2F;IAC3F,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,WAAkB,GACnB,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CA4B1B;yBA/Be,KAAK"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
|
|
3
3
|
declare const thumbnailStyles: (props?: ({
|
|
4
4
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5
5
|
fit?: "contain" | "cover" | null | undefined;
|
|
6
6
|
isDisabled?: boolean | null | undefined;
|
|
7
|
-
} & import(
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
export type ThumbnailVariantProps = VariantProps<typeof thumbnailStyles>;
|
|
9
9
|
export interface ThumbnailProps {
|
|
10
10
|
/** The alt text for the thumbnail. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thumbnail.d.ts","sourceRoot":"","sources":["../../../../lib/components/thumbnail/thumbnail.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"thumbnail.d.ts","sourceRoot":"","sources":["../../../../lib/components/thumbnail/thumbnail.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAKlE,QAAA,MAAM,eAAe;;;;8EAenB,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC;AAEzE,MAAM,WAAW,cAAc;IAC7B,sCAAsC;IACtC,GAAG,EAAE,MAAM,CAAC;IAEZ,uFAAuF;IACvF,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;IAEhE,kDAAkD;IAClD,GAAG,CAAC,EAAE,qBAAqB,CAAC,KAAK,CAAC,CAAC;IAEnC,yCAAyC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,sCAAsC;IACtC,IAAI,CAAC,EAAE,qBAAqB,CAAC,MAAM,CAAC,CAAC;CACtC;AAED,wBAAgB,SAAS,CAAC,EACxB,GAAG,EACH,GAAG,EACH,IAAW,EACX,GAAa,EACb,UAAU,EACV,GAAG,KAAK,EACT,EAAE,cAAc,GAAG,GAAG,CAAC,OAAO,CAqB9B;yBA5Be,SAAS"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
|
|
3
3
|
declare const validationAlertStyles: (props?: ({
|
|
4
4
|
state?: "success" | "warning" | "error" | null | undefined;
|
|
5
|
-
} & import(
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export type ValidationAlertVariantProps = VariantProps<typeof validationAlertStyles>;
|
|
7
7
|
export interface ValidationAlertProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
8
|
/** Changes the appearance of the alert to indicate an error, success, or warning state. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-alert.d.ts","sourceRoot":"","sources":["../../../../lib/components/validation-alert/validation-alert.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"validation-alert.d.ts","sourceRoot":"","sources":["../../../../lib/components/validation-alert/validation-alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAQlE,QAAA,MAAM,qBAAqB;;8EAQzB,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG,YAAY,CACpD,OAAO,qBAAqB,CAC7B,CAAC;AAEF,MAAM,WAAW,oBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5C,2FAA2F;IAC3F,KAAK,CAAC,EAAE,2BAA2B,CAAC,OAAO,CAAC,CAAC;CAC9C;AAED,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,oBAAoB,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,CAc3C;yBAnBe,eAAe"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { AriaFocusRingProps, FocusRingAria } from
|
|
1
|
+
import { AriaFocusRingProps, FocusRingAria } from 'react-aria';
|
|
2
|
+
|
|
2
3
|
interface FocusRingWithStylesAria extends FocusRingAria {
|
|
3
4
|
/** Contain all required classnames to make the focus ring work on an element. */
|
|
4
5
|
focusRingClassnames: string;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export { Badge, type BadgeProps, type BadgeVariantProps, } from
|
|
2
|
-
export { Button, type ButtonProps, type ButtonVariantProps, } from
|
|
3
|
-
export { ButtonGroup, ButtonGroupItem, type ButtonGroupProps, type ButtonGroupItemProps, } from
|
|
4
|
-
export { Divider, type DividerProps } from
|
|
5
|
-
export { Icon, type IconProps, type IconVariantProps, } from
|
|
6
|
-
export { Input, type InputProps, type InputVariantProps, } from
|
|
7
|
-
export { Label, LabelDescription, LabelGroup, type LabelProps, type LabelVariantProps, type LabelDescriptionProps, type LabelGroupProps, } from
|
|
8
|
-
export { Link, type LinkProps, type LinkVariantProps, } from
|
|
9
|
-
export { List, ListItem, type ListProps, type ListVariantProps, } from
|
|
10
|
-
export { Menu, MenuItem, MenuTrigger, type MenuProps, } from
|
|
11
|
-
export { Modal, ModalContent, type ModalProps, ModalTrigger, } from
|
|
12
|
-
export { NumberField, type NumberFieldProps, } from
|
|
13
|
-
export { Select, SelectItem, type SelectProps, type ListBoxRenderProps, } from
|
|
14
|
-
export { SidePanel, type SidePanelProps } from
|
|
15
|
-
export { Text, type TextProps, type TextVariantProps, } from
|
|
16
|
-
export { TextArea, type TextAreaProps, type TextAreaVariantProps, } from
|
|
17
|
-
export { TextAreaField, type TextAreaFieldProps, } from
|
|
18
|
-
export { TextField, type TextFieldProps, } from
|
|
19
|
-
export { Theme, type ThemeProps } from
|
|
20
|
-
export { Thumbnail, type ThumbnailProps, type ThumbnailVariantProps, } from
|
|
21
|
-
export { useFocusRing } from
|
|
22
|
-
export { ValidationAlert, type ValidationAlertProps, type ValidationAlertVariantProps, } from
|
|
1
|
+
export { Badge, type BadgeProps, type BadgeVariantProps, } from './components/badge/badge';
|
|
2
|
+
export { Button, type ButtonProps, type ButtonVariantProps, } from './components/button/button';
|
|
3
|
+
export { ButtonGroup, ButtonGroupItem, type ButtonGroupProps, type ButtonGroupItemProps, } from './components/button-group/button-group';
|
|
4
|
+
export { Divider, type DividerProps } from './components/divider/divider';
|
|
5
|
+
export { Icon, type IconProps, type IconVariantProps, } from './components/icon/icon';
|
|
6
|
+
export { Input, type InputProps, type InputVariantProps, } from './components/input/input';
|
|
7
|
+
export { Label, LabelDescription, LabelGroup, type LabelProps, type LabelVariantProps, type LabelDescriptionProps, type LabelGroupProps, } from './components/label/label';
|
|
8
|
+
export { Link, type LinkProps, type LinkVariantProps, } from './components/link/link';
|
|
9
|
+
export { List, ListItem, type ListProps, type ListVariantProps, } from './components/list/list';
|
|
10
|
+
export { Menu, MenuItem, MenuTrigger, type MenuProps, } from './components/menu/menu';
|
|
11
|
+
export { Modal, ModalContent, type ModalProps, ModalTrigger, } from './components/modal/modal';
|
|
12
|
+
export { NumberField, type NumberFieldProps, } from './components/number-field/number-field';
|
|
13
|
+
export { Select, SelectItem, type SelectProps, type ListBoxRenderProps, } from './components/select/select';
|
|
14
|
+
export { SidePanel, type SidePanelProps } from './components/side-panel';
|
|
15
|
+
export { Text, type TextProps, type TextVariantProps, } from './components/text/text';
|
|
16
|
+
export { TextArea, type TextAreaProps, type TextAreaVariantProps, } from './components/text-area/text-area';
|
|
17
|
+
export { TextAreaField, type TextAreaFieldProps, } from './components/text-area-field/text-area-field';
|
|
18
|
+
export { TextField, type TextFieldProps, } from './components/text-field/text-field';
|
|
19
|
+
export { Theme, type ThemeProps } from './components/theme/theme';
|
|
20
|
+
export { Thumbnail, type ThumbnailProps, type ThumbnailVariantProps, } from './components/thumbnail/thumbnail';
|
|
21
|
+
export { useFocusRing } from './hooks/useFocusRing/useFocusRing';
|
|
22
|
+
export { ValidationAlert, type ValidationAlertProps, type ValidationAlertVariantProps, } from './components/validation-alert/validation-alert';
|
|
23
23
|
//# sourceMappingURL=ui-kit-react.d.ts.map
|