@mailstep/design-system 0.8.16-beta.19 → 0.8.16-beta.20
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/package.json +1 -1
- package/ui/Elements/Select/stories/Select.stories.d.ts +2 -1
- package/ui/Elements/Select/stories/Select.stories.js +2 -1
- package/ui/Elements/Select/themes/selectStyles.js +3 -2
- package/ui/Elements/Select/types.d.ts +1 -0
- package/ui/index.es.js +14592 -13975
- package/ui/index.umd.js +610 -610
package/package.json
CHANGED
|
@@ -11,4 +11,5 @@ var options = [
|
|
|
11
11
|
{ value: '2', label: 'Option 2' },
|
|
12
12
|
{ value: '3', label: 'Option 3' }
|
|
13
13
|
];
|
|
14
|
-
export var
|
|
14
|
+
export var Default = function () { return (_jsx(Select, { label: "Primary Select", onChange: console.log, options: options })); };
|
|
15
|
+
export var MultiSelect = function () { return (_jsx(Select, { label: "Multi Select Input", onChange: console.log, options: options, isMulti: true, value: ['1', '2'] })); };
|
|
@@ -93,11 +93,11 @@ export var CustomStyles = {
|
|
|
93
93
|
},
|
|
94
94
|
menu: function (styles, state) {
|
|
95
95
|
var theme = state.theme;
|
|
96
|
-
return __assign(__assign({}, styles), { boxShadow: '0 2px 20px 0 rgba(0, 0, 0, 0.10);', marginTop: '4px', paddingTop: '0', borderRadius: '10px', zIndex: 3, minWidth: 'max-content', backgroundColor: theme.colors.menuBackgroundColor });
|
|
96
|
+
return __assign(__assign({}, styles), { boxShadow: '0 2px 20px 0 rgba(0, 0, 0, 0.10);', marginTop: '4px', paddingTop: '0', borderRadius: '10px', zIndex: 3, minWidth: 'max-content', color: theme.colors.textPrimary, backgroundColor: theme.colors.menuBackgroundColor });
|
|
97
97
|
},
|
|
98
98
|
menuList: function (styles, _a) {
|
|
99
99
|
var theme = _a.theme;
|
|
100
|
-
return __assign(__assign({}, styles), { margin: '8px 4px 8px 8px', '::-webkit-scrollbar-thumb': {
|
|
100
|
+
return __assign(__assign({}, styles), { margin: '8px 4px 8px 8px', color: theme.colors.textPrimary, '::-webkit-scrollbar-thumb': {
|
|
101
101
|
border: 'none',
|
|
102
102
|
borderRadius: '4px',
|
|
103
103
|
height: '47px',
|
|
@@ -125,6 +125,7 @@ export var CustomStyles = {
|
|
|
125
125
|
};
|
|
126
126
|
export var getCustomTheme = function (theme, optionVariant, useFilterSubvariant) {
|
|
127
127
|
var customColors = {
|
|
128
|
+
textPrimary: th.color('textPrimary')({ theme: theme }),
|
|
128
129
|
primary: th.color('red1')({ theme: theme }),
|
|
129
130
|
inputTextColor: th.color('blue1')({ theme: theme }),
|
|
130
131
|
backgroundColor: th.color('white')({ theme: theme }),
|