@woosmap/ui 4.40.0 → 4.41.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/.idea/encodings.xml +6 -0
- package/.idea/inspectionProfiles/Project_Default.xml +18 -0
- package/.idea/inspectionProfiles/profiles_settings.xml +6 -0
- package/.idea/misc.xml +4 -0
- package/.idea/modules.xml +8 -0
- package/.idea/prettier.xml +6 -0
- package/.idea/ui.iml +15 -0
- package/.idea/vcs.xml +6 -0
- package/package.json +1 -1
- package/src/components/Button/Button.stories.js +1 -1
- package/src/components/Card/Card.stories.js +1 -1
- package/src/components/Card/SimpleCard.js +4 -0
- package/src/components/Card/SimpleCard.styl +5 -0
- package/src/components/UseCase/UseCase.styl +3 -0
- package/src/styles/console/button.styl +3 -0
- package/src/styles/console/colors.styl +1 -0
- package/src/styles/website/colors.styl +2 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<component name="InspectionProjectProfileManager">
|
|
2
|
+
<profile version="1.0">
|
|
3
|
+
<option name="myName" value="Project Default" />
|
|
4
|
+
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
5
|
+
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
|
6
|
+
<option name="ignoredPackages">
|
|
7
|
+
<value>
|
|
8
|
+
<list size="4">
|
|
9
|
+
<item index="0" class="java.lang.String" itemvalue="Fabric" />
|
|
10
|
+
<item index="1" class="java.lang.String" itemvalue="PyYAML" />
|
|
11
|
+
<item index="2" class="java.lang.String" itemvalue="Jinja2" />
|
|
12
|
+
<item index="3" class="java.lang.String" itemvalue="github3.py" />
|
|
13
|
+
</list>
|
|
14
|
+
</value>
|
|
15
|
+
</option>
|
|
16
|
+
</inspection_tool>
|
|
17
|
+
</profile>
|
|
18
|
+
</component>
|
package/.idea/misc.xml
ADDED
package/.idea/ui.iml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="PYTHON_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$" />
|
|
5
|
+
<orderEntry type="inheritedJdk" />
|
|
6
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
|
+
</component>
|
|
8
|
+
<component name="TemplatesService">
|
|
9
|
+
<option name="TEMPLATE_FOLDERS">
|
|
10
|
+
<list>
|
|
11
|
+
<option value="$MODULE_DIR$/node_modules/@storybook/core/dist/server/templates" />
|
|
12
|
+
</list>
|
|
13
|
+
</option>
|
|
14
|
+
</component>
|
|
15
|
+
</module>
|
package/.idea/vcs.xml
ADDED
package/package.json
CHANGED
|
@@ -63,7 +63,7 @@ const Template = (args) => {
|
|
|
63
63
|
<Button label={label} size="large" disabled />
|
|
64
64
|
</div>
|
|
65
65
|
<div className="flex mbi">
|
|
66
|
-
<Button icon="settings" />
|
|
66
|
+
<Button icon="settings" label="settings" className="btn--demo" />
|
|
67
67
|
<Button icon="settings" isLoading />
|
|
68
68
|
<Button icon="settings" disabled />
|
|
69
69
|
</div>
|
|
@@ -66,7 +66,7 @@ export const Default = Template.bind({});
|
|
|
66
66
|
Default.args = {};
|
|
67
67
|
|
|
68
68
|
const SimpleCardTemplate = () => (
|
|
69
|
-
<SimpleCard
|
|
69
|
+
<SimpleCard isDemo title="My hotels in France" subtitle="18 assets - 12K queries">
|
|
70
70
|
<Tooltip text="Localities" direction="n" product="LOCALITIES">
|
|
71
71
|
<Label round size="nano" label="L" product="LOCALITIES" />
|
|
72
72
|
</Tooltip>
|
|
@@ -18,6 +18,7 @@ class SimpleCard extends Component {
|
|
|
18
18
|
isDisabled,
|
|
19
19
|
isFavorite,
|
|
20
20
|
isInline,
|
|
21
|
+
isDemo,
|
|
21
22
|
...rest
|
|
22
23
|
} = this.props;
|
|
23
24
|
return (
|
|
@@ -25,6 +26,7 @@ class SimpleCard extends Component {
|
|
|
25
26
|
className={cl(
|
|
26
27
|
'simplecard',
|
|
27
28
|
{ active: isActive },
|
|
29
|
+
{ 'simplecard--demo': isDemo },
|
|
28
30
|
{ disabled: isDisabled },
|
|
29
31
|
{ 'simplecard--selected': isSelected },
|
|
30
32
|
{ inline: isInline },
|
|
@@ -74,6 +76,7 @@ SimpleCard.defaultProps = {
|
|
|
74
76
|
isDisabled: false,
|
|
75
77
|
isFavorite: false,
|
|
76
78
|
isInline: false,
|
|
79
|
+
isDemo: false,
|
|
77
80
|
};
|
|
78
81
|
|
|
79
82
|
SimpleCard.propTypes = {
|
|
@@ -87,6 +90,7 @@ SimpleCard.propTypes = {
|
|
|
87
90
|
testId: PropTypes.string,
|
|
88
91
|
isFavorite: PropTypes.bool,
|
|
89
92
|
isInline: PropTypes.bool,
|
|
93
|
+
isDemo: PropTypes.bool,
|
|
90
94
|
};
|
|
91
95
|
|
|
92
96
|
export default SimpleCard;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
&:hover
|
|
14
14
|
box-shadow 0 0 .6rem $secondary20
|
|
15
15
|
border .1rem solid $secondary60
|
|
16
|
+
|
|
16
17
|
&.active
|
|
17
18
|
&.selected
|
|
18
19
|
&--selected
|
|
@@ -22,6 +23,10 @@
|
|
|
22
23
|
&:hover
|
|
23
24
|
box-shadow none
|
|
24
25
|
border .1rem solid $secondary60
|
|
26
|
+
&--demo
|
|
27
|
+
&
|
|
28
|
+
&.active
|
|
29
|
+
background-color rgba($demo, .1)
|
|
25
30
|
.row-inactive &
|
|
26
31
|
&.disabled
|
|
27
32
|
background #fff url('../../images/texture.png')
|