@elliemae/ds-app-picker 2.2.0-alpha.1 → 2.2.0-alpha.2
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/cjs/AppPickerImpl.js +113 -143
- package/cjs/AppPickerImpl.js.map +7 -0
- package/cjs/DSAppPicker.js +104 -101
- package/cjs/DSAppPicker.js.map +7 -0
- package/cjs/index.js +36 -11
- package/cjs/index.js.map +7 -0
- package/cjs/propTypes.js +48 -23
- package/cjs/propTypes.js.map +7 -0
- package/cjs/styles.js +184 -158
- package/cjs/styles.js.map +7 -0
- package/cjs/types/AppPickerTypes.js +27 -2
- package/cjs/types/AppPickerTypes.js.map +7 -0
- package/cjs/utils.js +44 -16
- package/cjs/utils.js.map +7 -0
- package/esm/AppPickerImpl.js +85 -128
- package/esm/AppPickerImpl.js.map +7 -0
- package/esm/DSAppPicker.js +67 -81
- package/esm/DSAppPicker.js.map +7 -0
- package/esm/index.js +7 -1
- package/esm/index.js.map +7 -0
- package/esm/propTypes.js +19 -19
- package/esm/propTypes.js.map +7 -0
- package/esm/styles.js +159 -148
- package/esm/styles.js.map +7 -0
- package/esm/types/AppPickerTypes.js +2 -1
- package/esm/types/AppPickerTypes.js.map +7 -0
- package/esm/utils.js +15 -12
- package/esm/utils.js.map +7 -0
- package/package.json +6 -6
package/esm/styles.js
CHANGED
|
@@ -1,150 +1,161 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { styled, css } from
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { styled, css } from "@elliemae/ds-system";
|
|
3
|
+
const StyledTitle = styled("h3", { name: "DS-AppPicker", slot: "title" })`
|
|
4
|
+
color: ${({ theme }) => theme.colors.neutral[700]};
|
|
5
|
+
font-size: ${({ theme }) => theme.fontSizes.value[400]};
|
|
6
|
+
font-weight: ${({ theme }) => theme.fontWeights.semibold};
|
|
7
|
+
margin: 12px 0 0 0;
|
|
8
|
+
line-height: 1.38;
|
|
9
|
+
text-transform: uppercase;
|
|
10
|
+
`;
|
|
11
|
+
const StyledWrapper = styled("ul", { name: "DS-AppPicker", slot: "root" })`
|
|
12
|
+
align-items: center;
|
|
13
|
+
min-width: 308px;
|
|
14
|
+
min-height: 110px;
|
|
15
|
+
max-height: 449px;
|
|
16
|
+
width: 308px;
|
|
17
|
+
overflow-y: auto;
|
|
18
|
+
overflow-x: hidden;
|
|
19
|
+
margin: 0;
|
|
20
|
+
padding: ${({ isOverflow }) => isOverflow ? "0 0 0 16px" : "0 16px"};
|
|
21
|
+
&:focus {
|
|
22
|
+
outline: none;
|
|
23
|
+
}
|
|
24
|
+
`;
|
|
25
|
+
const StyledGrid = styled("div", { name: "DS-AppPicker", slot: "grid" })`
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
align-items: center;
|
|
30
|
+
width: 100%;
|
|
31
|
+
margin: 8px 0;
|
|
32
|
+
`;
|
|
33
|
+
const StyledRow = styled("div", { name: "DS-AppPicker", slot: "row" })`
|
|
34
|
+
display: flex;
|
|
35
|
+
width: 100%;
|
|
36
|
+
`;
|
|
37
|
+
const StyledChipLabel = styled("p", { name: "DS-AppPicker", slot: "chipLabel" })`
|
|
38
|
+
font-size: ${({ theme }) => theme.fontSizes.label[200]};
|
|
39
|
+
font-weight: ${({ theme }) => theme.fontWeights.semibold};
|
|
40
|
+
word-wrap: break-word;
|
|
41
|
+
margin: 0 6px;
|
|
42
|
+
line-height: 1.45;
|
|
43
|
+
width: 100%;
|
|
44
|
+
z-index: 120;
|
|
3
45
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} = _ref;
|
|
12
|
-
return theme.colors.neutral[700];
|
|
13
|
-
}, _ref2 => {
|
|
14
|
-
let {
|
|
15
|
-
theme
|
|
16
|
-
} = _ref2;
|
|
17
|
-
return theme.fontSizes.value[400];
|
|
18
|
-
}, _ref3 => {
|
|
19
|
-
let {
|
|
20
|
-
theme
|
|
21
|
-
} = _ref3;
|
|
22
|
-
return theme.fontWeights.semibold;
|
|
23
|
-
});
|
|
24
|
-
const StyledWrapper = styled('ul', {
|
|
25
|
-
name: 'DS-AppPicker',
|
|
26
|
-
slot: 'root'
|
|
27
|
-
})(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n align-items: center;\n min-width: 308px;\n min-height: 110px;\n max-height: 449px;\n width: 308px;\n overflow-y: auto;\n overflow-x: hidden;\n margin: 0;\n padding: ", ";\n &:focus {\n outline: none;\n }\n"])), _ref4 => {
|
|
28
|
-
let {
|
|
29
|
-
isOverflow
|
|
30
|
-
} = _ref4;
|
|
31
|
-
return isOverflow ? '0 0 0 16px' : '0 16px';
|
|
32
|
-
});
|
|
33
|
-
const StyledGrid = styled('div', {
|
|
34
|
-
name: 'DS-AppPicker',
|
|
35
|
-
slot: 'grid'
|
|
36
|
-
})(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n margin: 8px 0;\n"])));
|
|
37
|
-
const StyledRow = styled('div', {
|
|
38
|
-
name: 'DS-AppPicker',
|
|
39
|
-
slot: 'row'
|
|
40
|
-
})(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: flex;\n width: 100%;\n"])));
|
|
41
|
-
const StyledChipLabel = styled('p', {
|
|
42
|
-
name: 'DS-AppPicker',
|
|
43
|
-
slot: 'chipLabel'
|
|
44
|
-
})(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: ", ";\n word-wrap: break-word;\n margin: 0 6px;\n line-height: 1.45;\n width: 100%;\n z-index: 120;\n\n & span {\n padding-top: 6px;\n }\n"])), _ref5 => {
|
|
45
|
-
let {
|
|
46
|
-
theme
|
|
47
|
-
} = _ref5;
|
|
48
|
-
return theme.fontSizes.label[200];
|
|
49
|
-
}, _ref6 => {
|
|
50
|
-
let {
|
|
51
|
-
theme
|
|
52
|
-
} = _ref6;
|
|
53
|
-
return theme.fontWeights.semibold;
|
|
54
|
-
});
|
|
55
|
-
const styledChipSelectedCss = css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n color: ", ";\n background-color: ", ";\n\n .app-picker__icon {\n fill: ", ";\n }\n\n &:before {\n border: 1px solid ", ";\n }\n\n &:focus {\n &:before {\n border: 2px solid ", ";\n }\n }\n"])), _ref7 => {
|
|
56
|
-
let {
|
|
57
|
-
theme
|
|
58
|
-
} = _ref7;
|
|
59
|
-
return theme.colors.brand[800];
|
|
60
|
-
}, _ref8 => {
|
|
61
|
-
let {
|
|
62
|
-
theme
|
|
63
|
-
} = _ref8;
|
|
64
|
-
return theme.colors.brand[200];
|
|
65
|
-
}, _ref9 => {
|
|
66
|
-
let {
|
|
67
|
-
theme
|
|
68
|
-
} = _ref9;
|
|
69
|
-
return theme.colors.brand[800];
|
|
70
|
-
}, _ref10 => {
|
|
71
|
-
let {
|
|
72
|
-
theme
|
|
73
|
-
} = _ref10;
|
|
74
|
-
return theme.colors.brand[600];
|
|
75
|
-
}, _ref11 => {
|
|
76
|
-
let {
|
|
77
|
-
theme
|
|
78
|
-
} = _ref11;
|
|
79
|
-
return theme.colors.brand[800];
|
|
80
|
-
});
|
|
81
|
-
const StyledChip = styled('button', {
|
|
82
|
-
name: 'DS-AppPicker',
|
|
83
|
-
slot: 'chip'
|
|
84
|
-
})(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n border: none;\n height: 68px;\n width: 92px;\n background-color: #fff;\n color: ", ";\n cursor: pointer;\n outline: none;\n\n &:before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 2px;\n border: 2px solid transparent;\n }\n\n & .app-picker__icon {\n fill: ", ";\n height: 28px;\n width: 28px;\n }\n\n & .app-picker__icon svg {\n height: 28px;\n width: 28px;\n }\n\n &:hover {\n color: ", ";\n background-color: ", ";\n .app-picker__icon {\n fill: ", ";\n }\n }\n\n &:focus {\n &:before {\n border-color: ", ";\n }\n }\n\n &:disabled {\n color: ", ";\n cursor: not-allowed;\n\n .app-picker__icon {\n fill: ", ";\n }\n\n &:focus,\n &:hover {\n background-color: #fff;\n cursor: not-allowed;\n &:before {\n border-color: transparent;\n }\n\n ", " {\n color: ", ";\n }\n }\n\n &:hover .app-picker__icon {\n fill: ", ";\n }\n }\n\n ", "\n"])), _ref12 => {
|
|
85
|
-
let {
|
|
86
|
-
theme
|
|
87
|
-
} = _ref12;
|
|
88
|
-
return theme.colors.brand[600];
|
|
89
|
-
}, _ref13 => {
|
|
90
|
-
let {
|
|
91
|
-
theme
|
|
92
|
-
} = _ref13;
|
|
93
|
-
return theme.colors.brand[600];
|
|
94
|
-
}, _ref14 => {
|
|
95
|
-
let {
|
|
96
|
-
theme
|
|
97
|
-
} = _ref14;
|
|
98
|
-
return theme.colors.brand[800];
|
|
99
|
-
}, _ref15 => {
|
|
100
|
-
let {
|
|
101
|
-
theme
|
|
102
|
-
} = _ref15;
|
|
103
|
-
return theme.colors.brand[200];
|
|
104
|
-
}, _ref16 => {
|
|
105
|
-
let {
|
|
106
|
-
theme
|
|
107
|
-
} = _ref16;
|
|
108
|
-
return theme.colors.brand[800];
|
|
109
|
-
}, _ref17 => {
|
|
110
|
-
let {
|
|
111
|
-
theme
|
|
112
|
-
} = _ref17;
|
|
113
|
-
return theme.colors.brand[800];
|
|
114
|
-
}, _ref18 => {
|
|
115
|
-
let {
|
|
116
|
-
theme
|
|
117
|
-
} = _ref18;
|
|
118
|
-
return theme.colors.neutral[500];
|
|
119
|
-
}, _ref19 => {
|
|
120
|
-
let {
|
|
121
|
-
theme
|
|
122
|
-
} = _ref19;
|
|
123
|
-
return theme.colors.neutral[500];
|
|
124
|
-
}, StyledChipLabel, _ref20 => {
|
|
125
|
-
let {
|
|
126
|
-
theme
|
|
127
|
-
} = _ref20;
|
|
128
|
-
return theme.colors.neutral[500];
|
|
129
|
-
}, _ref21 => {
|
|
130
|
-
let {
|
|
131
|
-
theme
|
|
132
|
-
} = _ref21;
|
|
133
|
-
return theme.colors.neutral[500];
|
|
134
|
-
}, _ref22 => {
|
|
135
|
-
let {
|
|
136
|
-
selected
|
|
137
|
-
} = _ref22;
|
|
138
|
-
return !selected ? '' : styledChipSelectedCss;
|
|
139
|
-
});
|
|
140
|
-
const StyledSeparator = styled('hr', {
|
|
141
|
-
name: 'DS-AppPicker',
|
|
142
|
-
slot: 'separator'
|
|
143
|
-
})(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n border-top: 1px solid ", ";\n border-bottom: none;\n width: 99%;\n margin: 0;\n"])), _ref23 => {
|
|
144
|
-
let {
|
|
145
|
-
theme
|
|
146
|
-
} = _ref23;
|
|
147
|
-
return theme.colors.neutral[100];
|
|
148
|
-
});
|
|
46
|
+
& span {
|
|
47
|
+
padding-top: 6px;
|
|
48
|
+
}
|
|
49
|
+
`;
|
|
50
|
+
const styledChipSelectedCss = css`
|
|
51
|
+
color: ${({ theme }) => theme.colors.brand[800]};
|
|
52
|
+
background-color: ${({ theme }) => theme.colors.brand[200]};
|
|
149
53
|
|
|
150
|
-
|
|
54
|
+
.app-picker__icon {
|
|
55
|
+
fill: ${({ theme }) => theme.colors.brand[800]};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:before {
|
|
59
|
+
border: 1px solid ${({ theme }) => theme.colors.brand[600]};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&:focus {
|
|
63
|
+
&:before {
|
|
64
|
+
border: 2px solid ${({ theme }) => theme.colors.brand[800]};
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
`;
|
|
68
|
+
const StyledChip = styled("button", { name: "DS-AppPicker", slot: "chip" })`
|
|
69
|
+
position: relative;
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
align-items: center;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
border: none;
|
|
75
|
+
height: 68px;
|
|
76
|
+
width: 92px;
|
|
77
|
+
background-color: #fff;
|
|
78
|
+
color: ${({ theme }) => theme.colors.brand[600]};
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
outline: none;
|
|
81
|
+
|
|
82
|
+
&:before {
|
|
83
|
+
content: '';
|
|
84
|
+
position: absolute;
|
|
85
|
+
top: 0;
|
|
86
|
+
left: 0;
|
|
87
|
+
width: 100%;
|
|
88
|
+
height: 100%;
|
|
89
|
+
border-radius: 2px;
|
|
90
|
+
border: 2px solid transparent;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
& .app-picker__icon {
|
|
94
|
+
fill: ${({ theme }) => theme.colors.brand[600]};
|
|
95
|
+
height: 28px;
|
|
96
|
+
width: 28px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
& .app-picker__icon svg {
|
|
100
|
+
height: 28px;
|
|
101
|
+
width: 28px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&:hover {
|
|
105
|
+
color: ${({ theme }) => theme.colors.brand[800]};
|
|
106
|
+
background-color: ${({ theme }) => theme.colors.brand[200]};
|
|
107
|
+
.app-picker__icon {
|
|
108
|
+
fill: ${({ theme }) => theme.colors.brand[800]};
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&:focus {
|
|
113
|
+
&:before {
|
|
114
|
+
border-color: ${({ theme }) => theme.colors.brand[800]};
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&:disabled {
|
|
119
|
+
color: ${({ theme }) => theme.colors.neutral[500]};
|
|
120
|
+
cursor: not-allowed;
|
|
121
|
+
|
|
122
|
+
.app-picker__icon {
|
|
123
|
+
fill: ${({ theme }) => theme.colors.neutral[500]};
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&:focus,
|
|
127
|
+
&:hover {
|
|
128
|
+
background-color: #fff;
|
|
129
|
+
cursor: not-allowed;
|
|
130
|
+
&:before {
|
|
131
|
+
border-color: transparent;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
${StyledChipLabel} {
|
|
135
|
+
color: ${({ theme }) => theme.colors.neutral[500]};
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&:hover .app-picker__icon {
|
|
140
|
+
fill: ${({ theme }) => theme.colors.neutral[500]};
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
${({ selected }) => !selected ? "" : styledChipSelectedCss}
|
|
145
|
+
`;
|
|
146
|
+
const StyledSeparator = styled("hr", { name: "DS-AppPicker", slot: "separator" })`
|
|
147
|
+
border-top: 1px solid ${({ theme }) => theme.colors.neutral[100]};
|
|
148
|
+
border-bottom: none;
|
|
149
|
+
width: 99%;
|
|
150
|
+
margin: 0;
|
|
151
|
+
`;
|
|
152
|
+
export {
|
|
153
|
+
StyledChip,
|
|
154
|
+
StyledChipLabel,
|
|
155
|
+
StyledGrid,
|
|
156
|
+
StyledRow,
|
|
157
|
+
StyledSeparator,
|
|
158
|
+
StyledTitle,
|
|
159
|
+
StyledWrapper
|
|
160
|
+
};
|
|
161
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/styles.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-unsafe-assignment */\n/* eslint-disable max-lines */\nimport { styled, css } from '@elliemae/ds-system';\n\nexport const StyledTitle = styled('h3', { name: 'DS-AppPicker', slot: 'title' })`\n color: ${({ theme }) => theme.colors.neutral[700]};\n font-size: ${({ theme }) => theme.fontSizes.value[400]};\n font-weight: ${({ theme }) => theme.fontWeights.semibold};\n margin: 12px 0 0 0;\n line-height: 1.38;\n text-transform: uppercase;\n`;\n\nexport const StyledWrapper = styled('ul', { name: 'DS-AppPicker', slot: 'root' })`\n align-items: center;\n min-width: 308px;\n min-height: 110px;\n max-height: 449px;\n width: 308px;\n overflow-y: auto;\n overflow-x: hidden;\n margin: 0;\n padding: ${({ isOverflow }) => (isOverflow ? '0 0 0 16px' : '0 16px')};\n &:focus {\n outline: none;\n }\n`;\n\nexport const StyledGrid = styled('div', { name: 'DS-AppPicker', slot: 'grid' })`\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n margin: 8px 0;\n`;\n\nexport const StyledRow = styled('div', { name: 'DS-AppPicker', slot: 'row' })`\n display: flex;\n width: 100%;\n`;\n\nexport const StyledChipLabel = styled('p', { name: 'DS-AppPicker', slot: 'chipLabel' })`\n font-size: ${({ theme }) => theme.fontSizes.label[200]};\n font-weight: ${({ theme }) => theme.fontWeights.semibold};\n word-wrap: break-word;\n margin: 0 6px;\n line-height: 1.45;\n width: 100%;\n z-index: 120;\n\n & span {\n padding-top: 6px;\n }\n`;\n\nconst styledChipSelectedCss = css`\n color: ${({ theme }) => theme.colors.brand[800]};\n background-color: ${({ theme }) => theme.colors.brand[200]};\n\n .app-picker__icon {\n fill: ${({ theme }) => theme.colors.brand[800]};\n }\n\n &:before {\n border: 1px solid ${({ theme }) => theme.colors.brand[600]};\n }\n\n &:focus {\n &:before {\n border: 2px solid ${({ theme }) => theme.colors.brand[800]};\n }\n }\n`;\n\nexport const StyledChip = styled('button', { name: 'DS-AppPicker', slot: 'chip' })<{ selected: boolean | undefined }>`\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n border: none;\n height: 68px;\n width: 92px;\n background-color: #fff;\n color: ${({ theme }) => theme.colors.brand[600]};\n cursor: pointer;\n outline: none;\n\n &:before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 2px;\n border: 2px solid transparent;\n }\n\n & .app-picker__icon {\n fill: ${({ theme }) => theme.colors.brand[600]};\n height: 28px;\n width: 28px;\n }\n\n & .app-picker__icon svg {\n height: 28px;\n width: 28px;\n }\n\n &:hover {\n color: ${({ theme }) => theme.colors.brand[800]};\n background-color: ${({ theme }) => theme.colors.brand[200]};\n .app-picker__icon {\n fill: ${({ theme }) => theme.colors.brand[800]};\n }\n }\n\n &:focus {\n &:before {\n border-color: ${({ theme }) => theme.colors.brand[800]};\n }\n }\n\n &:disabled {\n color: ${({ theme }) => theme.colors.neutral[500]};\n cursor: not-allowed;\n\n .app-picker__icon {\n fill: ${({ theme }) => theme.colors.neutral[500]};\n }\n\n &:focus,\n &:hover {\n background-color: #fff;\n cursor: not-allowed;\n &:before {\n border-color: transparent;\n }\n\n ${StyledChipLabel} {\n color: ${({ theme }) => theme.colors.neutral[500]};\n }\n }\n\n &:hover .app-picker__icon {\n fill: ${({ theme }) => theme.colors.neutral[500]};\n }\n }\n\n ${({ selected }) => (!selected ? '' : styledChipSelectedCss)}\n`;\n\nexport const StyledSeparator = styled('hr', { name: 'DS-AppPicker', slot: 'separator' })`\n border-top: 1px solid ${({ theme }) => theme.colors.neutral[100]};\n border-bottom: none;\n width: 99%;\n margin: 0;\n`;\n"],
|
|
5
|
+
"mappings": "AAAA;ACEA;AAEO,MAAM,cAAc,OAAO,MAAM,EAAE,MAAM,gBAAgB,MAAM;AAAA,WAC3D,CAAC,EAAE,YAAY,MAAM,OAAO,QAAQ;AAAA,eAChC,CAAC,EAAE,YAAY,MAAM,UAAU,MAAM;AAAA,iBACnC,CAAC,EAAE,YAAY,MAAM,YAAY;AAAA;AAAA;AAAA;AAAA;AAM3C,MAAM,gBAAgB,OAAO,MAAM,EAAE,MAAM,gBAAgB,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAS3D,CAAC,EAAE,iBAAkB,aAAa,eAAe;AAAA;AAAA;AAAA;AAAA;AAMvD,MAAM,aAAa,OAAO,OAAO,EAAE,MAAM,gBAAgB,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAS/D,MAAM,YAAY,OAAO,OAAO,EAAE,MAAM,gBAAgB,MAAM;AAAA;AAAA;AAAA;AAK9D,MAAM,kBAAkB,OAAO,KAAK,EAAE,MAAM,gBAAgB,MAAM;AAAA,eAC1D,CAAC,EAAE,YAAY,MAAM,UAAU,MAAM;AAAA,iBACnC,CAAC,EAAE,YAAY,MAAM,YAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYlD,MAAM,wBAAwB;AAAA,WACnB,CAAC,EAAE,YAAY,MAAM,OAAO,MAAM;AAAA,sBACvB,CAAC,EAAE,YAAY,MAAM,OAAO,MAAM;AAAA;AAAA;AAAA,YAG5C,CAAC,EAAE,YAAY,MAAM,OAAO,MAAM;AAAA;AAAA;AAAA;AAAA,wBAItB,CAAC,EAAE,YAAY,MAAM,OAAO,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA,0BAKhC,CAAC,EAAE,YAAY,MAAM,OAAO,MAAM;AAAA;AAAA;AAAA;AAKrD,MAAM,aAAa,OAAO,UAAU,EAAE,MAAM,gBAAgB,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAU9D,CAAC,EAAE,YAAY,MAAM,OAAO,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAgBjC,CAAC,EAAE,YAAY,MAAM,OAAO,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAWjC,CAAC,EAAE,YAAY,MAAM,OAAO,MAAM;AAAA,wBACvB,CAAC,EAAE,YAAY,MAAM,OAAO,MAAM;AAAA;AAAA,cAE5C,CAAC,EAAE,YAAY,MAAM,OAAO,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAM1B,CAAC,EAAE,YAAY,MAAM,OAAO,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA,aAK3C,CAAC,EAAE,YAAY,MAAM,OAAO,QAAQ;AAAA;AAAA;AAAA;AAAA,cAInC,CAAC,EAAE,YAAY,MAAM,OAAO,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAW1C;AAAA,iBACS,CAAC,EAAE,YAAY,MAAM,OAAO,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,cAKvC,CAAC,EAAE,YAAY,MAAM,OAAO,QAAQ;AAAA;AAAA;AAAA;AAAA,IAI9C,CAAC,EAAE,eAAgB,CAAC,WAAW,KAAK;AAAA;AAGjC,MAAM,kBAAkB,OAAO,MAAM,EAAE,MAAM,gBAAgB,MAAM;AAAA,0BAChD,CAAC,EAAE,YAAY,MAAM,OAAO,QAAQ;AAAA;AAAA;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
//# sourceMappingURL=AppPickerTypes.js.map
|
package/esm/utils.js
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
const keys = {
|
|
2
|
-
LEFT:
|
|
3
|
-
UP:
|
|
4
|
-
RIGHT:
|
|
5
|
-
DOWN:
|
|
6
|
-
ENTER:
|
|
7
|
-
SPACE:
|
|
8
|
-
TAB:
|
|
9
|
-
ESC:
|
|
10
|
-
HOME:
|
|
11
|
-
END:
|
|
3
|
+
LEFT: "ArrowLeft",
|
|
4
|
+
UP: "ArrowUp",
|
|
5
|
+
RIGHT: "ArrowRight",
|
|
6
|
+
DOWN: "ArrowDown",
|
|
7
|
+
ENTER: "Enter",
|
|
8
|
+
SPACE: "",
|
|
9
|
+
TAB: "Tab",
|
|
10
|
+
ESC: "Escape",
|
|
11
|
+
HOME: "Home",
|
|
12
|
+
END: "End"
|
|
12
13
|
};
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
export {
|
|
15
|
+
keys
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=utils.js.map
|
package/esm/utils.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/utils.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const keys = {\n LEFT: 'ArrowLeft',\n UP: 'ArrowUp',\n RIGHT: 'ArrowRight',\n DOWN: 'ArrowDown',\n ENTER: 'Enter',\n SPACE: '',\n TAB: 'Tab',\n ESC: 'Escape',\n HOME: 'Home',\n END: 'End',\n};\n"],
|
|
5
|
+
"mappings": "AAAA;ACAO,MAAM,OAAO;AAAA,EAClB,MAAM;AAAA,EACN,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,MAAM;AAAA,EACN,OAAO;AAAA,EACP,OAAO;AAAA,EACP,KAAK;AAAA,EACL,KAAK;AAAA,EACL,MAAM;AAAA,EACN,KAAK;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-app-picker",
|
|
3
|
-
"version": "2.2.0-alpha.
|
|
3
|
+
"version": "2.2.0-alpha.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - App Picker",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
"build": "node ../../scripts/build/build.js"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@elliemae/ds-button": "2.2.0-alpha.
|
|
60
|
-
"@elliemae/ds-icons": "2.2.0-alpha.
|
|
61
|
-
"@elliemae/ds-popover": "2.2.0-alpha.
|
|
62
|
-
"@elliemae/ds-system": "2.2.0-alpha.
|
|
63
|
-
"@elliemae/ds-utilities": "2.2.0-alpha.
|
|
59
|
+
"@elliemae/ds-button": "2.2.0-alpha.2",
|
|
60
|
+
"@elliemae/ds-icons": "2.2.0-alpha.2",
|
|
61
|
+
"@elliemae/ds-popover": "2.2.0-alpha.2",
|
|
62
|
+
"@elliemae/ds-system": "2.2.0-alpha.2",
|
|
63
|
+
"@elliemae/ds-utilities": "2.2.0-alpha.2",
|
|
64
64
|
"react-desc": "^4.1.3"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|