@elice/material-survey 1.240712.0 → 1.240715.0-touch.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.
|
@@ -5,14 +5,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var blocks = require('@elice/blocks');
|
|
7
7
|
var intl = require('@elice/intl');
|
|
8
|
+
var muiSystem = require('@elice/mui-system');
|
|
9
|
+
var styled = require('styled-components');
|
|
8
10
|
|
|
11
|
+
const StyledSuccessStatusText = styled(blocks.StatusText).withConfig({
|
|
12
|
+
componentId: "sc-szxa5m-0"
|
|
13
|
+
})(["color:", ";"], muiSystem.colors.green[400]);
|
|
9
14
|
const SurveySubmitStatusText = ({
|
|
10
15
|
status
|
|
11
16
|
}) => {
|
|
12
17
|
const intl$1 = intl.useRawEliceIntl();
|
|
13
18
|
switch (status) {
|
|
14
19
|
case 'resolved':
|
|
15
|
-
return React.createElement(
|
|
20
|
+
return React.createElement(StyledSuccessStatusText, {
|
|
16
21
|
role: "success",
|
|
17
22
|
size: "small"
|
|
18
23
|
}, intl$1.formatMessage({
|
|
@@ -29,7 +29,7 @@ const StyledQuestionBoxBody = styled.div.withConfig({
|
|
|
29
29
|
}) => hasFooter ? 'height: 100%; overflow-y: auto;' : '');
|
|
30
30
|
const StyledQuestionBoxFooter = styled.div.withConfig({
|
|
31
31
|
componentId: "sc-h8ztvr-3"
|
|
32
|
-
})(["flex:none;display:flex;justify-content:space-between;align-items:center;padding:0.75rem 1.5rem;background-color:", ";", ""], designTokens.base.color.
|
|
32
|
+
})(["flex:none;display:flex;justify-content:space-between;align-items:center;padding:0.75rem 1.5rem;background-color:", ";", ""], designTokens.base.color.navy8, ({
|
|
33
33
|
vertical
|
|
34
34
|
}) => {
|
|
35
35
|
return vertical ? `
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { StatusText } from '@elice/blocks';
|
|
3
3
|
import { useRawEliceIntl } from '@elice/intl';
|
|
4
|
+
import { colors } from '@elice/mui-system';
|
|
5
|
+
import styled from 'styled-components';
|
|
4
6
|
|
|
7
|
+
const StyledSuccessStatusText = styled(StatusText).withConfig({
|
|
8
|
+
componentId: "sc-szxa5m-0"
|
|
9
|
+
})(["color:", ";"], colors.green[400]);
|
|
5
10
|
const SurveySubmitStatusText = ({
|
|
6
11
|
status
|
|
7
12
|
}) => {
|
|
8
13
|
const intl = useRawEliceIntl();
|
|
9
14
|
switch (status) {
|
|
10
15
|
case 'resolved':
|
|
11
|
-
return React.createElement(
|
|
16
|
+
return React.createElement(StyledSuccessStatusText, {
|
|
12
17
|
role: "success",
|
|
13
18
|
size: "small"
|
|
14
19
|
}, intl.formatMessage({
|
|
@@ -25,7 +25,7 @@ const StyledQuestionBoxBody = styled.div.withConfig({
|
|
|
25
25
|
}) => hasFooter ? 'height: 100%; overflow-y: auto;' : '');
|
|
26
26
|
const StyledQuestionBoxFooter = styled.div.withConfig({
|
|
27
27
|
componentId: "sc-h8ztvr-3"
|
|
28
|
-
})(["flex:none;display:flex;justify-content:space-between;align-items:center;padding:0.75rem 1.5rem;background-color:", ";", ""], base.color.
|
|
28
|
+
})(["flex:none;display:flex;justify-content:space-between;align-items:center;padding:0.75rem 1.5rem;background-color:", ";", ""], base.color.navy8, ({
|
|
29
29
|
vertical
|
|
30
30
|
}) => {
|
|
31
31
|
return vertical ? `
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-survey",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.240715.0-touch.1",
|
|
4
4
|
"description": "User view and editing components of Elice material survey",
|
|
5
5
|
"repository": "https://git.elicer.io/elice/frontend/library/elice-material",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
|
|
53
53
|
"@elice/intl": "0.240425.0-rc.2",
|
|
54
54
|
"@elice/markdown": "^1.220815.0",
|
|
55
|
-
"@elice/material-shared-types": "1.
|
|
56
|
-
"@elice/material-shared-utils": "1.
|
|
55
|
+
"@elice/material-shared-types": "1.240715.0-touch.1",
|
|
56
|
+
"@elice/material-shared-utils": "1.240715.0-touch.1",
|
|
57
57
|
"@elice/types": "^1.240619.0",
|
|
58
58
|
"@types/classnames": "^2.3.1",
|
|
59
59
|
"@types/react": "~17.0.9",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"react-use": "^17.2.4",
|
|
64
64
|
"styled-components": "^5.3.0"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "87c590dcefdcad8147a8ee638fc6aa52dc928f9b"
|
|
67
67
|
}
|