cortena-ui 1.0.0-rc.1 → 1.0.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +6 -6
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -895,7 +895,7 @@ declare function AvatarFallback({ className, ...props }: Avatar$1.Fallback.Props
895
895
  * for cortenaweb call sites.
896
896
  */
897
897
  declare const badgeVariants: (props?: ({
898
- variant?: "default" | "success" | "warning" | "warn" | "danger" | "destructive" | "info" | "neutral" | "secondary" | "outline" | null | undefined;
898
+ variant?: "secondary" | "outline" | "destructive" | "default" | "success" | "warn" | "danger" | "info" | "warning" | "neutral" | null | undefined;
899
899
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
900
900
  interface BadgeProps extends React$1.ComponentProps<"span">, VariantProps<typeof badgeVariants> {}
901
901
  declare function Badge({ className, variant, ...props }: BadgeProps): React$1.JSX.Element;
@@ -912,7 +912,7 @@ declare function Badge({ className, variant, ...props }: BadgeProps): React$1.JS
912
912
  * rendered element, which is Base UI's equivalent.
913
913
  */
914
914
  declare const buttonVariants: (props?: ({
915
- variant?: "destructive" | "secondary" | "outline" | "primary" | "ghost" | "soft" | "link" | null | undefined;
915
+ variant?: "primary" | "secondary" | "outline" | "ghost" | "soft" | "destructive" | "link" | null | undefined;
916
916
  size?: "sm" | "md" | "lg" | "icon" | "icon-sm" | null | undefined;
917
917
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
918
918
  interface ButtonProps extends React$1.ComponentProps<typeof Button$1>, VariantProps<typeof buttonVariants> {}
@@ -976,8 +976,8 @@ declare function Checkbox({ className, indeterminate, ...props }: CheckboxProps)
976
976
  * sentence case and the body font.
977
977
  */
978
978
  declare const chipVariants: (props?: ({
979
- variant?: "default" | "outline" | "accent" | null | undefined;
980
- size?: "default" | "sm" | null | undefined;
979
+ variant?: "outline" | "default" | "accent" | null | undefined;
980
+ size?: "sm" | "default" | null | undefined;
981
981
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
982
982
  interface ChipProps extends React$1.ComponentProps<"span">, VariantProps<typeof chipVariants> {}
983
983
  declare function Chip({ className, variant, size, ...props }: ChipProps): React$1.JSX.Element;
@@ -1353,7 +1353,7 @@ declare function ErrorBanner({ message, onDismiss, onRetry, className, ...props
1353
1353
  * list) it renders whenever the list has a message.
1354
1354
  */
1355
1355
  declare const fieldVariants: (props?: ({
1356
- orientation?: "vertical" | "horizontal" | null | undefined;
1356
+ orientation?: "horizontal" | "vertical" | null | undefined;
1357
1357
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1358
1358
  interface FieldProps extends React$1.ComponentProps<typeof Field$1.Root>, VariantProps<typeof fieldVariants> {}
1359
1359
  declare function Field({ className, orientation, invalid, ...props }: FieldProps): React$1.JSX.Element;
@@ -1871,7 +1871,7 @@ declare function Textarea({ className, autoGrow, onChange, ref, ...props }: Text
1871
1871
  * `toastManager` to `Toaster` when you need to fire toasts outside React.
1872
1872
  */
1873
1873
  declare const toastVariants: (props?: ({
1874
- variant?: "default" | "success" | "warning" | "destructive" | null | undefined;
1874
+ variant?: "destructive" | "default" | "success" | "warning" | null | undefined;
1875
1875
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1876
1876
  /** The Base UI toast manager: `{ toasts, add, close, update, promise }`. */
1877
1877
  declare const useToast: typeof Toast$1.useToastManager;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cortena-ui",
3
- "version": "1.0.0-rc.1",
3
+ "version": "1.0.0",
4
4
  "description": "Cortena UI — the shared React component library for cortenaweb and every Cortena extension. shadcn over Base UI, styled entirely from cortena-design tokens.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {