@tedi-design-system/react 19.1.0-rc.17 → 19.1.0-rc.19
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/bundle-stats.html +1 -1
- package/community.cjs.js +1 -1
- package/community.es.js +146 -142
- package/component.manifest.json +54 -20
- package/external/@floating-ui/core/dist/floating-ui.core.es.js +1 -1
- package/external/@floating-ui/dom/dist/floating-ui.dom.es.js +2 -2
- package/external/@floating-ui/react-dom/dist/floating-ui.react-dom.es.js +5 -5
- package/index.css +1 -1
- package/package.json +1 -1
- package/src/community/components/form/category-search/category-search.cjs.js +1 -0
- package/src/community/components/form/category-search/category-search.d.ts +9 -0
- package/src/community/components/form/category-search/category-search.es.js +297 -0
- package/src/community/components/form/category-search/category-search.module.scss.cjs.js +1 -0
- package/src/community/components/form/category-search/category-search.module.scss.es.js +21 -0
- package/src/community/components/form/category-search/category-search.types.d.ts +162 -0
- package/src/community/components/form/category-search/define-category-search-category.cjs.js +1 -0
- package/src/community/components/form/category-search/define-category-search-category.d.ts +7 -0
- package/src/community/components/form/category-search/define-category-search-category.es.js +25 -0
- package/src/community/components/form/category-search/index.d.ts +3 -0
- package/src/community/components/form/category-search/use-category-search.cjs.js +1 -0
- package/src/community/components/form/category-search/use-category-search.d.ts +17 -0
- package/src/community/components/form/category-search/use-category-search.es.js +64 -0
- package/src/community/index.d.ts +1 -0
- package/src/tedi/components/form/search/index.d.ts +1 -0
- package/src/tedi/components/form/search/search.cjs.js +1 -1
- package/src/tedi/components/form/search/search.d.ts +92 -1
- package/src/tedi/components/form/search/search.es.js +265 -69
- package/src/tedi/components/form/search/search.module.scss.cjs.js +1 -1
- package/src/tedi/components/form/search/search.module.scss.es.js +9 -1
- package/src/tedi/components/overlays/dropdown/dropdown.cjs.js +1 -1
- package/src/tedi/components/overlays/dropdown/dropdown.es.js +8 -6
- package/src/tedi/index.d.ts +1 -1
- package/src/tedi/providers/label-provider/labels-map.cjs.js +1 -1
- package/src/tedi/providers/label-provider/labels-map.d.ts +21 -0
- package/src/tedi/providers/label-provider/labels-map.es.js +22 -1
- package/tedi.cjs.js +1 -1
- package/tedi.es.js +224 -224
package/component.manifest.json
CHANGED
|
@@ -47,7 +47,9 @@
|
|
|
47
47
|
"name": "Carousel",
|
|
48
48
|
"category": "content",
|
|
49
49
|
"sourcePath": "src/tedi/components/content/carousel",
|
|
50
|
-
"status": [
|
|
50
|
+
"status": [
|
|
51
|
+
"breakpointSupport"
|
|
52
|
+
],
|
|
51
53
|
"description": "Compound slide carousel with an infinite-looping track, drag/wheel/keyboard navigation, and screen-reader announcements.",
|
|
52
54
|
"keyProps": [
|
|
53
55
|
"slidesPerView",
|
|
@@ -62,7 +64,9 @@
|
|
|
62
64
|
"name": "List",
|
|
63
65
|
"category": "content",
|
|
64
66
|
"sourcePath": "src/tedi/components/content/list",
|
|
65
|
-
"status": [
|
|
67
|
+
"status": [
|
|
68
|
+
"breakpointSupport"
|
|
69
|
+
],
|
|
66
70
|
"description": "Render an ordered or unordered list of List.Item children with an optional bullet style and color.",
|
|
67
71
|
"keyProps": [
|
|
68
72
|
"element",
|
|
@@ -145,7 +149,9 @@
|
|
|
145
149
|
"name": "TextGroup",
|
|
146
150
|
"category": "content",
|
|
147
151
|
"sourcePath": "src/tedi/components/content/text-group",
|
|
148
|
-
"status": [
|
|
152
|
+
"status": [
|
|
153
|
+
"breakpointSupport"
|
|
154
|
+
],
|
|
149
155
|
"description": "Render a label/value pair, stacked vertically or inline horizontally with a configurable label width.",
|
|
150
156
|
"keyProps": [
|
|
151
157
|
"label",
|
|
@@ -200,7 +206,9 @@
|
|
|
200
206
|
"name": "Skeleton",
|
|
201
207
|
"category": "loaders",
|
|
202
208
|
"sourcePath": "src/tedi/components/loaders/skeleton",
|
|
203
|
-
"status": [
|
|
209
|
+
"status": [
|
|
210
|
+
"breakpointSupport"
|
|
211
|
+
],
|
|
204
212
|
"description": "Render placeholder blocks that mimic loading content shape before real content is ready.",
|
|
205
213
|
"keyProps": [
|
|
206
214
|
"children",
|
|
@@ -212,7 +220,9 @@
|
|
|
212
220
|
"name": "ProgressBar",
|
|
213
221
|
"category": "loaders",
|
|
214
222
|
"sourcePath": "src/tedi/components/loaders/progress-bar",
|
|
215
|
-
"status": [
|
|
223
|
+
"status": [
|
|
224
|
+
"breakpointSupport"
|
|
225
|
+
],
|
|
216
226
|
"description": "Render a labeled progress bar reporting a 0-100 value with accessible aria-valuenow semantics.",
|
|
217
227
|
"keyProps": [
|
|
218
228
|
"value",
|
|
@@ -385,7 +395,9 @@
|
|
|
385
395
|
"name": "VerticalSpacing",
|
|
386
396
|
"category": "layout",
|
|
387
397
|
"sourcePath": "src/tedi/components/layout/vertical-spacing",
|
|
388
|
-
"status": [
|
|
398
|
+
"status": [
|
|
399
|
+
"breakpointSupport"
|
|
400
|
+
],
|
|
389
401
|
"description": "Apply consistent vertical gaps between stacked child elements.",
|
|
390
402
|
"keyProps": [
|
|
391
403
|
"size",
|
|
@@ -483,7 +495,9 @@
|
|
|
483
495
|
"name": "Card",
|
|
484
496
|
"category": "content",
|
|
485
497
|
"sourcePath": "src/tedi/components/content/card",
|
|
486
|
-
"status": [
|
|
498
|
+
"status": [
|
|
499
|
+
"breakpointSupport"
|
|
500
|
+
],
|
|
487
501
|
"description": "Render a bordered content surface composed from Card.Header, Card.Content, and Card.Notification sub-components.",
|
|
488
502
|
"keyProps": [
|
|
489
503
|
"padding",
|
|
@@ -496,7 +510,9 @@
|
|
|
496
510
|
"name": "Accordion",
|
|
497
511
|
"category": "content",
|
|
498
512
|
"sourcePath": "src/tedi/components/content/accordion",
|
|
499
|
-
"status": [
|
|
513
|
+
"status": [
|
|
514
|
+
"breakpointSupport"
|
|
515
|
+
],
|
|
500
516
|
"description": "Compound collapsible-content component with one or more Accordion.Item entries, supporting single or multiple expansion.",
|
|
501
517
|
"keyProps": [
|
|
502
518
|
"allowMultiple",
|
|
@@ -509,7 +525,9 @@
|
|
|
509
525
|
"name": "Breadcrumbs",
|
|
510
526
|
"category": "navigation",
|
|
511
527
|
"sourcePath": "src/tedi/components/navigation/breadcrumbs",
|
|
512
|
-
"status": [
|
|
528
|
+
"status": [
|
|
529
|
+
"breakpointSupport"
|
|
530
|
+
],
|
|
513
531
|
"description": "Render a trail of navigational crumbs with automatic separators, a mobile back-link variant, and collapsing for long trails.",
|
|
514
532
|
"keyProps": [
|
|
515
533
|
"children",
|
|
@@ -566,7 +584,9 @@
|
|
|
566
584
|
"name": "Pagination",
|
|
567
585
|
"category": "navigation",
|
|
568
586
|
"sourcePath": "src/tedi/components/navigation/pagination",
|
|
569
|
-
"status": [
|
|
587
|
+
"status": [
|
|
588
|
+
"breakpointSupport"
|
|
589
|
+
],
|
|
570
590
|
"description": "Render a page-number list with prev/next arrows, a results count, and an optional page-size selector; collapses to a mobile modal picker.",
|
|
571
591
|
"keyProps": [
|
|
572
592
|
"pageCount",
|
|
@@ -702,19 +722,21 @@
|
|
|
702
722
|
]
|
|
703
723
|
},
|
|
704
724
|
{
|
|
705
|
-
"id": "form/search
|
|
725
|
+
"id": "form/search",
|
|
706
726
|
"name": "Search",
|
|
707
727
|
"category": "form",
|
|
708
|
-
"sourcePath": "src/tedi/components/form/search
|
|
728
|
+
"sourcePath": "src/tedi/components/form/search",
|
|
709
729
|
"status": [
|
|
710
730
|
"breakpointSupport"
|
|
711
731
|
],
|
|
712
|
-
"description": "TextField
|
|
732
|
+
"description": "TextField-based search field with an onSearch callback and optional button. Pass a `suggestions` array to turn it into an accessible combobox for typeahead / suggestions (onSuggestionSelect, loading, minQueryLength, renderSuggestion, footer, hideOnScroll).",
|
|
713
733
|
"keyProps": [
|
|
714
734
|
"id",
|
|
715
735
|
"label",
|
|
716
736
|
"onSearch",
|
|
717
|
-
"button"
|
|
737
|
+
"button",
|
|
738
|
+
"suggestions",
|
|
739
|
+
"onSuggestionSelect"
|
|
718
740
|
]
|
|
719
741
|
},
|
|
720
742
|
{
|
|
@@ -737,7 +759,9 @@
|
|
|
737
759
|
"name": "ChoiceGroup",
|
|
738
760
|
"category": "form",
|
|
739
761
|
"sourcePath": "src/tedi/components/form/choice-group",
|
|
740
|
-
"status": [
|
|
762
|
+
"status": [
|
|
763
|
+
"breakpointSupport"
|
|
764
|
+
],
|
|
741
765
|
"description": "Render a group of radio or checkbox items with a shared label, supporting a default or segmented visual variant.",
|
|
742
766
|
"keyProps": [
|
|
743
767
|
"items",
|
|
@@ -877,7 +901,9 @@
|
|
|
877
901
|
"name": "Filter",
|
|
878
902
|
"category": "filter",
|
|
879
903
|
"sourcePath": "src/tedi/components/filter/filter",
|
|
880
|
-
"status": [
|
|
904
|
+
"status": [
|
|
905
|
+
"breakpointSupport"
|
|
906
|
+
],
|
|
881
907
|
"description": "Compact pill-shaped trigger for refining result sets, rendering as a toggle, single- or multi-select dropdown, or custom panel.",
|
|
882
908
|
"keyProps": [
|
|
883
909
|
"text",
|
|
@@ -963,7 +989,9 @@
|
|
|
963
989
|
"name": "Dropdown",
|
|
964
990
|
"category": "overlays",
|
|
965
991
|
"sourcePath": "src/tedi/components/overlays/dropdown",
|
|
966
|
-
"status": [
|
|
992
|
+
"status": [
|
|
993
|
+
"breakpointSupport"
|
|
994
|
+
],
|
|
967
995
|
"description": "Render a floating menu of Dropdown.Item actions anchored to a trigger element.",
|
|
968
996
|
"keyProps": [
|
|
969
997
|
"width",
|
|
@@ -977,7 +1005,9 @@
|
|
|
977
1005
|
"name": "Modal",
|
|
978
1006
|
"category": "overlays",
|
|
979
1007
|
"sourcePath": "src/tedi/components/overlays/modal",
|
|
980
|
-
"status": [
|
|
1008
|
+
"status": [
|
|
1009
|
+
"breakpointSupport"
|
|
1010
|
+
],
|
|
981
1011
|
"description": "Portalled dialog with focus trapping, backdrop, and scroll locking, composed from Modal.Trigger, Modal.Content, Modal.Header, Modal.Body, and Modal.Footer.",
|
|
982
1012
|
"keyProps": [
|
|
983
1013
|
"open",
|
|
@@ -1146,7 +1176,9 @@
|
|
|
1146
1176
|
"name": "Footer",
|
|
1147
1177
|
"category": "layout",
|
|
1148
1178
|
"sourcePath": "src/tedi/components/layout/footer",
|
|
1149
|
-
"status": [
|
|
1179
|
+
"status": [
|
|
1180
|
+
"breakpointSupport"
|
|
1181
|
+
],
|
|
1150
1182
|
"description": "Composable page footer built from Footer.Side, Footer.Body/Footer.Section, and Footer.Bottom slots, with a mobile-collapsed layout.",
|
|
1151
1183
|
"keyProps": [
|
|
1152
1184
|
"mobileBreakpoint",
|
|
@@ -1159,7 +1191,9 @@
|
|
|
1159
1191
|
"name": "Header",
|
|
1160
1192
|
"category": "layout",
|
|
1161
1193
|
"sourcePath": "src/tedi/components/layout/header",
|
|
1162
|
-
"status": [
|
|
1194
|
+
"status": [
|
|
1195
|
+
"breakpointSupport"
|
|
1196
|
+
],
|
|
1163
1197
|
"description": "Composable site header built from Header.Logo, Header.Center, Header.Actions, and related sub-components, with mobile toggle support.",
|
|
1164
1198
|
"keyProps": [
|
|
1165
1199
|
"toggle",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getSideAxis as _, getAlignmentAxis as I, getSide as W, getAlignment as Y, evaluate as j, getPaddingObject as N, rectToClientRect as B,
|
|
1
|
+
import { getSideAxis as _, getAlignmentAxis as I, getSide as W, getAlignment as Y, evaluate as j, getPaddingObject as N, rectToClientRect as B, clamp as z, min as H, max as F, getOppositePlacement as G, getExpandedPlacements as J, getOppositeAxisPlacements as K, getAlignmentSides as Q, getAxisLength as U, getOppositeAxis as Z } from "../../utils/dist/floating-ui.utils.es.js";
|
|
2
2
|
function X(l, t, d) {
|
|
3
3
|
let {
|
|
4
4
|
reference: i,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computePosition as st,
|
|
1
|
+
import { computePosition as st, shift as rt, size as ct, flip as lt, offset as ft, arrow as ut } from "../../core/dist/floating-ui.core.es.js";
|
|
2
2
|
import { createCoords as m, rectToClientRect as J, round as z, max as E, min as N, floor as D } from "../../utils/dist/floating-ui.utils.es.js";
|
|
3
3
|
import { getOverflowAncestors as V, isElement as v, getDocumentElement as b, getWindow as O, getFrameElement as U, getComputedStyle as R, isHTMLElement as T, isTopLayer as $, getParentNode as W, isLastTraversableNode as A, isTableElement as at, isContainingBlock as Q, getContainingBlock as ht, getNodeName as _, isOverflowElement as q, getNodeScroll as H, isWebKit as Y } from "../../utils/dist/floating-ui.utils.dom.es.js";
|
|
4
4
|
function Z(t) {
|
|
@@ -375,7 +375,7 @@ function Bt(t, e, o, n) {
|
|
|
375
375
|
}), h == null || h(), (g = a) == null || g.disconnect(), a = null, l && cancelAnimationFrame(w);
|
|
376
376
|
};
|
|
377
377
|
}
|
|
378
|
-
const Dt =
|
|
378
|
+
const Dt = ft, zt = rt, At = lt, Ht = ct, It = ut, Mt = (t, e, o) => {
|
|
379
379
|
const n = /* @__PURE__ */ new Map(), i = {
|
|
380
380
|
platform: Tt,
|
|
381
381
|
...o
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computePosition as I,
|
|
1
|
+
import { computePosition as I, shift as J, size as K, flip as N, offset as Q, arrow as z } from "../../dom/dist/floating-ui.dom.es.js";
|
|
2
2
|
import { autoUpdate as ce, platform as ae } from "../../dom/dist/floating-ui.dom.es.js";
|
|
3
3
|
import * as f from "react";
|
|
4
4
|
import { useLayoutEffect as T } from "react";
|
|
@@ -172,28 +172,28 @@ const b = (e) => {
|
|
|
172
172
|
}
|
|
173
173
|
};
|
|
174
174
|
}, re = (e, n) => {
|
|
175
|
-
const t =
|
|
175
|
+
const t = Q(e);
|
|
176
176
|
return {
|
|
177
177
|
name: t.name,
|
|
178
178
|
fn: t.fn,
|
|
179
179
|
options: [e, n]
|
|
180
180
|
};
|
|
181
181
|
}, fe = (e, n) => {
|
|
182
|
-
const t =
|
|
182
|
+
const t = J(e);
|
|
183
183
|
return {
|
|
184
184
|
name: t.name,
|
|
185
185
|
fn: t.fn,
|
|
186
186
|
options: [e, n]
|
|
187
187
|
};
|
|
188
188
|
}, oe = (e, n) => {
|
|
189
|
-
const t =
|
|
189
|
+
const t = N(e);
|
|
190
190
|
return {
|
|
191
191
|
name: t.name,
|
|
192
192
|
fn: t.fn,
|
|
193
193
|
options: [e, n]
|
|
194
194
|
};
|
|
195
195
|
}, se = (e, n) => {
|
|
196
|
-
const t =
|
|
196
|
+
const t = K(e);
|
|
197
197
|
return {
|
|
198
198
|
name: t.name,
|
|
199
199
|
fn: t.fn,
|