@rufous/ui 0.1.3 → 0.1.4

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,28 +1,8 @@
1
- import { ReactNode } from 'react';
1
+ import React__default from 'react';
2
2
 
3
- // customThemeProvider.d.ts
4
-
5
-
6
-
7
- type Theme = {
8
- themeKey: string;
9
- customStyles: any; // Replace `any` with a proper type if you have a defined theme structure
10
- };
11
-
12
- type RufousThemeContextType = {
13
- theme: Theme;
14
- previewTheme: (key: string) => void;
15
- saveTheme: (inputKey?: string) => void;
16
- cancelTheme: () => void;
17
- currentThemeKey: string;
18
- committedThemeKey: string;
19
- updateSettings: () => void;
20
- };
21
-
22
- declare const RufousThemeProvider: React.FC<{
23
- children: ReactNode;
24
- }>;
25
-
26
- declare const useRufousTheme: () => RufousThemeContextType;
3
+ declare const RufousThemeProvider: ({ children }: {
4
+ children: any;
5
+ }) => React__default.JSX.Element;
6
+ declare const useRufousTheme: () => any;
27
7
 
28
8
  export { RufousThemeProvider, useRufousTheme };
@@ -1,28 +1,8 @@
1
- import { ReactNode } from 'react';
1
+ import React__default from 'react';
2
2
 
3
- // customThemeProvider.d.ts
4
-
5
-
6
-
7
- type Theme = {
8
- themeKey: string;
9
- customStyles: any; // Replace `any` with a proper type if you have a defined theme structure
10
- };
11
-
12
- type RufousThemeContextType = {
13
- theme: Theme;
14
- previewTheme: (key: string) => void;
15
- saveTheme: (inputKey?: string) => void;
16
- cancelTheme: () => void;
17
- currentThemeKey: string;
18
- committedThemeKey: string;
19
- updateSettings: () => void;
20
- };
21
-
22
- declare const RufousThemeProvider: React.FC<{
23
- children: ReactNode;
24
- }>;
25
-
26
- declare const useRufousTheme: () => RufousThemeContextType;
3
+ declare const RufousThemeProvider: ({ children }: {
4
+ children: any;
5
+ }) => React__default.JSX.Element;
6
+ declare const useRufousTheme: () => any;
27
7
 
28
8
  export { RufousThemeProvider, useRufousTheme };
@@ -1,7 +1,4 @@
1
1
  import "../chunk-ZZ37BKUK.js";
2
- import {
3
- nineDotMenuIcon_default
4
- } from "../chunk-D7SFBVJY.js";
5
2
  import {
6
3
  rufousLauncherBird_default
7
4
  } from "../chunk-QZFGQ5JM.js";
@@ -26,6 +23,9 @@ import {
26
23
  import {
27
24
  hierarchyIcon_default
28
25
  } from "../chunk-WZAU77G7.js";
26
+ import {
27
+ nineDotMenuIcon_default
28
+ } from "../chunk-D7SFBVJY.js";
29
29
  export {
30
30
  archivedIcon_default as ArchivedIcon,
31
31
  copyIcon_default as CopyIcon,
package/dist/main.js CHANGED
@@ -2,9 +2,6 @@ import {
2
2
  FloatingInput
3
3
  } from "./chunk-AWA5Y5LH.js";
4
4
  import "./chunk-ZZ37BKUK.js";
5
- import {
6
- nineDotMenuIcon_default
7
- } from "./chunk-D7SFBVJY.js";
8
5
  import {
9
6
  rufousLauncherBird_default
10
7
  } from "./chunk-QZFGQ5JM.js";
@@ -29,6 +26,9 @@ import {
29
26
  import {
30
27
  hierarchyIcon_default
31
28
  } from "./chunk-WZAU77G7.js";
29
+ import {
30
+ nineDotMenuIcon_default
31
+ } from "./chunk-D7SFBVJY.js";
32
32
  import {
33
33
  Button
34
34
  } from "./chunk-ASP3DBRX.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rufous/ui",
3
3
  "private": false,
4
- "version": "0.1.3",
4
+ "version": "0.1.4",
5
5
  "type": "module",
6
6
  "style": "./dist/style.css",
7
7
  "files": [
@@ -1,17 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from))
8
- if (!__hasOwnProp.call(to, key) && key !== except)
9
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- }
11
- return to;
12
- };
13
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
-
15
- // lib/Contexts/rufousThemeProvider.d.ts
16
- var rufousThemeProvider_d_exports = {};
17
- module.exports = __toCommonJS(rufousThemeProvider_d_exports);
@@ -1,28 +0,0 @@
1
- import { ReactNode } from 'react';
2
-
3
- // customThemeProvider.d.ts
4
-
5
-
6
-
7
- type Theme = {
8
- themeKey: string;
9
- customStyles: any; // Replace `any` with a proper type if you have a defined theme structure
10
- };
11
-
12
- type RufousThemeContextType = {
13
- theme: Theme;
14
- previewTheme: (key: string) => void;
15
- saveTheme: (inputKey?: string) => void;
16
- cancelTheme: () => void;
17
- currentThemeKey: string;
18
- committedThemeKey: string;
19
- updateSettings: () => void;
20
- };
21
-
22
- declare const RufousThemeProvider: React.FC<{
23
- children: ReactNode;
24
- }>;
25
-
26
- declare const useRufousTheme: () => RufousThemeContextType;
27
-
28
- export { RufousThemeProvider, useRufousTheme };
@@ -1,28 +0,0 @@
1
- import { ReactNode } from 'react';
2
-
3
- // customThemeProvider.d.ts
4
-
5
-
6
-
7
- type Theme = {
8
- themeKey: string;
9
- customStyles: any; // Replace `any` with a proper type if you have a defined theme structure
10
- };
11
-
12
- type RufousThemeContextType = {
13
- theme: Theme;
14
- previewTheme: (key: string) => void;
15
- saveTheme: (inputKey?: string) => void;
16
- cancelTheme: () => void;
17
- currentThemeKey: string;
18
- committedThemeKey: string;
19
- updateSettings: () => void;
20
- };
21
-
22
- declare const RufousThemeProvider: React.FC<{
23
- children: ReactNode;
24
- }>;
25
-
26
- declare const useRufousTheme: () => RufousThemeContextType;
27
-
28
- export { RufousThemeProvider, useRufousTheme };
File without changes