@zonos/amino 6.0.0-alpha.16 → 6.0.0-alpha.18
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/components/input/input-simple/input-type/_DateInput.d.ts +1 -1
- package/components/input/input-simple/input-type/_InputBase.d.ts +1 -1
- package/components/input/input-simple/input-type/_NumberInput.d.ts +1 -1
- package/components/input/input-simple/input-type/_PasswordInput.d.ts +1 -1
- package/components/input/input-simple/input-type/_TimeInput.d.ts +1 -1
- package/components/input/input-type/_DateInput.d.ts +1 -1
- package/components/input/input-type/_FloatLabelInput.d.ts +1 -1
- package/components/input/input-type/_NumberInput.d.ts +1 -1
- package/components/input/input-type/_PasswordInput.d.ts +1 -1
- package/components/input/input-type/_TimeInput.d.ts +1 -1
- package/components/layout/Layout.js +1 -1
- package/components/section/VSection.js +1 -1
- package/components/ui/sheet.d.ts +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/utils/cn.d.ts +2 -6
- package/utils/cn.js +1 -1
|
@@ -17,4 +17,4 @@ export declare const DateInput: import("react").ForwardRefExoticComponent<import
|
|
|
17
17
|
type?: import("react").HTMLInputTypeAttribute;
|
|
18
18
|
value: string | null;
|
|
19
19
|
valuePrefix?: import("react").ReactNode;
|
|
20
|
-
} & Pick<import("../../../help-text/HelpText").HelpTextProps, "error"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "
|
|
20
|
+
} & Pick<import("../../../help-text/HelpText").HelpTextProps, "error"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "prefix" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "inputMode" | "onChange" | "onKeyDown" | "value" | keyof import("../../../../types/BaseProps").BaseProps | "required" | "placeholder" | "readOnly" | "noBorder" | "suffix" | "valuePrefix"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -121,5 +121,5 @@ export declare const InputBase: import("react").ForwardRefExoticComponent<BasePr
|
|
|
121
121
|
value: string | null;
|
|
122
122
|
/** An additional value that appears next to the input but cannot be changed by the input */
|
|
123
123
|
valuePrefix?: ReactNode;
|
|
124
|
-
} & Pick<HelpTextProps, "error"> & Omit<InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "
|
|
124
|
+
} & Pick<HelpTextProps, "error"> & Omit<InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "prefix" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "inputMode" | "onChange" | "onKeyDown" | "value" | keyof BaseProps | "required" | "placeholder" | "readOnly" | "noBorder" | "suffix" | "valuePrefix"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
125
125
|
export {};
|
|
@@ -18,4 +18,4 @@ export declare const NumberInput: import("react").ForwardRefExoticComponent<impo
|
|
|
18
18
|
type?: import("react").HTMLInputTypeAttribute;
|
|
19
19
|
value: string | null;
|
|
20
20
|
valuePrefix?: import("react").ReactNode;
|
|
21
|
-
} & Pick<import("../../../help-text/HelpText").HelpTextProps, "error"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "
|
|
21
|
+
} & Pick<import("../../../help-text/HelpText").HelpTextProps, "error"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "prefix" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "inputMode" | "onChange" | "onKeyDown" | "value" | keyof import("../../../../types/BaseProps").BaseProps | "required" | "placeholder" | "readOnly" | "noBorder" | "suffix" | "valuePrefix"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -17,4 +17,4 @@ export declare const PasswordInput: import("react").ForwardRefExoticComponent<im
|
|
|
17
17
|
type?: import("react").HTMLInputTypeAttribute;
|
|
18
18
|
value: string | null;
|
|
19
19
|
valuePrefix?: import("react").ReactNode;
|
|
20
|
-
} & Pick<import("../../../help-text/HelpText").HelpTextProps, "error"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "
|
|
20
|
+
} & Pick<import("../../../help-text/HelpText").HelpTextProps, "error"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "prefix" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "inputMode" | "onChange" | "onKeyDown" | "value" | keyof import("../../../../types/BaseProps").BaseProps | "required" | "placeholder" | "readOnly" | "noBorder" | "suffix" | "valuePrefix"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -17,4 +17,4 @@ export declare const TimeInput: import("react").ForwardRefExoticComponent<import
|
|
|
17
17
|
type?: import("react").HTMLInputTypeAttribute;
|
|
18
18
|
value: string | null;
|
|
19
19
|
valuePrefix?: import("react").ReactNode;
|
|
20
|
-
} & Pick<import("../../../help-text/HelpText").HelpTextProps, "error"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "
|
|
20
|
+
} & Pick<import("../../../help-text/HelpText").HelpTextProps, "error"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "prefix" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "inputMode" | "onChange" | "onKeyDown" | "value" | keyof import("../../../../types/BaseProps").BaseProps | "required" | "placeholder" | "readOnly" | "noBorder" | "suffix" | "valuePrefix"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -17,4 +17,4 @@ export declare const DateInput: import("react").ForwardRefExoticComponent<import
|
|
|
17
17
|
type?: import("react").HTMLInputTypeAttribute;
|
|
18
18
|
value: string | null;
|
|
19
19
|
valuePrefix?: import("react").ReactNode;
|
|
20
|
-
} & Pick<import("../../help-text/HelpText").HelpTextProps, "error"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "
|
|
20
|
+
} & Pick<import("../../help-text/HelpText").HelpTextProps, "error"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "prefix" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "inputMode" | "onChange" | "onKeyDown" | "value" | keyof import("../../../types/BaseProps").BaseProps | "required" | "placeholder" | "readOnly" | "noBorder" | "suffix" | "valuePrefix"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -123,5 +123,5 @@ export declare const FloatLabelInput: import("react").ForwardRefExoticComponent<
|
|
|
123
123
|
value: string | null;
|
|
124
124
|
/** An additional value that appears next to the input but cannot be changed by the input */
|
|
125
125
|
valuePrefix?: ReactNode;
|
|
126
|
-
} & Pick<HelpTextProps, "error"> & Omit<InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "
|
|
126
|
+
} & Pick<HelpTextProps, "error"> & Omit<InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "prefix" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "inputMode" | "onChange" | "onKeyDown" | "value" | keyof BaseProps | "required" | "placeholder" | "readOnly" | "noBorder" | "suffix" | "valuePrefix"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
127
127
|
export {};
|
|
@@ -18,4 +18,4 @@ export declare const NumberInput: import("react").ForwardRefExoticComponent<impo
|
|
|
18
18
|
type?: import("react").HTMLInputTypeAttribute;
|
|
19
19
|
value: string | null;
|
|
20
20
|
valuePrefix?: import("react").ReactNode;
|
|
21
|
-
} & Pick<import("../../help-text/HelpText").HelpTextProps, "error"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "
|
|
21
|
+
} & Pick<import("../../help-text/HelpText").HelpTextProps, "error"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "prefix" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "inputMode" | "onChange" | "onKeyDown" | "value" | keyof import("../../../types/BaseProps").BaseProps | "required" | "placeholder" | "readOnly" | "noBorder" | "suffix" | "valuePrefix"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -17,4 +17,4 @@ export declare const PasswordInput: import("react").ForwardRefExoticComponent<im
|
|
|
17
17
|
type?: import("react").HTMLInputTypeAttribute;
|
|
18
18
|
value: string | null;
|
|
19
19
|
valuePrefix?: import("react").ReactNode;
|
|
20
|
-
} & Pick<import("../../help-text/HelpText").HelpTextProps, "error"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "
|
|
20
|
+
} & Pick<import("../../help-text/HelpText").HelpTextProps, "error"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "prefix" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "inputMode" | "onChange" | "onKeyDown" | "value" | keyof import("../../../types/BaseProps").BaseProps | "required" | "placeholder" | "readOnly" | "noBorder" | "suffix" | "valuePrefix"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -17,4 +17,4 @@ export declare const TimeInput: import("react").ForwardRefExoticComponent<import
|
|
|
17
17
|
type?: import("react").HTMLInputTypeAttribute;
|
|
18
18
|
value: string | null;
|
|
19
19
|
valuePrefix?: import("react").ReactNode;
|
|
20
|
-
} & Pick<import("../../help-text/HelpText").HelpTextProps, "error"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "
|
|
20
|
+
} & Pick<import("../../help-text/HelpText").HelpTextProps, "error"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "error" | "size" | "prefix" | "disabled" | "label" | "pattern" | "type" | "autoFocus" | "tabIndex" | "inputMode" | "onChange" | "onKeyDown" | "value" | keyof import("../../../types/BaseProps").BaseProps | "required" | "placeholder" | "readOnly" | "noBorder" | "suffix" | "valuePrefix"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../../tslib.es6-cdc5f922.js"),r=require("../../styles/constants/theme.js"),a=require("../../utils/cn.js"),s=require("react/jsx-runtime");require("clsx"),require("tailwind-merge");exports.Layout=function(i){var o=i.className,n=i.content,d=i.footer,l=i.headerContent,t=i.logoSidebar,h=i.noPaddingContent,c=i.sidebar,b=i.style;return s.jsxs("main",{className:a.cn("h-screen overflow-hidden",o),style:e.__assign(e.__assign({},b),{"--amino-layout-height":l?"calc(100vh - ".concat(r.theme.appbarHeight,")"):"100vh"}),children:[!!l&&s.jsx("header",{className:"sticky top-0 z-[var(--amino-appbar-elevation)] flex h-[var(--amino-appbar-height)] box-border border-b border-amino bg-header shadow-[var(--amino-v3-shadow-base)]",children:l}),s.jsxs("div",{className:"grid h-[var(--amino-layout-height)]",style:{gridTemplateColumns:"var(--amino-sidebar-width) 1fr"},children:[s.jsxs("nav",{className:"grid h-full w-[var(--amino-sidebar-width)] box-border grid-rows-[1fr_auto] border-r border-amino-subtle bg-sidebar",children:[s.jsxs("div",{className:"h-full w-full box-border overflow-y-auto p-amino-16",children:[!!t&&s.jsx("div",{className:"mb-amino-24",children:t}),c]}),s.jsx("div",{className:"w-[var(--amino-sidebar-width)] box-border",children:d})]}),s.jsx("div",{className:a.cn("h-full box-border overflow-y-auto
|
|
1
|
+
"use strict";var e=require("../../tslib.es6-cdc5f922.js"),r=require("../../styles/constants/theme.js"),a=require("../../utils/cn.js"),s=require("react/jsx-runtime");require("clsx"),require("tailwind-merge");exports.Layout=function(i){var o=i.className,n=i.content,d=i.footer,l=i.headerContent,t=i.logoSidebar,h=i.noPaddingContent,c=i.sidebar,b=i.style;return s.jsxs("main",{className:a.cn("h-screen overflow-hidden",o),style:e.__assign(e.__assign({},b),{"--amino-layout-height":l?"calc(100vh - ".concat(r.theme.appbarHeight,")"):"100vh"}),children:[!!l&&s.jsx("header",{className:"sticky top-0 z-[var(--amino-appbar-elevation)] flex h-[var(--amino-appbar-height)] box-border border-b border-amino bg-header shadow-[var(--amino-v3-shadow-base)]",children:l}),s.jsxs("div",{className:"grid h-[var(--amino-layout-height)]",style:{gridTemplateColumns:"var(--amino-sidebar-width) 1fr"},children:[s.jsxs("nav",{className:"grid h-full w-[var(--amino-sidebar-width)] box-border grid-rows-[1fr_auto] border-r border-amino-subtle bg-sidebar",children:[s.jsxs("div",{className:"h-full w-full box-border overflow-y-auto p-amino-16",children:[!!t&&s.jsx("div",{className:"mb-amino-24",children:t}),c]}),s.jsx("div",{className:"w-[var(--amino-sidebar-width)] box-border",children:d})]}),s.jsx("div",{className:a.cn("h-full box-border overflow-y-auto",h?"p-0":"p-amino-32"),children:n})]})]})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./_SectionInnerWrapper.js"),r=require("./_SectionSubheader.js"),i=require("../stack/HStack.js"),s=require("../../utils/cn.js"),t=require("./_SectionHeader.js"),n=require("react/jsx-runtime");require("clsx"),require("tailwind-merge"),require("../text/Text.js"),require("../../_rollupPluginBabelHelpers-4522587c.js"),require("../../tslib.es6-cdc5f922.js"),require("../../styles/constants/theme.js"),require("../stack/Stack.js");exports.VSection=function(
|
|
1
|
+
"use strict";var e=require("./_SectionInnerWrapper.js"),r=require("./_SectionSubheader.js"),i=require("../stack/HStack.js"),s=require("../../utils/cn.js"),t=require("./_SectionHeader.js"),n=require("react/jsx-runtime");require("clsx"),require("tailwind-merge"),require("../text/Text.js"),require("../../_rollupPluginBabelHelpers-4522587c.js"),require("../../tslib.es6-cdc5f922.js"),require("../../styles/constants/theme.js"),require("../stack/Stack.js");exports.VSection=function(c){var l=c.actions,a=c.children,u=c.className,d=c.label,j=c.labelType,o=void 0===j?"title":j,q=c.style,p=c.sublabel,x=void 0===p?"":p;return n.jsxs("div",{className:s.cn("mb-10",u),style:q,children:[d&&n.jsxs(e.SectionInnerWrapper,{children:[n.jsxs("div",{children:["string"==typeof d?n.jsx(t.SectionHeader,{type:o,children:d}):d,"string"==typeof x?n.jsx(r.SectionSubheader,{children:x}):x]}),n.jsx(i.HStack,{spacing:8,children:l})]}),a&&n.jsx("div",{children:a})]})};
|
package/components/ui/sheet.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare const SheetClose: React.ForwardRefExoticComponent<SheetPrimitive.DialogC
|
|
|
7
7
|
declare const SheetPortal: React.FC<SheetPrimitive.DialogPortalProps>;
|
|
8
8
|
declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
declare const SheetContent: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
10
|
-
side?: "
|
|
10
|
+
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
declare const SheetHeader: {
|
|
13
13
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|