@saasbase-io/core-elements 1.12.0 → 1.14.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.
@@ -1 +1,2 @@
1
1
  export type SbAuthProvider = "apple" | "discord" | "facebook" | "github" | "google" | "linkedin" | "meta" | "microsoft" | "x";
2
+ export type SbAuthIdentifier = "email" | "phone" | "username";
@@ -1,6 +1,7 @@
1
1
  import { BadgeVariant } from 'node_modules/@revotech-group/revotech-ui-kit/dist/src/components/ui/badge/badge.defs';
2
2
  import { ButtonSize, ButtonVariant } from 'node_modules/@revotech-group/revotech-ui-kit/dist/src/components/ui/button/button.defs';
3
+ import { InputAutocomplete } from 'node_modules/@revotech-group/revotech-ui-kit/dist/src/components/ui/input/input.defs';
3
4
  export type RtgBadgeBasicVariant = Extract<BadgeVariant, "default" | "secondary" | "outline" | "ghost">;
4
5
  export type RtgButtonBasicVariant = Extract<ButtonVariant, "default" | "secondary" | "outline" | "ghost">;
5
6
  export type RtgButtonBasicSize = Extract<ButtonSize, "default" | "xs" | "sm" | "lg">;
6
- export type { BadgeVariant as RtgBadgeVariant, ButtonSize as RtgButtonSize, ButtonVariant as RtgButtonVariant, };
7
+ export type { BadgeVariant as RtgBadgeVariant, ButtonSize as RtgButtonSize, ButtonVariant as RtgButtonVariant, InputAutocomplete as RtgInputAutocomplete, };
@@ -6,5 +6,3 @@ export declare function applyCustomizations(defaultClass: string, defaultStyle?:
6
6
  style: Style;
7
7
  };
8
8
  export declare const genRandSeed: () => string;
9
- export declare const genSlotId: (seed: string, slot: string, variant?: string) => string;
10
- export declare function generateElemId(el: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasbase-io/core-elements",
3
- "version": "1.12.0",
3
+ "version": "1.14.0",
4
4
  "license": "MIT",
5
5
  "description": "A collection saas based related components",
6
6
  "main": "dist/index.js",
@@ -1,41 +0,0 @@
1
- import { LitElement } from '../../../../../node_modules/lit';
2
- import { SaasBaseLayout } from '../../..';
3
- import { ErrorContent, ErrorIcon, ErrorProps as Props } from './error.types';
4
- /**
5
- * Destructive alert used for displaying auth errors.
6
- * @element sb-error
7
- *
8
- * @slot error (rtg-alert)
9
- * @slot error-icon (svg)
10
- * @slot error-title (rtg-alert-title)
11
- * @slot error-description (rtg-alert-description)
12
- */
13
- export declare class SbError extends LitElement implements Props {
14
- component?: SaasBaseLayout;
15
- /**
16
- * The base input ('seed') used to derive all child IDs.
17
- */
18
- seed: string;
19
- /**
20
- * If provided, the Lucide icon rendered in the error alert.
21
- */
22
- icon?: ErrorIcon;
23
- /**
24
- * The text content (title and/or description) of the error alert.
25
- */
26
- content: ErrorContent;
27
- /**
28
- * When provided, the alert variant is `"destructive-tonal"`, instead of
29
- * `"destructive"`.
30
- */
31
- tonal?: boolean;
32
- /**
33
- * Overrides the default behaviour to render into the light DOM.
34
- */
35
- protected createRenderRoot(): this;
36
- /**
37
- * Returns the root slot's customization class and style, using component.
38
- */
39
- private _rootCustomizations;
40
- render(): import('../../../../../node_modules/lit-html').TemplateResult<1>;
41
- }
@@ -1,9 +0,0 @@
1
- import { TemplateResult } from '../../../../../node_modules/lit';
2
- import { ErrorIcon } from './error.types';
3
- export declare const ERROR_SLOTS: {
4
- root: string;
5
- icon: string;
6
- title: string;
7
- description: string;
8
- };
9
- export declare const ERROR_ICONS: Record<ErrorIcon, (id: string) => TemplateResult<1>>;
@@ -1 +0,0 @@
1
- export { SbError } from './_error';