@ecohouse/ui 0.1.38 → 0.1.40
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/index.cjs +639 -338
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -73
- package/dist/index.d.ts +8 -73
- package/dist/index.js +567 -262
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
- package/src/components/DatePicker/DatePicker.tsx +2 -1
- package/src/components/Drawer/Drawer.stories.tsx +79 -0
- package/src/components/Drawer/Drawer.tsx +392 -0
- package/src/components/Drawer/index.ts +2 -0
- package/src/components/StatusBadge/StatusBadge.tsx +1 -1
- package/src/components/index.ts +3 -0
- package/src/icons/CalendarMinus/CalendarMinusIcon.tsx +25 -0
- package/src/icons/CalendarMinus/CalendarMinusIcon.web.tsx +31 -0
- package/src/icons/CalendarMinus/calendarMinusPath.ts +3 -0
- package/src/icons/CalendarMinus/index.ts +1 -0
- package/src/icons/index.ts +1 -2
- package/src/icons/registry.ts +3 -6
- package/src/index.ts +1 -9
- package/src/theme/colors.ts +1 -0
- package/src/web/styles/account-header.css +22 -0
package/src/index.ts
CHANGED
|
@@ -9,10 +9,8 @@ export {
|
|
|
9
9
|
InfoTile,
|
|
10
10
|
ContactInfoCard,
|
|
11
11
|
AccordionItem,
|
|
12
|
-
Accordion,
|
|
13
12
|
StepList,
|
|
14
13
|
Counter,
|
|
15
|
-
QuantityInput,
|
|
16
14
|
SegmentedToggle,
|
|
17
15
|
Sidebar,
|
|
18
16
|
LanguageSwitcher,
|
|
@@ -24,7 +22,6 @@ export {
|
|
|
24
22
|
FloatingActionButton,
|
|
25
23
|
Modal,
|
|
26
24
|
Input,
|
|
27
|
-
AutocompleteInput,
|
|
28
25
|
VerificationCodeInput,
|
|
29
26
|
Select,
|
|
30
27
|
Textarea,
|
|
@@ -48,10 +45,8 @@ export type {
|
|
|
48
45
|
InfoTileProps,
|
|
49
46
|
ContactInfoCardProps,
|
|
50
47
|
AccordionItemProps,
|
|
51
|
-
AccordionProps,
|
|
52
48
|
StepListProps,
|
|
53
49
|
CounterProps,
|
|
54
|
-
QuantityInputProps,
|
|
55
50
|
SegmentedToggleOption,
|
|
56
51
|
SegmentedToggleProps,
|
|
57
52
|
SidebarProps,
|
|
@@ -76,8 +71,6 @@ export type {
|
|
|
76
71
|
InputIcon,
|
|
77
72
|
InputProps,
|
|
78
73
|
InputSize,
|
|
79
|
-
AutocompleteInputProps,
|
|
80
|
-
AutocompleteOption,
|
|
81
74
|
VerificationCodeInputHandle,
|
|
82
75
|
VerificationCodeInputProps,
|
|
83
76
|
SelectIcon,
|
|
@@ -126,13 +119,13 @@ export {
|
|
|
126
119
|
iconGroups,
|
|
127
120
|
iconGroupNames,
|
|
128
121
|
getIconsByGroup,
|
|
129
|
-
ArrowLeftIcon,
|
|
130
122
|
ArrowRightIcon,
|
|
131
123
|
BagIcon,
|
|
132
124
|
BanIcon,
|
|
133
125
|
BellIcon,
|
|
134
126
|
BuildingIcon,
|
|
135
127
|
CalendarIcon,
|
|
128
|
+
CalendarMinusIcon,
|
|
136
129
|
CalendarOutlineIcon,
|
|
137
130
|
CameraIcon,
|
|
138
131
|
CameraFilledIcon,
|
|
@@ -142,7 +135,6 @@ export {
|
|
|
142
135
|
ChevronLeftIcon,
|
|
143
136
|
ClockIcon,
|
|
144
137
|
CloseIcon,
|
|
145
|
-
CurrentLocationIcon,
|
|
146
138
|
EditIcon,
|
|
147
139
|
BathroomsIcon,
|
|
148
140
|
BedroomsIcon,
|
package/src/theme/colors.ts
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AccountHeader (web) — keep the menu control mounted to avoid a mobile refresh flash,
|
|
3
|
+
* but hide it on desktop (≥1024px) where the persistent sidebar is shown.
|
|
4
|
+
*
|
|
5
|
+
* Requires `menuClassName="account-header-menu"` (or rely on `#account-header-menu`).
|
|
6
|
+
*/
|
|
7
|
+
@media (min-width: 1024px) {
|
|
8
|
+
#account-header-menu,
|
|
9
|
+
.account-header-menu {
|
|
10
|
+
display: none !important;
|
|
11
|
+
width: 0 !important;
|
|
12
|
+
height: 0 !important;
|
|
13
|
+
min-width: 0 !important;
|
|
14
|
+
min-height: 0 !important;
|
|
15
|
+
margin: 0 !important;
|
|
16
|
+
padding: 0 !important;
|
|
17
|
+
overflow: hidden !important;
|
|
18
|
+
opacity: 0 !important;
|
|
19
|
+
pointer-events: none !important;
|
|
20
|
+
position: absolute !important;
|
|
21
|
+
}
|
|
22
|
+
}
|