@prosync_solutions/ui 0.1.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.
Files changed (79) hide show
  1. package/README.docx +0 -0
  2. package/README.md +129 -0
  3. package/dist/chunks/ProSidebarItem-CNJJi_zd.js +4 -0
  4. package/dist/chunks/ProSidebarItem-W3KGbpUN.js +1 -0
  5. package/dist/chunks/ProSpinner.vue_vue_type_script_setup_true_lang-C3WfTGch.js +661 -0
  6. package/dist/chunks/ProSpinner.vue_vue_type_script_setup_true_lang-g-x6G5qO.js +1 -0
  7. package/dist/components/ProAvatar/ProAvatar.vue.d.ts +14 -0
  8. package/dist/components/ProAvatar/index.d.ts +1 -0
  9. package/dist/components/ProBanner/ProBanner.vue.d.ts +40 -0
  10. package/dist/components/ProBanner/index.d.ts +1 -0
  11. package/dist/components/ProBreadcrumbs/ProBreadcrumbs.vue.d.ts +10 -0
  12. package/dist/components/ProBreadcrumbs/index.d.ts +1 -0
  13. package/dist/components/ProButton/ProButton.vue.d.ts +32 -0
  14. package/dist/components/ProButton/index.d.ts +1 -0
  15. package/dist/components/ProCard/ProCard.vue.d.ts +25 -0
  16. package/dist/components/ProCard/index.d.ts +1 -0
  17. package/dist/components/ProDivider/ProDivider.vue.d.ts +20 -0
  18. package/dist/components/ProDivider/index.d.ts +1 -0
  19. package/dist/components/ProDrawer/ProDrawer.vue.d.ts +33 -0
  20. package/dist/components/ProDrawer/index.d.ts +1 -0
  21. package/dist/components/ProEmpty/ProEmpty.vue.d.ts +25 -0
  22. package/dist/components/ProEmpty/index.d.ts +1 -0
  23. package/dist/components/ProFormField/ProFormField.vue.d.ts +19 -0
  24. package/dist/components/ProFormField/index.d.ts +1 -0
  25. package/dist/components/ProInput/ProInput.vue.d.ts +31 -0
  26. package/dist/components/ProInput/index.d.ts +1 -0
  27. package/dist/components/ProMenu/ProMenu.vue.d.ts +44 -0
  28. package/dist/components/ProMenu/index.d.ts +1 -0
  29. package/dist/components/ProModal/ProModal.vue.d.ts +33 -0
  30. package/dist/components/ProModal/index.d.ts +1 -0
  31. package/dist/components/ProPageHeader/ProPageHeader.vue.d.ts +26 -0
  32. package/dist/components/ProPageHeader/index.d.ts +1 -0
  33. package/dist/components/ProPagination/ProPagination.vue.d.ts +13 -0
  34. package/dist/components/ProPagination/index.d.ts +1 -0
  35. package/dist/components/ProSelect/ProSelect.vue.d.ts +22 -0
  36. package/dist/components/ProSelect/index.d.ts +1 -0
  37. package/dist/components/ProSidebar/ProSidebar.vue.d.ts +33 -0
  38. package/dist/components/ProSidebar/index.d.ts +1 -0
  39. package/dist/components/ProSidebarItem/ProSidebarItem.vue.d.ts +7 -0
  40. package/dist/components/ProSidebarItem/index.d.ts +1 -0
  41. package/dist/components/ProSkeleton/ProSkeleton.vue.d.ts +22 -0
  42. package/dist/components/ProSkeleton/index.d.ts +1 -0
  43. package/dist/components/ProSpinner/ProSpinner.vue.d.ts +10 -0
  44. package/dist/components/ProSpinner/index.d.ts +1 -0
  45. package/dist/components/ProStatisticCard/ProStatisticCard.vue.d.ts +17 -0
  46. package/dist/components/ProStatisticCard/index.d.ts +1 -0
  47. package/dist/components/ProStatusBadge/ProStatusBadge.vue.d.ts +6 -0
  48. package/dist/components/ProStatusBadge/index.d.ts +1 -0
  49. package/dist/components/ProTable/ProTable.vue.d.ts +19 -0
  50. package/dist/components/ProTable/index.d.ts +1 -0
  51. package/dist/components/ProTableCell/ProTableCell.vue.d.ts +16 -0
  52. package/dist/components/ProTableCell/index.d.ts +1 -0
  53. package/dist/components/ProTableRow/ProTableRow.vue.d.ts +29 -0
  54. package/dist/components/ProTableRow/index.d.ts +1 -0
  55. package/dist/components/ProTabs/ProTabs.vue.d.ts +27 -0
  56. package/dist/components/ProTabs/index.d.ts +1 -0
  57. package/dist/components/ProTag/ProTag.vue.d.ts +28 -0
  58. package/dist/components/ProTag/index.d.ts +1 -0
  59. package/dist/components/ProTextarea/ProTextarea.vue.d.ts +21 -0
  60. package/dist/components/ProTextarea/index.d.ts +1 -0
  61. package/dist/components/ProToast/ProToast.vue.d.ts +18 -0
  62. package/dist/components/ProToast/index.d.ts +1 -0
  63. package/dist/components/ProTooltip/ProTooltip.vue.d.ts +21 -0
  64. package/dist/components/ProTooltip/index.d.ts +1 -0
  65. package/dist/components/ProTopbar/ProTopbar.vue.d.ts +27 -0
  66. package/dist/components/ProTopbar/index.d.ts +1 -0
  67. package/dist/components/index.d.ts +30 -0
  68. package/dist/components/tier1/index.d.ts +12 -0
  69. package/dist/index.d.ts +6 -0
  70. package/dist/prosync-ui-tier1.js +36 -0
  71. package/dist/prosync-ui-tier1.umd.cjs +1 -0
  72. package/dist/prosync-ui.js +1034 -0
  73. package/dist/prosync-ui.umd.cjs +1 -0
  74. package/dist/tier1.d.ts +17 -0
  75. package/dist/types/index.d.ts +62 -0
  76. package/dist/ui.css +1 -0
  77. package/package.json +75 -0
  78. package/src/styles/tokens-tier1.css +80 -0
  79. package/src/styles/tokens.json +673 -0
package/README.docx ADDED
Binary file
package/README.md ADDED
@@ -0,0 +1,129 @@
1
+ # @prosync_solutions/ui · Prosync Design System
2
+
3
+ Vue 3 component library and design token system. Phase 1 ships a focused set of 12 Tier 1 components to get your project started quickly.
4
+
5
+ ---
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install @prosync_solutions/ui @phosphor-icons/vue
11
+ ```
12
+
13
+ **Peer dependencies:** `vue >=3.3.0` · `@phosphor-icons/vue >=2.0.0`
14
+
15
+ ---
16
+
17
+ ## Quick Start
18
+
19
+ Import only the components you need from the Tier 1 sub-path:
20
+
21
+ ```ts
22
+ // main.ts
23
+ import { createApp } from 'vue'
24
+ import '@prosync_solutions/ui/style.css' // design tokens + Tailwind utilities
25
+ import App from './App.vue'
26
+
27
+ createApp(App).mount('#app')
28
+ ```
29
+
30
+ ```vue
31
+ <!-- Any component -->
32
+ <script setup>
33
+ import { ProButton, ProInput, ProTag } from '@prosync_solutions/ui/tier1'
34
+ </script>
35
+
36
+ <template>
37
+ <ProInput v-model="name" label="Full Name" placeholder="Enter name" />
38
+ <ProButton variant="primary">Submit</ProButton>
39
+ <ProTag variant="success">Active</ProTag>
40
+ </template>
41
+ ```
42
+
43
+ ### Global Registration (optional)
44
+
45
+ ```ts
46
+ import ProsyncUITier1 from '@prosync_solutions/ui/tier1'
47
+ import '@prosync_solutions/ui/style.css'
48
+
49
+ app.use(ProsyncUITier1)
50
+ ```
51
+
52
+ ---
53
+
54
+ ## Phase 1 — Tier 1 Components
55
+
56
+ | Component | Description |
57
+ |---|---|
58
+ | `ProButton` | 5 variants · 3 sizes · loading state |
59
+ | `ProInput` | Text input with label + prefix icon slot |
60
+ | `ProSelect` | Dropdown with normalized options |
61
+ | `ProTextarea` | Multi-line input with configurable rows |
62
+ | `ProFormField` | Label wrapper with required, info tooltip, AI indicator |
63
+ | `ProTag` | Status badge — secondary / success / info / warn / error / attention |
64
+ | `ProCard` | Flexible content container |
65
+ | `ProModal` | Dialog overlay — sm / md / lg / xl / full |
66
+ | `ProToast` | Notification toast — information / success / warn / error |
67
+ | `ProAvatar` | User avatar — xs / sm / md / lg / xl sizes |
68
+ | `ProDivider` | Horizontal or vertical separator |
69
+ | `ProSpinner` | Animated loading spinner |
70
+
71
+ ---
72
+
73
+ ## Design Tokens
74
+
75
+ Tokens are available as CSS custom properties under the `--pds-` prefix.
76
+
77
+ ```css
78
+ /* Import raw tokens only (no Tailwind required) */
79
+ @import '@prosync/ui/tokens-tier1';
80
+ ```
81
+
82
+ ### Tier 1 Token Reference
83
+
84
+ | Token | Value | Usage |
85
+ |---|---|---|
86
+ | `--pds-brand-primary` | `#03439a` | Buttons, focus rings, links |
87
+ | `--pds-brand-primary-strong` | `#02367b` | Button hover |
88
+ | `--pds-text-body` | `#1d293d` | Default body text |
89
+ | `--pds-text-placeholder` | `#62748e` | Input placeholder |
90
+ | `--pds-text-error` | `#c10007` | Validation error messages |
91
+ | `--pds-surface-sub-bg` | `#ffffff` | Input / card background |
92
+ | `--pds-surface-error` | `#ffe2e2` | Error input tint / error tag bg |
93
+ | `--pds-border` | `#e5e7eb` | Default input border |
94
+ | `--pds-radius-button` | `6px` | Buttons, inputs, tags |
95
+ | `--pds-radius-card` | `12px` | Cards, containers |
96
+ | `--pds-font-family` | `Montserrat` | All text |
97
+ | `--pds-button-height-md` | `40px` | Default button height |
98
+ | `--pds-input-height-md` | `40px` | Default input height |
99
+
100
+ Full token reference: [`src/styles/tokens.json`](./src/styles/tokens.json) · [`src/styles/tokens-tier1.css`](./src/styles/tokens-tier1.css)
101
+
102
+ ---
103
+
104
+ ## Package Exports
105
+
106
+ | Import path | Contents |
107
+ |---|---|
108
+ | `@prosync/ui` | All 30 components |
109
+ | `@prosync/ui/tier1` | 12 Tier 1 components + types |
110
+ | `@prosync/ui/style.css` | Full design token stylesheet |
111
+ | `@prosync/ui/tier1.css` | Tier 1 token stylesheet |
112
+ | `@prosync/ui/tokens` | Raw `tokens.json` |
113
+ | `@prosync/ui/tokens-tier1` | Raw Tier 1 CSS token file |
114
+
115
+ ---
116
+
117
+ ## Development
118
+
119
+ ```bash
120
+ npm install # install dependencies
121
+ npm run storybook # component preview at http://localhost:6006
122
+ npm run build # build the library to dist/
123
+ ```
124
+
125
+ ---
126
+
127
+ ## License
128
+
129
+ MIT © Prosync
@@ -0,0 +1,4 @@
1
+ import { ProSidebarItem as r } from "../prosync-ui.js";
2
+ export {
3
+ r as default
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../prosync-ui.umd.cjs");exports.default=e.ProSidebarItem;