@saasbase-io/core-elements 1.3.1 → 1.5.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 (34) hide show
  1. package/dist/components/renderers/_updated/form/_form-separator.d.ts +42 -0
  2. package/dist/components/renderers/_updated/form/_form-switch.d.ts +78 -0
  3. package/dist/components/renderers/_updated/form/form.stories/form-separator.stories.d.ts +6 -0
  4. package/dist/components/renderers/_updated/form/form.stories/form-switch.stories.d.ts +10 -0
  5. package/dist/components/renderers/_updated/form/form.types.d.ts +20 -0
  6. package/dist/components/renderers/_updated/form/index.d.ts +9 -0
  7. package/dist/components/renderers/_updated/index.d.ts +4 -0
  8. package/dist/components/renderers/_updated/passkey-button/_passkey-button.d.ts +112 -0
  9. package/dist/components/renderers/_updated/passkey-button/index.d.ts +7 -0
  10. package/dist/components/renderers/_updated/passkey-button/passkey-button.stories.d.ts +11 -0
  11. package/dist/components/renderers/_updated/passkey-button/passkey-button.types.d.ts +15 -0
  12. package/dist/components/renderers/_updated/provider/_provider-button.d.ts +139 -0
  13. package/dist/components/renderers/_updated/provider/index.d.ts +7 -0
  14. package/dist/components/renderers/_updated/provider/provider.defs.d.ts +3 -0
  15. package/dist/components/renderers/_updated/provider/provider.stories/provider-button.stories.d.ts +14 -0
  16. package/dist/components/renderers/_updated/provider/provider.types.d.ts +20 -0
  17. package/dist/components/renderers/_updated/watermark/_watermark.d.ts +66 -0
  18. package/dist/components/renderers/_updated/watermark/index.d.ts +7 -0
  19. package/dist/components/renderers/_updated/watermark/watermark.stories.d.ts +9 -0
  20. package/dist/components/renderers/_updated/watermark/watermark.types.d.ts +12 -0
  21. package/dist/components/ui/index.d.ts +0 -1
  22. package/dist/constants/classes.d.ts +0 -1
  23. package/dist/index.js +674 -589
  24. package/dist/index.js.map +1 -1
  25. package/dist/index.mjs +3807 -3249
  26. package/dist/index.mjs.map +1 -1
  27. package/dist/styles.css +3 -0
  28. package/dist/types/auth.d.ts +1 -0
  29. package/dist/types/components/index.d.ts +2 -0
  30. package/dist/types/components/rtg.d.ts +6 -0
  31. package/dist/types/components/sb.d.ts +1 -0
  32. package/dist/types/index.d.ts +4 -3
  33. package/package.json +2 -1
  34. package/dist/components/ui/watermark/index.d.ts +0 -9
@@ -0,0 +1,42 @@
1
+ import { LitElement } from '../../../../../node_modules/lit';
2
+ import { SbFormSeparatorProps } from './form.types';
3
+ /**
4
+ * Visual divider to separate sections inside a form. Accepts optional inline
5
+ * text content.
6
+ * @element sb-form-separator
7
+ *
8
+ * @slot form-separator (rtg-field-separator)
9
+ */
10
+ export declare class SbFormSeparator extends LitElement implements SbFormSeparatorProps {
11
+ private static readonly _ROOT;
12
+ /**
13
+ * The stable CSS part names exposed for external targeting.
14
+ */
15
+ static get parts(): {
16
+ root: string;
17
+ };
18
+ /**
19
+ * A unique value used as a substring in the generated part/child IDs, when
20
+ * the `child-id` prop is not provided.
21
+ */
22
+ seed: string;
23
+ /**
24
+ * The `id` value given to the root child/part and used as the base of other
25
+ * child/part IDs.
26
+ */
27
+ childId?: string;
28
+ /**
29
+ * The optional text used as the separator inline content.
30
+ */
31
+ content?: string;
32
+ /**
33
+ * Overrides default behavior to render into light DOM.
34
+ */
35
+ protected createRenderRoot(): this;
36
+ /**
37
+ * The `id` of the root element. Equal to `childId` when provided, otherwise
38
+ * derived from the component's part name and `seed`.
39
+ */
40
+ get rootId(): string;
41
+ render(): import('../../../../../node_modules/lit-html').TemplateResult<1>;
42
+ }
@@ -0,0 +1,78 @@
1
+ import { LitElement } from '../../../../../node_modules/lit';
2
+ import { FormSwitchButtonSize, FormSwitchButtonVariant, FormSwitchVariant, SbFormSwitchProps } from './form.types';
3
+ /**
4
+ * Clickable element for switching between auth widgets.
5
+ * @element sb-form-switch
6
+ *
7
+ * @slot form-switch (rtg-field-description/rtg-button)
8
+ * @slot form-switch-link (a): 'clickable' part when variant is `"default"`
9
+ */
10
+ export declare class SbFormSwitch extends LitElement implements SbFormSwitchProps {
11
+ private static readonly _ROOT;
12
+ private static readonly _LINK;
13
+ /**
14
+ * The stable CSS part names exposed for external targeting.
15
+ */
16
+ static get parts(): {
17
+ root: string;
18
+ link: string;
19
+ };
20
+ /**
21
+ * A unique value used as a substring in the generated part/child IDs, when
22
+ * the `child-id` prop is not provided.
23
+ */
24
+ seed: string;
25
+ /**
26
+ * The `id` value given to the root child/part and used as the base of other
27
+ * child/part IDs.
28
+ */
29
+ childId?: string;
30
+ /**
31
+ * The variant of the form switch, determining whether a text-based link or
32
+ * button element is rendered.
33
+ */
34
+ variant: FormSwitchVariant;
35
+ /**
36
+ * The text used as the form switch link/button label.
37
+ */
38
+ label: string;
39
+ /**
40
+ * Optional text which precedes the switch link in a `"default"` form switch.
41
+ */
42
+ prompt?: string;
43
+ /**
44
+ * When provided, the switch element reflects a disabled state.
45
+ */
46
+ disabled?: boolean;
47
+ /**
48
+ * The visual variant of the form switch button.
49
+ */
50
+ buttonVariant: FormSwitchButtonVariant;
51
+ /**
52
+ * The size of the form switch button.
53
+ */
54
+ buttonSize: FormSwitchButtonSize;
55
+ /**
56
+ * The event identifier/name as defined in `auth-svc`.
57
+ */
58
+ event?: string;
59
+ /**
60
+ * Overrides default behavior to render into light DOM.
61
+ */
62
+ protected createRenderRoot(): this;
63
+ /**
64
+ * The `id` of the root element. Equal to `childId` when provided, otherwise
65
+ * derived from the component's part name and `seed`.
66
+ */
67
+ get rootId(): string;
68
+ /**
69
+ * The `id` of the link anchor element. Always derived from `rootId` with the
70
+ * link part segment appended.
71
+ */
72
+ get linkId(): string;
73
+ /**
74
+ * Returns the link template for a `"default"` form switch.
75
+ */
76
+ private _renderLink;
77
+ render(): import('../../../../../node_modules/lit-html').TemplateResult<1>;
78
+ }
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/web-components-vite';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ type Story = StoryObj;
5
+ export declare const Basic: Story;
6
+ export declare const Content: Story;
@@ -0,0 +1,10 @@
1
+ import { Meta, StoryObj } from '@storybook/web-components-vite';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ type Story = StoryObj;
5
+ export declare const Basic: Story;
6
+ export declare const Variant: Story;
7
+ export declare const Label: Story;
8
+ export declare const Prompt: Story;
9
+ export declare const Disabled: Story;
10
+ export declare const Button: Story;
@@ -0,0 +1,20 @@
1
+ import { RtgButtonBasicSize, RtgButtonBasicVariant } from '../../../../types';
2
+ export type SbFormSeparatorProps = {
3
+ seed: string;
4
+ childId?: string;
5
+ content?: string;
6
+ };
7
+ export type FormSwitchVariant = "default" | "button";
8
+ export type FormSwitchButtonVariant = RtgButtonBasicVariant;
9
+ export type FormSwitchButtonSize = RtgButtonBasicSize;
10
+ export type SbFormSwitchProps = {
11
+ seed: string;
12
+ childId?: string;
13
+ variant: FormSwitchVariant;
14
+ label: string;
15
+ prompt?: string;
16
+ disabled?: boolean;
17
+ buttonVariant: FormSwitchButtonVariant;
18
+ buttonSize: FormSwitchButtonSize;
19
+ event?: string;
20
+ };
@@ -0,0 +1,9 @@
1
+ import { SbFormSeparator } from './_form-separator';
2
+ import { SbFormSwitch } from './_form-switch';
3
+ export { SbFormSeparator, SbFormSwitch };
4
+ declare global {
5
+ interface HTMLElementTagNameMap {
6
+ "sb-form-separator": SbFormSeparator;
7
+ "sb-form-switch": SbFormSwitch;
8
+ }
9
+ }
@@ -1,3 +1,6 @@
1
+ export * from './form';
2
+ export * from './passkey-button';
3
+ export * from './provider';
1
4
  export * from './sb-error';
2
5
  export * from './sb-gap';
3
6
  export * from './sb-header';
@@ -6,3 +9,4 @@ export * from './sb-otp';
6
9
  export * from './sb-subtitle';
7
10
  export * from './sb-container';
8
11
  export * from './sb-title';
12
+ export * from './watermark';
@@ -0,0 +1,112 @@
1
+ import { LitElement } from '../../../../../node_modules/lit';
2
+ import { PasskeyButtonProps, PasskeyButtonSize, PasskeyButtonSpinnerAlign, PasskeyButtonVariant } from './passkey-button.types';
3
+ /**
4
+ * A button for passkey authentication.
5
+ * @element sb-passkey-button
6
+ *
7
+ * @part passkey-button (rtg-button)
8
+ * @part passkey-button-spinner (rtg-spinner): loading indicator
9
+ *
10
+ * @fires sb-passkey-button:click { id, event }
11
+ */
12
+ export declare class SbPasskeyButton extends LitElement implements PasskeyButtonProps {
13
+ private static readonly _ROOT;
14
+ private static readonly _SPINNER;
15
+ /**
16
+ * The stable CSS part names exposed for external targeting.
17
+ */
18
+ static get parts(): {
19
+ root: string;
20
+ spinner: string;
21
+ };
22
+ /**
23
+ * The name of the custom event fired on click.
24
+ */
25
+ static get clickEventName(): string;
26
+ /**
27
+ * A unique value used as a substring in the generated part/child IDs, when
28
+ * the `child-id` prop is not provided.
29
+ */
30
+ seed: string;
31
+ /**
32
+ * The `id` value given to the root child/part and used as the base of other
33
+ * child/part IDs.
34
+ */
35
+ childId?: string;
36
+ /**
37
+ * The visual variant of the button.
38
+ */
39
+ variant: PasskeyButtonVariant;
40
+ /**
41
+ * The size of the button.
42
+ */
43
+ size: PasskeyButtonSize;
44
+ /**
45
+ * The text used as the button label.
46
+ */
47
+ label: string;
48
+ /**
49
+ * Whether the loading spinner should be rendered before or after the label.
50
+ */
51
+ spinnerAlign: PasskeyButtonSpinnerAlign;
52
+ /**
53
+ * When provided, the button reflects a disabled state.
54
+ */
55
+ disabled?: boolean;
56
+ /**
57
+ * When provided, a loading state is applied.
58
+ */
59
+ loading?: boolean;
60
+ /**
61
+ * The event identifier/name as defined in auth service.
62
+ */
63
+ event?: string;
64
+ /**
65
+ * Whether the button is in a loading state.
66
+ */
67
+ private _loading;
68
+ /**
69
+ * Overrides default behavior to render into light DOM.
70
+ */
71
+ protected createRenderRoot(): this;
72
+ /**
73
+ * The `id` of the root element. Equal to `childId` when provided, otherwise
74
+ * derived from the component's part name and `seed`.
75
+ */
76
+ get rootId(): string;
77
+ /**
78
+ * The `id` of the spinner element, derived from `rootId` with the spinner
79
+ * part name appended.
80
+ */
81
+ get spinnerId(): string;
82
+ /**
83
+ * The loading state, derived from the private `_loading` and `loading` prop.
84
+ */
85
+ get isLoading(): boolean | undefined;
86
+ /**
87
+ * Adds the click event listener.
88
+ */
89
+ connectedCallback(): void;
90
+ /**
91
+ * Removes the click event listener.
92
+ */
93
+ disconnectedCallback(): void;
94
+ /**
95
+ * Defines and dispatches the click event.
96
+ */
97
+ private _dispatchClick;
98
+ /**
99
+ * Emits the provided `event` to the auth service to process.
100
+ */
101
+ private _emitClickEvent;
102
+ /**
103
+ * Handles the click event, preventing execution when disabled/loading, firing
104
+ * the click event, and emitting to auth service.
105
+ */
106
+ private _handleClick;
107
+ /**
108
+ * Returns the loading spinner template.
109
+ */
110
+ private _renderSpinner;
111
+ render(): import('../../../../../node_modules/lit-html').TemplateResult<1>;
112
+ }
@@ -0,0 +1,7 @@
1
+ import { SbPasskeyButton } from './_passkey-button';
2
+ export { SbPasskeyButton };
3
+ declare global {
4
+ interface HTMLElementTagNameMap {
5
+ "sb-passkey-button": SbPasskeyButton;
6
+ }
7
+ }
@@ -0,0 +1,11 @@
1
+ import { Meta, StoryObj } from '@storybook/web-components-vite';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ type Story = StoryObj;
5
+ export declare const Basic: Story;
6
+ export declare const Variant: Story;
7
+ export declare const Size: Story;
8
+ export declare const Label: Story;
9
+ export declare const Disabled: Story;
10
+ export declare const Loading: Story;
11
+ export declare const SpinnerAlign: Story;
@@ -0,0 +1,15 @@
1
+ import { IconAlign, RtgButtonBasicSize, RtgButtonBasicVariant } from '../../../../types';
2
+ export type PasskeyButtonVariant = RtgButtonBasicVariant;
3
+ export type PasskeyButtonSize = RtgButtonBasicSize;
4
+ export type PasskeyButtonSpinnerAlign = IconAlign;
5
+ export type PasskeyButtonProps = {
6
+ seed: string;
7
+ childId?: string;
8
+ variant: PasskeyButtonVariant;
9
+ size: PasskeyButtonSize;
10
+ label: string;
11
+ spinnerAlign: PasskeyButtonSpinnerAlign;
12
+ disabled?: boolean;
13
+ loading?: boolean;
14
+ event?: string;
15
+ };
@@ -0,0 +1,139 @@
1
+ import { LitElement } from '../../../../../node_modules/lit';
2
+ import { Provider, ProviderButtonContent, ProviderButtonIconAlign, ProviderButtonProps, ProviderButtonSize, ProviderButtonVariant } from './provider.types';
3
+ /**
4
+ * A button for auth provider authentication.
5
+ * @element sb-provider-button
6
+ *
7
+ * @part provider-button (rtg-button)
8
+ * @part provider-button-icon (svg/rtg-spinner): logo icon or loading indicator
9
+ *
10
+ * @fires sb-provider-button:click { id, provider, event }
11
+ */
12
+ export declare class SbProviderButton extends LitElement implements ProviderButtonProps {
13
+ private static readonly _ROOT;
14
+ private static readonly _ICON;
15
+ /**
16
+ * The stable CSS part names exposed for external targeting.
17
+ */
18
+ static get parts(): {
19
+ root: string;
20
+ icon: string;
21
+ };
22
+ /**
23
+ * The name of the custom event fired on click.
24
+ */
25
+ static get clickEventName(): string;
26
+ /**
27
+ * A unique value used as a substring in the generated part/child IDs, when
28
+ * the `child-id` prop is not provided.
29
+ */
30
+ seed: string;
31
+ /**
32
+ * The `id` value given to the root child/part and used as the base of other
33
+ * child/part IDs.
34
+ */
35
+ childId?: string;
36
+ /**
37
+ * The auth provider associated to this button.
38
+ */
39
+ provider: Provider;
40
+ /**
41
+ * Whether the button content is an icon, label, or both.
42
+ */
43
+ content: ProviderButtonContent;
44
+ /**
45
+ * The visual variant of the button.
46
+ */
47
+ variant: ProviderButtonVariant;
48
+ /**
49
+ * The size of the button.
50
+ */
51
+ size: ProviderButtonSize;
52
+ /**
53
+ * The text of the button label, preceding the provider name.
54
+ */
55
+ prompt: string;
56
+ /**
57
+ * Whether the icon is rendered before or after (`"start"` or `"end"`) the
58
+ * button label.
59
+ */
60
+ iconAlign: ProviderButtonIconAlign;
61
+ /**
62
+ * The text of the entire button label, overriding the default `prompt` and
63
+ * provider name label template.
64
+ */
65
+ label?: string;
66
+ /**
67
+ * When provided, the button reflects a disabled state.
68
+ */
69
+ disabled?: boolean;
70
+ /**
71
+ * When provided, a loading state is applied.
72
+ */
73
+ loading?: boolean;
74
+ /**
75
+ * The event identifier/name as defined in auth service.
76
+ */
77
+ event?: string;
78
+ /**
79
+ * Whether the button is in a loading state.
80
+ */
81
+ private _loading;
82
+ /**
83
+ * Overrides default behavior to render into light DOM.
84
+ */
85
+ protected createRenderRoot(): this;
86
+ /**
87
+ * The `id` of the root element. Equal to `childId` when provided, otherwise
88
+ * derived from the component's part name, `seed`, and `provider`.
89
+ */
90
+ get rootId(): string;
91
+ /**
92
+ * The `id` of the icon (logo and spinner) element, derived from `rootId` with
93
+ * the icon part name appended.
94
+ */
95
+ get iconId(): string;
96
+ /**
97
+ * The `class` given to the icon part handling button alignment.
98
+ */
99
+ private get iconCn();
100
+ /**
101
+ * The loading state, derived from the private `_loading` and `loading` prop.
102
+ */
103
+ get isLoading(): boolean | undefined;
104
+ /**
105
+ * Adds the click event listener.
106
+ */
107
+ connectedCallback(): void;
108
+ /**
109
+ * Removes the click event listener.
110
+ */
111
+ disconnectedCallback(): void;
112
+ /**
113
+ * Defines and dispatches the click event.
114
+ */
115
+ private _dispatchClick;
116
+ /**
117
+ * Emits the provided `event` to the auth service to process.
118
+ */
119
+ private _emitClickEvent;
120
+ /**
121
+ * Handles the click event, preventing execution when disabled/loading, firing
122
+ * the click event, and emitting to auth service.
123
+ */
124
+ private _handleClick;
125
+ /**
126
+ * Returns the provider logo icon template.
127
+ */
128
+ private _renderLogo;
129
+ /**
130
+ * Returns the loading spinner icon template.
131
+ */
132
+ private _renderSpinner;
133
+ /**
134
+ * Returns the spinner template if loading, and the logo template if the
135
+ * `content` prop requires the icon part.
136
+ */
137
+ private _renderIcon;
138
+ render(): import('../../../../../node_modules/lit-html').TemplateResult<1>;
139
+ }
@@ -0,0 +1,7 @@
1
+ import { SbProviderButton } from './_provider-button';
2
+ export { SbProviderButton };
3
+ declare global {
4
+ interface HTMLElementTagNameMap {
5
+ "sb-provider-button": SbProviderButton;
6
+ }
7
+ }
@@ -0,0 +1,3 @@
1
+ import { Provider } from './provider.types';
2
+ export declare const PROVIDER_NAMES: Record<Provider, string>;
3
+ export declare const PROVIDER_ICON_PATHS: Record<Provider, string>;
@@ -0,0 +1,14 @@
1
+ import { Meta, StoryObj } from '@storybook/web-components-vite';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ type Story = StoryObj;
5
+ export declare const Basic: Story;
6
+ export declare const Provider: Story;
7
+ export declare const Content: Story;
8
+ export declare const Variant: Story;
9
+ export declare const Size: Story;
10
+ export declare const Prompt: Story;
11
+ export declare const IconAlign: Story;
12
+ export declare const Label: Story;
13
+ export declare const Disabled: Story;
14
+ export declare const Loading: Story;
@@ -0,0 +1,20 @@
1
+ import { IconAlign, RtgButtonBasicSize, RtgButtonBasicVariant, SbAuthProvider } from '../../../../types';
2
+ export type Provider = SbAuthProvider;
3
+ export type ProviderButtonContent = "icon" | "icon-label" | "label";
4
+ export type ProviderButtonVariant = RtgButtonBasicVariant;
5
+ export type ProviderButtonSize = RtgButtonBasicSize;
6
+ export type ProviderButtonIconAlign = IconAlign;
7
+ export type ProviderButtonProps = {
8
+ seed: string;
9
+ childId?: string;
10
+ provider: Provider;
11
+ content: ProviderButtonContent;
12
+ variant: ProviderButtonVariant;
13
+ size: ProviderButtonSize;
14
+ prompt: string;
15
+ iconAlign: ProviderButtonIconAlign;
16
+ label?: string;
17
+ disabled?: boolean;
18
+ loading?: boolean;
19
+ event?: string;
20
+ };
@@ -0,0 +1,66 @@
1
+ import { LitElement } from '../../../../../node_modules/lit';
2
+ import { SbWatermarkProps, WatermarkBadge, WatermarkLogoAlign, WatermarkVariant } from './watermark.types';
3
+ /**
4
+ * Saasbase watermark badge used in widgets.
5
+ * @element sb-watermark
6
+ *
7
+ * @slot watermark (rtg-badge)
8
+ * @slot watermark-logo (svg): Saasbase logo
9
+ */
10
+ export declare class SbWatermark extends LitElement implements SbWatermarkProps {
11
+ private static readonly _ROOT;
12
+ private static readonly _LOGO;
13
+ /**
14
+ * The stable CSS part names exposed for external targeting.
15
+ */
16
+ static get parts(): {
17
+ root: string;
18
+ logo: string;
19
+ };
20
+ /**
21
+ * A unique value used as a substring in the generated part/child IDs, when
22
+ * the `child-id` prop is not provided.
23
+ */
24
+ seed: string;
25
+ /**
26
+ * The `id` value given to the root child/part and used as the base of other
27
+ * child/part IDs.
28
+ */
29
+ childId?: string;
30
+ /**
31
+ * The text used as the badge label.
32
+ */
33
+ label: string;
34
+ /**
35
+ * The visual variant of the watermark, determining font and logo styles.
36
+ */
37
+ variant: WatermarkVariant;
38
+ /**
39
+ * The variant of the root child/part badge element.
40
+ */
41
+ badge: WatermarkBadge;
42
+ /**
43
+ * Whether the Saasbase logo is rendered at the `"start"` or `"end"` of the
44
+ * watermark (before or after the label text).
45
+ */
46
+ logoAlign: WatermarkLogoAlign;
47
+ /**
48
+ * Overrides default behavior to render into light DOM.
49
+ */
50
+ protected createRenderRoot(): this;
51
+ /**
52
+ * The `id` of the root badge element. Equal to `childId` when provided,
53
+ * otherwise derived from the component's part name and `seed`.
54
+ */
55
+ get rootId(): string;
56
+ /**
57
+ * The `id` of the logo SVG element. Always derived from `rootId` with the
58
+ * logo part segment appended.
59
+ */
60
+ get logoId(): string;
61
+ /**
62
+ * Returns the Saasbase logo template.
63
+ */
64
+ private _renderLogo;
65
+ render(): import('../../../../../node_modules/lit-html').TemplateResult<1>;
66
+ }
@@ -0,0 +1,7 @@
1
+ import { SbWatermark } from './_watermark';
2
+ export { SbWatermark };
3
+ declare global {
4
+ interface HTMLElementTagNameMap {
5
+ "sb-watermark": SbWatermark;
6
+ }
7
+ }
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/web-components-vite';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ type Story = StoryObj;
5
+ export declare const Basic: Story;
6
+ export declare const Label: Story;
7
+ export declare const Variant: Story;
8
+ export declare const Badge: Story;
9
+ export declare const LogoAlign: Story;
@@ -0,0 +1,12 @@
1
+ import { IconAlign, RtgBadgeBasicVariant } from '../../../../types';
2
+ export type WatermarkVariant = "brand" | "theme" | "muted";
3
+ export type WatermarkBadge = RtgBadgeBasicVariant;
4
+ export type WatermarkLogoAlign = IconAlign;
5
+ export type SbWatermarkProps = {
6
+ seed: string;
7
+ childId?: string;
8
+ label: string;
9
+ variant: WatermarkVariant;
10
+ badge: WatermarkBadge;
11
+ logoAlign: WatermarkLogoAlign;
12
+ };
@@ -1,4 +1,3 @@
1
1
  export * from './hint';
2
2
  export * from './linear-loader';
3
3
  export * from './spinner';
4
- export * from './watermark';
@@ -1,4 +1,3 @@
1
- export declare const watermarkDefaultClass = "";
2
1
  export declare const linearLoaderClass = "sb-relative sb-overflow-hidden sb-w-1/3 sb-h-2 sb-linear-bar";
3
2
  export declare const dashboardWidthClass = "sb-min-w-[375px] sb-max-w-[609px] sb-w-[calc(100%-30px)] sm:sb-max-w-[735px] md:sb-w-[calc(100%-32px)] md:sb-max-w-[800px] lg:sb-min-w-[800px]";
4
3
  export declare const modalWidthClass = "sb-h-[100%] sb-min-w-[375px] sb-max-w-[609px] sb-w-[calc(100vw-30px)] sm:sb-max-w-[735px] md:sb-w-[calc(100vw-32px)] md:sb-max-w-[800px] lg:sb-min-w-[800px]";