@polyipseity/obsidian-plugin-library 1.36.0 → 1.36.1

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.
@@ -29,13 +29,13 @@ export interface Props {
29
29
  * However, if you want to use a custom translation function or a different
30
30
  * i18next instance, you can pass it in as a prop and bind it in your markup.
31
31
  */
32
- readonly i18nt?: i18n["t"];
32
+ i18nt?: i18n["t"];
33
33
  params?: DeepWritable<Params>;
34
- readonly results?: string;
35
- readonly onClose?: () => unknown;
36
- readonly onFind?: (direction: Direction, params: Params) => unknown;
37
- readonly onParamsChanged?: (params: Params) => unknown;
38
- readonly initialFocus?: boolean;
34
+ results?: string;
35
+ onClose?: () => unknown;
36
+ onFind?: (direction: Direction, params: Params) => unknown;
37
+ onParamsChanged?: (params: Params) => unknown;
38
+ initialFocus?: boolean;
39
39
  }
40
40
 
41
41
  export interface Exports {
@@ -49,5 +49,5 @@ export type Bindings = "params";
49
49
  // compiler generates a class, so our declaration mirrors that by extending the
50
50
  // generic `Component` type. this makes the value newable and mergeable with a
51
51
  // namespace below.
52
- declare class FindComponent extends Component<Props, Exports, Bindings> {}
52
+ declare const FindComponent: Component<Props, Exports, Bindings>;
53
53
  export default FindComponent;
@@ -31,13 +31,13 @@
31
31
  * However, if you want to use a custom translation function or a different
32
32
  * i18next instance, you can pass it in as a prop and bind it in your markup.
33
33
  */
34
- readonly i18nt?: i18n["t"];
34
+ i18nt?: i18n["t"];
35
35
  params?: DeepWritable<Params>;
36
- readonly results?: string;
37
- readonly onClose?: () => unknown;
38
- readonly onFind?: (direction: Direction, params: Params) => unknown;
39
- readonly onParamsChanged?: (params: Params) => unknown;
40
- readonly initialFocus?: boolean;
36
+ results?: string;
37
+ onClose?: () => unknown;
38
+ onFind?: (direction: Direction, params: Params) => unknown;
39
+ onParamsChanged?: (params: Params) => unknown;
40
+ initialFocus?: boolean;
41
41
  }
42
42
 
43
43
  export interface Exports {
package/package.json CHANGED
@@ -143,7 +143,7 @@
143
143
  "style": "dist/style.css",
144
144
  "type": "module",
145
145
  "types": "dist/src/index.d.ts",
146
- "version": "1.36.0",
146
+ "version": "1.36.1",
147
147
  "workspaces": [
148
148
  "."
149
149
  ],