asheeui 1.1.0 → 2.0.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 +201 -21
- package/NOTICE +10 -0
- package/README.md +3 -1
- package/dist/components/accordion/Accordion.d.ts +1 -1
- package/dist/components/centered/Centered.d.ts +49 -0
- package/dist/components/centered/Centered.d.ts.map +1 -0
- package/dist/components/centered/Centered.js +32 -0
- package/dist/components/centered/centered-config.d.ts +63 -0
- package/dist/components/centered/centered-config.d.ts.map +1 -0
- package/dist/components/centered/centered-config.js +17 -0
- package/dist/components/centered/centered-styles.d.ts +11 -0
- package/dist/components/centered/centered-styles.d.ts.map +1 -0
- package/dist/components/centered/centered-styles.js +9 -0
- package/dist/components/centered/index.d.ts +3 -0
- package/dist/components/centered/index.d.ts.map +1 -0
- package/dist/components/centered/index.js +3 -0
- package/dist/components/chip/Chip.d.ts +8 -0
- package/dist/components/chip/Chip.d.ts.map +1 -1
- package/dist/components/chip/Chip.js +15 -15
- package/dist/components/data-table/DataTable.d.ts +137 -0
- package/dist/components/data-table/DataTable.d.ts.map +1 -0
- package/dist/components/data-table/DataTable.js +101 -0
- package/dist/components/data-table/data-table-config.d.ts +75 -0
- package/dist/components/data-table/data-table-config.d.ts.map +1 -0
- package/dist/components/data-table/data-table-config.js +24 -0
- package/dist/components/data-table/data-table-styles.d.ts +25 -0
- package/dist/components/data-table/data-table-styles.d.ts.map +1 -0
- package/dist/components/data-table/data-table-styles.js +5 -0
- package/dist/components/data-table/index.d.ts +3 -0
- package/dist/components/data-table/index.d.ts.map +1 -0
- package/dist/components/data-table/index.js +3 -0
- package/dist/components/docs-layout/DocsLayout.d.ts +94 -0
- package/dist/components/docs-layout/DocsLayout.d.ts.map +1 -0
- package/dist/components/docs-layout/DocsLayout.js +62 -0
- package/dist/components/docs-layout/docs-layout-config.d.ts +61 -0
- package/dist/components/docs-layout/docs-layout-config.d.ts.map +1 -0
- package/dist/components/docs-layout/docs-layout-config.js +22 -0
- package/dist/components/docs-layout/docs-layout-styles.d.ts +31 -0
- package/dist/components/docs-layout/docs-layout-styles.d.ts.map +1 -0
- package/dist/components/docs-layout/docs-layout-styles.js +5 -0
- package/dist/components/docs-layout/index.d.ts +3 -0
- package/dist/components/docs-layout/index.d.ts.map +1 -0
- package/dist/components/docs-layout/index.js +3 -0
- package/dist/components/empty-state/EmptyState.d.ts +19 -1
- package/dist/components/empty-state/EmptyState.d.ts.map +1 -1
- package/dist/components/empty-state/EmptyState.js +10 -9
- package/dist/components/error-state/ErrorState.d.ts +98 -0
- package/dist/components/error-state/ErrorState.d.ts.map +1 -0
- package/dist/components/error-state/ErrorState.js +57 -0
- package/dist/components/error-state/error-state-config.d.ts +66 -0
- package/dist/components/error-state/error-state-config.d.ts.map +1 -0
- package/dist/components/error-state/error-state-config.js +20 -0
- package/dist/components/error-state/error-state-styles.d.ts +17 -0
- package/dist/components/error-state/error-state-styles.d.ts.map +1 -0
- package/dist/components/error-state/error-state-styles.js +5 -0
- package/dist/components/error-state/index.d.ts +3 -0
- package/dist/components/error-state/index.d.ts.map +1 -0
- package/dist/components/error-state/index.js +3 -0
- package/dist/components/file-upload/FileUpload.d.ts +112 -0
- package/dist/components/file-upload/FileUpload.d.ts.map +1 -0
- package/dist/components/file-upload/FileUpload.js +83 -0
- package/dist/components/file-upload/file-upload-config.d.ts +41 -0
- package/dist/components/file-upload/file-upload-config.d.ts.map +1 -0
- package/dist/components/file-upload/file-upload-config.js +16 -0
- package/dist/components/file-upload/file-upload-styles.d.ts +22 -0
- package/dist/components/file-upload/file-upload-styles.d.ts.map +1 -0
- package/dist/components/file-upload/file-upload-styles.js +9 -0
- package/dist/components/file-upload/file-upload.helpers.d.ts +26 -0
- package/dist/components/file-upload/file-upload.helpers.d.ts.map +1 -0
- package/dist/components/file-upload/file-upload.helpers.js +17 -0
- package/dist/components/file-upload/index.d.ts +3 -0
- package/dist/components/file-upload/index.d.ts.map +1 -0
- package/dist/components/file-upload/index.js +4 -0
- package/dist/components/loading-state/LoadingState.d.ts +57 -0
- package/dist/components/loading-state/LoadingState.d.ts.map +1 -0
- package/dist/components/loading-state/LoadingState.js +44 -0
- package/dist/components/loading-state/index.d.ts +3 -0
- package/dist/components/loading-state/index.d.ts.map +1 -0
- package/dist/components/loading-state/index.js +3 -0
- package/dist/components/loading-state/loading-state-config.d.ts +49 -0
- package/dist/components/loading-state/loading-state-config.d.ts.map +1 -0
- package/dist/components/loading-state/loading-state-config.js +18 -0
- package/dist/components/loading-state/loading-state-styles.d.ts +12 -0
- package/dist/components/loading-state/loading-state-styles.d.ts.map +1 -0
- package/dist/components/loading-state/loading-state-styles.js +9 -0
- package/dist/components/marketing-layout/MarketingLayout.d.ts +83 -0
- package/dist/components/marketing-layout/MarketingLayout.d.ts.map +1 -0
- package/dist/components/marketing-layout/MarketingLayout.js +40 -0
- package/dist/components/marketing-layout/index.d.ts +3 -0
- package/dist/components/marketing-layout/index.d.ts.map +1 -0
- package/dist/components/marketing-layout/index.js +3 -0
- package/dist/components/marketing-layout/marketing-layout-config.d.ts +60 -0
- package/dist/components/marketing-layout/marketing-layout-config.d.ts.map +1 -0
- package/dist/components/marketing-layout/marketing-layout-config.js +16 -0
- package/dist/components/marketing-layout/marketing-layout-styles.d.ts +8 -0
- package/dist/components/marketing-layout/marketing-layout-styles.d.ts.map +1 -0
- package/dist/components/marketing-layout/marketing-layout-styles.js +8 -0
- package/dist/components/search-input/SearchInput.d.ts +111 -0
- package/dist/components/search-input/SearchInput.d.ts.map +1 -0
- package/dist/components/search-input/SearchInput.js +86 -0
- package/dist/components/search-input/index.d.ts +3 -0
- package/dist/components/search-input/index.d.ts.map +1 -0
- package/dist/components/search-input/index.js +3 -0
- package/dist/components/search-input/search-input-config.d.ts +55 -0
- package/dist/components/search-input/search-input-config.d.ts.map +1 -0
- package/dist/components/search-input/search-input-config.js +20 -0
- package/dist/components/search-input/search-input-styles.d.ts +16 -0
- package/dist/components/search-input/search-input-styles.d.ts.map +1 -0
- package/dist/components/search-input/search-input-styles.js +9 -0
- package/dist/components/section-kit/ActionGroup.d.ts +8 -1
- package/dist/components/section-kit/ActionGroup.d.ts.map +1 -1
- package/dist/components/section-kit/ActionGroup.js +13 -9
- package/dist/components/section-kit/SkipLink.d.ts +50 -0
- package/dist/components/section-kit/SkipLink.d.ts.map +1 -0
- package/dist/components/section-kit/SkipLink.js +14 -0
- package/dist/components/section-kit/index.d.ts +5 -4
- package/dist/components/section-kit/index.d.ts.map +1 -1
- package/dist/components/section-kit/index.js +1 -0
- package/dist/components/sidebar-layout/SidebarLayout.d.ts.map +1 -1
- package/dist/components/sidebar-layout/SidebarLayout.js +25 -25
- package/dist/components/sidebar-layout/sidebar-layout-styles.d.ts +10 -3
- package/dist/components/sidebar-layout/sidebar-layout-styles.d.ts.map +1 -1
- package/dist/components/sidebar-layout/sidebar-layout-styles.js +2 -2
- package/dist/components/split/Split.d.ts +68 -0
- package/dist/components/split/Split.d.ts.map +1 -0
- package/dist/components/split/Split.js +36 -0
- package/dist/components/split/index.d.ts +3 -0
- package/dist/components/split/index.d.ts.map +1 -0
- package/dist/components/split/index.js +3 -0
- package/dist/components/split/split-config.d.ts +83 -0
- package/dist/components/split/split-config.d.ts.map +1 -0
- package/dist/components/split/split-config.js +20 -0
- package/dist/components/split/split-styles.d.ts +36 -0
- package/dist/components/split/split-styles.d.ts.map +1 -0
- package/dist/components/split/split-styles.js +76 -0
- package/dist/components/stepper/Stepper.d.ts +94 -0
- package/dist/components/stepper/Stepper.d.ts.map +1 -0
- package/dist/components/stepper/Stepper.js +71 -0
- package/dist/components/stepper/index.d.ts +3 -0
- package/dist/components/stepper/index.d.ts.map +1 -0
- package/dist/components/stepper/index.js +3 -0
- package/dist/components/stepper/stepper-config.d.ts +51 -0
- package/dist/components/stepper/stepper-config.d.ts.map +1 -0
- package/dist/components/stepper/stepper-config.js +16 -0
- package/dist/components/stepper/stepper-styles.d.ts +30 -0
- package/dist/components/stepper/stepper-styles.d.ts.map +1 -0
- package/dist/components/stepper/stepper-styles.js +25 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +93 -73
- package/dist/shared/spacing.d.ts +8 -0
- package/dist/shared/spacing.d.ts.map +1 -1
- package/dist/shared/spacing.js +9 -1
- package/package.json +5 -3
package/LICENSE
CHANGED
|
@@ -1,21 +1,201 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 Ashee Softworks
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
AsheeUI
|
|
2
|
+
Copyright 2026 Ashee Softworks
|
|
3
|
+
|
|
4
|
+
This product includes software developed at Ashee Softworks
|
|
5
|
+
(https://github.com/AsheeSoftworks/AsheeUI).
|
|
6
|
+
|
|
7
|
+
The framework's design system, component contracts and development
|
|
8
|
+
methodology are documented in this repository. The AI Test Driven
|
|
9
|
+
Development methodology that the project is developed with is created by
|
|
10
|
+
Ashee Softworks and published openly.
|
package/README.md
CHANGED
|
@@ -101,5 +101,7 @@ outside React, and a theme is defined as a block in the configuration.
|
|
|
101
101
|
|
|
102
102
|
## License
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
AsheeUI is licensed under the [Apache License 2.0](../../LICENSE). Copyright and
|
|
105
|
+
attribution notices are in the root [NOTICE](../../NOTICE) file; the repository's
|
|
106
|
+
[licensing guide](../../docs/licensing.md) explains what redistribution requires.
|
|
105
107
|
|
|
@@ -92,7 +92,7 @@ export interface AccordionProps extends BaseAccordionProps {
|
|
|
92
92
|
* variant="separated"
|
|
93
93
|
* items={[
|
|
94
94
|
* { title: "What is AsheeUI?", content: "A React component library." },
|
|
95
|
-
* { title: "Is it free?", content: "Yes, it is
|
|
95
|
+
* { title: "Is it free?", content: "Yes, it is Apache-2.0 licensed." },
|
|
96
96
|
* ]}
|
|
97
97
|
* />
|
|
98
98
|
* );
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ElementType, HTMLAttributes } from 'react';
|
|
2
|
+
import { CenteredConfig } from './centered-config';
|
|
3
|
+
type BaseCenteredProps = CenteredConfig & Omit<HTMLAttributes<HTMLDivElement>, "color">;
|
|
4
|
+
/**
|
|
5
|
+
* Props for the Centered component.
|
|
6
|
+
*/
|
|
7
|
+
export interface CenteredProps extends BaseCenteredProps {
|
|
8
|
+
/**
|
|
9
|
+
* Element to render.
|
|
10
|
+
* Defaults to a `div`.
|
|
11
|
+
*
|
|
12
|
+
* @default "div"
|
|
13
|
+
*/
|
|
14
|
+
as?: ElementType;
|
|
15
|
+
/**
|
|
16
|
+
* Content to place in the middle.
|
|
17
|
+
*/
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* A block placed in the middle of the space it is given.
|
|
22
|
+
*
|
|
23
|
+
* Centered resolves its options through the standard configuration cascade, so
|
|
24
|
+
* `components.centered` can set the axis and the reserved height once for a
|
|
25
|
+
* whole application. With `contained`, the content keeps a maximum width, which
|
|
26
|
+
* is what a whole-page centred region needs; without it, the block is as wide as
|
|
27
|
+
* its parent and only its children are centred.
|
|
28
|
+
*
|
|
29
|
+
* @param props - Centered configuration options and element attributes.
|
|
30
|
+
* @param props.axis - Axis to centre on. Defaults to "both".
|
|
31
|
+
* @param props.minHeight - Vertical room to reserve first. Defaults to "none".
|
|
32
|
+
* @param props.contained - Hold the content in a Container. Defaults to false.
|
|
33
|
+
* @param props.containerSize - Maximum width when contained. Defaults to "lg".
|
|
34
|
+
* @param props.as - Element to render. Defaults to "div".
|
|
35
|
+
* @returns The rendered block.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```tsx
|
|
39
|
+
* <Centered minHeight="lg" contained>
|
|
40
|
+
* <Card title="Session expired" description="Sign in again to continue." />
|
|
41
|
+
* </Centered>
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @see Container - The maximum-width column Centered can hold its content in.
|
|
45
|
+
* @see Split - The two-pane layout, for content that is not a single block.
|
|
46
|
+
*/
|
|
47
|
+
export declare const Centered: import('react').ForwardRefExoticComponent<CenteredProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
48
|
+
export {};
|
|
49
|
+
//# sourceMappingURL=Centered.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Centered.d.ts","sourceRoot":"","sources":["../../../src/components/centered/Centered.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EAAE,KAAK,WAAW,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAM1E,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,mBAAmB,CAAC;AAG3B,KAAK,iBAAiB,GAAG,cAAc,GACrC,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD;;;;;OAKG;IACH,EAAE,CAAC,EAAE,WAAW,CAAC;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,QAAQ,0GAgDpB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
import { cn as e } from "../../utils/cn.js";
|
|
4
|
+
import { SPACE_MIN_HEIGHT_CLASS as t } from "../../shared/spacing.js";
|
|
5
|
+
import { useAsheeConfig as n } from "../../libs/context.js";
|
|
6
|
+
import { resolveConfigCascade as r } from "../../utils/resolve-token.js";
|
|
7
|
+
import { Container as i } from "../container/Container.js";
|
|
8
|
+
import { FALLBACK_CENTERED_CONFIG as a } from "./centered-config.js";
|
|
9
|
+
import { CENTERED_AXIS_CLASS as o, CENTERED_BASE_CLASS as s } from "./centered-styles.js";
|
|
10
|
+
import { forwardRef as c } from "react";
|
|
11
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
12
|
+
//#region src/components/centered/Centered.tsx
|
|
13
|
+
var u = c(({ as: c, axis: u, minHeight: d, contained: f, containerSize: p, className: m, children: h, ...g }, _) => {
|
|
14
|
+
let v = n(), y = r({
|
|
15
|
+
axis: u,
|
|
16
|
+
minHeight: d,
|
|
17
|
+
contained: f,
|
|
18
|
+
containerSize: p
|
|
19
|
+
}, v.components?.centered, a), b = /* @__PURE__ */ l(c ?? "div", {
|
|
20
|
+
ref: _,
|
|
21
|
+
className: e(s, o[y.axis], t[y.minHeight], "flex-col", m),
|
|
22
|
+
...g,
|
|
23
|
+
children: h
|
|
24
|
+
});
|
|
25
|
+
return y.contained ? /* @__PURE__ */ l(i, {
|
|
26
|
+
size: y.containerSize,
|
|
27
|
+
children: b
|
|
28
|
+
}) : b;
|
|
29
|
+
});
|
|
30
|
+
u.displayName = "Centered";
|
|
31
|
+
//#endregion
|
|
32
|
+
export { u as Centered };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Space } from '../../shared';
|
|
2
|
+
import { ContainerSize } from '../container/container-config';
|
|
3
|
+
/**
|
|
4
|
+
* The axes a Centered block can centre on.
|
|
5
|
+
*
|
|
6
|
+
* - `both`: centres horizontally and vertically, the arrangement a sign-in card
|
|
7
|
+
* or an empty page wants.
|
|
8
|
+
* - `horizontal`: centres sideways only, for a heading or a single control.
|
|
9
|
+
* - `vertical`: centres vertically only, when the block's own width is intended.
|
|
10
|
+
*/
|
|
11
|
+
export type CenteredAxis = "both" | "horizontal" | "vertical";
|
|
12
|
+
/**
|
|
13
|
+
* Theme configuration options for the Centered component.
|
|
14
|
+
*
|
|
15
|
+
* Set under `components.centered` in the AsheeUI config. Values feed the
|
|
16
|
+
* component-level tier of the theme cascade.
|
|
17
|
+
*/
|
|
18
|
+
export interface CenteredConfig {
|
|
19
|
+
/**
|
|
20
|
+
* The axis the content is centred on.
|
|
21
|
+
*
|
|
22
|
+
* @default "both"
|
|
23
|
+
*/
|
|
24
|
+
axis?: CenteredAxis;
|
|
25
|
+
/**
|
|
26
|
+
* Vertical room the block reserves before centring.
|
|
27
|
+
* A block that is as tall as its content cannot be centred vertically, so a
|
|
28
|
+
* consumer chooses how much height the block claims.
|
|
29
|
+
*
|
|
30
|
+
* @default "none"
|
|
31
|
+
*/
|
|
32
|
+
minHeight?: Space;
|
|
33
|
+
/**
|
|
34
|
+
* Whether the content is held in a {@link Container}.
|
|
35
|
+
* Use it when the centred content is a whole page region rather than a single
|
|
36
|
+
* control, so the content keeps a readable maximum width.
|
|
37
|
+
*
|
|
38
|
+
* @default false
|
|
39
|
+
*/
|
|
40
|
+
contained?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Maximum content width when `contained` is on.
|
|
43
|
+
*
|
|
44
|
+
* @default "lg"
|
|
45
|
+
*/
|
|
46
|
+
containerSize?: ContainerSize;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Default config values registered for the Centered component.
|
|
50
|
+
* The axis and the container width are pinned; the height is not, because a
|
|
51
|
+
* block that reserves height by default would add space to every layout.
|
|
52
|
+
*/
|
|
53
|
+
export declare const defaultCenteredConfig: CenteredConfig;
|
|
54
|
+
declare module "../../libs/registry" {
|
|
55
|
+
interface ComponentTypeConfigRegistry {
|
|
56
|
+
centered: CenteredConfig;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Hard fallback values used when no config tier provides a value.
|
|
61
|
+
*/
|
|
62
|
+
export declare const FALLBACK_CENTERED_CONFIG: Required<CenteredConfig>;
|
|
63
|
+
//# sourceMappingURL=centered-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centered-config.d.ts","sourceRoot":"","sources":["../../../src/components/centered/centered-config.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEnE;;;;;;;GAOG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,CAAC;AAE9D;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IAEpB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC;IAElB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,cAInC,CAAC;AAEF,OAAO,QAAQ,qBAAqB,CAAC;IACnC,UAAU,2BAA2B;QACnC,QAAQ,EAAE,cAAc,CAAC;KAC1B;CACF;AAID;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,cAAc,CAK7D,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { registerComponentDefaults as e } from "../../libs/registry.js";
|
|
3
|
+
//#region src/components/centered/centered-config.ts
|
|
4
|
+
var t = {
|
|
5
|
+
axis: "both",
|
|
6
|
+
contained: !1,
|
|
7
|
+
containerSize: "lg"
|
|
8
|
+
};
|
|
9
|
+
e("centered", t);
|
|
10
|
+
var n = {
|
|
11
|
+
axis: "both",
|
|
12
|
+
minHeight: "none",
|
|
13
|
+
contained: !1,
|
|
14
|
+
containerSize: "lg"
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { n as FALLBACK_CENTERED_CONFIG, t as defaultCenteredConfig };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CenteredAxis } from './centered-config';
|
|
2
|
+
/**
|
|
3
|
+
* Centring classes for each axis.
|
|
4
|
+
* `both` also centres the text, because a block that is centred on both axes is
|
|
5
|
+
* almost always a short statement; a consumer with a different intent appends
|
|
6
|
+
* its own class, which wins.
|
|
7
|
+
*/
|
|
8
|
+
export declare const CENTERED_AXIS_CLASS: Record<CenteredAxis, string>;
|
|
9
|
+
/** Shared classes for every centred block. */
|
|
10
|
+
export declare const CENTERED_BASE_CLASS = "flex w-full min-w-0";
|
|
11
|
+
//# sourceMappingURL=centered-styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centered-styles.d.ts","sourceRoot":"","sources":["../../../src/components/centered/centered-styles.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAI5D,CAAC;AAEF,8CAA8C;AAC9C,eAAO,MAAM,mBAAmB,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
//#region src/components/centered/centered-styles.ts
|
|
3
|
+
var e = {
|
|
4
|
+
both: "items-center justify-center text-center",
|
|
5
|
+
horizontal: "items-center",
|
|
6
|
+
vertical: "justify-center"
|
|
7
|
+
}, t = "flex w-full min-w-0";
|
|
8
|
+
//#endregion
|
|
9
|
+
export { e as CENTERED_AXIS_CLASS, t as CENTERED_BASE_CLASS };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/centered/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC"}
|
|
@@ -42,6 +42,14 @@ export interface ChipProps extends BaseChipProps {
|
|
|
42
42
|
* Overrides the default CloseIcon.
|
|
43
43
|
*/
|
|
44
44
|
closeIcon?: ReactNode;
|
|
45
|
+
/**
|
|
46
|
+
* Accessible name of the remove control.
|
|
47
|
+
* A list of chips needs each remove control to say what it removes, so pass
|
|
48
|
+
* the chip's own subject, for example `"Remove invoice.pdf"`.
|
|
49
|
+
*
|
|
50
|
+
* @default "Remove chip"
|
|
51
|
+
*/
|
|
52
|
+
closeLabel?: string;
|
|
45
53
|
/**
|
|
46
54
|
* Chip content.
|
|
47
55
|
* The label text to display inside the chip.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/chip/Chip.tsx"],"names":[],"mappings":"AAUA,OAAO,EAEL,KAAK,cAAc,EAEnB,KAAK,UAAU,EACf,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAWf,OAAO,EACL,KAAK,UAAU,EAGhB,MAAM,eAAe,CAAC;AASvB;;GAEG;AACH,KAAK,aAAa,GAAG,UAAU,GAC7B,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC,CAAC;AAEzD,MAAM,WAAW,SAAU,SAAQ,aAAa;IAC9C;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB;;;OAGG;IACH,GAAG,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAEvB;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAErD;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/chip/Chip.tsx"],"names":[],"mappings":"AAUA,OAAO,EAEL,KAAK,cAAc,EAEnB,KAAK,UAAU,EACf,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAWf,OAAO,EACL,KAAK,UAAU,EAGhB,MAAM,eAAe,CAAC;AASvB;;GAEG;AACH,KAAK,aAAa,GAAG,UAAU,GAC7B,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC,CAAC;AAEzD,MAAM,WAAW,SAAU,SAAQ,aAAa;IAC9C;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB;;;OAGG;IACH,GAAG,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAEvB;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAErD;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,eAAO,MAAM,IAAI,sGAsOhB,CAAC"}
|
|
@@ -11,16 +11,16 @@ import { CHIP_FONT_CLASS as l, CHIP_GAP_CLASS as u, CHIP_HEIGHT_CLASS as d, CHIP
|
|
|
11
11
|
import { forwardRef as m } from "react";
|
|
12
12
|
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
13
13
|
//#region src/components/chip/Chip.tsx
|
|
14
|
-
var _ = m(({ variant: m, color: _, size: v, radius: y, isDisabled: b = !1, startIcon: x, endIcon: S, avatar: C, dot: w, onClose: T, closeIcon: E,
|
|
15
|
-
let
|
|
14
|
+
var _ = m(({ variant: m, color: _, size: v, radius: y, isDisabled: b = !1, startIcon: x, endIcon: S, avatar: C, dot: w, onClose: T, closeIcon: E, closeLabel: D = "Remove chip", children: O, className: k, style: A, onClick: j, ...M }, N) => {
|
|
15
|
+
let P = r(), F = P.components?.chip, I = i(m, F?.variant, P.defaultVariant, c.variant), L = I === "underlined" ? "bordered" : I, R = i(_, F?.color, P.defaultColor, c.color), z = i(v, F?.size, void 0, c.size), B = o(y, F?.radius, P.defaultRadius, c.radius), V = a(z, d, c.size), H = a(z, p, c.size), U = a(z, l, c.size), W = a(z, u, c.size), G = a(z, f, c.size), K = a(B, t, c.radius), q = (e) => {
|
|
16
16
|
e.stopPropagation(), !b && T?.(e);
|
|
17
17
|
};
|
|
18
18
|
return /* @__PURE__ */ g("div", {
|
|
19
|
-
ref:
|
|
19
|
+
ref: N,
|
|
20
20
|
tabIndex: b ? -1 : 0,
|
|
21
21
|
"aria-disabled": b,
|
|
22
22
|
onClick: (e) => {
|
|
23
|
-
b ||
|
|
23
|
+
b || j?.(e);
|
|
24
24
|
},
|
|
25
25
|
onKeyDown: (e) => {
|
|
26
26
|
if (!b && (e.key === "Enter" || e.key === " ")) {
|
|
@@ -41,12 +41,12 @@ var _ = m(({ variant: m, color: _, size: v, radius: y, isDisabled: b = !1, start
|
|
|
41
41
|
shiftKey: e.shiftKey,
|
|
42
42
|
type: "click"
|
|
43
43
|
};
|
|
44
|
-
|
|
44
|
+
j?.(t);
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
className: e("inline-flex items-center font-medium transition-all duration-200 select-none shrink-0", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2", n(
|
|
48
|
-
style:
|
|
49
|
-
...
|
|
47
|
+
className: e("inline-flex items-center font-medium transition-all duration-200 select-none shrink-0", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2", n(L, R), V, H, U, W, K, b && "opacity-50 pointer-events-none cursor-not-allowed", j && !b && "cursor-pointer hover:opacity-90 active:scale-[0.98]", k),
|
|
48
|
+
style: A,
|
|
49
|
+
...M,
|
|
50
50
|
children: [
|
|
51
51
|
w && /* @__PURE__ */ h("span", {
|
|
52
52
|
className: "shrink-0 rounded-full",
|
|
@@ -57,24 +57,24 @@ var _ = m(({ variant: m, color: _, size: v, radius: y, isDisabled: b = !1, start
|
|
|
57
57
|
}
|
|
58
58
|
}),
|
|
59
59
|
C && /* @__PURE__ */ h("span", {
|
|
60
|
-
className: e("inline-flex items-center justify-center shrink-0 scrollbar-hide overflow-hidden rounded-full",
|
|
60
|
+
className: e("inline-flex items-center justify-center shrink-0 scrollbar-hide overflow-hidden rounded-full", G),
|
|
61
61
|
children: C
|
|
62
62
|
}),
|
|
63
63
|
x && !C && /* @__PURE__ */ h("span", {
|
|
64
|
-
className: e("inline-flex items-center justify-center shrink-0",
|
|
64
|
+
className: e("inline-flex items-center justify-center shrink-0", G),
|
|
65
65
|
children: x
|
|
66
66
|
}),
|
|
67
|
-
|
|
67
|
+
O,
|
|
68
68
|
S && !T && /* @__PURE__ */ h("span", {
|
|
69
|
-
className: e("inline-flex items-center justify-center shrink-0",
|
|
69
|
+
className: e("inline-flex items-center justify-center shrink-0", G),
|
|
70
70
|
children: S
|
|
71
71
|
}),
|
|
72
72
|
T && /* @__PURE__ */ h("button", {
|
|
73
73
|
type: "button",
|
|
74
|
-
"aria-label":
|
|
74
|
+
"aria-label": D,
|
|
75
75
|
disabled: b,
|
|
76
|
-
onClick:
|
|
77
|
-
className: e("inline-flex items-center justify-center shrink-0 rounded-full transition-opacity", "hover:opacity-70 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-current", "opacity-80 -mr-1",
|
|
76
|
+
onClick: q,
|
|
77
|
+
className: e("inline-flex items-center justify-center shrink-0 rounded-full transition-opacity", "hover:opacity-70 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-current", "opacity-80 -mr-1", G),
|
|
78
78
|
children: E ?? /* @__PURE__ */ h(s, { className: "w-full h-full" })
|
|
79
79
|
})
|
|
80
80
|
]
|