@heigin/ui 0.1.0 → 0.2.0
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/CHANGELOG.md +25 -1
- package/dist/components/crm/agent-decision-tree.d.ts +82 -0
- package/dist/components/crm/agent-decision-tree.js +580 -0
- package/dist/components/crm/agent-decision-tree.module.js +113 -0
- package/dist/components/crm/agent-task-trail.d.ts +56 -0
- package/dist/components/crm/agent-task-trail.js +419 -0
- package/dist/components/crm/agent-thinking.d.ts +36 -0
- package/dist/components/crm/agent-thinking.js +443 -0
- package/dist/components/crm/agent-thinking.module.js +33 -0
- package/dist/components/crm/agent.module.js +81 -0
- package/dist/components/crm/crm.module.js +44 -4
- package/dist/components/crm/record-header.d.ts +2 -2
- package/dist/components/crm/workspace-switcher.d.ts +49 -0
- package/dist/components/crm/workspace-switcher.js +205 -0
- package/dist/components/ui/avatar.d.ts +9 -1
- package/dist/components/ui/avatar.js +61 -4
- package/dist/components/ui/avatar.module.js +4 -2
- package/dist/components/ui/breadcrumb.d.ts +10 -0
- package/dist/components/ui/breadcrumb.js +48 -0
- package/dist/components/ui/breadcrumb.module.js +19 -0
- package/dist/components/ui/heigin-mark.d.ts +11 -0
- package/dist/components/ui/heigin-mark.js +41 -0
- package/dist/components/ui/loader.d.ts +21 -0
- package/dist/components/ui/loader.js +45 -0
- package/dist/components/ui/pagination.d.ts +1 -2
- package/dist/components/ui/pagination.js +0 -1
- package/dist/components/ui/table.d.ts +9 -1
- package/dist/components/ui/table.js +136 -89
- package/dist/components/ui/table.module.js +13 -1
- package/dist/components/ui/thinking-orb.d.ts +27 -0
- package/dist/components/ui/thinking-orb.js +27 -0
- package/dist/components/ui/type-motion.d.ts +31 -0
- package/dist/components/ui/type-motion.js +394 -0
- package/dist/components/ui/type-motion.module.js +31 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +10 -1
- package/dist/styles.css +1733 -8
- package/dist/tokens.css +1 -1
- package/dist/tokens.d.ts +2 -2
- package/dist/tokens.js +7 -6
- package/package.json +3 -2
package/dist/tokens.css
CHANGED
package/dist/tokens.d.ts
CHANGED
|
@@ -149,8 +149,8 @@ export declare const tokens: {
|
|
|
149
149
|
readonly sticky: "20";
|
|
150
150
|
readonly header: "40";
|
|
151
151
|
readonly nav: "50";
|
|
152
|
-
readonly popover: "90";
|
|
153
152
|
readonly modal: "100";
|
|
153
|
+
readonly popover: "110";
|
|
154
154
|
readonly toast: "200";
|
|
155
155
|
readonly tooltip: "210";
|
|
156
156
|
};
|
|
@@ -314,8 +314,8 @@ export declare const vars: {
|
|
|
314
314
|
readonly sticky: "var(--hg-z-sticky)";
|
|
315
315
|
readonly header: "var(--hg-z-header)";
|
|
316
316
|
readonly nav: "var(--hg-z-nav)";
|
|
317
|
-
readonly popover: "var(--hg-z-popover)";
|
|
318
317
|
readonly modal: "var(--hg-z-modal)";
|
|
318
|
+
readonly popover: "var(--hg-z-popover)";
|
|
319
319
|
readonly toast: "var(--hg-z-toast)";
|
|
320
320
|
readonly tooltip: "var(--hg-z-tooltip)";
|
|
321
321
|
};
|
package/dist/tokens.js
CHANGED
|
@@ -148,8 +148,8 @@ var tokens = {
|
|
|
148
148
|
"sticky": "20",
|
|
149
149
|
"header": "40",
|
|
150
150
|
"nav": "50",
|
|
151
|
-
"popover": "90",
|
|
152
151
|
"modal": "100",
|
|
152
|
+
"popover": "110",
|
|
153
153
|
"toast": "200",
|
|
154
154
|
"tooltip": "210"
|
|
155
155
|
},
|
|
@@ -311,8 +311,8 @@ var vars = {
|
|
|
311
311
|
"sticky": "var(--hg-z-sticky)",
|
|
312
312
|
"header": "var(--hg-z-header)",
|
|
313
313
|
"nav": "var(--hg-z-nav)",
|
|
314
|
-
"popover": "var(--hg-z-popover)",
|
|
315
314
|
"modal": "var(--hg-z-modal)",
|
|
315
|
+
"popover": "var(--hg-z-popover)",
|
|
316
316
|
"toast": "var(--hg-z-toast)",
|
|
317
317
|
"tooltip": "var(--hg-z-tooltip)"
|
|
318
318
|
},
|
|
@@ -748,14 +748,15 @@ var tokenMeta = {
|
|
|
748
748
|
"evidence": "observed",
|
|
749
749
|
"description": "Mobile bottom tab bar."
|
|
750
750
|
},
|
|
751
|
-
"z.popover": {
|
|
752
|
-
"evidence": "observed",
|
|
753
|
-
"description": "Menus, selects, popovers."
|
|
754
|
-
},
|
|
755
751
|
"z.modal": {
|
|
756
752
|
"evidence": "observed",
|
|
757
753
|
"description": "Dialog scrim and dialogs/drawers."
|
|
758
754
|
},
|
|
755
|
+
"z.popover": {
|
|
756
|
+
"evidence": "derived",
|
|
757
|
+
"live": "z-[90]",
|
|
758
|
+
"description": "Menus, selects, popovers. Production uses 90 for in-page dropdowns; raised above modal (100) so selects and menus inside dialogs are not hidden behind them."
|
|
759
|
+
},
|
|
759
760
|
"z.toast": {
|
|
760
761
|
"evidence": "observed",
|
|
761
762
|
"description": "Toast stack (fixed bottom-5 right-5)."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heigin/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "HeiGin UI — React + TypeScript components and design tokens extracted from the HeiGin CRM.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"repository": {
|
|
@@ -47,7 +47,8 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@base-ui/react": "^1.9.0",
|
|
50
|
-
"lucide-react": "^1.55.0"
|
|
50
|
+
"lucide-react": "^1.55.0",
|
|
51
|
+
"thinking-orbs": "^0.3.2"
|
|
51
52
|
},
|
|
52
53
|
"publishConfig": {
|
|
53
54
|
"access": "public",
|