@voltro/ui-shadcn 0.67.0 → 0.69.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/CHANGELOG.md +437 -0
- package/THIRD-PARTY-NOTICES.md +1 -113
- package/dist/index.d.ts +36 -3
- package/dist/index.js +200 -140
- package/dist/signal.css +105 -2
- package/dist/tokens.css +9 -0
- package/package.json +2 -2
- package/src/compositions/signalWorkspace.tsx +63 -0
- package/src/index.ts +1 -0
- package/src/primitives/checkbox.tsx +2 -2
- package/src/primitives/dialog.tsx +2 -2
- package/src/signal.css +105 -2
- package/src/tokens.css +9 -0
- package/src/widgets.tsx +4 -5
package/THIRD-PARTY-NOTICES.md
CHANGED
|
@@ -5,7 +5,7 @@ property of its respective copyright holders and is used under the terms of
|
|
|
5
5
|
its license. This file is provided for attribution; it grants no rights in
|
|
6
6
|
@voltro/ui-shadcn itself, which is proprietary (see LICENSE).
|
|
7
7
|
|
|
8
|
-
Generated from the resolved runtime dependency closure (
|
|
8
|
+
Generated from the resolved runtime dependency closure (103 packages).
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
@@ -1160,34 +1160,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
1160
1160
|
SOFTWARE.
|
|
1161
1161
|
```
|
|
1162
1162
|
|
|
1163
|
-
## @standard-schema/spec@1.1.0
|
|
1164
|
-
|
|
1165
|
-
License: MIT
|
|
1166
|
-
|
|
1167
|
-
```
|
|
1168
|
-
MIT License
|
|
1169
|
-
|
|
1170
|
-
Copyright (c) 2024 Colin McDonnell
|
|
1171
|
-
|
|
1172
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1173
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
1174
|
-
in the Software without restriction, including without limitation the rights
|
|
1175
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1176
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
1177
|
-
furnished to do so, subject to the following conditions:
|
|
1178
|
-
|
|
1179
|
-
The above copyright notice and this permission notice shall be included in all
|
|
1180
|
-
copies or substantial portions of the Software.
|
|
1181
|
-
|
|
1182
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1183
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1184
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1185
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1186
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1187
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1188
|
-
SOFTWARE.
|
|
1189
|
-
```
|
|
1190
|
-
|
|
1191
1163
|
## @tanstack/devtools-event-client@0.4.4
|
|
1192
1164
|
|
|
1193
1165
|
License: MIT
|
|
@@ -1876,62 +1848,6 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
|
1876
1848
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1877
1849
|
```
|
|
1878
1850
|
|
|
1879
|
-
## effect@3.22.1
|
|
1880
|
-
|
|
1881
|
-
License: MIT
|
|
1882
|
-
|
|
1883
|
-
```
|
|
1884
|
-
MIT License
|
|
1885
|
-
|
|
1886
|
-
Copyright (c) 2023 Effectful Technologies Inc
|
|
1887
|
-
|
|
1888
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1889
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
1890
|
-
in the Software without restriction, including without limitation the rights
|
|
1891
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1892
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
1893
|
-
furnished to do so, subject to the following conditions:
|
|
1894
|
-
|
|
1895
|
-
The above copyright notice and this permission notice shall be included in all
|
|
1896
|
-
copies or substantial portions of the Software.
|
|
1897
|
-
|
|
1898
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1899
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1900
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1901
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1902
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1903
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1904
|
-
SOFTWARE.
|
|
1905
|
-
```
|
|
1906
|
-
|
|
1907
|
-
## fast-check@3.23.2
|
|
1908
|
-
|
|
1909
|
-
License: MIT
|
|
1910
|
-
|
|
1911
|
-
```
|
|
1912
|
-
MIT License
|
|
1913
|
-
|
|
1914
|
-
Copyright (c) 2017 Nicolas DUBIEN
|
|
1915
|
-
|
|
1916
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1917
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
1918
|
-
in the Software without restriction, including without limitation the rights
|
|
1919
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1920
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
1921
|
-
furnished to do so, subject to the following conditions:
|
|
1922
|
-
|
|
1923
|
-
The above copyright notice and this permission notice shall be included in all
|
|
1924
|
-
copies or substantial portions of the Software.
|
|
1925
|
-
|
|
1926
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1927
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1928
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1929
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1930
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1931
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1932
|
-
SOFTWARE.
|
|
1933
|
-
```
|
|
1934
|
-
|
|
1935
1851
|
## get-nonce@1.0.1
|
|
1936
1852
|
|
|
1937
1853
|
License: MIT
|
|
@@ -2362,34 +2278,6 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
|
2362
2278
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
2363
2279
|
```
|
|
2364
2280
|
|
|
2365
|
-
## pure-rand@6.1.0
|
|
2366
|
-
|
|
2367
|
-
License: MIT
|
|
2368
|
-
|
|
2369
|
-
```
|
|
2370
|
-
MIT License
|
|
2371
|
-
|
|
2372
|
-
Copyright (c) 2018 Nicolas DUBIEN
|
|
2373
|
-
|
|
2374
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2375
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
2376
|
-
in the Software without restriction, including without limitation the rights
|
|
2377
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2378
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
2379
|
-
furnished to do so, subject to the following conditions:
|
|
2380
|
-
|
|
2381
|
-
The above copyright notice and this permission notice shall be included in all
|
|
2382
|
-
copies or substantial portions of the Software.
|
|
2383
|
-
|
|
2384
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2385
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2386
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2387
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2388
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2389
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
2390
|
-
SOFTWARE.
|
|
2391
|
-
```
|
|
2392
|
-
|
|
2393
2281
|
## react-remove-scroll@2.7.2
|
|
2394
2282
|
|
|
2395
2283
|
License: MIT
|
package/dist/index.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import { ClassProp } from 'class-variance-authority/types';
|
|
|
3
3
|
import { ClassValue } from 'clsx';
|
|
4
4
|
import { ComponentProps } from 'react';
|
|
5
5
|
import { ComponentPropsWithoutRef } from 'react';
|
|
6
|
+
import { ComponentPropsWithRef } from 'react';
|
|
6
7
|
import { ComponentType } from 'react';
|
|
7
8
|
import { CSSProperties } from 'react';
|
|
8
|
-
import { DialogHTMLAttributes } from 'react';
|
|
9
9
|
import { FC } from 'react';
|
|
10
10
|
import { FormHTMLAttributes } from 'react';
|
|
11
11
|
import { ForwardRefExoticComponent } from 'react';
|
|
@@ -113,7 +113,7 @@ export declare interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElem
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
export declare const buttonVariants: (props?: ({
|
|
116
|
-
variant?: "
|
|
116
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
117
117
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
118
118
|
} & ClassProp) | undefined) => string;
|
|
119
119
|
|
|
@@ -241,7 +241,7 @@ export declare const DatabaseIcon: (p: DocIconProps) => ReactNode;
|
|
|
241
241
|
* writes `document.cookie` in the browser, returns the header string. */
|
|
242
242
|
export declare const deleteCookie: (name: string, path?: string) => string;
|
|
243
243
|
|
|
244
|
-
export declare const Dialog: ({ className, children, ...props }:
|
|
244
|
+
export declare const Dialog: ({ className, children, ...props }: ComponentPropsWithRef<"dialog">) => ReactNode;
|
|
245
245
|
|
|
246
246
|
export declare const DialogDescription: ({ className, ...props }: HTMLAttributes<HTMLParagraphElement>) => ReactNode;
|
|
247
247
|
|
|
@@ -980,6 +980,39 @@ export declare interface SignalSearchProps {
|
|
|
980
980
|
readonly className?: string;
|
|
981
981
|
}
|
|
982
982
|
|
|
983
|
+
/** Shared Cloud/local operating shell. Import `@voltro/ui-shadcn/signal.css`. */
|
|
984
|
+
export declare function SignalWorkspace({ brand, header, children, className, field }: SignalWorkspaceProps): ReactNode;
|
|
985
|
+
|
|
986
|
+
/** One heading, description and action rhythm for workspace pages in either host. */
|
|
987
|
+
export declare function SignalWorkspaceHeader({ title, description, badge, action }: SignalWorkspaceHeaderProps): ReactNode;
|
|
988
|
+
|
|
989
|
+
export declare interface SignalWorkspaceHeaderProps {
|
|
990
|
+
readonly title: ReactNode;
|
|
991
|
+
readonly description?: ReactNode;
|
|
992
|
+
readonly badge?: ReactNode;
|
|
993
|
+
readonly action?: ReactNode;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
/** Open workspace row; the host supplies its typed link or selection button. */
|
|
997
|
+
export declare function SignalWorkspaceItem({ title, description, detail, actionLabel, renderLink }: SignalWorkspaceItemProps): ReactNode;
|
|
998
|
+
|
|
999
|
+
export declare interface SignalWorkspaceItemProps {
|
|
1000
|
+
readonly title: string;
|
|
1001
|
+
readonly description: ReactNode;
|
|
1002
|
+
readonly detail?: ReactNode;
|
|
1003
|
+
readonly actionLabel: string;
|
|
1004
|
+
readonly renderLink: (className: string, children: ReactNode) => ReactNode;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
export declare interface SignalWorkspaceProps {
|
|
1008
|
+
readonly brand: ReactNode;
|
|
1009
|
+
readonly header: ReactNode;
|
|
1010
|
+
readonly children: ReactNode;
|
|
1011
|
+
readonly className?: string;
|
|
1012
|
+
/** Signed-out pages can supply their own full-height, animated field. */
|
|
1013
|
+
readonly field?: boolean;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
983
1016
|
export declare const SiteFooter: ({ brand, tagline, social, columns, bottomLeft, bottomRight, copyrightHolder, socialLabel, LinkComponent, className, }: SiteFooterProps) => ReactNode;
|
|
984
1017
|
|
|
985
1018
|
export declare interface SiteFooterColumn {
|