@diwauhris/ui 1.0.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 (272) hide show
  1. package/README.md +75 -0
  2. package/lib/assets/ui.css +154 -0
  3. package/lib/index.cjs +183 -0
  4. package/lib/index.mjs +65 -0
  5. package/lib/index10.cjs +33 -0
  6. package/lib/index10.cjs.map +1 -0
  7. package/lib/index10.mjs +33 -0
  8. package/lib/index10.mjs.map +1 -0
  9. package/lib/index11.cjs +16 -0
  10. package/lib/index11.cjs.map +1 -0
  11. package/lib/index11.mjs +16 -0
  12. package/lib/index11.mjs.map +1 -0
  13. package/lib/index12.cjs +16 -0
  14. package/lib/index12.cjs.map +1 -0
  15. package/lib/index12.mjs +15 -0
  16. package/lib/index12.mjs.map +1 -0
  17. package/lib/index13.cjs +57 -0
  18. package/lib/index13.cjs.map +1 -0
  19. package/lib/index13.mjs +57 -0
  20. package/lib/index13.mjs.map +1 -0
  21. package/lib/index14.cjs +10 -0
  22. package/lib/index14.cjs.map +1 -0
  23. package/lib/index14.mjs +10 -0
  24. package/lib/index14.mjs.map +1 -0
  25. package/lib/index15.cjs +30 -0
  26. package/lib/index15.cjs.map +1 -0
  27. package/lib/index15.mjs +30 -0
  28. package/lib/index15.mjs.map +1 -0
  29. package/lib/index16.cjs +28 -0
  30. package/lib/index16.cjs.map +1 -0
  31. package/lib/index16.mjs +26 -0
  32. package/lib/index16.mjs.map +1 -0
  33. package/lib/index17.cjs +43 -0
  34. package/lib/index17.cjs.map +1 -0
  35. package/lib/index17.mjs +43 -0
  36. package/lib/index17.mjs.map +1 -0
  37. package/lib/index18.cjs +59 -0
  38. package/lib/index18.cjs.map +1 -0
  39. package/lib/index18.mjs +59 -0
  40. package/lib/index18.mjs.map +1 -0
  41. package/lib/index19.cjs +67 -0
  42. package/lib/index19.cjs.map +1 -0
  43. package/lib/index19.mjs +67 -0
  44. package/lib/index19.mjs.map +1 -0
  45. package/lib/index2.cjs +33 -0
  46. package/lib/index2.mjs +13 -0
  47. package/lib/index20.cjs +79 -0
  48. package/lib/index20.cjs.map +1 -0
  49. package/lib/index20.mjs +79 -0
  50. package/lib/index20.mjs.map +1 -0
  51. package/lib/index21.cjs +105 -0
  52. package/lib/index21.cjs.map +1 -0
  53. package/lib/index21.mjs +104 -0
  54. package/lib/index21.mjs.map +1 -0
  55. package/lib/index22.cjs +50 -0
  56. package/lib/index22.cjs.map +1 -0
  57. package/lib/index22.mjs +50 -0
  58. package/lib/index22.mjs.map +1 -0
  59. package/lib/index23.cjs +143 -0
  60. package/lib/index23.cjs.map +1 -0
  61. package/lib/index23.mjs +143 -0
  62. package/lib/index23.mjs.map +1 -0
  63. package/lib/index25.cjs +177 -0
  64. package/lib/index25.cjs.map +1 -0
  65. package/lib/index25.mjs +175 -0
  66. package/lib/index25.mjs.map +1 -0
  67. package/lib/index26.cjs +108 -0
  68. package/lib/index26.cjs.map +1 -0
  69. package/lib/index26.mjs +108 -0
  70. package/lib/index26.mjs.map +1 -0
  71. package/lib/index27.cjs +120 -0
  72. package/lib/index27.cjs.map +1 -0
  73. package/lib/index27.mjs +120 -0
  74. package/lib/index27.mjs.map +1 -0
  75. package/lib/index28.cjs +54 -0
  76. package/lib/index28.cjs.map +1 -0
  77. package/lib/index28.mjs +54 -0
  78. package/lib/index28.mjs.map +1 -0
  79. package/lib/index29.cjs +100 -0
  80. package/lib/index29.cjs.map +1 -0
  81. package/lib/index29.mjs +100 -0
  82. package/lib/index29.mjs.map +1 -0
  83. package/lib/index3.cjs +38 -0
  84. package/lib/index3.cjs.map +1 -0
  85. package/lib/index3.mjs +38 -0
  86. package/lib/index3.mjs.map +1 -0
  87. package/lib/index30.cjs +27 -0
  88. package/lib/index30.cjs.map +1 -0
  89. package/lib/index30.mjs +27 -0
  90. package/lib/index30.mjs.map +1 -0
  91. package/lib/index31.cjs +72 -0
  92. package/lib/index31.cjs.map +1 -0
  93. package/lib/index31.mjs +72 -0
  94. package/lib/index31.mjs.map +1 -0
  95. package/lib/index32.cjs +19 -0
  96. package/lib/index32.cjs.map +1 -0
  97. package/lib/index32.mjs +19 -0
  98. package/lib/index32.mjs.map +1 -0
  99. package/lib/index33.cjs +25 -0
  100. package/lib/index33.cjs.map +1 -0
  101. package/lib/index33.mjs +25 -0
  102. package/lib/index33.mjs.map +1 -0
  103. package/lib/index34.cjs +55 -0
  104. package/lib/index34.cjs.map +1 -0
  105. package/lib/index34.mjs +51 -0
  106. package/lib/index34.mjs.map +1 -0
  107. package/lib/index35.cjs +25 -0
  108. package/lib/index35.cjs.map +1 -0
  109. package/lib/index35.mjs +25 -0
  110. package/lib/index35.mjs.map +1 -0
  111. package/lib/index36.cjs +54 -0
  112. package/lib/index36.cjs.map +1 -0
  113. package/lib/index36.mjs +49 -0
  114. package/lib/index36.mjs.map +1 -0
  115. package/lib/index37.cjs +130 -0
  116. package/lib/index37.cjs.map +1 -0
  117. package/lib/index37.mjs +128 -0
  118. package/lib/index37.mjs.map +1 -0
  119. package/lib/index38.cjs +106 -0
  120. package/lib/index38.cjs.map +1 -0
  121. package/lib/index38.mjs +102 -0
  122. package/lib/index38.mjs.map +1 -0
  123. package/lib/index39.cjs +137 -0
  124. package/lib/index39.cjs.map +1 -0
  125. package/lib/index39.mjs +137 -0
  126. package/lib/index39.mjs.map +1 -0
  127. package/lib/index4.cjs +24 -0
  128. package/lib/index4.cjs.map +1 -0
  129. package/lib/index4.mjs +24 -0
  130. package/lib/index4.mjs.map +1 -0
  131. package/lib/index40.cjs +130 -0
  132. package/lib/index40.cjs.map +1 -0
  133. package/lib/index40.mjs +126 -0
  134. package/lib/index40.mjs.map +1 -0
  135. package/lib/index41.cjs +60 -0
  136. package/lib/index41.cjs.map +1 -0
  137. package/lib/index41.mjs +58 -0
  138. package/lib/index41.mjs.map +1 -0
  139. package/lib/index42.cjs +105 -0
  140. package/lib/index42.cjs.map +1 -0
  141. package/lib/index42.mjs +105 -0
  142. package/lib/index42.mjs.map +1 -0
  143. package/lib/index43.cjs +47 -0
  144. package/lib/index43.cjs.map +1 -0
  145. package/lib/index43.mjs +42 -0
  146. package/lib/index43.mjs.map +1 -0
  147. package/lib/index44.cjs +40 -0
  148. package/lib/index44.cjs.map +1 -0
  149. package/lib/index44.mjs +35 -0
  150. package/lib/index44.mjs.map +1 -0
  151. package/lib/index45.cjs +91 -0
  152. package/lib/index45.cjs.map +1 -0
  153. package/lib/index45.mjs +91 -0
  154. package/lib/index45.mjs.map +1 -0
  155. package/lib/index46.cjs +180 -0
  156. package/lib/index46.cjs.map +1 -0
  157. package/lib/index46.mjs +180 -0
  158. package/lib/index46.mjs.map +1 -0
  159. package/lib/index47.cjs +61 -0
  160. package/lib/index47.cjs.map +1 -0
  161. package/lib/index47.mjs +61 -0
  162. package/lib/index47.mjs.map +1 -0
  163. package/lib/index48.cjs +165 -0
  164. package/lib/index48.cjs.map +1 -0
  165. package/lib/index48.mjs +161 -0
  166. package/lib/index48.mjs.map +1 -0
  167. package/lib/index49.cjs +83 -0
  168. package/lib/index49.cjs.map +1 -0
  169. package/lib/index49.mjs +83 -0
  170. package/lib/index49.mjs.map +1 -0
  171. package/lib/index5.cjs +39 -0
  172. package/lib/index5.cjs.map +1 -0
  173. package/lib/index5.mjs +39 -0
  174. package/lib/index5.mjs.map +1 -0
  175. package/lib/index50.cjs +100 -0
  176. package/lib/index50.cjs.map +1 -0
  177. package/lib/index50.mjs +100 -0
  178. package/lib/index50.mjs.map +1 -0
  179. package/lib/index51.cjs +116 -0
  180. package/lib/index51.cjs.map +1 -0
  181. package/lib/index51.mjs +113 -0
  182. package/lib/index51.mjs.map +1 -0
  183. package/lib/index52.cjs +93 -0
  184. package/lib/index52.cjs.map +1 -0
  185. package/lib/index52.mjs +93 -0
  186. package/lib/index52.mjs.map +1 -0
  187. package/lib/index53.cjs +120 -0
  188. package/lib/index53.cjs.map +1 -0
  189. package/lib/index53.mjs +120 -0
  190. package/lib/index53.mjs.map +1 -0
  191. package/lib/index54.cjs +53 -0
  192. package/lib/index54.cjs.map +1 -0
  193. package/lib/index54.mjs +50 -0
  194. package/lib/index54.mjs.map +1 -0
  195. package/lib/index55.cjs +130 -0
  196. package/lib/index55.cjs.map +1 -0
  197. package/lib/index55.mjs +127 -0
  198. package/lib/index55.mjs.map +1 -0
  199. package/lib/index56.cjs +36 -0
  200. package/lib/index56.cjs.map +1 -0
  201. package/lib/index56.mjs +35 -0
  202. package/lib/index56.mjs.map +1 -0
  203. package/lib/index57.cjs +47 -0
  204. package/lib/index57.cjs.map +1 -0
  205. package/lib/index57.mjs +47 -0
  206. package/lib/index57.mjs.map +1 -0
  207. package/lib/index58.cjs +97 -0
  208. package/lib/index58.cjs.map +1 -0
  209. package/lib/index58.mjs +97 -0
  210. package/lib/index58.mjs.map +1 -0
  211. package/lib/index59.cjs +120 -0
  212. package/lib/index59.cjs.map +1 -0
  213. package/lib/index59.mjs +116 -0
  214. package/lib/index59.mjs.map +1 -0
  215. package/lib/index6.cjs +29 -0
  216. package/lib/index6.cjs.map +1 -0
  217. package/lib/index6.mjs +29 -0
  218. package/lib/index6.mjs.map +1 -0
  219. package/lib/index60.cjs +34 -0
  220. package/lib/index60.cjs.map +1 -0
  221. package/lib/index60.mjs +34 -0
  222. package/lib/index60.mjs.map +1 -0
  223. package/lib/index61.cjs +62 -0
  224. package/lib/index61.cjs.map +1 -0
  225. package/lib/index61.mjs +62 -0
  226. package/lib/index61.mjs.map +1 -0
  227. package/lib/index62.cjs +213 -0
  228. package/lib/index62.cjs.map +1 -0
  229. package/lib/index62.mjs +213 -0
  230. package/lib/index62.mjs.map +1 -0
  231. package/lib/index63.cjs +42 -0
  232. package/lib/index63.cjs.map +1 -0
  233. package/lib/index63.mjs +42 -0
  234. package/lib/index63.mjs.map +1 -0
  235. package/lib/index64.cjs +86 -0
  236. package/lib/index64.cjs.map +1 -0
  237. package/lib/index64.mjs +86 -0
  238. package/lib/index64.mjs.map +1 -0
  239. package/lib/index65.cjs +156 -0
  240. package/lib/index65.cjs.map +1 -0
  241. package/lib/index65.mjs +156 -0
  242. package/lib/index65.mjs.map +1 -0
  243. package/lib/index66.cjs +107 -0
  244. package/lib/index66.cjs.map +1 -0
  245. package/lib/index66.mjs +106 -0
  246. package/lib/index66.mjs.map +1 -0
  247. package/lib/index67.cjs +52 -0
  248. package/lib/index67.cjs.map +1 -0
  249. package/lib/index67.mjs +52 -0
  250. package/lib/index67.mjs.map +1 -0
  251. package/lib/index68.cjs +125 -0
  252. package/lib/index68.cjs.map +1 -0
  253. package/lib/index68.mjs +115 -0
  254. package/lib/index68.mjs.map +1 -0
  255. package/lib/index69.cjs +34 -0
  256. package/lib/index69.cjs.map +1 -0
  257. package/lib/index69.mjs +29 -0
  258. package/lib/index69.mjs.map +1 -0
  259. package/lib/index7.cjs +17 -0
  260. package/lib/index7.cjs.map +1 -0
  261. package/lib/index7.mjs +17 -0
  262. package/lib/index7.mjs.map +1 -0
  263. package/lib/index8.cjs +86 -0
  264. package/lib/index8.cjs.map +1 -0
  265. package/lib/index8.mjs +86 -0
  266. package/lib/index8.mjs.map +1 -0
  267. package/lib/index9.cjs +29 -0
  268. package/lib/index9.cjs.map +1 -0
  269. package/lib/index9.mjs +29 -0
  270. package/lib/index9.mjs.map +1 -0
  271. package/lib/types/index.d.ts +1 -0
  272. package/package.json +68 -0
package/README.md ADDED
@@ -0,0 +1,75 @@
1
+ # React + TypeScript + Vite
2
+
3
+ This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4
+
5
+ Currently, two official plugins are available:
6
+
7
+ - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Oxc](https://oxc.rs)
8
+ - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/)
9
+
10
+ ## React Compiler
11
+
12
+ The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).
13
+
14
+ ## Expanding the ESLint configuration
15
+
16
+ If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
17
+
18
+ ```js
19
+ export default defineConfig([
20
+ globalIgnores(['dist']),
21
+ {
22
+ files: ['**/*.{ts,tsx}'],
23
+ extends: [
24
+ // Other configs...
25
+
26
+ // Remove tseslint.configs.recommended and replace with this
27
+ tseslint.configs.recommendedTypeChecked,
28
+ // Alternatively, use this for stricter rules
29
+ tseslint.configs.strictTypeChecked,
30
+ // Optionally, add this for stylistic rules
31
+ tseslint.configs.stylisticTypeChecked,
32
+
33
+ // Other configs...
34
+ ],
35
+ languageOptions: {
36
+ parserOptions: {
37
+ project: ['./tsconfig.node.json', './tsconfig.app.json'],
38
+ tsconfigRootDir: import.meta.dirname,
39
+ },
40
+ // other options...
41
+ },
42
+ },
43
+ ])
44
+
45
+ ```
46
+
47
+ You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
48
+
49
+ ```js
50
+ // eslint.config.js
51
+ import reactX from 'eslint-plugin-react-x'
52
+ import reactDom from 'eslint-plugin-react-dom'
53
+
54
+ export default defineConfig([
55
+ globalIgnores(['dist']),
56
+ {
57
+ files: ['**/*.{ts,tsx}'],
58
+ extends: [
59
+ // Other configs...
60
+ // Enable lint rules for React
61
+ reactX.configs['recommended-typescript'],
62
+ // Enable lint rules for React DOM
63
+ reactDom.configs.recommended,
64
+ ],
65
+ languageOptions: {
66
+ parserOptions: {
67
+ project: ['./tsconfig.node.json', './tsconfig.app.json'],
68
+ tsconfigRootDir: import.meta.dirname,
69
+ },
70
+ // other options...
71
+ },
72
+ },
73
+ ])
74
+
75
+ ```
@@ -0,0 +1,154 @@
1
+ .react-calendar {
2
+ width: 350px;
3
+ max-width: 100%;
4
+ background: white;
5
+ border: 1px solid #a0a096;
6
+ font-family: 'Arial', 'Helvetica', sans-serif;
7
+ line-height: 1.125em;
8
+ }
9
+
10
+ .react-calendar--doubleView {
11
+ width: 700px;
12
+ }
13
+
14
+ .react-calendar--doubleView .react-calendar__viewContainer {
15
+ display: flex;
16
+ margin: -0.5em;
17
+ }
18
+
19
+ .react-calendar--doubleView .react-calendar__viewContainer > * {
20
+ width: 50%;
21
+ margin: 0.5em;
22
+ }
23
+
24
+ .react-calendar,
25
+ .react-calendar *,
26
+ .react-calendar *:before,
27
+ .react-calendar *:after {
28
+ box-sizing: border-box;
29
+ }
30
+
31
+ .react-calendar button {
32
+ margin: 0;
33
+ border: 0;
34
+ outline: none;
35
+ }
36
+
37
+ .react-calendar button:enabled:hover {
38
+ cursor: pointer;
39
+ }
40
+
41
+ .react-calendar__navigation {
42
+ display: flex;
43
+ height: 44px;
44
+ margin-bottom: 1em;
45
+ }
46
+
47
+ .react-calendar__navigation button {
48
+ min-width: 44px;
49
+ background: none;
50
+ }
51
+
52
+ .react-calendar__navigation button:disabled {
53
+ background-color: #f0f0f0;
54
+ }
55
+
56
+ .react-calendar__navigation button:enabled:hover,
57
+ .react-calendar__navigation button:enabled:focus {
58
+ background-color: #e6e6e6;
59
+ }
60
+
61
+ .react-calendar__month-view__weekdays {
62
+ text-align: center;
63
+ text-transform: uppercase;
64
+ font: inherit;
65
+ font-size: 0.75em;
66
+ font-weight: bold;
67
+ }
68
+
69
+ .react-calendar__month-view__weekdays__weekday {
70
+ padding: 0.5em;
71
+ }
72
+
73
+ .react-calendar__month-view__weekNumbers .react-calendar__tile {
74
+ display: flex;
75
+ align-items: center;
76
+ justify-content: center;
77
+ font: inherit;
78
+ font-size: 0.75em;
79
+ font-weight: bold;
80
+ }
81
+
82
+ .react-calendar__month-view__days__day--weekend {
83
+ color: #d10000;
84
+ }
85
+
86
+ .react-calendar__month-view__days__day--neighboringMonth,
87
+ .react-calendar__decade-view__years__year--neighboringDecade,
88
+ .react-calendar__century-view__decades__decade--neighboringCentury {
89
+ color: #757575;
90
+ }
91
+
92
+ .react-calendar__year-view .react-calendar__tile,
93
+ .react-calendar__decade-view .react-calendar__tile,
94
+ .react-calendar__century-view .react-calendar__tile {
95
+ padding: 2em 0.5em;
96
+ }
97
+
98
+ .react-calendar__tile {
99
+ max-width: 100%;
100
+ padding: 10px 6.6667px;
101
+ background: none;
102
+ text-align: center;
103
+ font: inherit;
104
+ font-size: 0.833em;
105
+ }
106
+
107
+ .react-calendar__tile:disabled {
108
+ background-color: #f0f0f0;
109
+ color: #ababab;
110
+ }
111
+
112
+ .react-calendar__month-view__days__day--neighboringMonth:disabled,
113
+ .react-calendar__decade-view__years__year--neighboringDecade:disabled,
114
+ .react-calendar__century-view__decades__decade--neighboringCentury:disabled {
115
+ color: #cdcdcd;
116
+ }
117
+
118
+ .react-calendar__tile:enabled:hover,
119
+ .react-calendar__tile:enabled:focus {
120
+ background-color: #e6e6e6;
121
+ }
122
+
123
+ .react-calendar__tile--now {
124
+ background: #ffff76;
125
+ }
126
+
127
+ .react-calendar__tile--now:enabled:hover,
128
+ .react-calendar__tile--now:enabled:focus {
129
+ background: #ffffa9;
130
+ }
131
+
132
+ .react-calendar__tile--hasActive {
133
+ background: #76baff;
134
+ }
135
+
136
+ .react-calendar__tile--hasActive:enabled:hover,
137
+ .react-calendar__tile--hasActive:enabled:focus {
138
+ background: #a9d4ff;
139
+ }
140
+
141
+ .react-calendar__tile--active {
142
+ background: #006edc;
143
+ color: white;
144
+ }
145
+
146
+ .react-calendar__tile--active:enabled:hover,
147
+ .react-calendar__tile--active:enabled:focus {
148
+ background: #1087ff;
149
+ }
150
+
151
+ .react-calendar--selectRange .react-calendar__tile--hover {
152
+ background-color: #e6e6e6;
153
+ }
154
+ /*$vite$:1*/
package/lib/index.cjs ADDED
@@ -0,0 +1,183 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_Button = require("./index3.cjs");
3
+ const require_IconButton = require("./index4.cjs");
4
+ const require_Badge = require("./index5.cjs");
5
+ const require_Spinner = require("./index6.cjs");
6
+ const require_Divider = require("./index7.cjs");
7
+ const require_Avatar = require("./index8.cjs");
8
+ const require_Section = require("./index9.cjs");
9
+ const require_PageHeader = require("./index10.cjs");
10
+ const require_Toolbar = require("./index11.cjs");
11
+ const require_FieldContext = require("./index12.cjs");
12
+ const require_Field = require("./index13.cjs");
13
+ const require_FieldInput = require("./index15.cjs");
14
+ const require_Input = require("./index17.cjs");
15
+ const require_Textarea = require("./index18.cjs");
16
+ const require_Select = require("./index19.cjs");
17
+ const require_Checkbox = require("./index20.cjs");
18
+ const require_RadioGroup = require("./index21.cjs");
19
+ const require_Switch = require("./index22.cjs");
20
+ const require_Combobox = require("./index23.cjs");
21
+ const require_DatePicker = require("./index25.cjs");
22
+ const require_OtpInput = require("./index26.cjs");
23
+ const require_FileUpload = require("./index27.cjs");
24
+ const require_FilterChip = require("./index28.cjs");
25
+ const require_SegmentedControl = require("./index29.cjs");
26
+ const require_ValidationSummary = require("./index30.cjs");
27
+ const require_Alert = require("./index31.cjs");
28
+ const require_ErrorBanner = require("./index32.cjs");
29
+ const require_Progress = require("./index33.cjs");
30
+ const require_Skeleton = require("./index34.cjs");
31
+ const require_StatusBadge = require("./index35.cjs");
32
+ const require_typography = require("./index36.cjs");
33
+ const require_Modal = require("./index37.cjs");
34
+ const require_Dialog = require("./index38.cjs");
35
+ const require_Drawer = require("./index39.cjs");
36
+ const require_Popover = require("./index40.cjs");
37
+ const require_Tooltip = require("./index41.cjs");
38
+ const require_ConfirmDialog = require("./index42.cjs");
39
+ const require_dimension = require("./index43.cjs");
40
+ const require_radius = require("./index44.cjs");
41
+ const require_ConfirmAction = require("./index45.cjs");
42
+ const require_CommandPalette = require("./index46.cjs");
43
+ const require_Breadcrumb = require("./index47.cjs");
44
+ const require_Tabs = require("./index48.cjs");
45
+ const require_Pagination = require("./index49.cjs");
46
+ const require_Stepper = require("./index50.cjs");
47
+ const require_Sidebar = require("./index51.cjs");
48
+ const require_Dropdown = require("./index52.cjs");
49
+ const require_Menu = require("./index53.cjs");
50
+ const require_Card = require("./index54.cjs");
51
+ const require_Accordion = require("./index55.cjs");
52
+ const require_DescriptionList = require("./index56.cjs");
53
+ const require_ActivityFeed = require("./index57.cjs");
54
+ const require_ApprovalTimeline = require("./index58.cjs");
55
+ const require_Timeline = require("./index59.cjs");
56
+ const require_EmptyState = require("./index60.cjs");
57
+ const require_EmployeeCard = require("./index61.cjs");
58
+ const require_TreeView = require("./index62.cjs");
59
+ const require_Kanban = require("./index63.cjs");
60
+ const require_PermissionMatrix = require("./index64.cjs");
61
+ const require_Calendar = require("./index65.cjs");
62
+ const require_Charts = require("./index66.cjs");
63
+ const require_statusActions = require("./index67.cjs");
64
+ const require_colors = require("./index68.cjs");
65
+ const require_shadow = require("./index69.cjs");
66
+ exports.Accordion = require_Accordion.Accordion;
67
+ exports.AccordionContent = require_Accordion.AccordionContent;
68
+ exports.AccordionItem = require_Accordion.AccordionItem;
69
+ exports.AccordionTrigger = require_Accordion.AccordionTrigger;
70
+ exports.ActivityFeed = require_ActivityFeed.ActivityFeed;
71
+ exports.Alert = require_Alert.Alert;
72
+ exports.ApprovalTimeline = require_ApprovalTimeline.ApprovalTimeline;
73
+ exports.Avatar = require_Avatar.Avatar;
74
+ exports.Badge = require_Badge.Badge;
75
+ exports.BarChart = require_Charts.BarChart;
76
+ exports.Breadcrumb = require_Breadcrumb.Breadcrumb;
77
+ exports.Button = require_Button.Button;
78
+ exports.Calendar = require_Calendar.Calendar;
79
+ exports.Card = require_Card.Card;
80
+ exports.CardContent = require_Card.CardContent;
81
+ exports.CardFooter = require_Card.CardFooter;
82
+ exports.CardHeader = require_Card.CardHeader;
83
+ exports.Checkbox = require_Checkbox.Checkbox;
84
+ exports.Combobox = require_Combobox.Combobox;
85
+ exports.CommandPalette = require_CommandPalette.CommandPalette;
86
+ exports.ConfirmAction = require_ConfirmAction.ConfirmAction;
87
+ exports.ConfirmDialog = require_ConfirmDialog.ConfirmDialog;
88
+ exports.DatePicker = require_DatePicker.DatePicker;
89
+ exports.DescriptionItem = require_DescriptionList.DescriptionItem;
90
+ exports.DescriptionList = require_DescriptionList.DescriptionList;
91
+ exports.Dialog = require_Dialog.Dialog;
92
+ exports.DialogBody = require_Dialog.DialogBody;
93
+ exports.DialogFooter = require_Dialog.DialogFooter;
94
+ exports.Divider = require_Divider.Divider;
95
+ exports.Drawer = require_Drawer.Drawer;
96
+ exports.Dropdown = require_Dropdown.Dropdown;
97
+ exports.EmployeeCard = require_EmployeeCard.EmployeeCard;
98
+ exports.EmptyState = require_EmptyState.EmptyState;
99
+ exports.ErrorBanner = require_ErrorBanner.ErrorBanner;
100
+ exports.Field = require_Field.Field;
101
+ exports.FieldContext = require_FieldContext.FieldContext;
102
+ exports.FieldInput = require_FieldInput.FieldInput;
103
+ exports.FileUpload = require_FileUpload.FileUpload;
104
+ exports.FilterChip = require_FilterChip.FilterChip;
105
+ exports.IconButton = require_IconButton.IconButton;
106
+ exports.Input = require_Input.Input;
107
+ exports.Kanban = require_Kanban.Kanban;
108
+ exports.LineChart = require_Charts.LineChart;
109
+ exports.Menu = require_Menu.Menu;
110
+ exports.Modal = require_Modal.default;
111
+ exports.OtpInput = require_OtpInput.OtpInput;
112
+ exports.PageHeader = require_PageHeader.PageHeader;
113
+ exports.Pagination = require_Pagination.Pagination;
114
+ exports.PermissionMatrix = require_PermissionMatrix.PermissionMatrix;
115
+ exports.Popover = require_Popover.Popover;
116
+ exports.PopoverContent = require_Popover.PopoverContent;
117
+ exports.PopoverTrigger = require_Popover.PopoverTrigger;
118
+ exports.Progress = require_Progress.Progress;
119
+ exports.RadioGroup = require_RadioGroup.RadioGroup;
120
+ exports.RadioItem = require_RadioGroup.RadioItem;
121
+ exports.Section = require_Section.Section;
122
+ exports.SegmentedControl = require_SegmentedControl.SegmentedControl;
123
+ exports.Select = require_Select.Select;
124
+ exports.SidebarGroup = require_Sidebar.SidebarGroup;
125
+ exports.SidebarItem = require_Sidebar.SidebarItem;
126
+ exports.SidebarNav = require_Sidebar.SidebarNav;
127
+ exports.SidebarSection = require_Sidebar.SidebarSection;
128
+ exports.Skeleton = require_Skeleton.Skeleton;
129
+ exports.SkeletonAvatar = require_Skeleton.SkeletonAvatar;
130
+ exports.SkeletonCard = require_Skeleton.SkeletonCard;
131
+ exports.SkeletonTableRow = require_Skeleton.SkeletonTableRow;
132
+ exports.SkeletonText = require_Skeleton.SkeletonText;
133
+ exports.Spinner = require_Spinner.Spinner;
134
+ exports.StatusBadge = require_StatusBadge.StatusBadge;
135
+ exports.Stepper = require_Stepper.Stepper;
136
+ exports.Switch = require_Switch.Switch;
137
+ exports.Tab = require_Tabs.Tab;
138
+ exports.TabList = require_Tabs.TabList;
139
+ exports.TabPanel = require_Tabs.TabPanel;
140
+ exports.TabPanels = require_Tabs.TabPanels;
141
+ exports.Tabs = require_Tabs.Tabs;
142
+ exports.Textarea = require_Textarea.Textarea;
143
+ exports.Timeline = require_Timeline.Timeline;
144
+ exports.TimelineEmptyState = require_Timeline.TimelineEmptyState;
145
+ exports.TimelineFooter = require_Timeline.TimelineFooter;
146
+ exports.TimelineItem = require_Timeline.TimelineItem;
147
+ exports.TimelineValueCard = require_Timeline.TimelineValueCard;
148
+ exports.Toolbar = require_Toolbar.Toolbar;
149
+ exports.Tooltip = require_Tooltip.Tooltip;
150
+ exports.TreeView = require_TreeView.TreeView;
151
+ exports.ValidationSummary = require_ValidationSummary.ValidationSummary;
152
+ Object.defineProperty(exports, "colors", {
153
+ enumerable: true,
154
+ get: function() {
155
+ return require_colors.colors_exports;
156
+ }
157
+ });
158
+ Object.defineProperty(exports, "dimension", {
159
+ enumerable: true,
160
+ get: function() {
161
+ return require_dimension.dimension_exports;
162
+ }
163
+ });
164
+ Object.defineProperty(exports, "radius", {
165
+ enumerable: true,
166
+ get: function() {
167
+ return require_radius.radius_exports;
168
+ }
169
+ });
170
+ Object.defineProperty(exports, "shadow", {
171
+ enumerable: true,
172
+ get: function() {
173
+ return require_shadow.shadow_exports;
174
+ }
175
+ });
176
+ exports.statusMenuItems = require_statusActions.statusMenuItems;
177
+ Object.defineProperty(exports, "typography", {
178
+ enumerable: true,
179
+ get: function() {
180
+ return require_typography.typography_exports;
181
+ }
182
+ });
183
+ exports.useFieldContext = require_FieldContext.useFieldContext;
package/lib/index.mjs ADDED
@@ -0,0 +1,65 @@
1
+ import { Button } from "./index3.mjs";
2
+ import { IconButton } from "./index4.mjs";
3
+ import { Badge } from "./index5.mjs";
4
+ import { Spinner } from "./index6.mjs";
5
+ import { Divider } from "./index7.mjs";
6
+ import { Avatar } from "./index8.mjs";
7
+ import { Section } from "./index9.mjs";
8
+ import { PageHeader } from "./index10.mjs";
9
+ import { Toolbar } from "./index11.mjs";
10
+ import { FieldContext, useFieldContext } from "./index12.mjs";
11
+ import { Field } from "./index13.mjs";
12
+ import { FieldInput } from "./index15.mjs";
13
+ import { Input } from "./index17.mjs";
14
+ import { Textarea } from "./index18.mjs";
15
+ import { Select } from "./index19.mjs";
16
+ import { Checkbox } from "./index20.mjs";
17
+ import { RadioGroup, RadioItem } from "./index21.mjs";
18
+ import { Switch } from "./index22.mjs";
19
+ import { Combobox } from "./index23.mjs";
20
+ import { DatePicker } from "./index25.mjs";
21
+ import { OtpInput } from "./index26.mjs";
22
+ import { FileUpload } from "./index27.mjs";
23
+ import { FilterChip } from "./index28.mjs";
24
+ import { SegmentedControl } from "./index29.mjs";
25
+ import { ValidationSummary } from "./index30.mjs";
26
+ import { Alert } from "./index31.mjs";
27
+ import { ErrorBanner } from "./index32.mjs";
28
+ import { Progress } from "./index33.mjs";
29
+ import { Skeleton, SkeletonAvatar, SkeletonCard, SkeletonTableRow, SkeletonText } from "./index34.mjs";
30
+ import { StatusBadge } from "./index35.mjs";
31
+ import { typography_exports } from "./index36.mjs";
32
+ import Modal from "./index37.mjs";
33
+ import { Dialog, DialogBody, DialogFooter } from "./index38.mjs";
34
+ import { Drawer } from "./index39.mjs";
35
+ import { Popover, PopoverContent, PopoverTrigger } from "./index40.mjs";
36
+ import { Tooltip } from "./index41.mjs";
37
+ import { ConfirmDialog } from "./index42.mjs";
38
+ import { dimension_exports } from "./index43.mjs";
39
+ import { radius_exports } from "./index44.mjs";
40
+ import { ConfirmAction } from "./index45.mjs";
41
+ import { CommandPalette } from "./index46.mjs";
42
+ import { Breadcrumb } from "./index47.mjs";
43
+ import { Tab, TabList, TabPanel, TabPanels, Tabs } from "./index48.mjs";
44
+ import { Pagination } from "./index49.mjs";
45
+ import { Stepper } from "./index50.mjs";
46
+ import { SidebarGroup, SidebarItem, SidebarNav, SidebarSection } from "./index51.mjs";
47
+ import { Dropdown } from "./index52.mjs";
48
+ import { Menu } from "./index53.mjs";
49
+ import { Card, CardContent, CardFooter, CardHeader } from "./index54.mjs";
50
+ import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "./index55.mjs";
51
+ import { DescriptionItem, DescriptionList } from "./index56.mjs";
52
+ import { ActivityFeed } from "./index57.mjs";
53
+ import { ApprovalTimeline } from "./index58.mjs";
54
+ import { Timeline, TimelineEmptyState, TimelineFooter, TimelineItem, TimelineValueCard } from "./index59.mjs";
55
+ import { EmptyState } from "./index60.mjs";
56
+ import { EmployeeCard } from "./index61.mjs";
57
+ import { TreeView } from "./index62.mjs";
58
+ import { Kanban } from "./index63.mjs";
59
+ import { PermissionMatrix } from "./index64.mjs";
60
+ import { Calendar } from "./index65.mjs";
61
+ import { BarChart, LineChart } from "./index66.mjs";
62
+ import { statusMenuItems } from "./index67.mjs";
63
+ import { colors_exports } from "./index68.mjs";
64
+ import { shadow_exports } from "./index69.mjs";
65
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivityFeed, Alert, ApprovalTimeline, Avatar, Badge, BarChart, Breadcrumb, Button, Calendar, Card, CardContent, CardFooter, CardHeader, Checkbox, Combobox, CommandPalette, ConfirmAction, ConfirmDialog, DatePicker, DescriptionItem, DescriptionList, Dialog, DialogBody, DialogFooter, Divider, Drawer, Dropdown, EmployeeCard, EmptyState, ErrorBanner, Field, FieldContext, FieldInput, FileUpload, FilterChip, IconButton, Input, Kanban, LineChart, Menu, Modal, OtpInput, PageHeader, Pagination, PermissionMatrix, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioItem, Section, SegmentedControl, Select, SidebarGroup, SidebarItem, SidebarNav, SidebarSection, Skeleton, SkeletonAvatar, SkeletonCard, SkeletonTableRow, SkeletonText, Spinner, StatusBadge, Stepper, Switch, Tab, TabList, TabPanel, TabPanels, Tabs, Textarea, Timeline, TimelineEmptyState, TimelineFooter, TimelineItem, TimelineValueCard, Toolbar, Tooltip, TreeView, ValidationSummary, colors_exports as colors, dimension_exports as dimension, radius_exports as radius, shadow_exports as shadow, statusMenuItems, typography_exports as typography, useFieldContext };
@@ -0,0 +1,33 @@
1
+ let react_jsx_runtime = require("react/jsx-runtime");
2
+ //#region src/ui-library/gallery/page-header/PageHeader.tsx
3
+ function PageHeader({ title, subtitle, icon, actions, className = "" }) {
4
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5
+ className,
6
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
7
+ className: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
8
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
9
+ className: "flex items-start gap-4",
10
+ children: [icon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
11
+ className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-2xl bg-brand-blue text-white shadow-lg shadow-brand-blue/20",
12
+ children: icon
13
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
14
+ className: "border-l-4 border-brand-blue pl-4",
15
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", {
16
+ className: "font-heading text-3xl font-bold tracking-tight text-slate-900",
17
+ children: title
18
+ }), subtitle && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
19
+ className: "mt-1 max-w-4xl text-base font-medium leading-relaxed text-slate-500",
20
+ children: subtitle
21
+ })]
22
+ })]
23
+ }), actions && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
24
+ className: "flex shrink-0 flex-wrap items-center gap-2",
25
+ children: actions
26
+ })]
27
+ })
28
+ });
29
+ }
30
+ //#endregion
31
+ exports.PageHeader = PageHeader;
32
+
33
+ //# sourceMappingURL=index10.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index10.cjs","names":[],"sources":["../src/ui-library/gallery/page-header/PageHeader.tsx"],"sourcesContent":["/**\n * PageHeader — Design System Component\n *\n * Standard page title area. Used at the top of list and detail pages.\n * Matches the production PageHeader in shared/components/ui.tsx.\n *\n * Renders:\n * - Optional icon badge (indigo square)\n * - Required title as <h1>\n * - Optional subtitle as <p>\n * - Optional actions slot (top-right on desktop, stacked below on mobile)\n *\n * Accessibility:\n * - title renders as <h1>. Each page should have exactly one <h1>.\n * - The icon badge is decorative — mark the icon aria-hidden=\"true\" at the call site.\n * - No ARIA role on the container — the <h1> alone establishes page context.\n *\n * Usage:\n * <PageHeader\n * icon={<Building2 size={20} aria-hidden=\"true\" />}\n * title=\"Company Structure\"\n * subtitle=\"Manage departments and reporting relationships.\"\n * actions={<button className={btnPrimary}>Add Department</button>}\n * />\n */\n\nimport type { ReactNode } from 'react';\n\nexport interface PageHeaderProps {\n /** Page heading. Rendered as <h1>. Required. */\n title: string;\n /** Optional description below the heading. Rendered as <p>. */\n subtitle?: string;\n /**\n * Optional icon rendered inside an indigo badge.\n * Mark the icon aria-hidden=\"true\" — the heading provides the accessible name.\n */\n icon?: ReactNode;\n /**\n * Optional action buttons or links.\n * Rendered top-right on desktop, stacked below the title on mobile.\n */\n actions?: ReactNode;\n /** Additional class on the root container. */\n className?: string;\n}\n\nexport function PageHeader({ title, subtitle, icon, actions, className = '' }: PageHeaderProps) {\n return (\n <div className={className}>\n <div className=\"flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between\">\n {/* Left: icon + title + subtitle */}\n <div className=\"flex items-start gap-4\">\n {icon && (\n <div className=\"flex h-12 w-12 shrink-0 items-center justify-center rounded-2xl bg-brand-blue text-white shadow-lg shadow-brand-blue/20\">\n {icon}\n </div>\n )}\n <div className=\"border-l-4 border-brand-blue pl-4\">\n <h1 className=\"font-heading text-3xl font-bold tracking-tight text-slate-900\">{title}</h1>\n {subtitle && (\n <p className=\"mt-1 max-w-4xl text-base font-medium leading-relaxed text-slate-500\">\n {subtitle}\n </p>\n )}\n </div>\n </div>\n\n {/* Right: actions */}\n {actions && (\n <div className=\"flex shrink-0 flex-wrap items-center gap-2\">\n {actions}\n </div>\n )}\n </div>\n </div>\n );\n}\n"],"mappings":";;AA+CA,SAAgB,WAAW,EAAE,OAAO,UAAU,MAAM,SAAS,YAAY,MAAuB;CAC9F,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAgB;EACd,UAAA,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;GAAK,WAAU;GAAf,UAAA,CAEE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;IAAK,WAAU;IAAf,UAAA,CACG,QACC,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;KAAK,WAAU;KACZ,UAAA;IACE,CAAA,GAEP,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;KAAK,WAAU;KAAf,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;MAAI,WAAU;MAAiE,UAAA;KAAU,CAAA,GACxF,YACC,iBAAA,GAAA,kBAAA,IAAA,CAAC,KAAD;MAAG,WAAU;MACV,UAAA;KACA,CAAA,CAEF;IACF,CAAA,CAAA;GAGJ,CAAA,GAAA,WACC,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;IAAK,WAAU;IACZ,UAAA;GACE,CAAA,CAEJ;;CACF,CAAA;AAET"}
@@ -0,0 +1,33 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ //#region src/ui-library/gallery/page-header/PageHeader.tsx
3
+ function PageHeader({ title, subtitle, icon, actions, className = "" }) {
4
+ return /* @__PURE__ */ jsx("div", {
5
+ className,
6
+ children: /* @__PURE__ */ jsxs("div", {
7
+ className: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
8
+ children: [/* @__PURE__ */ jsxs("div", {
9
+ className: "flex items-start gap-4",
10
+ children: [icon && /* @__PURE__ */ jsx("div", {
11
+ className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-2xl bg-brand-blue text-white shadow-lg shadow-brand-blue/20",
12
+ children: icon
13
+ }), /* @__PURE__ */ jsxs("div", {
14
+ className: "border-l-4 border-brand-blue pl-4",
15
+ children: [/* @__PURE__ */ jsx("h1", {
16
+ className: "font-heading text-3xl font-bold tracking-tight text-slate-900",
17
+ children: title
18
+ }), subtitle && /* @__PURE__ */ jsx("p", {
19
+ className: "mt-1 max-w-4xl text-base font-medium leading-relaxed text-slate-500",
20
+ children: subtitle
21
+ })]
22
+ })]
23
+ }), actions && /* @__PURE__ */ jsx("div", {
24
+ className: "flex shrink-0 flex-wrap items-center gap-2",
25
+ children: actions
26
+ })]
27
+ })
28
+ });
29
+ }
30
+ //#endregion
31
+ export { PageHeader };
32
+
33
+ //# sourceMappingURL=index10.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index10.mjs","names":[],"sources":["../src/ui-library/gallery/page-header/PageHeader.tsx"],"sourcesContent":["/**\n * PageHeader — Design System Component\n *\n * Standard page title area. Used at the top of list and detail pages.\n * Matches the production PageHeader in shared/components/ui.tsx.\n *\n * Renders:\n * - Optional icon badge (indigo square)\n * - Required title as <h1>\n * - Optional subtitle as <p>\n * - Optional actions slot (top-right on desktop, stacked below on mobile)\n *\n * Accessibility:\n * - title renders as <h1>. Each page should have exactly one <h1>.\n * - The icon badge is decorative — mark the icon aria-hidden=\"true\" at the call site.\n * - No ARIA role on the container — the <h1> alone establishes page context.\n *\n * Usage:\n * <PageHeader\n * icon={<Building2 size={20} aria-hidden=\"true\" />}\n * title=\"Company Structure\"\n * subtitle=\"Manage departments and reporting relationships.\"\n * actions={<button className={btnPrimary}>Add Department</button>}\n * />\n */\n\nimport type { ReactNode } from 'react';\n\nexport interface PageHeaderProps {\n /** Page heading. Rendered as <h1>. Required. */\n title: string;\n /** Optional description below the heading. Rendered as <p>. */\n subtitle?: string;\n /**\n * Optional icon rendered inside an indigo badge.\n * Mark the icon aria-hidden=\"true\" — the heading provides the accessible name.\n */\n icon?: ReactNode;\n /**\n * Optional action buttons or links.\n * Rendered top-right on desktop, stacked below the title on mobile.\n */\n actions?: ReactNode;\n /** Additional class on the root container. */\n className?: string;\n}\n\nexport function PageHeader({ title, subtitle, icon, actions, className = '' }: PageHeaderProps) {\n return (\n <div className={className}>\n <div className=\"flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between\">\n {/* Left: icon + title + subtitle */}\n <div className=\"flex items-start gap-4\">\n {icon && (\n <div className=\"flex h-12 w-12 shrink-0 items-center justify-center rounded-2xl bg-brand-blue text-white shadow-lg shadow-brand-blue/20\">\n {icon}\n </div>\n )}\n <div className=\"border-l-4 border-brand-blue pl-4\">\n <h1 className=\"font-heading text-3xl font-bold tracking-tight text-slate-900\">{title}</h1>\n {subtitle && (\n <p className=\"mt-1 max-w-4xl text-base font-medium leading-relaxed text-slate-500\">\n {subtitle}\n </p>\n )}\n </div>\n </div>\n\n {/* Right: actions */}\n {actions && (\n <div className=\"flex shrink-0 flex-wrap items-center gap-2\">\n {actions}\n </div>\n )}\n </div>\n </div>\n );\n}\n"],"mappings":";;AA+CA,SAAgB,WAAW,EAAE,OAAO,UAAU,MAAM,SAAS,YAAY,MAAuB;CAC9F,OACE,oBAAC,OAAD;EAAgB;EACd,UAAA,qBAAC,OAAD;GAAK,WAAU;GAAf,UAAA,CAEE,qBAAC,OAAD;IAAK,WAAU;IAAf,UAAA,CACG,QACC,oBAAC,OAAD;KAAK,WAAU;KACZ,UAAA;IACE,CAAA,GAEP,qBAAC,OAAD;KAAK,WAAU;KAAf,UAAA,CACE,oBAAC,MAAD;MAAI,WAAU;MAAiE,UAAA;KAAU,CAAA,GACxF,YACC,oBAAC,KAAD;MAAG,WAAU;MACV,UAAA;KACA,CAAA,CAEF;IACF,CAAA,CAAA;GAGJ,CAAA,GAAA,WACC,oBAAC,OAAD;IAAK,WAAU;IACZ,UAAA;GACE,CAAA,CAEJ;;CACF,CAAA;AAET"}
@@ -0,0 +1,16 @@
1
+ let react_jsx_runtime = require("react/jsx-runtime");
2
+ //#region src/ui-library/gallery/toolbar/Toolbar.tsx
3
+ function Toolbar({ left, right, className = "" }) {
4
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5
+ className: [
6
+ "w-full flex flex-wrap items-center justify-between gap-4",
7
+ "bg-white p-2 border border-slate-100 rounded-2xl shadow-sm",
8
+ className
9
+ ].filter(Boolean).join(" "),
10
+ children: [left, right]
11
+ });
12
+ }
13
+ //#endregion
14
+ exports.Toolbar = Toolbar;
15
+
16
+ //# sourceMappingURL=index11.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index11.cjs","names":[],"sources":["../src/ui-library/gallery/toolbar/Toolbar.tsx"],"sourcesContent":["/**\n * Toolbar — Design System Component\n *\n * Two-slot horizontal layout container for filter controls and actions.\n * Purely presentational — owns only the outer white pill layout.\n *\n * Left slot: filter dropdowns, segmented controls, pill buttons\n * Right slot: search input, primary action button (optional)\n *\n * Usage:\n * <Toolbar\n * left={<FilterControls />}\n * right={<SearchInput />}\n * />\n */\n\nimport type { ReactNode } from 'react';\n\nexport interface ToolbarProps {\n /** Left slot — typically filter controls or dropdown triggers. */\n left: ReactNode;\n /** Right slot — typically a search input or primary action button. */\n right?: ReactNode;\n /** Additional class on the outer container. */\n className?: string;\n}\n\nexport function Toolbar({ left, right, className = '' }: ToolbarProps) {\n return (\n <div\n className={[\n 'w-full flex flex-wrap items-center justify-between gap-4',\n 'bg-white p-2 border border-slate-100 rounded-2xl shadow-sm',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {left}\n {right}\n </div>\n );\n}\n"],"mappings":";;AA2BA,SAAgB,QAAQ,EAAE,MAAM,OAAO,YAAY,MAAoB;CACrE,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;EACE,WAAW;GACT;GACA;GACA;EACF,CAAC,CACE,OAAO,OAAO,CAAC,CACf,KAAK,GAAG;EAPb,UAAA,CASG,MACA,KACE;;AAET"}
@@ -0,0 +1,16 @@
1
+ import { jsxs } from "react/jsx-runtime";
2
+ //#region src/ui-library/gallery/toolbar/Toolbar.tsx
3
+ function Toolbar({ left, right, className = "" }) {
4
+ return /* @__PURE__ */ jsxs("div", {
5
+ className: [
6
+ "w-full flex flex-wrap items-center justify-between gap-4",
7
+ "bg-white p-2 border border-slate-100 rounded-2xl shadow-sm",
8
+ className
9
+ ].filter(Boolean).join(" "),
10
+ children: [left, right]
11
+ });
12
+ }
13
+ //#endregion
14
+ export { Toolbar };
15
+
16
+ //# sourceMappingURL=index11.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index11.mjs","names":[],"sources":["../src/ui-library/gallery/toolbar/Toolbar.tsx"],"sourcesContent":["/**\n * Toolbar — Design System Component\n *\n * Two-slot horizontal layout container for filter controls and actions.\n * Purely presentational — owns only the outer white pill layout.\n *\n * Left slot: filter dropdowns, segmented controls, pill buttons\n * Right slot: search input, primary action button (optional)\n *\n * Usage:\n * <Toolbar\n * left={<FilterControls />}\n * right={<SearchInput />}\n * />\n */\n\nimport type { ReactNode } from 'react';\n\nexport interface ToolbarProps {\n /** Left slot — typically filter controls or dropdown triggers. */\n left: ReactNode;\n /** Right slot — typically a search input or primary action button. */\n right?: ReactNode;\n /** Additional class on the outer container. */\n className?: string;\n}\n\nexport function Toolbar({ left, right, className = '' }: ToolbarProps) {\n return (\n <div\n className={[\n 'w-full flex flex-wrap items-center justify-between gap-4',\n 'bg-white p-2 border border-slate-100 rounded-2xl shadow-sm',\n className,\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {left}\n {right}\n </div>\n );\n}\n"],"mappings":";;AA2BA,SAAgB,QAAQ,EAAE,MAAM,OAAO,YAAY,MAAoB;CACrE,OACE,qBAAC,OAAD;EACE,WAAW;GACT;GACA;GACA;EACF,CAAC,CACE,OAAO,OAAO,CAAC,CACf,KAAK,GAAG;EAPb,UAAA,CASG,MACA,KACE;;AAET"}
@@ -0,0 +1,16 @@
1
+ let react = require("react");
2
+ //#region src/ui-library/gallery/field/FieldContext.ts
3
+ /**
4
+ * FieldContext — Gallery-native version.
5
+ * Copied from shared/components/FieldContext.ts.
6
+ */
7
+ var FieldContext = (0, react.createContext)(null);
8
+ /** Returns the nearest Field's context, or null when used outside a Field. */
9
+ function useFieldContext() {
10
+ return (0, react.use)(FieldContext);
11
+ }
12
+ //#endregion
13
+ exports.FieldContext = FieldContext;
14
+ exports.useFieldContext = useFieldContext;
15
+
16
+ //# sourceMappingURL=index12.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index12.cjs","names":[],"sources":["../src/ui-library/gallery/field/FieldContext.ts"],"sourcesContent":["/**\n * FieldContext — Gallery-native version.\n * Copied from shared/components/FieldContext.ts.\n */\nimport { createContext, use } from 'react';\n\nexport interface FieldContextValue {\n inputId: string;\n errorId: string;\n required: boolean;\n invalid: boolean;\n}\n\nexport const FieldContext = createContext<FieldContextValue | null>(null);\n\n/** Returns the nearest Field's context, or null when used outside a Field. */\nexport function useFieldContext(): FieldContextValue | null {\n return use(FieldContext);\n}\n"],"mappings":";;;;;;AAaA,IAAa,gBAAA,GAAe,MAAA,cAAA,CAAwC,IAAI;;AAGxE,SAAgB,kBAA4C;CAC1D,QAAA,GAAO,MAAA,IAAA,CAAI,YAAY;AACzB"}
@@ -0,0 +1,15 @@
1
+ import { createContext, use } from "react";
2
+ //#region src/ui-library/gallery/field/FieldContext.ts
3
+ /**
4
+ * FieldContext — Gallery-native version.
5
+ * Copied from shared/components/FieldContext.ts.
6
+ */
7
+ var FieldContext = createContext(null);
8
+ /** Returns the nearest Field's context, or null when used outside a Field. */
9
+ function useFieldContext() {
10
+ return use(FieldContext);
11
+ }
12
+ //#endregion
13
+ export { FieldContext, useFieldContext };
14
+
15
+ //# sourceMappingURL=index12.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index12.mjs","names":[],"sources":["../src/ui-library/gallery/field/FieldContext.ts"],"sourcesContent":["/**\n * FieldContext — Gallery-native version.\n * Copied from shared/components/FieldContext.ts.\n */\nimport { createContext, use } from 'react';\n\nexport interface FieldContextValue {\n inputId: string;\n errorId: string;\n required: boolean;\n invalid: boolean;\n}\n\nexport const FieldContext = createContext<FieldContextValue | null>(null);\n\n/** Returns the nearest Field's context, or null when used outside a Field. */\nexport function useFieldContext(): FieldContextValue | null {\n return use(FieldContext);\n}\n"],"mappings":";;;;;;AAaA,IAAa,eAAe,cAAwC,IAAI;;AAGxE,SAAgB,kBAA4C;CAC1D,OAAO,IAAI,YAAY;AACzB"}