@newlogic-digital/ui 3.4.2 → 3.7.5
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/README.md +21 -15
- package/package.json +32 -24
- package/src/data/main.json +25 -15
- package/src/emails/styles/main/+.css +3 -0
- package/src/emails/styles/main/Base/+.css +2 -0
- package/src/emails/styles/main/Base/config.css +22 -0
- package/src/emails/styles/main/Components/+.css +1 -0
- package/src/emails/styles/main/Components/Card.css +12 -0
- package/src/emails/styles/main/Ui/+.css +3 -0
- package/src/emails/styles/main/Ui/Btn.css +78 -0
- package/src/emails/styles/main/Ui/Heading.css +8 -0
- package/src/emails/styles/main/Ui/Text.css +12 -0
- package/src/emails/styles/main.css +92 -0
- package/src/emails/{templates/Layout.twig → templates.test/Layout.latte} +17 -5
- package/src/emails/templates.test/Sections/Footer.latte +22 -0
- package/src/emails/templates.test/Sections/Header.latte +37 -0
- package/src/emails/templates.test/Sections/Text.latte +24 -0
- package/src/icons.svg +27 -21
- package/src/scripts/Components/+.js +2 -1
- package/src/scripts/Components/Drawer.js +60 -0
- package/src/scripts/Components/Popover.js +65 -0
- package/src/scripts/Layout/+.js +0 -1
- package/src/scripts/Layout/Header.js +14 -24
- package/src/scripts/Libraries/+.js +4 -8
- package/src/scripts/Libraries/CookieConsent.js +65 -52
- package/src/scripts/Libraries/Dialog.js +19 -36
- package/src/scripts/Libraries/Form.js +5 -25
- package/src/scripts/Libraries/Naja.js +22 -20
- package/src/scripts/Libraries/ReCaptcha.js +8 -30
- package/src/scripts/Libraries/Reveal.js +32 -0
- package/src/scripts/Libraries/Ripple.js +6 -22
- package/src/scripts/Libraries/Stimulus.js +49 -5
- package/src/scripts/Libraries/Swup.js +45 -32
- package/src/scripts/Libraries/Toaster.js +55 -0
- package/src/scripts/Ui/+.js +3 -3
- package/src/scripts/Ui/Check.js +8 -0
- package/src/scripts/Ui/Control.js +194 -0
- package/src/scripts/Ui/ControlSelect.js +25 -0
- package/src/scripts/Ui/Text.js +9 -11
- package/src/scripts/Utils/+.js +3 -3
- package/src/scripts/Utils/cdn.js +1 -3
- package/src/scripts/Utils/initAfter.js +11 -0
- package/src/scripts/Utils/naja.js +41 -0
- package/src/scripts/Utils/utilities.js +8 -0
- package/src/scripts/main.js +2 -1
- package/src/styles/Components/+.css +4 -3
- package/src/styles/Components/Dialog/+.css +2 -0
- package/src/styles/Components/Dialog/Content.css +2 -0
- package/src/styles/Components/Dialog/CookieConsent.css +17 -0
- package/src/styles/Components/Dialog/Default.css +2 -43
- package/src/styles/Components/Drawer.css +18 -0
- package/src/styles/Components/Field.css +1 -0
- package/src/styles/Components/Popover.css +1 -0
- package/src/styles/Components/Toaster.css +2 -0
- package/src/styles/Layout/Header.css +9 -45
- package/src/styles/Layout/Main.css +11 -75
- package/src/styles/Layout/Nav.css +13 -33
- package/src/styles/Libraries/+.css +1 -7
- package/src/styles/Libraries/Datepicker.css +38 -229
- package/src/styles/Libraries/Pickr.css +13 -0
- package/src/styles/Ui/+.css +5 -5
- package/src/styles/Ui/Badge.css +8 -82
- package/src/styles/Ui/Btn.css +14 -226
- package/src/styles/Ui/Check.css +1 -0
- package/src/styles/Ui/Control.css +57 -0
- package/src/styles/Ui/ControlSelect.css +57 -0
- package/src/styles/Ui/Group.css +1 -0
- package/src/styles/Ui/Heading.css +4 -22
- package/src/styles/Ui/Image.css +1 -17
- package/src/styles/Ui/Info.css +1 -0
- package/src/styles/Ui/Label.css +1 -14
- package/src/styles/Ui/Link.css +6 -39
- package/src/styles/Ui/Notice.css +5 -43
- package/src/styles/Ui/Progress.css +1 -56
- package/src/styles/Ui/Switch.css +1 -70
- package/src/styles/Ui/Text.css +1 -254
- package/src/styles/Ui/Title.css +4 -15
- package/src/styles/Utils/+.css +6 -10
- package/src/styles/Utils/breakpoints.css +1 -9
- package/src/styles/Utils/config.css +16 -0
- package/src/styles/Utils/default.css +15 -26
- package/src/styles/Utils/keyframes.css +1 -182
- package/src/styles/Utils/theme/+.css +1 -1
- package/src/styles/Utils/theme/main.css +28 -23
- package/src/styles/Utils/utilities.css +42 -0
- package/src/styles/main.css +16 -14
- package/src/styles/tinymce.css +34 -0
- package/src/templates/Components/Dialog/Basic.latte +24 -0
- package/src/templates/Components/Dialog/CookieConsent.latte +27 -0
- package/src/templates/Components/Form/CookieConsent.latte +47 -0
- package/src/templates/Layout/Header.latte +38 -0
- package/src/templates/Layout/Main.latte +73 -0
- package/src/templates/Sections/CookieConsent.latte +69 -0
- package/src/templates/Sections/Site.latte +213 -0
- package/src/templates/Sections/Text.latte +64 -0
- package/src/templates/Sections/Ui/Docs/@intro.html +16 -65
- package/src/templates/Sections/Ui/Docs/@nav.html +68 -129
- package/src/templates/Sections/Ui/Docs/@styles.html +3 -7
- package/src/templates/Sections/Ui/Docs/Default.latte +979 -0
- package/src/templates/Sections/Ui/Icons.html +11 -9
- package/src/templates/Sections/Ui/Intro.html +62 -79
- package/src/templates/Sections/Ui.latte +8 -0
- package/src/templates/Ui/+.latte +5 -0
- package/src/templates/Ui/Check.latte +7 -0
- package/src/templates/Ui/Control.latte +9 -0
- package/src/templates/Ui/ControlDate.latte +14 -0
- package/src/templates/Ui/ControlSelect.latte +9 -0
- package/src/templates/Ui/ControlTime.latte +14 -0
- package/src/templates/Utils/sections.latte +3 -0
- package/src/views/dialog/basic.json.latte +5 -0
- package/src/views/email/email.latte +6 -0
- package/src/views/email/email.test.latte +6 -0
- package/src/views/gdpr.json +6 -4
- package/src/views/index.json +1 -1
- package/src/views/popover/info.json.latte +15 -0
- package/src/views/site.json +11 -0
- package/src/views/ui-icons.json +1 -1
- package/src/views/ui.json +1 -1
- package/vite.config.js +17 -16
- package/src/emails/styles/email.css +0 -77
- package/src/emails/templates/Content.twig +0 -16
- package/src/emails/templates/Header.twig +0 -14
- package/src/scripts/Components/CookieConsent.js +0 -83
- package/src/scripts/Layout/Main.js +0 -47
- package/src/scripts/Libraries/Anchor.js +0 -35
- package/src/scripts/Libraries/Drawer.js +0 -45
- package/src/scripts/Libraries/NativeSlider.js +0 -138
- package/src/scripts/Libraries/Script.js +0 -19
- package/src/scripts/Libraries/Tabs.js +0 -16
- package/src/scripts/Libraries/Tippy.js +0 -120
- package/src/scripts/Ui/Checkbox.js +0 -10
- package/src/scripts/Ui/Input.js +0 -259
- package/src/scripts/Ui/Select.js +0 -53
- package/src/scripts/Utils/Functions/+.js +0 -6
- package/src/scripts/Utils/Functions/checkValidity.js +0 -44
- package/src/scripts/Utils/Functions/dataValue.js +0 -52
- package/src/scripts/Utils/Functions/importScript.js +0 -17
- package/src/scripts/Utils/Functions/importStyle.js +0 -18
- package/src/scripts/Utils/Functions/loadStimulus.js +0 -42
- package/src/scripts/Utils/Functions/replaceTag.js +0 -12
- package/src/scripts/Utils/global.js +0 -15
- package/src/styles/Components/CookieConsent.css +0 -71
- package/src/styles/Components/Dropdown/+.css +0 -1
- package/src/styles/Components/Dropdown/Default.css +0 -5
- package/src/styles/Components/Form/+.css +0 -1
- package/src/styles/Components/Form/CookieConsent.css +0 -31
- package/src/styles/Libraries/Dialog.css +0 -35
- package/src/styles/Libraries/Drawer.css +0 -70
- package/src/styles/Libraries/Hint.css +0 -201
- package/src/styles/Libraries/NativeSlider.css +0 -60
- package/src/styles/Libraries/Ripple.css +0 -16
- package/src/styles/Libraries/Tabs.css +0 -19
- package/src/styles/Libraries/Tippy.css +0 -87
- package/src/styles/Ui/Checkbox.css +0 -150
- package/src/styles/Ui/Icon.css +0 -33
- package/src/styles/Ui/Input.css +0 -467
- package/src/styles/Ui/Radio.css +0 -4
- package/src/styles/Ui/Select.css +0 -137
- package/src/styles/Utils/icons.css +0 -9
- package/src/styles/Utils/normalize.css +0 -223
- package/src/styles/Utils/tailwind/+.css +0 -3
- package/src/styles/Utils/tailwind/base.css +0 -3
- package/src/styles/Utils/tailwind/gutters.css +0 -346
- package/src/styles/Utils/tailwind/utilities.css +0 -48
- package/src/styles/Utils/vars.css +0 -91
- package/src/styles/Utils/vendor.css +0 -2
- package/src/templates/Components/CookieConsent.twig +0 -30
- package/src/templates/Components/Dialogs/Basic.twig +0 -22
- package/src/templates/Layout/Header.twig +0 -42
- package/src/templates/Layout/Main.twig +0 -49
- package/src/templates/Sections/Gdpr.twig +0 -64
- package/src/templates/Sections/Ui/Docs/Default.twig +0 -1600
- package/src/templates/Sections/Ui.twig +0 -8
- package/src/templates/Utils/sections.twig +0 -3
- package/src/views/dialog/basic.json.twig +0 -3
- package/src/views/dropdown/tippy.json.twig +0 -16
- package/src/views/email/email.twig +0 -6
- /package/src/{styles/Utils/print.css → emails/styles/main/Base/font.css} +0 -0
- /package/src/{templates/Components/Items → emails/templates}/.gitkeep +0 -0
- /package/src/templates/Layout/{Footer.twig → Footer.latte} +0 -0
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
.lib-dialog {
|
|
2
|
-
--lib-ripple-bg: rgb(var(--color-dark) / var(--tw-bg-opacity, 0.8));
|
|
3
|
-
--lib-dialog-py: 2rem;
|
|
4
|
-
--lib-dialog-px: 1.5rem;
|
|
5
|
-
--lib-dialog-animation-duration: 0.3s;
|
|
6
|
-
|
|
7
|
-
inset: 0;
|
|
8
|
-
z-index: var(--z-30);
|
|
9
|
-
position: fixed;
|
|
10
|
-
overflow: auto;
|
|
11
|
-
-webkit-overflow-scrolling: touch;
|
|
12
|
-
background-color: var(--lib-ripple-bg);
|
|
13
|
-
overscroll-behavior: contain;
|
|
14
|
-
display: flex;
|
|
15
|
-
visibility: hidden;
|
|
16
|
-
padding: var(--lib-dialog-py) var(--lib-dialog-px);
|
|
17
|
-
|
|
18
|
-
&:not([open]) {
|
|
19
|
-
animation: var(--lib-dialog-animation-duration) ease 0s forwards 1 fade-out;
|
|
20
|
-
pointer-events: none;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&[open] {
|
|
24
|
-
animation: var(--lib-dialog-animation-duration) ease 0s backwards 1 fade-in;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@nest .is-lib-dialog-open & {
|
|
28
|
-
visibility: visible;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.is-lib-dialog-open {
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
padding-right: var(--lib-dialog-scrollbar-width, 0);
|
|
35
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
.lib-drawer {
|
|
2
|
-
--lib-drawer-opacity: 0;
|
|
3
|
-
|
|
4
|
-
z-index: var(--z-30);
|
|
5
|
-
width: 100%;
|
|
6
|
-
height: 100%;
|
|
7
|
-
position: fixed;
|
|
8
|
-
inset: 0;
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: row;
|
|
12
|
-
|
|
13
|
-
& > div {
|
|
14
|
-
scroll-snap-align: end;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&[data-action*="scroll"] {
|
|
18
|
-
overflow-x: auto;
|
|
19
|
-
overflow-y: hidden;
|
|
20
|
-
-webkit-overflow-scrolling: touch;
|
|
21
|
-
user-select: none;
|
|
22
|
-
scrollbar-width: none;
|
|
23
|
-
-ms-overflow-style: none;
|
|
24
|
-
|
|
25
|
-
&:--state-active {
|
|
26
|
-
scroll-snap-type: x proximity;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&::-webkit-scrollbar {
|
|
30
|
-
width: 0;
|
|
31
|
-
height: 0;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&::before {
|
|
36
|
-
position: fixed;
|
|
37
|
-
inset: 0;
|
|
38
|
-
z-index: -1;
|
|
39
|
-
background-color: rgb(var(--color-dark) / 0.6);
|
|
40
|
-
content: "";
|
|
41
|
-
opacity: var(--lib-drawer-opacity);
|
|
42
|
-
|
|
43
|
-
@nest .is-opacity& {
|
|
44
|
-
transition: var(--transition-opacity);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@nest :not(:--state-active)& {
|
|
48
|
-
opacity: 0;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&:not(:--state-active) {
|
|
53
|
-
pointer-events: none;
|
|
54
|
-
|
|
55
|
-
& > div {
|
|
56
|
-
transform: translateX(-28.125rem);
|
|
57
|
-
|
|
58
|
-
@media (--media-m) {
|
|
59
|
-
transform: translateX(-22.5rem);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&::after {
|
|
65
|
-
content: "";
|
|
66
|
-
display: block;
|
|
67
|
-
min-width: 100vw;
|
|
68
|
-
scroll-snap-align: end;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
[class*="lib-hint-"] {
|
|
2
|
-
--lib-hint-bg: var(--color-dark);
|
|
3
|
-
--lib-hint-fg: var(--color-light);
|
|
4
|
-
|
|
5
|
-
position: relative;
|
|
6
|
-
text-align: center;
|
|
7
|
-
|
|
8
|
-
@nest .dark & {
|
|
9
|
-
--lib-hint-bg: var(--color-background-200);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&.lib-hint-light {
|
|
13
|
-
--lib-hint-bg: var(--color-light);
|
|
14
|
-
--lib-hint-fg: var(--color-dark);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&.lib-hint-error {
|
|
18
|
-
--lib-hint-bg: var(--color-error);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&.lib-hint-warning {
|
|
22
|
-
--lib-hint-bg: var(--color-warning);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&.lib-hint-info {
|
|
26
|
-
--lib-hint-bg: var(--color-info);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.lib-hint-success {
|
|
30
|
-
--lib-hint-bg: var(--color-success);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&::before, &::after {
|
|
34
|
-
position: absolute;
|
|
35
|
-
visibility: hidden;
|
|
36
|
-
opacity: 0;
|
|
37
|
-
z-index: var(--z-10);
|
|
38
|
-
pointer-events: none;
|
|
39
|
-
transition: var(--transition) ease;
|
|
40
|
-
transition-delay: 0ms;
|
|
41
|
-
will-change: transform;
|
|
42
|
-
backface-visibility: hidden;
|
|
43
|
-
|
|
44
|
-
@nest :is(:hover, :focus-visible)& {
|
|
45
|
-
visibility: visible;
|
|
46
|
-
opacity: 1;
|
|
47
|
-
transition-delay: 100ms;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&::before {
|
|
52
|
-
content: "";
|
|
53
|
-
position: absolute;
|
|
54
|
-
background-color: transparent;
|
|
55
|
-
border: 0.375rem solid transparent;
|
|
56
|
-
z-index: var(--z-20);
|
|
57
|
-
|
|
58
|
-
@nest [class*="lib-hint-top"]& {
|
|
59
|
-
border-top-color: rgb(var(--lib-hint-bg));
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@nest [class*="lib-hint-bottom"]& {
|
|
63
|
-
border-bottom-color: rgb(var(--lib-hint-bg));
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@nest [class*="lib-hint-left"]& {
|
|
67
|
-
border-left-color: rgb(var(--lib-hint-bg));
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
@nest [class*="lib-hint-right"]& {
|
|
71
|
-
border-right-color: rgb(var(--lib-hint-bg));
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&::after {
|
|
76
|
-
border-radius: var(--radius);
|
|
77
|
-
background-color: rgb(var(--lib-hint-bg));
|
|
78
|
-
color: rgb(var(--lib-hint-fg));
|
|
79
|
-
padding: 0.75rem;
|
|
80
|
-
font-size: 0.875rem;
|
|
81
|
-
font-family: inherit;
|
|
82
|
-
line-height: 0.875rem;
|
|
83
|
-
white-space: nowrap;
|
|
84
|
-
box-shadow: 0.25rem 0.25rem 0.5rem rgb(var(--lib-hint-bg) / 0.15);
|
|
85
|
-
font-weight: var(--font-normal);
|
|
86
|
-
|
|
87
|
-
@nest .lib-hint-light& {
|
|
88
|
-
box-shadow: 0.25rem 0.25rem 0.5rem rgb(var(--color-dark) / 0.15);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
@nest [aria-label]& {
|
|
92
|
-
content: attr(aria-label);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
@nest :is(.lib-hint-sm, .lib-hint-md, .lib-hint-lg)& {
|
|
96
|
-
white-space: normal;
|
|
97
|
-
line-height: 1.5;
|
|
98
|
-
word-wrap: break-word;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
@nest .lib-hint-sm& {
|
|
102
|
-
width: 5rem;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
@nest .lib-hint-md& {
|
|
106
|
-
width: 10rem;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@nest .lib-hint-lg& {
|
|
110
|
-
width: 15rem;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&.lib-hint-top {
|
|
115
|
-
&::before, &::after {
|
|
116
|
-
bottom: 100%;
|
|
117
|
-
left: 50%;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&::before {
|
|
121
|
-
left: calc(50% - 0.375rem);
|
|
122
|
-
margin-bottom: -0.6875rem;
|
|
123
|
-
|
|
124
|
-
@nest :is(:hover, :focus-visible)& {
|
|
125
|
-
transform: translateY(-0.5rem);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
&::after {
|
|
130
|
-
transform: translateX(-50%);
|
|
131
|
-
|
|
132
|
-
@nest :is(:hover, :focus-visible)& {
|
|
133
|
-
transform: translateX(-50%) translateY(-0.5rem);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&.lib-hint-bottom {
|
|
139
|
-
&::before, &::after {
|
|
140
|
-
top: 100%;
|
|
141
|
-
left: 50%;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
&::before {
|
|
145
|
-
left: calc(50% - 0.375rem);
|
|
146
|
-
margin-top: -0.6875rem;
|
|
147
|
-
|
|
148
|
-
@nest :hover& {
|
|
149
|
-
transform: translateY(0.5rem);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
&::after {
|
|
154
|
-
transform: translateX(-50%);
|
|
155
|
-
|
|
156
|
-
@nest :hover& {
|
|
157
|
-
transform: translateX(-50%) translateY(0.5rem);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
&.lib-hint-right {
|
|
163
|
-
&::before, &::after {
|
|
164
|
-
left: 100%;
|
|
165
|
-
bottom: 50%;
|
|
166
|
-
|
|
167
|
-
@nest :hover& {
|
|
168
|
-
transform: translateX(0.5rem);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
&::before {
|
|
173
|
-
margin-left: -0.6875rem;
|
|
174
|
-
margin-bottom: -0.375rem;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
&::after {
|
|
178
|
-
margin-bottom: -1.1875rem;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
&.lib-hint-left {
|
|
183
|
-
&::before, &::after {
|
|
184
|
-
right: 100%;
|
|
185
|
-
bottom: 50%;
|
|
186
|
-
|
|
187
|
-
@nest :hover& {
|
|
188
|
-
transform: translateX(-0.5rem);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
&::before {
|
|
193
|
-
margin-right: -0.6875rem;
|
|
194
|
-
margin-bottom: -0.375rem;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
&::after {
|
|
198
|
-
margin-bottom: -1.1875rem;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
[data-lib-ns] {
|
|
2
|
-
overflow-x: auto;
|
|
3
|
-
overflow-y: hidden;
|
|
4
|
-
-webkit-overflow-scrolling: touch;
|
|
5
|
-
user-select: none;
|
|
6
|
-
scrollbar-width: none !important;
|
|
7
|
-
-ms-overflow-style: none;
|
|
8
|
-
|
|
9
|
-
& > * {
|
|
10
|
-
flex: 0 0 auto;
|
|
11
|
-
scroll-snap-align: start;
|
|
12
|
-
|
|
13
|
-
@nest .is-fade& {
|
|
14
|
-
opacity: 0;
|
|
15
|
-
transition: var(--transition-opacity);
|
|
16
|
-
|
|
17
|
-
&[data-state="active"] {
|
|
18
|
-
opacity: 1;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&::-webkit-scrollbar {
|
|
24
|
-
display: none !important;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&:not(.is-fade, .is-grabbing) {
|
|
28
|
-
scroll-behavior: smooth;
|
|
29
|
-
scroll-snap-type: x mandatory;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&.is-grabbing {
|
|
33
|
-
&, & * {
|
|
34
|
-
cursor: grabbing;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
& a {
|
|
38
|
-
pointer-events: none;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
[data-lib-ns-nav-item] {
|
|
44
|
-
width: 0.75rem;
|
|
45
|
-
height: 0.75rem;
|
|
46
|
-
border: 0.125rem solid rgb(var(--color-current));
|
|
47
|
-
border-radius: 50%;
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
position: relative;
|
|
50
|
-
|
|
51
|
-
&::after {
|
|
52
|
-
position: absolute;
|
|
53
|
-
inset: -0.5rem;
|
|
54
|
-
content: "";
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&[data-state*="active"] {
|
|
58
|
-
background-color: rgb(var(--color-current));
|
|
59
|
-
}
|
|
60
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
[data-action*="lib#ripple"] {
|
|
2
|
-
position: relative;
|
|
3
|
-
user-select: none;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.lib-ripple {
|
|
7
|
-
--lib-ripple-animation-duration: 1s;
|
|
8
|
-
--lib-ripple-bg: rgb(var(--color-background) / var(--tw-bg-opacity, 0.4));
|
|
9
|
-
|
|
10
|
-
position: absolute;
|
|
11
|
-
background: var(--lib-ripple-bg);
|
|
12
|
-
border-radius: 50%;
|
|
13
|
-
transform: scale(0);
|
|
14
|
-
animation-duration: var(--lib-ripple-animation-duration);
|
|
15
|
-
pointer-events: none;
|
|
16
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
[data-controller="lib-tabs"] {
|
|
2
|
-
& [data-lib-tabs-nav] {
|
|
3
|
-
& [data-lib-tabs-item][data-state="active"] {
|
|
4
|
-
cursor: default;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
& [data-lib-tabs-area] {
|
|
9
|
-
& > [data-lib-tabs-item] {
|
|
10
|
-
animation: 0.3s ease 0s backwards 1 fade-out;
|
|
11
|
-
display: none;
|
|
12
|
-
|
|
13
|
-
&:--state-active {
|
|
14
|
-
animation: 0.3s ease 0s backwards 1 fade-in;
|
|
15
|
-
display: block;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
.tippy-content {
|
|
2
|
-
padding: 0;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.tippy-box {
|
|
6
|
-
--lib-tippy-bg: var(--color-dark);
|
|
7
|
-
|
|
8
|
-
&[data-theme~="light-border"] {
|
|
9
|
-
background-color: rgb(var(--color-background));
|
|
10
|
-
background-clip: padding-box;
|
|
11
|
-
border: 1px solid rgb(0 8 16 / 0.05);
|
|
12
|
-
color: rgb(var(--color-default));
|
|
13
|
-
box-shadow: 0 3px 14px -0.5px rgb(0 8 16 / 0.08);
|
|
14
|
-
border-radius: var(--radius);
|
|
15
|
-
left: 0.1875rem;
|
|
16
|
-
|
|
17
|
-
@nest .dark & {
|
|
18
|
-
--color-background: var(--color-background-200);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
& .tippy-svg-arrow {
|
|
22
|
-
fill: rgb(var(--color-background));
|
|
23
|
-
|
|
24
|
-
&::after {
|
|
25
|
-
opacity: 0.3;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&[data-placement="bottom-end"] {
|
|
31
|
-
&[data-animation="scale"] {
|
|
32
|
-
transform-origin: top right;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
& .tippy-svg-arrow {
|
|
36
|
-
left: auto !important;
|
|
37
|
-
right: 0.5rem;
|
|
38
|
-
transform: none !important;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&[data-placement="bottom-start"] {
|
|
43
|
-
&[data-animation="scale"] {
|
|
44
|
-
transform-origin: top left;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
[data-controller*="lib-tippy"]:not([data-lib-tippy^="dropdown"]) {
|
|
50
|
-
cursor: default;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
[data-tippy-root] {
|
|
54
|
-
&.is-full {
|
|
55
|
-
@media (--media-m) {
|
|
56
|
-
inset: 0 !important;
|
|
57
|
-
width: 100% !important;
|
|
58
|
-
height: 100% !important;
|
|
59
|
-
position: fixed !important;
|
|
60
|
-
transform: none !important;
|
|
61
|
-
pointer-events: none;
|
|
62
|
-
max-width: 100%;
|
|
63
|
-
|
|
64
|
-
& .tippy-content {
|
|
65
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
66
|
-
pointer-events: auto;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
& .tippy-box {
|
|
70
|
-
max-width: 100% !important;
|
|
71
|
-
position: absolute;
|
|
72
|
-
border: 0 !important;
|
|
73
|
-
bottom: 0;
|
|
74
|
-
left: 0 !important;
|
|
75
|
-
right: 0;
|
|
76
|
-
border-radius: 2rem 2rem 0 0 !important;
|
|
77
|
-
transition-timing-function: ease !important;
|
|
78
|
-
transition-duration: 300ms !important;
|
|
79
|
-
|
|
80
|
-
&[data-state="hidden"] {
|
|
81
|
-
transform: translateY(100%);
|
|
82
|
-
opacity: 0;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
.ui-checkbox, .ui-radio {
|
|
2
|
-
--ui-checkbox-width: 1.25rem;
|
|
3
|
-
--ui-checkbox-size: 0.875rem;
|
|
4
|
-
--ui-checkbox-bg-opacity: 0.1;
|
|
5
|
-
--ui-checkbox-bg-raw: var(--color-background);
|
|
6
|
-
--ui-checkbox-border-opacity: 0.3;
|
|
7
|
-
--ui-checkbox-border-color-raw: var(--color-current);
|
|
8
|
-
--ui-checkbox-checked-bg: rgb(var(--ui-checkbox-checked-bg-raw));
|
|
9
|
-
--ui-checkbox-checked-bg-raw: var(--color-accent);
|
|
10
|
-
--ui-checkbox-checked-fg: rgb(var(--color-light));
|
|
11
|
-
--ui-checkbox-color: currentColor;
|
|
12
|
-
--ui-checkbox-radius: 0.375rem;
|
|
13
|
-
--ui-checkbox-icon: var(--icon-check);
|
|
14
|
-
--ui-checkbox-icon-size: 1.125rem;
|
|
15
|
-
--ui-checkbox-validity-size: 0.875rem;
|
|
16
|
-
--ui-checkbox-validity-offset: 0.375rem;
|
|
17
|
-
|
|
18
|
-
transition: var(--transition-color);
|
|
19
|
-
display: inline-flex;
|
|
20
|
-
flex-wrap: wrap;
|
|
21
|
-
align-self: flex-start;
|
|
22
|
-
position: relative;
|
|
23
|
-
user-select: none;
|
|
24
|
-
font-size: var(--ui-checkbox-size);
|
|
25
|
-
z-index: 1;
|
|
26
|
-
color: var(--ui-checkbox-color);
|
|
27
|
-
|
|
28
|
-
&[disabled] {
|
|
29
|
-
pointer-events: none;
|
|
30
|
-
opacity: 0.5;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@nest .text-light & {
|
|
34
|
-
--ui-checkbox-border-color-raw: var(--color-light);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&:--theme-light {
|
|
38
|
-
--ui-checkbox-checked-fg: rgb(var(--color-light));
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&:--theme-dark {
|
|
42
|
-
--ui-checkbox-checked-fg: rgb(var(--color-dark));
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&:--state-invalid {
|
|
46
|
-
--ui-checkbox-border-color-raw: var(--color-error);
|
|
47
|
-
--ui-checkbox-color: rgb(var(--color-error));
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
& em {
|
|
51
|
-
display: block;
|
|
52
|
-
width: 100%;
|
|
53
|
-
font-size: var(--ui-checkbox-validity-size);
|
|
54
|
-
color: rgb(var(--color-error));
|
|
55
|
-
font-style: normal;
|
|
56
|
-
margin-top: var(--ui-checkbox-validity-offset);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
& input {
|
|
60
|
-
position: relative;
|
|
61
|
-
display: inline-flex;
|
|
62
|
-
appearance: none;
|
|
63
|
-
height: var(--ui-checkbox-width);
|
|
64
|
-
width: var(--ui-checkbox-width);
|
|
65
|
-
background-color: rgb(var(--ui-checkbox-bg-raw) / var(--ui-checkbox-bg-opacity));
|
|
66
|
-
border: 1px solid rgb(var(--ui-checkbox-border-color-raw) / var(--ui-checkbox-border-opacity));
|
|
67
|
-
border-radius: var(--ui-checkbox-radius);
|
|
68
|
-
cursor: pointer;
|
|
69
|
-
outline: none;
|
|
70
|
-
justify-content: center;
|
|
71
|
-
align-items: center;
|
|
72
|
-
transition: var(--transition-border), var(--transition-background), var(--transition-shadow);
|
|
73
|
-
|
|
74
|
-
&::before {
|
|
75
|
-
line-height: var(--ui-checkbox-icon-size);
|
|
76
|
-
font-size: var(--ui-checkbox-icon-size);
|
|
77
|
-
text-indent: 0;
|
|
78
|
-
display: block;
|
|
79
|
-
transition: var(--transition-color), var(--transition-opacity), var(--transition-transform);
|
|
80
|
-
color: var(--ui-checkbox-checked-fg);
|
|
81
|
-
content: "";
|
|
82
|
-
background-color: currentColor;
|
|
83
|
-
mask: var(--ui-checkbox-icon);
|
|
84
|
-
transform: scale(0);
|
|
85
|
-
will-change: transform;
|
|
86
|
-
width: 1em;
|
|
87
|
-
height: 1em;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&:not(:only-child) {
|
|
91
|
-
margin-right: 0.75rem;
|
|
92
|
-
|
|
93
|
-
@nest .flex-row-reverse& {
|
|
94
|
-
margin-right: 0;
|
|
95
|
-
margin-left: 0.75rem;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&:is(:hover, :focus-visible) {
|
|
100
|
-
--ui-checkbox-bg-raw: var(--ui-checkbox-checked-bg-raw);
|
|
101
|
-
--ui-checkbox-border-color-raw: var(--ui-checkbox-checked-bg-raw);
|
|
102
|
-
--ui-checkbox-border-opacity: 0.75;
|
|
103
|
-
--ui-checkbox-bg-opacity: 0.1;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&:checked {
|
|
107
|
-
--ui-checkbox-border-opacity: 0;
|
|
108
|
-
|
|
109
|
-
background-color: var(--ui-checkbox-checked-bg);
|
|
110
|
-
|
|
111
|
-
&:focus {
|
|
112
|
-
box-shadow:
|
|
113
|
-
0 0 0 0 rgb(var(--color-current)),
|
|
114
|
-
0 0 0 3px rgb(var(--ui-checkbox-checked-bg-raw) / 0.15),
|
|
115
|
-
0 1px 2px 0 rgb(var(--color-current) / 0.05);
|
|
116
|
-
|
|
117
|
-
@nest .dark & {
|
|
118
|
-
box-shadow:
|
|
119
|
-
0 0 0 0 rgb(var(--color-current)),
|
|
120
|
-
0 0 0 3px rgb(var(--ui-checkbox-checked-bg-raw) / 0.3),
|
|
121
|
-
0 1px 2px 0 rgb(var(--color-current) / 0.05);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&::before {
|
|
126
|
-
opacity: 1;
|
|
127
|
-
transform: scale(1);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&[required] {
|
|
132
|
-
& + * {
|
|
133
|
-
&::after {
|
|
134
|
-
color: rgb(var(--color-error));
|
|
135
|
-
content: " *";
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
& a {
|
|
142
|
-
text-decoration: underline;
|
|
143
|
-
transition: var(--transition-opacity);
|
|
144
|
-
color: rgb(var(--color-accent));
|
|
145
|
-
|
|
146
|
-
@nest .no-touch &[href]:is(:hover, :focus-visible) {
|
|
147
|
-
opacity: 0.8;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|
package/src/styles/Ui/Icon.css
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
.ui-icon {
|
|
2
|
-
--ui-icon-hover-opacity: 0.7;
|
|
3
|
-
--ui-icon-size: 1.25rem;
|
|
4
|
-
|
|
5
|
-
display: inline-flex;
|
|
6
|
-
position: relative;
|
|
7
|
-
font-size: var(--ui-icon-size);
|
|
8
|
-
|
|
9
|
-
&, & svg {
|
|
10
|
-
width: 1em;
|
|
11
|
-
height: 1em;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
& > * {
|
|
15
|
-
transition: var(--transition-opacity);
|
|
16
|
-
|
|
17
|
-
@nest .no-touch :is([href], button):is(:hover, :focus-visible)& {
|
|
18
|
-
opacity: var(--ui-icon-hover-opacity);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.ui-icon-text {
|
|
24
|
-
--ui-icon-hover-opacity: 0.7;
|
|
25
|
-
|
|
26
|
-
display: inline-flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
transition: var(--transition-opacity), var(--transition-color);
|
|
29
|
-
|
|
30
|
-
@nest .no-touch &:is([href], button):is(:hover, :focus-visible) {
|
|
31
|
-
opacity: var(--ui-icon-hover-opacity);
|
|
32
|
-
}
|
|
33
|
-
}
|