@tensor_1/react 2.20.0 → 2.21.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.
Files changed (65) hide show
  1. package/dist/{ChartCore-Do6gRBN3.d.cts → ChartCore-DzWe10bN.d.cts} +16 -1
  2. package/dist/chart-preset.cjs +25 -13
  3. package/dist/chart-preset.d.cts +2 -2
  4. package/dist/chart-preset.d.ts +1 -1
  5. package/dist/chart-preset.js +2 -1
  6. package/dist/chart.cjs +25 -13
  7. package/dist/chart.d.cts +2 -2
  8. package/dist/chart.d.ts +1 -1
  9. package/dist/chart.js +2 -1
  10. package/dist/components/AppShell.d.ts +5 -1
  11. package/dist/components/AppShell.js +4 -2
  12. package/dist/components/Avatar.d.ts +3 -1
  13. package/dist/components/Avatar.js +2 -2
  14. package/dist/components/BrandProfiles.d.ts +29 -2
  15. package/dist/components/BrandProfiles.js +45 -20
  16. package/dist/components/BuilderCanvas.d.ts +27 -2
  17. package/dist/components/BuilderCanvas.js +45 -22
  18. package/dist/components/Chart.d.ts +1 -1
  19. package/dist/components/Chart.js +2 -1
  20. package/dist/components/ChartCore.d.ts +17 -2
  21. package/dist/components/ChartCore.js +24 -13
  22. package/dist/components/ColorPicker.d.ts +24 -2
  23. package/dist/components/ColorPicker.js +38 -20
  24. package/dist/components/CommandPalette.d.ts +3 -1
  25. package/dist/components/CommandPalette.js +2 -2
  26. package/dist/components/DateRangePicker.d.ts +21 -2
  27. package/dist/components/DateRangePicker.js +26 -6
  28. package/dist/components/DetailPage.d.ts +22 -3
  29. package/dist/components/DetailPage.js +33 -3
  30. package/dist/components/DiffViewer.d.ts +34 -3
  31. package/dist/components/DiffViewer.js +60 -40
  32. package/dist/components/Drawer.d.ts +3 -1
  33. package/dist/components/Drawer.js +2 -2
  34. package/dist/components/Inbox.d.ts +3 -1
  35. package/dist/components/Inbox.js +2 -2
  36. package/dist/components/MatchReview.d.ts +49 -2
  37. package/dist/components/MatchReview.js +72 -30
  38. package/dist/components/Meter.d.ts +3 -1
  39. package/dist/components/Meter.js +3 -2
  40. package/dist/components/Pagination.d.ts +10 -2
  41. package/dist/components/Pagination.js +11 -4
  42. package/dist/components/Peek.d.ts +7 -1
  43. package/dist/components/Peek.js +4 -4
  44. package/dist/components/RelationshipGraph.js +6 -2
  45. package/dist/components/RuleBuilder.d.ts +42 -2
  46. package/dist/components/RuleBuilder.js +71 -37
  47. package/dist/components/SchedulingCalendar.d.ts +25 -2
  48. package/dist/components/SchedulingCalendar.js +38 -15
  49. package/dist/components/Stat.d.ts +5 -0
  50. package/dist/components/Stat.js +2 -2
  51. package/dist/components/Table.d.ts +11 -3
  52. package/dist/components/Table.js +5 -8
  53. package/dist/components/Tabs.d.ts +8 -1
  54. package/dist/components/Tabs.js +4 -5
  55. package/dist/components/Toast.d.ts +6 -2
  56. package/dist/components/Toast.js +4 -4
  57. package/dist/components/Tree.d.ts +9 -1
  58. package/dist/components/Tree.js +55 -8
  59. package/dist/fill-label.d.ts +7 -0
  60. package/dist/fill-label.js +9 -0
  61. package/dist/index.cjs +765 -463
  62. package/dist/index.d.cts +340 -27
  63. package/dist/index.d.ts +10 -10
  64. package/dist/index.js +18 -9
  65. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -22,7 +22,7 @@ export { Card, CardLink, CardLinkProps, CardProps } from './components/Card.js';
22
22
  export { BreadcrumbItem, Breadcrumbs, BreadcrumbsProps } from './components/Breadcrumbs.js';
23
23
  export { PageHeader, PageHeaderProps } from './components/PageHeader.js';
24
24
  export { DetailLayout, DetailLayoutProps } from './components/DetailLayout.js';
25
- export { DetailPage, DetailPageMetric, DetailPageProps, DetailPageTab } from './components/DetailPage.js';
25
+ export { DetailPage, DetailPageLinkProps, DetailPageMetric, DetailPageProps, DetailPageTab } from './components/DetailPage.js';
26
26
  export { RelatedLinkItem, RelatedLinks, RelatedLinksProps } from './components/RelatedLinks.js';
27
27
  export { ToggleRow, ToggleRowProps } from './components/ToggleRow.js';
28
28
  export { CollapsibleSection, CollapsibleSectionProps } from './components/CollapsibleSection.js';
@@ -39,7 +39,7 @@ export { Spinner, SpinnerProps } from './components/Spinner.js';
39
39
  export { Toast, ToastProps, ToastTone, Toaster, ToasterProps } from './components/Toast.js';
40
40
  export { BulkBar, BulkBarProps, CellStrong, CellSub, ExpandToggle, ExpandToggleProps, Highlighted, HighlightedProps, Mark, MarkProps, RowAction, RowActionProps, RowActions, RowActionsProps, SortDirection, Table, TableDensity, TableProps, TableWrap, TableWrapProps, Td, TdProps, Th, ThProps, Tr, TrProps } from './components/Table.js';
41
41
  export { ColumnFilter, FilterKind, FilterOp, Primitive, Row, Segment, SelectAllState, SortDir, SortKey, ViewState, VirtualWindow, applyFilters, clampWidth, highlightSegments, matchFilter, mergePinned, multiSort, nextSortDir, parseView, reorder, searchRows, selectAllState, serializeView, shouldVirtualize, toggleId, togglePage, toggleSort, virtualWindow } from './table-engine.js';
42
- export { Pagination, PaginationProps } from './components/Pagination.js';
42
+ export { DEFAULT_PAGINATION_LABELS, Pagination, PaginationLabels, PaginationProps } from './components/Pagination.js';
43
43
  export { PillTone, PillTreatment, StatusPill, StatusPillProps } from './components/StatusPill.js';
44
44
  export { Progress, ProgressProps } from './components/Progress.js';
45
45
  export { Meter, MeterProps, MeterTone } from './components/Meter.js';
@@ -68,21 +68,21 @@ export { Tree, TreeNodeData, TreeNodeProps, TreeProps } from './components/Tree.
68
68
  export { FlatNode, TreeLike, TreeNavAction, flattenTree, treeNav } from './tree-model.js';
69
69
  export { ContentList, ContentListItem, ContentListItemProps, ContentListProps, EventRow, EventRowProps, FeaturedRundown, FeaturedRundownItem, FeaturedRundownItemProps, FeaturedRundownProps, FeaturedStage, FeaturedStageProps, NewsLead, NewsLeadProps, NoticeQueue, NoticeQueueProps, PageIntro, PageIntroProps, ResourceGrid, ResourceGridProps, SectionHead, SectionHeadProps, StatLine, StatLineItem, StatLineProps, StatusRow, StatusRowProps } from './components/EditorialHome.js';
70
70
  export { JsonPrimitive, JsonValue } from './json-value.js';
71
- export { RuleActionDefinition, RuleBuilder, RuleBuilderProps, RuleFieldDefinition, RuleOperatorDefinition, RuleValueEditorProps } from './components/RuleBuilder.js';
71
+ export { DEFAULT_RULE_BUILDER_LABELS, RuleActionDefinition, RuleBuilder, RuleBuilderLabels, RuleBuilderProps, RuleFieldDefinition, RuleOperatorDefinition, RuleValueEditorProps } from './components/RuleBuilder.js';
72
72
  export { RuleAction, RuleCondition, RuleDefinition, RuleGroup, RuleValidationIssue, appendRuleNode, findRuleNodeDepth, isRuleGroup, mapRuleGroup, moveRuleNode, removeRuleNode, ruleDepth, summarizeRule, validateRuleDefinition } from './rule-builder-model.js';
73
- export { BuilderCanvas, BuilderCanvasItem, BuilderCanvasProps, BuilderPaletteItem } from './components/BuilderCanvas.js';
74
- export { SchedulingCalendar, SchedulingCalendarEntry, SchedulingCalendarOverlay, SchedulingCalendarProps, SchedulingCalendarView, SchedulingEntryState, SchedulingOverlayKind } from './components/SchedulingCalendar.js';
75
- export { DateRangePicker, DateRangePickerProps } from './components/DateRangePicker.js';
73
+ export { BuilderCanvas, BuilderCanvasItem, BuilderCanvasLabels, BuilderCanvasProps, BuilderPaletteItem, DEFAULT_BUILDER_CANVAS_LABELS } from './components/BuilderCanvas.js';
74
+ export { DEFAULT_SCHEDULING_CALENDAR_LABELS, SchedulingCalendar, SchedulingCalendarEntry, SchedulingCalendarLabels, SchedulingCalendarOverlay, SchedulingCalendarProps, SchedulingCalendarView, SchedulingEntryState, SchedulingOverlayKind } from './components/SchedulingCalendar.js';
75
+ export { DEFAULT_DATE_RANGE_PICKER_LABELS, DateRangePicker, DateRangePickerLabels, DateRangePickerProps } from './components/DateRangePicker.js';
76
76
  export { CalendarDay, DateRangeValue, ZonedDateSpan, addCalendarDays, addCalendarMonths, buildMonthGrid, enumerateDateSpan, isDateInRange, isDateUnavailable, selectRangeDate, startOfMonth, toDateKey, zonedDateKey, zonedDateSpan } from './calendar-model.js';
77
77
  export { DEFAULT_RELATIONSHIP_GRAPH_LABELS, RelationshipGraph, RelationshipGraphLabels, RelationshipGraphLegendItem, RelationshipGraphProps } from './components/RelationshipGraph.js';
78
78
  export { BoundedRelationshipGraph, LayeredColumn, LayeredEdgeClassification, LayeredEdgeKind, LayeredItem, LayeredLayout, LayeredLayoutOptions, LayeredNavigationKey, PositionedRelationshipNode, RelationshipGraphArrow, RelationshipGraphCluster, RelationshipGraphEdge, RelationshipGraphNode, RoutedEdge, boundRelationshipGraph, classifyLayeredEdges, clusterIdFor, layeredNeighbor, layoutLayeredGraph, layoutRelationshipGraph, relationshipNeighbors, traverseRelationshipNode, wrapEdgeLabel } from './relationship-graph-model.js';
79
- export { MatchBulkResult, MatchReview, MatchReviewAction, MatchReviewCandidate, MatchReviewField, MatchReviewProps } from './components/MatchReview.js';
79
+ export { DEFAULT_MATCH_REVIEW_LABELS, MatchBulkResult, MatchReview, MatchReviewAction, MatchReviewCandidate, MatchReviewField, MatchReviewLabels, MatchReviewProps } from './components/MatchReview.js';
80
80
  export { MetricInput, MetricInputProps } from './components/MetricInput.js';
81
81
  export { clampMetricValue, parseMetricValue, stepMetricValue } from './metric-model.js';
82
82
  export { LicensePositionBar, LicensePositionBarProps } from './components/LicensePositionBar.js';
83
- export { AppliedBrandProfileSnapshot, BrandProfile, BrandProfileEditor, BrandProfileEditorProps, BrandProfileLogo, BrandProfileTypography, BrandProfiles, applyBrandProfile, restoreBrandProfile } from './components/BrandProfiles.js';
84
- export { DiffViewer, DiffViewerProps } from './components/DiffViewer.js';
83
+ export { AppliedBrandProfileSnapshot, BrandProfile, BrandProfileEditor, BrandProfileEditorLabels, BrandProfileEditorProps, BrandProfileLogo, BrandProfileTypography, BrandProfiles, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, applyBrandProfile, restoreBrandProfile } from './components/BrandProfiles.js';
84
+ export { DEFAULT_DIFF_VIEWER_LABELS, DiffViewer, DiffViewerLabels, DiffViewerProps } from './components/DiffViewer.js';
85
85
  export { DiffEntry, DiffKind, DiffResolution, DiffSummary, buildThreeWayDiff, summarizeDiff } from './diff-model.js';
86
- export { ColorPicker, ColorPickerProps } from './components/ColorPicker.js';
86
+ export { ColorPicker, ColorPickerLabels, ColorPickerProps, DEFAULT_COLOR_PICKER_LABELS } from './components/ColorPicker.js';
87
87
  export { HsvColor, RgbColor, contrastRatio, hexToRgb, hsvToHex, hsvToRgb, meetsContrast, normalizeHex, rgbToHex, rgbToHsv } from './color-model.js';
88
88
  import 'react';
package/dist/index.js CHANGED
@@ -53,7 +53,7 @@ import {
53
53
  Highlighted
54
54
  } from "./components/Table.js";
55
55
  export * from "./table-engine.js";
56
- import { Pagination } from "./components/Pagination.js";
56
+ import { DEFAULT_PAGINATION_LABELS, Pagination } from "./components/Pagination.js";
57
57
  import { StatusPill } from "./components/StatusPill.js";
58
58
  import { Progress } from "./components/Progress.js";
59
59
  import { Meter } from "./components/Meter.js";
@@ -95,7 +95,7 @@ import {
95
95
  EventRow,
96
96
  StatusRow
97
97
  } from "./components/EditorialHome.js";
98
- import { RuleBuilder } from "./components/RuleBuilder.js";
98
+ import { DEFAULT_RULE_BUILDER_LABELS, RuleBuilder } from "./components/RuleBuilder.js";
99
99
  import {
100
100
  appendRuleNode,
101
101
  findRuleNodeDepth,
@@ -107,9 +107,9 @@ import {
107
107
  summarizeRule,
108
108
  validateRuleDefinition
109
109
  } from "./rule-builder-model.js";
110
- import { BuilderCanvas } from "./components/BuilderCanvas.js";
111
- import { SchedulingCalendar } from "./components/SchedulingCalendar.js";
112
- import { DateRangePicker } from "./components/DateRangePicker.js";
110
+ import { BuilderCanvas, DEFAULT_BUILDER_CANVAS_LABELS } from "./components/BuilderCanvas.js";
111
+ import { DEFAULT_SCHEDULING_CALENDAR_LABELS, SchedulingCalendar } from "./components/SchedulingCalendar.js";
112
+ import { DateRangePicker, DEFAULT_DATE_RANGE_PICKER_LABELS } from "./components/DateRangePicker.js";
113
113
  import {
114
114
  addCalendarDays,
115
115
  addCalendarMonths,
@@ -125,14 +125,14 @@ import {
125
125
  } from "./calendar-model.js";
126
126
  import { RelationshipGraph, DEFAULT_RELATIONSHIP_GRAPH_LABELS } from "./components/RelationshipGraph.js";
127
127
  import { boundRelationshipGraph, layoutRelationshipGraph, relationshipNeighbors, traverseRelationshipNode, classifyLayeredEdges, clusterIdFor, layeredNeighbor, layoutLayeredGraph, wrapEdgeLabel } from "./relationship-graph-model.js";
128
- import { MatchReview } from "./components/MatchReview.js";
128
+ import { DEFAULT_MATCH_REVIEW_LABELS, MatchReview } from "./components/MatchReview.js";
129
129
  import { MetricInput } from "./components/MetricInput.js";
130
130
  import { clampMetricValue, parseMetricValue, stepMetricValue } from "./metric-model.js";
131
131
  import { LicensePositionBar } from "./components/LicensePositionBar.js";
132
- import { BrandProfiles, BrandProfileEditor, applyBrandProfile, restoreBrandProfile } from "./components/BrandProfiles.js";
133
- import { DiffViewer } from "./components/DiffViewer.js";
132
+ import { BrandProfiles, BrandProfileEditor, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, applyBrandProfile, restoreBrandProfile } from "./components/BrandProfiles.js";
133
+ import { DEFAULT_DIFF_VIEWER_LABELS, DiffViewer } from "./components/DiffViewer.js";
134
134
  import { buildThreeWayDiff, summarizeDiff } from "./diff-model.js";
135
- import { ColorPicker } from "./components/ColorPicker.js";
135
+ import { ColorPicker, DEFAULT_COLOR_PICKER_LABELS } from "./components/ColorPicker.js";
136
136
  import { contrastRatio, hexToRgb, hsvToHex, hsvToRgb, meetsContrast, normalizeHex, rgbToHex, rgbToHsv } from "./color-model.js";
137
137
  export {
138
138
  Alert,
@@ -166,8 +166,17 @@ export {
166
166
  ContentList,
167
167
  ContentListItem,
168
168
  CopyButton,
169
+ DEFAULT_BRAND_PROFILE_EDITOR_LABELS,
170
+ DEFAULT_BUILDER_CANVAS_LABELS,
171
+ DEFAULT_COLOR_PICKER_LABELS,
172
+ DEFAULT_DATE_RANGE_PICKER_LABELS,
173
+ DEFAULT_DIFF_VIEWER_LABELS,
174
+ DEFAULT_MATCH_REVIEW_LABELS,
175
+ DEFAULT_PAGINATION_LABELS,
169
176
  DEFAULT_RELATIONSHIP_GRAPH_LABELS,
177
+ DEFAULT_RULE_BUILDER_LABELS,
170
178
  DEFAULT_SAVE_STATUS_LABELS,
179
+ DEFAULT_SCHEDULING_CALENDAR_LABELS,
171
180
  DateRangePicker,
172
181
  DescriptionItem,
173
182
  DescriptionList,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tensor_1/react",
3
- "version": "2.20.0",
3
+ "version": "2.21.0",
4
4
  "description": "Thin React wrappers over the UIx v2 CSS component library.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",