@altimateai/ui-components 0.0.22 → 0.0.23-beta.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.
- package/dist/{Button-Dln4BC6y.d.ts → Button-Ba6FLZh8.d.ts} +2 -2
- package/dist/CoachForm.js +7674 -7654
- package/dist/Form.js +3657 -0
- package/dist/Switch.js +128 -0
- package/dist/Table.js +22 -0
- package/dist/Tooltip.js +3074 -2161
- package/dist/assets/icons/index.js +1 -1
- package/dist/index.d.ts +20 -23
- package/dist/index.js +32 -64
- package/dist/index2.js +9 -9
- package/dist/lineage/index.js +2273 -2296
- package/dist/main.css +1 -1
- package/dist/main.js +875 -877
- package/dist/redux-toolkit.modern.js +908 -1012
- package/dist/shadcn/index.d.ts +18 -14
- package/dist/shadcn/index.js +1737 -2433
- package/dist/storybook/Typography.stories.tsx +14 -14
- package/package.json +2 -2
- package/dist/Label.js +0 -48
- package/dist/NativeSelect.js +0 -3918
|
@@ -39,8 +39,8 @@ export const Typography: Story = {
|
|
|
39
39
|
Heading 1 <br />
|
|
40
40
|
Bold
|
|
41
41
|
</Component>
|
|
42
|
-
<Component variant="caption" className="
|
|
43
|
-
|
|
42
|
+
<Component variant="caption" className="text-gray-500">
|
|
43
|
+
32px / Line height: 32px
|
|
44
44
|
</Component>
|
|
45
45
|
</div>
|
|
46
46
|
|
|
@@ -62,8 +62,8 @@ export const Typography: Story = {
|
|
|
62
62
|
Heading 2 <br />
|
|
63
63
|
Bold
|
|
64
64
|
</Component>
|
|
65
|
-
<Component variant="caption" className="
|
|
66
|
-
|
|
65
|
+
<Component variant="caption" className="text-gray-500">
|
|
66
|
+
24px / Line height: 32px
|
|
67
67
|
</Component>
|
|
68
68
|
</div>
|
|
69
69
|
|
|
@@ -85,8 +85,8 @@ export const Typography: Story = {
|
|
|
85
85
|
Heading 3 <br />
|
|
86
86
|
Bold
|
|
87
87
|
</Component>
|
|
88
|
-
<Component variant="caption" className="
|
|
89
|
-
|
|
88
|
+
<Component variant="caption" className="text-gray-500">
|
|
89
|
+
18px / Line height: 26px
|
|
90
90
|
</Component>
|
|
91
91
|
</div>
|
|
92
92
|
|
|
@@ -108,8 +108,8 @@ export const Typography: Story = {
|
|
|
108
108
|
Heading 4 <br />
|
|
109
109
|
Bold
|
|
110
110
|
</Component>
|
|
111
|
-
<Component variant="caption" className="
|
|
112
|
-
|
|
111
|
+
<Component variant="caption" className="text-gray-500">
|
|
112
|
+
16px / Line height: 24px
|
|
113
113
|
</Component>
|
|
114
114
|
</div>
|
|
115
115
|
|
|
@@ -131,8 +131,8 @@ export const Typography: Story = {
|
|
|
131
131
|
Sub heading <br />
|
|
132
132
|
Bold
|
|
133
133
|
</Component>
|
|
134
|
-
<Component variant="caption" className="
|
|
135
|
-
|
|
134
|
+
<Component variant="caption" className="text-gray-500">
|
|
135
|
+
14px / Line height: 20px
|
|
136
136
|
</Component>
|
|
137
137
|
</div>
|
|
138
138
|
|
|
@@ -150,8 +150,8 @@ export const Typography: Story = {
|
|
|
150
150
|
<Component variant="body" size="xl">
|
|
151
151
|
Body XL <br /> Regular
|
|
152
152
|
</Component>
|
|
153
|
-
<Component variant="caption" className="
|
|
154
|
-
|
|
153
|
+
<Component variant="caption" className="text-gray-500">
|
|
154
|
+
14px, 10px, 8px | Line height: 18px, 16px, 14px
|
|
155
155
|
</Component>
|
|
156
156
|
</div>
|
|
157
157
|
|
|
@@ -169,8 +169,8 @@ export const Typography: Story = {
|
|
|
169
169
|
<Component variant="caption" weight="medium" size="lg">
|
|
170
170
|
Caption LG <br /> Medium
|
|
171
171
|
</Component>
|
|
172
|
-
<Component variant="caption" className="
|
|
173
|
-
|
|
172
|
+
<Component variant="caption" className="text-gray-500">
|
|
173
|
+
14px, 10px | Line height: 18px, 16px
|
|
174
174
|
</Component>
|
|
175
175
|
</div>
|
|
176
176
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@altimateai/ui-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23-beta.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/AltimateAI/altimate-components.git"
|
|
@@ -52,4 +52,4 @@
|
|
|
52
52
|
"react": "^17.0.0 || ^18.0.0",
|
|
53
53
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
54
54
|
}
|
|
55
|
-
}
|
|
55
|
+
}
|
package/dist/Label.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { j as o } from "./index2.js";
|
|
2
|
-
import * as l from "react";
|
|
3
|
-
import "react-dom";
|
|
4
|
-
import { c, a as b, b as p } from "./Tooltip.js";
|
|
5
|
-
var v = [
|
|
6
|
-
"a",
|
|
7
|
-
"button",
|
|
8
|
-
"div",
|
|
9
|
-
"form",
|
|
10
|
-
"h2",
|
|
11
|
-
"h3",
|
|
12
|
-
"img",
|
|
13
|
-
"input",
|
|
14
|
-
"label",
|
|
15
|
-
"li",
|
|
16
|
-
"nav",
|
|
17
|
-
"ol",
|
|
18
|
-
"p",
|
|
19
|
-
"select",
|
|
20
|
-
"span",
|
|
21
|
-
"svg",
|
|
22
|
-
"ul"
|
|
23
|
-
], w = v.reduce((e, t) => {
|
|
24
|
-
const a = c(`Primitive.${t}`), i = l.forwardRef((r, m) => {
|
|
25
|
-
const { asChild: d, ...f } = r, u = d ? a : t;
|
|
26
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ o.jsx(u, { ...f, ref: m });
|
|
27
|
-
});
|
|
28
|
-
return i.displayName = `Primitive.${t}`, { ...e, [t]: i };
|
|
29
|
-
}, {}), x = "Label", s = l.forwardRef((e, t) => /* @__PURE__ */ o.jsx(
|
|
30
|
-
w.label,
|
|
31
|
-
{
|
|
32
|
-
...e,
|
|
33
|
-
ref: t,
|
|
34
|
-
onMouseDown: (a) => {
|
|
35
|
-
var r;
|
|
36
|
-
a.target.closest("button, input, select, textarea") || ((r = e.onMouseDown) == null || r.call(e, a), !a.defaultPrevented && a.detail > 1 && a.preventDefault());
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
));
|
|
40
|
-
s.displayName = x;
|
|
41
|
-
var n = s;
|
|
42
|
-
const N = p(
|
|
43
|
-
"al-text-sm al-font-medium al-leading-none peer-disabled:al-cursor-not-allowed peer-disabled:al-opacity-70"
|
|
44
|
-
), y = l.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(n, { ref: a, className: b(N(), e), ...t }));
|
|
45
|
-
y.displayName = n.displayName;
|
|
46
|
-
export {
|
|
47
|
-
y as L
|
|
48
|
-
};
|