loseta 0.16.0 → 0.17.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/package.json +1 -1
- package/registry/components/badge.css +4 -7
- package/registry/components/breadcrumb.css +9 -1
- package/registry/components/calendar.css +39 -0
- package/registry/components/card.css +5 -0
- package/registry/components/input-otp.css +103 -10
- package/registry/components/kbd.css +8 -0
- package/registry/components/native-select.css +6 -0
- package/registry/components/select.css +3 -0
- package/registry/components/tooltip.css +295 -144
- package/registry/examples/badge.html +37 -0
- package/registry/examples/breadcrumb.html +86 -6
- package/registry/examples/calendar.html +687 -51
- package/registry/examples/card.html +190 -4
- package/registry/examples/input-otp.html +116 -11
- package/registry/examples/kbd.html +90 -2
- package/registry/examples/native-select.html +83 -2
- package/registry/examples/select.html +199 -6
- package/registry/examples/sidebar.html +10 -10
- package/registry/examples/tooltip.html +75 -70
- package/registry/primitives/menu.css +15 -3
- package/registry/registry.json +36 -9
- package/registry/styles/luma/badge.css +28 -0
- package/registry/styles/luma/breadcrumb.css +2 -1
- package/registry/styles/luma/calendar.css +62 -0
- package/registry/styles/luma/card.css +9 -27
- package/registry/styles/luma/input-otp.css +79 -36
- package/registry/styles/luma/native-select.css +9 -2
- package/registry/styles/luma/primitives/listbox.css +8 -0
- package/registry/styles/luma/select.css +7 -2
- package/registry/styles/luma/tooltip.css +29 -16
- package/registry/styles/lyra/badge.css +28 -0
- package/registry/styles/lyra/breadcrumb.css +2 -1
- package/registry/styles/lyra/calendar.css +62 -0
- package/registry/styles/lyra/card.css +9 -27
- package/registry/styles/lyra/input-otp.css +79 -36
- package/registry/styles/lyra/native-select.css +6 -1
- package/registry/styles/lyra/primitives/listbox.css +8 -0
- package/registry/styles/lyra/select.css +6 -1
- package/registry/styles/lyra/tooltip.css +29 -16
- package/registry/styles/maia/badge.css +29 -0
- package/registry/styles/maia/breadcrumb.css +2 -1
- package/registry/styles/maia/calendar.css +62 -0
- package/registry/styles/maia/card.css +9 -27
- package/registry/styles/maia/input-otp.css +79 -36
- package/registry/styles/maia/native-select.css +9 -2
- package/registry/styles/maia/primitives/listbox.css +8 -0
- package/registry/styles/maia/select.css +7 -2
- package/registry/styles/maia/tooltip.css +29 -16
- package/registry/styles/mira/badge.css +32 -0
- package/registry/styles/mira/breadcrumb.css +2 -1
- package/registry/styles/mira/calendar.css +62 -0
- package/registry/styles/mira/card.css +9 -27
- package/registry/styles/mira/input-otp.css +79 -36
- package/registry/styles/mira/native-select.css +7 -2
- package/registry/styles/mira/primitives/listbox.css +8 -0
- package/registry/styles/mira/select.css +7 -2
- package/registry/styles/mira/tooltip.css +29 -16
- package/registry/styles/nova/badge.css +28 -0
- package/registry/styles/nova/breadcrumb.css +2 -1
- package/registry/styles/nova/calendar.css +62 -0
- package/registry/styles/nova/card.css +9 -27
- package/registry/styles/nova/input-otp.css +79 -36
- package/registry/styles/nova/native-select.css +9 -2
- package/registry/styles/nova/primitives/listbox.css +8 -0
- package/registry/styles/nova/select.css +7 -2
- package/registry/styles/nova/tooltip.css +29 -16
- package/registry/styles/rhea/badge.css +28 -0
- package/registry/styles/rhea/breadcrumb.css +2 -1
- package/registry/styles/rhea/calendar.css +62 -0
- package/registry/styles/rhea/card.css +9 -27
- package/registry/styles/rhea/input-otp.css +79 -36
- package/registry/styles/rhea/native-select.css +9 -2
- package/registry/styles/rhea/primitives/listbox.css +8 -0
- package/registry/styles/rhea/select.css +7 -2
- package/registry/styles/rhea/tooltip.css +29 -16
- package/registry/styles/sera/badge.css +29 -1
- package/registry/styles/sera/breadcrumb.css +2 -1
- package/registry/styles/sera/calendar.css +66 -0
- package/registry/styles/sera/card.css +9 -27
- package/registry/styles/sera/input-otp.css +80 -37
- package/registry/styles/sera/native-select.css +9 -2
- package/registry/styles/sera/primitives/listbox.css +8 -0
- package/registry/styles/sera/select.css +7 -2
- package/registry/styles/sera/tooltip.css +29 -16
- package/registry/styles/vega/badge.css +28 -0
- package/registry/styles/vega/breadcrumb.css +2 -1
- package/registry/styles/vega/calendar.css +62 -0
- package/registry/styles/vega/card.css +9 -27
- package/registry/styles/vega/input-otp.css +79 -36
- package/registry/styles/vega/native-select.css +9 -2
- package/registry/styles/vega/primitives/listbox.css +8 -0
- package/registry/styles/vega/select.css +7 -2
- package/registry/styles/vega/tooltip.css +29 -16
|
@@ -3,16 +3,202 @@
|
|
|
3
3
|
<header data-separator="bottom">
|
|
4
4
|
<h3 data-slot="title">Create project</h3>
|
|
5
5
|
<p data-slot="description">Deploy your new project in one click.</p>
|
|
6
|
-
<a
|
|
6
|
+
<a data-slot="action" href="#">Docs</a>
|
|
7
7
|
</header>
|
|
8
8
|
<section>
|
|
9
9
|
<div class="field">
|
|
10
|
-
<label class="label" for="card-name">Name</label>
|
|
11
|
-
<input class="input" id="card-name" placeholder="My project">
|
|
10
|
+
<label class="label" for="demo-card-name">Name</label>
|
|
11
|
+
<input class="input" id="demo-card-name" placeholder="My project">
|
|
12
12
|
</div>
|
|
13
13
|
</section>
|
|
14
|
-
<footer style="
|
|
14
|
+
<footer style="justify-content: flex-end; gap: 0.5rem">
|
|
15
15
|
<button class="btn" data-variant="outline">Cancel</button>
|
|
16
16
|
<button class="btn">Create</button>
|
|
17
17
|
</footer>
|
|
18
18
|
</div>
|
|
19
|
+
|
|
20
|
+
<!-- Login -->
|
|
21
|
+
<div class="card" style="max-width: 24rem">
|
|
22
|
+
<header>
|
|
23
|
+
<h3 data-slot="title">Login to your account</h3>
|
|
24
|
+
<p data-slot="description">Enter your email below to login to your account.</p>
|
|
25
|
+
<a data-slot="action" href="#">Sign up</a>
|
|
26
|
+
</header>
|
|
27
|
+
<section>
|
|
28
|
+
<div class="fieldset">
|
|
29
|
+
<div class="field">
|
|
30
|
+
<label class="label" for="demo-card-login-email">Email</label>
|
|
31
|
+
<input class="input" id="demo-card-login-email" type="email" autocomplete="email" placeholder="m@example.com" required>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="field">
|
|
34
|
+
<div style="display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem">
|
|
35
|
+
<label class="label" for="demo-card-login-password">Password</label>
|
|
36
|
+
<a href="#">Forgot your password?</a>
|
|
37
|
+
</div>
|
|
38
|
+
<input class="input" id="demo-card-login-password" type="password" autocomplete="current-password" required>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</section>
|
|
42
|
+
<footer style="flex-direction: column; align-items: stretch; gap: 0.5rem">
|
|
43
|
+
<button class="btn" type="button">Login</button>
|
|
44
|
+
<button class="btn" data-variant="outline" type="button">Login with Google</button>
|
|
45
|
+
</footer>
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<!-- Small -->
|
|
49
|
+
<div class="card" data-size="sm" style="max-width: 20rem">
|
|
50
|
+
<header>
|
|
51
|
+
<h3 data-slot="title">Scheduled reports</h3>
|
|
52
|
+
<p data-slot="description">Weekly snapshots. No more manual exports.</p>
|
|
53
|
+
</header>
|
|
54
|
+
<section>
|
|
55
|
+
<ul style="display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none">
|
|
56
|
+
<li style="display: flex; align-items: flex-start; gap: 0.5rem">
|
|
57
|
+
<span style="flex-shrink: 0; color: var(--muted-foreground); padding-block-start: 0.125rem"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="inline-size: 1rem; block-size: 1rem"><path d="m9 18 6-6-6-6"/></svg></span>
|
|
58
|
+
<span>Choose a schedule (daily or weekly).</span>
|
|
59
|
+
</li>
|
|
60
|
+
<li style="display: flex; align-items: flex-start; gap: 0.5rem">
|
|
61
|
+
<span style="flex-shrink: 0; color: var(--muted-foreground); padding-block-start: 0.125rem"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="inline-size: 1rem; block-size: 1rem"><path d="m9 18 6-6-6-6"/></svg></span>
|
|
62
|
+
<span>Send to channels or specific teammates.</span>
|
|
63
|
+
</li>
|
|
64
|
+
<li style="display: flex; align-items: flex-start; gap: 0.5rem">
|
|
65
|
+
<span style="flex-shrink: 0; color: var(--muted-foreground); padding-block-start: 0.125rem"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="inline-size: 1rem; block-size: 1rem"><path d="m9 18 6-6-6-6"/></svg></span>
|
|
66
|
+
<span>Include charts, tables, and key metrics.</span>
|
|
67
|
+
</li>
|
|
68
|
+
</ul>
|
|
69
|
+
</section>
|
|
70
|
+
<footer style="flex-direction: column; align-items: stretch; gap: 0.5rem">
|
|
71
|
+
<button class="btn" data-size="sm" type="button">Set up scheduled reports</button>
|
|
72
|
+
<button class="btn" data-variant="outline" data-size="sm" type="button">See what's new</button>
|
|
73
|
+
</footer>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
<!-- Image -->
|
|
77
|
+
<div class="card" style="max-width: 24rem">
|
|
78
|
+
<img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 180'%3E%3Cdefs%3E%3ClinearGradient id='c' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%23a5b4fc'/%3E%3Cstop offset='1' stop-color='%23f0abfc'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='320' height='180' fill='url(%23c)'/%3E%3Ccircle cx='256' cy='42' r='26' fill='%23ffffff' opacity='.65'/%3E%3Cpath d='M0 180 92 96l48 42 44-28 136 70z' fill='%236366f1' opacity='.35'/%3E%3Cpath d='M0 180 74 124l58 34 66-20 122 42z' fill='%234338ca' opacity='.35'/%3E%3C/svg%3E" alt="Abstract gradient cover with layered shapes" style="aspect-ratio: 16 / 9; object-fit: cover">
|
|
79
|
+
<header>
|
|
80
|
+
<span class="badge" data-variant="secondary" data-slot="action">Featured</span>
|
|
81
|
+
<h3 data-slot="title">Design systems meetup</h3>
|
|
82
|
+
<p data-slot="description">A practical talk on component APIs, accessibility, and shipping faster.</p>
|
|
83
|
+
</header>
|
|
84
|
+
<footer>
|
|
85
|
+
<button class="btn" type="button" style="inline-size: 100%">View event</button>
|
|
86
|
+
</footer>
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
<!-- Edge to edge -->
|
|
90
|
+
<div class="card" style="max-width: 24rem">
|
|
91
|
+
<header>
|
|
92
|
+
<h3 data-slot="title" id="demo-card-terms-title">Terms of service</h3>
|
|
93
|
+
<p data-slot="description">Review the terms before accepting the agreement.</p>
|
|
94
|
+
</header>
|
|
95
|
+
<section>
|
|
96
|
+
<div role="region" aria-labelledby="demo-card-terms-title" tabindex="0" style="max-height: 11rem; overflow-y: auto; margin-inline: calc(-1 * var(--card-spacing)); margin-block-end: calc(-1 * var(--card-spacing)); border-block-start: 1px solid var(--border); background-color: color-mix(in oklab, var(--muted) 50%, transparent); padding-block: 1rem; padding-inline: var(--card-spacing); line-height: 1.625">
|
|
97
|
+
<p>These terms govern your use of the workspace, including access to shared documents, project files, and collaboration tools.</p>
|
|
98
|
+
<p>You are responsible for the content you upload and for ensuring that your team has the appropriate permissions to view or edit it.</p>
|
|
99
|
+
<p>We may update features or limits as the service evolves. When those changes materially affect your workflow, we will notify your workspace administrators.</p>
|
|
100
|
+
<p>By continuing, you agree to keep your account credentials secure and to follow your organization's acceptable use policies.</p>
|
|
101
|
+
</div>
|
|
102
|
+
</section>
|
|
103
|
+
<footer style="justify-content: flex-end; gap: 0.5rem">
|
|
104
|
+
<button class="btn" data-variant="outline">Decline</button>
|
|
105
|
+
<button class="btn">Accept</button>
|
|
106
|
+
</footer>
|
|
107
|
+
</div>
|
|
108
|
+
|
|
109
|
+
<!-- Spacing -->
|
|
110
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); align-items: start; gap: 1rem">
|
|
111
|
+
<div class="card" style="--card-spacing: 1rem">
|
|
112
|
+
<header>
|
|
113
|
+
<h3 data-slot="title">16px</h3>
|
|
114
|
+
<p data-slot="description">Compact spacing.</p>
|
|
115
|
+
</header>
|
|
116
|
+
</div>
|
|
117
|
+
<div class="card" style="--card-spacing: 1.5rem">
|
|
118
|
+
<header>
|
|
119
|
+
<h3 data-slot="title">24px</h3>
|
|
120
|
+
<p data-slot="description">Comfortable spacing.</p>
|
|
121
|
+
</header>
|
|
122
|
+
</div>
|
|
123
|
+
<div class="card" style="--card-spacing: 2rem">
|
|
124
|
+
<header>
|
|
125
|
+
<h3 data-slot="title">32px</h3>
|
|
126
|
+
<p data-slot="description">Roomy spacing.</p>
|
|
127
|
+
</header>
|
|
128
|
+
</div>
|
|
129
|
+
</div>
|
|
130
|
+
|
|
131
|
+
<!-- Accordion -->
|
|
132
|
+
<div class="card" style="max-width: 24rem">
|
|
133
|
+
<header>
|
|
134
|
+
<h3 data-slot="title">Subscription & billing</h3>
|
|
135
|
+
<p data-slot="description">Common questions about your account, plans, payments and cancellations.</p>
|
|
136
|
+
</header>
|
|
137
|
+
<section>
|
|
138
|
+
<div class="accordion">
|
|
139
|
+
<details open>
|
|
140
|
+
<summary>
|
|
141
|
+
What subscription plans do you offer?
|
|
142
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg>
|
|
143
|
+
</summary>
|
|
144
|
+
<div>
|
|
145
|
+
<p>We offer three tiers: Starter, Professional and Enterprise. Each plan includes increasing storage limits, API access, priority support and team collaboration features.</p>
|
|
146
|
+
</div>
|
|
147
|
+
</details>
|
|
148
|
+
<details>
|
|
149
|
+
<summary>
|
|
150
|
+
How does billing work?
|
|
151
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg>
|
|
152
|
+
</summary>
|
|
153
|
+
<div>
|
|
154
|
+
<p>Billing occurs automatically at the start of each cycle. You receive an invoice by email after each payment.</p>
|
|
155
|
+
</div>
|
|
156
|
+
</details>
|
|
157
|
+
<details>
|
|
158
|
+
<summary>
|
|
159
|
+
How do I cancel my subscription?
|
|
160
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg>
|
|
161
|
+
</summary>
|
|
162
|
+
<div>
|
|
163
|
+
<p>Cancel any time from your account settings. Access continues until the end of the current billing period.</p>
|
|
164
|
+
</div>
|
|
165
|
+
</details>
|
|
166
|
+
</div>
|
|
167
|
+
</section>
|
|
168
|
+
</div>
|
|
169
|
+
|
|
170
|
+
<!-- Skeleton -->
|
|
171
|
+
<div class="card" aria-busy="true" style="inline-size: 100%; max-width: 20rem">
|
|
172
|
+
<span class="sr-only">Loading project</span>
|
|
173
|
+
<header>
|
|
174
|
+
<div class="skeleton" style="block-size: 1rem; inline-size: 66%"></div>
|
|
175
|
+
<div class="skeleton" style="block-size: 1rem; inline-size: 50%"></div>
|
|
176
|
+
</header>
|
|
177
|
+
<section>
|
|
178
|
+
<div class="skeleton" style="aspect-ratio: 16 / 9; inline-size: 100%"></div>
|
|
179
|
+
</section>
|
|
180
|
+
</div>
|
|
181
|
+
|
|
182
|
+
<!-- Right-to-left -->
|
|
183
|
+
<div class="card" dir="rtl" lang="ar" style="max-width: 24rem">
|
|
184
|
+
<header>
|
|
185
|
+
<h3 data-slot="title">تسجيل الدخول إلى حسابك</h3>
|
|
186
|
+
<p data-slot="description">أدخل بريدك الإلكتروني أدناه لتسجيل الدخول إلى حسابك.</p>
|
|
187
|
+
<a data-slot="action" href="#">إنشاء حساب</a>
|
|
188
|
+
</header>
|
|
189
|
+
<section>
|
|
190
|
+
<div class="fieldset">
|
|
191
|
+
<div class="field">
|
|
192
|
+
<label class="label" for="demo-card-rtl-email">البريد الإلكتروني</label>
|
|
193
|
+
<input class="input" id="demo-card-rtl-email" type="email" dir="ltr" placeholder="m@example.com">
|
|
194
|
+
</div>
|
|
195
|
+
<div class="field">
|
|
196
|
+
<label class="label" for="demo-card-rtl-password">كلمة المرور</label>
|
|
197
|
+
<input class="input" id="demo-card-rtl-password" type="password" dir="ltr">
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
</section>
|
|
201
|
+
<footer>
|
|
202
|
+
<button class="btn" type="button" style="inline-size: 100%">تسجيل الدخول</button>
|
|
203
|
+
</footer>
|
|
204
|
+
</div>
|
|
@@ -1,47 +1,132 @@
|
|
|
1
1
|
<!-- Default -->
|
|
2
|
-
<
|
|
2
|
+
<label class="input-otp">
|
|
3
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
4
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
5
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
6
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
7
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
8
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
9
|
+
<span data-slot="entry">
|
|
10
|
+
<input id="demo-input-otp" type="text" inputmode="numeric" autocomplete="one-time-code" maxlength="6" pattern="[0-9]{6}" required aria-label="One-time code">
|
|
11
|
+
</span>
|
|
12
|
+
</label>
|
|
13
|
+
|
|
14
|
+
<!-- Joined -->
|
|
15
|
+
<label class="input-otp" data-spacing="joined">
|
|
16
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
17
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
18
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
19
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
20
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
21
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
22
|
+
<span data-slot="entry">
|
|
23
|
+
<input id="demo-input-otp-joined" type="text" inputmode="numeric" autocomplete="one-time-code" maxlength="6" pattern="[0-9]{6}" value="123456" required aria-label="One-time code">
|
|
24
|
+
</span>
|
|
25
|
+
</label>
|
|
3
26
|
|
|
4
27
|
<!-- Sizes -->
|
|
5
28
|
<div style="display: flex; flex-direction: column; gap: 1rem; max-width: 24rem">
|
|
6
29
|
<div class="field">
|
|
7
30
|
<label class="label" for="demo-input-otp-sm">Small</label>
|
|
8
|
-
<
|
|
31
|
+
<label class="input-otp" data-size="sm">
|
|
32
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
33
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
34
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
35
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
36
|
+
<span data-slot="entry">
|
|
37
|
+
<input id="demo-input-otp-sm" type="text" inputmode="numeric" autocomplete="one-time-code" maxlength="4" pattern="[0-9]{4}" required>
|
|
38
|
+
</span>
|
|
39
|
+
</label>
|
|
9
40
|
</div>
|
|
10
41
|
<div class="field">
|
|
11
42
|
<label class="label" for="demo-input-otp-default">Default</label>
|
|
12
|
-
<
|
|
43
|
+
<label class="input-otp">
|
|
44
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
45
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
46
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
47
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
48
|
+
<span data-slot="entry">
|
|
49
|
+
<input id="demo-input-otp-default" type="text" inputmode="numeric" autocomplete="one-time-code" maxlength="4" pattern="[0-9]{4}" required>
|
|
50
|
+
</span>
|
|
51
|
+
</label>
|
|
13
52
|
</div>
|
|
14
53
|
<div class="field">
|
|
15
54
|
<label class="label" for="demo-input-otp-lg">Large</label>
|
|
16
|
-
<
|
|
55
|
+
<label class="input-otp" data-size="lg">
|
|
56
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
57
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
58
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
59
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
60
|
+
<span data-slot="entry">
|
|
61
|
+
<input id="demo-input-otp-lg" type="text" inputmode="numeric" autocomplete="one-time-code" maxlength="4" pattern="[0-9]{4}" required>
|
|
62
|
+
</span>
|
|
63
|
+
</label>
|
|
17
64
|
</div>
|
|
18
65
|
</div>
|
|
19
66
|
|
|
20
67
|
<!-- Four digits -->
|
|
21
68
|
<div class="field" style="max-width: 20rem">
|
|
22
69
|
<label class="label" for="demo-input-otp-four-digits">Four-digit code</label>
|
|
23
|
-
<
|
|
70
|
+
<label class="input-otp">
|
|
71
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
72
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
73
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
74
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
75
|
+
<span data-slot="entry">
|
|
76
|
+
<input id="demo-input-otp-four-digits" type="text" inputmode="numeric" autocomplete="one-time-code" maxlength="4" pattern="[0-9]{4}" required aria-describedby="demo-input-otp-four-digits-hint">
|
|
77
|
+
</span>
|
|
78
|
+
</label>
|
|
24
79
|
<p id="demo-input-otp-four-digits-hint">Enter the 4-digit code we sent to your email.</p>
|
|
25
80
|
</div>
|
|
26
81
|
|
|
27
82
|
<!-- Alphanumeric -->
|
|
28
|
-
<div class="field" style="max-width:
|
|
83
|
+
<div class="field" style="max-width: 24rem">
|
|
29
84
|
<label class="label" for="demo-input-otp-alphanumeric">Backup code</label>
|
|
30
|
-
<
|
|
85
|
+
<label class="input-otp">
|
|
86
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
87
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
88
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
89
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
90
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
91
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
92
|
+
<span data-slot="entry">
|
|
93
|
+
<input id="demo-input-otp-alphanumeric" type="text" autocomplete="one-time-code" autocapitalize="characters" spellcheck="false" maxlength="6" pattern="[A-Za-z0-9]{6}" required aria-describedby="demo-input-otp-alphanumeric-hint">
|
|
94
|
+
</span>
|
|
95
|
+
</label>
|
|
31
96
|
<p id="demo-input-otp-alphanumeric-hint">Use letters and numbers without spaces.</p>
|
|
32
97
|
</div>
|
|
33
98
|
|
|
34
99
|
<!-- Disabled -->
|
|
35
100
|
<div class="field" style="max-width: 24rem">
|
|
36
101
|
<label class="label" for="demo-input-otp-disabled">One-time code</label>
|
|
37
|
-
<
|
|
102
|
+
<label class="input-otp">
|
|
103
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
104
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
105
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
106
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
107
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
108
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
109
|
+
<span data-slot="entry">
|
|
110
|
+
<input id="demo-input-otp-disabled" type="text" inputmode="numeric" autocomplete="one-time-code" maxlength="6" pattern="[0-9]{6}" value="123456" required disabled>
|
|
111
|
+
</span>
|
|
112
|
+
</label>
|
|
38
113
|
<p>Code entry is unavailable right now.</p>
|
|
39
114
|
</div>
|
|
40
115
|
|
|
41
116
|
<!-- Invalid -->
|
|
42
117
|
<div class="field" style="max-width: 24rem">
|
|
43
118
|
<label class="label" for="demo-input-otp-invalid">One-time code</label>
|
|
44
|
-
<
|
|
119
|
+
<label class="input-otp">
|
|
120
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
121
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
122
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
123
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
124
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
125
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
126
|
+
<span data-slot="entry">
|
|
127
|
+
<input id="demo-input-otp-invalid" type="text" inputmode="numeric" autocomplete="one-time-code" maxlength="6" pattern="[0-9]{6}" value="000000" required aria-invalid="true" aria-describedby="demo-input-otp-invalid-error">
|
|
128
|
+
</span>
|
|
129
|
+
</label>
|
|
45
130
|
<p id="demo-input-otp-invalid-error" role="alert">That code is incorrect. Check your email and try again.</p>
|
|
46
131
|
</div>
|
|
47
132
|
|
|
@@ -57,7 +142,17 @@
|
|
|
57
142
|
<label class="label" for="demo-input-otp-verification">Verification code</label>
|
|
58
143
|
<button type="button" class="btn" data-variant="outline" data-size="xs"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-icon="inline-start"><path d="M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/><path d="M3 3v5h5"/><path d="M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16"/><path d="M16 16h5v5"/></svg>Resend code</button>
|
|
59
144
|
</div>
|
|
60
|
-
<
|
|
145
|
+
<label class="input-otp">
|
|
146
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
147
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
148
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
149
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
150
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
151
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
152
|
+
<span data-slot="entry">
|
|
153
|
+
<input id="demo-input-otp-verification" type="text" inputmode="numeric" autocomplete="one-time-code" maxlength="6" pattern="[0-9]{6}" required aria-describedby="demo-input-otp-verification-hint">
|
|
154
|
+
</span>
|
|
155
|
+
</label>
|
|
61
156
|
<p id="demo-input-otp-verification-hint">The code expires 10 minutes after it is sent.</p>
|
|
62
157
|
</div>
|
|
63
158
|
</section>
|
|
@@ -72,6 +167,16 @@
|
|
|
72
167
|
<!-- Right-to-left -->
|
|
73
168
|
<div class="field" dir="rtl" lang="ar" style="max-width: 24rem">
|
|
74
169
|
<label class="label" for="demo-input-otp-rtl">رمز التحقق</label>
|
|
75
|
-
<
|
|
170
|
+
<label class="input-otp">
|
|
171
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
172
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
173
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
174
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
175
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
176
|
+
<span data-slot="cell" aria-hidden="true"></span>
|
|
177
|
+
<span data-slot="entry">
|
|
178
|
+
<input id="demo-input-otp-rtl" type="text" inputmode="numeric" autocomplete="one-time-code" maxlength="6" pattern="[0-9]{6}" value="123456" required aria-describedby="demo-input-otp-rtl-hint">
|
|
179
|
+
</span>
|
|
180
|
+
</label>
|
|
76
181
|
<p id="demo-input-otp-rtl-hint">أدخل الرمز المكوّن من ستة أرقام الذي أرسلناه إلى بريدك الإلكتروني.</p>
|
|
77
182
|
</div>
|
|
@@ -1,6 +1,94 @@
|
|
|
1
1
|
<!-- Default -->
|
|
2
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 0.75rem">
|
|
3
|
+
<span class="kbd-group">
|
|
4
|
+
<kbd class="kbd">⌘</kbd>
|
|
5
|
+
<kbd class="kbd">⇧</kbd>
|
|
6
|
+
<kbd class="kbd">⌥</kbd>
|
|
7
|
+
<kbd class="kbd">⌃</kbd>
|
|
8
|
+
</span>
|
|
9
|
+
<span class="kbd-group">
|
|
10
|
+
<kbd class="kbd">Ctrl</kbd>
|
|
11
|
+
<span aria-hidden="true">+</span>
|
|
12
|
+
<kbd class="kbd">B</kbd>
|
|
13
|
+
</span>
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
<!-- Shortcut hint -->
|
|
2
17
|
<div style="display: flex; align-items: center; gap: 0.5rem">
|
|
3
|
-
<span class="kbd"
|
|
4
|
-
|
|
18
|
+
<span class="kbd-group">
|
|
19
|
+
<kbd class="kbd">⌘</kbd>
|
|
20
|
+
<kbd class="kbd">K</kbd>
|
|
21
|
+
</span>
|
|
5
22
|
<span>Open command menu</span>
|
|
6
23
|
</div>
|
|
24
|
+
|
|
25
|
+
<!-- Group -->
|
|
26
|
+
<p style="margin: 0; text-align: center">
|
|
27
|
+
Use
|
|
28
|
+
<span class="kbd-group">
|
|
29
|
+
<kbd class="kbd">Ctrl</kbd>
|
|
30
|
+
<kbd class="kbd">B</kbd>
|
|
31
|
+
</span>
|
|
32
|
+
or
|
|
33
|
+
<span class="kbd-group">
|
|
34
|
+
<kbd class="kbd">Ctrl</kbd>
|
|
35
|
+
<kbd class="kbd">K</kbd>
|
|
36
|
+
</span>
|
|
37
|
+
to open the command palette
|
|
38
|
+
</p>
|
|
39
|
+
|
|
40
|
+
<!-- In a button -->
|
|
41
|
+
<button type="button" class="btn" data-variant="outline" aria-keyshortcuts="Enter">
|
|
42
|
+
Accept
|
|
43
|
+
<kbd class="kbd" data-icon="inline-end" aria-hidden="true">⏎</kbd>
|
|
44
|
+
</button>
|
|
45
|
+
|
|
46
|
+
<!-- In a tooltip -->
|
|
47
|
+
<span class="tooltip" id="demo-kbd-tooltip">
|
|
48
|
+
<button type="button" class="btn" data-variant="outline" aria-keyshortcuts="S" aria-describedby="demo-kbd-tooltip-description">
|
|
49
|
+
Save
|
|
50
|
+
</button>
|
|
51
|
+
<span data-slot="content" role="tooltip" id="demo-kbd-tooltip-description">Save changes <kbd class="kbd">S</kbd></span>
|
|
52
|
+
</span>
|
|
53
|
+
|
|
54
|
+
<!-- In an input group -->
|
|
55
|
+
<div style="width: 100%; max-width: 22rem">
|
|
56
|
+
<div class="input-group" role="group" aria-label="Search">
|
|
57
|
+
<input class="input" id="demo-kbd-search" type="search" placeholder="Search documentation..." aria-label="Search documentation">
|
|
58
|
+
<span data-slot="addon" data-align="inline-start" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg></span>
|
|
59
|
+
<span data-slot="addon" data-align="inline-end">
|
|
60
|
+
<span class="kbd-group">
|
|
61
|
+
<kbd class="kbd">⌘</kbd>
|
|
62
|
+
<kbd class="kbd">K</kbd>
|
|
63
|
+
</span>
|
|
64
|
+
</span>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
|
|
68
|
+
<!-- In a menu -->
|
|
69
|
+
<div class="dropdown-menu" style="width: 14rem">
|
|
70
|
+
<button type="button" class="btn" data-variant="outline" aria-haspopup="menu" aria-expanded="false">
|
|
71
|
+
Open menu
|
|
72
|
+
</button>
|
|
73
|
+
<div data-popover data-side="bottom" aria-hidden="true">
|
|
74
|
+
<div role="menu">
|
|
75
|
+
<button type="button" role="menuitem">Command palette <span class="kbd-group"><kbd class="kbd">⌘</kbd><kbd class="kbd">K</kbd></span></button>
|
|
76
|
+
<button type="button" role="menuitem">Save <kbd class="kbd">S</kbd></button>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
|
|
81
|
+
<!-- Right-to-left -->
|
|
82
|
+
<div dir="rtl" lang="ar" style="display: flex; flex-direction: column; align-items: center; gap: 0.75rem">
|
|
83
|
+
<span class="kbd-group">
|
|
84
|
+
<kbd class="kbd">⌘</kbd>
|
|
85
|
+
<kbd class="kbd">⇧</kbd>
|
|
86
|
+
<kbd class="kbd">⌥</kbd>
|
|
87
|
+
<kbd class="kbd">⌃</kbd>
|
|
88
|
+
</span>
|
|
89
|
+
<span class="kbd-group">
|
|
90
|
+
<kbd class="kbd">Ctrl</kbd>
|
|
91
|
+
<span aria-hidden="true">+</span>
|
|
92
|
+
<kbd class="kbd">B</kbd>
|
|
93
|
+
</span>
|
|
94
|
+
</div>
|
|
@@ -1,10 +1,91 @@
|
|
|
1
1
|
<!-- Default -->
|
|
2
2
|
<div class="field">
|
|
3
|
-
<label class="label" for="demo-select">Framework</label>
|
|
4
|
-
<select class="native-select" id="demo-select">
|
|
3
|
+
<label class="label" for="demo-native-select-default">Framework</label>
|
|
4
|
+
<select class="native-select" id="demo-native-select-default">
|
|
5
|
+
<option value="" selected disabled>Select a framework</option>
|
|
5
6
|
<option>Next.js</option>
|
|
6
7
|
<option>Astro</option>
|
|
7
8
|
<option>SvelteKit</option>
|
|
8
9
|
<option>Nuxt</option>
|
|
9
10
|
</select>
|
|
10
11
|
</div>
|
|
12
|
+
|
|
13
|
+
<!-- Sizes -->
|
|
14
|
+
<div style="display: flex; flex-direction: column; gap: 1rem; max-width: 20rem">
|
|
15
|
+
<div class="field">
|
|
16
|
+
<label class="label" for="demo-native-select-size-sm">Small</label>
|
|
17
|
+
<select class="native-select" data-size="sm" id="demo-native-select-size-sm">
|
|
18
|
+
<option>Next.js</option>
|
|
19
|
+
<option>Astro</option>
|
|
20
|
+
<option>SvelteKit</option>
|
|
21
|
+
</select>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="field">
|
|
24
|
+
<label class="label" for="demo-native-select-size-default">Default</label>
|
|
25
|
+
<select class="native-select" id="demo-native-select-size-default">
|
|
26
|
+
<option>Next.js</option>
|
|
27
|
+
<option>Astro</option>
|
|
28
|
+
<option>SvelteKit</option>
|
|
29
|
+
</select>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<!-- Disabled -->
|
|
34
|
+
<div class="field" style="max-width: 20rem">
|
|
35
|
+
<label class="label" for="demo-native-select-disabled">Framework</label>
|
|
36
|
+
<select class="native-select" id="demo-native-select-disabled" disabled>
|
|
37
|
+
<option>Next.js</option>
|
|
38
|
+
<option>Astro</option>
|
|
39
|
+
<option>SvelteKit</option>
|
|
40
|
+
</select>
|
|
41
|
+
<p>This field is currently disabled.</p>
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
<!-- Invalid -->
|
|
45
|
+
<div class="field" style="max-width: 20rem">
|
|
46
|
+
<label class="label" for="demo-native-select-invalid">Framework</label>
|
|
47
|
+
<select class="native-select" id="demo-native-select-invalid" aria-invalid="true" aria-describedby="demo-native-select-invalid-error">
|
|
48
|
+
<option value="" selected disabled>Select a framework</option>
|
|
49
|
+
<option>Next.js</option>
|
|
50
|
+
<option>Astro</option>
|
|
51
|
+
<option>SvelteKit</option>
|
|
52
|
+
</select>
|
|
53
|
+
<p id="demo-native-select-invalid-error" role="alert">Please select a framework.</p>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
<!-- Groups -->
|
|
57
|
+
<div class="field" style="max-width: 20rem">
|
|
58
|
+
<label class="label" for="demo-native-select-groups">Department</label>
|
|
59
|
+
<select class="native-select" id="demo-native-select-groups">
|
|
60
|
+
<option value="" selected disabled>Select department</option>
|
|
61
|
+
<optgroup label="Engineering">
|
|
62
|
+
<option>Frontend</option>
|
|
63
|
+
<option>Backend</option>
|
|
64
|
+
<option>DevOps</option>
|
|
65
|
+
</optgroup>
|
|
66
|
+
<optgroup label="Sales">
|
|
67
|
+
<option>Sales Rep</option>
|
|
68
|
+
<option>Account Manager</option>
|
|
69
|
+
<option>Sales Director</option>
|
|
70
|
+
</optgroup>
|
|
71
|
+
<optgroup label="Operations">
|
|
72
|
+
<option>Customer Support</option>
|
|
73
|
+
<option>Product Manager</option>
|
|
74
|
+
<option>Operations Manager</option>
|
|
75
|
+
</optgroup>
|
|
76
|
+
</select>
|
|
77
|
+
<p>Departments are grouped by their parent team.</p>
|
|
78
|
+
</div>
|
|
79
|
+
|
|
80
|
+
<!-- Right-to-left -->
|
|
81
|
+
<div class="field" dir="rtl" lang="ar" style="max-width: 20rem">
|
|
82
|
+
<label class="label" for="demo-native-select-rtl">الحالة</label>
|
|
83
|
+
<select class="native-select" id="demo-native-select-rtl" dir="rtl">
|
|
84
|
+
<option value="" selected disabled>اختر الحالة</option>
|
|
85
|
+
<option>قيد الانتظار</option>
|
|
86
|
+
<option>قيد التنفيذ</option>
|
|
87
|
+
<option>منجز</option>
|
|
88
|
+
<option>ملغي</option>
|
|
89
|
+
</select>
|
|
90
|
+
<p>يعرض هذا الحقل حالة المهمة الحالية.</p>
|
|
91
|
+
</div>
|