@pingux/astro 1.25.1-alpha.7 → 1.25.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/CHANGELOG.md +16 -0
- package/NOTICE.html +5016 -0
- package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.test.js +19 -0
- package/lib/cjs/components/AccordionGridItem/AccordionGridItemBody.js +0 -1
- package/lib/cjs/components/PasswordField/PasswordField.js +55 -52
- package/lib/cjs/recipes/ListAndPanel.stories.js +36 -13
- package/lib/components/AccordionGridGroup/AccordionGridGroup.test.js +11 -0
- package/lib/components/AccordionGridItem/AccordionGridItemBody.js +0 -1
- package/lib/components/PasswordField/PasswordField.js +53 -49
- package/lib/recipes/ListAndPanel.stories.js +36 -14
- package/package.json +1 -1
@@ -3,10 +3,11 @@ import _slicedToArray from "@babel/runtime-corejs3/helpers/esm/slicedToArray";
|
|
3
3
|
import React, { useRef, useState } from 'react';
|
4
4
|
import { FocusScope } from '@react-aria/focus';
|
5
5
|
import { Item } from '@react-stately/collections';
|
6
|
+
import AccountIcon from 'mdi-react/AccountIcon';
|
6
7
|
import CloseIcon from 'mdi-react/CloseIcon';
|
7
8
|
import MoreVertIcon from 'mdi-react/MoreVertIcon';
|
8
9
|
import PencilIcon from 'mdi-react/PencilIcon';
|
9
|
-
import { Avatar, Box, IconButton, ListView, Menu, OverlayPanel, PopoverMenu, SearchField, Separator, SwitchField, Tab, Tabs, Text } from '../index';
|
10
|
+
import { Avatar, Box, Icon, IconButton, ListView, Menu, OverlayPanel, PopoverMenu, SearchField, Separator, SwitchField, Tab, Tabs, Text } from '../index';
|
10
11
|
import { useOverlayPanelState } from '../hooks';
|
11
12
|
import { pingImg } from '../utils/devUtils/constants/images';
|
12
13
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
@@ -17,7 +18,8 @@ var items = [{
|
|
17
18
|
email: 'dburkitt5@columbia.edu',
|
18
19
|
firstName: 'Nicola',
|
19
20
|
lastName: 'Burkitt',
|
20
|
-
|
21
|
+
hasIcon: true,
|
22
|
+
avatar: AccountIcon
|
21
23
|
}, {
|
22
24
|
email: 'idixie2@elegantthemes.com',
|
23
25
|
firstName: 'Cacilia',
|
@@ -32,52 +34,62 @@ var items = [{
|
|
32
34
|
email: 'jgolde8@jimdo.com',
|
33
35
|
firstName: 'Celisse',
|
34
36
|
lastName: 'Golde',
|
35
|
-
|
37
|
+
hasIcon: true,
|
38
|
+
avatar: AccountIcon
|
36
39
|
}, {
|
37
40
|
email: 'shearst9@answers.com',
|
38
41
|
firstName: 'Jeth',
|
39
42
|
lastName: 'Hearst',
|
40
|
-
|
43
|
+
hasIcon: true,
|
44
|
+
avatar: AccountIcon
|
41
45
|
}, {
|
42
46
|
email: 'ajinaa@mapquest.com',
|
43
47
|
firstName: 'Kaycee',
|
44
48
|
lastName: 'Jina',
|
45
|
-
|
49
|
+
hasIcon: true,
|
50
|
+
avatar: AccountIcon
|
46
51
|
}, {
|
47
52
|
email: 'vmalster4@biblegateway.com',
|
48
53
|
firstName: 'Lorry',
|
49
54
|
lastName: 'Malster',
|
50
|
-
|
55
|
+
hasIcon: true,
|
56
|
+
avatar: AccountIcon
|
51
57
|
}, {
|
52
58
|
email: 'yphipp6@yellowpages.com',
|
53
59
|
firstName: 'Stanley',
|
54
60
|
lastName: 'Phipp',
|
55
|
-
|
61
|
+
hasIcon: true,
|
62
|
+
avatar: AccountIcon
|
56
63
|
}, {
|
57
64
|
email: 'mskilbeck3@bbc.co.uk',
|
58
65
|
firstName: 'Gradey',
|
59
66
|
lastName: 'Skilbeck',
|
60
|
-
|
67
|
+
hasIcon: true,
|
68
|
+
avatar: AccountIcon
|
61
69
|
}, {
|
62
70
|
email: 'dstebbing1@msu.edu',
|
63
71
|
firstName: 'Marnia',
|
64
72
|
lastName: 'Stebbing',
|
65
|
-
|
73
|
+
hasIcon: true,
|
74
|
+
avatar: AccountIcon
|
66
75
|
}, {
|
67
76
|
email: 'lsterley7@lulu.com',
|
68
77
|
firstName: 'Joshua',
|
69
78
|
lastName: 'Sterley',
|
70
|
-
|
79
|
+
hasIcon: true,
|
80
|
+
avatar: AccountIcon
|
71
81
|
}, {
|
72
82
|
email: 'luttleyb@hugedomains.com',
|
73
83
|
firstName: 'Jarrod',
|
74
84
|
lastName: 'Uttley',
|
75
|
-
|
85
|
+
hasIcon: true,
|
86
|
+
avatar: AccountIcon
|
76
87
|
}, {
|
77
88
|
email: 'lidelc@yelp.com',
|
78
89
|
firstName: 'Andromache',
|
79
90
|
lastName: 'Idel',
|
80
|
-
|
91
|
+
hasIcon: true,
|
92
|
+
avatar: AccountIcon,
|
81
93
|
hasSeparator: false
|
82
94
|
}];
|
83
95
|
|
@@ -91,7 +103,13 @@ var ListElement = function ListElement(_ref) {
|
|
91
103
|
isRow: true,
|
92
104
|
mr: "auto",
|
93
105
|
alignItems: "center"
|
94
|
-
}, ___EmotionJSX(
|
106
|
+
}, item.hasIcon ? ___EmotionJSX(Icon, {
|
107
|
+
icon: item.avatar,
|
108
|
+
alignSelf: "center",
|
109
|
+
size: 24,
|
110
|
+
mr: "sm",
|
111
|
+
color: "accent.40"
|
112
|
+
}) : ___EmotionJSX(Avatar, {
|
95
113
|
mr: "md",
|
96
114
|
sx: {
|
97
115
|
width: '25px',
|
@@ -170,8 +188,11 @@ export var Default = function Default() {
|
|
170
188
|
return ___EmotionJSX(Box, {
|
171
189
|
px: "lg",
|
172
190
|
py: "lg",
|
173
|
-
bg: "accent.99"
|
191
|
+
bg: "accent.99",
|
192
|
+
height: "900px",
|
193
|
+
overflowY: "scroll"
|
174
194
|
}, ___EmotionJSX(SearchField, {
|
195
|
+
position: "fixed",
|
175
196
|
mb: "sm",
|
176
197
|
width: "400px",
|
177
198
|
placeholder: "Search",
|
@@ -227,6 +248,7 @@ export var Default = function Default() {
|
|
227
248
|
}, ___EmotionJSX(Tab, {
|
228
249
|
title: "Profile"
|
229
250
|
}, selectedItemId >= 0 && ___EmotionJSX(React.Fragment, null, ___EmotionJSX(IconButton, {
|
251
|
+
variant: "inverted",
|
230
252
|
sx: {
|
231
253
|
position: 'absolute',
|
232
254
|
top: 0,
|