@incodetech/web 2.0.0-alpha.3 → 2.0.0-alpha.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/dist/{styles/core.css → base.css} +53 -57
- package/dist/email/email.es.js +1 -1
- package/dist/email/styles.css +11 -11
- package/dist/flow/styles.css +688 -1
- package/dist/{incodeModule-BF5MX9GT.js → incodeModule-DFQUQvfY.js} +10 -10
- package/dist/index.es.js +18 -18
- package/dist/phone/phone.es.js +1 -1
- package/dist/phone/styles.css +31 -31
- package/dist/selfie/selfie.es.js +16 -16
- package/dist/selfie/styles.css +0 -51
- package/dist/themes/dark.css +652 -0
- package/dist/types/dark.d.ts +1 -0
- package/dist/types/light.d.ts +1 -0
- package/dist/types/themes/light.d.ts +1 -0
- package/package.json +9 -6
- package/dist/asset-manifest.json +0 -18
- /package/dist/{styles/tokens.css → themes/light.css} +0 -0
- /package/dist/types/{core.d.ts → base.d.ts} +0 -0
- /package/dist/types/{styles/core.d.ts → themes/dark.d.ts} +0 -0
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
@layer incode-theme, incode-base, incode-components;
|
|
5
|
-
|
|
6
1
|
/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
|
|
7
|
-
|
|
8
2
|
@layer properties {
|
|
9
3
|
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
10
4
|
*, :before, :after, ::backdrop {
|
|
@@ -46,6 +40,59 @@
|
|
|
46
40
|
}
|
|
47
41
|
}
|
|
48
42
|
|
|
43
|
+
.IncodeComponent, .IncodeComponent * {
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.IncodeComponent {
|
|
48
|
+
font-family: var(--primitive-typography-family-dm-sans), sans-serif;
|
|
49
|
+
-webkit-font-smoothing: antialiased;
|
|
50
|
+
-moz-osx-font-smoothing: grayscale;
|
|
51
|
+
text-rendering: optimizeLegibility;
|
|
52
|
+
color: var(--text-body-primary);
|
|
53
|
+
width: 100%;
|
|
54
|
+
height: 100%;
|
|
55
|
+
margin: 0;
|
|
56
|
+
padding: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.IncodeComponent *, .IncodeComponent :after, .IncodeComponent :before, .IncodeComponent ::backdrop {
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
border: 0 solid;
|
|
62
|
+
margin: 0;
|
|
63
|
+
padding: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.IncodeComponent ::file-selector-button {
|
|
67
|
+
box-sizing: border-box;
|
|
68
|
+
border: 0 solid;
|
|
69
|
+
margin: 0;
|
|
70
|
+
padding: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.IncodeComponent h1, .IncodeComponent h2, .IncodeComponent h3, .IncodeComponent h4, .IncodeComponent h5, .IncodeComponent h6 {
|
|
74
|
+
font-size: inherit;
|
|
75
|
+
font-weight: inherit;
|
|
76
|
+
margin: 0;
|
|
77
|
+
padding: 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.IncodeComponent ol, .IncodeComponent ul, .IncodeComponent menu {
|
|
81
|
+
list-style: none;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.IncodeComponent img, .IncodeComponent svg, .IncodeComponent video, .IncodeComponent canvas, .IncodeComponent audio, .IncodeComponent iframe, .IncodeComponent embed, .IncodeComponent object {
|
|
85
|
+
vertical-align: middle;
|
|
86
|
+
display: block;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.IncodeComponent img, .IncodeComponent video {
|
|
90
|
+
max-width: 100%;
|
|
91
|
+
height: auto;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@layer incode-theme, incode-base, incode-components;
|
|
95
|
+
|
|
49
96
|
@layer incode-utilities {
|
|
50
97
|
.absolute {
|
|
51
98
|
position: absolute;
|
|
@@ -149,57 +196,6 @@
|
|
|
149
196
|
}
|
|
150
197
|
}
|
|
151
198
|
|
|
152
|
-
.IncodeComponent, .IncodeComponent * {
|
|
153
|
-
box-sizing: border-box;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.IncodeComponent {
|
|
157
|
-
font-family: var(--primitive-typography-family-dm-sans), sans-serif;
|
|
158
|
-
-webkit-font-smoothing: antialiased;
|
|
159
|
-
-moz-osx-font-smoothing: grayscale;
|
|
160
|
-
text-rendering: optimizeLegibility;
|
|
161
|
-
color: var(--text-body-primary);
|
|
162
|
-
width: 100%;
|
|
163
|
-
height: 100%;
|
|
164
|
-
margin: 0;
|
|
165
|
-
padding: 0;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.IncodeComponent *, .IncodeComponent :after, .IncodeComponent :before, .IncodeComponent ::backdrop {
|
|
169
|
-
box-sizing: border-box;
|
|
170
|
-
border: 0 solid;
|
|
171
|
-
margin: 0;
|
|
172
|
-
padding: 0;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.IncodeComponent ::file-selector-button {
|
|
176
|
-
box-sizing: border-box;
|
|
177
|
-
border: 0 solid;
|
|
178
|
-
margin: 0;
|
|
179
|
-
padding: 0;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.IncodeComponent h1, .IncodeComponent h2, .IncodeComponent h3, .IncodeComponent h4, .IncodeComponent h5, .IncodeComponent h6 {
|
|
183
|
-
font-size: inherit;
|
|
184
|
-
font-weight: inherit;
|
|
185
|
-
margin: 0;
|
|
186
|
-
padding: 0;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.IncodeComponent ol, .IncodeComponent ul, .IncodeComponent menu {
|
|
190
|
-
list-style: none;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.IncodeComponent img, .IncodeComponent svg, .IncodeComponent video, .IncodeComponent canvas, .IncodeComponent audio, .IncodeComponent iframe, .IncodeComponent embed, .IncodeComponent object {
|
|
194
|
-
vertical-align: middle;
|
|
195
|
-
display: block;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.IncodeComponent img, .IncodeComponent video {
|
|
199
|
-
max-width: 100%;
|
|
200
|
-
height: auto;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
199
|
.IncodeButton {
|
|
204
200
|
border-radius: var(--radius-button-primary, var(--button-primary-border-radius));
|
|
205
201
|
text-align: center;
|
package/dist/email/email.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { u as e, S as g, a as h, B as v } from "../button-DeMZ_34N.js";
|
|
2
2
|
import { createEmailManager as O } from "@incodetech/core/email";
|
|
3
3
|
import { d as f, y as b, k as y } from "../vendor-preact-CK0WeTOR.js";
|
|
4
|
-
import { a as V, I as P, P as E } from "../incodeModule-
|
|
4
|
+
import { a as V, I as P, P as E } from "../incodeModule-DFQUQvfY.js";
|
|
5
5
|
import { O as k } from "../otpInput-BUrV4IAF.js";
|
|
6
6
|
const I = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, w = ({
|
|
7
7
|
prefilledEmail: i,
|
package/dist/email/styles.css
CHANGED
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
padding-bottom: var(--spacing-16, var(--spacing-16, 16px));
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.IncodeEmailInput, .IncodeEmailInputContainer {
|
|
17
|
+
.IncodeEmailPage .IncodeEmailInput, .IncodeEmailPage .IncodeEmailInputContainer {
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
align-items: center;
|
|
20
20
|
width: 100%;
|
|
21
21
|
display: flex;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.IncodeEmailInputWrapper {
|
|
24
|
+
.IncodeEmailPage .IncodeEmailInputWrapper {
|
|
25
25
|
border-radius: var(--radius-small, var(--border-radius-small));
|
|
26
26
|
border-style: var(--tw-border-style);
|
|
27
27
|
border-width: 1px;
|
|
@@ -38,20 +38,20 @@
|
|
|
38
38
|
display: flex;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.IncodeEmailInputWrapper:focus-within {
|
|
41
|
+
.IncodeEmailPage .IncodeEmailInputWrapper:focus-within {
|
|
42
42
|
border-color: var(--color-input-border-active, var(--input-border-active));
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.IncodeEmailInputWrapper.IncodeEmailInputWrapperError {
|
|
45
|
+
.IncodeEmailPage .IncodeEmailInputWrapper.IncodeEmailInputWrapperError {
|
|
46
46
|
border-color: var(--color-input-border-negative, var(--input-border-negative));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.IncodeEmailInputWrapper.IncodeEmailInputWrapperDisabled {
|
|
49
|
+
.IncodeEmailPage .IncodeEmailInputWrapper.IncodeEmailInputWrapperDisabled {
|
|
50
50
|
border-color: var(--color-input-border-disabled, var(--input-border-disabled));
|
|
51
51
|
background-color: var(--color-input-surface-disabled, var(--input-surface-disabled));
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.IncodeEmailInputLabel {
|
|
54
|
+
.IncodeEmailPage .IncodeEmailInputLabel {
|
|
55
55
|
clip-path: inset(50%);
|
|
56
56
|
white-space: nowrap;
|
|
57
57
|
border-width: 0;
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
overflow: hidden;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.IncodeEmailInputField {
|
|
66
|
+
.IncodeEmailPage .IncodeEmailInputField {
|
|
67
67
|
border-style: var(--tw-border-style);
|
|
68
68
|
border-width: var(--border-width-none, var(--border-none));
|
|
69
69
|
--tw-border-style: none;
|
|
@@ -81,23 +81,23 @@
|
|
|
81
81
|
outline-style: none;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
.IncodeEmailInputField::placeholder {
|
|
84
|
+
.IncodeEmailPage .IncodeEmailInputField::placeholder {
|
|
85
85
|
--tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
|
|
86
86
|
font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
|
|
87
87
|
color: var(--color-input-text-field-placeholder, var(--input-text-field-placeholder));
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
.IncodeEmailInputField:disabled {
|
|
90
|
+
.IncodeEmailPage .IncodeEmailInputField:disabled {
|
|
91
91
|
cursor: not-allowed;
|
|
92
92
|
color: var(--color-input-text-field-disabled, var(--input-text-field-disabled));
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
.IncodeEmailInputField:focus {
|
|
95
|
+
.IncodeEmailPage .IncodeEmailInputField:focus {
|
|
96
96
|
--tw-outline-style: none;
|
|
97
97
|
outline-style: none;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.IncodeEmailInputError {
|
|
100
|
+
.IncodeEmailPage .IncodeEmailInputError {
|
|
101
101
|
margin: var(--spacing-0, var(--spacing-none, 0px));
|
|
102
102
|
text-align: center;
|
|
103
103
|
font-size: var(--text-14, var(--primitive-typography-size-14));
|