@adgytec/adgytec-web-ui-components 2.0.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/AppBar.css +1 -0
- package/dist/assets/AppBarAvatar.css +1 -0
- package/dist/assets/AppBarHeadline.css +1 -0
- package/dist/assets/Navigation.css +1 -0
- package/dist/assets/NavigationScrollContainer.css +1 -0
- package/dist/assets/NavigationSection.css +1 -0
- package/dist/assets/NavigationSectionLabel.css +1 -0
- package/dist/assets/SideSheet.css +1 -1
- package/dist/assets/Tag.css +1 -1
- package/dist/assets/core10.css +1 -0
- package/dist/assets/core2.css +1 -1
- package/dist/assets/core3.css +1 -1
- package/dist/assets/core9.css +1 -0
- package/dist/chunks/ActionDialog +10 -10
- package/dist/chunks/AppBar +65 -0
- package/dist/chunks/AppBar.map +1 -0
- package/dist/chunks/AppBarAvatar +35 -0
- package/dist/chunks/AppBarAvatar.map +1 -0
- package/dist/chunks/AppBarHeadline +19 -0
- package/dist/chunks/AppBarHeadline.map +1 -0
- package/dist/chunks/BaseCalendar +35 -35
- package/dist/chunks/BottomSheet +17 -13
- package/dist/chunks/BottomSheet.map +1 -1
- package/dist/chunks/BottomSheetModal +5 -5
- package/dist/chunks/ButtonGroup +4 -4
- package/dist/chunks/CalendarCell +14 -14
- package/dist/chunks/CalendarGrid +7 -7
- package/dist/chunks/CalendarMenuItem +3 -3
- package/dist/chunks/CenteredSlider +16 -16
- package/dist/chunks/ComboBox +12 -12
- package/dist/chunks/ComboBoxTrigger +6 -6
- package/dist/chunks/ConnectedButtonGroup +4 -4
- package/dist/chunks/Dialog +10 -6
- package/dist/chunks/Dialog.map +1 -1
- package/dist/chunks/Disclosure +3 -3
- package/dist/chunks/DisclosureGroup +4 -4
- package/dist/chunks/DisclosureHeader +15 -15
- package/dist/chunks/DisclosurePanel +4 -4
- package/dist/chunks/Divider +3 -3
- package/dist/chunks/FieldError +3 -3
- package/dist/chunks/Input +12 -12
- package/dist/chunks/Input2 +28 -28
- package/dist/chunks/Modal +3 -3
- package/dist/chunks/ModalOverlay +3 -3
- package/dist/chunks/Navigation +68 -0
- package/dist/chunks/Navigation.map +1 -0
- package/dist/chunks/NavigationScrollContainer +32 -0
- package/dist/chunks/NavigationScrollContainer.map +1 -0
- package/dist/chunks/NavigationSection +10 -0
- package/dist/chunks/NavigationSection.map +1 -0
- package/dist/chunks/NavigationSectionLabel +12 -0
- package/dist/chunks/NavigationSectionLabel.map +1 -0
- package/dist/chunks/NavigationState +69 -0
- package/dist/chunks/NavigationState.map +1 -0
- package/dist/chunks/Popover +3 -3
- package/dist/chunks/Radio +13 -13
- package/dist/chunks/SearchField +10 -10
- package/dist/chunks/SelectTrigger +12 -12
- package/dist/chunks/SideSheet +50 -37
- package/dist/chunks/SideSheet.map +1 -1
- package/dist/chunks/SideSheetModal +6 -6
- package/dist/chunks/Slider +13 -13
- package/dist/chunks/SliderOutput +7 -7
- package/dist/chunks/SliderStops +9 -9
- package/dist/chunks/SliderThumb +5 -5
- package/dist/chunks/Snackbar +23 -23
- package/dist/chunks/SplitButton +20 -21
- package/dist/chunks/SplitButton.map +1 -1
- package/dist/chunks/SplitButtonTrigger +28 -28
- package/dist/chunks/SplitButtonTrigger.map +1 -1
- package/dist/chunks/Switch +21 -21
- package/dist/chunks/Switch.map +1 -1
- package/dist/chunks/Tab +12 -12
- package/dist/chunks/TabList +3 -3
- package/dist/chunks/TabPanel +3 -3
- package/dist/chunks/TabPanels +3 -3
- package/dist/chunks/Tabs +3 -3
- package/dist/chunks/Tag +18 -18
- package/dist/chunks/Tag.map +1 -1
- package/dist/chunks/ThemeSelector +42 -42
- package/dist/chunks/Toolbar +6 -6
- package/dist/chunks/Tooltip +3 -3
- package/dist/chunks/core +39 -39
- package/dist/chunks/core.map +1 -1
- package/dist/chunks/core2 +8 -8
- package/dist/chunks/core2.map +1 -1
- package/dist/chunks/core3 +3 -3
- package/dist/chunks/core8 +18 -0
- package/dist/chunks/core8.map +1 -0
- package/dist/chunks/core9 +6 -0
- package/dist/chunks/core9.map +1 -0
- package/dist/chunks/navContext +12 -0
- package/dist/chunks/navContext.map +1 -0
- package/dist/chunks/useSplash +7 -7
- package/dist/components/AppBar/AppBar/index.js +2 -0
- package/dist/components/AppBar/AppBarAction/index.js +12 -0
- package/dist/components/AppBar/AppBarAction/index.js.map +1 -0
- package/dist/components/AppBar/AppBarAvatar/index.js +2 -0
- package/dist/components/AppBar/AppBarHeadline/index.js +2 -0
- package/dist/components/AppBar/AppBarState/index.js +17 -0
- package/dist/components/AppBar/AppBarState/index.js.map +1 -0
- package/dist/components/AppBar/core/index.js +24 -0
- package/dist/components/AppBar/core/index.js.map +1 -0
- package/dist/components/AppBar/index.js +7 -0
- package/dist/components/Button/Button/index.js +16 -16
- package/dist/components/Button/IconButton/index.js +12 -12
- package/dist/components/Button/LinkButton/index.js +16 -16
- package/dist/components/Button/LinkIconButton/index.js +12 -12
- package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js +32 -32
- package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js.map +1 -1
- package/dist/components/Button/ToggleButton/index.js +17 -17
- package/dist/components/Button/ToggleIconButton/index.js +15 -15
- package/dist/components/Calendar/Calendar/index.js +4 -4
- package/dist/components/Calendar/CalendarMonthMenu/index.js +10 -10
- package/dist/components/Calendar/CalendarYearMenu/index.js +7 -7
- package/dist/components/Calendar/RangeCalendar/index.js +4 -4
- package/dist/components/Dialog/core/index.js +9 -2
- package/dist/components/Dialog/core/index.js.map +1 -1
- package/dist/components/Dialog/index.js +6 -6
- package/dist/components/Input/DateField/index.js +9 -9
- package/dist/components/Input/DatePicker/DatePicker/index.js +15 -15
- package/dist/components/Input/DatePicker/DateRangePicker/index.js +19 -19
- package/dist/components/Input/Description/index.js +3 -3
- package/dist/components/Input/Label/index.js +3 -3
- package/dist/components/Input/Select/Select/index.js +8 -8
- package/dist/components/Input/Select/SelectItem/index.js +18 -18
- package/dist/components/Input/Select/SelectList/index.js +3 -3
- package/dist/components/Input/Select/SelectListSection/index.js +3 -3
- package/dist/components/Input/Select/SelectListSectionHeader/index.js +3 -3
- package/dist/components/Input/Slider/RangeSlider/index.js +13 -13
- package/dist/components/Input/TextArea/index.js +11 -11
- package/dist/components/Input/TimeField/index.js +9 -9
- package/dist/components/Menu/Menu/index.js +4 -4
- package/dist/components/Menu/MenuItem/index.js +19 -19
- package/dist/components/Menu/MenuSection/index.js +3 -3
- package/dist/components/Menu/MenuSectionHeader/index.js +3 -3
- package/dist/components/Menu/MenuTrigger/index.js +4 -4
- package/dist/components/Navigation/Navigation/index.js +3 -0
- package/dist/components/Navigation/NavigationItem/NavigationButton/index.js +27 -0
- package/dist/components/Navigation/NavigationItem/NavigationButton/index.js.map +1 -0
- package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js +12 -0
- package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js.map +1 -0
- package/dist/components/Navigation/NavigationItem/NavigationLink/index.js +25 -0
- package/dist/components/Navigation/NavigationItem/NavigationLink/index.js.map +1 -0
- package/dist/components/Navigation/NavigationItem/core/index.js +2 -0
- package/dist/components/Navigation/NavigationItem/index.js +3 -0
- package/dist/components/Navigation/NavigationScrollContainer/index.js +2 -0
- package/dist/components/Navigation/NavigationSection/NavigationSection/index.js +2 -0
- package/dist/components/Navigation/NavigationSection/NavigationSectionLabel/index.js +2 -0
- package/dist/components/Navigation/NavigationSection/index.js +3 -0
- package/dist/components/Navigation/NavigationState/index.js +2 -0
- package/dist/components/Navigation/SubNavigation/SubNavigation/index.js +63 -0
- package/dist/components/Navigation/SubNavigation/SubNavigation/index.js.map +1 -0
- package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js +34 -0
- package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js.map +1 -0
- package/dist/components/Navigation/SubNavigation/index.js +3 -0
- package/dist/components/Navigation/core/index.js +2 -0
- package/dist/components/Navigation/index.js +10 -0
- package/dist/components/Sheets/SideSheet/index.js +2 -2
- package/dist/components/Sheets/index.js +2 -2
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js +3 -3
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js +3 -3
- package/dist/components/Tooltip/TooltipTrigger/index.js +3 -3
- package/dist/index.js +122 -107
- package/dist/index.js.map +1 -1
- package/dist/src/components/AppBar/AppBar/AppBar.d.ts +2 -0
- package/dist/src/components/AppBar/AppBar/index.d.ts +2 -0
- package/dist/src/components/AppBar/AppBar/types.d.ts +9 -0
- package/dist/src/components/AppBar/AppBarAction/AppBarAction.d.ts +2 -0
- package/dist/src/components/AppBar/AppBarAction/index.d.ts +1 -0
- package/dist/src/components/AppBar/AppBarAvatar/AppBarAvatar.d.ts +2 -0
- package/dist/src/components/AppBar/AppBarAvatar/index.d.ts +1 -0
- package/dist/src/components/AppBar/AppBarHeadline/AppBarHeadline.d.ts +2 -0
- package/dist/src/components/AppBar/AppBarHeadline/index.d.ts +1 -0
- package/dist/src/components/AppBar/AppBarState/AppBarState.d.ts +5 -0
- package/dist/src/components/AppBar/AppBarState/context.d.ts +5 -0
- package/dist/src/components/AppBar/AppBarState/index.d.ts +2 -0
- package/dist/src/components/AppBar/core/alignment.d.ts +1 -0
- package/dist/src/components/AppBar/core/context.d.ts +10 -0
- package/dist/src/components/AppBar/core/index.d.ts +3 -0
- package/dist/src/components/AppBar/core/size.d.ts +3 -0
- package/dist/src/components/AppBar/index.d.ts +6 -0
- package/dist/src/components/Dialog/core/context.d.ts +2 -0
- package/dist/src/components/Dialog/core/index.d.ts +1 -0
- package/dist/src/components/Input/Switch/types.d.ts +3 -0
- package/dist/src/components/Navigation/Navigation/Navigation.d.ts +2 -0
- package/dist/src/components/Navigation/Navigation/index.d.ts +4 -0
- package/dist/src/components/Navigation/Navigation/navContext.d.ts +7 -0
- package/dist/src/components/Navigation/Navigation/navRenderingContext.d.ts +5 -0
- package/dist/src/components/Navigation/Navigation/types.d.ts +10 -0
- package/dist/src/components/Navigation/NavigationItem/NavigationButton/NavigationButton.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationItem/NavigationButton/index.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationItem/NavigationButton/types.d.ts +7 -0
- package/dist/src/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.d.ts +6 -0
- package/dist/src/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.d.ts +1 -0
- package/dist/src/components/Navigation/NavigationItem/NavigationLink/NavigationLink.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationItem/NavigationLink/index.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationItem/NavigationLink/types.d.ts +4 -0
- package/dist/src/components/Navigation/NavigationItem/core/index.d.ts +1 -0
- package/dist/src/components/Navigation/NavigationItem/core/navigationItem.d.ts +10 -0
- package/dist/src/components/Navigation/NavigationItem/index.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationScrollContainer/NavigationScrollContainer.d.ts +1 -0
- package/dist/src/components/Navigation/NavigationScrollContainer/index.d.ts +1 -0
- package/dist/src/components/Navigation/NavigationSection/NavigationSection/NavigationSection.d.ts +1 -0
- package/dist/src/components/Navigation/NavigationSection/NavigationSection/index.d.ts +1 -0
- package/dist/src/components/Navigation/NavigationSection/NavigationSectionLabel/NavigationSectionLabel.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationSection/NavigationSectionLabel/index.d.ts +1 -0
- package/dist/src/components/Navigation/NavigationSection/index.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationState/NavigationState.d.ts +4 -0
- package/dist/src/components/Navigation/NavigationState/context.d.ts +10 -0
- package/dist/src/components/Navigation/NavigationState/index.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationState/types.d.ts +5 -0
- package/dist/src/components/Navigation/SubNavigation/SubNavigation/SubNavigation.d.ts +4 -0
- package/dist/src/components/Navigation/SubNavigation/SubNavigation/index.d.ts +1 -0
- package/dist/src/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.d.ts +6 -0
- package/dist/src/components/Navigation/SubNavigation/SubNavigationTrigger/index.d.ts +1 -0
- package/dist/src/components/Navigation/SubNavigation/index.d.ts +2 -0
- package/dist/src/components/Navigation/core/index.d.ts +3 -0
- package/dist/src/components/Navigation/core/navLabelContext.d.ts +3 -0
- package/dist/src/components/Navigation/core/navigation.d.ts +3 -0
- package/dist/src/components/Navigation/core/navigationInfo.d.ts +6 -0
- package/dist/src/components/Navigation/index.d.ts +5 -0
- package/dist/src/components/Sheets/SideSheet/SideSheetDialog.d.ts +2 -0
- package/dist/src/components/Sheets/SideSheet/index.d.ts +1 -0
- package/dist/src/components/Sheets/SideSheet/types.d.ts +2 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/scroll/index.d.ts +1 -0
- package/dist/src/utils/scroll/scroll.d.ts +10 -0
- package/package.json +1 -2
package/dist/index.js
CHANGED
|
@@ -1,121 +1,136 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./chunks/
|
|
3
|
-
import { n, t as
|
|
4
|
-
import { n as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { t as
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { t as
|
|
34
|
-
import { t as
|
|
35
|
-
import "./components/
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import { t as
|
|
40
|
-
import { t as
|
|
1
|
+
import { AppBarState as e, AppBarStateContext as t } from "./components/AppBar/AppBarState/index.js";
|
|
2
|
+
import { a as n, i as r, n as ee, r as te, t as i } from "./chunks/NavigationState";
|
|
3
|
+
import { n as a, t as o } from "./chunks/tapTarget";
|
|
4
|
+
import { i as s, n as c, r as l, t as u } from "./chunks/ThemeSelector";
|
|
5
|
+
import { t as d } from "./chunks/base";
|
|
6
|
+
import { AppBarContext as f, AppBarHeadlineBlockSize as p, AppBarHeadlineTypography as m, useAppBarContext as h } from "./components/AppBar/core/index.js";
|
|
7
|
+
import { t as g } from "./chunks/AppBar";
|
|
8
|
+
import { t as _ } from "./chunks/Icon";
|
|
9
|
+
import { t as v } from "./chunks/Loader";
|
|
10
|
+
import { n as y, t as b } from "./chunks/useSplash";
|
|
11
|
+
import { a as x, c as S, d as C, f as w, i as T, l as E, n as D, o as O, p as k, r as A, s as j, t as M, u as N } from "./chunks/core";
|
|
12
|
+
import { ButtonGroupContext as P, ConnectedButtonGroupContext as F, useButtonGroupContext as I, useConnectedButtonGroupContext as L } from "./components/Button/ButtonGroups/ButtonGroupContext/index.js";
|
|
13
|
+
import { t as R } from "./chunks/ButtonGroup";
|
|
14
|
+
import { t as z } from "./chunks/ConnectedButtonGroup";
|
|
15
|
+
import { t as B } from "./chunks/RichTooltip";
|
|
16
|
+
import { t as V } from "./chunks/RichTooltipActions";
|
|
17
|
+
import { t as H } from "./chunks/RichTooltipInfo";
|
|
18
|
+
import { RichTooltipSubhead as U } from "./components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js";
|
|
19
|
+
import { RichTooltipText as W } from "./components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js";
|
|
20
|
+
import { t as G } from "./chunks/Tooltip";
|
|
21
|
+
import { TooltipTrigger as K } from "./components/Tooltip/TooltipTrigger/index.js";
|
|
22
|
+
import { Button as q } from "./components/Button/Button/index.js";
|
|
23
|
+
import { IconButton as J } from "./components/Button/IconButton/index.js";
|
|
24
|
+
import { LinkButton as Y } from "./components/Button/LinkButton/index.js";
|
|
25
|
+
import { LinkIconButton as X } from "./components/Button/LinkIconButton/index.js";
|
|
26
|
+
import { a as Z, i as Q, n as ne, r as re, t as ie } from "./chunks/core2";
|
|
27
|
+
import { t as ae } from "./chunks/SplitButton";
|
|
28
|
+
import { SplitButtonPrimary as oe } from "./components/Button/SplitButton/SplitButtonPrimary/index.js";
|
|
29
|
+
import { t as se } from "./chunks/SplitButtonTrigger";
|
|
30
|
+
import { ToggleButton as ce } from "./components/Button/ToggleButton/index.js";
|
|
31
|
+
import { ToggleIconButton as le } from "./components/Button/ToggleIconButton/index.js";
|
|
32
|
+
import { AppBarAction as ue } from "./components/AppBar/AppBarAction/index.js";
|
|
33
|
+
import { t as de } from "./chunks/AppBarAvatar";
|
|
34
|
+
import { t as fe } from "./chunks/AppBarHeadline";
|
|
35
|
+
import "./components/AppBar/index.js";
|
|
36
|
+
import { Calendar as pe } from "./components/Calendar/Calendar/index.js";
|
|
37
|
+
import { RangeCalendar as me } from "./components/Calendar/RangeCalendar/index.js";
|
|
38
|
+
import { DialogBodyTypography as he, DialogContext as ge, DialogHeadlineTypography as _e, DialogIconSize as ve, useInDialog as ye } from "./components/Dialog/core/index.js";
|
|
39
|
+
import { t as be } from "./chunks/Dialog";
|
|
40
|
+
import { t as xe } from "./chunks/ActionDialog";
|
|
41
|
+
import { t as Se } from "./chunks/Modal";
|
|
42
|
+
import { t as Ce } from "./chunks/ModalOverlay";
|
|
43
|
+
import { DisclosureTypographyContext as we, useDisclosureTypographyContext as Te } from "./components/Disclosure/context/index.js";
|
|
44
|
+
import { t as Ee } from "./chunks/Disclosure";
|
|
45
|
+
import { t as De } from "./chunks/DisclosureGroup";
|
|
46
|
+
import { t as Oe } from "./chunks/DisclosureHeader";
|
|
47
|
+
import { t as ke } from "./chunks/DisclosurePanel";
|
|
41
48
|
import "./components/Disclosure/index.js";
|
|
42
|
-
import { t as
|
|
43
|
-
import { Image as
|
|
44
|
-
import { n as
|
|
45
|
-
import { Description as
|
|
46
|
-
import { t as
|
|
47
|
-
import { Label as
|
|
48
|
-
import { DateField as
|
|
49
|
-
import { t as
|
|
50
|
-
import { n as
|
|
51
|
-
import { useControllableState as
|
|
52
|
-
import { DatePicker as
|
|
53
|
-
import { DateRangePicker as
|
|
54
|
-
import { n as
|
|
55
|
-
import { t as
|
|
56
|
-
import { n as
|
|
57
|
-
import { t as
|
|
58
|
-
import { t as
|
|
59
|
-
import { t as
|
|
60
|
-
import { Select as
|
|
61
|
-
import { a as
|
|
62
|
-
import { Menu as
|
|
63
|
-
import { MenuItem as
|
|
64
|
-
import { t as
|
|
65
|
-
import { MenuSection as
|
|
66
|
-
import { MenuSectionHeader as
|
|
67
|
-
import { MenuShortcut as
|
|
68
|
-
import { MenuTrailingText as
|
|
69
|
-
import { MenuTrigger as
|
|
70
|
-
import { t as
|
|
71
|
-
import { SelectItem as
|
|
72
|
-
import { SelectList as
|
|
73
|
-
import { SelectListSection as
|
|
74
|
-
import { SelectListSectionHeader as
|
|
75
|
-
import { t as
|
|
76
|
-
import { t as
|
|
77
|
-
import { a as
|
|
78
|
-
import { t as
|
|
79
|
-
import { t as
|
|
80
|
-
import { RangeSlider as
|
|
81
|
-
import { t as
|
|
82
|
-
import { t as
|
|
83
|
-
import { TextArea as
|
|
84
|
-
import { TimeField as
|
|
85
|
-
import { n as
|
|
86
|
-
import { t as
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
49
|
+
import { t as Ae } from "./chunks/Divider";
|
|
50
|
+
import { Image as je } from "./components/Image/index.js";
|
|
51
|
+
import { n as Me, t as Ne } from "./chunks/Input";
|
|
52
|
+
import { Description as Pe } from "./components/Input/Description/index.js";
|
|
53
|
+
import { t as Fe } from "./chunks/FieldError";
|
|
54
|
+
import { Label as Ie } from "./components/Input/Label/index.js";
|
|
55
|
+
import { DateField as Le } from "./components/Input/DateField/index.js";
|
|
56
|
+
import { t as Re } from "./chunks/Popover";
|
|
57
|
+
import { n as ze, t as Be } from "./chunks/Input2";
|
|
58
|
+
import { useControllableState as Ve } from "./components/Input/hooks/index.js";
|
|
59
|
+
import { DatePicker as He } from "./components/Input/DatePicker/DatePicker/index.js";
|
|
60
|
+
import { DateRangePicker as $ } from "./components/Input/DatePicker/DateRangePicker/index.js";
|
|
61
|
+
import { n as Ue, t as We } from "./chunks/Radio";
|
|
62
|
+
import { t as Ge } from "./chunks/SearchField";
|
|
63
|
+
import { n as Ke, r as qe, t as Je } from "./chunks/Tag";
|
|
64
|
+
import { t as Ye } from "./chunks/ComboBox";
|
|
65
|
+
import { t as Xe } from "./chunks/ComboBoxPopover";
|
|
66
|
+
import { t as Ze } from "./chunks/ComboBoxTrigger";
|
|
67
|
+
import { Select as Qe } from "./components/Input/Select/Select/index.js";
|
|
68
|
+
import { a as $e, c as et, d as tt, f as nt, i as rt, l as it, n as at, o as ot, p as st, r as ct, s as lt, t as ut, u as dt } from "./chunks/core6";
|
|
69
|
+
import { Menu as ft } from "./components/Menu/Menu/index.js";
|
|
70
|
+
import { MenuItem as pt } from "./components/Menu/MenuItem/index.js";
|
|
71
|
+
import { t as mt } from "./chunks/MenuPopover";
|
|
72
|
+
import { MenuSection as ht } from "./components/Menu/MenuSection/index.js";
|
|
73
|
+
import { MenuSectionHeader as gt } from "./components/Menu/MenuSectionHeader/index.js";
|
|
74
|
+
import { MenuShortcut as _t } from "./components/Menu/MenuShortcut/index.js";
|
|
75
|
+
import { MenuTrailingText as vt } from "./components/Menu/MenuTrailingText/index.js";
|
|
76
|
+
import { MenuTrigger as yt } from "./components/Menu/MenuTrigger/index.js";
|
|
77
|
+
import { t as bt } from "./chunks/SubmenuPopover";
|
|
78
|
+
import { SelectItem as xt } from "./components/Input/Select/SelectItem/index.js";
|
|
79
|
+
import { SelectList as St } from "./components/Input/Select/SelectList/index.js";
|
|
80
|
+
import { SelectListSection as Ct } from "./components/Input/Select/SelectListSection/index.js";
|
|
81
|
+
import { SelectListSectionHeader as wt } from "./components/Input/Select/SelectListSectionHeader/index.js";
|
|
82
|
+
import { t as Tt } from "./chunks/SelectPopover";
|
|
83
|
+
import { t as Et } from "./chunks/SelectTrigger";
|
|
84
|
+
import { a as Dt, c as Ot, i as kt, n as At, o as jt, r as Mt, s as Nt, t as Pt } from "./chunks/core7";
|
|
85
|
+
import { t as Ft } from "./chunks/SliderOutput";
|
|
86
|
+
import { t as It } from "./chunks/CenteredSlider";
|
|
87
|
+
import { RangeSlider as Lt } from "./components/Input/Slider/RangeSlider/index.js";
|
|
88
|
+
import { t as Rt } from "./chunks/Slider";
|
|
89
|
+
import { t as zt } from "./chunks/Switch";
|
|
90
|
+
import { TextArea as Bt } from "./components/Input/TextArea/index.js";
|
|
91
|
+
import { TimeField as Vt } from "./components/Input/TimeField/index.js";
|
|
92
|
+
import { n as Ht, t as Ut } from "./chunks/navContext";
|
|
93
|
+
import { n as Wt, r as Gt, t as Kt } from "./chunks/Navigation";
|
|
94
|
+
import { NavigationButton as qt } from "./components/Navigation/NavigationItem/NavigationButton/index.js";
|
|
95
|
+
import { NavigationLink as Jt } from "./components/Navigation/NavigationItem/NavigationLink/index.js";
|
|
96
|
+
import { t as Yt } from "./chunks/NavigationSection";
|
|
97
|
+
import { t as Xt } from "./chunks/NavigationSectionLabel";
|
|
98
|
+
import { SubNavigation as Zt } from "./components/Navigation/SubNavigation/SubNavigation/index.js";
|
|
99
|
+
import { SubNavigationTrigger as Qt } from "./components/Navigation/SubNavigation/SubNavigationTrigger/index.js";
|
|
100
|
+
import "./components/Navigation/index.js";
|
|
101
|
+
import { n as $t, t as en } from "./chunks/BottomSheetModal";
|
|
102
|
+
import { t as tn } from "./chunks/BottomSheet";
|
|
103
|
+
import { n as nn, t as rn } from "./chunks/SideSheetModal";
|
|
104
|
+
import { n as an, t as on } from "./chunks/SideSheet";
|
|
89
105
|
import "./components/Sheets/index.js";
|
|
90
|
-
import { n as
|
|
91
|
-
import "./
|
|
92
|
-
import { t as
|
|
93
|
-
import { t as
|
|
94
|
-
import { t as
|
|
95
|
-
import { t as
|
|
96
|
-
import { t as Rt } from "./chunks/Tabs";
|
|
106
|
+
import { n as sn, r as cn, t as ln } from "./chunks/Snackbar";
|
|
107
|
+
import { t as un } from "./chunks/Tab";
|
|
108
|
+
import { t as dn } from "./chunks/TabList";
|
|
109
|
+
import { t as fn } from "./chunks/TabPanel";
|
|
110
|
+
import { t as pn } from "./chunks/TabPanels";
|
|
111
|
+
import { t as mn } from "./chunks/Tabs";
|
|
97
112
|
import "./components/Tabs/index.js";
|
|
98
|
-
import { n as
|
|
99
|
-
import * as
|
|
100
|
-
//#region src/utils/
|
|
101
|
-
var
|
|
102
|
-
displayLarge: "typography-display-large-fluid",
|
|
103
|
-
displayMedium: "typography-display-medium-fluid",
|
|
104
|
-
displaySmall: "typography-display-small-fluid",
|
|
105
|
-
headlineLarge: "typography-headline-large-fluid",
|
|
106
|
-
headlineMedium: "typography-headline-medium-fluid",
|
|
107
|
-
headlineSmall: "typography-headline-small-fluid"
|
|
108
|
-
}, Ut = (e, t) => {
|
|
113
|
+
import { n as hn, t as gn } from "./chunks/Toolbar";
|
|
114
|
+
import * as _n from "zod";
|
|
115
|
+
//#region src/utils/form/form.ts
|
|
116
|
+
var vn = (e, t) => {
|
|
109
117
|
let n = Object.fromEntries(new FormData(e)), r = t.safeParse(n);
|
|
110
118
|
return r.success ? {
|
|
111
119
|
success: !0,
|
|
112
120
|
data: r.data
|
|
113
121
|
} : {
|
|
114
122
|
success: !1,
|
|
115
|
-
errors:
|
|
123
|
+
errors: _n.flattenError(r.error).fieldErrors
|
|
116
124
|
};
|
|
125
|
+
}, yn = {
|
|
126
|
+
displayLarge: "typography-display-large-fluid",
|
|
127
|
+
displayMedium: "typography-display-medium-fluid",
|
|
128
|
+
displaySmall: "typography-display-small-fluid",
|
|
129
|
+
headlineLarge: "typography-headline-large-fluid",
|
|
130
|
+
headlineMedium: "typography-headline-medium-fluid",
|
|
131
|
+
headlineSmall: "typography-headline-small-fluid"
|
|
117
132
|
};
|
|
118
133
|
//#endregion
|
|
119
|
-
export {
|
|
134
|
+
export { xe as ActionDialog, Pt as ActiveTrackStyles, g as AppBar, ue as AppBarAction, de as AppBarAvatar, f as AppBarContext, fe as AppBarHeadline, p as AppBarHeadlineBlockSize, m as AppBarHeadlineTypography, e as AppBarState, t as AppBarStateContext, Ke as AvatarSize, tn as BottomSheet, $t as BottomSheetContext, en as BottomSheetModal, q as Button, C as ButtonCore, R as ButtonGroup, P as ButtonGroupContext, T as ButtonIconSizeMapping, x as ButtonLabelTextMapping, w as ButtonReset, O as ButtonSizeBase, pe as Calendar, It as CenteredSlider, Me as Checkbox, Ne as CheckboxGroup, Ye as ComboBox, Xe as ComboBoxPopover, Ze as ComboBoxTrigger, A as ConnectedButton, z as ConnectedButtonGroup, F as ConnectedButtonGroupContext, Le as DateField, He as DatePicker, $ as DateRangePicker, Pe as Description, be as Dialog, he as DialogBodyTypography, ge as DialogContext, _e as DialogHeadlineTypography, ve as DialogIconSize, Ee as Disclosure, De as DisclosureGroup, Oe as DisclosureHeader, ke as DisclosurePanel, we as DisclosureTypographyContext, Ae as Divider, Fe as FieldError, _ as Icon, J as IconButton, j as IconButtonIconSizeMapping, je as Image, At as InactiveTrackStyles, Be as Input, ze as InputButton, Ie as Label, Y as LinkButton, X as LinkIconButton, v as Loader, ft as Menu, lt as MenuBaseLayout, pt as MenuItem, et as MenuItemIconSize, ut as MenuItemLeadingStyles, at as MenuItemStyles, ct as MenuItemTrailingStyles, mt as MenuPopover, ht as MenuSection, gt as MenuSectionHeader, rt as MenuSectionHeaderStyles, $e as MenuSectionStyles, _t as MenuShortcut, ot as MenuStyles, vt as MenuTrailingText, yt as MenuTrigger, Se as Modal, Ce as ModalOverlay, Kt as Navigation, qt as NavigationButton, Ut as NavigationContext, Jt as NavigationLink, Wt as NavigationRenderingContext, Yt as NavigationSection, Xt as NavigationSectionLabel, i as NavigationState, ee as NavigationStateContext, Re as Popover, Ue as Radio, We as RadioGroup, me as RangeCalendar, Lt as RangeSlider, B as RichTooltip, V as RichTooltipActions, H as RichTooltipInfo, U as RichTooltipSubhead, W as RichTooltipText, Ge as SearchField, Qe as Select, xt as SelectItem, St as SelectList, Ct as SelectListSection, wt as SelectListSectionHeader, Tt as SelectPopover, Et as SelectTrigger, on as SideSheet, nn as SideSheetContext, an as SideSheetDialog, rn as SideSheetModal, Rt as Slider, Ot as SliderColors, Ft as SliderOutput, kt as SliderSizeStyles, Dt as SliderStyles, sn as SnackbarQueueContext, ln as SnackbarRegion, y as Splash, ae as SplitButton, oe as SplitButtonPrimary, ie as SplitButtonPrimaryBase, se as SplitButtonTrigger, ne as SplitButtonTriggerBase, re as SplitButtonTriggerIconSize, Q as SplitButtonVariantBase, Zt as SubNavigation, Qt as SubNavigationTrigger, bt as SubmenuPopover, zt as Switch, un as Tab, dn as TabList, fn as TabPanel, pn as TabPanels, mn as Tabs, Je as Tag, qe as TagIconSize, o as TapTarget, a as TapTargetBefore, Bt as TextArea, c as ThemeProvider, u as ThemeSelector, Vt as TimeField, ce as ToggleButton, le as ToggleIconButton, hn as Toolbar, gn as ToolbarToggleButtonGroup, G as Tooltip, K as TooltipTrigger, jt as TrackContainerStyles, Nt as TrackStyles, Mt as VisualTrackStyles, s as buildThemeString, E as buttonColorBase, N as buttonColorConfig, S as buttonSizeConfig, yn as fluidTypography, r as getScrollProgress, n as getScrollTopFromProgress, dt as menuBaseColor, tt as menuColorConfig, nt as menuItemBaseColor, st as menuItemLabelColor, it as menuLayoutConfig, k as newButtonBaseDataAttrs, Z as splitButtonSizeConfig, d as typography, h as useAppBarContext, D as useButtonConfig, I as useButtonGroupContext, L as useConnectedButtonGroupContext, Ve as useControllableState, Te as useDisclosureTypographyContext, ye as useInDialog, Gt as useNavigationContainer, Ht as useNavigationContext, te as useNavigationState, cn as useSnackbarQueue, b as useSplash, l as useTheme, vn as validateAndGetFormValues, M as withTooltip };
|
|
120
135
|
|
|
121
136
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/utils/
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/utils/form/form.ts","../src/utils/typography/fluid.ts"],"sourcesContent":["import * as z from \"zod\";\n\ninterface FormValidateSuccessResult<T> {\n success: true;\n data: T;\n}\n\ninterface FormValidateFailureResult<T> {\n success: false;\n errors: Partial<Record<keyof T, string | string[]>>;\n}\n\ntype FormValidateResult<T> =\n | FormValidateSuccessResult<T>\n | FormValidateFailureResult<T>;\n\nexport type ValidateAndGetFormValues = <T extends z.ZodTypeAny>(\n formElement: HTMLFormElement,\n schema: T\n) => FormValidateResult<z.infer<T>>;\n\nexport const validateAndGetFormValues: ValidateAndGetFormValues = (\n formElement,\n schema\n) => {\n const valueObject = Object.fromEntries(new FormData(formElement));\n const result = schema.safeParse(valueObject);\n if (result.success) {\n return {\n success: true,\n data: result.data,\n };\n }\n\n return {\n success: false,\n errors: z.flattenError(result.error).fieldErrors,\n };\n};\n","export const fluidTypography = {\n displayLarge: \"typography-display-large-fluid\",\n displayMedium: \"typography-display-medium-fluid\",\n displaySmall: \"typography-display-small-fluid\",\n\n headlineLarge: \"typography-headline-large-fluid\",\n headlineMedium: \"typography-headline-medium-fluid\",\n headlineSmall: \"typography-headline-small-fluid\",\n} as const;\n\nexport type FluidTypographyVariant =\n (typeof fluidTypography)[keyof typeof fluidTypography];\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,IAAa,MACT,GACA,MACC;CACD,IAAM,IAAc,OAAO,YAAY,IAAI,SAAS,CAAW,CAAC,GAC1D,IAAS,EAAO,UAAU,CAAW;CAQ3C,OAPI,EAAO,UACA;EACH,SAAS;EACT,MAAM,EAAO;CACjB,IAGG;EACH,SAAS;EACT,QAAQ,GAAE,aAAa,EAAO,KAAK,EAAE;CACzC;AACJ,GCtCa,KAAkB;CAC3B,cAAc;CACd,eAAe;CACf,cAAc;CAEd,eAAe;CACf,gBAAgB;CAChB,eAAe;AACnB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { AppBarAlignment, AppBarSize } from '../core';
|
|
3
|
+
export interface AppBarProps extends Omit<React.ComponentPropsWithRef<"header">, "children"> {
|
|
4
|
+
size?: AppBarSize;
|
|
5
|
+
alignment?: AppBarAlignment;
|
|
6
|
+
leadingAction?: ReactElement;
|
|
7
|
+
trailingActions?: ReactElement[];
|
|
8
|
+
headline?: ReactElement;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AppBarAction';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AppBarAvatar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AppBarHeadline';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AppBarAlignment = "default" | "centered";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AppBarAlignment } from './alignment';
|
|
2
|
+
import { AppBarSize } from './size';
|
|
3
|
+
export type AppBarContextType = {
|
|
4
|
+
size: AppBarSize;
|
|
5
|
+
alignment: AppBarAlignment;
|
|
6
|
+
headlineBlockSize: number;
|
|
7
|
+
headlineTypography: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const AppBarContext: import('react').Context<AppBarContextType | null>;
|
|
10
|
+
export declare function useAppBarContext(): AppBarContextType;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { LucideIcon } from 'lucide-react';
|
|
1
2
|
import { Switch } from 'react-aria-components';
|
|
2
3
|
export interface SwitchProps extends React.ComponentPropsWithRef<typeof Switch> {
|
|
3
4
|
icon?: "none" | "selected" | "both";
|
|
4
5
|
labelPlacement?: "start" | "end";
|
|
5
6
|
containerStateLayer?: boolean;
|
|
7
|
+
unselectedIcon?: LucideIcon;
|
|
8
|
+
selectedIcon?: LucideIcon;
|
|
6
9
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IsButtonActive, IsLinkActive } from './types';
|
|
2
|
+
export type NavigationContextType = {
|
|
3
|
+
isLinkActive?: IsLinkActive;
|
|
4
|
+
isButtonActive?: IsButtonActive;
|
|
5
|
+
};
|
|
6
|
+
export declare const NavigationContext: import('react').Context<NavigationContextType | null>;
|
|
7
|
+
export declare function useNavigationContext(): NavigationContextType;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type NavigationRenderingContextType = {
|
|
2
|
+
container: HTMLDivElement | null;
|
|
3
|
+
};
|
|
4
|
+
export declare const NavigationRenderingContext: import('react').Context<NavigationRenderingContextType | null>;
|
|
5
|
+
export declare function useNavigationContainer(): NavigationRenderingContextType;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type IsLinkActive = (href?: string) => boolean;
|
|
3
|
+
export type IsButtonActive = (prefix?: string) => boolean;
|
|
4
|
+
export interface NavigationProps extends React.ComponentPropsWithRef<"nav"> {
|
|
5
|
+
label?: ReactNode;
|
|
6
|
+
isLinkActive?: IsLinkActive;
|
|
7
|
+
isButtonActive?: IsButtonActive;
|
|
8
|
+
stateID?: string;
|
|
9
|
+
containerClassName?: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { Button } from 'react-aria-components';
|
|
3
|
+
import { NavigationItemProps } from '../core';
|
|
4
|
+
export interface NavigationButtonProps extends Omit<React.ComponentPropsWithRef<typeof Button>, "children" | "slot">, Omit<NavigationItemProps, "label"> {
|
|
5
|
+
prefix?: string;
|
|
6
|
+
label?: ReactNode;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './NavigationItemIconRenderer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './navigationItem';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LucideIcon } from 'lucide-react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
export interface NavigationItemProps {
|
|
4
|
+
label: ReactNode;
|
|
5
|
+
icon?: LucideIcon;
|
|
6
|
+
activeIcon?: LucideIcon;
|
|
7
|
+
isActive?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const NavigationItemLabelTypography: "typography-title-small";
|
|
10
|
+
export declare const NavigationItemStyles: string;
|
package/dist/src/components/Navigation/NavigationScrollContainer/NavigationScrollContainer.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NavigationScrollContainer: React.FC<React.ComponentPropsWithRef<"div">>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './NavigationScrollContainer';
|
package/dist/src/components/Navigation/NavigationSection/NavigationSection/NavigationSection.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NavigationSection: React.FC<React.ComponentPropsWithRef<"section">>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './NavigationSection';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './NavigationSectionLabel';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type NavigationStateContextType = {
|
|
2
|
+
openSubNavigation: (id: string, depth: number) => void;
|
|
3
|
+
closeSubNavigation: (id: string) => void;
|
|
4
|
+
saveNavigationScrollTopProgress: (id: string, progress: number) => void;
|
|
5
|
+
registerNavigationContainer: (id: string, container: HTMLDivElement) => () => void;
|
|
6
|
+
isSubNavigationOpen: (id: string) => boolean;
|
|
7
|
+
isInert: (depth: number) => boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const NavigationStateContext: import('react').Context<NavigationStateContextType | null>;
|
|
10
|
+
export declare function useNavigationState(): NavigationStateContextType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SubNavigation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SubNavigationTrigger';
|