@espressif/dashboard-ui-components 1.12.0 → 1.14.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/.claude/rules/dashboard-ui-consumption.md +63 -2
- package/.cursor/rules/dashboard-ui-consumption.mdc +61 -3
- package/CHANGELOG.md +265 -0
- package/README.md +59 -8
- package/dist/{alert.props-CcKo49Rb.d.ts → alert.props-BuLuWmXA.d.ts} +3 -3
- package/dist/common/copyright-card/copyright-card.js +1 -1
- package/dist/common/footer-card/footer-card.js +2 -2
- package/dist/common/index.d.ts +3 -0
- package/dist/common/my-account-menu/my-account-menu.js +2 -2
- package/dist/common/page-loader/page-loader.js +4 -1
- package/dist/common/profile-card/profile-card.js +2 -2
- package/dist/components/accordion/accordion.js +6 -11
- package/dist/components/alert/index.d.ts +5 -5
- package/dist/components/anchored-panel/anchored-panel.js +4 -4
- package/dist/components/async-multi-select/async-multi-select.js +8 -8
- package/dist/components/badge/index.d.ts +1 -1
- package/dist/components/bottom-sheet/_hooks/use-sheet-drag.js +112 -0
- package/dist/components/bottom-sheet/bottom-sheet.js +84 -0
- package/dist/components/bottom-sheet/index.d.ts +50 -0
- package/dist/components/bottom-sheet/index.js +3 -0
- package/dist/components/bubble/bubble.js +1 -1
- package/dist/components/calendar/calendar.js +5 -5
- package/dist/components/cards/animated-card/animated-card.js +1 -1
- package/dist/components/cards/basic-details-card.js +2 -2
- package/dist/components/cards/collapsible-card.js +1 -1
- package/dist/components/cards/index.d.ts +2 -2
- package/dist/components/cards/no-data-card/no-data-card.js +2 -2
- package/dist/components/cards/section-card.js +49 -41
- package/dist/components/cards/simple-card.js +2 -5
- package/dist/components/category-card/category-card.js +2 -2
- package/dist/components/chart/chart.js +4 -4
- package/dist/components/chart/donut-chart.js +1 -1
- package/dist/components/chart/treemap-chart.js +1 -1
- package/dist/components/choice-card/choice-card.js +3 -3
- package/dist/components/code-editor/code-editor.js +4 -3
- package/dist/components/data-table/table-header.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.js +3 -3
- package/dist/components/dynamic-list/dynamic-list.js +14 -13
- package/dist/components/dynamic-list/index.d.ts +1 -1
- package/dist/components/error-display/full-size-error/full-size-error.js +2 -2
- package/dist/components/expandable-text/expandable-text-overlay.js +1 -1
- package/dist/components/facet-filters/filter-group.js +2 -2
- package/dist/components/feature-grid/feature-grid.js +3 -3
- package/dist/components/file-input/file-input.js +8 -8
- package/dist/components/file-upload/file-upload.js +4 -4
- package/dist/components/floating-window/_hooks/use-drag-move.js +1 -0
- package/dist/components/floating-window/_hooks/use-resize.js +133 -0
- package/dist/components/floating-window/floating-window.js +67 -40
- package/dist/components/floating-window/index.d.ts +21 -2
- package/dist/components/fullscreen-dialog/fullscreen-dialog.js +1 -1
- package/dist/components/gradient-ring-button/_hooks/use-ring-geometry.js +116 -0
- package/dist/components/gradient-ring-button/gradient-ring-button.js +44 -0
- package/dist/components/gradient-ring-button/gradient-ring.js +77 -0
- package/dist/components/gradient-ring-button/index.d.ts +66 -0
- package/dist/components/gradient-ring-button/index.js +3 -0
- package/dist/components/horizontal-stepper/horizontal-stepper.js +2 -6
- package/dist/components/horizontal-stepper/index.d.ts +2 -2
- package/dist/components/icon-avatar/index.d.ts +3 -3
- package/dist/components/icon-text-action-card/index.d.ts +4 -4
- package/dist/components/index.d.ts +14 -8
- package/dist/components/index.js +15 -6
- package/dist/components/key-value-manager/key-value-manager-add-popover.js +1 -1
- package/dist/components/key-value-manager/key-value-manager-table.js +1 -1
- package/dist/components/keyframes/index.d.ts +53 -0
- package/dist/components/keyframes/index.js +3 -0
- package/dist/components/keyframes/keyframes-motion.js +23 -0
- package/dist/components/keyframes/keyframes.js +37 -0
- package/dist/components/link/link.js +7 -7
- package/dist/components/list/list-item.utils.js +5 -4
- package/dist/components/list/list.js +1 -1
- package/dist/components/list-details/index.d.ts +2 -2
- package/dist/components/markdown-content/markdown-content.components.js +2 -2
- package/dist/components/media-card/media-card-reveal.js +2 -2
- package/dist/components/media-card/media-card.js +2 -2
- package/dist/components/monospace-content/index.d.ts +4 -4
- package/dist/components/monospace-content/monospace-content.js +9 -11
- package/dist/components/nav-bar/nav-bar-mobile-menu.js +3 -3
- package/dist/components/nav-bar/nav-bar.js +4 -4
- package/dist/components/notice-strip/notice-strip.js +1 -1
- package/dist/components/option-card-group/option-card-group.js +2 -2
- package/dist/components/overflow-badge-list/index.d.ts +2 -2
- package/dist/components/overflow-badge-list/overflow-badge-list.js +3 -3
- package/dist/components/page-banner/page-banner.js +1 -1
- package/dist/components/page-container/page-container.js +1 -1
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/qr-code/index.d.ts +26 -0
- package/dist/components/qr-code/index.js +2 -0
- package/dist/components/qr-code/qr-code.js +69 -0
- package/dist/components/radio-group/radio-group.js +3 -3
- package/dist/components/range-field/index.d.ts +45 -0
- package/dist/components/range-field/index.js +2 -0
- package/dist/components/range-field/range-field.js +161 -0
- package/dist/components/readout/readout.js +1 -1
- package/dist/components/requirement-list/requirement-list.js +5 -10
- package/dist/components/reveal/index.d.ts +6 -3
- package/dist/components/reveal/reveal.js +7 -4
- package/dist/components/scrollable-sections/scrollable-sections.js +1 -1
- package/dist/components/search-box/index.d.ts +3 -1
- package/dist/components/search-box/search-box.js +7 -12
- package/dist/components/search-field-shell.js +8 -8
- package/dist/components/selectable-card-list/selectable-card-list-shared.js +6 -6
- package/dist/components/showcase-card/index.d.ts +14 -3
- package/dist/components/showcase-card/showcase-card.js +43 -2
- package/dist/components/sidebar/sidebar.js +13 -15
- package/dist/components/simple-clickable-card/index.d.ts +4 -4
- package/dist/components/simple-clickable-card/simple-clickable-card-shared.js +19 -23
- package/dist/components/simple-info-card/index.d.ts +3 -3
- package/dist/components/simple-list/index.d.ts +1 -1
- package/dist/components/simple-list/simple-list.js +8 -8
- package/dist/components/simple-paginated-list/simple-paginated-list.js +1 -4
- package/dist/components/stat-card/stat-card.js +7 -13
- package/dist/components/status-badge/index.d.ts +3 -3
- package/dist/components/status-badge/status-badge.js +4 -4
- package/dist/components/status-card-list/status-card-list.js +6 -6
- package/dist/components/step-tabs/index.d.ts +1 -1
- package/dist/components/tag/index.d.ts +1 -1
- package/dist/components/tag/tag.js +4 -4
- package/dist/components/tag-input/tag-input.js +12 -12
- package/dist/components/timeline/timeline.js +2 -2
- package/dist/components/toast/index.d.ts +1 -1
- package/dist/components/toast/toast.js +2 -2
- package/dist/components/toolbar/index.d.ts +5 -2
- package/dist/components/toolbar/toolbar-button.js +1 -1
- package/dist/components/toolbar/toolbar.js +9 -3
- package/dist/components/trace/index.d.ts +49 -0
- package/dist/components/trace/index.js +2 -0
- package/dist/components/trace/trace.js +109 -0
- package/dist/components/transfer-list/transfer-list.js +2 -2
- package/dist/components/typography/index.d.ts +12 -3
- package/dist/components/typography/typography-variants.js +98 -13
- package/dist/components/typography/typography.js +4 -2
- package/dist/components/user-type-badge/user-type-badge.js +4 -4
- package/dist/components/vertical-stepper/index.d.ts +2 -2
- package/dist/components/vertical-stepper/vertical-stepper.js +18 -11
- package/dist/core/alert.js +3 -3
- package/dist/core/animate-ui/components/animate/code-header.js +1 -1
- package/dist/core/animate-ui/components/animate/code.js +1 -1
- package/dist/core/animate-ui/components/animate/tabs.js +6 -6
- package/dist/core/animate-ui/components/animate/tooltip.js +1 -1
- package/dist/core/animate-ui/components/base/progress.js +2 -2
- package/dist/core/animate-ui/components/radix/accordion.js +2 -2
- package/dist/core/animate-ui/components/radix/dialog.js +2 -2
- package/dist/core/animate-ui/components/radix/dropdown-menu.js +6 -6
- package/dist/core/animate-ui/components/radix/sheet.js +2 -2
- package/dist/core/animate-ui/components/radix/sidebar.js +8 -8
- package/dist/core/animate-ui/components/radix/toggle.js +1 -1
- package/dist/core/badge.js +1 -1
- package/dist/core/breadcrumb.js +1 -1
- package/dist/core/button/button.js +2 -2
- package/dist/core/button-group.js +1 -1
- package/dist/core/button.js +2 -2
- package/dist/core/card.js +2 -2
- package/dist/core/combobox/combobox.js +3 -3
- package/dist/core/command.js +5 -5
- package/dist/core/field-label-row.js +4 -4
- package/dist/core/form.js +2 -2
- package/dist/core/index.d.ts +1 -1
- package/dist/core/input/input.js +11 -11
- package/dist/core/input-otp/input-otp.js +12 -12
- package/dist/core/label.js +1 -1
- package/dist/core/select.js +6 -6
- package/dist/core/separator.js +1 -1
- package/dist/core/table.js +2 -2
- package/dist/core/textarea/textarea.js +9 -9
- package/dist/{icon-avatar.props-RYtw2eSW.d.ts → icon-avatar.props-BJe0-vva.d.ts} +1 -1
- package/dist/{icon-text-action-card.props-B2ggncUK.d.ts → icon-text-action-card.props-BU7yFi2Q.d.ts} +2 -2
- package/dist/index.d.ts +14 -8
- package/dist/index.js +16 -7
- package/dist/layouts/entry-layout/entry-layout.js +1 -1
- package/dist/layouts/index.d.ts +21 -6
- package/dist/layouts/index.js +1 -1
- package/dist/layouts/minimal-workspace-layout/minimal-workspace-layout.js +10 -18
- package/dist/layouts/minimal-workspace-layout/sidebar-trigger.js +35 -7
- package/dist/layouts/workspace-layout/footer/footer.js +1 -1
- package/dist/markdown/index.d.ts +4 -4
- package/dist/{section-card-B7c5uc08.d.ts → section-card-DqQeQkzU.d.ts} +1 -1
- package/dist/{simple-clickable-card.props-BrPCw7CR.d.ts → simple-clickable-card.props-BhhotZMp.d.ts} +2 -2
- package/dist/{status-badge.props-lKlEOfRt.d.ts → status-badge.props-BVe8CmQZ.d.ts} +1 -1
- package/dist/styles/type-scale.js +153 -0
- package/dist/tailwind-preset.js +120 -1
- package/dist/toast/index.d.ts +1 -1
- package/dist/utils/cn.js +16 -5
- package/dist/utils/index.d.ts +31 -2
- package/dist/utils/index.js +2 -1
- package/dist/utils/variant.js +47 -47
- package/dist/{variant-D81RhpbR.d.ts → variant-DjdaxfIA.d.ts} +6 -1
- package/dist/{vertical-stepper.props-BXYcbW70.d.ts → vertical-stepper.props-DONJJXIy.d.ts} +1 -0
- package/package.json +9 -1
- package/src/styles/theme.css +23 -3
- package/src/styles/type-scale.css +152 -0
- package/tailwind.preset.ts +23 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { C as Color } from '../../index-BQANnKs9.js';
|
|
4
|
-
import { c as VerticalStepperStepStatus } from '../../vertical-stepper.props-
|
|
4
|
+
import { c as VerticalStepperStepStatus } from '../../vertical-stepper.props-DONJJXIy.js';
|
|
5
5
|
|
|
6
6
|
/** One stop on the line. `status` is the same as a `VerticalStepper` step's, so data moves between the two. */
|
|
7
7
|
interface HorizontalStepperStep {
|
|
@@ -32,7 +32,7 @@ interface HorizontalStepperProps {
|
|
|
32
32
|
steps: HorizontalStepperStep[];
|
|
33
33
|
/** Fill of the steps reached (complete and current) and of the line between them. Default `primary`. */
|
|
34
34
|
color?: Color;
|
|
35
|
-
/** `sm`: 28px nodes and
|
|
35
|
+
/** `sm`: 28px nodes and tighter spacing, for a card (labels keep the `label` role). Default `default`. */
|
|
36
36
|
size?: HorizontalStepperSize;
|
|
37
37
|
/**
|
|
38
38
|
* `inverse` draws it for a dark overlay such as a `MediaCardReveal` panel, in
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { I as IconAvatarProps } from '../../icon-avatar.props-
|
|
3
|
-
export { a as IconAvatarRingProps, b as IconAvatarVariant } from '../../icon-avatar.props-
|
|
2
|
+
import { I as IconAvatarProps } from '../../icon-avatar.props-BJe0-vva.js';
|
|
3
|
+
export { a as IconAvatarRingProps, b as IconAvatarVariant } from '../../icon-avatar.props-BJe0-vva.js';
|
|
4
4
|
import '../../index-BQANnKs9.js';
|
|
5
|
-
import '../../variant-
|
|
5
|
+
import '../../variant-DjdaxfIA.js';
|
|
6
6
|
|
|
7
7
|
declare function IconAvatar({ size, color, variant, ring, children, className, discClassName, discStyle, }: IconAvatarProps): React.JSX.Element;
|
|
8
8
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { a as IconTextActionCardProps } from '../../icon-text-action-card.props-
|
|
3
|
-
export { I as IconTextActionCardActionsPlacement, b as IconTextActionCardVariant } from '../../icon-text-action-card.props-
|
|
2
|
+
import { a as IconTextActionCardProps } from '../../icon-text-action-card.props-BU7yFi2Q.js';
|
|
3
|
+
export { I as IconTextActionCardActionsPlacement, b as IconTextActionCardVariant } from '../../icon-text-action-card.props-BU7yFi2Q.js';
|
|
4
4
|
import '../../index-BQANnKs9.js';
|
|
5
|
-
import '../../variant-
|
|
5
|
+
import '../../variant-DjdaxfIA.js';
|
|
6
6
|
import '../../style-axes-DSQ2DGc5.js';
|
|
7
|
-
import '../../icon-avatar.props-
|
|
7
|
+
import '../../icon-avatar.props-BJe0-vva.js';
|
|
8
8
|
|
|
9
9
|
declare const IconTextActionCard: React.ForwardRefExoticComponent<IconTextActionCardProps & React.RefAttributes<HTMLDivElement | HTMLButtonElement>>;
|
|
10
10
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { C as Color, P as PresetColor, S as Size } from '../index-BQANnKs9.js';
|
|
2
|
-
export { P as PRESET_GRADIENT_BACKDROP, a as PRESET_GRADIENT_FRAME, V as VARIANTS, b as VARIANT_GRADIENT_BACKDROP_BASE, c as VARIANT_GRADIENT_DURATION_CLASS, d as VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, e as VARIANT_GRADIENT_TRANSITION_DURATION_MS, f as Variant, g as VariantRecipe, h as VariantRegistry, i as VariantStyles, j as arbitraryGradientBackgroundImage, l as listVariants, r as registerVariant, k as resolveVariantStyles } from '../variant-
|
|
2
|
+
export { P as PRESET_GRADIENT_BACKDROP, a as PRESET_GRADIENT_FRAME, V as VARIANTS, b as VARIANT_GRADIENT_BACKDROP_BASE, c as VARIANT_GRADIENT_DURATION_CLASS, d as VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, e as VARIANT_GRADIENT_TRANSITION_DURATION_MS, f as Variant, g as VariantRecipe, h as VariantRegistry, i as VariantStyles, j as arbitraryGradientBackgroundImage, l as listVariants, r as registerVariant, k as resolveVariantStyles } from '../variant-DjdaxfIA.js';
|
|
3
3
|
export { B as BORDERS, a as Border, b as BorderRegistry, D as DENSITIES, c as Density, d as DensityProps, e as DensityRegistry, f as DensityTokens, E as ELEVATIONS, g as Elevation, h as ElevationRegistry, R as RADII, i as Radius, j as RadiusRegistry, S as StyleAxis, k as StyleAxisProps, l as StyleValueAxis, m as densityStyle, n as listStyleValues, r as registerDensity, o as registerStyleValue, p as resolveDensity, q as resolveStyleValue, u as useStyleAxes } from '../style-axes-DSQ2DGc5.js';
|
|
4
4
|
export { StyleRole, StyleScope, StyleScopeProps } from './style-scope/index.js';
|
|
5
5
|
export { TruncatedLineWithTooltip, TruncatedLineWithTooltipProps } from './truncated-line-with-tooltip/index.js';
|
|
@@ -34,7 +34,9 @@ export { ViewMode, ViewToggle, ViewToggleLabels, ViewToggleProps } from './view-
|
|
|
34
34
|
export { Toolbar, ToolbarButton, ToolbarButtonProps, ToolbarProps } from './toolbar/index.js';
|
|
35
35
|
export { AnchoredPanel, AnchoredPanelProps } from './anchored-panel/index.js';
|
|
36
36
|
export { FloatingWindow, FloatingWindowPosition, FloatingWindowProps } from './floating-window/index.js';
|
|
37
|
+
export { BottomSheet, BottomSheetLabels, BottomSheetProps, SheetRest, settleSheet } from './bottom-sheet/index.js';
|
|
37
38
|
export { NoticeStrip, NoticeStripProps, NoticeTone } from './notice-strip/index.js';
|
|
39
|
+
export { Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleContentProps, TraceCollapsibleProps, TraceCollapsibleTrigger, TraceCollapsibleTriggerProps, TraceDescription, TraceDescriptionProps, TraceIcon, TraceIconProps, TraceLine, TraceLineProps, TraceProps, TraceStatus, TraceTitle, TraceTitleProps } from './trace/index.js';
|
|
38
40
|
export { Readout, ReadoutProps, ReadoutSegment } from './readout/index.js';
|
|
39
41
|
export { ChoiceCard, ChoiceCardProps } from './choice-card/index.js';
|
|
40
42
|
export { ShowcaseCard, ShowcaseCardOpen, ShowcaseCardProps } from './showcase-card/index.js';
|
|
@@ -43,6 +45,9 @@ export { ActiveFilterTag, ActiveFilters, ActiveFiltersProps, FacetFilterGroup, F
|
|
|
43
45
|
export { InputGroup, InputGroupAddon, InputGroupAddonProps, InputGroupProps, InputGroupTextarea, InputGroupTextareaProps } from './input-group/index.js';
|
|
44
46
|
export { Bubble, BubbleProps } from './bubble/index.js';
|
|
45
47
|
export { Reveal, RevealProps } from './reveal/index.js';
|
|
48
|
+
export { QrCode, QrCodeProps } from './qr-code/index.js';
|
|
49
|
+
export { RangeField, RangeFieldLabels, RangeFieldProps } from './range-field/index.js';
|
|
50
|
+
export { Keyframes, KeyframesMotion, KeyframesProps, easeOutSplines, keyTimes } from './keyframes/index.js';
|
|
46
51
|
export { CheckBadge, CheckBadgeProps } from './check-badge/index.js';
|
|
47
52
|
export { MessageScroller, MessageScrollerProps } from './message-scroller/index.js';
|
|
48
53
|
export { ResizableGroup, ResizablePanel, ResizableSeparator } from './resizable/index.js';
|
|
@@ -52,7 +57,7 @@ export { RadioGroup, RadioGroupProps, RadioGroupSize, RadioOption } from './radi
|
|
|
52
57
|
export { SelectableCardList, SelectableCardListElement, SelectableCardListItem, SelectableCardListMultiProps, SelectableCardListProps, SelectableCardListSingleProps, SelectableCardListSize } from './selectable-card-list/index.js';
|
|
53
58
|
export { StatusCardList, StatusCardListItem, StatusCardListProps, StatusCardListSize, StatusCardState } from './status-card-list/index.js';
|
|
54
59
|
export { VerticalStepper } from './vertical-stepper/index.js';
|
|
55
|
-
export { V as VerticalStepperProps, a as VerticalStepperSize, b as VerticalStepperStep, c as VerticalStepperStepStatus } from '../vertical-stepper.props-
|
|
60
|
+
export { V as VerticalStepperProps, a as VerticalStepperSize, b as VerticalStepperStep, c as VerticalStepperStepStatus } from '../vertical-stepper.props-DONJJXIy.js';
|
|
56
61
|
export { HorizontalStepper, HorizontalStepperAlign, HorizontalStepperProps, HorizontalStepperSemantics, HorizontalStepperSize, HorizontalStepperStep } from './horizontal-stepper/index.js';
|
|
57
62
|
export { OptionCardGroup, OptionCardGroupItem, OptionCardGroupProps, OptionCardGroupTag } from './option-card-group/index.js';
|
|
58
63
|
export { StepTabs, StepTabsProps, StepTabsSize, StepTabsStep, StepTabsVariant } from './step-tabs/index.js';
|
|
@@ -61,6 +66,7 @@ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScro
|
|
|
61
66
|
export { B as Button, a as ButtonIconOnlyBreakpoint, b as ButtonProps } from '../button-BxJ7s6sR.js';
|
|
62
67
|
export { CopyButton, CopyButtonProps, FlashButton, FlashButtonProps, InvertButton, InvertButtonProps } from './button/index.js';
|
|
63
68
|
export { ReactionButton, ReactionButtonProps } from './reaction-button/index.js';
|
|
69
|
+
export { GradientRing, GradientRingButton, GradientRingButtonProps, GradientRingProps } from './gradient-ring-button/index.js';
|
|
64
70
|
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants } from './button-group/index.js';
|
|
65
71
|
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './card/index.js';
|
|
66
72
|
export { AreaChart, AreaChartProps, BarChart, BarChartProps, BarSize, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, ChartCategoryColorKey, ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartLegendLayout, ChartLegendList, ChartLegendListItem, ChartLegendListProps, ChartLegendOptions, ChartLegendValue, ChartSeriesColorKey, ChartStyle, ChartTooltip, ChartTooltipContent, ComposedChart, ComposedChartProps, ComposedChartSeries, DEFAULT_CHART_SERIES_COLORS, DonutChart, DonutChartProps, DonutDatum, LineChart, LineChartProps, LineStrokeWidth, TreemapAnimationEasing, TreemapChart, TreemapChartProps, TreemapDatum, TreemapTileLabelStyle, buildSeriesChartConfig, getChartSeriesColor } from './chart/index.js';
|
|
@@ -103,12 +109,12 @@ export { ShareMenu, ShareMenuLabels, ShareMenuProps, ShareTarget } from './share
|
|
|
103
109
|
export { Timeline, TimelineItem, TimelineLabels, TimelineProps } from './timeline/index.js';
|
|
104
110
|
export { Identicon, IdenticonProps } from './identicon/index.js';
|
|
105
111
|
export { IconAvatar } from './icon-avatar/index.js';
|
|
106
|
-
export { I as IconAvatarProps, a as IconAvatarRingProps, b as IconAvatarVariant } from '../icon-avatar.props-
|
|
112
|
+
export { I as IconAvatarProps, a as IconAvatarRingProps, b as IconAvatarVariant } from '../icon-avatar.props-BJe0-vva.js';
|
|
107
113
|
export { Illustration, IllustrationProps, IllustrationType, illustrationRegistry, illustrationsById, parseSvgViewBoxAspectRatio } from './illustration/index.js';
|
|
108
114
|
export { Badge, BadgeProps, badgeVariants } from './badge/index.js';
|
|
109
115
|
export { UserType, UserTypeBadge, UserTypeBadgeProps, UserTypeBadgeRegistryItem, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes } from './user-type-badge/index.js';
|
|
110
116
|
export { StatusBadge, statusBadgeSizeVariants } from './status-badge/index.js';
|
|
111
|
-
export { S as StatusBadgeIcon, a as StatusBadgeProps } from '../status-badge.props-
|
|
117
|
+
export { S as StatusBadgeIcon, a as StatusBadgeProps } from '../status-badge.props-BVe8CmQZ.js';
|
|
112
118
|
export { Tag, TagProps } from './tag/index.js';
|
|
113
119
|
export { TagInput, TagInputProps } from './tag-input/index.js';
|
|
114
120
|
export { TransferItem, TransferList, TransferListProps } from './transfer-list/index.js';
|
|
@@ -128,7 +134,7 @@ export { RequirementList, RequirementListItem, RequirementListProps, Requirement
|
|
|
128
134
|
export { SimpleList, SimpleListAvatarSize, SimpleListIconStyle, SimpleListItem, SimpleListItemDirection, SimpleListProps } from './simple-list/index.js';
|
|
129
135
|
export { SimplePaginatedList, SimplePaginatedListItem, SimplePaginatedListProps, SimplePaginatedListSize } from './simple-paginated-list/index.js';
|
|
130
136
|
export { Alert } from './alert/index.js';
|
|
131
|
-
export { A as AlertColor, a as AlertIconAvatarVariant, b as AlertProps, c as AlertSize, d as AlertType, e as AlertVariant } from '../alert.props-
|
|
137
|
+
export { A as AlertColor, a as AlertIconAvatarVariant, b as AlertProps, c as AlertSize, d as AlertType, e as AlertVariant } from '../alert.props-BuLuWmXA.js';
|
|
132
138
|
export { Toast, ToastColor, ToastId, ToastInput, ToastOptions, ToastProps, ToastToasterProps, ToastType, ToastVariant, Toaster, toast } from './toast/index.js';
|
|
133
139
|
export { MarkdownContent, MarkdownContentProps } from './markdown-content/index.js';
|
|
134
140
|
export { MonospaceContent, MonospaceContentProps } from './monospace-content/index.js';
|
|
@@ -141,11 +147,11 @@ export { CircularProgress, CircularProgressProps } from './circular-progress/ind
|
|
|
141
147
|
export { ProgressBar, ProgressBarProps, ProgressBarSegment } from './progress-bar/index.js';
|
|
142
148
|
export { FullSizeError, FullSizeErrorProps, InlineError, InlineErrorProps } from './error-display/index.js';
|
|
143
149
|
export { AnimatedCard, AnimatedCardProps, AnimatedCardType, BasicDetailsCard, BasicDetailsCardProps, CollapsibleCard, CollapsibleCardProps, NoDataCard, NoDataCardProps, SimpleCard, SimpleCardProps, animatedCardAnimations, animatedCardTypeKeys } from './cards/index.js';
|
|
144
|
-
export { S as SectionCard, a as SectionCardProps, b as SectionCardSize, c as SectionCardVariant } from '../section-card-
|
|
150
|
+
export { S as SectionCard, a as SectionCardProps, b as SectionCardSize, c as SectionCardVariant } from '../section-card-DqQeQkzU.js';
|
|
145
151
|
export { IconTextActionCard } from './icon-text-action-card/index.js';
|
|
146
|
-
export { I as IconTextActionCardActionsPlacement, a as IconTextActionCardProps, b as IconTextActionCardVariant } from '../icon-text-action-card.props-
|
|
152
|
+
export { I as IconTextActionCardActionsPlacement, a as IconTextActionCardProps, b as IconTextActionCardVariant } from '../icon-text-action-card.props-BU7yFi2Q.js';
|
|
147
153
|
export { SimpleClickableCard } from './simple-clickable-card/index.js';
|
|
148
|
-
export { S as SimpleClickableCardProps, a as SimpleClickableCardSharedProps, b as SimpleClickableCardVariant } from '../simple-clickable-card.props-
|
|
154
|
+
export { S as SimpleClickableCardProps, a as SimpleClickableCardSharedProps, b as SimpleClickableCardVariant } from '../simple-clickable-card.props-BhhotZMp.js';
|
|
149
155
|
export { CategoryCard, CategoryCardProps } from './category-card/index.js';
|
|
150
156
|
export { SimpleInfoCard, SimpleInfoCardProps } from './simple-info-card/index.js';
|
|
151
157
|
export { GlitchText, GlitchTextProps, GradientText, GradientTextProps, HighlightText, HighlightTextProps, ShimmeringText, ShimmeringTextProps, parseTextMarkup } from './text-effects/index.js';
|
package/dist/components/index.js
CHANGED
|
@@ -64,9 +64,17 @@ import { ToolbarButton } from "./toolbar/toolbar-button.js";
|
|
|
64
64
|
import { Badge, badgeVariants } from "../core/badge.js";
|
|
65
65
|
import { AnchoredPanel } from "./anchored-panel/anchored-panel.js";
|
|
66
66
|
import { FloatingWindow } from "./floating-window/floating-window.js";
|
|
67
|
+
import { settleSheet } from "./bottom-sheet/_hooks/use-sheet-drag.js";
|
|
68
|
+
import { BottomSheet } from "./bottom-sheet/bottom-sheet.js";
|
|
67
69
|
import { IconTextActionCard } from "./icon-text-action-card/icon-text-action-card.js";
|
|
68
70
|
import { Alert } from "./alert/alert.js";
|
|
69
71
|
import { NoticeStrip } from "./notice-strip/notice-strip.js";
|
|
72
|
+
import { GlitchText } from "./text-effects/glitch-effect/glitch-text.js";
|
|
73
|
+
import { GradientText } from "./text-effects/gradient-text/gradient-text.js";
|
|
74
|
+
import { HighlightText } from "./text-effects/highlight-text/highlight-text.js";
|
|
75
|
+
import { ShimmeringText } from "./text-effects/shimmer-text/shimmer-text.js";
|
|
76
|
+
import { parseTextMarkup } from "./text-effects/parse-text-markup.js";
|
|
77
|
+
import { Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, TraceIcon, TraceLine, TraceTitle } from "./trace/trace.js";
|
|
70
78
|
import { Readout } from "./readout/readout.js";
|
|
71
79
|
import { ChoiceCard } from "./choice-card/choice-card.js";
|
|
72
80
|
import { MediaCard, MediaCardAction, MediaCardBody, MediaCardFooter, MediaCardLink, MediaCardMedia, MediaCardMeta, MediaCardTitle } from "./media-card/media-card.js";
|
|
@@ -84,6 +92,10 @@ import { supportsViewTransitions, useFiltersCollapsed } from "./facet-filters/us
|
|
|
84
92
|
import { InputGroup, InputGroupAddon, InputGroupTextarea } from "./input-group/input-group.js";
|
|
85
93
|
import { Bubble } from "./bubble/bubble.js";
|
|
86
94
|
import { Reveal } from "./reveal/reveal.js";
|
|
95
|
+
import { QrCode } from "./qr-code/qr-code.js";
|
|
96
|
+
import { RangeField } from "./range-field/range-field.js";
|
|
97
|
+
import { KeyframesMotion, easeOutSplines, keyTimes } from "./keyframes/keyframes-motion.js";
|
|
98
|
+
import { Keyframes } from "./keyframes/keyframes.js";
|
|
87
99
|
import { CheckBadge } from "./check-badge/check-badge.js";
|
|
88
100
|
import { MessageScroller } from "./message-scroller/message-scroller.js";
|
|
89
101
|
import { ResizableGroup } from "./resizable/resizable-group.js";
|
|
@@ -102,6 +114,8 @@ import { OptionCardGroup } from "./option-card-group/option-card-group.js";
|
|
|
102
114
|
import { StepTabs } from "./step-tabs/step-tabs.js";
|
|
103
115
|
import { StatCard } from "./stat-card/stat-card.js";
|
|
104
116
|
import { ReactionButton } from "./reaction-button/reaction-button.js";
|
|
117
|
+
import { GradientRing } from "./gradient-ring-button/gradient-ring.js";
|
|
118
|
+
import { GradientRingButton } from "./gradient-ring-button/gradient-ring-button.js";
|
|
105
119
|
import { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants } from "../core/button-group.js";
|
|
106
120
|
import { ChartContainer, ChartLegend, ChartLegendContent, ChartLegendList, ChartStyle, ChartTooltip, ChartTooltipContent } from "./chart/chart.js";
|
|
107
121
|
import { CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, DEFAULT_CHART_SERIES_COLORS, buildSeriesChartConfig, getChartSeriesColor } from "./chart/chart-colors.js";
|
|
@@ -173,13 +187,8 @@ import { InlineError } from "./error-display/inline-error/inline-error.js";
|
|
|
173
187
|
import { SimpleClickableCard } from "./simple-clickable-card/simple-clickable-card.js";
|
|
174
188
|
import { CategoryCard } from "./category-card/category-card.js";
|
|
175
189
|
import { SimpleInfoCard } from "./simple-info-card/simple-info-card.js";
|
|
176
|
-
import { GlitchText } from "./text-effects/glitch-effect/glitch-text.js";
|
|
177
|
-
import { GradientText } from "./text-effects/gradient-text/gradient-text.js";
|
|
178
|
-
import { HighlightText } from "./text-effects/highlight-text/highlight-text.js";
|
|
179
|
-
import { ShimmeringText } from "./text-effects/shimmer-text/shimmer-text.js";
|
|
180
|
-
import { parseTextMarkup } from "./text-effects/parse-text-markup.js";
|
|
181
190
|
import { CodeEditor } from "./code-editor/code-editor.js";
|
|
182
191
|
import { ContentContainer } from "./content-container/content-container.js";
|
|
183
192
|
import PageContainer from "./page-container/page-container.js";
|
|
184
193
|
import PageContainerSkeleton from "./page-container/page-container-skeleton.js";
|
|
185
|
-
export { Accordion, ActiveFilters, AdvancedSearchBox, Alert, AnchoredPanel, AnimatedCard, AreaChart, AsyncCombobox, AsyncMultiSelect, Avatar, AvatarGroup, BORDERS, Badge, BarChart, BasicDetailsCard, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Bubble, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardRail, CardTitle, Carousel, CategoryCard, ChartContainer, ChartLegend, ChartLegendContent, ChartLegendList, ChartStyle, ChartTooltip, ChartTooltipContent, CheckBadge, Checkbox, ChoiceCard, CircularProgress, Code, CodeEditor, Collapsible, CollapsibleCard, CollapsibleContent, CollapsibleTrigger, ColumnPanel, ComposedChart, ConfirmationDialog, ContentContainer, CopiableText, CopyButton, Coverflow, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DENSITIES, DataTable, DataTableRowActions, DatePicker, DateRangePicker, DateTimePicker, DeviceIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DonutChart, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicList, ELEVATIONS, ExpandableText, FeatureGrid, FileInput, FileUpload, FilterGroup, FiltersBar, FiltersPanel, FiltersPill, FlashButton, FlipCard, FloatingWindow, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullscreenDialog, GlitchText, GradientText, HighlightText, HorizontalStepper, IconAvatar, IconTextActionCard, Identicon, Illustration, InlineError, Input, InputGroup, InputGroupAddon, InputGroupTextarea, InputOTP, InputOTPSeparator, InputPassword, InvertButton, KeyValueManager, LIST_CLASS_NAMES, Label, LineChart, Link, List, ListDetails, LottieAnimationContainer, MarkdownContent, MediaCard, MediaCardAction, MediaCardBody, MediaCardFooter, MediaCardImage, MediaCardLink, MediaCardMedia, MediaCardMeta, MediaCardReveal, MediaCardRevealChips, MediaCardRevealFooter, MediaCardRevealItem, MediaCardTitle, MediaStage, Menu, MessageScroller, MiniBarChart, MonospaceContent, NavBar, NoDataCard, NoticeStrip, OptionCardGroup, OverflowBadgeList, PRESET_GRADIENT_BACKDROP, PRESET_GRADIENT_FRAME, PRESET_IDS, PRESET_LABELS, PageBanner, PageContainer, PageContainerSkeleton, Pagination, PopCollectionItem, Popover, PopoverAnchor, PopoverContent, PopoverGroup, PopoverTrigger, PreviewCard, PreviewCardBackdrop, PreviewCardPanel, PreviewCardTrigger, ProgressBar, RADII, ROLLING_PRESET_IDS, RadioGroup, RankNumeral, ReactionButton, Readout, RequirementList, ResizableGroup, ResizablePanel, ResizableSeparator, Reveal, ScrollArea, ScrollBar, ScrollableSections, SearchBox, SectionCard, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectableCardList, Separator, ShareMenu, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShimmeringText, ShowcaseCard, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, Sidebar$1 as SidebarPrimitive, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleCard, SimpleClickableCard, SimpleInfoCard, SimpleList, SimplePaginatedList, SimplifiedDate, Skeleton, SortMenu, Spinner, StatCard, StatusBadge, StatusCardList, StepTabs, StyleScope, Switch, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsContents, TabsList, TabsTrigger, Tag, TagInput, Textarea, ThumbnailStrip, TimePicker, Timeline, Toast, Toaster, TogglableItemsList, ToggleGroup, ToggleGroupItem, Toolbar, ToolbarButton, Tooltip, TooltipContent, TooltipProvider, Tooltip$1 as TooltipRoot, TooltipTrigger, TransferList, TreemapChart, TruncatedLineWithTooltip, Typography, UserTypeBadge, VARIANTS, VARIANT_GRADIENT_BACKDROP_BASE, VARIANT_GRADIENT_DURATION_CLASS, VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, VARIANT_GRADIENT_TRANSITION_DURATION_MS, VerificationInProgress, VerticalStepper, ViewToggle, animatedCardAnimations, animatedCardTypeKeys, arbitraryGradientBackgroundImage, badgeVariants, buildSeriesChartConfig, buttonGroupVariants, buttonVariants, computeDateRange, densityStyle, getChartSeriesColor, illustrationRegistry, illustrationsById, isSidebarGroup, listStyleValues, listVariants, parseSvgViewBoxAspectRatio, parseTextMarkup, registerDensity, registerStyleValue, registerVariant, resolveDensity, resolveStyleValue, resolveVariantStyles, statusBadgeSizeVariants, supportsViewTransitions, toast, typographyDefaultElement, typographyVariantClasses, useFiltersCollapsed, useFormField, useIsMobile, usePanelFlag, useSidebar, useStyleAxes, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes };
|
|
194
|
+
export { Accordion, ActiveFilters, AdvancedSearchBox, Alert, AnchoredPanel, AnimatedCard, AreaChart, AsyncCombobox, AsyncMultiSelect, Avatar, AvatarGroup, BORDERS, Badge, BarChart, BasicDetailsCard, BottomSheet, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Bubble, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardRail, CardTitle, Carousel, CategoryCard, ChartContainer, ChartLegend, ChartLegendContent, ChartLegendList, ChartStyle, ChartTooltip, ChartTooltipContent, CheckBadge, Checkbox, ChoiceCard, CircularProgress, Code, CodeEditor, Collapsible, CollapsibleCard, CollapsibleContent, CollapsibleTrigger, ColumnPanel, ComposedChart, ConfirmationDialog, ContentContainer, CopiableText, CopyButton, Coverflow, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DENSITIES, DataTable, DataTableRowActions, DatePicker, DateRangePicker, DateTimePicker, DeviceIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DonutChart, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicList, ELEVATIONS, ExpandableText, FeatureGrid, FileInput, FileUpload, FilterGroup, FiltersBar, FiltersPanel, FiltersPill, FlashButton, FlipCard, FloatingWindow, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullscreenDialog, GlitchText, GradientRing, GradientRingButton, GradientText, HighlightText, HorizontalStepper, IconAvatar, IconTextActionCard, Identicon, Illustration, InlineError, Input, InputGroup, InputGroupAddon, InputGroupTextarea, InputOTP, InputOTPSeparator, InputPassword, InvertButton, KeyValueManager, Keyframes, KeyframesMotion, LIST_CLASS_NAMES, Label, LineChart, Link, List, ListDetails, LottieAnimationContainer, MarkdownContent, MediaCard, MediaCardAction, MediaCardBody, MediaCardFooter, MediaCardImage, MediaCardLink, MediaCardMedia, MediaCardMeta, MediaCardReveal, MediaCardRevealChips, MediaCardRevealFooter, MediaCardRevealItem, MediaCardTitle, MediaStage, Menu, MessageScroller, MiniBarChart, MonospaceContent, NavBar, NoDataCard, NoticeStrip, OptionCardGroup, OverflowBadgeList, PRESET_GRADIENT_BACKDROP, PRESET_GRADIENT_FRAME, PRESET_IDS, PRESET_LABELS, PageBanner, PageContainer, PageContainerSkeleton, Pagination, PopCollectionItem, Popover, PopoverAnchor, PopoverContent, PopoverGroup, PopoverTrigger, PreviewCard, PreviewCardBackdrop, PreviewCardPanel, PreviewCardTrigger, ProgressBar, QrCode, RADII, ROLLING_PRESET_IDS, RadioGroup, RangeField, RankNumeral, ReactionButton, Readout, RequirementList, ResizableGroup, ResizablePanel, ResizableSeparator, Reveal, ScrollArea, ScrollBar, ScrollableSections, SearchBox, SectionCard, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectableCardList, Separator, ShareMenu, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShimmeringText, ShowcaseCard, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, Sidebar$1 as SidebarPrimitive, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleCard, SimpleClickableCard, SimpleInfoCard, SimpleList, SimplePaginatedList, SimplifiedDate, Skeleton, SortMenu, Spinner, StatCard, StatusBadge, StatusCardList, StepTabs, StyleScope, Switch, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsContents, TabsList, TabsTrigger, Tag, TagInput, Textarea, ThumbnailStrip, TimePicker, Timeline, Toast, Toaster, TogglableItemsList, ToggleGroup, ToggleGroupItem, Toolbar, ToolbarButton, Tooltip, TooltipContent, TooltipProvider, Tooltip$1 as TooltipRoot, TooltipTrigger, Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, TraceIcon, TraceLine, TraceTitle, TransferList, TreemapChart, TruncatedLineWithTooltip, Typography, UserTypeBadge, VARIANTS, VARIANT_GRADIENT_BACKDROP_BASE, VARIANT_GRADIENT_DURATION_CLASS, VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, VARIANT_GRADIENT_TRANSITION_DURATION_MS, VerificationInProgress, VerticalStepper, ViewToggle, animatedCardAnimations, animatedCardTypeKeys, arbitraryGradientBackgroundImage, badgeVariants, buildSeriesChartConfig, buttonGroupVariants, buttonVariants, computeDateRange, densityStyle, easeOutSplines, getChartSeriesColor, illustrationRegistry, illustrationsById, isSidebarGroup, keyTimes, listStyleValues, listVariants, parseSvgViewBoxAspectRatio, parseTextMarkup, registerDensity, registerStyleValue, registerVariant, resolveDensity, resolveStyleValue, resolveVariantStyles, settleSheet, statusBadgeSizeVariants, supportsViewTransitions, toast, typographyDefaultElement, typographyVariantClasses, useFiltersCollapsed, useFormField, useIsMobile, usePanelFlag, useSidebar, useStyleAxes, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes };
|
|
@@ -114,7 +114,7 @@ function KeyValueManagerAddPopover({ items, meta, labels, maxAllowed, onUpdate,
|
|
|
114
114
|
endIcon: /* @__PURE__ */ jsx(ArrowRight, {}),
|
|
115
115
|
children: labels.add
|
|
116
116
|
}), showSuccess ? /* @__PURE__ */ jsx("p", {
|
|
117
|
-
className: cn("
|
|
117
|
+
className: cn("type-body text-success"),
|
|
118
118
|
children: labels.successMessage
|
|
119
119
|
}) : null]
|
|
120
120
|
})
|
|
@@ -80,7 +80,7 @@ function KeyValueManagerTable({ rows, itemsPerPage = 10, hasSearchQuery, onDelet
|
|
|
80
80
|
/* @__PURE__ */ jsx("div", {
|
|
81
81
|
className: "overflow-hidden sm:hidden",
|
|
82
82
|
children: noRows ? /* @__PURE__ */ jsx("p", {
|
|
83
|
-
className: "py-8 text-center
|
|
83
|
+
className: "py-8 text-center type-body text-muted-foreground",
|
|
84
84
|
children: emptyMessage
|
|
85
85
|
}) : /* @__PURE__ */ jsx(AnimatePresence, {
|
|
86
86
|
mode: "wait",
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface KeyframesProps {
|
|
4
|
+
/** The attribute animated: `opacity`, `stroke-dashoffset`, … or `transform`. */
|
|
5
|
+
attributeName: string;
|
|
6
|
+
/** For `transform` only: `translate`, `scale` or `rotate`. */
|
|
7
|
+
type?: "translate" | "scale" | "rotate";
|
|
8
|
+
/** One value per time. */
|
|
9
|
+
values: readonly (number | string)[];
|
|
10
|
+
/**
|
|
11
|
+
* When each value is reached, in seconds from the scene"s start; the first
|
|
12
|
+
* is normally 0, so the element holds its first value until the second
|
|
13
|
+
* time. The last value stays (`fill="freeze"`) unless `repeat` is set.
|
|
14
|
+
*/
|
|
15
|
+
times: readonly number[];
|
|
16
|
+
/** Loop for as long as the scene shows. */
|
|
17
|
+
repeat?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* `discrete` jumps from value to value at each time instead of easing
|
|
20
|
+
* between them: a label swapped for another, a screen for the next.
|
|
21
|
+
*/
|
|
22
|
+
calcMode?: "linear" | "discrete";
|
|
23
|
+
/**
|
|
24
|
+
* `out` eases every step out (fast start, soft landing) — a stroke drawing
|
|
25
|
+
* itself, a badge settling. Ignored with `calcMode`.
|
|
26
|
+
*/
|
|
27
|
+
ease?: "out";
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* One SMIL animation on its parent SVG element, written as values at times —
|
|
32
|
+
* the timing is data, never `style`. Every animation starts with the scene,
|
|
33
|
+
* so an element waits on its first value rather than flashing its resting
|
|
34
|
+
* state before a `begin`. Renders nothing unless a `KeyframesMotion` provider
|
|
35
|
+
* says the scene may animate; the parent's own attributes are then its
|
|
36
|
+
* resting frame, which is why they are always written as the LAST value.
|
|
37
|
+
*/
|
|
38
|
+
declare function Keyframes({ attributeName, type, values, times, repeat, calcMode, ease }: KeyframesProps): React.JSX.Element | null;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Whether the SVG scene showing may animate. Provide it once around the
|
|
42
|
+
* scene, `false` when the person prefers reduced motion: every
|
|
43
|
+
* `<Keyframes>` inside then renders nothing, and the scene shows its resting
|
|
44
|
+
* (final) frame. Default `false`, so a `<Keyframes>` with no provider stays
|
|
45
|
+
* still.
|
|
46
|
+
*/
|
|
47
|
+
declare const KeyframesMotion: React.Context<boolean>;
|
|
48
|
+
/** SMIL `keyTimes` for `times` in seconds: each one as a fraction of the last. */
|
|
49
|
+
declare function keyTimes(times: readonly number[]): string;
|
|
50
|
+
/** SMIL `keySplines` easing each of the `count - 1` steps between `count` values out. */
|
|
51
|
+
declare function easeOutSplines(count: number): string;
|
|
52
|
+
|
|
53
|
+
export { Keyframes, KeyframesMotion, type KeyframesProps, easeOutSplines, keyTimes };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { createContext } from "react";
|
|
2
|
+
//#region src/components/keyframes/keyframes-motion.ts
|
|
3
|
+
/**
|
|
4
|
+
* Whether the SVG scene showing may animate. Provide it once around the
|
|
5
|
+
* scene, `false` when the person prefers reduced motion: every
|
|
6
|
+
* `<Keyframes>` inside then renders nothing, and the scene shows its resting
|
|
7
|
+
* (final) frame. Default `false`, so a `<Keyframes>` with no provider stays
|
|
8
|
+
* still.
|
|
9
|
+
*/
|
|
10
|
+
var KeyframesMotion = createContext(false);
|
|
11
|
+
/** SMIL `keyTimes` for `times` in seconds: each one as a fraction of the last. */
|
|
12
|
+
function keyTimes(times) {
|
|
13
|
+
const total = times[times.length - 1] ?? 0;
|
|
14
|
+
if (total <= 0) return times.map(() => 0).join(";");
|
|
15
|
+
return times.map((time) => Number((time / total).toFixed(4))).join(";");
|
|
16
|
+
}
|
|
17
|
+
var EASE_OUT = "0 0 0.58 1";
|
|
18
|
+
/** SMIL `keySplines` easing each of the `count - 1` steps between `count` values out. */
|
|
19
|
+
function easeOutSplines(count) {
|
|
20
|
+
return Array.from({ length: Math.max(count - 1, 1) }, () => EASE_OUT).join(";");
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
export { KeyframesMotion, easeOutSplines, keyTimes };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { KeyframesMotion, easeOutSplines, keyTimes } from "./keyframes-motion.js";
|
|
2
|
+
import { useContext } from "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/keyframes/keyframes.tsx
|
|
5
|
+
/**
|
|
6
|
+
* One SMIL animation on its parent SVG element, written as values at times —
|
|
7
|
+
* the timing is data, never `style`. Every animation starts with the scene,
|
|
8
|
+
* so an element waits on its first value rather than flashing its resting
|
|
9
|
+
* state before a `begin`. Renders nothing unless a `KeyframesMotion` provider
|
|
10
|
+
* says the scene may animate; the parent's own attributes are then its
|
|
11
|
+
* resting frame, which is why they are always written as the LAST value.
|
|
12
|
+
*/
|
|
13
|
+
function Keyframes({ attributeName, type, values, times, repeat = false, calcMode, ease }) {
|
|
14
|
+
if (!useContext(KeyframesMotion)) return null;
|
|
15
|
+
const timing = {
|
|
16
|
+
values: values.join(";"),
|
|
17
|
+
keyTimes: keyTimes(times),
|
|
18
|
+
dur: `${times[times.length - 1] ?? 0}s`,
|
|
19
|
+
fill: "freeze",
|
|
20
|
+
repeatCount: repeat ? "indefinite" : void 0,
|
|
21
|
+
...ease && !calcMode ? {
|
|
22
|
+
calcMode: "spline",
|
|
23
|
+
keySplines: easeOutSplines(values.length)
|
|
24
|
+
} : { calcMode }
|
|
25
|
+
};
|
|
26
|
+
if (type) return /* @__PURE__ */ jsx("animateTransform", {
|
|
27
|
+
attributeName,
|
|
28
|
+
type,
|
|
29
|
+
...timing
|
|
30
|
+
});
|
|
31
|
+
return /* @__PURE__ */ jsx("animate", {
|
|
32
|
+
attributeName,
|
|
33
|
+
...timing
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
export { Keyframes };
|
|
@@ -9,13 +9,13 @@ function isExternalHref(to) {
|
|
|
9
9
|
}
|
|
10
10
|
var baseClasses = "inline-flex items-center gap-1.5 rounded-md transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0";
|
|
11
11
|
var colorClasses = {
|
|
12
|
-
primary: "px-2 h-8
|
|
13
|
-
secondary: "px-2 h-8
|
|
14
|
-
error: "px-2 h-8
|
|
15
|
-
info: "px-2 h-8
|
|
16
|
-
success: "px-2 h-8
|
|
17
|
-
warning: "px-2 h-8
|
|
18
|
-
gray: "px-2 h-8
|
|
12
|
+
primary: "px-2 h-8 type-label text-primary hover:bg-primary/10",
|
|
13
|
+
secondary: "px-2 h-8 type-label text-secondary hover:bg-secondary/10",
|
|
14
|
+
error: "px-2 h-8 type-label text-error hover:bg-error/10",
|
|
15
|
+
info: "px-2 h-8 type-label text-info hover:bg-info/10",
|
|
16
|
+
success: "px-2 h-8 type-label text-success hover:bg-success/10",
|
|
17
|
+
warning: "px-2 h-8 type-label text-warning hover:bg-warning/10",
|
|
18
|
+
gray: "px-2 h-8 type-label text-gray hover:bg-gray/10"
|
|
19
19
|
};
|
|
20
20
|
var variantClasses = {
|
|
21
21
|
default: "",
|
|
@@ -4,7 +4,7 @@ import { LIST_CLASS_NAMES } from "./list.props.js";
|
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/list/list-item.utils.tsx
|
|
7
|
-
var listItemBase = "min-h-[var(--espd-item-height,var(--menu-item-height))] w-full scroll-mt-[calc(var(--spacing)*1.5)] px-[calc(var(--spacing)*2.5)] py-[calc(var(--spacing)*1.5)] my-[calc(var(--spacing)*0.5)]
|
|
7
|
+
var listItemBase = "min-h-[var(--espd-item-height,var(--menu-item-height))] w-full scroll-mt-[calc(var(--spacing)*1.5)] px-[calc(var(--spacing)*2.5)] py-[calc(var(--spacing)*1.5)] my-[calc(var(--spacing)*0.5)] type-body select-none rounded-[var(--espd-own-radius,var(--espd-radius-item,10px))] items-center flex relative no-underline";
|
|
8
8
|
/**
|
|
9
9
|
* Interaction classes shared by the `<button>` and link renderings of a row, so a
|
|
10
10
|
* linked item is visually identical to a clickable one.
|
|
@@ -21,10 +21,11 @@ var presetColorStyles = {
|
|
|
21
21
|
gray: "text-gray",
|
|
22
22
|
mist: "text-mist-foreground"
|
|
23
23
|
};
|
|
24
|
+
/** Padding per size. The text is `type-body` (in `listItemBase`) at every size. */
|
|
24
25
|
var sizeStyles = {
|
|
25
|
-
sm: "
|
|
26
|
-
default: "
|
|
27
|
-
lg: "
|
|
26
|
+
sm: "py-1 px-2",
|
|
27
|
+
default: "py-1.5 px-2",
|
|
28
|
+
lg: "py-2 px-3"
|
|
28
29
|
};
|
|
29
30
|
function isListItem(item) {
|
|
30
31
|
return typeof item === "object" && item !== null && !React.isValidElement(item) && "id" in item && "label" in item && typeof item.id === "string" && typeof item.label === "string";
|
|
@@ -8,7 +8,7 @@ import DropdownListItem from "./dropdown-list-item.js";
|
|
|
8
8
|
import React from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region src/components/list/list.tsx
|
|
11
|
-
var groupLabelBase = "
|
|
11
|
+
var groupLabelBase = "type-subheading font-normal truncate overflow-ellipsis font-inter text-gray-400 flex items-center gap-2";
|
|
12
12
|
function List({ items, role = "list", showSeparators = true, className, itemClassName, separatorClassName, linkComponent, density }) {
|
|
13
13
|
const shouldShowSeparators = showSeparators && items.length > 1;
|
|
14
14
|
const isDropdown = role === "dropdown-list";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { k as StyleAxisProps } from '../../style-axes-DSQ2DGc5.js';
|
|
4
|
-
import { c as SectionCardVariant, b as SectionCardSize } from '../../section-card-
|
|
4
|
+
import { c as SectionCardVariant, b as SectionCardSize } from '../../section-card-DqQeQkzU.js';
|
|
5
5
|
import { C as Color } from '../../index-BQANnKs9.js';
|
|
6
|
-
import '../../variant-
|
|
6
|
+
import '../../variant-DjdaxfIA.js';
|
|
7
7
|
|
|
8
8
|
type ListDetailsTitleListPanelColumnWidth = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 12;
|
|
9
9
|
type ListDetailsItem = {
|
|
@@ -74,7 +74,7 @@ function createMarkdownComponents({ linkComponent, colorTheme } = {}) {
|
|
|
74
74
|
children
|
|
75
75
|
}),
|
|
76
76
|
li: ({ children }) => /* @__PURE__ */ jsx("li", {
|
|
77
|
-
className: "
|
|
77
|
+
className: "type-prose",
|
|
78
78
|
children
|
|
79
79
|
}),
|
|
80
80
|
table: ({ children }) => /* @__PURE__ */ jsx(Table, { children }),
|
|
@@ -98,7 +98,7 @@ function createMarkdownComponents({ linkComponent, colorTheme } = {}) {
|
|
|
98
98
|
});
|
|
99
99
|
},
|
|
100
100
|
code: ({ children }) => /* @__PURE__ */ jsx("code", {
|
|
101
|
-
className: "rounded bg-muted px-1.5 py-0.5 font-mono
|
|
101
|
+
className: "rounded bg-muted px-1.5 py-0.5 type-code font-mono",
|
|
102
102
|
children
|
|
103
103
|
}),
|
|
104
104
|
img: ({ src, alt, title }) => /* @__PURE__ */ jsx("img", {
|
|
@@ -39,7 +39,7 @@ function MediaCardRevealItem({ step = 0, className, ...props }) {
|
|
|
39
39
|
}
|
|
40
40
|
/** A row of small labels (the latest builds) popping in one by one, with an optional "+N". */
|
|
41
41
|
function MediaCardRevealChips({ items, more, className, ...props }) {
|
|
42
|
-
const chip = "inline-flex min-w-0 max-w-full items-center rounded-full px-2.5 py-1
|
|
42
|
+
const chip = "inline-flex min-w-0 max-w-full items-center rounded-full px-2.5 py-1 type-caption font-semibold";
|
|
43
43
|
return /* @__PURE__ */ jsxs("ul", {
|
|
44
44
|
"data-slot": "media-card-reveal-chips",
|
|
45
45
|
className: cn("m-0 flex list-none flex-wrap gap-1.5 p-0", className),
|
|
@@ -64,7 +64,7 @@ function MediaCardRevealFooter({ action, step = 2, className, children, ...props
|
|
|
64
64
|
className: cn("mt-auto flex items-center justify-between gap-2.5", at(RISE_STEPS, step), className),
|
|
65
65
|
...props,
|
|
66
66
|
children: [/* @__PURE__ */ jsx("div", {
|
|
67
|
-
className: "min-w-0 truncate font-mono
|
|
67
|
+
className: "min-w-0 truncate font-mono type-caption text-scrim-foreground/75",
|
|
68
68
|
children
|
|
69
69
|
}), action && /* @__PURE__ */ jsx("span", {
|
|
70
70
|
className: cn("pointer-events-auto relative z-30", SWING),
|
|
@@ -48,7 +48,7 @@ function MediaCardBody({ className, ...props }) {
|
|
|
48
48
|
function MediaCardTitle({ className, ...props }) {
|
|
49
49
|
return /* @__PURE__ */ jsx("h3", {
|
|
50
50
|
"data-slot": "media-card-title",
|
|
51
|
-
className: cn("m-0 min-w-0 truncate
|
|
51
|
+
className: cn("m-0 min-w-0 truncate type-heading font-bold leading-snug text-foreground", className),
|
|
52
52
|
...props
|
|
53
53
|
});
|
|
54
54
|
}
|
|
@@ -67,7 +67,7 @@ function MediaCardLink({ asChild, className, ...props }) {
|
|
|
67
67
|
function MediaCardMeta({ className, ...props }) {
|
|
68
68
|
return /* @__PURE__ */ jsx("div", {
|
|
69
69
|
"data-slot": "media-card-meta",
|
|
70
|
-
className: cn("flex min-w-0 items-center gap-2
|
|
70
|
+
className: cn("flex min-w-0 items-center gap-2 type-secondary text-foreground-secondary", className),
|
|
71
71
|
...props
|
|
72
72
|
});
|
|
73
73
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { A as AlertColor } from '../../alert.props-
|
|
3
|
+
import { A as AlertColor } from '../../alert.props-BuLuWmXA.js';
|
|
4
4
|
import { S as Size } from '../../index-BQANnKs9.js';
|
|
5
|
-
import '../../variant-
|
|
5
|
+
import '../../variant-DjdaxfIA.js';
|
|
6
6
|
import '../../style-axes-DSQ2DGc5.js';
|
|
7
|
-
import '../../icon-avatar.props-
|
|
8
|
-
import '../../icon-text-action-card.props-
|
|
7
|
+
import '../../icon-avatar.props-BJe0-vva.js';
|
|
8
|
+
import '../../icon-text-action-card.props-BU7yFi2Q.js';
|
|
9
9
|
|
|
10
10
|
interface MonospaceContentProps {
|
|
11
11
|
title?: ReactNode;
|
|
@@ -8,23 +8,21 @@ import * as React$1 from "react";
|
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { Eye, EyeOff } from "lucide-react";
|
|
10
10
|
//#region src/components/monospace-content/monospace-content.tsx
|
|
11
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* Action sizes mirror `CopiableText`'s own map, so the unmask toggle matches the copy button.
|
|
13
|
+
* The text keeps its roles at every size: the title is a field label (`type-label`, from
|
|
14
|
+
* `inputLabelClassName`), the value `type-code`.
|
|
15
|
+
*/
|
|
12
16
|
var MONOSPACE_SIZE_STYLES = {
|
|
13
17
|
sm: {
|
|
14
|
-
title: "text-xs",
|
|
15
|
-
value: "text-xs",
|
|
16
18
|
action: "size-5",
|
|
17
19
|
gap: "gap-1.5"
|
|
18
20
|
},
|
|
19
21
|
default: {
|
|
20
|
-
title: "text-sm",
|
|
21
|
-
value: "text-sm",
|
|
22
22
|
action: "size-6",
|
|
23
23
|
gap: "gap-2"
|
|
24
24
|
},
|
|
25
25
|
lg: {
|
|
26
|
-
title: "text-base",
|
|
27
|
-
value: "text-base",
|
|
28
26
|
action: "size-7",
|
|
29
27
|
gap: "gap-2.5"
|
|
30
28
|
}
|
|
@@ -51,12 +49,12 @@ var MonospaceContent = React$1.forwardRef(function MonospaceContent({ title, val
|
|
|
51
49
|
ref,
|
|
52
50
|
className: cn("flex min-w-0 max-w-full flex-col overflow-hidden", sizeStyles.gap, className),
|
|
53
51
|
children: [title != null && (typeof title === "string" ? /* @__PURE__ */ jsx("div", {
|
|
54
|
-
className: cn(inputLabelClassName,
|
|
52
|
+
className: cn(inputLabelClassName, "title"),
|
|
55
53
|
children: title
|
|
56
54
|
}) : /* @__PURE__ */ jsx(Typography, {
|
|
57
|
-
variant: "
|
|
55
|
+
variant: "label",
|
|
58
56
|
as: "div",
|
|
59
|
-
className: cn(inputLabelClassName,
|
|
57
|
+
className: cn(inputLabelClassName, "text-muted-foreground", "title"),
|
|
60
58
|
children: title
|
|
61
59
|
})), /* @__PURE__ */ jsx(Alert, {
|
|
62
60
|
variant: "soft",
|
|
@@ -70,7 +68,7 @@ var MonospaceContent = React$1.forwardRef(function MonospaceContent({ title, val
|
|
|
70
68
|
size,
|
|
71
69
|
actions: unmaskToggle,
|
|
72
70
|
alwaysShowActions: mask,
|
|
73
|
-
className: cn("w-full min-w-0 max-w-full font-mono tabular-nums",
|
|
71
|
+
className: cn("w-full min-w-0 max-w-full type-code font-mono tabular-nums", masked && "select-none [-webkit-text-security:disc]")
|
|
74
72
|
})
|
|
75
73
|
})]
|
|
76
74
|
});
|
|
@@ -93,11 +93,11 @@ function NavBarMobileMenu({ items, activeId, onItemClick, open, onOpenChange, li
|
|
|
93
93
|
"aria-hidden": "true"
|
|
94
94
|
})
|
|
95
95
|
}), /* @__PURE__ */ jsx("span", {
|
|
96
|
-
className: "truncate
|
|
96
|
+
className: "truncate type-subheading text-foreground",
|
|
97
97
|
children: detailsItem.label
|
|
98
98
|
})]
|
|
99
99
|
}), /* @__PURE__ */ jsx("div", {
|
|
100
|
-
className: "flex-1 min-h-0 overflow-y-auto px-4 py-4
|
|
100
|
+
className: "flex-1 min-h-0 overflow-y-auto px-4 py-4 type-body",
|
|
101
101
|
children: detailsItem.details
|
|
102
102
|
})]
|
|
103
103
|
}, detailsItem.id)
|
|
@@ -116,7 +116,7 @@ var SLIDE_TRANSITION = {
|
|
|
116
116
|
]
|
|
117
117
|
};
|
|
118
118
|
function MobileMenuItemTrigger({ item, isActive, onClick, linkComponent, colorClasses }) {
|
|
119
|
-
const classes = cn("flex items-center gap-2 min-w-0 w-full px-4 h-11
|
|
119
|
+
const classes = cn("flex items-center gap-2 min-w-0 w-full px-4 h-11 type-label", "text-foreground transition-colors", colorClasses ? colorClasses.hoverBgClass : "hover:bg-foreground/5", isActive && colorClasses && `${colorClasses.textClass} ${colorClasses.bgClass}`, item.disabled && "opacity-50 pointer-events-none");
|
|
120
120
|
const activeStyle = isActive && colorClasses?.textStyle ? {
|
|
121
121
|
...colorClasses.textStyle,
|
|
122
122
|
...colorClasses.bgStyle
|