@fragments-sdk/ui 0.2.2 → 0.3.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/src/index.ts CHANGED
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  // Import CSS variables and base styles
2
4
  // This ensures --fui-* variables are available when using any component
3
5
  import './styles/globals.scss';
@@ -150,5 +152,49 @@ export {
150
152
  type ToastPosition,
151
153
  } from './components/Toast';
152
154
 
155
+ // Field
156
+ export {
157
+ Field,
158
+ type FieldProps,
159
+ type FieldLabelProps,
160
+ type FieldControlProps,
161
+ type FieldDescriptionProps,
162
+ type FieldErrorProps,
163
+ type FieldValidityProps,
164
+ } from './components/Field';
165
+
166
+ // Fieldset
167
+ export {
168
+ Fieldset,
169
+ type FieldsetProps,
170
+ type FieldsetLegendProps,
171
+ } from './components/Fieldset';
172
+
173
+ // Form
174
+ export { Form, type FormProps } from './components/Form';
175
+
176
+ // Sidebar
177
+ export {
178
+ Sidebar,
179
+ SidebarProvider,
180
+ useSidebar,
181
+ useSidebarContext, // deprecated, use useSidebar instead
182
+ type SidebarProviderProps,
183
+ type SidebarProps,
184
+ type SidebarHeaderProps,
185
+ type SidebarNavProps,
186
+ type SidebarSectionProps,
187
+ type SidebarSectionActionProps,
188
+ type SidebarItemProps,
189
+ type SidebarSubItemProps,
190
+ type SidebarFooterProps,
191
+ type SidebarTriggerProps,
192
+ type SidebarOverlayProps,
193
+ type SidebarCollapseToggleProps,
194
+ type SidebarRailProps,
195
+ type SidebarMenuSkeletonProps,
196
+ type SidebarCollapsible,
197
+ } from './components/Sidebar';
198
+
153
199
  // Brand
154
200
  export { BRAND, type Brand } from './brand';