@openlv/modal 0.1.1 → 0.1.3

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.
@@ -2,7 +2,7 @@ import { ThemeConfig, ThemeMode, UserThemePreference } from './types.js';
2
2
  export type { PredefinedThemeName, ThemeConfig, ThemeMode, ThemeTokensMap, UserThemePreference, } from './types.js';
3
3
  type Primitive = string | number | boolean | null | undefined;
4
4
  type Leaf = Primitive;
5
- type FlatCssVars = Record<`--${string}`, Leaf>;
6
- export declare const flattenToCssVars: <T extends Record<string, unknown>>(obj: T, prefix?: readonly string[], out?: FlatCssVars) => FlatCssVars;
5
+ type FlatCssVariables = Record<`--${string}`, Leaf>;
6
+ export declare const flattenToCssVars: <T extends Record<string, unknown>>(object: T, prefix?: readonly string[], out?: FlatCssVariables) => FlatCssVariables;
7
7
  export declare const resolveMode: (appThemeMode?: ThemeMode, userTheme?: UserThemePreference) => "light" | "dark";
8
8
  export declare const buildTheme: (config: ThemeConfig, userTheme?: UserThemePreference) => Promise<string>;
@@ -61,5 +61,5 @@ export type ButtonProps = {
61
61
  } & ButtonLinkProps) | ({
62
62
  href?: undefined;
63
63
  } & ButtonButtonProps));
64
- export declare const Button: (rawProps: ButtonProps) => JSX.Element;
64
+ export declare const Button: (rawProperties: ButtonProps) => JSX.Element;
65
65
  export {};
@@ -74,5 +74,5 @@ declare const styles: import('tailwind-variants/lite').TVReturnType<{
74
74
  icon: string;
75
75
  }, undefined, unknown, unknown, undefined>>;
76
76
  export type InfoTooltipProps = VariantProps<typeof styles>;
77
- export declare const InfoTooltip: (rawProps: ParentProps<InfoTooltipProps>) => import("solid-js").JSX.Element;
77
+ export declare const InfoTooltip: (rawProperties: ParentProps<InfoTooltipProps>) => import("solid-js").JSX.Element;
78
78
  export {};
@@ -1,9 +1,9 @@
1
- type LabelProps = {
1
+ type LabelProperties = {
2
2
  htmlFor?: string;
3
3
  children: string;
4
4
  };
5
- export declare const Label: (props: LabelProps) => import("solid-js").JSX.Element;
6
- type InputProps = {
5
+ export declare const Label: (properties: LabelProperties) => import("solid-js").JSX.Element;
6
+ type InputProperties = {
7
7
  id?: string;
8
8
  value: string;
9
9
  placeholder?: string;
@@ -11,12 +11,12 @@ type InputProps = {
11
11
  readOnly?: boolean;
12
12
  onChange?: (value: string) => void;
13
13
  };
14
- export declare const Input: (props: InputProps) => import("solid-js").JSX.Element;
15
- type InputGroupProps = {
14
+ export declare const Input: (properties: InputProperties) => import("solid-js").JSX.Element;
15
+ type InputGroupProperties = {
16
16
  label: string;
17
17
  values: readonly string[];
18
18
  placeholder?: string;
19
19
  inputIdPrefix?: string;
20
20
  };
21
- export declare const InputGroup: (props: InputGroupProps) => import("solid-js").JSX.Element;
21
+ export declare const InputGroup: (properties: InputGroupProperties) => import("solid-js").JSX.Element;
22
22
  export {};
@@ -4,4 +4,4 @@ export type SelectProps = {
4
4
  onChange: (value: string) => void;
5
5
  dropdownThreshold?: number;
6
6
  };
7
- export declare const Select: (props: SelectProps) => import("solid-js").JSX.Element;
7
+ export declare const Select: (properties: SelectProps) => import("solid-js").JSX.Element;
@@ -4,4 +4,4 @@ export type ToggleProps = {
4
4
  value: boolean;
5
5
  onChange: (value: boolean) => void;
6
6
  };
7
- export declare const Toggle: (props: ToggleProps) => JSX.Element;
7
+ export declare const Toggle: (properties: ToggleProps) => JSX.Element;
@@ -6,4 +6,4 @@ export type TransitionContainerProps<T> = {
6
6
  render: (value: T) => JSX.Element;
7
7
  class?: string;
8
8
  };
9
- export declare const TransitionContainer: <T = unknown>(props: TransitionContainerProps<T>) => JSX.Element;
9
+ export declare const TransitionContainer: <T = unknown>(properties: TransitionContainerProps<T>) => JSX.Element;
@@ -3,4 +3,4 @@ export type MenuGroupProps = ParentProps<{
3
3
  title: JSX.Element;
4
4
  right?: JSX.Element;
5
5
  }>;
6
- export declare const MenuGroup: (props: MenuGroupProps) => JSX.Element;
6
+ export declare const MenuGroup: (properties: MenuGroupProps) => JSX.Element;
@@ -2,4 +2,4 @@ import { JSX, ParentProps } from 'solid-js';
2
2
  export type MenuItemProps = ParentProps<{
3
3
  label: JSX.Element;
4
4
  }>;
5
- export declare const MenuItem: (props: MenuItemProps) => JSX.Element;
5
+ export declare const MenuItem: (properties: MenuItemProps) => JSX.Element;
@@ -4,4 +4,4 @@ export type MenuLinkProps = {
4
4
  value?: JSX.Element;
5
5
  onClick: () => void;
6
6
  };
7
- export declare const MenuLink: (props: MenuLinkProps) => JSX.Element;
7
+ export declare const MenuLink: (properties: MenuLinkProps) => JSX.Element;
@@ -10,7 +10,7 @@ export declare const LANGUAGES: LanguageInfo[];
10
10
  export declare const isRtlLanguage: (tag: LanguageTag) => boolean;
11
11
  export declare const detectBrowserLanguage: () => LanguageTag;
12
12
  export declare const getLanguageScore: (tag: string) => number;
13
- export type Translate = (key: string, params?: Readonly<Record<string, string | number>>) => string | JSX.Element;
13
+ export type Translate = (key: string, parameters?: Readonly<Record<string, string | number>>) => string | JSX.Element;
14
14
  export type Translations = Record<string, unknown>;
15
15
  export declare const resolveTranslation: (parameters: {
16
16
  primary: Translations | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openlv/modal",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "SolidJS-based modal custom element for Open Lavatory",
5
5
  "keywords": [
6
6
  "open-lavatory",
@@ -8,19 +8,19 @@
8
8
  "solid-js",
9
9
  "web-component"
10
10
  ],
11
- "homepage": "https://github.com/v3xlabs/open-lavatory",
11
+ "homepage": "https://github.com/open-lavatory/open-lavatory",
12
12
  "bugs": {
13
- "url": "https://github.com/v3xlabs/open-lavatory/issues"
13
+ "url": "https://github.com/open-lavatory/open-lavatory/issues"
14
14
  },
15
15
  "repository": {
16
16
  "type": "git",
17
- "url": "git+https://github.com/v3xlabs/open-lavatory.git",
17
+ "url": "git+https://github.com/open-lavatory/open-lavatory.git",
18
18
  "directory": "packages/modal"
19
19
  },
20
20
  "license": "LGPL-3.0-only",
21
21
  "author": {
22
22
  "name": "Open-Lavatory",
23
- "url": "https://github.com/v3xlabs/open-lavatory"
23
+ "url": "https://github.com/open-lavatory/open-lavatory"
24
24
  },
25
25
  "sideEffects": false,
26
26
  "type": "module",
@@ -49,10 +49,10 @@
49
49
  "solid-icons": "^1.2.0",
50
50
  "solid-js": "^1.9.9",
51
51
  "tailwind-variants": "^3.1.1",
52
- "@openlv/core": "0.1.0",
53
- "@openlv/provider": "0.1.1",
54
- "@openlv/session": "0.1.1",
55
- "@openlv/signaling": "0.1.1"
52
+ "@openlv/core": "0.1.2",
53
+ "@openlv/provider": "0.1.3",
54
+ "@openlv/session": "0.1.3",
55
+ "@openlv/signaling": "0.1.3"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@tailwindcss/vite": "^4.1.17",