colibri-ui 0.7.39 → 0.7.41
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/Badge/Badge.module.css +32 -0
- package/Badge/Control/Control.module.css +6 -0
- package/Badge/Control/index.js +3 -2
- package/Badge/index.js +3 -2
- package/Button/Button.module.css +133 -0
- package/Button/index.js +7 -6
- package/Checkbox/Checkbox.module.css +89 -0
- package/Checkbox/index.js +9 -8
- package/Counter/Counter.module.css +34 -0
- package/Counter/index.js +6 -5
- package/DotsLoader/DotsLoader.module.css +39 -0
- package/DotsLoader/index.js +3 -2
- package/Dropdown/Dropdown.module.css +13 -0
- package/Dropdown/index.js +4 -3
- package/Grid/Grid.module.css +8 -0
- package/Grid/Item/Grid-Item.module.css +3 -0
- package/Grid/Item/index.js +3 -2
- package/Grid/index.js +4 -3
- package/Image/Image.module.css +19 -0
- package/Image/index.js +3 -2
- package/Menu/Menu.module.css +8 -0
- package/Menu/components/MenuItem/MenuItem.module.css +36 -0
- package/Menu/components/MenuItem/index.js +3 -2
- package/Menu/index.js +3 -2
- package/Modal/Modal.module.css +51 -0
- package/Modal/components/Close/Close.module.css +4 -0
- package/Modal/components/Close/index.js +3 -2
- package/Modal/components/Content/Content.module.css +6 -0
- package/Modal/components/Content/index.js +3 -2
- package/Modal/components/Title/Title.module.css +4 -0
- package/Modal/components/Title/index.js +4 -3
- package/Modal/index.js +8 -7
- package/Select/Select.module.css +39 -0
- package/Select/index.js +9 -8
- package/Separator/Separator.module.css +5 -0
- package/Separator/index.js +3 -2
- package/Skeleton/Skeleton.module.css +33 -0
- package/Skeleton/index.js +4 -3
- package/Switch/Switch.module.css +56 -0
- package/Switch/index.js +7 -6
- package/Theme/global.css +36 -0
- package/Typography/Typography.module.css +64 -0
- package/Typography/index.js +3 -2
- package/base/BaseInput/BaseInput.module.css +12 -0
- package/base/BaseInput/index.js +3 -2
- package/base/FormField/FormField.module.css +5 -0
- package/base/FormField/index.js +3 -2
- package/base/InputRoot/InputRoot.module.css +74 -0
- package/base/InputRoot/index.js +7 -6
- package/esm/Badge/Badge.module.css +32 -0
- package/esm/Badge/Control/Control.module.css +6 -0
- package/esm/Badge/Control/index.js +1 -1
- package/esm/Badge/index.js +1 -1
- package/esm/Button/Button.module.css +133 -0
- package/esm/Button/index.js +1 -1
- package/esm/Checkbox/Checkbox.module.css +89 -0
- package/esm/Checkbox/index.js +1 -1
- package/esm/Counter/Counter.module.css +34 -0
- package/esm/Counter/index.js +1 -1
- package/esm/DotsLoader/DotsLoader.module.css +39 -0
- package/esm/DotsLoader/index.js +1 -1
- package/esm/Dropdown/Dropdown.module.css +13 -0
- package/esm/Dropdown/index.js +1 -1
- package/esm/Grid/Grid.module.css +8 -0
- package/esm/Grid/Item/Grid-Item.module.css +3 -0
- package/esm/Grid/Item/index.js +1 -1
- package/esm/Grid/index.js +1 -1
- package/esm/Image/Image.module.css +19 -0
- package/esm/Image/index.js +1 -1
- package/esm/Menu/Menu.module.css +8 -0
- package/esm/Menu/components/MenuItem/MenuItem.module.css +36 -0
- package/esm/Menu/components/MenuItem/index.js +1 -1
- package/esm/Menu/index.js +1 -1
- package/esm/Modal/Modal.module.css +51 -0
- package/esm/Modal/components/Close/Close.module.css +4 -0
- package/esm/Modal/components/Close/index.js +1 -1
- package/esm/Modal/components/Content/Content.module.css +6 -0
- package/esm/Modal/components/Content/index.js +1 -1
- package/esm/Modal/components/Title/Title.module.css +4 -0
- package/esm/Modal/components/Title/index.js +1 -1
- package/esm/Modal/index.js +1 -1
- package/esm/Select/Select.module.css +39 -0
- package/esm/Select/index.js +1 -1
- package/esm/Separator/Separator.module.css +5 -0
- package/esm/Separator/index.js +1 -1
- package/esm/Skeleton/Skeleton.module.css +33 -0
- package/esm/Skeleton/index.js +1 -1
- package/esm/Switch/Switch.module.css +56 -0
- package/esm/Switch/index.js +1 -1
- package/esm/Theme/global.css +36 -0
- package/esm/Typography/Typography.module.css +64 -0
- package/esm/Typography/index.js +1 -1
- package/esm/base/BaseInput/BaseInput.module.css +12 -0
- package/esm/base/BaseInput/index.js +1 -1
- package/esm/base/FormField/FormField.module.css +5 -0
- package/esm/base/FormField/index.js +1 -1
- package/esm/base/InputRoot/InputRoot.module.css +74 -0
- package/esm/base/InputRoot/index.js +1 -1
- package/package.json +2 -1
- package/Badge/Badge.module.scss.js +0 -13
- package/Badge/Control/Control.module.scss.js +0 -13
- package/Button/Button.module.scss.js +0 -13
- package/Checkbox/Checkbox.module.scss.js +0 -13
- package/Counter/Counter.module.scss.js +0 -13
- package/DotsLoader/DotsLoader.module.scss.js +0 -13
- package/Dropdown/Dropdown.module.scss.js +0 -13
- package/Grid/Grid.module.scss.js +0 -13
- package/Grid/Item/Grid-Item.module.scss.js +0 -13
- package/Image/Image.module.scss.js +0 -13
- package/Menu/Menu.module.scss.js +0 -13
- package/Menu/components/MenuItem/MenuItem.module.scss.js +0 -13
- package/Modal/Modal.module.scss.js +0 -13
- package/Modal/components/Close/Close.module.scss.js +0 -13
- package/Modal/components/Content/Content.module.scss.js +0 -13
- package/Modal/components/Title/Title.module.scss.js +0 -13
- package/Select/Select.module.scss.js +0 -13
- package/Separator/Separator.module.scss.js +0 -13
- package/Skeleton/Skeleton.module.scss.js +0 -13
- package/Switch/Switch.module.scss.js +0 -13
- package/Typography/Typography.module.scss.js +0 -13
- package/base/BaseInput/BaseInput.module.scss.js +0 -13
- package/base/FormField/FormField.module.scss.js +0 -13
- package/base/InputRoot/InputRoot.module.scss.js +0 -13
- package/esm/Badge/Badge.module.scss.js +0 -8
- package/esm/Badge/Control/Control.module.scss.js +0 -8
- package/esm/Button/Button.module.scss.js +0 -8
- package/esm/Checkbox/Checkbox.module.scss.js +0 -8
- package/esm/Counter/Counter.module.scss.js +0 -8
- package/esm/DotsLoader/DotsLoader.module.scss.js +0 -8
- package/esm/Dropdown/Dropdown.module.scss.js +0 -8
- package/esm/Grid/Grid.module.scss.js +0 -8
- package/esm/Grid/Item/Grid-Item.module.scss.js +0 -8
- package/esm/Image/Image.module.scss.js +0 -8
- package/esm/Menu/Menu.module.scss.js +0 -8
- package/esm/Menu/components/MenuItem/MenuItem.module.scss.js +0 -8
- package/esm/Modal/Modal.module.scss.js +0 -8
- package/esm/Modal/components/Close/Close.module.scss.js +0 -8
- package/esm/Modal/components/Content/Content.module.scss.js +0 -8
- package/esm/Modal/components/Title/Title.module.scss.js +0 -8
- package/esm/Select/Select.module.scss.js +0 -8
- package/esm/Separator/Separator.module.scss.js +0 -8
- package/esm/Skeleton/Skeleton.module.scss.js +0 -8
- package/esm/Switch/Switch.module.scss.js +0 -8
- package/esm/Typography/Typography.module.scss.js +0 -8
- package/esm/base/BaseInput/BaseInput.module.scss.js +0 -8
- package/esm/base/FormField/FormField.module.scss.js +0 -8
- package/esm/base/InputRoot/InputRoot.module.scss.js +0 -8
- package/esm/node_modules/style-inject/dist/style-inject.es.js +0 -26
package/esm/Grid/Item/index.js
CHANGED
package/esm/Grid/index.js
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.root {
|
|
2
|
+
position: absolute;
|
|
3
|
+
top: 0;
|
|
4
|
+
left: 0;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
}
|
|
8
|
+
.root img {
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
visibility: visible;
|
|
12
|
+
font: 0/0 a;
|
|
13
|
+
border: 0;
|
|
14
|
+
object-fit: cover;
|
|
15
|
+
text-indent: -100rem;
|
|
16
|
+
}
|
|
17
|
+
.root img :-moz-broken {
|
|
18
|
+
opacity: 0;
|
|
19
|
+
}
|
package/esm/Image/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { __rest, __assign } from 'tslib';
|
|
|
2
2
|
import React, { forwardRef, useState, useCallback } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import generateUniqID from '../helpers/generateUniqID.js';
|
|
5
|
-
import styles from './Image.module.
|
|
5
|
+
import styles from './Image.module.css';
|
|
6
6
|
|
|
7
7
|
var emptyImage = "data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=";
|
|
8
8
|
var Image = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.item {
|
|
2
|
+
cursor: pointer;
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
list-style: none;
|
|
6
|
+
padding: 8px 6px;
|
|
7
|
+
font-style: normal;
|
|
8
|
+
font-weight: 400;
|
|
9
|
+
font-size: 16px;
|
|
10
|
+
line-height: 22px;
|
|
11
|
+
}
|
|
12
|
+
.item > * {
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
text-overflow: ellipsis;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.variant_primary {
|
|
19
|
+
background-color: var(--palette-white);
|
|
20
|
+
}
|
|
21
|
+
.variant_primary:hover {
|
|
22
|
+
background-color: var(--palette-primary-2);
|
|
23
|
+
}
|
|
24
|
+
.variant_primary:active {
|
|
25
|
+
background-color: var(--palette-primary-2);
|
|
26
|
+
}
|
|
27
|
+
.variant_primary:focus, .variant_primary:focus-within {
|
|
28
|
+
background-color: var(--palette-primary-2);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.disabled {
|
|
32
|
+
cursor: not-allowed;
|
|
33
|
+
pointer-events: none;
|
|
34
|
+
color: var(--palette-bg-2);
|
|
35
|
+
background-color: var(--palette-white);
|
|
36
|
+
}
|
package/esm/Menu/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useMemo, Children, isValidElement, cloneElement } from 'react';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import MenuItem from './components/MenuItem/index.js';
|
|
4
|
-
import styles from './Menu.module.
|
|
4
|
+
import styles from './Menu.module.css';
|
|
5
5
|
|
|
6
6
|
var Menu = function Menu(_a) {
|
|
7
7
|
var selected = _a.selected,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.root {
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 0;
|
|
4
|
+
bottom: 0;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
z-index: 1000;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.titleWrapper {
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
align-items: center;
|
|
14
|
+
border-bottom: 1px solid var(--palette-bg-2);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.closeWrapper {
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: flex-end;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.modalOverlay {
|
|
23
|
+
position: fixed;
|
|
24
|
+
top: 0;
|
|
25
|
+
bottom: 0;
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 100%;
|
|
28
|
+
background-color: rgba(0, 0, 0, 0.25);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.modalWrapper {
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
position: absolute;
|
|
34
|
+
left: 50%;
|
|
35
|
+
top: 50%;
|
|
36
|
+
transform: translate(-50%, -50%);
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
background-color: var(--palette-white);
|
|
40
|
+
}
|
|
41
|
+
.modalWrapper_mobile {
|
|
42
|
+
height: 100%;
|
|
43
|
+
width: 100%;
|
|
44
|
+
}
|
|
45
|
+
.modalWrapper_desktop {
|
|
46
|
+
max-height: calc(100vh - 100px);
|
|
47
|
+
max-width: calc(100vw - 100px);
|
|
48
|
+
min-width: 515px;
|
|
49
|
+
border: solid 1px var(--palette-bg-2);
|
|
50
|
+
border-radius: 8px;
|
|
51
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import '../../../Icons/index.js';
|
|
4
|
-
import styles from './Close.module.
|
|
4
|
+
import styles from './Close.module.css';
|
|
5
5
|
import CloseIcon from '../../../Icons/Close.js';
|
|
6
6
|
|
|
7
7
|
var Close = function Close(_a) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import classNames from 'classnames/bind';
|
|
3
3
|
import Typography from '../../../Typography/index.js';
|
|
4
|
-
import styles from './Title.module.
|
|
4
|
+
import styles from './Title.module.css';
|
|
5
5
|
|
|
6
6
|
var clx = classNames.bind(styles);
|
|
7
7
|
var Title = function Title(_a) {
|
package/esm/Modal/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import useMediaSizes from '../hooks/useMediaSizes/index.js';
|
|
|
7
7
|
import Content from './components/Content/index.js';
|
|
8
8
|
import Close from './components/Close/index.js';
|
|
9
9
|
import Title from './components/Title/index.js';
|
|
10
|
-
import styles from './Modal.module.
|
|
10
|
+
import styles from './Modal.module.css';
|
|
11
11
|
|
|
12
12
|
var clx = classNames.bind(styles);
|
|
13
13
|
var Modal = function Modal(_a) {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.menuWrapper {
|
|
2
|
+
max-height: 140px;
|
|
3
|
+
overflow-y: auto;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.icon_isOpen {
|
|
7
|
+
transform: rotate(180deg);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.inputRoot {
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.formField_fullWidth {
|
|
15
|
+
width: 100%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.baseInput {
|
|
19
|
+
margin: 7px 0;
|
|
20
|
+
background: transparent;
|
|
21
|
+
border: none;
|
|
22
|
+
outline: none;
|
|
23
|
+
flex: 1;
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
text-overflow: ellipsis;
|
|
26
|
+
}
|
|
27
|
+
.baseInput ::placeholder {
|
|
28
|
+
color: var(--palette-bg-2);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.placeholder {
|
|
32
|
+
user-select: none;
|
|
33
|
+
white-space: nowrap;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
text-overflow: ellipsis;
|
|
36
|
+
max-width: 100%;
|
|
37
|
+
display: block;
|
|
38
|
+
color: var(--input-primary-plaseholder-color);
|
|
39
|
+
}
|
package/esm/Select/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import InputRoot from '../base/InputRoot/index.js';
|
|
|
4
4
|
import FormField from '../base/FormField/index.js';
|
|
5
5
|
import Dropdown from '../Dropdown/index.js';
|
|
6
6
|
import Menu from '../Menu/index.js';
|
|
7
|
-
import styles from './Select.module.
|
|
7
|
+
import styles from './Select.module.css';
|
|
8
8
|
import classNames from 'classnames/bind';
|
|
9
9
|
|
|
10
10
|
var clx = classNames.bind(styles);
|
package/esm/Separator/index.js
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.rect {
|
|
2
|
+
background-color: var(--palette-bg-2);
|
|
3
|
+
animation: skeleton-loading 1.5s ease-in-out infinite;
|
|
4
|
+
}
|
|
5
|
+
@keyframes skeleton-loading {
|
|
6
|
+
0% {
|
|
7
|
+
opacity: 1;
|
|
8
|
+
}
|
|
9
|
+
50% {
|
|
10
|
+
opacity: 0.4;
|
|
11
|
+
}
|
|
12
|
+
100% {
|
|
13
|
+
opacity: 1;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.text {
|
|
18
|
+
height: 12px;
|
|
19
|
+
border-radius: 6px;
|
|
20
|
+
background-color: var(--palette-bg-2);
|
|
21
|
+
animation: skeleton-loading 1.5s ease-in-out infinite;
|
|
22
|
+
}
|
|
23
|
+
@keyframes skeleton-loading {
|
|
24
|
+
0% {
|
|
25
|
+
opacity: 1;
|
|
26
|
+
}
|
|
27
|
+
50% {
|
|
28
|
+
opacity: 0.4;
|
|
29
|
+
}
|
|
30
|
+
100% {
|
|
31
|
+
opacity: 1;
|
|
32
|
+
}
|
|
33
|
+
}
|
package/esm/Skeleton/index.js
CHANGED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
.root {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
padding: 6px;
|
|
5
|
+
}
|
|
6
|
+
.root_disabled {
|
|
7
|
+
opacity: 0.7;
|
|
8
|
+
pointer-events: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.wrapper {
|
|
12
|
+
width: 40px;
|
|
13
|
+
height: 22px;
|
|
14
|
+
position: relative;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
border-width: 1px;
|
|
17
|
+
border-style: solid;
|
|
18
|
+
border-radius: 17px;
|
|
19
|
+
}
|
|
20
|
+
.wrapper_variant_primary {
|
|
21
|
+
border-color: var(--switch-primary-border-color);
|
|
22
|
+
background-color: var(--switch-primary-background-color);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.baseSwitch {
|
|
26
|
+
width: 16px;
|
|
27
|
+
height: 16px;
|
|
28
|
+
border-radius: 50%;
|
|
29
|
+
position: absolute;
|
|
30
|
+
top: 2px;
|
|
31
|
+
left: 2px;
|
|
32
|
+
transition: transform 150ms;
|
|
33
|
+
background: var(--palette-white);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.checkbox {
|
|
37
|
+
position: absolute;
|
|
38
|
+
z-index: 1;
|
|
39
|
+
left: 0px;
|
|
40
|
+
top: 0px;
|
|
41
|
+
width: 100%;
|
|
42
|
+
height: 100%;
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
opacity: 0;
|
|
45
|
+
margin: 0;
|
|
46
|
+
border: none;
|
|
47
|
+
outline: none;
|
|
48
|
+
padding: 0;
|
|
49
|
+
}
|
|
50
|
+
.checkbox:checked + .wrapper {
|
|
51
|
+
border-color: var(--switch-primary-border-color-checked);
|
|
52
|
+
background-color: var(--switch-primary-background-color-checked);
|
|
53
|
+
}
|
|
54
|
+
.checkbox:checked + .wrapper .baseSwitch {
|
|
55
|
+
transform: translateX(18px);
|
|
56
|
+
}
|
package/esm/Switch/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import classNames from 'classnames/bind';
|
|
4
|
-
import styles from './Switch.module.
|
|
4
|
+
import styles from './Switch.module.css';
|
|
5
5
|
|
|
6
6
|
var clx = classNames.bind(styles);
|
|
7
7
|
var Switch = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
[data-page=lisa-accessories] html {
|
|
2
|
+
margin: 0;
|
|
3
|
+
padding: 0;
|
|
4
|
+
}
|
|
5
|
+
[data-page=lisa-accessories] input,
|
|
6
|
+
[data-page=lisa-accessories] label,
|
|
7
|
+
[data-page=lisa-accessories] textarea,
|
|
8
|
+
[data-page=lisa-accessories] select,
|
|
9
|
+
[data-page=lisa-accessories] button {
|
|
10
|
+
background: none;
|
|
11
|
+
}
|
|
12
|
+
[data-page=lisa-accessories] * {
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
border: none;
|
|
15
|
+
outline: none;
|
|
16
|
+
text-decoration: none;
|
|
17
|
+
margin: 0;
|
|
18
|
+
padding: 0;
|
|
19
|
+
}
|
|
20
|
+
[data-page=lisa-accessories] input,
|
|
21
|
+
[data-page=lisa-accessories] textarea,
|
|
22
|
+
[data-page=lisa-accessories] select,
|
|
23
|
+
[data-page=lisa-accessories] button,
|
|
24
|
+
[data-page=lisa-accessories] body {
|
|
25
|
+
margin: 0;
|
|
26
|
+
padding: 0;
|
|
27
|
+
}
|
|
28
|
+
[data-page=lisa-accessories] h1,
|
|
29
|
+
[data-page=lisa-accessories] h2,
|
|
30
|
+
[data-page=lisa-accessories] h3,
|
|
31
|
+
[data-page=lisa-accessories] h4,
|
|
32
|
+
[data-page=lisa-accessories] h5,
|
|
33
|
+
[data-page=lisa-accessories] h6 {
|
|
34
|
+
margin: 0;
|
|
35
|
+
color: inherit;
|
|
36
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
.root {
|
|
2
|
+
color: var(--palette-black);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.size_xs {
|
|
6
|
+
font-size: 12px;
|
|
7
|
+
line-height: 16px;
|
|
8
|
+
}
|
|
9
|
+
.size_s {
|
|
10
|
+
font-size: 14px;
|
|
11
|
+
line-height: 18px;
|
|
12
|
+
}
|
|
13
|
+
.size_m {
|
|
14
|
+
font-size: 16px;
|
|
15
|
+
line-height: 22px;
|
|
16
|
+
}
|
|
17
|
+
.size_l {
|
|
18
|
+
font-size: 18px;
|
|
19
|
+
line-height: 28px;
|
|
20
|
+
}
|
|
21
|
+
.size_h1 {
|
|
22
|
+
font-size: 40px;
|
|
23
|
+
line-height: 56px;
|
|
24
|
+
}
|
|
25
|
+
.size_h2 {
|
|
26
|
+
font-size: 32px;
|
|
27
|
+
line-height: 40px;
|
|
28
|
+
}
|
|
29
|
+
.size_h3 {
|
|
30
|
+
font-size: 24px;
|
|
31
|
+
line-height: 32px;
|
|
32
|
+
}
|
|
33
|
+
.size_h4 {
|
|
34
|
+
font-size: 20px;
|
|
35
|
+
line-height: 28px;
|
|
36
|
+
}
|
|
37
|
+
.size_h5 {
|
|
38
|
+
font-size: 16px;
|
|
39
|
+
line-height: 24px;
|
|
40
|
+
}
|
|
41
|
+
.size_h6 {
|
|
42
|
+
font-size: 12px;
|
|
43
|
+
line-height: 16px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.fontWeight_normal {
|
|
47
|
+
font-weight: 400;
|
|
48
|
+
}
|
|
49
|
+
.fontWeight_medium {
|
|
50
|
+
font-weight: 500;
|
|
51
|
+
}
|
|
52
|
+
.fontWeight_bold {
|
|
53
|
+
font-weight: 700;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.variant_alert {
|
|
57
|
+
color: var(--typography-alert);
|
|
58
|
+
}
|
|
59
|
+
.variant_success {
|
|
60
|
+
color: var(--typography-success);
|
|
61
|
+
}
|
|
62
|
+
.variant_secondary {
|
|
63
|
+
color: var(--typography-secondary);
|
|
64
|
+
}
|
package/esm/Typography/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import classNames from 'classnames/bind';
|
|
4
|
-
import styles from './Typography.module.
|
|
4
|
+
import styles from './Typography.module.css';
|
|
5
5
|
|
|
6
6
|
var clx = classNames.bind(styles);
|
|
7
7
|
var Typography = function Typography(_a) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
|
-
import styles from './BaseInput.module.
|
|
4
|
+
import styles from './BaseInput.module.css';
|
|
5
5
|
|
|
6
6
|
var BaseInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
7
7
|
var className = _a.className,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import Typography from '../../Typography/index.js';
|
|
4
|
-
import styles from './FormField.module.
|
|
4
|
+
import styles from './FormField.module.css';
|
|
5
5
|
|
|
6
6
|
var FormField = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
7
7
|
var label = _a.label,
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
.baseIcon {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
font-size: 16px;
|
|
5
|
+
color: inherit;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.baseDisableWrapper {
|
|
9
|
+
position: absolute;
|
|
10
|
+
left: 0;
|
|
11
|
+
right: 0;
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 100%;
|
|
14
|
+
cursor: not-allowed;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.root {
|
|
18
|
+
background-color: var(--palette-white);
|
|
19
|
+
color: var(--palette-black);
|
|
20
|
+
position: relative;
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
display: inline-flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
gap: 8px;
|
|
26
|
+
border-width: 1px;
|
|
27
|
+
border-style: solid;
|
|
28
|
+
border-radius: 4px;
|
|
29
|
+
padding: 5px 10px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.variant_primary {
|
|
33
|
+
border-color: var(--input-primary-border-color);
|
|
34
|
+
}
|
|
35
|
+
.variant_primary:hover {
|
|
36
|
+
border-color: var(--palette-primary-3);
|
|
37
|
+
box-shadow: 0px 0px 0px 2px var(--palette-primary-2);
|
|
38
|
+
}
|
|
39
|
+
.variant_primary:active {
|
|
40
|
+
border-color: var(--palette-primary-4);
|
|
41
|
+
}
|
|
42
|
+
.variant_primary:focus, .variant_primary:focus-within {
|
|
43
|
+
border-color: var(--palette-primary-4);
|
|
44
|
+
}
|
|
45
|
+
.variant_primary_disabled {
|
|
46
|
+
cursor: not-allowed;
|
|
47
|
+
pointer-events: none;
|
|
48
|
+
color: var(--palette-bg-3);
|
|
49
|
+
background-color: var(--palette-bg-1);
|
|
50
|
+
border-color: var(--palette-bg-3);
|
|
51
|
+
}
|
|
52
|
+
.variant_primary_error {
|
|
53
|
+
background-color: var(--palette-tretiary-2);
|
|
54
|
+
border-color: var(--palette-alert);
|
|
55
|
+
}
|
|
56
|
+
.variant_primary_error:hover {
|
|
57
|
+
background-color: var(--palette-white);
|
|
58
|
+
border-color: var(--palette-alert);
|
|
59
|
+
box-shadow: 0px 0px 0px 2px var(--palette-tretiary-2);
|
|
60
|
+
}
|
|
61
|
+
.variant_primary_error:focus, .variant_primary_error:focus-within {
|
|
62
|
+
border-color: var(--palette-alert);
|
|
63
|
+
background-color: var(--palette-white);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.size_s {
|
|
67
|
+
height: 32px;
|
|
68
|
+
}
|
|
69
|
+
.size_m {
|
|
70
|
+
height: 36px;
|
|
71
|
+
}
|
|
72
|
+
.size_l {
|
|
73
|
+
height: 42px;
|
|
74
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import classNames from 'classnames/bind';
|
|
3
|
-
import styles from './InputRoot.module.
|
|
3
|
+
import styles from './InputRoot.module.css';
|
|
4
4
|
|
|
5
5
|
var clx = classNames.bind(styles);
|
|
6
6
|
var InputRoot = /*#__PURE__*/forwardRef(function (_a, ref) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "colibri-ui",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.41",
|
|
4
4
|
"description": "React UI components library",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {},
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@popperjs/core": "^2.11.8",
|
|
26
26
|
"classnames": "^2.5.1",
|
|
27
|
+
"cssmem": "^1.3.0",
|
|
27
28
|
"react": "^17.0.0 || ^18.0.0",
|
|
28
29
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
29
30
|
"react-popper": "^2.3.0"
|