saha-ui 1.23.0 → 1.24.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/LICENSE +275 -21
- package/dist/components/TickerCarousel/TickerCarousel.styles.d.ts +16 -0
- package/dist/components/TickerCarousel/TickerCarousel.styles.d.ts.map +1 -0
- package/dist/components/TickerCarousel/TickerCarousel.styles.js +57 -0
- package/dist/components/TickerCarousel/TickerCarousel.types.d.ts +161 -0
- package/dist/components/TickerCarousel/TickerCarousel.types.d.ts.map +1 -0
- package/dist/components/TickerCarousel/index.d.ts +7 -0
- package/dist/components/TickerCarousel/index.d.ts.map +1 -0
- package/dist/components/TickerCarousel/index.js +518 -0
- package/mcp/server.ts +1074 -1031
- package/mcp/tsconfig.json +1 -1
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,275 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
# CONTRIBUTIVE SOURCE LICENSE (CSL) Version 1.0
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## PREAMBLE
|
|
6
|
+
|
|
7
|
+
This License Agreement ("Agreement") is a legally binding contract between
|
|
8
|
+
the original author/owner ("Licensor") and any individual or entity
|
|
9
|
+
("Contributor") who wishes to access, view, or contribute to the covered
|
|
10
|
+
work ("Software"). By accessing, cloning, forking, or otherwise interacting
|
|
11
|
+
with this Software, you agree to be fully bound by the terms of this
|
|
12
|
+
Agreement.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## ARTICLE 1 — DEFINITIONS
|
|
17
|
+
|
|
18
|
+
**1.1 "Licensor"**
|
|
19
|
+
means the original creator and sole owner of the Software,
|
|
20
|
+
who retains all intellectual property rights.
|
|
21
|
+
|
|
22
|
+
**1.2 "Contributor"**
|
|
23
|
+
means any individual or legal entity that accesses, forks,
|
|
24
|
+
or submits contributions to the Software under this License.
|
|
25
|
+
|
|
26
|
+
**1.3 "Software"**
|
|
27
|
+
means the source code, documentation, assets, scripts,
|
|
28
|
+
configurations, and any related materials covered under this License.
|
|
29
|
+
|
|
30
|
+
**1.4 "Fork"**
|
|
31
|
+
means a personal copy of the Software repository created by a
|
|
32
|
+
Contributor for the sole and exclusive purpose of preparing a Merge Request.
|
|
33
|
+
|
|
34
|
+
**1.5 "Merge Request"**
|
|
35
|
+
(also referred to as a "Pull Request") means a formal submission
|
|
36
|
+
by a Contributor proposing specific changes to be reviewed and potentially
|
|
37
|
+
integrated into the Software by the Licensor.
|
|
38
|
+
|
|
39
|
+
**1.6 "Contribution"**
|
|
40
|
+
means any modification, addition, deletion, bug fix, documentation
|
|
41
|
+
update, or improvement submitted by a Contributor through a Merge Request.
|
|
42
|
+
|
|
43
|
+
**1.7 "Unauthorized Use"**
|
|
44
|
+
means any use of the Software or its derivatives outside the
|
|
45
|
+
permissions explicitly granted under this License.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## ARTICLE 2 — GRANT OF LIMITED RIGHTS
|
|
50
|
+
|
|
51
|
+
**2.1 Permitted Actions**
|
|
52
|
+
|
|
53
|
+
Subject to full compliance with this Agreement, the Licensor hereby grants
|
|
54
|
+
the Contributor a **limited, non-exclusive, non-transferable, revocable**
|
|
55
|
+
right to:
|
|
56
|
+
|
|
57
|
+
- ✅ **View** the source code of the Software
|
|
58
|
+
- ✅ **Fork** the Software solely for the purpose of preparing a Merge Request
|
|
59
|
+
- ✅ **Modify** the forked copy solely for the purpose of submitting a Merge Request
|
|
60
|
+
- ✅ **Submit** a Merge Request to the Licensor for review and approval
|
|
61
|
+
|
|
62
|
+
**2.2** These rights are **strictly conditional** upon compliance with all
|
|
63
|
+
terms of this License.
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## ARTICLE 3 — STRICT PROHIBITIONS
|
|
68
|
+
|
|
69
|
+
**3.1 The Contributor is explicitly PROHIBITED from:**
|
|
70
|
+
|
|
71
|
+
- ❌ **Distributing** the Software or any modified version thereof
|
|
72
|
+
- ❌ **Publishing** the Software or derivatives on any platform, website,
|
|
73
|
+
or repository other than the official repository
|
|
74
|
+
- ❌ **Selling**, licensing, sublicensing, or commercially exploiting
|
|
75
|
+
the Software or any part thereof
|
|
76
|
+
- ❌ **Merging**, deploying, or integrating changes into any production
|
|
77
|
+
or personal project without explicit written permission from the Licensor
|
|
78
|
+
- ❌ **Using** the forked copy or any derived version for any purpose
|
|
79
|
+
other than submitting a Merge Request
|
|
80
|
+
- ❌ **Sharing** the forked copy publicly as an independent project
|
|
81
|
+
- ❌ **Claiming ownership** or co-ownership of the Software or any
|
|
82
|
+
portion thereof
|
|
83
|
+
- ❌ **Removing or altering** any copyright notices, license headers,
|
|
84
|
+
or attribution present in the Software
|
|
85
|
+
- ❌ **Reverse engineering**, decompiling, or using the Software
|
|
86
|
+
for competing purposes
|
|
87
|
+
- ❌ **Keeping** a fork active beyond a reasonable period after a
|
|
88
|
+
Merge Request has been accepted, rejected, or closed
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## ARTICLE 4 — MERGE REQUEST PROTOCOL
|
|
93
|
+
|
|
94
|
+
**4.1 Submission Requirements**
|
|
95
|
+
|
|
96
|
+
All Merge Requests submitted by a Contributor must:
|
|
97
|
+
|
|
98
|
+
- Be submitted through the official and designated repository platform
|
|
99
|
+
(e.g., GitHub, GitLab, Bitbucket) as specified by the Licensor
|
|
100
|
+
- Clearly describe the nature and purpose of the proposed changes
|
|
101
|
+
- Be limited in scope to a single feature, fix, or improvement per request
|
|
102
|
+
unless otherwise agreed in writing by the Licensor
|
|
103
|
+
- Not include any third-party code, libraries, or assets without prior
|
|
104
|
+
written consent from the Licensor
|
|
105
|
+
|
|
106
|
+
**4.2 Review and Discretion**
|
|
107
|
+
|
|
108
|
+
The Licensor retains **absolute and sole discretion** to:
|
|
109
|
+
|
|
110
|
+
- Accept, reject, modify, or ignore any Merge Request for any reason
|
|
111
|
+
or no reason at all
|
|
112
|
+
- Request revisions from the Contributor before any consideration
|
|
113
|
+
of acceptance
|
|
114
|
+
- Close any Merge Request deemed inconsistent with the goals or
|
|
115
|
+
standards of the Software
|
|
116
|
+
|
|
117
|
+
**4.3 No Obligation**
|
|
118
|
+
|
|
119
|
+
The Licensor is under **no obligation** to:
|
|
120
|
+
|
|
121
|
+
- Review any Merge Request within a specific timeframe
|
|
122
|
+
- Provide feedback or justification for rejection
|
|
123
|
+
- Accept any Contribution regardless of quality or effort
|
|
124
|
+
|
|
125
|
+
**4.4 Transfer of Rights Upon Acceptance**
|
|
126
|
+
|
|
127
|
+
By submitting a Merge Request, the Contributor **irrevocably assigns
|
|
128
|
+
and transfers** to the Licensor all intellectual property rights,
|
|
129
|
+
including but not limited to copyright, in and to the Contribution,
|
|
130
|
+
effective upon submission. The Contributor waives any and all moral
|
|
131
|
+
rights to the Contribution to the fullest extent permitted by
|
|
132
|
+
applicable law.
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## ARTICLE 5 — CONTRIBUTOR REPRESENTATIONS AND WARRANTIES
|
|
137
|
+
|
|
138
|
+
**5.1 By submitting a Merge Request, the Contributor represents
|
|
139
|
+
and warrants that:**
|
|
140
|
+
|
|
141
|
+
- The Contribution is the original work of the Contributor
|
|
142
|
+
- The Contributor has full legal authority to submit the Contribution
|
|
143
|
+
and assign rights therein
|
|
144
|
+
- The Contribution does not infringe upon any third-party intellectual
|
|
145
|
+
property rights, patents, trademarks, or trade secrets
|
|
146
|
+
- The Contribution does not contain any malicious code, backdoors,
|
|
147
|
+
or harmful components
|
|
148
|
+
- The Contribution complies with all applicable laws and regulations
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## ARTICLE 6 — INTELLECTUAL PROPERTY AND OWNERSHIP
|
|
153
|
+
|
|
154
|
+
**6.1** The Licensor retains **full, exclusive, and perpetual ownership**
|
|
155
|
+
of the Software, including all accepted Contributions.
|
|
156
|
+
|
|
157
|
+
**6.2** Nothing in this License shall be construed as transferring any
|
|
158
|
+
ownership rights to the Contributor.
|
|
159
|
+
|
|
160
|
+
**6.3** The Contributor shall receive **no compensation, royalty, or
|
|
161
|
+
payment** of any kind for any Contribution unless a separate written
|
|
162
|
+
agreement expressly provides otherwise.
|
|
163
|
+
|
|
164
|
+
**6.4** The Licensor may credit the Contributor at the Licensor's sole
|
|
165
|
+
discretion but is under no obligation to do so.
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## ARTICLE 7 — TERMINATION
|
|
170
|
+
|
|
171
|
+
**7.1** This License and all rights granted hereunder shall **automatically
|
|
172
|
+
terminate**, with immediate effect, if the Contributor:
|
|
173
|
+
|
|
174
|
+
- Violates any term or condition of this License
|
|
175
|
+
- Distributes, publishes, or misuses the Software or any fork thereof
|
|
176
|
+
- Engages in any conduct that the Licensor reasonably determines to be
|
|
177
|
+
harmful to the Software or its reputation
|
|
178
|
+
|
|
179
|
+
**7.2** Upon termination, the Contributor must:
|
|
180
|
+
|
|
181
|
+
- Immediately **delete and destroy** all copies, forks, and derivatives
|
|
182
|
+
of the Software in their possession
|
|
183
|
+
- **Cease all use** of the Software without exception
|
|
184
|
+
|
|
185
|
+
**7.3** Termination of this License does not limit any other remedies
|
|
186
|
+
available to the Licensor at law or in equity.
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
## ARTICLE 8 — DISCLAIMER OF WARRANTIES
|
|
191
|
+
|
|
192
|
+
**8.1** THE SOFTWARE IS PROVIDED **"AS IS"** WITHOUT WARRANTY OF ANY KIND,
|
|
193
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF
|
|
194
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
|
|
195
|
+
|
|
196
|
+
**8.2** THE LICENSOR DOES NOT WARRANT THAT THE SOFTWARE WILL BE
|
|
197
|
+
ERROR-FREE OR UNINTERRUPTED.
|
|
198
|
+
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
## ARTICLE 9 — LIMITATION OF LIABILITY
|
|
202
|
+
|
|
203
|
+
**9.1** TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSOR
|
|
204
|
+
SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
205
|
+
CONSEQUENTIAL, OR PUNITIVE DAMAGES ARISING OUT OF OR RELATED TO THIS
|
|
206
|
+
LICENSE OR THE USE OF THE SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
|
207
|
+
OF SUCH DAMAGES.
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
## ARTICLE 10 — GOVERNING LAW AND DISPUTE RESOLUTION
|
|
212
|
+
|
|
213
|
+
**10.1** This License shall be governed by and construed in accordance
|
|
214
|
+
with the laws of **[YOUR JURISDICTION/COUNTRY]**, without regard to
|
|
215
|
+
conflict of law principles.
|
|
216
|
+
|
|
217
|
+
**10.2** Any dispute arising out of or in connection with this License
|
|
218
|
+
shall be subject to the **exclusive jurisdiction** of the courts located
|
|
219
|
+
in **[YOUR CITY/COUNTRY]**.
|
|
220
|
+
|
|
221
|
+
**10.3** In the event of any dispute, the prevailing party shall be
|
|
222
|
+
entitled to recover reasonable **attorney's fees and legal costs**.
|
|
223
|
+
|
|
224
|
+
---
|
|
225
|
+
|
|
226
|
+
## ARTICLE 11 — GENERAL PROVISIONS
|
|
227
|
+
|
|
228
|
+
**11.1 Entire Agreement**
|
|
229
|
+
This License constitutes the entire agreement between the Licensor
|
|
230
|
+
and Contributor with respect to the Software and supersedes all
|
|
231
|
+
prior understandings.
|
|
232
|
+
|
|
233
|
+
**11.2 Severability**
|
|
234
|
+
If any provision of this License is found to be unenforceable,
|
|
235
|
+
the remaining provisions shall continue in full force and effect.
|
|
236
|
+
|
|
237
|
+
**11.3 No Waiver**
|
|
238
|
+
Failure by the Licensor to enforce any provision of this License
|
|
239
|
+
shall not constitute a waiver of the Licensor's right to enforce
|
|
240
|
+
such provision in the future.
|
|
241
|
+
|
|
242
|
+
**11.4 Amendments**
|
|
243
|
+
The Licensor reserves the right to modify this License at any time.
|
|
244
|
+
Continued use of or contribution to the Software after such
|
|
245
|
+
modification constitutes acceptance of the updated License.
|
|
246
|
+
|
|
247
|
+
**11.5 No Partnership**
|
|
248
|
+
Nothing in this License creates a partnership, employment
|
|
249
|
+
relationship, or agency between the Licensor and any Contributor.
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
## ACCEPTANCE
|
|
254
|
+
|
|
255
|
+
> **By forking, cloning, accessing, or submitting a Merge Request to
|
|
256
|
+
> the Software, you acknowledge that you have read, understood, and
|
|
257
|
+
> agree to be legally bound by all terms and conditions of this
|
|
258
|
+
> Contributive Source License (CSL) Version 1.0.**
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
|
|
262
|
+
**Copyright © 2026 Xenial-Devil**
|
|
263
|
+
**All Rights Reserved.**
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
### How To Apply This License
|
|
268
|
+
|
|
269
|
+
Place this file in the root of your repository as `LICENSE.md`
|
|
270
|
+
and add the following header to your source files:
|
|
271
|
+
|
|
272
|
+
> Copyright (c) 2026 Xenial-Devil. All Rights Reserved.
|
|
273
|
+
> Licensed under the Contributive Source License (CSL) v1.0.
|
|
274
|
+
> Forking permitted for Merge Request purposes ONLY.
|
|
275
|
+
> See LICENSE.md for full terms.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const tickerCarouselVariants: (props?: ({
|
|
2
|
+
variant?: "default" | "glass" | "bordered" | "contained" | null | undefined;
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
|
+
declare const tickerViewportVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
5
|
+
declare const tickerRowsVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
6
|
+
declare const tickerRowVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
7
|
+
declare const tickerTrackVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
8
|
+
declare const tickerItemVariants: (props?: ({
|
|
9
|
+
itemVariant?: "default" | "bordered" | "elevated" | "ghost" | "soft" | null | undefined;
|
|
10
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
|
+
declare const tickerCardVariants: (props?: ({
|
|
12
|
+
itemVariant?: "default" | "bordered" | "elevated" | "ghost" | "soft" | null | undefined;
|
|
13
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
14
|
+
declare const edgeFadeVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
15
|
+
export { tickerCarouselVariants, tickerViewportVariants, tickerRowsVariants, tickerRowVariants, tickerTrackVariants, tickerItemVariants, tickerCardVariants, edgeFadeVariants, };
|
|
16
|
+
//# sourceMappingURL=TickerCarousel.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TickerCarousel.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TickerCarousel/TickerCarousel.styles.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,sBAAsB;;8EAa1B,CAAC;AAEH,QAAA,MAAM,sBAAsB,oFAAyC,CAAC;AAEtE,QAAA,MAAM,kBAAkB,oFAAgC,CAAC;AAEzD,QAAA,MAAM,iBAAiB,oFAAyC,CAAC;AAEjE,QAAA,MAAM,mBAAmB,oFAExB,CAAC;AAEF,QAAA,MAAM,kBAAkB;;8EAatB,CAAC;AAEH,QAAA,MAAM,kBAAkB;;8EAgBvB,CAAC;AAEF,QAAA,MAAM,gBAAgB,oFAErB,CAAC;AAEF,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,GACjB,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { cva as r } from "class-variance-authority";
|
|
2
|
+
const t = r("relative w-full", {
|
|
3
|
+
variants: {
|
|
4
|
+
variant: {
|
|
5
|
+
default: "rounded-none",
|
|
6
|
+
contained: "max-w-7xl mx-auto",
|
|
7
|
+
bordered: "rounded-xl border-2 border-border shadow-lg",
|
|
8
|
+
glass: "rounded-xl border border-border/30 bg-background/5 backdrop-blur-sm shadow-2xl"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
defaultVariants: {
|
|
12
|
+
variant: "default"
|
|
13
|
+
}
|
|
14
|
+
}), a = r("relative w-full overflow-hidden"), o = r("relative flex flex-col"), n = r("relative w-full overflow-hidden"), d = r(
|
|
15
|
+
"flex w-max will-change-transform motion-reduce:transform-none"
|
|
16
|
+
), i = r("shrink-0", {
|
|
17
|
+
variants: {
|
|
18
|
+
itemVariant: {
|
|
19
|
+
default: "",
|
|
20
|
+
bordered: "",
|
|
21
|
+
soft: "",
|
|
22
|
+
ghost: "",
|
|
23
|
+
elevated: ""
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
defaultVariants: {
|
|
27
|
+
itemVariant: "default"
|
|
28
|
+
}
|
|
29
|
+
}), s = r(
|
|
30
|
+
"relative overflow-hidden rounded-xl border transition-all duration-300 focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2",
|
|
31
|
+
{
|
|
32
|
+
variants: {
|
|
33
|
+
itemVariant: {
|
|
34
|
+
default: "border-border bg-card text-card-foreground shadow-sm",
|
|
35
|
+
bordered: "border-border bg-background text-foreground shadow-md",
|
|
36
|
+
soft: "border-transparent bg-muted text-foreground shadow-sm",
|
|
37
|
+
ghost: "border-transparent bg-transparent text-foreground shadow-none",
|
|
38
|
+
elevated: "border-border bg-card text-card-foreground shadow-xl"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
defaultVariants: {
|
|
42
|
+
itemVariant: "default"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
), l = r(
|
|
46
|
+
"pointer-events-none absolute top-0 z-10 h-full w-16 sm:w-20"
|
|
47
|
+
);
|
|
48
|
+
export {
|
|
49
|
+
l as edgeFadeVariants,
|
|
50
|
+
s as tickerCardVariants,
|
|
51
|
+
t as tickerCarouselVariants,
|
|
52
|
+
i as tickerItemVariants,
|
|
53
|
+
n as tickerRowVariants,
|
|
54
|
+
o as tickerRowsVariants,
|
|
55
|
+
d as tickerTrackVariants,
|
|
56
|
+
a as tickerViewportVariants
|
|
57
|
+
};
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type TickerDirection = "left" | "right";
|
|
3
|
+
export type TickerVariant = "default" | "contained" | "bordered" | "glass";
|
|
4
|
+
export type TickerItemVariant = "default" | "bordered" | "soft" | "ghost" | "elevated";
|
|
5
|
+
export type ReducedMotionBehavior = "stop" | "static" | "scrollable";
|
|
6
|
+
export type AnimationStrategy = "css";
|
|
7
|
+
export interface TickerRowConfig {
|
|
8
|
+
id?: string | number;
|
|
9
|
+
direction?: TickerDirection;
|
|
10
|
+
speed?: number;
|
|
11
|
+
gap?: number | string;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
ariaLabel?: string;
|
|
15
|
+
pauseOnHover?: boolean;
|
|
16
|
+
pauseOnFocus?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface TickerClassNames {
|
|
19
|
+
root?: string;
|
|
20
|
+
viewport?: string;
|
|
21
|
+
rows?: string;
|
|
22
|
+
row?: string | ((rowIndex: number) => string);
|
|
23
|
+
rowTrack?: string | ((rowIndex: number) => string);
|
|
24
|
+
item?: string | ((index: number, rowIndex: number) => string);
|
|
25
|
+
itemInner?: string | ((index: number, rowIndex: number) => string);
|
|
26
|
+
edgeFadeLeft?: string;
|
|
27
|
+
edgeFadeRight?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface TickerStyles {
|
|
30
|
+
root?: React.CSSProperties;
|
|
31
|
+
viewport?: React.CSSProperties;
|
|
32
|
+
rows?: React.CSSProperties;
|
|
33
|
+
row?: React.CSSProperties | ((rowIndex: number) => React.CSSProperties);
|
|
34
|
+
rowTrack?: React.CSSProperties | ((rowIndex: number) => React.CSSProperties);
|
|
35
|
+
item?: React.CSSProperties | ((index: number, rowIndex: number) => React.CSSProperties);
|
|
36
|
+
}
|
|
37
|
+
export interface TickerSlotProps {
|
|
38
|
+
root?: React.HTMLAttributes<HTMLDivElement>;
|
|
39
|
+
viewport?: React.HTMLAttributes<HTMLDivElement>;
|
|
40
|
+
rows?: React.HTMLAttributes<HTMLDivElement>;
|
|
41
|
+
row?: React.HTMLAttributes<HTMLDivElement>;
|
|
42
|
+
rowTrack?: React.HTMLAttributes<HTMLDivElement>;
|
|
43
|
+
item?: React.HTMLAttributes<HTMLDivElement>;
|
|
44
|
+
}
|
|
45
|
+
export interface TickerRenderMeta {
|
|
46
|
+
index: number;
|
|
47
|
+
rowIndex: number;
|
|
48
|
+
cloneIndex: number;
|
|
49
|
+
isClone: boolean;
|
|
50
|
+
isPaused: boolean;
|
|
51
|
+
direction: TickerDirection;
|
|
52
|
+
}
|
|
53
|
+
export interface TickerMetrics {
|
|
54
|
+
rowWidths: number[];
|
|
55
|
+
containerWidth: number;
|
|
56
|
+
cloneMultipliers: number[];
|
|
57
|
+
}
|
|
58
|
+
export interface TickerCarouselRef {
|
|
59
|
+
play: () => void;
|
|
60
|
+
pause: () => void;
|
|
61
|
+
toggle: () => void;
|
|
62
|
+
recalculate: () => void;
|
|
63
|
+
getRootElement: () => HTMLDivElement | null;
|
|
64
|
+
getRowElement: (rowIndex: number) => HTMLDivElement | null;
|
|
65
|
+
}
|
|
66
|
+
export interface TickerCarouselItemBase {
|
|
67
|
+
id?: string | number;
|
|
68
|
+
href?: string;
|
|
69
|
+
avatar?: string;
|
|
70
|
+
image?: string;
|
|
71
|
+
name?: string;
|
|
72
|
+
username?: string;
|
|
73
|
+
title?: string;
|
|
74
|
+
quote?: string;
|
|
75
|
+
description?: string;
|
|
76
|
+
content?: React.ReactNode;
|
|
77
|
+
[key: string]: any;
|
|
78
|
+
}
|
|
79
|
+
export interface TickerCardProps<TItem = TickerCarouselItemBase> extends React.HTMLAttributes<HTMLDivElement> {
|
|
80
|
+
item: TItem;
|
|
81
|
+
width?: number | string;
|
|
82
|
+
rowIndex?: number;
|
|
83
|
+
index?: number;
|
|
84
|
+
itemVariant?: TickerItemVariant;
|
|
85
|
+
}
|
|
86
|
+
export interface TickerCarouselRowProps<TItem = any> extends React.HTMLAttributes<HTMLDivElement> {
|
|
87
|
+
rowIndex: number;
|
|
88
|
+
items: TItem[];
|
|
89
|
+
speed: number;
|
|
90
|
+
direction: TickerDirection;
|
|
91
|
+
gap: number | string;
|
|
92
|
+
cardWidth?: number | string;
|
|
93
|
+
itemVariant: TickerItemVariant;
|
|
94
|
+
pauseOnHover: boolean;
|
|
95
|
+
pauseOnFocus: boolean;
|
|
96
|
+
fillViewport: boolean;
|
|
97
|
+
minimumClones: number;
|
|
98
|
+
reducedMotionBehavior: ReducedMotionBehavior;
|
|
99
|
+
showEdgeFade: boolean;
|
|
100
|
+
renderItem?: (item: TItem, index: number, meta: TickerRenderMeta) => React.ReactNode;
|
|
101
|
+
getItemKey?: (item: TItem, index: number) => React.Key;
|
|
102
|
+
itemClassName?: string | ((index: number, rowIndex: number) => string);
|
|
103
|
+
itemStyle?: React.CSSProperties | ((index: number, rowIndex: number) => React.CSSProperties);
|
|
104
|
+
rowTrackClassName?: string | ((rowIndex: number) => string);
|
|
105
|
+
rowTrackStyle?: React.CSSProperties | ((rowIndex: number) => React.CSSProperties);
|
|
106
|
+
slotProps?: TickerSlotProps;
|
|
107
|
+
onMeasure?: (rowIndex: number, rowWidth: number, cloneMultiplier: number) => void;
|
|
108
|
+
onHoverStart?: (rowIndex: number) => void;
|
|
109
|
+
onHoverEnd?: (rowIndex: number) => void;
|
|
110
|
+
onItemClick?: (item: TItem, index: number, rowIndex: number) => void;
|
|
111
|
+
}
|
|
112
|
+
export interface TickerCarouselProps<TItem = TickerCarouselItemBase> extends React.HTMLAttributes<HTMLDivElement> {
|
|
113
|
+
items?: TItem[];
|
|
114
|
+
children?: React.ReactNode;
|
|
115
|
+
rows?: number;
|
|
116
|
+
rowConfigs?: TickerRowConfig[];
|
|
117
|
+
speed?: number;
|
|
118
|
+
rowSpeeds?: number[];
|
|
119
|
+
direction?: TickerDirection;
|
|
120
|
+
rowDirections?: TickerDirection[];
|
|
121
|
+
animationStrategy?: AnimationStrategy;
|
|
122
|
+
easing?: string;
|
|
123
|
+
loop?: boolean;
|
|
124
|
+
paused?: boolean;
|
|
125
|
+
defaultPaused?: boolean;
|
|
126
|
+
onPausedChange?: (paused: boolean) => void;
|
|
127
|
+
pauseOnHover?: boolean;
|
|
128
|
+
pauseOnFocus?: boolean;
|
|
129
|
+
pauseOnPointerDown?: boolean;
|
|
130
|
+
pauseWhenOffscreen?: boolean;
|
|
131
|
+
playOnMount?: boolean;
|
|
132
|
+
gap?: number | string;
|
|
133
|
+
rowGap?: number | string;
|
|
134
|
+
cardWidth?: number | string;
|
|
135
|
+
minCardWidth?: number | string;
|
|
136
|
+
maxCardWidth?: number | string;
|
|
137
|
+
variant?: TickerVariant;
|
|
138
|
+
itemVariant?: TickerItemVariant;
|
|
139
|
+
showEdgeFade?: boolean;
|
|
140
|
+
edgeFadeWidth?: number | string;
|
|
141
|
+
respectReducedMotion?: boolean;
|
|
142
|
+
reducedMotionBehavior?: ReducedMotionBehavior;
|
|
143
|
+
fillViewport?: boolean;
|
|
144
|
+
minimumClones?: number;
|
|
145
|
+
ariaLabel?: string;
|
|
146
|
+
ariaLabelledBy?: string;
|
|
147
|
+
ariaDescribedBy?: string;
|
|
148
|
+
rowAriaLabels?: string[];
|
|
149
|
+
getItemKey?: (item: TItem, index: number) => React.Key;
|
|
150
|
+
renderItem?: (item: TItem, index: number, meta: TickerRenderMeta) => React.ReactNode;
|
|
151
|
+
classNames?: TickerClassNames;
|
|
152
|
+
styles?: TickerStyles;
|
|
153
|
+
slotProps?: TickerSlotProps;
|
|
154
|
+
onPlay?: () => void;
|
|
155
|
+
onPause?: () => void;
|
|
156
|
+
onMeasure?: (metrics: TickerMetrics) => void;
|
|
157
|
+
onRowHoverStart?: (rowIndex: number) => void;
|
|
158
|
+
onRowHoverEnd?: (rowIndex: number) => void;
|
|
159
|
+
onItemClick?: (item: TItem, index: number, rowIndex: number) => void;
|
|
160
|
+
}
|
|
161
|
+
//# sourceMappingURL=TickerCarousel.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TickerCarousel.types.d.ts","sourceRoot":"","sources":["../../../src/components/TickerCarousel/TickerCarousel.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,OAAO,CAAC;AAE/C,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,OAAO,CAAC;AAE3E,MAAM,MAAM,iBAAiB,GACzB,SAAS,GACT,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,CAAC;AAEf,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,QAAQ,GAAG,YAAY,CAAC;AAErE,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC;AAEtC,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM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,EAAE,MAAM,GAAG,MAAM,CAAC;IAEhC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAE9C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAEzB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,GAAG,CAAC;IACvD,UAAU,CAAC,EAAE,CACX,IAAI,EAAE,KAAK,EACX,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,gBAAgB,KACnB,KAAK,CAAC,SAAS,CAAC;IAErB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,SAAS,CAAC,EAAE,eAAe,CAAC;IAE5B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC7C,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACtE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TickerCarouselProps, TickerCarouselRef, TickerCarouselRowProps, TickerCardProps } from './TickerCarousel.types';
|
|
3
|
+
declare const TickerCard: React.ForwardRefExoticComponent<TickerCardProps<any> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const TickerCarouselRow: React.ForwardRefExoticComponent<TickerCarouselRowProps<any> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const TickerCarousel: React.ForwardRefExoticComponent<TickerCarouselProps<any> & React.RefAttributes<TickerCarouselRef>>;
|
|
6
|
+
export { TickerCarousel, TickerCarouselRow, TickerCard };
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TickerCarousel/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KASN,MAAM,OAAO,CAAC;AAEf,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,EAGhB,MAAM,wBAAwB,CAAC;AAwIhC,QAAA,MAAM,UAAU,6FAyFf,CAAC;AAIF,QAAA,MAAM,iBAAiB,oGAoQtB,CAAC;AAIF,QAAA,MAAM,cAAc,oGA0UnB,CAAC;AAIF,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC"}
|