@lssm/lib.ui-kit-web 0.0.0-canary-20251225044228 → 0.0.0-canary-20251225070736
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/README.md +4 -0
- package/dist/ui/accordion.d.ts +5 -5
- package/dist/ui/alert-dialog.d.ts +12 -12
- package/dist/ui/alert-dialog.d.ts.map +1 -1
- package/dist/ui/alert.d.ts +6 -6
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/avatar.d.ts +4 -4
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/badge.d.ts +4 -4
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/breadcrumb.d.ts +8 -8
- package/dist/ui/button.d.ts +5 -5
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/calendar.d.ts +3 -3
- package/dist/ui/card.d.ts +8 -8
- package/dist/ui/carousel.d.ts +6 -6
- package/dist/ui/checkbox.d.ts +2 -2
- package/dist/ui/collapsible.d.ts +4 -4
- package/dist/ui/command.d.ts +10 -10
- package/dist/ui/confirm-dialog.d.ts +2 -2
- package/dist/ui/confirm-dialog.d.ts.map +1 -1
- package/dist/ui/context-menu.d.ts +2 -2
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/cta.d.ts +1 -1
- package/dist/ui/date-picker.d.ts +2 -2
- package/dist/ui/date-picker.d.ts.map +1 -1
- package/dist/ui/date-range-picker.d.ts +2 -2
- package/dist/ui/date-range-picker.d.ts.map +1 -1
- package/dist/ui/datetime-picker.d.ts +2 -2
- package/dist/ui/datetime-picker.d.ts.map +1 -1
- package/dist/ui/dialog.d.ts +11 -11
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/drawer.d.ts +11 -11
- package/dist/ui/drawer.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.d.ts +16 -16
- package/dist/ui/empty-state.d.ts +4 -4
- package/dist/ui/empty-state.d.ts.map +1 -1
- package/dist/ui/empty.d.ts +9 -9
- package/dist/ui/empty.d.ts.map +1 -1
- package/dist/ui/field.d.ts +14 -14
- package/dist/ui/field.d.ts.map +1 -1
- package/dist/ui/form.d.ts +7 -7
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/hover-card.d.ts +4 -4
- package/dist/ui/hover-card.d.ts.map +1 -1
- package/dist/ui/input-group.d.ts +11 -11
- package/dist/ui/input-group.d.ts.map +1 -1
- package/dist/ui/input-otp.d.ts +2 -2
- package/dist/ui/input.d.ts +2 -2
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/label.d.ts +2 -2
- package/dist/ui/label.d.ts.map +1 -1
- package/dist/ui/link.d.ts +3 -3
- package/dist/ui/live-region.d.ts +2 -2
- package/dist/ui/live-region.d.ts.map +1 -1
- package/dist/ui/loading-button.d.ts +2 -2
- package/dist/ui/loading-button.d.ts.map +1 -1
- package/dist/ui/map/MapBase.d.ts +2 -2
- package/dist/ui/map/MapBase.d.ts.map +1 -1
- package/dist/ui/map/MapGeoJsonOverlay.d.ts +2 -2
- package/dist/ui/map/MapGeoJsonOverlay.d.ts.map +1 -1
- package/dist/ui/map/MapHeatmapH3.d.ts +2 -2
- package/dist/ui/map/MapHeatmapH3.d.ts.map +1 -1
- package/dist/ui/map/MapMarkers.d.ts +2 -2
- package/dist/ui/map/MapMarkers.d.ts.map +1 -1
- package/dist/ui/marketing/FeatureGrid.d.ts +2 -2
- package/dist/ui/marketing/FeatureGrid.d.ts.map +1 -1
- package/dist/ui/marketing/Hero.d.ts +2 -2
- package/dist/ui/marketing/Hero.d.ts.map +1 -1
- package/dist/ui/marketing/PricingTable.d.ts +2 -2
- package/dist/ui/marketing/PricingTable.d.ts.map +1 -1
- package/dist/ui/menubar.d.ts +17 -17
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/molecules/Autocomplete/index.d.ts +2 -2
- package/dist/ui/molecules/Autocomplete/index.d.ts.map +1 -1
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +2 -0
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js.map +1 -1
- package/dist/ui/molecules/SkeletonList.d.ts +2 -2
- package/dist/ui/molecules/SkeletonList.d.ts.map +1 -1
- package/dist/ui/nav-layout.d.ts +8 -8
- package/dist/ui/nav-layout.d.ts.map +1 -1
- package/dist/ui/navigation-menu.d.ts +11 -11
- package/dist/ui/navigation-menu.d.ts.map +1 -1
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +2 -2
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
- package/dist/ui/organisms/ListPage/ListPage.d.ts +2 -2
- package/dist/ui/organisms/ListPage/ListPage.d.ts.map +1 -1
- package/dist/ui/organisms/ListPage/ListPage.js +2 -0
- package/dist/ui/organisms/ListPage/ListPage.js.map +1 -1
- package/dist/ui/page-header.d.ts +4 -4
- package/dist/ui/page-header.d.ts.map +1 -1
- package/dist/ui/pagination.d.ts +6 -6
- package/dist/ui/pagination.d.ts.map +1 -1
- package/dist/ui/popover.d.ts +5 -5
- package/dist/ui/progress.d.ts +2 -2
- package/dist/ui/radio-group.d.ts +3 -3
- package/dist/ui/resizable.d.ts +7 -7
- package/dist/ui/resizable.d.ts.map +1 -1
- package/dist/ui/route-announcer.d.ts +2 -2
- package/dist/ui/scroll-area.d.ts +3 -3
- package/dist/ui/section.d.ts +7 -7
- package/dist/ui/section.d.ts.map +1 -1
- package/dist/ui/select.d.ts +11 -11
- package/dist/ui/separator.d.ts +2 -2
- package/dist/ui/sheet.d.ts +9 -9
- package/dist/ui/sidebar.d.ts +26 -26
- package/dist/ui/skeleton.d.ts +2 -2
- package/dist/ui/skip-link.d.ts +2 -2
- package/dist/ui/slider.d.ts +2 -2
- package/dist/ui/sonner.d.ts +2 -2
- package/dist/ui/stack.d.ts +13 -13
- package/dist/ui/stack.d.ts.map +1 -1
- package/dist/ui/stat-card-group.d.ts +2 -2
- package/dist/ui/stepper.d.ts +4 -4
- package/dist/ui/switch.d.ts +2 -2
- package/dist/ui/table.d.ts +9 -9
- package/dist/ui/tabs.d.ts +5 -5
- package/dist/ui/text.d.ts +2 -2
- package/dist/ui/textarea.d.ts +2 -2
- package/dist/ui/time-picker.d.ts +2 -2
- package/dist/ui/toast.d.ts +2 -2
- package/dist/ui/toaster.d.ts +2 -2
- package/dist/ui/toaster.d.ts.map +1 -1
- package/dist/ui/toggle-group.d.ts +3 -3
- package/dist/ui/toggle-group.d.ts.map +1 -1
- package/dist/ui/toggle.d.ts +4 -4
- package/dist/ui/toggle.d.ts.map +1 -1
- package/dist/ui/tooltip.d.ts +5 -5
- package/dist/ui/tooltip.d.ts.map +1 -1
- package/dist/ui/typography.d.ts +12 -12
- package/dist/ui/typography.d.ts.map +1 -1
- package/dist/ui/use-toast.d.ts.map +1 -1
- package/dist/ui/usecases/UseCaseCard.d.ts +2 -2
- package/dist/ui/usecases/UseCaseCard.d.ts.map +1 -1
- package/dist/ui/usecases/UserStoryCard.d.ts +2 -2
- package/dist/ui/usecases/UserStoryCard.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -3,7 +3,9 @@ import { Card, CardContent } from "../../card.js";
|
|
|
3
3
|
import { HStack, VStack } from "../../stack.js";
|
|
4
4
|
import { Separator } from "../../separator.js";
|
|
5
5
|
import { Pagination } from "../../atoms/Pagination/Pagination.js";
|
|
6
|
+
import "../../atoms/Pagination/index.js";
|
|
6
7
|
import { SearchAndFilter } from "../../molecules/SearchAndFilter/SearchAndFilter.js";
|
|
8
|
+
import "../../molecules/SearchAndFilter/index.js";
|
|
7
9
|
import React from "react";
|
|
8
10
|
import { AlertTriangle, Loader2, Plus, RefreshCcw } from "lucide-react";
|
|
9
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListPage.js","names":["Link"],"sources":["../../../../ui/organisms/ListPage/ListPage.tsx"],"sourcesContent":["import React from 'react';\nimport Link from 'next/link';\nimport { AlertTriangle, Loader2, Plus, RefreshCcw } from 'lucide-react';\nimport { Button } from '../../button';\nimport { Card, CardContent } from '../../card';\nimport { VStack, HStack } from '../../stack';\nimport { Separator } from '../../separator';\nimport { SearchAndFilter } from '../../molecules/SearchAndFilter';\nimport { Pagination } from '../../atoms/Pagination';\nimport type { ListPageProps } from './types';\n\nexport function ListPage<T>({\n title,\n description,\n header,\n items,\n totalItems,\n totalPages,\n isLoading,\n isFetching,\n error,\n listState,\n searchPlaceholder,\n filters = [],\n onRefresh,\n primaryAction,\n toolbar,\n renderItem,\n renderEmpty,\n renderStats,\n className = '',\n itemClassName = '',\n}: ListPageProps<T>) {\n const {\n searchQuery,\n setSearchQuery,\n filters: filterValues,\n setFilter,\n currentPage,\n itemsPerPage,\n setCurrentPage,\n setItemsPerPage,\n } = listState;\n\n // Loading state with no items\n if (isLoading && !items.length) {\n return (\n <VStack className={`space-y-4 md:space-y-6 ${className}`}>\n {header ? (\n header\n ) : (\n <VStack className=\"gap-1\">\n <h1 className=\"text-2xl font-bold md:text-3xl\">{title}</h1>\n {description && (\n <p className=\"text-muted-foreground text-base\">{description}</p>\n )}\n </VStack>\n )}\n\n <div className=\"flex min-h-[400px] items-center justify-center\">\n <Card>\n <CardContent className=\"flex items-center gap-4 p-6\">\n <Loader2 className=\"text-primary h-8 w-8 animate-spin\" />\n <div>\n <h3 className=\"font-medium\">Chargement...</h3>\n <p className=\"text-muted-foreground text-base\">\n Récupération des données en cours\n </p>\n </div>\n </CardContent>\n </Card>\n </div>\n </VStack>\n );\n }\n\n // Error state with no items\n if (error && !items.length) {\n return (\n <VStack className={`space-y-4 md:space-y-6 ${className}`}>\n {header ? (\n header\n ) : (\n <VStack className=\"gap-1\">\n <h1 className=\"text-2xl font-bold md:text-3xl\">{title}</h1>\n {description && (\n <p className=\"text-muted-foreground text-base\">{description}</p>\n )}\n </VStack>\n )}\n\n <div className=\"flex min-h-[400px] items-center justify-center\">\n <Card>\n <CardContent className=\"flex flex-col items-center gap-4 p-6 text-center\">\n <AlertTriangle className=\"text-destructive h-12 w-12\" />\n <div>\n <h3 className=\"font-medium\">Erreur de chargement</h3>\n <p className=\"text-muted-foreground text-base\">\n {error.message || 'Une erreur est survenue'}\n </p>\n </div>\n {onRefresh && (\n <Button onClick={onRefresh} variant=\"outline\" size=\"sm\">\n <RefreshCcw className=\"mr-2 h-4 w-4\" />\n Réessayer\n </Button>\n )}\n </CardContent>\n </Card>\n </div>\n </VStack>\n );\n }\n\n // Prepare filter configurations\n const filterConfigs = filters.map((filter) => ({\n key: filter.key,\n label: filter.label,\n value: filterValues[filter.key] || '',\n options: filter.options,\n onChange: (value: string) => {\n setFilter(filter.key, value === 'all' ? '' : value);\n },\n showCounts: filter.showCounts,\n }));\n\n return (\n <VStack className={`space-y-4 md:space-y-6 ${className}`}>\n {/* Header */}\n {header ? (\n header\n ) : (\n <HStack className=\"items-center justify-between\">\n <VStack className=\"gap-1\">\n <h1 className=\"text-2xl font-bold md:text-3xl\">{title}</h1>\n {description && (\n <p className=\"text-muted-foreground text-base\">{description}</p>\n )}\n </VStack>\n\n <HStack className=\"items-center gap-4\">\n {toolbar}\n {(isLoading || isFetching) && (\n <div className=\"text-muted-foreground flex items-center gap-2 text-base\">\n <Loader2 className=\"h-4 w-4 animate-spin\" />\n <span className=\"hidden sm:inline\">Mise à jour...</span>\n </div>\n )}\n\n {onRefresh && (\n <Button\n variant=\"outline\"\n size=\"sm\"\n onClick={onRefresh}\n disabled={Boolean(isLoading)}\n aria-label=\"Rafraîchir\"\n >\n <RefreshCcw\n className={`mr-2 h-4 w-4 ${isLoading || isFetching ? 'animate-spin' : ''}`}\n />\n <span className=\"hidden sm:inline\">Rafraîchir</span>\n </Button>\n )}\n\n {primaryAction && (\n <>\n {primaryAction.href ? (\n <Link href={primaryAction.href}>\n <Button>\n {primaryAction.icon || <Plus className=\"mr-2 h-4 w-4\" />}\n <span className=\"hidden sm:inline\">\n {primaryAction.label}\n </span>\n <span className=\"sm:hidden\">Nouveau</span>\n </Button>\n </Link>\n ) : (\n <Button onClick={primaryAction.onClick}>\n {primaryAction.icon || <Plus className=\"mr-2 h-4 w-4\" />}\n <span className=\"hidden sm:inline\">\n {primaryAction.label}\n </span>\n <span className=\"sm:hidden\">Nouveau</span>\n </Button>\n )}\n </>\n )}\n </HStack>\n </HStack>\n )}\n\n {/* Stats (optional) */}\n {renderStats && (\n <>\n {renderStats(items)}\n <Separator />\n </>\n )}\n\n {/* Search and Filters */}\n <SearchAndFilter\n searchValue={searchQuery}\n onSearchChange={setSearchQuery}\n searchPlaceholder={searchPlaceholder}\n filters={filterConfigs}\n isLoading={isLoading}\n />\n\n {/* Content */}\n {items.length === 0 && !isLoading ? (\n renderEmpty ? (\n renderEmpty()\n ) : (\n <Card>\n <CardContent className=\"flex flex-col items-center gap-4 p-8 text-center\">\n <div className=\"bg-muted flex h-12 w-12 items-center justify-center rounded-full\">\n <div className=\"bg-muted-foreground/20 h-6 w-6 rounded-full\" />\n </div>\n <div>\n <h3 className=\"font-medium\">Aucun élément trouvé</h3>\n <p className=\"text-muted-foreground text-base\">\n {searchQuery || Object.values(filterValues).some((v) => v)\n ? 'Essayez de modifier vos critères de recherche'\n : 'Commencez par créer votre premier élément'}\n </p>\n </div>\n {primaryAction &&\n !searchQuery &&\n !Object.values(filterValues).some((v) => v) && (\n <>\n {primaryAction.href ? (\n <Link href={primaryAction.href}>\n <Button>\n {primaryAction.icon || (\n <Plus className=\"mr-2 h-4 w-4\" />\n )}\n {primaryAction.label}\n </Button>\n </Link>\n ) : (\n <Button onClick={primaryAction.onClick}>\n {primaryAction.icon || (\n <Plus className=\"mr-2 h-4 w-4\" />\n )}\n {primaryAction.label}\n </Button>\n )}\n </>\n )}\n </CardContent>\n </Card>\n )\n ) : (\n <>\n {/* Items List */}\n <div className={`space-y-4 ${itemClassName}`}>\n {items.map((item, index) => renderItem(item, index))}\n </div>\n\n {/* Pagination */}\n {totalPages > 1 && (\n <Pagination\n currentPage={currentPage}\n totalPages={totalPages}\n totalItems={totalItems}\n itemsPerPage={itemsPerPage}\n onPageChange={setCurrentPage}\n onItemsPerPageChange={setItemsPerPage}\n disabled={isLoading}\n />\n )}\n </>\n )}\n </VStack>\n );\n}\n"],"mappings":";;;;;;;;;;;;AAWA,SAAgB,SAAY,EAC1B,OACA,aACA,QACA,OACA,YACA,YACA,WACA,YACA,OACA,WACA,mBACA,UAAU,EAAE,EACZ,WACA,eACA,SACA,YACA,aACA,aACA,YAAY,IACZ,gBAAgB,MACG;CACnB,MAAM,EACJ,aACA,gBACA,SAAS,cACT,WACA,aACA,cACA,gBACA,oBACE;AAGJ,KAAI,aAAa,CAAC,MAAM,OACtB,QACE,qBAAC;EAAO,WAAW,0BAA0B;aAC1C,SACC,SAEA,qBAAC;GAAO,WAAU;cAChB,oBAAC;IAAG,WAAU;cAAkC;KAAW,EAC1D,eACC,oBAAC;IAAE,WAAU;cAAmC;KAAgB;IAE3D,EAGX,oBAAC;GAAI,WAAU;aACb,oBAAC,kBACC,qBAAC;IAAY,WAAU;eACrB,oBAAC,WAAQ,WAAU,sCAAsC,EACzD,qBAAC,oBACC,oBAAC;KAAG,WAAU;eAAc;MAAkB,EAC9C,oBAAC;KAAE,WAAU;eAAkC;MAE3C,IACA;KACM,GACT;IACH;GACC;AAKb,KAAI,SAAS,CAAC,MAAM,OAClB,QACE,qBAAC;EAAO,WAAW,0BAA0B;aAC1C,SACC,SAEA,qBAAC;GAAO,WAAU;cAChB,oBAAC;IAAG,WAAU;cAAkC;KAAW,EAC1D,eACC,oBAAC;IAAE,WAAU;cAAmC;KAAgB;IAE3D,EAGX,oBAAC;GAAI,WAAU;aACb,oBAAC,kBACC,qBAAC;IAAY,WAAU;;KACrB,oBAAC,iBAAc,WAAU,+BAA+B;KACxD,qBAAC,oBACC,oBAAC;MAAG,WAAU;gBAAc;OAAyB,EACrD,oBAAC;MAAE,WAAU;gBACV,MAAM,WAAW;OAChB,IACA;KACL,aACC,qBAAC;MAAO,SAAS;MAAW,SAAQ;MAAU,MAA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ACC,4CACG,YAAY,MAAM,EACnB,oBAAC,cAAY,IACZ;GAIL,oBAAC;IACC,aAAa;IACb,gBAAgB;IACG;IACnB,SAAS;IACE;KACX;GAGD,MAAM,WAAW,KAAK,CAAC,YACtB,cACE,aAAa,GAEb,oBAAC,kBACC,qBAAC;IAAY,WAAU;;KACrB,oBAAC;MAAI,WAAU;gBACb,oBAAC,SAAI,WAAU,gDAAgD;OAC3D;KACN,qBAAC,oBACC,oBAAC;MAAG,WAAU;gBAAc;OAAyB,EACrD,oBAAC;MAAE,WAAU;gBACV,eAAe,OAAO,OAAO,aAAa,CAAC,MAAM,MAAM,EAAE,GACtD,kDACA;OACF,IACA;KACL,iBACC,CAAC,eACD,CAAC,OAAO,OAAO,aAAa,CAAC,MAAM,MAAM,EAAE,IACzC,0CACG,cAAc,OACb,oBAACA;MAAK,MAAM,cAAc;gBACxB,qBAAC,qBACE,cAAc,QACb,oBAAC,QAAK,WAAU,iBAAiB,EAElC,cAAc,SACR;OACJ,GAEP,qBAAC;MAAO,SAAS,cAAc;iBAC5B,cAAc,QACb,oBAAC,QAAK,WAAU,iBAAiB,EAElC,cAAc;OACR,GAEV;;KAEK,GACT,GAGT,4CAEE,oBAAC;IAAI,WAAW,aAAa;cAC1B,MAAM,KAAK,MAAM,UAAU,WAAW,MAAM,MAAM,CAAC;KAChD,EAGL,aAAa,KACZ,oBAAC;IACc;IACD;IACA;IACE;IACd,cAAc;IACd,sBAAsB;IACtB,UAAU;KACV,IAEH;;GAEE"}
|
|
1
|
+
{"version":3,"file":"ListPage.js","names":["Link"],"sources":["../../../../ui/organisms/ListPage/ListPage.tsx"],"sourcesContent":["import React from 'react';\nimport Link from 'next/link';\nimport { AlertTriangle, Loader2, Plus, RefreshCcw } from 'lucide-react';\nimport { Button } from '../../button';\nimport { Card, CardContent } from '../../card';\nimport { VStack, HStack } from '../../stack';\nimport { Separator } from '../../separator';\nimport { SearchAndFilter } from '../../molecules/SearchAndFilter';\nimport { Pagination } from '../../atoms/Pagination';\nimport type { ListPageProps } from './types';\n\nexport function ListPage<T>({\n title,\n description,\n header,\n items,\n totalItems,\n totalPages,\n isLoading,\n isFetching,\n error,\n listState,\n searchPlaceholder,\n filters = [],\n onRefresh,\n primaryAction,\n toolbar,\n renderItem,\n renderEmpty,\n renderStats,\n className = '',\n itemClassName = '',\n}: ListPageProps<T>) {\n const {\n searchQuery,\n setSearchQuery,\n filters: filterValues,\n setFilter,\n currentPage,\n itemsPerPage,\n setCurrentPage,\n setItemsPerPage,\n } = listState;\n\n // Loading state with no items\n if (isLoading && !items.length) {\n return (\n <VStack className={`space-y-4 md:space-y-6 ${className}`}>\n {header ? (\n header\n ) : (\n <VStack className=\"gap-1\">\n <h1 className=\"text-2xl font-bold md:text-3xl\">{title}</h1>\n {description && (\n <p className=\"text-muted-foreground text-base\">{description}</p>\n )}\n </VStack>\n )}\n\n <div className=\"flex min-h-[400px] items-center justify-center\">\n <Card>\n <CardContent className=\"flex items-center gap-4 p-6\">\n <Loader2 className=\"text-primary h-8 w-8 animate-spin\" />\n <div>\n <h3 className=\"font-medium\">Chargement...</h3>\n <p className=\"text-muted-foreground text-base\">\n Récupération des données en cours\n </p>\n </div>\n </CardContent>\n </Card>\n </div>\n </VStack>\n );\n }\n\n // Error state with no items\n if (error && !items.length) {\n return (\n <VStack className={`space-y-4 md:space-y-6 ${className}`}>\n {header ? (\n header\n ) : (\n <VStack className=\"gap-1\">\n <h1 className=\"text-2xl font-bold md:text-3xl\">{title}</h1>\n {description && (\n <p className=\"text-muted-foreground text-base\">{description}</p>\n )}\n </VStack>\n )}\n\n <div className=\"flex min-h-[400px] items-center justify-center\">\n <Card>\n <CardContent className=\"flex flex-col items-center gap-4 p-6 text-center\">\n <AlertTriangle className=\"text-destructive h-12 w-12\" />\n <div>\n <h3 className=\"font-medium\">Erreur de chargement</h3>\n <p className=\"text-muted-foreground text-base\">\n {error.message || 'Une erreur est survenue'}\n </p>\n </div>\n {onRefresh && (\n <Button onClick={onRefresh} variant=\"outline\" size=\"sm\">\n <RefreshCcw className=\"mr-2 h-4 w-4\" />\n Réessayer\n </Button>\n )}\n </CardContent>\n </Card>\n </div>\n </VStack>\n );\n }\n\n // Prepare filter configurations\n const filterConfigs = filters.map((filter) => ({\n key: filter.key,\n label: filter.label,\n value: filterValues[filter.key] || '',\n options: filter.options,\n onChange: (value: string) => {\n setFilter(filter.key, value === 'all' ? '' : value);\n },\n showCounts: filter.showCounts,\n }));\n\n return (\n <VStack className={`space-y-4 md:space-y-6 ${className}`}>\n {/* Header */}\n {header ? (\n header\n ) : (\n <HStack className=\"items-center justify-between\">\n <VStack className=\"gap-1\">\n <h1 className=\"text-2xl font-bold md:text-3xl\">{title}</h1>\n {description && (\n <p className=\"text-muted-foreground text-base\">{description}</p>\n )}\n </VStack>\n\n <HStack className=\"items-center gap-4\">\n {toolbar}\n {(isLoading || isFetching) && (\n <div className=\"text-muted-foreground flex items-center gap-2 text-base\">\n <Loader2 className=\"h-4 w-4 animate-spin\" />\n <span className=\"hidden sm:inline\">Mise à jour...</span>\n </div>\n )}\n\n {onRefresh && (\n <Button\n variant=\"outline\"\n size=\"sm\"\n onClick={onRefresh}\n disabled={Boolean(isLoading)}\n aria-label=\"Rafraîchir\"\n >\n <RefreshCcw\n className={`mr-2 h-4 w-4 ${isLoading || isFetching ? 'animate-spin' : ''}`}\n />\n <span className=\"hidden sm:inline\">Rafraîchir</span>\n </Button>\n )}\n\n {primaryAction && (\n <>\n {primaryAction.href ? (\n <Link href={primaryAction.href}>\n <Button>\n {primaryAction.icon || <Plus className=\"mr-2 h-4 w-4\" />}\n <span className=\"hidden sm:inline\">\n {primaryAction.label}\n </span>\n <span className=\"sm:hidden\">Nouveau</span>\n </Button>\n </Link>\n ) : (\n <Button onClick={primaryAction.onClick}>\n {primaryAction.icon || <Plus className=\"mr-2 h-4 w-4\" />}\n <span className=\"hidden sm:inline\">\n {primaryAction.label}\n </span>\n <span className=\"sm:hidden\">Nouveau</span>\n </Button>\n )}\n </>\n )}\n </HStack>\n </HStack>\n )}\n\n {/* Stats (optional) */}\n {renderStats && (\n <>\n {renderStats(items)}\n <Separator />\n </>\n )}\n\n {/* Search and Filters */}\n <SearchAndFilter\n searchValue={searchQuery}\n onSearchChange={setSearchQuery}\n searchPlaceholder={searchPlaceholder}\n filters={filterConfigs}\n isLoading={isLoading}\n />\n\n {/* Content */}\n {items.length === 0 && !isLoading ? (\n renderEmpty ? (\n renderEmpty()\n ) : (\n <Card>\n <CardContent className=\"flex flex-col items-center gap-4 p-8 text-center\">\n <div className=\"bg-muted flex h-12 w-12 items-center justify-center rounded-full\">\n <div className=\"bg-muted-foreground/20 h-6 w-6 rounded-full\" />\n </div>\n <div>\n <h3 className=\"font-medium\">Aucun élément trouvé</h3>\n <p className=\"text-muted-foreground text-base\">\n {searchQuery || Object.values(filterValues).some((v) => v)\n ? 'Essayez de modifier vos critères de recherche'\n : 'Commencez par créer votre premier élément'}\n </p>\n </div>\n {primaryAction &&\n !searchQuery &&\n !Object.values(filterValues).some((v) => v) && (\n <>\n {primaryAction.href ? (\n <Link href={primaryAction.href}>\n <Button>\n {primaryAction.icon || (\n <Plus className=\"mr-2 h-4 w-4\" />\n )}\n {primaryAction.label}\n </Button>\n </Link>\n ) : (\n <Button onClick={primaryAction.onClick}>\n {primaryAction.icon || (\n <Plus className=\"mr-2 h-4 w-4\" />\n )}\n {primaryAction.label}\n </Button>\n )}\n </>\n )}\n </CardContent>\n </Card>\n )\n ) : (\n <>\n {/* Items List */}\n <div className={`space-y-4 ${itemClassName}`}>\n {items.map((item, index) => renderItem(item, index))}\n </div>\n\n {/* Pagination */}\n {totalPages > 1 && (\n <Pagination\n currentPage={currentPage}\n totalPages={totalPages}\n totalItems={totalItems}\n itemsPerPage={itemsPerPage}\n onPageChange={setCurrentPage}\n onItemsPerPageChange={setItemsPerPage}\n disabled={isLoading}\n />\n )}\n </>\n )}\n </VStack>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;AAWA,SAAgB,SAAY,EAC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C,kBACC,qBAAC;IAAY,WAAU;;KACrB,oBAAC;MAAI,WAAU;gBACb,oBAAC,SAAI,WAAU,gDAAgD;OAC3D;KACN,qBAAC,oBACC,oBAAC;MAAG,WAAU;gBAAc;OAAyB,EACrD,oBAAC;MAAE,WAAU;gBACV,eAAe,OAAO,OAAO,aAAa,CAAC,MAAM,MAAM,EAAE,GACtD,kDACA;OACF,IACA;KACL,iBACC,CAAC,eACD,CAAC,OAAO,OAAO,aAAa,CAAC,MAAM,MAAM,EAAE,IACzC,0CACG,cAAc,OACb,oBAACA;MAAK,MAAM,cAAc;gBACxB,qBAAC,qBACE,cAAc,QACb,oBAAC,QAAK,WAAU,iBAAiB,EAElC,cAAc,SACR;OACJ,GAEP,qBAAC;MAAO,SAAS,cAAc;iBAC5B,cAAc,QACb,oBAAC,QAAK,WAAU,iBAAiB,EAElC,cAAc;OACR,GAEV;;KAEK,GACT,GAGT,4CAEE,oBAAC;IAAI,WAAW,aAAa;cAC1B,MAAM,KAAK,MAAM,UAAU,WAAW,MAAM,MAAM,CAAC;KAChD,EAGL,aAAa,KACZ,oBAAC;IACc;IACD;IACA;IACE;IACd,cAAc;IACd,sBAAsB;IACtB,UAAU;KACV,IAEH;;GAEE"}
|
package/dist/ui/page-header.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime210 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types20 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region ui/page-header.d.ts
|
|
7
7
|
declare const headerVariants: (props?: ({
|
|
8
8
|
spacing?: "sm" | "lg" | "md" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string;
|
|
10
10
|
interface PageHeaderProps extends VariantProps<typeof headerVariants> {
|
|
11
11
|
breadcrumb?: React$1.ReactNode;
|
|
12
12
|
title: React$1.ReactNode;
|
|
@@ -21,7 +21,7 @@ declare function PageHeader({
|
|
|
21
21
|
actions,
|
|
22
22
|
spacing,
|
|
23
23
|
className
|
|
24
|
-
}: PageHeaderProps):
|
|
24
|
+
}: PageHeaderProps): react_jsx_runtime210.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { PageHeader, PageHeaderProps };
|
|
27
27
|
//# sourceMappingURL=page-header.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-header.d.ts","names":[],"sources":["../../ui/page-header.tsx"],"sourcesContent":[],"mappings":";;;;;;cAKM;;IAWJ
|
|
1
|
+
{"version":3,"file":"page-header.d.ts","names":[],"sources":["../../ui/page-header.tsx"],"sourcesContent":[],"mappings":";;;;;;cAKM;;IAWJ,gCAAA,CAAA;UAEe,eAAA,SAAwB,oBAAoB;EAbvD,UAAA,CAAA,EAcS,OAAA,CAAM,SAHnB;EAEe,KAAA,EAER,OAAA,CAAM,SAFkB;EAA4B,QAAA,CAAA,EAGhD,OAAA,CAAM,SAH0C;EAC9C,OAAM,CAAA,EAGT,OAAA,CAAM,SAHG;EACZ,SAAM,CAAA,EAAA,MAAA;;AAEH,iBAII,UAAA,CAJE;EAAA,UAAA;EAAA,KAAA;EAAA,QAAA;EAAA,OAAA;EAAA,OAAA;EAAA;AAAA,CAAA,EAWf,eAXe,CAAA,EAWA,oBAAA,CAAA,GAAA,CAAA,OAXA"}
|
package/dist/ui/pagination.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ButtonProps } from "./button.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime236 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/pagination.d.ts
|
|
6
6
|
declare const Pagination: {
|
|
7
7
|
({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React$1.ComponentPropsWithoutRef<"nav">):
|
|
10
|
+
}: React$1.ComponentPropsWithoutRef<"nav">): react_jsx_runtime236.JSX.Element;
|
|
11
11
|
displayName: string;
|
|
12
12
|
};
|
|
13
13
|
declare const PaginationContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
@@ -21,28 +21,28 @@ declare const PaginationLink: {
|
|
|
21
21
|
isActive,
|
|
22
22
|
size,
|
|
23
23
|
...props
|
|
24
|
-
}: PaginationLinkProps):
|
|
24
|
+
}: PaginationLinkProps): react_jsx_runtime236.JSX.Element;
|
|
25
25
|
displayName: string;
|
|
26
26
|
};
|
|
27
27
|
declare const PaginationPrevious: {
|
|
28
28
|
({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React$1.ComponentProps<typeof PaginationLink>):
|
|
31
|
+
}: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime236.JSX.Element;
|
|
32
32
|
displayName: string;
|
|
33
33
|
};
|
|
34
34
|
declare const PaginationNext: {
|
|
35
35
|
({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React$1.ComponentProps<typeof PaginationLink>):
|
|
38
|
+
}: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime236.JSX.Element;
|
|
39
39
|
displayName: string;
|
|
40
40
|
};
|
|
41
41
|
declare const PaginationEllipsis: {
|
|
42
42
|
({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: React$1.ComponentPropsWithoutRef<"span">):
|
|
45
|
+
}: React$1.ComponentPropsWithoutRef<"span">): react_jsx_runtime236.JSX.Element;
|
|
46
46
|
displayName: string;
|
|
47
47
|
};
|
|
48
48
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.d.ts","names":[],"sources":["../../ui/pagination.tsx"],"sourc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AAA,EA+C4C,oBAAA,CAAA,GAAA,CAAA,OA/C5C;EALkB,WAAA,EAAA,MAAA;CAAA;cAiEd,kBAjEc,EAAA;EAAA,CAAA;IAAA,SAAA;IAAA,GAAA;EAAA,CAAA,EAoEjB,OAAA,CAAM,wBApEW,CAAA,MAAA,CAAA,CAAA,EAoEqB,oBAAA,CAAA,GAAA,CAAA,OApErB;EAAA,WAAA,EAAA,MAAA;CAAA"}
|
package/dist/ui/popover.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime241 from "react/jsx-runtime";
|
|
3
3
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
4
4
|
|
|
5
5
|
//#region ui/popover.d.ts
|
|
6
6
|
declare function Popover({
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<typeof PopoverPrimitive.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime241.JSX.Element;
|
|
9
9
|
declare function PopoverTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>):
|
|
11
|
+
}: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime241.JSX.Element;
|
|
12
12
|
declare function PopoverContent({
|
|
13
13
|
className,
|
|
14
14
|
align,
|
|
15
15
|
sideOffset,
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.ComponentProps<typeof PopoverPrimitive.Content>):
|
|
17
|
+
}: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime241.JSX.Element;
|
|
18
18
|
declare function PopoverAnchor({
|
|
19
19
|
...props
|
|
20
|
-
}: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>):
|
|
20
|
+
}: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime241.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
23
23
|
//# sourceMappingURL=popover.d.ts.map
|
package/dist/ui/progress.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime245 from "react/jsx-runtime";
|
|
3
3
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
4
4
|
|
|
5
5
|
//#region ui/progress.d.ts
|
|
@@ -7,7 +7,7 @@ declare function Progress({
|
|
|
7
7
|
className,
|
|
8
8
|
value,
|
|
9
9
|
...props
|
|
10
|
-
}: React$1.ComponentProps<typeof ProgressPrimitive.Root>):
|
|
10
|
+
}: React$1.ComponentProps<typeof ProgressPrimitive.Root>): react_jsx_runtime245.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Progress };
|
|
13
13
|
//# sourceMappingURL=progress.d.ts.map
|
package/dist/ui/radio-group.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime226 from "react/jsx-runtime";
|
|
3
3
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
4
4
|
|
|
5
5
|
//#region ui/radio-group.d.ts
|
|
6
6
|
declare function RadioGroup({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>):
|
|
9
|
+
}: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime226.JSX.Element;
|
|
10
10
|
declare function RadioGroupItem({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>):
|
|
13
|
+
}: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime226.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { RadioGroup, RadioGroupItem };
|
|
16
16
|
//# sourceMappingURL=radio-group.d.ts.map
|
package/dist/ui/resizable.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react1 from "react";
|
|
2
|
+
import * as react_jsx_runtime221 from "react/jsx-runtime";
|
|
3
3
|
import * as ResizablePrimitive from "react-resizable-panels";
|
|
4
4
|
|
|
5
5
|
//#region ui/resizable.d.ts
|
|
6
6
|
declare const ResizablePanelGroup: ({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) =>
|
|
10
|
-
declare const ResizablePanel:
|
|
9
|
+
}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => react_jsx_runtime221.JSX.Element;
|
|
10
|
+
declare const ResizablePanel: react1.ForwardRefExoticComponent<Omit<react1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLButtonElement | HTMLLIElement | HTMLAnchorElement | HTMLSpanElement | HTMLInputElement | HTMLOListElement | HTMLObjectElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableCaptionElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHeadingElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLLabelElement | HTMLLegendElement | HTMLLinkElement | HTMLMapElement | HTMLMenuElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLParagraphElement | HTMLPictureElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSlotElement | HTMLSourceElement | HTMLStyleElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLUListElement | HTMLVideoElement>, "id" | "onResize"> & {
|
|
11
11
|
className?: string;
|
|
12
12
|
collapsedSize?: number | undefined;
|
|
13
13
|
collapsible?: boolean | undefined;
|
|
@@ -22,15 +22,15 @@ declare const ResizablePanel: react4.ForwardRefExoticComponent<Omit<react4.HTMLA
|
|
|
22
22
|
style?: object;
|
|
23
23
|
tagName?: keyof HTMLElementTagNameMap | undefined;
|
|
24
24
|
} & {
|
|
25
|
-
children?:
|
|
26
|
-
} &
|
|
25
|
+
children?: react1.ReactNode | undefined;
|
|
26
|
+
} & react1.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
|
|
27
27
|
declare const ResizableHandle: ({
|
|
28
28
|
withHandle,
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
31
|
}: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
32
32
|
withHandle?: boolean;
|
|
33
|
-
}) =>
|
|
33
|
+
}) => react_jsx_runtime221.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
|
|
36
36
|
//# sourceMappingURL=resizable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizable.d.ts","names":[],"sources":["../../ui/resizable.tsx"],"sourcesContent":[],"mappings":";;;;;cAOM;;;GAGH,KAAA,CAAM,sBAAsB,kBAAA,CAAmB,gBAAW,oBAAA,CAAA,GAAA,CAAA;cAUvD,uBAAc,0BAAA,KAAA,MAAA,CAAA,eAAA,
|
|
1
|
+
{"version":3,"file":"resizable.d.ts","names":[],"sources":["../../ui/resizable.tsx"],"sourcesContent":[],"mappings":";;;;;cAOM;;;GAGH,KAAA,CAAM,sBAAsB,kBAAA,CAAmB,gBAAW,oBAAA,CAAA,GAAA,CAAA;cAUvD,uBAAc,0BAAA,KAAA,M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ime";
|
|
2
2
|
|
|
3
3
|
//#region ui/route-announcer.d.ts
|
|
4
4
|
declare function RouteAnnouncer({
|
|
5
5
|
title
|
|
6
6
|
}: {
|
|
7
7
|
title?: string;
|
|
8
|
-
}):
|
|
8
|
+
}): react_jsx_runtime223.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { RouteAnnouncer };
|
|
11
11
|
//# sourceMappingURL=route-announcer.d.ts.map
|
package/dist/ui/scroll-area.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime224 from "react/jsx-runtime";
|
|
3
3
|
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
4
4
|
|
|
5
5
|
//#region ui/scroll-area.d.ts
|
|
@@ -7,12 +7,12 @@ declare function ScrollArea({
|
|
|
7
7
|
className,
|
|
8
8
|
children,
|
|
9
9
|
...props
|
|
10
|
-
}: React$1.ComponentProps<typeof ScrollAreaPrimitive.Root>):
|
|
10
|
+
}: React$1.ComponentProps<typeof ScrollAreaPrimitive.Root>): react_jsx_runtime224.JSX.Element;
|
|
11
11
|
declare function ScrollBar({
|
|
12
12
|
className,
|
|
13
13
|
orientation,
|
|
14
14
|
...props
|
|
15
|
-
}: React$1.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>):
|
|
15
|
+
}: React$1.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime224.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { ScrollArea, ScrollBar };
|
|
18
18
|
//# sourceMappingURL=scroll-area.d.ts.map
|
package/dist/ui/section.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types18 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region ui/section.d.ts
|
|
6
6
|
declare const sectionVariants: (props?: ({
|
|
7
7
|
width?: "container" | "narrow" | "wide" | "fluid" | null | undefined;
|
|
8
|
-
px?: "
|
|
9
|
-
py?: "
|
|
8
|
+
px?: "none" | "sm" | "lg" | "md" | null | undefined;
|
|
9
|
+
py?: "none" | "sm" | "lg" | "md" | "xl" | null | undefined;
|
|
10
10
|
tone?: "plain" | "tint" | "subtle" | null | undefined;
|
|
11
11
|
text?: "base" | "lg" | null | undefined;
|
|
12
|
-
} &
|
|
12
|
+
} & class_variance_authority_types18.ClassProp) | undefined) => string;
|
|
13
13
|
type SectionProps = React$1.HTMLAttributes<HTMLElement> & VariantProps<typeof sectionVariants> & {
|
|
14
14
|
as?: 'section' | 'div' | 'main' | 'header' | 'footer' | 'aside' | 'article' | 'nav';
|
|
15
15
|
};
|
|
16
16
|
declare const Section: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
17
17
|
width?: "container" | "narrow" | "wide" | "fluid" | null | undefined;
|
|
18
|
-
px?: "
|
|
19
|
-
py?: "
|
|
18
|
+
px?: "none" | "sm" | "lg" | "md" | null | undefined;
|
|
19
|
+
py?: "none" | "sm" | "lg" | "md" | "xl" | null | undefined;
|
|
20
20
|
tone?: "plain" | "tint" | "subtle" | null | undefined;
|
|
21
21
|
text?: "base" | "lg" | null | undefined;
|
|
22
|
-
} &
|
|
22
|
+
} & class_variance_authority_types18.ClassProp) | undefined) => string> & {
|
|
23
23
|
as?: "section" | "div" | "main" | "header" | "footer" | "aside" | "article" | "nav";
|
|
24
24
|
} & React$1.RefAttributes<HTMLElement>>;
|
|
25
25
|
//#endregion
|
package/dist/ui/section.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"section.d.ts","names":[],"sources":["../../ui/section.tsx"],"sourcesContent":[],"mappings":";;;;;cAIM,uBAwC2B;;;EAxC3B,EAAA,CAAA,EAAA,
|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AAA,QAAA,GAAA,OAAA,GAAA,SAAA,GAAA,KAAA;CAAA,wBAAA,YAAA,CAAA,CAAA"}
|
package/dist/ui/select.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime211 from "react/jsx-runtime";
|
|
3
3
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
4
4
|
|
|
5
5
|
//#region ui/select.d.ts
|
|
6
6
|
declare function Select({
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<typeof SelectPrimitive.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime211.JSX.Element;
|
|
9
9
|
declare function SelectGroup({
|
|
10
10
|
...props
|
|
11
|
-
}: React$1.ComponentProps<typeof SelectPrimitive.Group>):
|
|
11
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime211.JSX.Element;
|
|
12
12
|
declare function SelectValue({
|
|
13
13
|
...props
|
|
14
|
-
}: React$1.ComponentProps<typeof SelectPrimitive.Value>):
|
|
14
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime211.JSX.Element;
|
|
15
15
|
declare function SelectTrigger({
|
|
16
16
|
className,
|
|
17
17
|
size,
|
|
@@ -19,34 +19,34 @@ declare function SelectTrigger({
|
|
|
19
19
|
...props
|
|
20
20
|
}: React$1.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
21
21
|
size?: 'sm' | 'default';
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime211.JSX.Element;
|
|
23
23
|
declare function SelectContent({
|
|
24
24
|
className,
|
|
25
25
|
children,
|
|
26
26
|
position,
|
|
27
27
|
...props
|
|
28
|
-
}: React$1.ComponentProps<typeof SelectPrimitive.Content>):
|
|
28
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime211.JSX.Element;
|
|
29
29
|
declare function SelectLabel({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React$1.ComponentProps<typeof SelectPrimitive.Label>):
|
|
32
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime211.JSX.Element;
|
|
33
33
|
declare function SelectItem({
|
|
34
34
|
className,
|
|
35
35
|
children,
|
|
36
36
|
...props
|
|
37
|
-
}: React$1.ComponentProps<typeof SelectPrimitive.Item>):
|
|
37
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime211.JSX.Element;
|
|
38
38
|
declare function SelectSeparator({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React$1.ComponentProps<typeof SelectPrimitive.Separator>):
|
|
41
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime211.JSX.Element;
|
|
42
42
|
declare function SelectScrollUpButton({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>):
|
|
45
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime211.JSX.Element;
|
|
46
46
|
declare function SelectScrollDownButton({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>):
|
|
49
|
+
}: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime211.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
52
52
|
//# sourceMappingURL=select.d.ts.map
|
package/dist/ui/separator.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime270 from "react/jsx-runtime";
|
|
3
3
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
4
4
|
|
|
5
5
|
//#region ui/separator.d.ts
|
|
@@ -8,7 +8,7 @@ declare function Separator({
|
|
|
8
8
|
orientation,
|
|
9
9
|
decorative,
|
|
10
10
|
...props
|
|
11
|
-
}: React$1.ComponentProps<typeof SeparatorPrimitive.Root>):
|
|
11
|
+
}: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime270.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Separator };
|
|
14
14
|
//# sourceMappingURL=separator.d.ts.map
|
package/dist/ui/sheet.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime179 from "react/jsx-runtime";
|
|
3
3
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
4
4
|
|
|
5
5
|
//#region ui/sheet.d.ts
|
|
6
6
|
declare function Sheet({
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<typeof SheetPrimitive.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof SheetPrimitive.Root>): react_jsx_runtime179.JSX.Element;
|
|
9
9
|
declare function SheetTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React$1.ComponentProps<typeof SheetPrimitive.Trigger>):
|
|
11
|
+
}: React$1.ComponentProps<typeof SheetPrimitive.Trigger>): react_jsx_runtime179.JSX.Element;
|
|
12
12
|
declare function SheetClose({
|
|
13
13
|
...props
|
|
14
|
-
}: React$1.ComponentProps<typeof SheetPrimitive.Close>):
|
|
14
|
+
}: React$1.ComponentProps<typeof SheetPrimitive.Close>): react_jsx_runtime179.JSX.Element;
|
|
15
15
|
declare function SheetContent({
|
|
16
16
|
className,
|
|
17
17
|
children,
|
|
@@ -19,23 +19,23 @@ declare function SheetContent({
|
|
|
19
19
|
...props
|
|
20
20
|
}: React$1.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
21
21
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime179.JSX.Element;
|
|
23
23
|
declare function SheetHeader({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React$1.ComponentPropsWithoutRef<'div'>):
|
|
26
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime179.JSX.Element;
|
|
27
27
|
declare function SheetFooter({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React$1.ComponentPropsWithoutRef<'div'>):
|
|
30
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime179.JSX.Element;
|
|
31
31
|
declare function SheetTitle({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React$1.ComponentProps<typeof SheetPrimitive.Title>):
|
|
34
|
+
}: React$1.ComponentProps<typeof SheetPrimitive.Title>): react_jsx_runtime179.JSX.Element;
|
|
35
35
|
declare function SheetDescription({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React$1.ComponentProps<typeof SheetPrimitive.Description>):
|
|
38
|
+
}: React$1.ComponentProps<typeof SheetPrimitive.Description>): react_jsx_runtime179.JSX.Element;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
|
41
41
|
//# sourceMappingURL=sheet.d.ts.map
|