@profiq/ui 0.1.2 → 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.
- package/dist/components/custom/basic/button.d.ts +2 -1
- package/dist/components/custom/basic/button.d.ts.map +1 -1
- package/dist/components/custom/basic/input.d.ts +2 -1
- package/dist/components/custom/basic/input.d.ts.map +1 -1
- package/dist/components/ui/buttonVariants.d.ts.map +1 -1
- package/dist/components/ui/buttonVariants.js +2 -2
- package/dist/components/ui/slider.js +23 -23
- package/dist/index.css +161 -260
- package/dist/index.js +7 -50
- package/dist/lib/baseProps.d.ts +2 -2
- package/dist/lib/baseProps.d.ts.map +1 -1
- package/dist/lib/baseProps.js +6 -6
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +171 -171
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +191 -190
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +125 -101
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +97 -97
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +60 -62
- package/package.json +6 -26
- package/dist/components/custom/basic/index.d.ts +0 -17
- package/dist/components/custom/basic/index.d.ts.map +0 -1
- package/dist/components/custom/basic/index.js +0 -20
- package/dist/components/custom/icons/index.d.ts +0 -15
- package/dist/components/custom/icons/index.d.ts.map +0 -1
- package/dist/components/custom/icons/index.js +0 -27
- package/dist/components/ui/index.d.ts +0 -14
- package/dist/components/ui/index.d.ts.map +0 -1
- package/dist/components/ui/index.js +0 -59
- package/dist/index.d.ts +0 -4
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/index.js +0 -11
- package/dist/styles.d.ts +0 -2
- package/dist/styles.js +0 -2
package/dist/index.js
CHANGED
|
@@ -1,54 +1,11 @@
|
|
|
1
|
-
import { themes as
|
|
2
|
-
import { useMakeTestId as
|
|
1
|
+
import { themes as o } from "./lib/baseProps.js";
|
|
2
|
+
import { useMakeTestId as t } from "./lib/hooks/useMakeTestId.js";
|
|
3
3
|
import { cn as f } from "./lib/utils.js";
|
|
4
|
-
import { sizeClasses as
|
|
5
|
-
import { Accordion as n } from "./components/custom/basic/accordion.js";
|
|
6
|
-
import { Button as l } from "./components/custom/basic/button.js";
|
|
7
|
-
import { InputField as M } from "./components/custom/basic/input.js";
|
|
8
|
-
import { Select as g } from "./components/custom/basic/select.js";
|
|
9
|
-
import { Slider as O } from "./components/custom/basic/slider.js";
|
|
10
|
-
import { SwitchField as T } from "./components/custom/basic/switch.js";
|
|
11
|
-
import { Table as k } from "./components/custom/basic/table.js";
|
|
12
|
-
import { Text as L } from "./components/custom/basic/text.js";
|
|
13
|
-
import { Textarea as A } from "./components/custom/basic/textarea.js";
|
|
14
|
-
import { Backpack as D } from "./components/custom/icons/Backpack.js";
|
|
15
|
-
import { CaretDown as G } from "./components/custom/icons/CaretDown.js";
|
|
16
|
-
import { CaretUp as I } from "./components/custom/icons/CaretUp.js";
|
|
17
|
-
import { DotsVertical as V } from "./components/custom/icons/DotsVertical.js";
|
|
18
|
-
import { HamburgerMenu as q } from "./components/custom/icons/HamburgerMenu.js";
|
|
19
|
-
import { Home as z } from "./components/custom/icons/Home.js";
|
|
20
|
-
import { MagnifyingGlass as U } from "./components/custom/icons/MagnifyingGlass.js";
|
|
21
|
-
import { Moon as v } from "./components/custom/icons/Moon.js";
|
|
22
|
-
import { Sun as J } from "./components/custom/icons/Sun.js";
|
|
23
|
-
import { iconMap as N } from "./components/custom/icons/Icons.js";
|
|
24
|
-
import { Profiq as W } from "./components/custom/icons/logo/Profiq.js";
|
|
25
|
-
import { LOGO_COLOR_MAP as Y, LogoVariations as Z } from "./components/custom/icons/logo/logoVariations.js";
|
|
4
|
+
import { sizeClasses as x, weightClasses as a } from "./lib/text.types.js";
|
|
26
5
|
export {
|
|
27
|
-
n as Accordion,
|
|
28
|
-
D as Backpack,
|
|
29
|
-
l as Button,
|
|
30
|
-
G as CaretDown,
|
|
31
|
-
I as CaretUp,
|
|
32
|
-
V as DotsVertical,
|
|
33
|
-
q as HamburgerMenu,
|
|
34
|
-
z as Home,
|
|
35
|
-
M as InputField,
|
|
36
|
-
Y as LOGO_COLOR_MAP,
|
|
37
|
-
Z as LogoVariations,
|
|
38
|
-
U as MagnifyingGlass,
|
|
39
|
-
v as Moon,
|
|
40
|
-
W as Profiq,
|
|
41
|
-
g as Select,
|
|
42
|
-
O as Slider,
|
|
43
|
-
J as Sun,
|
|
44
|
-
T as SwitchField,
|
|
45
|
-
k as Table,
|
|
46
|
-
L as Text,
|
|
47
|
-
A as Textarea,
|
|
48
6
|
f as cn,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
i as weightClasses
|
|
7
|
+
x as sizeClasses,
|
|
8
|
+
o as themes,
|
|
9
|
+
t as useMakeTestId,
|
|
10
|
+
a as weightClasses
|
|
54
11
|
};
|
package/dist/lib/baseProps.d.ts
CHANGED
|
@@ -4,6 +4,6 @@ export type BaseProps = {
|
|
|
4
4
|
ariaLabel?: string;
|
|
5
5
|
className?: string;
|
|
6
6
|
};
|
|
7
|
-
export type Theme = "profiq" | "profiq-dark" | "shadcn" | "shadcn-dark" | "
|
|
8
|
-
export declare const themes: readonly ["profiq", "profiq-dark", "shadcn", "shadcn-dark", "
|
|
7
|
+
export type Theme = "profiq" | "profiq-dark" | "shadcn" | "shadcn-dark" | "green" | "green-dark" | "red" | "red-dark";
|
|
8
|
+
export declare const themes: readonly ["profiq", "profiq-dark", "shadcn", "shadcn-dark", "green", "green-dark", "red", "red-dark"];
|
|
9
9
|
//# sourceMappingURL=baseProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseProps.d.ts","sourceRoot":"","sources":["../../src/lib/baseProps.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,KAAK,GACb,QAAQ,GACR,aAAa,GACb,QAAQ,GACR,aAAa,GACb,YAAY,GACZ,
|
|
1
|
+
{"version":3,"file":"baseProps.d.ts","sourceRoot":"","sources":["../../src/lib/baseProps.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,KAAK,GACb,QAAQ,GACR,aAAa,GACb,QAAQ,GACR,aAAa,GACb,OAAO,GACP,YAAY,GACZ,KAAK,GACL,UAAU,CAAC;AAEf,eAAO,MAAM,MAAM,uGASkB,CAAC"}
|
package/dist/lib/baseProps.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
const
|
|
1
|
+
const r = [
|
|
2
2
|
"profiq",
|
|
3
3
|
"profiq-dark",
|
|
4
4
|
"shadcn",
|
|
5
5
|
"shadcn-dark",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
6
|
+
"green",
|
|
7
|
+
"green-dark",
|
|
8
|
+
"red",
|
|
9
|
+
"red-dark"
|
|
10
10
|
];
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
r as themes
|
|
13
13
|
};
|