@infonomic/uikit 3.7.0 → 3.8.0
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/dist/components/button/button-group_module.css +1 -1
- package/dist/components/container/container_module.css +8 -8
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/forms/calendar_module.css +1 -1
- package/dist/components/notifications/toast_module.css +1 -1
- package/dist/components/pager/pagination_module.css +1 -1
- package/dist/icons/icon-element.d.ts.map +1 -1
- package/dist/icons/icon-element.js +2 -1
- package/dist/icons/icons.module.js +2 -0
- package/dist/icons/icons_module.css +7 -0
- package/dist/styles/styles.css +1 -1
- package/dist/styles/typography.css +1 -1
- package/dist/widgets/drawer/drawer_module.css +1 -1
- package/dist/widgets/modal/modal_module.css +1 -1
- package/package.json +1 -1
- package/src/components/button/button-group.module.css +1 -1
- package/src/components/container/container.module.css +9 -8
- package/src/components/dropdown/dropdown.stories.tsx +1 -1
- package/src/components/dropdown/dropdown.tsx +1 -1
- package/src/components/forms/calendar.module.css +1 -1
- package/src/components/notifications/toast.module.css +1 -1
- package/src/components/pager/pagination.module.css +1 -1
- package/src/icons/icon-element.tsx +3 -1
- package/src/icons/icons.module.css +7 -0
- package/src/styles/base/base.css +11 -2
- package/src/styles/base/borders.css +30 -0
- package/src/styles/base/breakpoints.css +15 -0
- package/src/styles/base/opacity.css +12 -0
- package/src/styles/base/shadows.css +13 -0
- package/src/styles/base/spacing.css +21 -0
- package/src/styles/base/transitions.css +7 -0
- package/src/styles/base/typography.css +47 -0
- package/src/styles/base/z-index.css +12 -0
- package/src/styles/components/components.css +1 -8
- package/src/styles/functional/functional.css +2 -1
- package/src/styles/functional/grid-flex.css +52 -0
- package/src/styles/typography/prose.css +2 -2
- package/src/styles/utils/utility-classes.css +12 -12
- package/src/widgets/drawer/drawer.module.css +1 -1
- package/src/widgets/modal/modal.module.css +1 -1
- package/src/styles/base/vars.css +0 -189
- package/src/styles/components/card.css +0 -20
- package/src/styles/components/checkbox.css +0 -55
- package/src/styles/components/directional-button.css +0 -92
- package/src/styles/components/dropdown.css +0 -19
- package/src/styles/components/icon-element.css +0 -10
- package/src/styles/components/list-checkbox.css +0 -60
- package/src/styles/components/popover.css +0 -15
- package/src/styles/components/toast.css +0 -18
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
.component--directional-button {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
width: 40px;
|
|
5
|
-
height: 40px;
|
|
6
|
-
text-decoration: none;
|
|
7
|
-
border-style: none;
|
|
8
|
-
border-radius: 20px;
|
|
9
|
-
padding: 0;
|
|
10
|
-
margin: 0;
|
|
11
|
-
outline: none;
|
|
12
|
-
z-index: 20;
|
|
13
|
-
justify-content: center;
|
|
14
|
-
color: white;
|
|
15
|
-
background-color: var(--primary-500);
|
|
16
|
-
transition-property: all, color;
|
|
17
|
-
transition-duration: 0.3s, 1ms;
|
|
18
|
-
transition-timing-function: cubic-bezier(0.25, 0.8, 0.5, 1), ease;
|
|
19
|
-
transition-delay: 0s, 0s;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.component--directional-button span {
|
|
24
|
-
width: 18px;
|
|
25
|
-
padding-bottom: 3px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.component--directional-button span .icon path {
|
|
29
|
-
stroke: none;
|
|
30
|
-
fill: white;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@media screen and (min-width: 587px) {
|
|
34
|
-
.component--directional-button {
|
|
35
|
-
width: 42px;
|
|
36
|
-
height: 42px;
|
|
37
|
-
border-radius: 21px;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.component--directional-button:hover,
|
|
42
|
-
.component--directional-button:focus {
|
|
43
|
-
color: white;
|
|
44
|
-
background-color: var(--primary-500);
|
|
45
|
-
transform: translateY(-5px);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/* Up is default so no need to rotate */
|
|
49
|
-
.component--directional-button.up:hover,
|
|
50
|
-
.component--directional-button.up:focus {
|
|
51
|
-
transform: translateY(-5px);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.component--directional-button.down span,
|
|
55
|
-
.directional-button.down span {
|
|
56
|
-
transform: rotate(180deg);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.component--directional-button.down:hover,
|
|
60
|
-
.component--directional-button.down:focus {
|
|
61
|
-
transform: translateY(5px);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.component--directional-button.left span,
|
|
65
|
-
.component--directional-button.left span {
|
|
66
|
-
transform: rotate(-90deg);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.component--directional-button.left:hover,
|
|
70
|
-
.component--directional-button.left:focus {
|
|
71
|
-
transform: translateX(-5px);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.component--directional-button.right span,
|
|
75
|
-
.component--directional-button.right span {
|
|
76
|
-
transform: rotate(90deg);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.component--directional-button.right:hover,
|
|
80
|
-
.component--directional-button.right:focus {
|
|
81
|
-
transform: translateX(5px);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.dark .component--directional-button {
|
|
85
|
-
background-color: var(--secondary-700);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.dark .component--directional-button:hover,
|
|
89
|
-
.dark .component--directional-button:focus {
|
|
90
|
-
color: white;
|
|
91
|
-
background-color: var(--secondary-700);
|
|
92
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
.dropdown-menu-content[data-side="top"],
|
|
2
|
-
.dropdown-menu-subcontent[data-side="top"] {
|
|
3
|
-
animation: slideDownAndFade 100ms ease-in;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.dropdown-menu-content[data-side="right"],
|
|
7
|
-
.dropdown-menu-subcontent[data-side="right"] {
|
|
8
|
-
animation: slideLeftAndFade 100ms ease-in;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.dropdown-menu-content[data-side="bottom"],
|
|
12
|
-
.dropdown-menu-subcontent[data-side="bottom"] {
|
|
13
|
-
animation: slideUpAndFade 100ms ease-in;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.dropdown-menu-content[data-side="left"],
|
|
17
|
-
.dropdown-menu-subcontent[data-side="left"] {
|
|
18
|
-
animation: slideRightAndFade 100ms ease-in;
|
|
19
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
|
-
|
|
3
|
-
@layer infonomic-components {
|
|
4
|
-
.component--icon-element-root svg {
|
|
5
|
-
display: block;
|
|
6
|
-
margin: auto;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
max-height: 100%;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
ul.check {
|
|
2
|
-
padding-left: 0;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.component--list-item-checkbox {
|
|
6
|
-
position: relative;
|
|
7
|
-
margin-left: 0;
|
|
8
|
-
margin-right: 8px;
|
|
9
|
-
padding-left: 28px;
|
|
10
|
-
padding-right: 24px;
|
|
11
|
-
list-style-type: none;
|
|
12
|
-
outline: none;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@media screen and (min-width: 768px) {
|
|
16
|
-
ul.check {
|
|
17
|
-
padding-left: 1rem;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.component--list-item-checkbox::before {
|
|
22
|
-
content: "";
|
|
23
|
-
width: 16px;
|
|
24
|
-
height: 16px;
|
|
25
|
-
top: 8px;
|
|
26
|
-
left: 0;
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
display: block;
|
|
29
|
-
background-size: cover;
|
|
30
|
-
position: absolute;
|
|
31
|
-
border: 1px solid rgb(125, 125, 125);
|
|
32
|
-
border-radius: 2px;
|
|
33
|
-
background-repeat: no-repeat;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.component--list-item-checkbox-checked {
|
|
37
|
-
text-decoration: line-through;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.component--list-item-checkbox-checked::before {
|
|
41
|
-
border: 1px solid var(--secondary-300);
|
|
42
|
-
background-color: var(--secondary-400);
|
|
43
|
-
background-repeat: no-repeat;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.component--list-item-checkbox-checked::after {
|
|
47
|
-
content: "";
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
border-color: #fff;
|
|
50
|
-
border-style: solid;
|
|
51
|
-
position: absolute;
|
|
52
|
-
display: block;
|
|
53
|
-
top: 11px;
|
|
54
|
-
width: 4px;
|
|
55
|
-
left: 6px;
|
|
56
|
-
right: 7px;
|
|
57
|
-
height: 8px;
|
|
58
|
-
transform: rotate(45deg);
|
|
59
|
-
border-width: 0 2px 2px 0;
|
|
60
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
.popover-content[data-state="open"][data-side="top"] {
|
|
2
|
-
animation: slideDownAndFade 100ms ease-in;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.popover-content[data-state="open"][data-side="right"] {
|
|
6
|
-
animation: slideLeftAndFade 100ms ease-in;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.popover-content[data-state="open"][data-side="bottom"] {
|
|
10
|
-
animation: slideUpAndFade 100ms ease-in;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.popover-content[data-state="open"][data-side="left"] {
|
|
14
|
-
animation: slideRightAndFade 100ms ease-in;
|
|
15
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/* styles.css */
|
|
2
|
-
|
|
3
|
-
.toast-viewport {
|
|
4
|
-
--viewport-padding: 25px;
|
|
5
|
-
position: fixed;
|
|
6
|
-
bottom: 0;
|
|
7
|
-
right: 0;
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
padding: var(--viewport-padding);
|
|
11
|
-
gap: 10px;
|
|
12
|
-
width: 100vw;
|
|
13
|
-
max-width: 100vw;
|
|
14
|
-
margin: 0;
|
|
15
|
-
list-style: none;
|
|
16
|
-
z-index: 2147483647;
|
|
17
|
-
outline: none;
|
|
18
|
-
}
|