@syscore/ui-library 1.7.8 → 1.9.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/client/components/ui/accordion.tsx +501 -45
- package/client/components/ui/label.tsx +1 -1
- package/client/components/ui/tag.tsx +41 -14
- package/client/components/ui/toggle.tsx +16 -24
- package/client/global.css +31 -5
- package/client/lib/utils.ts +6 -0
- package/client/ui/Accordion.stories.tsx +430 -0
- package/client/ui/PageHeader.stories.tsx +6 -4
- package/client/ui/Panel.stories.tsx +513 -436
- package/client/ui/Tag.stories.tsx +153 -46
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +30 -30
- package/dist/index.es.js +415 -466
- package/package.json +1 -1
- package/client/components/ui/code-badge.tsx +0 -22
- package/client/components/ui/standard-table.tsx +0 -554
- package/client/ui/Accordion/Accordion.stories.tsx +0 -74
- package/client/ui/CodeBadge.stories.tsx +0 -76
- package/client/ui/StandardTable.stories.tsx +0 -311
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { Accordion } from '../client/components/ui/accordion';
|
|
2
|
+
import { AccordionContainer } from '../client/components/ui/accordion';
|
|
2
3
|
import { AccordionContent } from '../client/components/ui/accordion';
|
|
4
|
+
import { AccordionHeader } from '../client/components/ui/accordion';
|
|
5
|
+
import { AccordionHeaderRow } from '../client/components/ui/accordion';
|
|
3
6
|
import { AccordionItem } from '../client/components/ui/accordion';
|
|
7
|
+
import { AccordionListRow } from '../client/components/ui/accordion';
|
|
8
|
+
import { AccordionSectionHeader } from '../client/components/ui/accordion';
|
|
4
9
|
import { AccordionTrigger } from '../client/components/ui/accordion';
|
|
5
10
|
import { Alert } from '../client/components/ui/alert';
|
|
6
11
|
import { AlertDescription } from '../client/components/ui/alert';
|
|
@@ -35,6 +40,7 @@ import { BreadcrumbSeparator } from '../client/components/ui/breadcrumb';
|
|
|
35
40
|
import { Button } from '../client/components/ui/button';
|
|
36
41
|
import { buttonVariants } from '../client/components/ui/button';
|
|
37
42
|
import { Calendar } from '../client/components/ui/calendar';
|
|
43
|
+
import { capitalize } from '../client/lib/utils';
|
|
38
44
|
import { Card } from '../client/components/ui/card';
|
|
39
45
|
import { CardContent } from '../client/components/ui/card';
|
|
40
46
|
import { CardDescription } from '../client/components/ui/card';
|
|
@@ -54,7 +60,6 @@ import { ChartTooltip } from '../client/components/ui/chart';
|
|
|
54
60
|
import { ChartTooltipContent } from '../client/components/ui/chart';
|
|
55
61
|
import { Checkbox } from '../client/components/ui/checkbox';
|
|
56
62
|
import { cn } from '../client/lib/utils';
|
|
57
|
-
import { CodeBadge } from '../client/components/ui/code-badge';
|
|
58
63
|
import { Collapsible } from '../client/components/ui/collapsible';
|
|
59
64
|
import { CollapsibleContent } from '../client/components/ui/collapsible';
|
|
60
65
|
import { CollapsibleTrigger } from '../client/components/ui/collapsible';
|
|
@@ -253,15 +258,6 @@ import { Slider } from '../client/components/ui/slider';
|
|
|
253
258
|
import { Toaster as Sonner } from '../client/components/ui/sonner';
|
|
254
259
|
import { StandardLogo } from '../client/components/icons/StandardLogo';
|
|
255
260
|
import { StandardNavigation } from '../client/components/ui/standard-navigation';
|
|
256
|
-
import { StandardTable } from '../client/components/ui/standard-table';
|
|
257
|
-
import { StandardTableContainer } from '../client/components/ui/standard-table';
|
|
258
|
-
import { StandardTableContent } from '../client/components/ui/standard-table';
|
|
259
|
-
import { StandardTableHeader } from '../client/components/ui/standard-table';
|
|
260
|
-
import { StandardTableHeaderRow } from '../client/components/ui/standard-table';
|
|
261
|
-
import { StandardTableListRow } from '../client/components/ui/standard-table';
|
|
262
|
-
import { StandardTableRow } from '../client/components/ui/standard-table';
|
|
263
|
-
import { StandardTableRowHeader } from '../client/components/ui/standard-table';
|
|
264
|
-
import { StandardTableTrigger } from '../client/components/ui/standard-table';
|
|
265
261
|
import { Switch } from '../client/components/ui/switch';
|
|
266
262
|
import { Tab } from '../client/hooks/use-tabs';
|
|
267
263
|
import { Table } from '../client/components/ui/table';
|
|
@@ -279,6 +275,7 @@ import { TabsTrigger } from '../client/components/ui/tabs';
|
|
|
279
275
|
import { Tag } from '../client/components/ui/tag';
|
|
280
276
|
import { TagProps } from '../client/components/ui/tag';
|
|
281
277
|
import { TagStatus } from '../client/components/ui/tag';
|
|
278
|
+
import { TagVariant } from '../client/components/ui/tag';
|
|
282
279
|
import { Text as Text_2 } from '../client/components/ui/typography';
|
|
283
280
|
import { Textarea } from '../client/components/ui/textarea';
|
|
284
281
|
import { Toast } from '../client/components/ui/toast';
|
|
@@ -296,6 +293,9 @@ import { Tooltip } from '../client/components/ui/tooltip';
|
|
|
296
293
|
import { TooltipContent } from '../client/components/ui/tooltip';
|
|
297
294
|
import { TooltipProvider } from '../client/components/ui/tooltip';
|
|
298
295
|
import { TooltipTrigger } from '../client/components/ui/tooltip';
|
|
296
|
+
import { useAccordion } from '../client/components/ui/accordion';
|
|
297
|
+
import { useAccordionItem } from '../client/components/ui/accordion';
|
|
298
|
+
import { useAccordionState } from '../client/components/ui/accordion';
|
|
299
299
|
import { useIsMobile } from '../client/hooks/use-mobile';
|
|
300
300
|
import { useSegmentedControl } from '../client/hooks/use-segmented-control';
|
|
301
301
|
import { UseSegmentedControlOptions } from '../client/hooks/use-segmented-control';
|
|
@@ -331,10 +331,20 @@ import { X } from '../client/components/icons/X';
|
|
|
331
331
|
|
|
332
332
|
export { Accordion }
|
|
333
333
|
|
|
334
|
+
export { AccordionContainer }
|
|
335
|
+
|
|
334
336
|
export { AccordionContent }
|
|
335
337
|
|
|
338
|
+
export { AccordionHeader }
|
|
339
|
+
|
|
340
|
+
export { AccordionHeaderRow }
|
|
341
|
+
|
|
336
342
|
export { AccordionItem }
|
|
337
343
|
|
|
344
|
+
export { AccordionListRow }
|
|
345
|
+
|
|
346
|
+
export { AccordionSectionHeader }
|
|
347
|
+
|
|
338
348
|
export { AccordionTrigger }
|
|
339
349
|
|
|
340
350
|
export { Alert }
|
|
@@ -403,6 +413,8 @@ export { buttonVariants }
|
|
|
403
413
|
|
|
404
414
|
export { Calendar }
|
|
405
415
|
|
|
416
|
+
export { capitalize }
|
|
417
|
+
|
|
406
418
|
export { Card }
|
|
407
419
|
|
|
408
420
|
export { CardContent }
|
|
@@ -441,8 +453,6 @@ export { Checkbox }
|
|
|
441
453
|
|
|
442
454
|
export { cn }
|
|
443
455
|
|
|
444
|
-
export { CodeBadge }
|
|
445
|
-
|
|
446
456
|
export { Collapsible }
|
|
447
457
|
|
|
448
458
|
export { CollapsibleContent }
|
|
@@ -839,24 +849,6 @@ export { StandardLogo }
|
|
|
839
849
|
|
|
840
850
|
export { StandardNavigation }
|
|
841
851
|
|
|
842
|
-
export { StandardTable }
|
|
843
|
-
|
|
844
|
-
export { StandardTableContainer }
|
|
845
|
-
|
|
846
|
-
export { StandardTableContent }
|
|
847
|
-
|
|
848
|
-
export { StandardTableHeader }
|
|
849
|
-
|
|
850
|
-
export { StandardTableHeaderRow }
|
|
851
|
-
|
|
852
|
-
export { StandardTableListRow }
|
|
853
|
-
|
|
854
|
-
export { StandardTableRow }
|
|
855
|
-
|
|
856
|
-
export { StandardTableRowHeader }
|
|
857
|
-
|
|
858
|
-
export { StandardTableTrigger }
|
|
859
|
-
|
|
860
852
|
export { Switch }
|
|
861
853
|
|
|
862
854
|
export { Tab }
|
|
@@ -891,6 +883,8 @@ export { TagProps }
|
|
|
891
883
|
|
|
892
884
|
export { TagStatus }
|
|
893
885
|
|
|
886
|
+
export { TagVariant }
|
|
887
|
+
|
|
894
888
|
export { Text_2 as Text }
|
|
895
889
|
|
|
896
890
|
export { Textarea }
|
|
@@ -925,6 +919,12 @@ export { TooltipProvider }
|
|
|
925
919
|
|
|
926
920
|
export { TooltipTrigger }
|
|
927
921
|
|
|
922
|
+
export { useAccordion }
|
|
923
|
+
|
|
924
|
+
export { useAccordionItem }
|
|
925
|
+
|
|
926
|
+
export { useAccordionState }
|
|
927
|
+
|
|
928
928
|
export { useIsMobile }
|
|
929
929
|
|
|
930
930
|
export { useSegmentedControl }
|