@tedi-design-system/react 18.0.0-rc.7 → 18.0.0-rc.9
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/_virtual/index.es13.js +2 -2
- package/_virtual/index.es14.js +2 -2
- package/bundle-stats.html +1 -1
- package/external/react-is/index.cjs.js +1 -1
- package/external/react-is/index.es.js +1 -1
- package/external/toposort/index.cjs.js +1 -1
- package/external/toposort/index.es.js +1 -1
- package/index.css +1 -1
- package/package.json +1 -1
- package/src/community/components/form/pickers/calendar/calendar.d.ts +6 -0
- package/src/community/components/form/pickers/datepicker/datepicker.d.ts +6 -0
- package/src/community/components/form/pickers/datetimepicker/datetimepicker.d.ts +6 -0
- package/src/community/components/form/pickers/timepicker/timepicker.d.ts +6 -0
- package/src/tedi/components/content/calendar/calendar-grid.cjs.js +1 -1
- package/src/tedi/components/content/calendar/calendar-grid.es.js +7 -6
- package/src/tedi/components/content/calendar/components/calendar-header/calendar-header.cjs.js +1 -1
- package/src/tedi/components/content/calendar/components/calendar-header/calendar-header.es.js +99 -79
- package/src/tedi/components/form/date-field/date-field-helpers.cjs.js +1 -0
- package/src/tedi/components/form/date-field/date-field-helpers.d.ts +66 -0
- package/src/tedi/components/form/date-field/date-field-helpers.es.js +28 -0
- package/src/tedi/components/form/date-field/date-field.cjs.js +1 -1
- package/src/tedi/components/form/date-field/date-field.d.ts +22 -0
- package/src/tedi/components/form/date-field/date-field.es.js +248 -212
- package/src/tedi/components/form/date-time-field/date-time-field.cjs.js +1 -0
- package/src/tedi/components/form/date-time-field/date-time-field.d.ts +207 -0
- package/src/tedi/components/form/date-time-field/date-time-field.es.js +376 -0
- package/src/tedi/components/form/date-time-field/date-time-field.module.scss.cjs.js +1 -0
- package/src/tedi/components/form/date-time-field/date-time-field.module.scss.es.js +30 -0
- package/src/tedi/components/form/time-field/time-field.cjs.js +1 -1
- package/src/tedi/components/form/time-field/time-field.d.ts +9 -0
- package/src/tedi/components/form/time-field/time-field.es.js +81 -79
- package/src/tedi/components/layout/mobile-nav/components/mobile-nav-toggle/mobile-nav-toggle.cjs.js +1 -0
- package/src/tedi/components/layout/mobile-nav/components/mobile-nav-toggle/mobile-nav-toggle.d.ts +52 -0
- package/src/tedi/components/layout/mobile-nav/components/mobile-nav-toggle/mobile-nav-toggle.es.js +68 -0
- package/src/tedi/components/layout/mobile-nav/components/mobile-nav-toggle/mobile-nav-toggle.module.scss.cjs.js +1 -0
- package/src/tedi/components/layout/mobile-nav/components/mobile-nav-toggle/mobile-nav-toggle.module.scss.es.js +9 -0
- package/src/tedi/components/layout/mobile-nav/index.d.ts +2 -0
- package/src/tedi/components/layout/mobile-nav/mobile-nav.cjs.js +1 -0
- package/src/tedi/components/layout/mobile-nav/mobile-nav.d.ts +20 -0
- package/src/tedi/components/layout/{sidenav/components/sidenav-mobile/sidenav-mobile.es.js → mobile-nav/mobile-nav.es.js} +21 -20
- package/src/tedi/components/layout/sidenav/index.d.ts +2 -2
- package/src/tedi/components/layout/sidenav/sidenav.cjs.js +1 -1
- package/src/tedi/components/layout/sidenav/sidenav.d.ts +2 -11
- package/src/tedi/components/layout/sidenav/sidenav.es.js +27 -27
- package/src/tedi/components/layout/top-nav/components/top-nav-group/top-nav-group.cjs.js +1 -0
- package/src/tedi/components/layout/top-nav/components/top-nav-group/top-nav-group.d.ts +34 -0
- package/src/tedi/components/layout/top-nav/components/top-nav-group/top-nav-group.es.js +33 -0
- package/src/tedi/components/layout/top-nav/components/top-nav-item/top-nav-item.cjs.js +1 -0
- package/src/tedi/components/layout/top-nav/components/top-nav-item/top-nav-item.d.ts +66 -0
- package/src/tedi/components/layout/top-nav/components/top-nav-item/top-nav-item.es.js +101 -0
- package/src/tedi/components/layout/top-nav/components/top-nav-separator/top-nav-separator.cjs.js +1 -0
- package/src/tedi/components/layout/top-nav/components/top-nav-separator/top-nav-separator.d.ts +11 -0
- package/src/tedi/components/layout/top-nav/components/top-nav-separator/top-nav-separator.es.js +9 -0
- package/src/tedi/components/layout/top-nav/components/top-nav-subitem/top-nav-subitem.cjs.js +1 -0
- package/src/tedi/components/layout/top-nav/components/top-nav-subitem/top-nav-subitem.d.ts +28 -0
- package/src/tedi/components/layout/top-nav/components/top-nav-subitem/top-nav-subitem.es.js +30 -0
- package/src/tedi/components/layout/top-nav/index.d.ts +5 -0
- package/src/tedi/components/layout/top-nav/top-nav-context.cjs.js +1 -0
- package/src/tedi/components/layout/top-nav/top-nav-context.d.ts +11 -0
- package/src/tedi/components/layout/top-nav/top-nav-context.es.js +6 -0
- package/src/tedi/components/layout/top-nav/top-nav.cjs.js +1 -0
- package/src/tedi/components/layout/top-nav/top-nav.d.ts +91 -0
- package/src/tedi/components/layout/top-nav/top-nav.es.js +171 -0
- package/src/tedi/components/layout/top-nav/top-nav.module.scss.cjs.js +1 -0
- package/src/tedi/components/layout/top-nav/top-nav.module.scss.es.js +28 -0
- package/src/tedi/components/overlays/dropdown/dropdown.es.js +0 -3
- package/src/tedi/helpers/hooks/use-breakpoint.cjs.js +1 -1
- package/src/tedi/helpers/hooks/use-breakpoint.d.ts +7 -0
- package/src/tedi/helpers/hooks/use-breakpoint.es.js +22 -14
- package/src/tedi/index.d.ts +3 -0
- package/src/tedi/providers/label-provider/labels-map.cjs.js +1 -1
- package/src/tedi/providers/label-provider/labels-map.d.ts +28 -0
- package/src/tedi/providers/label-provider/labels-map.es.js +93 -65
- package/tedi.cjs.js +1 -1
- package/tedi.es.js +237 -222
- package/src/tedi/components/layout/sidenav/components/sidenav-mobile/sidenav-mobile.cjs.js +0 -1
- package/src/tedi/components/layout/sidenav/components/sidenav-mobile/sidenav-mobile.d.ts +0 -14
- package/src/tedi/components/layout/sidenav/components/sidenav-toggle/sidenav-toggle.cjs.js +0 -1
- package/src/tedi/components/layout/sidenav/components/sidenav-toggle/sidenav-toggle.d.ts +0 -31
- package/src/tedi/components/layout/sidenav/components/sidenav-toggle/sidenav-toggle.es.js +0 -48
- package/src/tedi/components/layout/sidenav/components/sidenav-toggle/sidenav-toggle.module.scss.cjs.js +0 -1
- package/src/tedi/components/layout/sidenav/components/sidenav-toggle/sidenav-toggle.module.scss.es.js +0 -8
package/tedi.es.js
CHANGED
|
@@ -3,27 +3,27 @@ import { Heading as p } from "./src/tedi/components/base/typography/heading/head
|
|
|
3
3
|
import { Icon as m } from "./src/tedi/components/base/icon/icon.es.js";
|
|
4
4
|
import { Label as a } from "./src/tedi/components/content/label/label.es.js";
|
|
5
5
|
import { Section as n } from "./src/tedi/components/content/section/section.es.js";
|
|
6
|
-
import { HeadingWithIcon as
|
|
6
|
+
import { HeadingWithIcon as d } from "./src/tedi/components/content/heading-with-icon/heading-with-icon.es.js";
|
|
7
7
|
import { Truncate as u } from "./src/tedi/components/content/truncate/truncate.es.js";
|
|
8
8
|
import { Calendar as c } from "./src/tedi/components/content/calendar/calendar.es.js";
|
|
9
9
|
import { Spinner as b } from "./src/tedi/components/loaders/spinner/spinner.es.js";
|
|
10
10
|
import { Tag as S } from "./src/tedi/components/tags/tag/tag.es.js";
|
|
11
|
-
import { StatusBadge as
|
|
12
|
-
import { StatusIndicator as
|
|
11
|
+
import { StatusBadge as I } from "./src/tedi/components/tags/status-badge/status-badge.es.js";
|
|
12
|
+
import { StatusIndicator as F } from "./src/tedi/components/tags/status-indicator/status-indicator.es.js";
|
|
13
13
|
import { ClosingButton as M } from "./src/tedi/components/buttons/closing-button/closing-button.es.js";
|
|
14
|
-
import { Button as
|
|
15
|
-
import { InfoButton as
|
|
16
|
-
import { FloatingButton as
|
|
17
|
-
import { ButtonGroup as
|
|
14
|
+
import { Button as D } from "./src/tedi/components/buttons/button/button.es.js";
|
|
15
|
+
import { InfoButton as G } from "./src/tedi/components/buttons/info-button/info-button.es.js";
|
|
16
|
+
import { FloatingButton as k } from "./src/tedi/components/buttons/floating-button/floating-button.es.js";
|
|
17
|
+
import { ButtonGroup as H } from "./src/tedi/components/buttons/button-group/button-group.es.js";
|
|
18
18
|
import { Collapse as A } from "./src/tedi/components/buttons/collapse/collapse.es.js";
|
|
19
|
-
import { Alert as
|
|
20
|
-
import { sendNotification as
|
|
21
|
-
import { HashTrigger as
|
|
22
|
-
import { Link as
|
|
23
|
-
import { TextField as
|
|
24
|
-
import { TextArea as
|
|
25
|
-
import { NumberField as
|
|
26
|
-
import { Toggle as
|
|
19
|
+
import { Alert as E } from "./src/tedi/components/notifications/alert/alert.es.js";
|
|
20
|
+
import { sendNotification as W } from "./src/tedi/components/notifications/toast/toast.es.js";
|
|
21
|
+
import { HashTrigger as O } from "./src/tedi/components/navigation/hash-trigger/hash-trigger.es.js";
|
|
22
|
+
import { Link as K } from "./src/tedi/components/navigation/link/link.es.js";
|
|
23
|
+
import { TextField as j } from "./src/tedi/components/form/textfield/textfield.es.js";
|
|
24
|
+
import { TextArea as J } from "./src/tedi/components/form/textarea/textarea.es.js";
|
|
25
|
+
import { NumberField as X } from "./src/tedi/components/form/number-field/number-field.es.js";
|
|
26
|
+
import { Toggle as Z } from "./src/tedi/components/form/toggle/toggle.es.js";
|
|
27
27
|
import { FeedbackText as oo } from "./src/tedi/components/form/feedback-text/feedback-text.es.js";
|
|
28
28
|
import { Search as eo } from "./src/tedi/components/form/search/search.es.js";
|
|
29
29
|
import { Radio as po } from "./src/tedi/components/form/radio/radio.es.js";
|
|
@@ -34,239 +34,254 @@ import { TimeField as so } from "./src/tedi/components/form/time-field/time-fiel
|
|
|
34
34
|
import { TimePicker as To } from "./src/tedi/components/form/time-picker/time-picker.es.js";
|
|
35
35
|
import { Checkbox as Co } from "./src/tedi/components/form/checkbox/checkbox.es.js";
|
|
36
36
|
import { Slider as go } from "./src/tedi/components/form/slider/slider.es.js";
|
|
37
|
-
import { DateField as
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
37
|
+
import { DateField as vo } from "./src/tedi/components/form/date-field/date-field.es.js";
|
|
38
|
+
import { DateTimeField as Po } from "./src/tedi/components/form/date-time-field/date-time-field.es.js";
|
|
39
|
+
import { Field as Bo } from "./src/tedi/components/form/field/field.es.js";
|
|
40
|
+
import { Separator as No } from "./src/tedi/components/misc/separator/separator.es.js";
|
|
40
41
|
import { Print as ho } from "./src/tedi/components/misc/print/print.es.js";
|
|
41
|
-
import { StretchContent as
|
|
42
|
-
import { ScrollVisibility as
|
|
43
|
-
import { ScrollFade as
|
|
44
|
-
import { Affix as
|
|
45
|
-
import { Ellipsis as
|
|
46
|
-
import { StyleProvider as
|
|
47
|
-
import { AccessibilityContext as Uo, AccessibilityProvider as
|
|
42
|
+
import { StretchContent as Lo } from "./src/tedi/components/misc/stretch-content/stretch-content.es.js";
|
|
43
|
+
import { ScrollVisibility as wo } from "./src/tedi/components/misc/scroll-visibility/scroll-visibility.es.js";
|
|
44
|
+
import { ScrollFade as yo } from "./src/tedi/components/misc/scroll-fade/scroll-fade.es.js";
|
|
45
|
+
import { Affix as Ro } from "./src/tedi/components/misc/affix/affix.es.js";
|
|
46
|
+
import { Ellipsis as Vo } from "./src/tedi/components/misc/ellipsis/ellipsis.es.js";
|
|
47
|
+
import { StyleProvider as zo } from "./src/tedi/providers/style-provider/style-provider.es.js";
|
|
48
|
+
import { AccessibilityContext as Uo, AccessibilityProvider as Ko } from "./src/tedi/providers/accessibility-provider/accessibility-provider.es.js";
|
|
48
49
|
import { useDeclareLoader as jo } from "./src/tedi/providers/accessibility-provider/use-declare-loader.es.js";
|
|
49
|
-
import { ThemeProvider as Jo, useTheme as
|
|
50
|
-
import { PrintingProvider as
|
|
51
|
-
import { List as
|
|
52
|
-
import { ListItem as
|
|
53
|
-
import { Table as
|
|
54
|
-
import { TableContext as
|
|
55
|
-
import { useTablePersistence as
|
|
56
|
-
import { TableColumnsMenu as
|
|
57
|
-
import { TableHeaderButton as
|
|
58
|
-
import { TableToolbar as
|
|
59
|
-
import { TextGroup as
|
|
60
|
-
import { TextGroupList as
|
|
61
|
-
import { Skeleton as
|
|
62
|
-
import { SkeletonBlock as
|
|
63
|
-
import { VerticalSpacing as
|
|
64
|
-
import { VerticalSpacingItem as
|
|
65
|
-
import { Row as
|
|
66
|
-
import { Col as
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
50
|
+
import { ThemeProvider as Jo, useTheme as Qo } from "./src/tedi/providers/theme-provider/theme-provider.es.js";
|
|
51
|
+
import { PrintingProvider as Yo, usePrint as Zo } from "./src/tedi/providers/printing-provider/printing-provider.es.js";
|
|
52
|
+
import { List as or } from "./src/tedi/components/content/list/list.es.js";
|
|
53
|
+
import { ListItem as er } from "./src/tedi/components/content/list/list-item.es.js";
|
|
54
|
+
import { Table as pr, groupRowSpan as xr } from "./src/tedi/components/content/table/table.es.js";
|
|
55
|
+
import { TableContext as fr, useTableContext as ar } from "./src/tedi/components/content/table/table-context.es.js";
|
|
56
|
+
import { useTablePersistence as nr } from "./src/tedi/components/content/table/use-table-persistence.es.js";
|
|
57
|
+
import { TableColumnsMenu as dr } from "./src/tedi/components/content/table/table-columns-menu/table-columns-menu.es.js";
|
|
58
|
+
import { TableHeaderButton as ur } from "./src/tedi/components/content/table/table-header-button/table-header-button.es.js";
|
|
59
|
+
import { TableToolbar as cr } from "./src/tedi/components/content/table/table-toolbar/table-toolbar.es.js";
|
|
60
|
+
import { TextGroup as br } from "./src/tedi/components/content/text-group/text-group.es.js";
|
|
61
|
+
import { TextGroupList as Sr } from "./src/tedi/components/content/text-group/text-group-list/text-group-list.es.js";
|
|
62
|
+
import { Skeleton as Ir } from "./src/tedi/components/loaders/skeleton/skeleton.es.js";
|
|
63
|
+
import { SkeletonBlock as Fr } from "./src/tedi/components/loaders/skeleton/skeleton-block/skeleton-block.es.js";
|
|
64
|
+
import { VerticalSpacing as Mr } from "./src/tedi/components/layout/vertical-spacing/vertical-spacing.es.js";
|
|
65
|
+
import { VerticalSpacingItem as Dr } from "./src/tedi/components/layout/vertical-spacing/vertical-spacing-item.es.js";
|
|
66
|
+
import { Row as Gr } from "./src/tedi/components/layout/grid/row.es.js";
|
|
67
|
+
import { Col as kr } from "./src/tedi/components/layout/grid/col.es.js";
|
|
68
|
+
import { TopNavGroup as Hr } from "./src/tedi/components/layout/top-nav/components/top-nav-group/top-nav-group.es.js";
|
|
69
|
+
import { TopNavItem as Ar } from "./src/tedi/components/layout/top-nav/components/top-nav-item/top-nav-item.es.js";
|
|
70
|
+
import { TopNavSeparator as Er } from "./src/tedi/components/layout/top-nav/components/top-nav-separator/top-nav-separator.es.js";
|
|
71
|
+
import { TopNavSubItem as Wr } from "./src/tedi/components/layout/top-nav/components/top-nav-subitem/top-nav-subitem.es.js";
|
|
72
|
+
import { TopNav as Or } from "./src/tedi/components/layout/top-nav/top-nav.es.js";
|
|
73
|
+
import { MobileNav as Kr, SideNavMobile as _r } from "./src/tedi/components/layout/mobile-nav/mobile-nav.es.js";
|
|
74
|
+
import { MobileNavToggle as qr, SidenavToggle as Jr } from "./src/tedi/components/layout/mobile-nav/components/mobile-nav-toggle/mobile-nav-toggle.es.js";
|
|
75
|
+
import { EmptyState as Xr } from "./src/tedi/components/misc/empty-state/empty-state.es.js";
|
|
76
|
+
import { ToastContainer as Zr } from "./external/react-toastify/dist/index.es.js";
|
|
77
|
+
import { Card as oe } from "./src/tedi/components/cards/card/card.es.js";
|
|
78
|
+
import { CardHeader as ee } from "./src/tedi/components/cards/card/card-header/card-header.es.js";
|
|
79
|
+
import { CardNotification as pe } from "./src/tedi/components/cards/card/card-notification/card-notification.es.js";
|
|
80
|
+
import { CardContent as me } from "./src/tedi/components/cards/card/card-content/card-content.es.js";
|
|
81
|
+
import { Breadcrumbs as ae } from "./src/tedi/components/navigation/breadcrumbs/breadcrumbs.es.js";
|
|
82
|
+
import { Pagination as ne } from "./src/tedi/components/navigation/pagination/pagination.es.js";
|
|
83
|
+
import { usePagination as de } from "./src/tedi/components/navigation/pagination/use-pagination.es.js";
|
|
84
|
+
import { Tabs as ue } from "./src/tedi/components/navigation/tabs/tabs.es.js";
|
|
85
|
+
import { TabsContext as ce, useTabsContext as Ce } from "./src/tedi/components/navigation/tabs/tabs-context.es.js";
|
|
86
|
+
import { TabsList as ge } from "./src/tedi/components/navigation/tabs/tabs-list/tabs-list.es.js";
|
|
87
|
+
import { TabsTrigger as ve } from "./src/tedi/components/navigation/tabs/tabs-trigger/tabs-trigger.es.js";
|
|
88
|
+
import { TabsContent as Pe } from "./src/tedi/components/navigation/tabs/tabs-content/tabs-content.es.js";
|
|
89
|
+
import { ChoiceGroup as Be } from "./src/tedi/components/form/choice-group/choice-group.es.js";
|
|
90
|
+
import { ChoiceGroupContext as Ne } from "./src/tedi/components/form/choice-group/choice-group-context.es.js";
|
|
91
|
+
import { ChoiceGroupItem as he } from "./src/tedi/components/form/choice-group/components/choice-group-item/choice-group-item.es.js";
|
|
92
|
+
import { Filter as Le } from "./src/tedi/components/filter/filter/filter.es.js";
|
|
93
|
+
import { FilterGroup as we } from "./src/tedi/components/filter/filter/filter-group.es.js";
|
|
94
|
+
import { FilterGroupContext as ye } from "./src/tedi/components/filter/filter/filter-group-context.es.js";
|
|
95
|
+
import { InputGroupBase as Re, useInputGroup as Ee, useOptionalInputGroup as Ve } from "./src/tedi/components/form/input-group/input-group.es.js";
|
|
96
|
+
import { Prefix as ze } from "./src/tedi/components/form/input-group/components/prefix/prefix.es.js";
|
|
97
|
+
import { Suffix as Ue } from "./src/tedi/components/form/input-group/components/suffix/suffix.es.js";
|
|
98
|
+
import { Input as _e } from "./src/tedi/components/form/input-group/components/input/input.es.js";
|
|
99
|
+
import { Tooltip as qe } from "./src/tedi/components/overlays/tooltip/tooltip.es.js";
|
|
100
|
+
import { TooltipContent as Qe } from "./src/tedi/components/overlays/tooltip/tooltip-content.es.js";
|
|
101
|
+
import { TooltipTrigger as Ye } from "./src/tedi/components/overlays/tooltip/tooltip-trigger.es.js";
|
|
102
|
+
import { Popover as $e } from "./src/tedi/components/overlays/popover/popover.es.js";
|
|
103
|
+
import { PopoverContent as rt } from "./src/tedi/components/overlays/popover/popover-content.es.js";
|
|
104
|
+
import { PopoverContext as tt } from "./src/tedi/components/overlays/popover/popover-context.es.js";
|
|
105
|
+
import { PopoverTrigger as xt } from "./src/tedi/components/overlays/popover/popover-trigger.es.js";
|
|
106
|
+
import { Dropdown as ft } from "./src/tedi/components/overlays/dropdown/dropdown.es.js";
|
|
107
|
+
import { DropdownContext as it, useDropdownContext as nt } from "./src/tedi/components/overlays/dropdown/dropdown-context.es.js";
|
|
108
|
+
import { DropdownContent as dt } from "./src/tedi/components/overlays/dropdown/dropdown-content/dropdown-content.es.js";
|
|
109
|
+
import { DropdownTrigger as ut } from "./src/tedi/components/overlays/dropdown/dropdown-trigger/dropdown-trigger.es.js";
|
|
110
|
+
import { DropdownItem as ct } from "./src/tedi/components/overlays/dropdown/dropdown-item/dropdown-item.es.js";
|
|
111
|
+
import { Modal as bt } from "./src/tedi/components/overlays/modal/modal.es.js";
|
|
112
|
+
import { ModalTrigger as St } from "./src/tedi/components/overlays/modal/modal-trigger/modal-trigger.es.js";
|
|
113
|
+
import { ModalContent as It } from "./src/tedi/components/overlays/modal/modal-content/modal-content.es.js";
|
|
114
|
+
import { ModalHeader as Ft } from "./src/tedi/components/overlays/modal/modal-header/modal-header.es.js";
|
|
115
|
+
import { ModalBody as Mt } from "./src/tedi/components/overlays/modal/modal-body/modal-body.es.js";
|
|
116
|
+
import { ModalFooter as Dt } from "./src/tedi/components/overlays/modal/modal-footer/modal-footer.es.js";
|
|
117
|
+
import { ModalCloser as Gt } from "./src/tedi/components/overlays/modal/modal-closer/modal-closer.es.js";
|
|
118
|
+
import { ModalContext as kt, useModal as wt, useModalContext as Ht } from "./src/tedi/components/overlays/modal/modal-context.es.js";
|
|
119
|
+
import { SideNav as At } from "./src/tedi/components/layout/sidenav/sidenav.es.js";
|
|
120
|
+
import { SideNavDropdown as Et } from "./src/tedi/components/layout/sidenav/components/sidenav-dropdown/sidenav-dropdown.es.js";
|
|
121
|
+
import { SideNavItem as Wt } from "./src/tedi/components/layout/sidenav/components/sidenav-item/sidenav-item.es.js";
|
|
122
|
+
import { useIsMounted as Ot } from "./src/tedi/helpers/hooks/use-is-mounted.es.js";
|
|
123
|
+
import { BREAKPOINT_WIDTHS as Kt, breakpoints as _t, isBreakpointBelow as jt, useBreakpoint as qt } from "./src/tedi/helpers/hooks/use-breakpoint.es.js";
|
|
124
|
+
import { useBreakpointProps as Qt } from "./src/tedi/helpers/hooks/use-breakpoint-props.es.js";
|
|
125
|
+
import { useElementSize as Yt } from "./src/tedi/helpers/hooks/use-element-size.es.js";
|
|
126
|
+
import { useScroll as $t } from "./src/tedi/helpers/hooks/use-scroll.es.js";
|
|
127
|
+
import { useIsTouchDevice as rp } from "./src/tedi/helpers/hooks/use-is-touch-device.es.js";
|
|
128
|
+
import { useFileUpload as tp } from "./src/tedi/helpers/hooks/use-file-upload.es.js";
|
|
129
|
+
import { useWhatInput as xp } from "./src/tedi/helpers/hooks/use-what-input.es.js";
|
|
130
|
+
import { useScrollFade as fp } from "./src/tedi/helpers/hooks/use-scroll-fade.es.js";
|
|
131
|
+
import { useLabels as ip } from "./src/tedi/providers/label-provider/use-labels.es.js";
|
|
132
|
+
import { LabelContext as lp, LabelProvider as dp } from "./src/tedi/providers/label-provider/label-provider.es.js";
|
|
133
|
+
import { labelsMap as up, validateLabelRecord as Tp, validateLabelValues as cp } from "./src/tedi/providers/label-provider/labels-map.es.js";
|
|
128
134
|
export {
|
|
129
135
|
Uo as AccessibilityContext,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
+
Ko as AccessibilityProvider,
|
|
137
|
+
Ro as Affix,
|
|
138
|
+
E as Alert,
|
|
139
|
+
Kt as BREAKPOINT_WIDTHS,
|
|
140
|
+
ae as Breadcrumbs,
|
|
141
|
+
D as Button,
|
|
142
|
+
H as ButtonGroup,
|
|
136
143
|
c as Calendar,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
144
|
+
oe as Card,
|
|
145
|
+
me as CardContent,
|
|
146
|
+
ee as CardHeader,
|
|
147
|
+
pe as CardNotification,
|
|
141
148
|
Co as Checkbox,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
149
|
+
Be as ChoiceGroup,
|
|
150
|
+
Ne as ChoiceGroupContext,
|
|
151
|
+
he as ChoiceGroupItem,
|
|
145
152
|
M as ClosingButton,
|
|
146
|
-
|
|
153
|
+
kr as Col,
|
|
147
154
|
A as Collapse,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
155
|
+
vo as DateField,
|
|
156
|
+
Po as DateTimeField,
|
|
157
|
+
ft as Dropdown,
|
|
158
|
+
dt as DropdownContent,
|
|
159
|
+
it as DropdownContext,
|
|
160
|
+
ct as DropdownItem,
|
|
161
|
+
ut as DropdownTrigger,
|
|
162
|
+
Vo as Ellipsis,
|
|
163
|
+
Xr as EmptyState,
|
|
156
164
|
oo as FeedbackText,
|
|
157
|
-
|
|
165
|
+
Bo as Field,
|
|
158
166
|
ao as FileDropzone,
|
|
159
167
|
mo as FileUpload,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
168
|
+
Le as Filter,
|
|
169
|
+
we as FilterGroup,
|
|
170
|
+
ye as FilterGroupContext,
|
|
171
|
+
k as FloatingButton,
|
|
172
|
+
O as HashTrigger,
|
|
165
173
|
p as Heading,
|
|
166
|
-
|
|
174
|
+
d as HeadingWithIcon,
|
|
167
175
|
m as Icon,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
176
|
+
G as InfoButton,
|
|
177
|
+
_e as Input,
|
|
178
|
+
Re as InputGroupBase,
|
|
171
179
|
a as Label,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
180
|
+
lp as LabelContext,
|
|
181
|
+
dp as LabelProvider,
|
|
182
|
+
K as Link,
|
|
183
|
+
or as List,
|
|
184
|
+
er as ListItem,
|
|
185
|
+
Kr as MobileNav,
|
|
186
|
+
qr as MobileNavToggle,
|
|
187
|
+
bt as Modal,
|
|
188
|
+
Mt as ModalBody,
|
|
189
|
+
Gt as ModalCloser,
|
|
190
|
+
It as ModalContent,
|
|
191
|
+
kt as ModalContext,
|
|
192
|
+
Dt as ModalFooter,
|
|
193
|
+
Ft as ModalHeader,
|
|
194
|
+
St as ModalTrigger,
|
|
195
|
+
X as NumberField,
|
|
196
|
+
ne as Pagination,
|
|
197
|
+
$e as Popover,
|
|
198
|
+
rt as PopoverContent,
|
|
199
|
+
tt as PopoverContext,
|
|
200
|
+
xt as PopoverTrigger,
|
|
201
|
+
ze as Prefix,
|
|
192
202
|
ho as Print,
|
|
193
|
-
|
|
203
|
+
Yo as PrintingProvider,
|
|
194
204
|
po as Radio,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
205
|
+
Gr as Row,
|
|
206
|
+
yo as ScrollFade,
|
|
207
|
+
wo as ScrollVisibility,
|
|
198
208
|
eo as Search,
|
|
199
209
|
n as Section,
|
|
200
210
|
no as Select,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
211
|
+
No as Separator,
|
|
212
|
+
At as SideNav,
|
|
213
|
+
Et as SideNavDropdown,
|
|
214
|
+
Wt as SideNavItem,
|
|
215
|
+
_r as SideNavMobile,
|
|
216
|
+
Jr as SidenavToggle,
|
|
217
|
+
Ir as Skeleton,
|
|
218
|
+
Fr as SkeletonBlock,
|
|
209
219
|
go as Slider,
|
|
210
220
|
b as Spinner,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
221
|
+
I as StatusBadge,
|
|
222
|
+
F as StatusIndicator,
|
|
223
|
+
Lo as StretchContent,
|
|
224
|
+
zo as StyleProvider,
|
|
225
|
+
Ue as Suffix,
|
|
226
|
+
pr as Table,
|
|
227
|
+
dr as TableColumnsMenu,
|
|
228
|
+
fr as TableContext,
|
|
229
|
+
ur as TableHeaderButton,
|
|
230
|
+
cr as TableToolbar,
|
|
231
|
+
ue as Tabs,
|
|
232
|
+
Pe as TabsContent,
|
|
233
|
+
ce as TabsContext,
|
|
234
|
+
ge as TabsList,
|
|
235
|
+
ve as TabsTrigger,
|
|
226
236
|
S as Tag,
|
|
227
237
|
e as Text,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
238
|
+
J as TextArea,
|
|
239
|
+
j as TextField,
|
|
240
|
+
br as TextGroup,
|
|
241
|
+
Sr as TextGroupList,
|
|
232
242
|
Jo as ThemeProvider,
|
|
233
243
|
so as TimeField,
|
|
234
244
|
To as TimePicker,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
245
|
+
Zr as ToastContainer,
|
|
246
|
+
Z as Toggle,
|
|
247
|
+
qe as Tooltip,
|
|
248
|
+
Qe as TooltipContent,
|
|
249
|
+
Ye as TooltipTrigger,
|
|
250
|
+
Or as TopNav,
|
|
251
|
+
Hr as TopNavGroup,
|
|
252
|
+
Ar as TopNavItem,
|
|
253
|
+
Er as TopNavSeparator,
|
|
254
|
+
Wr as TopNavSubItem,
|
|
240
255
|
u as Truncate,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
256
|
+
Mr as VerticalSpacing,
|
|
257
|
+
Dr as VerticalSpacingItem,
|
|
258
|
+
_t as breakpoints,
|
|
259
|
+
xr as groupRowSpan,
|
|
260
|
+
jt as isBreakpointBelow,
|
|
261
|
+
up as labelsMap,
|
|
262
|
+
W as sendNotification,
|
|
263
|
+
qt as useBreakpoint,
|
|
264
|
+
Qt as useBreakpointProps,
|
|
250
265
|
jo as useDeclareLoader,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
266
|
+
nt as useDropdownContext,
|
|
267
|
+
Yt as useElementSize,
|
|
268
|
+
tp as useFileUpload,
|
|
269
|
+
Ee as useInputGroup,
|
|
270
|
+
Ot as useIsMounted,
|
|
271
|
+
rp as useIsTouchDevice,
|
|
272
|
+
ip as useLabels,
|
|
273
|
+
wt as useModal,
|
|
274
|
+
Ht as useModalContext,
|
|
275
|
+
Ve as useOptionalInputGroup,
|
|
276
|
+
de as usePagination,
|
|
277
|
+
Zo as usePrint,
|
|
278
|
+
$t as useScroll,
|
|
279
|
+
fp as useScrollFade,
|
|
280
|
+
ar as useTableContext,
|
|
281
|
+
nr as useTablePersistence,
|
|
282
|
+
Ce as useTabsContext,
|
|
283
|
+
Qo as useTheme,
|
|
284
|
+
xp as useWhatInput,
|
|
285
|
+
Tp as validateLabelRecord,
|
|
286
|
+
cp as validateLabelValues
|
|
272
287
|
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),H=require("../../../../../../../external/@floating-ui/react/dist/floating-ui.react.cjs.js"),l=require("../../../../../../../external/classnames/index.cjs.js"),m=require("react"),d=require("../../../../base/icon/icon.cjs.js"),f=require("../../../../buttons/button/button.cjs.js"),n=require("../../sidenav.module.scss.cjs.js"),q=require("../sidenav-item/sidenav-item.cjs.js"),U=require("../../../../../providers/label-provider/use-labels.cjs.js"),D=({navItems:h,ariaLabel:y,linkAs:v,isOpen:M,onClose:r,showOverlay:w=!0,id:B,className:G})=>{var k,g,p,I,S,C,L;const{getLabel:b}=U.useLabels(),[s,c]=m.useState([{items:h}]);m.useEffect(()=>{c([{items:h}])},[h]);const a=s[s.length-1],P=s.length===1,x=e=>{var _;const i=!!(e.subItems||e.subItemGroups),o=!!(e.href||e.to);if(!i){r();return}const u=((_=e.subItemGroups)==null?void 0:_.flatMap(E=>E.subItems))||e.subItems||[];c([...s,{items:u,parent:e,renderParentLink:o}])},R=()=>{c(s.slice(0,-1))},T=()=>{c([s[0]])},z=((g=(k=a.parent)==null?void 0:k.subItems)==null?void 0:g.length)??((I=(p=a.parent)==null?void 0:p.subItemGroups)==null?void 0:I.length),F=s.length>1&&!(a.renderParentLink&&z),N=(e,i)=>i===1?!(e.subItems||e.subItemGroups)?t.jsx(q.SideNavItem,{...e,as:v,level:i,onItemClick:r,className:l.default(n.default["tedi-sidenav__item--mobile"],e.className)}):t.jsx("li",{className:l.default(n.default["tedi-sidenav__item"],n.default["tedi-sidenav__item--mobile"]),children:t.jsxs("button",{onClick:()=>x(e),className:n.default["tedi-sidenav__link"],children:[e.icon&&t.jsx(d.Icon,{name:typeof e.icon=="string"?e.icon:e.icon.name,color:"white",className:n.default["tedi-sidenav__icon"]}),t.jsx("span",{className:n.default["tedi-sidenav__title"],children:e.children}),t.jsx(d.Icon,{name:"expand_more",color:"white",className:n.default["tedi-sidenav__toggle-icon"]})]})}):O(e,i),O=(e,i)=>{const o=!!(e.href||e.to),u=!!(e.subItems||e.subItemGroups);return o?t.jsx(q.SideNavItem,{...e,as:v,level:i,icon:void 0,onItemClick:r,className:l.default(n.default["tedi-sidenav__sub-item"],e.className)}):t.jsx("li",{className:l.default(n.default["tedi-sidenav__item"]),children:t.jsxs(f.Button,{noStyle:!0,onClick:()=>u?x(e):r(),className:n.default["tedi-sidenav__link"],children:[t.jsx("span",{className:n.default["tedi-sidenav__title"],children:e.children}),u?t.jsx(d.Icon,{name:"expand_more",color:"white",className:n.default["tedi-sidenav__toggle-icon"]}):null]})})},j=t.jsxs("nav",{"data-name":"mobile-sidenav",className:l.default(n.default["tedi-sidenav"],n.default["tedi-sidenav--mobile"],G),"aria-label":y,id:B,children:[t.jsx("div",{className:n.default["tedi-sidenav__list"],children:!P&&t.jsxs("div",{className:n.default["tedi-sidenav__back-buttons"],children:[s.length>1&&t.jsxs(f.Button,{noStyle:!0,onClick:T,className:l.default(n.default["tedi-sidenav__link"],n.default["tedi-sidenav__back-button"]),children:[t.jsx(d.Icon,{name:"arrow_back",size:16,color:"white"}),t.jsx("span",{children:b("sidenav.backToMainMenu")})]}),s.length>2&&t.jsxs(f.Button,{noStyle:!0,onClick:R,className:l.default(n.default["tedi-sidenav__link"],n.default["tedi-sidenav__back-button"]),children:[t.jsx(d.Icon,{name:"arrow_back",size:16,color:"white"}),t.jsx("span",{children:((C=(S=s[s.length-1])==null?void 0:S.parent)==null?void 0:C.children)+" "+b("sidenav.backtoMenu")})]})]})}),F&&t.jsx("div",{className:l.default(n.default["tedi-sidenav__subheading"],n.default["tedi-sidenav__subheading--mobile"]),children:(L=a.parent)==null?void 0:L.children}),t.jsxs("ul",{className:n.default["tedi-sidenav__list"],role:"menubar",children:[a.renderParentLink&&a.parent&&t.jsx("li",{className:n.default["tedi-sidenav__list-item"],children:t.jsx("div",{className:l.default(n.default["tedi-sidenav__collapse"]),children:N(a.parent,s.length)})}),!a.renderParentLink&&a.items.map((e,i)=>t.jsx(m.Fragment,{children:N(e,s.length)},e.id||i))]})]});return M?w?t.jsx(H.FloatingOverlay,{style:{top:"0",position:"relative",height:"100%"},className:n.default["tedi-sidenav__overlay"],children:j}):j:null};exports.SideNavMobile=D;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { SideNavItemProps } from '../sidenav-item/sidenav-item';
|
|
3
|
-
type SideNavMobileProps<C extends React.ElementType = 'a'> = {
|
|
4
|
-
navItems: SideNavItemProps<C>[];
|
|
5
|
-
ariaLabel: string;
|
|
6
|
-
linkAs?: C;
|
|
7
|
-
isOpen: boolean;
|
|
8
|
-
onClose: () => void;
|
|
9
|
-
showOverlay?: boolean;
|
|
10
|
-
id?: string;
|
|
11
|
-
className?: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const SideNavMobile: <C extends React.ElementType = "a">({ navItems, ariaLabel, linkAs, isOpen, onClose, showOverlay, id, className, }: SideNavMobileProps<C>) => import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const p=require("react/jsx-runtime"),b=require("../../../../../../../external/classnames/index.cjs.js"),_=require("../../../../buttons/button/button.cjs.js"),y=require("../../../../buttons/floating-button/floating-button.cjs.js"),o=require("./sidenav-toggle.module.scss.cjs.js"),m=require("../../../../../providers/label-provider/use-labels.cjs.js"),i=({menuOpen:l,toggleMenu:s,referenceRef:n,getReferenceProps:a=()=>({}),variant:e="mobile",className:c})=>{const{getLabel:d}=m.useLabels(),u=d("header.toggle",l),r=b.default(o.default["tedi-sidenav-toggle"],{[o.default["tedi-sidenav-toggle--open"]]:l,[o.default[`tedi-sidenav-toggle--${e}`]]:!0},c),g=e==="collapse"?y.FloatingButton:_.Button,f=t=>{(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),s(!l))};return p.jsx(g,{...a(),ref:n,icon:{name:e==="collapse"?l?"right_panel_open":"left_panel_open":l?"close":"menu",className:o.default["tedi-sidenav-toggle__icon"],size:e==="collapse"?18:24},visualType:e==="collapse"?"secondary":"primary",className:r,onClick:()=>s(!l),onKeyDown:f,position:e==="collapse"?"absolute":"static",size:e==="collapse"?"small":"",children:u})};exports.SidenavToggle=i;exports.default=i;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { UnknownType } from '../../../../../types/commonTypes';
|
|
3
|
-
export type SidenavToggleVariant = 'mobile' | 'collapse';
|
|
4
|
-
export type SidenavToggleProps = {
|
|
5
|
-
/**
|
|
6
|
-
* Is the menu open (for mobile) or expanded (for collapse)
|
|
7
|
-
*/
|
|
8
|
-
menuOpen: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Toggle open/collapse state
|
|
11
|
-
*/
|
|
12
|
-
toggleMenu: (open: boolean) => void;
|
|
13
|
-
/**
|
|
14
|
-
* Optional ref to attach to button (for floating UI etc.)
|
|
15
|
-
*/
|
|
16
|
-
referenceRef?: React.Ref<UnknownType>;
|
|
17
|
-
/**
|
|
18
|
-
* Optional props passed from floating UI
|
|
19
|
-
*/
|
|
20
|
-
getReferenceProps?: () => UnknownType;
|
|
21
|
-
/**
|
|
22
|
-
* Variant of toggle (mobile overlay or collapse control)
|
|
23
|
-
*/
|
|
24
|
-
variant?: SidenavToggleVariant;
|
|
25
|
-
/**
|
|
26
|
-
* Add custom class to override styles
|
|
27
|
-
*/
|
|
28
|
-
className?: string;
|
|
29
|
-
};
|
|
30
|
-
export declare const SidenavToggle: ({ menuOpen, toggleMenu, referenceRef, getReferenceProps, variant, className, }: SidenavToggleProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export default SidenavToggle;
|