@datatechsolutions/ui 2.7.121 → 2.7.123
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/dist/{chunk-DOOTVMMR.js → chunk-2ILTTH5W.js} +98 -8
- package/dist/chunk-2ILTTH5W.js.map +1 -0
- package/dist/{chunk-2QXKMKQK.js → chunk-EC47DC2H.js} +52 -52
- package/dist/{chunk-2QXKMKQK.js.map → chunk-EC47DC2H.js.map} +1 -1
- package/dist/{chunk-T3E6GSQ2.mjs → chunk-KZ5IPILQ.mjs} +98 -8
- package/dist/chunk-KZ5IPILQ.mjs.map +1 -0
- package/dist/{chunk-3AW434K4.mjs → chunk-OU4JKH37.mjs} +3 -3
- package/dist/{chunk-3AW434K4.mjs.map → chunk-OU4JKH37.mjs.map} +1 -1
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +360 -360
- package/dist/index.mjs +1 -1
- package/dist/workflow/index.js +119 -119
- package/dist/workflow/index.mjs +3 -3
- package/dist/workflow/workflow-canvas.js +3 -3
- package/dist/workflow/workflow-canvas.mjs +2 -2
- package/package.json +1 -1
- package/src/styles/liquid-glass.css +60 -0
- package/dist/chunk-DOOTVMMR.js.map +0 -1
- package/dist/chunk-T3E6GSQ2.mjs.map +0 -1
|
@@ -7461,6 +7461,76 @@ var COLOR_MAP = {
|
|
|
7461
7461
|
focusRing: "focus-visible:ring-red-500",
|
|
7462
7462
|
iconInactiveBg: "bg-red-500/10 dark:bg-red-500/20",
|
|
7463
7463
|
iconInactiveText: "text-red-600 dark:text-red-300"
|
|
7464
|
+
},
|
|
7465
|
+
indigo: {
|
|
7466
|
+
activeGradient: "bg-gradient-to-br from-indigo-500 to-indigo-600 ring-2 ring-indigo-500 shadow-lg",
|
|
7467
|
+
activeRing: "ring-indigo-500",
|
|
7468
|
+
focusRing: "focus-visible:ring-indigo-500",
|
|
7469
|
+
iconInactiveBg: "bg-indigo-500/10 dark:bg-indigo-500/20",
|
|
7470
|
+
iconInactiveText: "text-indigo-600 dark:text-indigo-300"
|
|
7471
|
+
},
|
|
7472
|
+
cyan: {
|
|
7473
|
+
activeGradient: "bg-gradient-to-br from-cyan-500 to-cyan-600 ring-2 ring-cyan-500 shadow-lg",
|
|
7474
|
+
activeRing: "ring-cyan-500",
|
|
7475
|
+
focusRing: "focus-visible:ring-cyan-500",
|
|
7476
|
+
iconInactiveBg: "bg-cyan-500/10 dark:bg-cyan-500/20",
|
|
7477
|
+
iconInactiveText: "text-cyan-600 dark:text-cyan-300"
|
|
7478
|
+
},
|
|
7479
|
+
teal: {
|
|
7480
|
+
activeGradient: "bg-gradient-to-br from-teal-500 to-teal-600 ring-2 ring-teal-500 shadow-lg",
|
|
7481
|
+
activeRing: "ring-teal-500",
|
|
7482
|
+
focusRing: "focus-visible:ring-teal-500",
|
|
7483
|
+
iconInactiveBg: "bg-teal-500/10 dark:bg-teal-500/20",
|
|
7484
|
+
iconInactiveText: "text-teal-600 dark:text-teal-300"
|
|
7485
|
+
},
|
|
7486
|
+
pink: {
|
|
7487
|
+
activeGradient: "bg-gradient-to-br from-pink-500 to-pink-600 ring-2 ring-pink-500 shadow-lg",
|
|
7488
|
+
activeRing: "ring-pink-500",
|
|
7489
|
+
focusRing: "focus-visible:ring-pink-500",
|
|
7490
|
+
iconInactiveBg: "bg-pink-500/10 dark:bg-pink-500/20",
|
|
7491
|
+
iconInactiveText: "text-pink-600 dark:text-pink-300"
|
|
7492
|
+
},
|
|
7493
|
+
rose: {
|
|
7494
|
+
activeGradient: "bg-gradient-to-br from-rose-500 to-rose-600 ring-2 ring-rose-500 shadow-lg",
|
|
7495
|
+
activeRing: "ring-rose-500",
|
|
7496
|
+
focusRing: "focus-visible:ring-rose-500",
|
|
7497
|
+
iconInactiveBg: "bg-rose-500/10 dark:bg-rose-500/20",
|
|
7498
|
+
iconInactiveText: "text-rose-600 dark:text-rose-300"
|
|
7499
|
+
},
|
|
7500
|
+
green: {
|
|
7501
|
+
activeGradient: "bg-gradient-to-br from-green-500 to-green-600 ring-2 ring-green-500 shadow-lg",
|
|
7502
|
+
activeRing: "ring-green-500",
|
|
7503
|
+
focusRing: "focus-visible:ring-green-500",
|
|
7504
|
+
iconInactiveBg: "bg-green-500/10 dark:bg-green-500/20",
|
|
7505
|
+
iconInactiveText: "text-green-600 dark:text-green-300"
|
|
7506
|
+
},
|
|
7507
|
+
yellow: {
|
|
7508
|
+
activeGradient: "bg-gradient-to-br from-yellow-500 to-yellow-600 ring-2 ring-yellow-500 shadow-lg",
|
|
7509
|
+
activeRing: "ring-yellow-500",
|
|
7510
|
+
focusRing: "focus-visible:ring-yellow-500",
|
|
7511
|
+
iconInactiveBg: "bg-yellow-500/10 dark:bg-yellow-500/20",
|
|
7512
|
+
iconInactiveText: "text-yellow-600 dark:text-yellow-300"
|
|
7513
|
+
},
|
|
7514
|
+
slate: {
|
|
7515
|
+
activeGradient: "bg-gradient-to-br from-slate-500 to-slate-600 ring-2 ring-slate-500 shadow-lg",
|
|
7516
|
+
activeRing: "ring-slate-500",
|
|
7517
|
+
focusRing: "focus-visible:ring-slate-500",
|
|
7518
|
+
iconInactiveBg: "bg-slate-500/10 dark:bg-slate-500/20",
|
|
7519
|
+
iconInactiveText: "text-slate-600 dark:text-slate-300"
|
|
7520
|
+
},
|
|
7521
|
+
sky: {
|
|
7522
|
+
activeGradient: "bg-gradient-to-br from-sky-500 to-sky-600 ring-2 ring-sky-500 shadow-lg",
|
|
7523
|
+
activeRing: "ring-sky-500",
|
|
7524
|
+
focusRing: "focus-visible:ring-sky-500",
|
|
7525
|
+
iconInactiveBg: "bg-sky-500/10 dark:bg-sky-500/20",
|
|
7526
|
+
iconInactiveText: "text-sky-600 dark:text-sky-300"
|
|
7527
|
+
},
|
|
7528
|
+
fuchsia: {
|
|
7529
|
+
activeGradient: "bg-gradient-to-br from-fuchsia-500 to-fuchsia-600 ring-2 ring-fuchsia-500 shadow-lg",
|
|
7530
|
+
activeRing: "ring-fuchsia-500",
|
|
7531
|
+
focusRing: "focus-visible:ring-fuchsia-500",
|
|
7532
|
+
iconInactiveBg: "bg-fuchsia-500/10 dark:bg-fuchsia-500/20",
|
|
7533
|
+
iconInactiveText: "text-fuchsia-600 dark:text-fuchsia-300"
|
|
7464
7534
|
}
|
|
7465
7535
|
};
|
|
7466
7536
|
var INACTIVE_CLASSES = "border border-white/30 bg-white/20 shadow-sm shadow-black/[0.03] backdrop-blur-sm hover:bg-white/35 dark:border-white/10 dark:bg-white/5";
|
|
@@ -7513,7 +7583,17 @@ var SECTION_HEADER_COLOR_MAP = {
|
|
|
7513
7583
|
violet: "bg-violet-500/10 text-violet-600 dark:bg-violet-500/25 dark:text-violet-300",
|
|
7514
7584
|
purple: "bg-purple-500/10 text-purple-600 dark:bg-purple-500/25 dark:text-purple-300",
|
|
7515
7585
|
orange: "bg-orange-500/10 text-orange-600 dark:bg-orange-500/25 dark:text-orange-300",
|
|
7516
|
-
red: "bg-red-500/10 text-red-600 dark:bg-red-500/25 dark:text-red-300"
|
|
7586
|
+
red: "bg-red-500/10 text-red-600 dark:bg-red-500/25 dark:text-red-300",
|
|
7587
|
+
indigo: "bg-indigo-500/10 text-indigo-600 dark:bg-indigo-500/25 dark:text-indigo-300",
|
|
7588
|
+
cyan: "bg-cyan-500/10 text-cyan-600 dark:bg-cyan-500/25 dark:text-cyan-300",
|
|
7589
|
+
teal: "bg-teal-500/10 text-teal-600 dark:bg-teal-500/25 dark:text-teal-300",
|
|
7590
|
+
pink: "bg-pink-500/10 text-pink-600 dark:bg-pink-500/25 dark:text-pink-300",
|
|
7591
|
+
rose: "bg-rose-500/10 text-rose-600 dark:bg-rose-500/25 dark:text-rose-300",
|
|
7592
|
+
green: "bg-green-500/10 text-green-600 dark:bg-green-500/25 dark:text-green-300",
|
|
7593
|
+
yellow: "bg-yellow-500/10 text-yellow-600 dark:bg-yellow-500/25 dark:text-yellow-300",
|
|
7594
|
+
slate: "bg-slate-500/10 text-slate-600 dark:bg-slate-500/25 dark:text-slate-300",
|
|
7595
|
+
sky: "bg-sky-500/10 text-sky-600 dark:bg-sky-500/25 dark:text-sky-300",
|
|
7596
|
+
fuchsia: "bg-fuchsia-500/10 text-fuchsia-600 dark:bg-fuchsia-500/25 dark:text-fuchsia-300"
|
|
7517
7597
|
};
|
|
7518
7598
|
function FilterSectionHeader({
|
|
7519
7599
|
icon,
|
|
@@ -7971,7 +8051,16 @@ function CookieConsent({
|
|
|
7971
8051
|
}
|
|
7972
8052
|
) });
|
|
7973
8053
|
}
|
|
7974
|
-
function
|
|
8054
|
+
function accentFromRgb(rgb) {
|
|
8055
|
+
return {
|
|
8056
|
+
icon: `text-[rgb(${rgb})]`,
|
|
8057
|
+
bg: `bg-[rgba(${rgb},0.12)] dark:bg-[rgba(${rgb},0.2)]`,
|
|
8058
|
+
dot: `bg-[rgb(${rgb})]`,
|
|
8059
|
+
rgb
|
|
8060
|
+
};
|
|
8061
|
+
}
|
|
8062
|
+
function getDockAccent(id, accentRgb) {
|
|
8063
|
+
if (accentRgb) return accentFromRgb(accentRgb);
|
|
7975
8064
|
if (id === "stations") {
|
|
7976
8065
|
return { icon: "text-blue-600 dark:text-blue-400", bg: "bg-blue-100 dark:bg-blue-900/35", dot: "bg-blue-500 dark:bg-blue-400", rgb: "59, 130, 246" };
|
|
7977
8066
|
}
|
|
@@ -8119,7 +8208,7 @@ function Dock({
|
|
|
8119
8208
|
children: [
|
|
8120
8209
|
navigationActions.map((action, index) => {
|
|
8121
8210
|
const hasMenu = !!action.menuItems?.length;
|
|
8122
|
-
const accent = getDockAccent(action.id);
|
|
8211
|
+
const accent = getDockAccent(action.id, action.accentRgb);
|
|
8123
8212
|
const FlyoutIcon = action.icon;
|
|
8124
8213
|
const dockItem = /* @__PURE__ */ jsx(
|
|
8125
8214
|
DockItem,
|
|
@@ -8191,7 +8280,7 @@ function Dock({
|
|
|
8191
8280
|
contextualActions.map((action, actionIndex) => {
|
|
8192
8281
|
const index = navigationActions.length + actionIndex;
|
|
8193
8282
|
const hasMenu = !!action.menuItems?.length;
|
|
8194
|
-
const accent = getDockAccent(action.id);
|
|
8283
|
+
const accent = getDockAccent(action.id, action.accentRgb);
|
|
8195
8284
|
const FlyoutIcon = action.icon;
|
|
8196
8285
|
const dockItem = /* @__PURE__ */ jsx(
|
|
8197
8286
|
DockItem,
|
|
@@ -8277,7 +8366,7 @@ var DockItem = memo(function DockItem2({
|
|
|
8277
8366
|
compact = false
|
|
8278
8367
|
}) {
|
|
8279
8368
|
const Icon = action.icon;
|
|
8280
|
-
const accent = getDockAccent(action.id);
|
|
8369
|
+
const accent = getDockAccent(action.id, action.accentRgb);
|
|
8281
8370
|
const activeIndex = hoveredIndex ?? focusedIndex;
|
|
8282
8371
|
const isSelected = !!action.active;
|
|
8283
8372
|
const isInteractiveActive = activeIndex === index;
|
|
@@ -14062,7 +14151,8 @@ function buildDockActions(items, pathname, handlers, options = {}) {
|
|
|
14062
14151
|
href: item.href,
|
|
14063
14152
|
active: isActive(item.href),
|
|
14064
14153
|
onClick: item.onClick ?? (() => handlers.navigate(item.href)),
|
|
14065
|
-
menuItems
|
|
14154
|
+
menuItems,
|
|
14155
|
+
accentRgb: item.accentRgb
|
|
14066
14156
|
});
|
|
14067
14157
|
}
|
|
14068
14158
|
const contextualActions = [...contextualItems];
|
|
@@ -14754,5 +14844,5 @@ function PlatformShell({
|
|
|
14754
14844
|
}
|
|
14755
14845
|
|
|
14756
14846
|
export { ActionMenu, ActionSheet, ActiveFilterChips, AnalysisSkeleton, AnimatedNumber, AnimatedTableRow, AppLogo, AppNavigation, AppShell, ArchiveSwipeAction, AuthLayout, Avatar, AvatarButton, BRAZIL_ACCENT_MAP, BRAZIL_MACRO_REGIONS, BRAZIL_MAP_CENTER, BRAZIL_STATE_COORDINATES, BRAZIL_STATE_PALETTES, BR_THEME_CONFIG, BackupCodeGrid, BadRequestPage, Badge, BaseForm, BentoCard, BooleanFlagsPicker, BottomSafeArea, BrandFilterSkeleton, BrandedLoader, Breadcrumb, Button, Card, Card2, CardActionMenu, CardContent, CardContent2, CardDescription, CardDescription2, CardDivider, CardFooter, CardFooter2, CardGridSkeleton, CardHeader, CardHeader2, CardSectionHeader, CardTitle, CardTitle2, CategoryBadge, CategoryTab, CategoryTabs, ChipPicker, CircularRefreshIndicator, Code, CollapsibleGroupedList, CompactSegmentedControl, ContactCard, ContactSection, Container, ContextMenu, CookieConsent, CopyableId, CountPill, CreateActionButton, DashboardProgressShell, DataPagination, DatePicker, DeleteSwipeAction, Description4 as Description, DetailsPopover, DevModeBanner, Dialog4 as Dialog, DialogActions, DialogBody, DialogDescription, DialogTitle3 as DialogTitle, Divider, Dock, DockContainer, DockSkeleton, DotRefreshIndicator, Dropdown, DropdownButton, DropdownDescription, DropdownDivider, DropdownHeader, DropdownHeading, DropdownItem, DropdownLabel, DropdownMenu, DropdownSection, DropdownSelect, DropdownShortcut, DynamicIsland, DynamicIslandConfirm, DynamicIslandNotification, EdgeSwipeIndicator, EdgeSwipeProvider, EditSwipeAction, EmptyState, EntityCard, EntityDrawer, ErrorMessage, ErrorState, ExpandableHistoryList, ExpandingPageIndicator, FUEL_PRICE_LOADER, FavoriteSwipeAction, FeatureCard, FeedItemCard, Field2 as Field, FieldGroup, Fieldset2 as Fieldset, FilterBadge, FilterPill, FilterSectionHeader, FilterTileButton, FloatingActionButton, FlyoutMenu, FlyoutNavGrid, FlyoutQuickActions, ForceTouchMenu, Form, FormActions, FormActionsRow, FormCheckbox, FormField, FormGrid, FormInput, FormModal, FormPriceInput, FormSection, FormSelect, FormTextarea, FormToggle, GeoMapCanvas, GeoMapLegend, GlassModal, Gradient, GradientBackground, GrowthIndicator, Heading, HeroPanel, HeroSection, IconButton, InfoPopover, InlineForm, InlineSpinner, Input, InputGroup, InteractiveGeoMap, ItemSummary, KORI_ERP_LOADER, LOCALE_FLAGS, Label2 as Label, Label3 as Label2, LabeledToggle, LanguageSwitcher, LaunchpadGrid, Lead, Legend2 as Legend, Link4 as Link, LiquidFilterInput, ListCard, ListCardItem, ListItem, LoadingOverlay, ManagementPageLayout, ManagementSurface, MapZoomControls, MetricCard, MetricCard2, MetricTooltip, MonthPicker, MultiColumnPicker, NavigationProgress, NoDataState, NoResultsState, NotFoundPage, NotificationBadge, NotificationBellButton, NotificationProvider, OfficeCard, OfflineState, OptionGrid, OtpInput, PageEmptyState, PageHeader, PageHeading, PageIndicator, PageLoadingState, PageSectionHeader, Pagination, PasswordInput, PasswordInput2, PasswordStrengthMeter, Pill, PlatformShell, PlusGrid, PlusGridItem, PlusGridRow, PreferenceSection, PriceChangeBadge, ProfileIdentityCard, Progress, ProgressIndicator, PullToRefreshContainer, PullToRefreshIndicator, RadiantHeading, RadiantStatCard, RadiantSubheading, RegionFilterSkeleton, RoleBadge, SafeArea, SafeAreaSpacer, SafeAreaView, SearchBar, SearchFilterToolbar, SearchInput, SectionCard, SectionHeader, SectionHeaderSkeleton, SegmentedControl, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, SelectableChipPicker, SelectableListPicker, SelectableOptionsGrid, SelectableTableRow, SelectionCard, ServerErrorPage, SettingsDialog, SettingsModal, Sheet, SliderInput, SocialLoginButtons, SortableTableHeader, Spinner, Stat, StatCard, StatCard2, StatCardSkeleton, StatusBadge, StatusToggle, StepFormPage, StepNavigationButtons, StepTimeline, Strong, Subheading, SwipeableRow, Switch2 as Switch, SwitchField, SwitchGroup, Table, TableBody, TableCell, TableEmptyState, TableHead, TableHeader, TableRow, TableSkeleton, TableSkeletonRow, Tabs, TabsContent, TabsList, TabsTrigger, TagBadge, Text, TextLink, Textarea, ThemeSwitch, ThemeToggle, ThemeToggleCompact, TimePicker, ToggleSwitch, TouchTarget, US_ACCENT_MAP, US_MACRO_REGIONS, US_MAP_CENTER, US_STATE_COORDINATES, US_STATE_PALETTES, US_THEME_CONFIG, UserAvatar, UserMobileInfo, WINDSOCK_LOADER, WIRE_LOADER, WheelPicker, WindsockIcon, buildDockActions, buildFlyoutNavItems, buildLaunchpadItems, buttonPress, buttonPressReduced, buttonTap, cardHover, cardHoverReduced, cardPress, createMotionProps, durations, durationsReduced, easings, fadeOnly, fadeScale, filterByPermission, formatCurrency, formatDate, formatPercentage, getBrazilAccent, getBrazilColors, getBrazilFlagUrl, getBrazilGradient, getBrazilHexColor, getBrazilPalette, getStatusColor, getSubdivisionAccent, getSubdivisionColors, getSubdivisionFlagUrl, getSubdivisionGradient, getSubdivisionHexColor, getSubdivisionPalette, getTransition, getUsAccent, getUsColors, getUsFlagUrl, getUsGradient, getUsHexColor, getUsPalette, getVariants, iosColors, isValidBrazilState, isValidSubdivision, isValidUsState, listItem, listItemReduced, notificationBanner, notificationBannerReduced, pageControlDot, prefersReducedMotion, registerSubdivisionTheme, resolveGlassAccentRgb, selectIsAuthenticated, selectShowShellChrome, selectUserInitial, selectUserName, shimmerClass, shimmerWhiteClass, slideDown, slideRight, slideUp, springPresets, springPresetsReduced, staggerContainer, swipeActionThreshold, swipeConstraints, useGeoMapState, useNotifications, usePlatformShellStore, usePullToRefresh };
|
|
14757
|
-
//# sourceMappingURL=chunk-
|
|
14758
|
-
//# sourceMappingURL=chunk-
|
|
14847
|
+
//# sourceMappingURL=chunk-KZ5IPILQ.mjs.map
|
|
14848
|
+
//# sourceMappingURL=chunk-KZ5IPILQ.mjs.map
|