@_linked/primitives 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.changeset/README.md +20 -0
- package/.changeset/config.json +14 -0
- package/.github/workflows/changeset-check.yml +44 -0
- package/.github/workflows/ci.yml +30 -0
- package/.github/workflows/publish.yml +42 -0
- package/CHANGELOG.md +7 -0
- package/lib/cjs/backend.d.ts +0 -0
- package/lib/cjs/components/Accordion.d.ts +13 -0
- package/lib/cjs/components/Accordion.module.css +101 -0
- package/lib/cjs/components/AlertDialog.d.ts +37 -0
- package/lib/cjs/components/AlertDialog.module.css +80 -0
- package/lib/cjs/components/AspectRatio.d.ts +7 -0
- package/lib/cjs/components/AspectRatio.module.css +28 -0
- package/lib/cjs/components/Avatar.d.ts +11 -0
- package/lib/cjs/components/Avatar.module.css +43 -0
- package/lib/cjs/components/Breadcrumb.d.ts +41 -0
- package/lib/cjs/components/Breadcrumb.module.css +78 -0
- package/lib/cjs/components/Button.d.ts +9 -0
- package/lib/cjs/components/Button.module.css +246 -0
- package/lib/cjs/components/Checkbox.d.ts +4 -0
- package/lib/cjs/components/Checkbox.module.css +43 -0
- package/lib/cjs/components/Collapsible.d.ts +11 -0
- package/lib/cjs/components/Command.d.ts +167 -0
- package/lib/cjs/components/Command.module.css +153 -0
- package/lib/cjs/components/ContextMenu.d.ts +51 -0
- package/lib/cjs/components/ContextMenu.module.css +238 -0
- package/lib/cjs/components/Dialog.d.ts +38 -0
- package/lib/cjs/components/Dialog.module.css +109 -0
- package/lib/cjs/components/Drawer.d.ts +40 -0
- package/lib/cjs/components/Drawer.module.css +87 -0
- package/lib/cjs/components/DropdownMenu.d.ts +52 -0
- package/lib/cjs/components/DropdownMenu.module.css +244 -0
- package/lib/cjs/components/Form.d.ts +23 -0
- package/lib/cjs/components/Form.module.css +75 -0
- package/lib/cjs/components/Heading.d.ts +7 -0
- package/lib/cjs/components/Heading.module.css +83 -0
- package/lib/cjs/components/HoverCard.d.ts +15 -0
- package/lib/cjs/components/HoverCard.module.css +75 -0
- package/lib/cjs/components/IconButton.d.ts +9 -0
- package/lib/cjs/components/IconButton.module.css +150 -0
- package/lib/cjs/components/Input.d.ts +6 -0
- package/lib/cjs/components/Input.module.css +61 -0
- package/lib/cjs/components/Label.d.ts +4 -0
- package/lib/cjs/components/Label.module.css +7 -0
- package/lib/cjs/components/Menubar.d.ts +65 -0
- package/lib/cjs/components/Menubar.module.css +128 -0
- package/lib/cjs/components/MultiSelect.d.ts +86 -0
- package/lib/cjs/components/MultiSelect.module.css +93 -0
- package/lib/cjs/components/NavigationMenu.d.ts +21 -0
- package/lib/cjs/components/NavigationMenu.module.css +248 -0
- package/lib/cjs/components/Popover.d.ts +17 -0
- package/lib/cjs/components/Popover.module.css +106 -0
- package/lib/cjs/components/Progress.d.ts +9 -0
- package/lib/cjs/components/Progress.module.css +23 -0
- package/lib/cjs/components/RadioGroup.d.ts +9 -0
- package/lib/cjs/components/RadioGroup.module.css +57 -0
- package/lib/cjs/components/ScrollArea.d.ts +9 -0
- package/lib/cjs/components/ScrollArea.module.css +55 -0
- package/lib/cjs/components/Select.d.ts +28 -0
- package/lib/cjs/components/Select.module.css +153 -0
- package/lib/cjs/components/Separator.d.ts +4 -0
- package/lib/cjs/components/Separator.module.css +13 -0
- package/lib/cjs/components/Slider.d.ts +13 -0
- package/lib/cjs/components/Slider.module.css +43 -0
- package/lib/cjs/components/Spinner.d.ts +4 -0
- package/lib/cjs/components/Spinner.module.css +21 -0
- package/lib/cjs/components/Switch.d.ts +4 -0
- package/lib/cjs/components/Switch.module.css +52 -0
- package/lib/cjs/components/Tabs.d.ts +13 -0
- package/lib/cjs/components/Tabs.module.css +64 -0
- package/lib/cjs/components/Text.d.ts +8 -0
- package/lib/cjs/components/Text.module.css +24 -0
- package/lib/cjs/components/Textarea.d.ts +5 -0
- package/lib/cjs/components/Textarea.module.css +34 -0
- package/lib/cjs/components/Toast.d.ts +21 -0
- package/lib/cjs/components/Toast.module.css +133 -0
- package/lib/cjs/components/Toaster.d.ts +2 -0
- package/lib/cjs/components/Toggle.d.ts +7 -0
- package/lib/cjs/components/Toggle.module.css +32 -0
- package/lib/cjs/components/ToggleGroup.d.ts +9 -0
- package/lib/cjs/components/ToggleGroup.module.css +61 -0
- package/lib/cjs/components/Toolbar.d.ts +17 -0
- package/lib/cjs/components/Toolbar.module.css +113 -0
- package/lib/cjs/components/Tooltip.d.ts +15 -0
- package/lib/cjs/components/Tooltip.module.css +78 -0
- package/lib/cjs/components/Typography.d.ts +8 -0
- package/lib/cjs/components/Typography.module.css +25 -0
- package/lib/cjs/components/VisuallyHidden.d.ts +4 -0
- package/lib/cjs/components/helpers/mixins.css +15 -0
- package/lib/cjs/data/primitives.json +10 -0
- package/lib/cjs/hooks/use-toast.d.ts +44 -0
- package/lib/cjs/index.d.ts +45 -0
- package/lib/cjs/ontologies/primitives.d.ts +6 -0
- package/lib/cjs/package.d.ts +3 -0
- package/lib/cjs/package.json +85 -0
- package/lib/cjs/theme.css +3 -0
- package/lib/cjs/types.d.ts +12 -0
- package/lib/esm/backend.d.ts +0 -0
- package/lib/esm/components/Accordion.d.ts +13 -0
- package/lib/esm/components/Accordion.module.css +101 -0
- package/lib/esm/components/AlertDialog.d.ts +37 -0
- package/lib/esm/components/AlertDialog.module.css +80 -0
- package/lib/esm/components/AspectRatio.d.ts +7 -0
- package/lib/esm/components/AspectRatio.module.css +28 -0
- package/lib/esm/components/Avatar.d.ts +11 -0
- package/lib/esm/components/Avatar.module.css +43 -0
- package/lib/esm/components/Breadcrumb.d.ts +41 -0
- package/lib/esm/components/Breadcrumb.module.css +78 -0
- package/lib/esm/components/Button.d.ts +9 -0
- package/lib/esm/components/Button.module.css +246 -0
- package/lib/esm/components/Checkbox.d.ts +4 -0
- package/lib/esm/components/Checkbox.module.css +43 -0
- package/lib/esm/components/Collapsible.d.ts +11 -0
- package/lib/esm/components/Command.d.ts +167 -0
- package/lib/esm/components/Command.module.css +153 -0
- package/lib/esm/components/ContextMenu.d.ts +51 -0
- package/lib/esm/components/ContextMenu.module.css +238 -0
- package/lib/esm/components/Dialog.d.ts +38 -0
- package/lib/esm/components/Dialog.module.css +109 -0
- package/lib/esm/components/Drawer.d.ts +40 -0
- package/lib/esm/components/Drawer.module.css +87 -0
- package/lib/esm/components/DropdownMenu.d.ts +52 -0
- package/lib/esm/components/DropdownMenu.module.css +244 -0
- package/lib/esm/components/Form.d.ts +23 -0
- package/lib/esm/components/Form.module.css +75 -0
- package/lib/esm/components/Heading.d.ts +7 -0
- package/lib/esm/components/Heading.module.css +83 -0
- package/lib/esm/components/HoverCard.d.ts +15 -0
- package/lib/esm/components/HoverCard.module.css +75 -0
- package/lib/esm/components/IconButton.d.ts +9 -0
- package/lib/esm/components/IconButton.module.css +150 -0
- package/lib/esm/components/Input.d.ts +6 -0
- package/lib/esm/components/Input.module.css +61 -0
- package/lib/esm/components/Label.d.ts +4 -0
- package/lib/esm/components/Label.module.css +7 -0
- package/lib/esm/components/Menubar.d.ts +65 -0
- package/lib/esm/components/Menubar.module.css +128 -0
- package/lib/esm/components/MultiSelect.d.ts +86 -0
- package/lib/esm/components/MultiSelect.module.css +93 -0
- package/lib/esm/components/NavigationMenu.d.ts +21 -0
- package/lib/esm/components/NavigationMenu.module.css +248 -0
- package/lib/esm/components/Popover.d.ts +17 -0
- package/lib/esm/components/Popover.module.css +106 -0
- package/lib/esm/components/Progress.d.ts +9 -0
- package/lib/esm/components/Progress.module.css +23 -0
- package/lib/esm/components/RadioGroup.d.ts +9 -0
- package/lib/esm/components/RadioGroup.module.css +57 -0
- package/lib/esm/components/ScrollArea.d.ts +9 -0
- package/lib/esm/components/ScrollArea.module.css +55 -0
- package/lib/esm/components/Select.d.ts +28 -0
- package/lib/esm/components/Select.module.css +153 -0
- package/lib/esm/components/Separator.d.ts +4 -0
- package/lib/esm/components/Separator.module.css +13 -0
- package/lib/esm/components/Slider.d.ts +13 -0
- package/lib/esm/components/Slider.module.css +43 -0
- package/lib/esm/components/Spinner.d.ts +4 -0
- package/lib/esm/components/Spinner.module.css +21 -0
- package/lib/esm/components/Switch.d.ts +4 -0
- package/lib/esm/components/Switch.module.css +52 -0
- package/lib/esm/components/Tabs.d.ts +13 -0
- package/lib/esm/components/Tabs.module.css +64 -0
- package/lib/esm/components/Text.d.ts +8 -0
- package/lib/esm/components/Text.module.css +24 -0
- package/lib/esm/components/Textarea.d.ts +5 -0
- package/lib/esm/components/Textarea.module.css +34 -0
- package/lib/esm/components/Toast.d.ts +21 -0
- package/lib/esm/components/Toast.module.css +133 -0
- package/lib/esm/components/Toaster.d.ts +2 -0
- package/lib/esm/components/Toggle.d.ts +7 -0
- package/lib/esm/components/Toggle.module.css +32 -0
- package/lib/esm/components/ToggleGroup.d.ts +9 -0
- package/lib/esm/components/ToggleGroup.module.css +61 -0
- package/lib/esm/components/Toolbar.d.ts +17 -0
- package/lib/esm/components/Toolbar.module.css +113 -0
- package/lib/esm/components/Tooltip.d.ts +15 -0
- package/lib/esm/components/Tooltip.module.css +78 -0
- package/lib/esm/components/Typography.d.ts +8 -0
- package/lib/esm/components/Typography.module.css +25 -0
- package/lib/esm/components/VisuallyHidden.d.ts +4 -0
- package/lib/esm/components/helpers/mixins.css +15 -0
- package/lib/esm/data/primitives.json +10 -0
- package/lib/esm/hooks/use-toast.d.ts +44 -0
- package/lib/esm/index.d.ts +45 -0
- package/lib/esm/ontologies/primitives.d.ts +6 -0
- package/lib/esm/package.d.ts +3 -0
- package/lib/esm/package.json +85 -0
- package/lib/esm/theme.css +3 -0
- package/lib/esm/types.d.ts +12 -0
- package/package.json +103 -0
- package/tsconfig-cjs.json +8 -0
- package/tsconfig-esm.json +9 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
@import '../components/helpers/mixins.css';
|
|
2
|
+
@import '@_linked/css/package.css';
|
|
3
|
+
|
|
4
|
+
.Viewport {
|
|
5
|
+
position: fixed;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
right: 0;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
padding: var(--toast-viewport-padding, var(--notification-padding));
|
|
11
|
+
gap: var(--toast-viewport-gap, var(--notification-gap));
|
|
12
|
+
width: var(--toast-width, --spacing(96));
|
|
13
|
+
max-width: 100vw;
|
|
14
|
+
margin: 0;
|
|
15
|
+
list-style: none;
|
|
16
|
+
z-index: var(--toast-z-index, 2147483647);
|
|
17
|
+
outline: none;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.Root {
|
|
21
|
+
position: relative;
|
|
22
|
+
background-color: var(--toast-bg, var(--notification-bg));
|
|
23
|
+
border: 1px solid var(--toast-border, var(--notification-border));
|
|
24
|
+
border-radius: var(--toast-radius, var(--notification-radius));
|
|
25
|
+
box-shadow: var(--toast-shadow, var(--notification-shadow));
|
|
26
|
+
padding: var(--toast-padding, var(--notification-padding));
|
|
27
|
+
display: grid;
|
|
28
|
+
grid-template-areas: 'title action' 'description action';
|
|
29
|
+
grid-template-columns: auto max-content;
|
|
30
|
+
column-gap: var(--toast-gap, var(--notification-gap));
|
|
31
|
+
align-items: center;
|
|
32
|
+
color: var(--toast-text, var(--notification-text));
|
|
33
|
+
|
|
34
|
+
&:hover {
|
|
35
|
+
.Close {
|
|
36
|
+
opacity: 1;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&[data-state='open'] {
|
|
41
|
+
animation: slideIn var(--transition-duration-normal)
|
|
42
|
+
var(--transition-easing);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&[data-state='closed'] {
|
|
46
|
+
animation: hide var(--transition-duration-normal) ease-in;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&[data-swipe='move'] {
|
|
50
|
+
transform: translateX(var(--radix-toast-swipe-move-x));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&[data-swipe='cancel'] {
|
|
54
|
+
transform: translateX(0);
|
|
55
|
+
transition: transform var(--transition-duration-normal) ease-out;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&[data-swipe='end'] {
|
|
59
|
+
animation: swipeOut var(--transition-duration-normal) ease-out;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.Action {
|
|
64
|
+
grid-area: action;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.Close {
|
|
68
|
+
font-family: inherit;
|
|
69
|
+
border-radius: var(--notification-radius);
|
|
70
|
+
height: var(--toast-close-size, --spacing(6));
|
|
71
|
+
width: var(--toast-close-size, --spacing(6));
|
|
72
|
+
display: inline-flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
color: var(--toast-close-color, var(--typography-auxiliary-color));
|
|
76
|
+
position: absolute;
|
|
77
|
+
top: --spacing(2);
|
|
78
|
+
right: --spacing(2);
|
|
79
|
+
opacity: 0;
|
|
80
|
+
transition: var(--transition-normal);
|
|
81
|
+
|
|
82
|
+
&:focus-visible {
|
|
83
|
+
@mixin focus;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
svg {
|
|
87
|
+
height: var(--toast-close-icon-size, var(--icon-size-md));
|
|
88
|
+
width: var(--toast-close-icon-size, var(--icon-size-md));
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.Title {
|
|
93
|
+
grid-area: title;
|
|
94
|
+
margin-bottom: --spacing(2);
|
|
95
|
+
font-weight: var(--toast-title-weight, var(--heading-font-weight));
|
|
96
|
+
color: var(--toast-text, var(--notification-text));
|
|
97
|
+
font-size: var(--toast-title-size, var(--typography-font-size));
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.Description {
|
|
101
|
+
grid-area: description;
|
|
102
|
+
margin: 0;
|
|
103
|
+
color: var(--toast-description-color, var(--typography-color));
|
|
104
|
+
font-size: calc(var(--typography-font-size) - --spacing(1));
|
|
105
|
+
line-height: var(--typography-line-height);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@keyframes hide {
|
|
109
|
+
from {
|
|
110
|
+
opacity: 1;
|
|
111
|
+
}
|
|
112
|
+
to {
|
|
113
|
+
opacity: 0;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@keyframes slideIn {
|
|
118
|
+
from {
|
|
119
|
+
transform: translateX(calc(100% + var(--toast-viewport-padding)));
|
|
120
|
+
}
|
|
121
|
+
to {
|
|
122
|
+
transform: translateX(0);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@keyframes swipeOut {
|
|
127
|
+
from {
|
|
128
|
+
transform: translateX(var(--radix-toast-swipe-end-x));
|
|
129
|
+
}
|
|
130
|
+
to {
|
|
131
|
+
transform: translateX(calc(100% + var(--toast-viewport-padding)));
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
3
|
+
declare const Root: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
export declare const Toggle: {
|
|
5
|
+
Root: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
};
|
|
7
|
+
export { Root };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@import './helpers/mixins.css';
|
|
2
|
+
@import '@_linked/css/package.css';
|
|
3
|
+
|
|
4
|
+
.Root {
|
|
5
|
+
background-color: var(--toggle-bg, var(--control-bg));
|
|
6
|
+
color: var(--toggle-text, var(--control-text));
|
|
7
|
+
height: var(--toggle-size, var(--control-toggle-size));
|
|
8
|
+
min-width: var(--toggle-size, var(--control-toggle-size));
|
|
9
|
+
padding: var(--toggle-padding-y, --spacing(1))
|
|
10
|
+
var(--toggle-padding-x, --spacing(2));
|
|
11
|
+
border-radius: var(--toggle-radius, var(--control-radius));
|
|
12
|
+
display: flex;
|
|
13
|
+
font-size: var(--toggle-font-size, var(--typography-font-size));
|
|
14
|
+
line-height: var(--toggle-line-height, var(--typography-line-height-none));
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
box-shadow: var(--toggle-shadow, var(--control-shadow));
|
|
18
|
+
transition: var(--transition-fast);
|
|
19
|
+
|
|
20
|
+
&:hover {
|
|
21
|
+
background-color: var(--toggle-bg-hover, var(--bg-active));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&[data-state='on'] {
|
|
25
|
+
background-color: var(--toggle-bg-active, var(--control-accent));
|
|
26
|
+
color: var(--toggle-text-active, var(--control-text-contrast));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:focus-visible {
|
|
30
|
+
@mixin focus;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
3
|
+
declare const Root: React.ForwardRefExoticComponent<(Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const Item: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
export declare const ToggleGroup: {
|
|
6
|
+
Root: React.ForwardRefExoticComponent<(Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
Item: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
};
|
|
9
|
+
export { Root, Item };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@import './helpers/mixins.css';
|
|
2
|
+
@import '@_linked/css/package.css';
|
|
3
|
+
|
|
4
|
+
.Root {
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
background-color: var(--togglegroup-bg, var(--control-bg));
|
|
7
|
+
border-radius: var(--togglegroup-radius, var(--control-radius));
|
|
8
|
+
box-shadow: var(--togglegroup-shadow, var(--control-shadow));
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.Item {
|
|
12
|
+
background-color: var(--togglegroup-item-bg, var(--control-bg));
|
|
13
|
+
color: var(--togglegroup-item-text, var(--control-text));
|
|
14
|
+
height: var(--togglegroup-item-size, var(--control-toggle-size));
|
|
15
|
+
width: var(--togglegroup-item-size, var(--control-toggle-size));
|
|
16
|
+
display: flex;
|
|
17
|
+
font-size: var(--togglegroup-item-font-size, var(--typography-small-size));
|
|
18
|
+
line-height: var(
|
|
19
|
+
--togglegroup-item-line-height,
|
|
20
|
+
var(--typography-line-height-none)
|
|
21
|
+
);
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
margin-left: --spacing(1);
|
|
25
|
+
|
|
26
|
+
&:first-child {
|
|
27
|
+
margin-left: 0;
|
|
28
|
+
border-top-left-radius: var(
|
|
29
|
+
--togglegroup-item-radius,
|
|
30
|
+
var(--control-radius)
|
|
31
|
+
);
|
|
32
|
+
border-bottom-left-radius: var(
|
|
33
|
+
--togglegroup-item-radius,
|
|
34
|
+
var(--control-radius)
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&:last-child {
|
|
39
|
+
border-top-right-radius: var(
|
|
40
|
+
--togglegroup-item-radius,
|
|
41
|
+
var(--control-radius)
|
|
42
|
+
);
|
|
43
|
+
border-bottom-right-radius: var(
|
|
44
|
+
--togglegroup-item-radius,
|
|
45
|
+
var(--control-radius)
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:hover {
|
|
50
|
+
background-color: var(--togglegroup-item-bg-hover, var(--bg-active));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&[data-state='on'] {
|
|
54
|
+
background-color: var(--togglegroup-item-bg-active, var(--control-accent));
|
|
55
|
+
color: var(--togglegroup-item-text-active, var(--control-text-contrast));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:focus-visible {
|
|
59
|
+
@mixin focus;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as ToolbarPrimitive from '@radix-ui/react-toolbar';
|
|
3
|
+
declare const Root: React.ForwardRefExoticComponent<Omit<ToolbarPrimitive.ToolbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const Button: React.ForwardRefExoticComponent<Omit<ToolbarPrimitive.ToolbarButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const Link: React.ForwardRefExoticComponent<Omit<ToolbarPrimitive.ToolbarLinkProps & React.RefAttributes<HTMLAnchorElement>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
6
|
+
declare const ToggleGroup: React.ForwardRefExoticComponent<(Omit<ToolbarPrimitive.ToolbarToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToolbarPrimitive.ToolbarToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const ToggleItem: React.ForwardRefExoticComponent<Omit<ToolbarPrimitive.ToolbarToggleItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
declare const Separator: React.ForwardRefExoticComponent<Omit<ToolbarPrimitive.ToolbarSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export declare const Toolbar: {
|
|
10
|
+
Root: React.ForwardRefExoticComponent<Omit<ToolbarPrimitive.ToolbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
Button: React.ForwardRefExoticComponent<Omit<ToolbarPrimitive.ToolbarButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
Link: React.ForwardRefExoticComponent<Omit<ToolbarPrimitive.ToolbarLinkProps & React.RefAttributes<HTMLAnchorElement>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
13
|
+
ToggleGroup: React.ForwardRefExoticComponent<(Omit<ToolbarPrimitive.ToolbarToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToolbarPrimitive.ToolbarToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
ToggleItem: React.ForwardRefExoticComponent<Omit<ToolbarPrimitive.ToolbarToggleItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
15
|
+
Separator: React.ForwardRefExoticComponent<Omit<ToolbarPrimitive.ToolbarSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
};
|
|
17
|
+
export { Root, Button, Link, ToggleGroup, ToggleItem, Separator };
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
@import './helpers/mixins.css';
|
|
2
|
+
@import '@_linked/css/package.css';
|
|
3
|
+
|
|
4
|
+
.Root {
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
gap: var(--toolbar-gap, --spacing(1));
|
|
8
|
+
padding: var(--toolbar-padding, --spacing(2));
|
|
9
|
+
border-radius: var(--toolbar-radius, var(--control-radius));
|
|
10
|
+
background-color: var(--toolbar-bg, var(--control-bg));
|
|
11
|
+
border: 1px solid var(--toolbar-border, var(--control-border));
|
|
12
|
+
box-shadow: var(--toolbar-shadow, var(--control-shadow));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.Button {
|
|
16
|
+
display: inline-flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
border-radius: var(--toolbar-button-radius, var(--control-radius));
|
|
20
|
+
font-size: var(--toolbar-button-font-size, var(--typography-small-size));
|
|
21
|
+
font-weight: var(--toolbar-button-font-weight, var(--typography-font-weight));
|
|
22
|
+
height: var(--toolbar-button-height, --spacing(8));
|
|
23
|
+
padding: var(--toolbar-button-padding, --spacing(2));
|
|
24
|
+
transition: var(--transition-fast);
|
|
25
|
+
border: 1px solid transparent;
|
|
26
|
+
background-color: transparent;
|
|
27
|
+
color: var(--toolbar-button-text, var(--control-text));
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
|
|
30
|
+
&:hover {
|
|
31
|
+
background-color: var(--toolbar-button-bg-hover, var(--bg-hover));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:focus-visible {
|
|
35
|
+
@mixin focus;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&[data-state='on'] {
|
|
39
|
+
background-color: var(--toolbar-button-bg-active, var(--bg-active));
|
|
40
|
+
color: var(--toolbar-button-text-active, var(--control-text));
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.Link {
|
|
45
|
+
display: inline-flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
border-radius: var(--toolbar-link-radius, var(--control-radius));
|
|
49
|
+
font-size: var(--toolbar-link-font-size, var(--typography-small-size));
|
|
50
|
+
font-weight: var(--toolbar-link-font-weight, var(--typography-font-weight));
|
|
51
|
+
height: var(--toolbar-link-height, --spacing(8));
|
|
52
|
+
padding: var(--toolbar-link-padding, --spacing(2));
|
|
53
|
+
transition: var(--transition-fast);
|
|
54
|
+
border: 1px solid transparent;
|
|
55
|
+
background-color: transparent;
|
|
56
|
+
color: var(--toolbar-link-text, var(--link-color));
|
|
57
|
+
text-decoration: none;
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
|
|
60
|
+
&:hover {
|
|
61
|
+
background-color: var(--toolbar-link-bg-hover, var(--bg-hover));
|
|
62
|
+
color: var(--toolbar-link-text-hover, var(--link-color-hover));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&:focus-visible {
|
|
66
|
+
@mixin focus;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.ToggleGroup {
|
|
71
|
+
display: flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
gap: var(--toolbar-toggle-group-gap, --spacing(1));
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.ToggleItem {
|
|
77
|
+
display: inline-flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
border-radius: var(--toolbar-toggle-item-radius, var(--control-radius));
|
|
81
|
+
font-size: var(--toolbar-toggle-item-font-size, var(--typography-small-size));
|
|
82
|
+
font-weight: var(
|
|
83
|
+
--toolbar-toggle-item-font-weight,
|
|
84
|
+
var(--typography-font-weight)
|
|
85
|
+
);
|
|
86
|
+
height: var(--toolbar-toggle-item-height, --spacing(8));
|
|
87
|
+
padding: var(--toolbar-toggle-item-padding, --spacing(2));
|
|
88
|
+
transition: var(--transition-fast);
|
|
89
|
+
border: 1px solid transparent;
|
|
90
|
+
background-color: transparent;
|
|
91
|
+
color: var(--toolbar-toggle-item-text, var(--control-text));
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
|
|
94
|
+
&:hover {
|
|
95
|
+
background-color: var(--toolbar-toggle-item-bg-hover, var(--bg-hover));
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&:focus-visible {
|
|
99
|
+
@mixin focus;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&[data-state='on'] {
|
|
103
|
+
background-color: var(--toolbar-toggle-item-bg-active, var(--bg-active));
|
|
104
|
+
color: var(--toolbar-toggle-item-text-active, var(--control-text));
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.Separator {
|
|
109
|
+
width: 1px;
|
|
110
|
+
height: var(--toolbar-separator-height, --spacing(6));
|
|
111
|
+
background-color: var(--toolbar-separator-bg, var(--border-default));
|
|
112
|
+
margin: var(--toolbar-separator-margin, 0 --spacing(1));
|
|
113
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
3
|
+
declare const Provider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
4
|
+
declare const Root: React.FC<TooltipPrimitive.TooltipProps>;
|
|
5
|
+
declare const Trigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const Arrow: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipArrowProps & React.RefAttributes<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
declare const Content: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export declare const Tooltip: {
|
|
9
|
+
Root: React.FC<TooltipPrimitive.TooltipProps>;
|
|
10
|
+
Provider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
11
|
+
Trigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
Arrow: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipArrowProps & React.RefAttributes<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
13
|
+
Content: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
};
|
|
15
|
+
export { Root, Provider, Trigger, Arrow, Content };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@import '../components/helpers/mixins.css';
|
|
2
|
+
@import '@_linked/css/package.css';
|
|
3
|
+
|
|
4
|
+
.Content {
|
|
5
|
+
border-radius: var(--tooltip-radius, var(--popover-radius));
|
|
6
|
+
padding: var(--tooltip-padding-y, --spacing(2))
|
|
7
|
+
var(--tooltip-padding-x, --spacing(2));
|
|
8
|
+
font-size: var(--tooltip-font-size, var(--typography-small-size));
|
|
9
|
+
line-height: var(--tooltip-line-height, var(--typography-line-height-none));
|
|
10
|
+
color: var(--tooltip-text, var(--color-white));
|
|
11
|
+
background: var(--tooltip-bg, var(--color-gray-900));
|
|
12
|
+
box-shadow: var(--tooltip-shadow, var(--popover-shadow));
|
|
13
|
+
user-select: none;
|
|
14
|
+
animation-duration: var(--transition-duration-normal);
|
|
15
|
+
animation-timing-function: var(--transition-easing);
|
|
16
|
+
will-change: transform, opacity;
|
|
17
|
+
|
|
18
|
+
&[data-state='delayed-open'][data-side='top'] {
|
|
19
|
+
animation-name: slideDownAndFade;
|
|
20
|
+
}
|
|
21
|
+
&[data-state='delayed-open'][data-side='right'] {
|
|
22
|
+
animation-name: slideLeftAndFade;
|
|
23
|
+
}
|
|
24
|
+
&[data-state='delayed-open'][data-side='bottom'] {
|
|
25
|
+
animation-name: slideUpAndFade;
|
|
26
|
+
}
|
|
27
|
+
&[data-state='delayed-open'][data-side='left'] {
|
|
28
|
+
animation-name: slideRightAndFade;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.Arrow {
|
|
33
|
+
fill: var(--tooltip-bg, var(--color-gray-900));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@keyframes slideUpAndFade {
|
|
37
|
+
from {
|
|
38
|
+
opacity: 0;
|
|
39
|
+
transform: translateY(2px);
|
|
40
|
+
}
|
|
41
|
+
to {
|
|
42
|
+
opacity: 1;
|
|
43
|
+
transform: translateY(0);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@keyframes slideRightAndFade {
|
|
48
|
+
from {
|
|
49
|
+
opacity: 0;
|
|
50
|
+
transform: translateX(-2px);
|
|
51
|
+
}
|
|
52
|
+
to {
|
|
53
|
+
opacity: 1;
|
|
54
|
+
transform: translateX(0);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@keyframes slideDownAndFade {
|
|
59
|
+
from {
|
|
60
|
+
opacity: 0;
|
|
61
|
+
transform: translateY(-2px);
|
|
62
|
+
}
|
|
63
|
+
to {
|
|
64
|
+
opacity: 1;
|
|
65
|
+
transform: translateY(0);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@keyframes slideLeftAndFade {
|
|
70
|
+
from {
|
|
71
|
+
opacity: 0;
|
|
72
|
+
transform: translateX(2px);
|
|
73
|
+
}
|
|
74
|
+
to {
|
|
75
|
+
opacity: 1;
|
|
76
|
+
transform: translateX(0);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface TypographyProps extends React.HtmlHTMLAttributes<HTMLElement> {
|
|
3
|
+
as?: 'span' | 'label' | 'p' | 'div';
|
|
4
|
+
size?: 'small' | 'medium' | 'large' | 'default';
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
declare const Typography: ({ as: Component, size, className, children, ...props }: TypographyProps) => React.JSX.Element;
|
|
8
|
+
export { Typography };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@import '@_linked/css/package.css';
|
|
2
|
+
|
|
3
|
+
.Root {
|
|
4
|
+
font-family: var(--typography-font-family);
|
|
5
|
+
font-weight: var(--typography-font-weight);
|
|
6
|
+
font-size: var(--typography-font-size);
|
|
7
|
+
line-height: var(--typography-line-height);
|
|
8
|
+
color: var(--typography-color);
|
|
9
|
+
|
|
10
|
+
&.default {
|
|
11
|
+
font-size: var(--typography-font-size);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.small {
|
|
15
|
+
font-size: var(--typography-small-size);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.medium {
|
|
19
|
+
font-size: var(--typography-font-size);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.large {
|
|
23
|
+
font-size: var(--typography-large-size);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as VisuallyHiddenPrimitive from '@radix-ui/react-visually-hidden';
|
|
3
|
+
declare const VisuallyHidden: React.ForwardRefExoticComponent<Omit<VisuallyHiddenPrimitive.VisuallyHiddenProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
4
|
+
export { VisuallyHidden };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*TODO: remove this once lincd-base-variables.scss is moved back to lincd.*/
|
|
2
|
+
/*then just import @_linked/core/scss/base-variables.scss here*/
|
|
3
|
+
|
|
4
|
+
/* Focus mixin - PostCSS syntax */
|
|
5
|
+
@define-mixin focus {
|
|
6
|
+
outline: var(--control-outline-width) solid transparent;
|
|
7
|
+
outline-offset: var(--control-outline-offset);
|
|
8
|
+
box-shadow: 0 0 0 var(--control-outline-width) var(--control-outline-color);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* Disabled mixin - PostCSS syntax */
|
|
12
|
+
@define-mixin disabled {
|
|
13
|
+
cursor: not-allowed;
|
|
14
|
+
opacity: 0.5;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@context": {
|
|
3
|
+
"dc": "http://purl.org/dc/elements/1.1/",
|
|
4
|
+
"owl": "http://www.w3.org/2002/07/owl#",
|
|
5
|
+
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
|
|
6
|
+
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
|
|
7
|
+
"primitives": "http://lincd.org/ont/primitives/"
|
|
8
|
+
},
|
|
9
|
+
"@graph": []
|
|
10
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ToastActionElement, ToastProps } from '../components/Toast.js';
|
|
3
|
+
type ToasterToast = ToastProps & {
|
|
4
|
+
id: string;
|
|
5
|
+
title?: React.ReactNode;
|
|
6
|
+
description?: React.ReactNode;
|
|
7
|
+
action?: ToastActionElement;
|
|
8
|
+
};
|
|
9
|
+
declare const actionTypes: {
|
|
10
|
+
readonly ADD_TOAST: "ADD_TOAST";
|
|
11
|
+
readonly UPDATE_TOAST: "UPDATE_TOAST";
|
|
12
|
+
readonly DISMISS_TOAST: "DISMISS_TOAST";
|
|
13
|
+
readonly REMOVE_TOAST: "REMOVE_TOAST";
|
|
14
|
+
};
|
|
15
|
+
type ActionType = typeof actionTypes;
|
|
16
|
+
type Action = {
|
|
17
|
+
type: ActionType['ADD_TOAST'];
|
|
18
|
+
toast: ToasterToast;
|
|
19
|
+
} | {
|
|
20
|
+
type: ActionType['UPDATE_TOAST'];
|
|
21
|
+
toast: Partial<ToasterToast>;
|
|
22
|
+
} | {
|
|
23
|
+
type: ActionType['DISMISS_TOAST'];
|
|
24
|
+
toastId?: ToasterToast['id'];
|
|
25
|
+
} | {
|
|
26
|
+
type: ActionType['REMOVE_TOAST'];
|
|
27
|
+
toastId?: ToasterToast['id'];
|
|
28
|
+
};
|
|
29
|
+
interface State {
|
|
30
|
+
toasts: ToasterToast[];
|
|
31
|
+
}
|
|
32
|
+
export declare const reducer: (state: State, action: Action) => State;
|
|
33
|
+
type Toast = Omit<ToasterToast, 'id'>;
|
|
34
|
+
declare function toast({ ...props }: Toast): {
|
|
35
|
+
id: string;
|
|
36
|
+
dismiss: () => void;
|
|
37
|
+
update: (props: ToasterToast) => void;
|
|
38
|
+
};
|
|
39
|
+
declare function useToast(): {
|
|
40
|
+
toast: typeof toast;
|
|
41
|
+
dismiss: (toastId?: string) => void;
|
|
42
|
+
toasts: ToasterToast[];
|
|
43
|
+
};
|
|
44
|
+
export { useToast, toast };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import './theme.css';
|
|
2
|
+
import './types.js';
|
|
3
|
+
import './ontologies/primitives.js';
|
|
4
|
+
import './components/Button.js';
|
|
5
|
+
import './components/Input.js';
|
|
6
|
+
import './components/Tabs.js';
|
|
7
|
+
import './components/Switch.js';
|
|
8
|
+
import './components/Checkbox.js';
|
|
9
|
+
import './components/RadioGroup.js';
|
|
10
|
+
import './components/Avatar.js';
|
|
11
|
+
import './components/Label.js';
|
|
12
|
+
import './components/Separator.js';
|
|
13
|
+
import './components/Select.js';
|
|
14
|
+
import './components/Collapsible.js';
|
|
15
|
+
import './components/Textarea.js';
|
|
16
|
+
import './components/Accordion.js';
|
|
17
|
+
import './components/HoverCard.js';
|
|
18
|
+
import './components/AlertDialog.js';
|
|
19
|
+
import './components/Typography.js';
|
|
20
|
+
import './components/Text.js';
|
|
21
|
+
import './components/Heading.js';
|
|
22
|
+
import './components/AspectRatio.js';
|
|
23
|
+
import './components/Dialog.js';
|
|
24
|
+
import './components/ScrollArea.js';
|
|
25
|
+
import './components/Popover.js';
|
|
26
|
+
import './components/Tooltip.js';
|
|
27
|
+
import './components/Toggle.js';
|
|
28
|
+
import './components/ToggleGroup.js';
|
|
29
|
+
import './components/Slider.js';
|
|
30
|
+
import './components/Toast.js';
|
|
31
|
+
import './components/Toaster.js';
|
|
32
|
+
import './components/Progress.js';
|
|
33
|
+
import './components/NavigationMenu.js';
|
|
34
|
+
import './components/Menubar.js';
|
|
35
|
+
import './components/MultiSelect.js';
|
|
36
|
+
import './components/Spinner.js';
|
|
37
|
+
import './components/Breadcrumb.js';
|
|
38
|
+
import './components/Drawer.js';
|
|
39
|
+
import './components/IconButton.js';
|
|
40
|
+
import './components/DropdownMenu.js';
|
|
41
|
+
import './components/ContextMenu.js';
|
|
42
|
+
import './components/Form.js';
|
|
43
|
+
import './components/Toolbar.js';
|
|
44
|
+
import './components/VisuallyHidden.js';
|
|
45
|
+
import './hooks/use-toast.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const loadData: () => Promise<any>;
|
|
2
|
+
export declare const ns: (term: string) => import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
|
|
3
|
+
export declare const _self: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
|
|
4
|
+
export declare const radix: {
|
|
5
|
+
_self: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
|
|
6
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { getPackageShape, linkedOntology, linkedShape, linkedUtil, packageExports, registerPackageExport, registerPackageModule } from '@_linked/core/package';
|
|
2
|
+
export declare const packageName: string;
|
|
3
|
+
export { getPackageShape, linkedOntology, linkedShape, linkedUtil, packageExports, registerPackageExport, registerPackageModule, };
|