@placeholderco/placeholder-ui 2.1.0 → 2.2.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/dist/editors/CodeMirror.svelte +295 -297
- package/dist/editors/tiptap/LinkActionMenu.svelte +6 -1
- package/dist/editors/tiptap/extensions/Alert.js +17 -17
- package/dist/editors/tiptap/extensions/Div.js +19 -19
- package/dist/editors/tiptap/extensions/Span.js +14 -14
- package/dist/editors/tiptap/toolbar/AlertButton.svelte +254 -253
- package/dist/editors/tiptap/toolbar/AlignCenterButton.svelte +11 -11
- package/dist/editors/tiptap/toolbar/AlignJustifyButton.svelte +11 -11
- package/dist/editors/tiptap/toolbar/AlignLeftButton.svelte +11 -11
- package/dist/editors/tiptap/toolbar/AlignRightButton.svelte +11 -11
- package/dist/editors/tiptap/toolbar/BoldButton.svelte +11 -11
- package/dist/editors/tiptap/toolbar/BulletListButton.svelte +11 -11
- package/dist/editors/tiptap/toolbar/CodeButton.svelte +11 -11
- package/dist/editors/tiptap/toolbar/ColorButton.svelte +265 -265
- package/dist/editors/tiptap/toolbar/DocumentButton.svelte +51 -51
- package/dist/editors/tiptap/toolbar/HeadingButton.svelte +21 -21
- package/dist/editors/tiptap/toolbar/HtmlButton.svelte +48 -52
- package/dist/editors/tiptap/toolbar/ImageButton.svelte +35 -39
- package/dist/editors/tiptap/toolbar/ItalicButton.svelte +11 -11
- package/dist/editors/tiptap/toolbar/LinkButton.svelte +249 -249
- package/dist/editors/tiptap/toolbar/OrderedListButton.svelte +11 -11
- package/dist/editors/tiptap/toolbar/RedoButton.svelte +11 -11
- package/dist/editors/tiptap/toolbar/StrikethroughButton.svelte +11 -11
- package/dist/editors/tiptap/toolbar/SubscriptButton.svelte +11 -11
- package/dist/editors/tiptap/toolbar/SuperscriptButton.svelte +11 -11
- package/dist/editors/tiptap/toolbar/TableButton.svelte +231 -224
- package/dist/editors/tiptap/toolbar/ToolbarButton.svelte +59 -65
- package/dist/editors/tiptap/toolbar/UnderlineButton.svelte +11 -11
- package/dist/editors/tiptap/toolbar/UndoButton.svelte +11 -11
- package/dist/form/Autocomplete.svelte +24 -22
- package/dist/form/AutocompleteMulti.svelte +24 -22
- package/dist/form/Checkbox.svelte +4 -4
- package/dist/form/Chips.svelte +15 -7
- package/dist/form/ColorPicker.svelte +5 -20
- package/dist/form/ComboBox.svelte +4 -4
- package/dist/form/ComboBoxItemBuilder.svelte +14 -32
- package/dist/form/ComboBoxMulti.svelte +7 -3
- package/dist/form/CronBuilder.svelte +32 -110
- package/dist/form/DatePicker.svelte +9 -28
- package/dist/form/DateRangePicker.svelte +46 -36
- package/dist/form/DateTimePicker.svelte +11 -30
- package/dist/form/Number.svelte +1 -3
- package/dist/form/RadioGroup.svelte +1 -3
- package/dist/form/Select.svelte +25 -28
- package/dist/form/SelectMulti.svelte +36 -38
- package/dist/form/StringArrayBuilder.svelte +1 -3
- package/dist/form/TextArea.svelte +5 -6
- package/dist/form/Textbox.svelte +10 -4
- package/dist/form/TimePicker.svelte +10 -4
- package/dist/icon/Icon.svelte +5 -1
- package/dist/index.d.ts +147 -146
- package/dist/index.js +78 -77
- package/dist/layout/CustomNavbar.svelte +1 -1
- package/dist/layout/NavbarItemDisplay.svelte +1 -1
- package/dist/layout/NavbarItemView.svelte +3 -1
- package/dist/layout/Sidenav.svelte +1 -1
- package/dist/models/ComboBoxItem.d.ts +4 -4
- package/dist/models/NotifyModel.js +0 -1
- package/dist/theme.svelte.d.ts +1 -1
- package/dist/theme.svelte.js +46 -22
- package/dist/ui/Accordion.svelte +1 -3
- package/dist/ui/Badge.svelte +4 -5
- package/dist/ui/Button.svelte +7 -1
- package/dist/ui/ContextMenu.svelte +5 -11
- package/dist/ui/Dialog.svelte +16 -3
- package/dist/ui/Dialog.svelte.d.ts +7 -1
- package/dist/ui/Dropdown.svelte +21 -10
- package/dist/ui/MultiSortable.svelte +1 -3
- package/dist/ui/Pagination.svelte +2 -2
- package/dist/ui/Popover.svelte +16 -37
- package/dist/ui/ProgressBar.svelte +1 -4
- package/dist/ui/ThemeSwitcher.svelte +2 -1
- package/dist/ui/Tooltip.svelte +1 -37
- package/dist/util/DateFunctions.js +1 -1
- package/dist/util/Floating.d.ts +70 -0
- package/dist/util/Floating.js +321 -0
- package/dist/util/NavigateTo.js +2 -2
- package/dist/util/Transitions.d.ts +1 -1
- package/dist/util/Transitions.js +1 -1
- package/package.json +25 -25
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { clickOutside } from '../util/ClickOutside.js';
|
|
3
|
+
import { floating } from '../util/Floating.js';
|
|
3
4
|
import type {
|
|
4
5
|
ComboBoxGroup,
|
|
5
6
|
ComboBoxItem,
|
|
@@ -245,6 +246,7 @@
|
|
|
245
246
|
}
|
|
246
247
|
|
|
247
248
|
let comboBoxEl: ReturnType<typeof ComboBoxMulti> | undefined = $state(undefined);
|
|
249
|
+
let containerElement: HTMLElement | undefined = $state(undefined);
|
|
248
250
|
let textboxElement: HTMLElement | undefined = $state(undefined);
|
|
249
251
|
let buttonElement: HTMLElement;
|
|
250
252
|
let comboBoxKeyDown: ((e: KeyboardEvent) => void) | undefined = $state(undefined);
|
|
@@ -283,6 +285,7 @@
|
|
|
283
285
|
<div
|
|
284
286
|
class="select-container {containerClass}"
|
|
285
287
|
class:mb-[1px]={computedAllowSearch && open && !isEmpty}
|
|
288
|
+
bind:this={containerElement}
|
|
286
289
|
>
|
|
287
290
|
<FormGroup {label} {required} {tooltipContent} {tooltipLocation}>
|
|
288
291
|
<button
|
|
@@ -363,39 +366,40 @@
|
|
|
363
366
|
{/if}
|
|
364
367
|
</button>
|
|
365
368
|
</FormGroup>
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
{
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
369
|
+
{#if open}
|
|
370
|
+
<!-- Rendered in the top layer so a scrolling Dialog body cannot clip it -->
|
|
371
|
+
<div
|
|
372
|
+
class="select-panel"
|
|
373
|
+
use:floating={{ anchor: () => containerElement, placement: 'bottom-start', matchWidth: true }}
|
|
374
|
+
>
|
|
375
|
+
<div class="select-panel-inner" use:clickOutside={closePopover}>
|
|
376
|
+
{#if computedAllowSearch}
|
|
377
|
+
<Textbox
|
|
378
|
+
bind:value={filterString}
|
|
379
|
+
class="w-full !border-accent {!isEmpty ? 'border-t-0 rounded-t-none' : ''}"
|
|
380
|
+
bind:textboxElement
|
|
381
|
+
placeholder="Start typing to search..."
|
|
382
|
+
disabled={core.preloading}
|
|
383
|
+
autocomplete="off"
|
|
384
|
+
oninput={() => onFilterChange(filterString)}
|
|
385
|
+
onkeydown={onKeyDown}
|
|
386
|
+
/>
|
|
387
|
+
{/if}
|
|
388
|
+
<ComboBoxMulti
|
|
389
|
+
bind:this={comboBoxEl}
|
|
390
|
+
{filterString}
|
|
391
|
+
values={rawValues}
|
|
392
|
+
{onSelection}
|
|
393
|
+
onkeydown={comboBoxKeyDown}
|
|
394
|
+
groupedOptions={core.filteredGroups}
|
|
395
|
+
open={open && !hideCombobox}
|
|
396
|
+
loading={core.searching}
|
|
397
|
+
{hideNoResults}
|
|
398
|
+
{loadingText}
|
|
383
399
|
/>
|
|
384
|
-
|
|
385
|
-
<ComboBoxMulti
|
|
386
|
-
bind:this={comboBoxEl}
|
|
387
|
-
{filterString}
|
|
388
|
-
values={rawValues}
|
|
389
|
-
{onSelection}
|
|
390
|
-
onkeydown={comboBoxKeyDown}
|
|
391
|
-
groupedOptions={core.filteredGroups}
|
|
392
|
-
open={open && !hideCombobox}
|
|
393
|
-
loading={core.searching}
|
|
394
|
-
{hideNoResults}
|
|
395
|
-
{loadingText}
|
|
396
|
-
/>
|
|
400
|
+
</div>
|
|
397
401
|
</div>
|
|
398
|
-
|
|
402
|
+
{/if}
|
|
399
403
|
{#if showError && errorText}
|
|
400
404
|
<div class="text-error text-xs">{errorText}</div>
|
|
401
405
|
{/if}
|
|
@@ -453,10 +457,8 @@
|
|
|
453
457
|
padding: 0.25rem;
|
|
454
458
|
}
|
|
455
459
|
|
|
460
|
+
/* Position, width and top-layer promotion come from use:floating */
|
|
456
461
|
.select-panel {
|
|
457
|
-
position: absolute;
|
|
458
|
-
width: 100%;
|
|
459
|
-
left: 0;
|
|
460
462
|
z-index: 70;
|
|
461
463
|
}
|
|
462
464
|
|
|
@@ -469,10 +471,6 @@
|
|
|
469
471
|
color: var(--placeholder-color);
|
|
470
472
|
}
|
|
471
473
|
|
|
472
|
-
.hidden {
|
|
473
|
-
display: none;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
474
|
.disabled {
|
|
477
475
|
opacity: 0.5;
|
|
478
476
|
cursor: not-allowed;
|
|
@@ -34,9 +34,7 @@
|
|
|
34
34
|
return items.some((item, i) => item === value && i !== excludeIndex);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
let isDuplicateNewValue = $derived(
|
|
38
|
-
newValue.trim() !== '' && valueExists(newValue.trim())
|
|
39
|
-
);
|
|
37
|
+
let isDuplicateNewValue = $derived(newValue.trim() !== '' && valueExists(newValue.trim()));
|
|
40
38
|
|
|
41
39
|
function addItem() {
|
|
42
40
|
const trimmed = newValue.trim();
|
|
@@ -78,9 +78,7 @@
|
|
|
78
78
|
onkeyup = undefined
|
|
79
79
|
}: TextAreaProps = $props();
|
|
80
80
|
|
|
81
|
-
let resolvedName = $derived(
|
|
82
|
-
(name || label || autoName).replace(/[^a-zA-Z0-9_\-:.]/g, '_')
|
|
83
|
-
);
|
|
81
|
+
let resolvedName = $derived((name || label || autoName).replace(/[^a-zA-Z0-9_\-:.]/g, '_'));
|
|
84
82
|
|
|
85
83
|
let showRequiredRing = $state(false);
|
|
86
84
|
const id = $derived(inputId ?? `input-${label.replaceAll(' ', '')}`);
|
|
@@ -109,8 +107,7 @@
|
|
|
109
107
|
{oninput}
|
|
110
108
|
{onkeydown}
|
|
111
109
|
{onkeypress}
|
|
112
|
-
{onkeyup}
|
|
113
|
-
></textarea>
|
|
110
|
+
{onkeyup}></textarea>
|
|
114
111
|
</FormGroup>
|
|
115
112
|
</div>
|
|
116
113
|
|
|
@@ -129,7 +126,9 @@
|
|
|
129
126
|
border: 1px solid var(--border-color);
|
|
130
127
|
border-radius: 0.375rem;
|
|
131
128
|
appearance: none;
|
|
132
|
-
transition:
|
|
129
|
+
transition:
|
|
130
|
+
border-color 0.15s ease-in-out,
|
|
131
|
+
box-shadow 0.15s ease-in-out;
|
|
133
132
|
resize: vertical;
|
|
134
133
|
|
|
135
134
|
&::placeholder {
|
package/dist/form/Textbox.svelte
CHANGED
|
@@ -108,9 +108,7 @@
|
|
|
108
108
|
type = 'text'
|
|
109
109
|
}: TextboxProps = $props();
|
|
110
110
|
|
|
111
|
-
let resolvedName = $derived(
|
|
112
|
-
(name || label || autoName).replace(/[^a-zA-Z0-9_\-:.]/g, '_')
|
|
113
|
-
);
|
|
111
|
+
let resolvedName = $derived((name || label || autoName).replace(/[^a-zA-Z0-9_\-:.]/g, '_'));
|
|
114
112
|
|
|
115
113
|
let id = $derived.by(() => {
|
|
116
114
|
if (inputId) return inputId;
|
|
@@ -132,7 +130,15 @@
|
|
|
132
130
|
</script>
|
|
133
131
|
|
|
134
132
|
<div class="textbox-container {containerClass}">
|
|
135
|
-
<FormGroup
|
|
133
|
+
<FormGroup
|
|
134
|
+
{label}
|
|
135
|
+
{required}
|
|
136
|
+
{id}
|
|
137
|
+
class={groupClass}
|
|
138
|
+
{tooltipLocation}
|
|
139
|
+
{tooltipContent}
|
|
140
|
+
{tooltipText}
|
|
141
|
+
>
|
|
136
142
|
<div class="textbox-input">
|
|
137
143
|
<!-- svelte-ignore a11y_autofocus -->
|
|
138
144
|
<input
|
|
@@ -49,8 +49,12 @@
|
|
|
49
49
|
let minutes: number = $derived(time.minute());
|
|
50
50
|
|
|
51
51
|
// Calculate time constraints based on selected date
|
|
52
|
-
const isMinDateSelected = $derived(
|
|
53
|
-
|
|
52
|
+
const isMinDateSelected = $derived(
|
|
53
|
+
selectedDate && minDate && dayjs(selectedDate).isSame(dayjs(minDate), 'day')
|
|
54
|
+
);
|
|
55
|
+
const isMaxDateSelected = $derived(
|
|
56
|
+
selectedDate && maxDate && dayjs(selectedDate).isSame(dayjs(maxDate), 'day')
|
|
57
|
+
);
|
|
54
58
|
|
|
55
59
|
const minHour = $derived.by(() => {
|
|
56
60
|
if (!isMinDateSelected || !minDate) return 1;
|
|
@@ -86,7 +90,8 @@
|
|
|
86
90
|
if (!isMinDateSelected || !minDate) return 0;
|
|
87
91
|
const minTime = dayjs(minDate);
|
|
88
92
|
const minHour24 = minTime.hour();
|
|
89
|
-
const currentHour24 =
|
|
93
|
+
const currentHour24 =
|
|
94
|
+
amPm === 'pm' ? (hours === 12 ? 12 : hours + 12) : hours === 12 ? 0 : hours;
|
|
90
95
|
|
|
91
96
|
// Only apply minute constraint if we're on the same hour
|
|
92
97
|
return minHour24 === currentHour24 ? minTime.minute() : 0;
|
|
@@ -96,7 +101,8 @@
|
|
|
96
101
|
if (!isMaxDateSelected || !maxDate) return 59;
|
|
97
102
|
const maxTime = dayjs(maxDate);
|
|
98
103
|
const maxHour24 = maxTime.hour();
|
|
99
|
-
const currentHour24 =
|
|
104
|
+
const currentHour24 =
|
|
105
|
+
amPm === 'pm' ? (hours === 12 ? 12 : hours + 12) : hours === 12 ? 0 : hours;
|
|
100
106
|
|
|
101
107
|
// Only apply minute constraint if we're on the same hour
|
|
102
108
|
return maxHour24 === currentHour24 ? maxTime.minute() : 59;
|
package/dist/icon/Icon.svelte
CHANGED
|
@@ -26,7 +26,11 @@
|
|
|
26
26
|
let sizeStyle = $derived(size ? `width:${size};height:${size};` : '');
|
|
27
27
|
</script>
|
|
28
28
|
|
|
29
|
-
<span
|
|
29
|
+
<span
|
|
30
|
+
style="--svg-stroke: {stroke}; --svg-fill: {fill}; {sizeStyle}"
|
|
31
|
+
class:flip
|
|
32
|
+
class="cu-icon {classes}"
|
|
33
|
+
>
|
|
30
34
|
{@html svg}
|
|
31
35
|
</span>
|
|
32
36
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,146 +1,147 @@
|
|
|
1
|
-
export { default as Accordion } from
|
|
2
|
-
export type { AccordionProps, AccordionContext, AccordionTitleContext, AccordionSize
|
|
3
|
-
export { default as AccordionItem } from
|
|
4
|
-
export type { AccordionItemProps } from
|
|
5
|
-
export { default as Button } from
|
|
6
|
-
export type { ButtonProps } from
|
|
7
|
-
export { default as ActionIcon } from
|
|
8
|
-
export type { ActionIconProps } from
|
|
9
|
-
export { default as Badge } from
|
|
10
|
-
export type { BadgeProps } from
|
|
11
|
-
export { default as Dialog } from
|
|
12
|
-
export type { DialogProps, DialogContext } from
|
|
13
|
-
export { default as Drawer } from
|
|
14
|
-
export type { DrawerProps } from
|
|
15
|
-
export { default as Dropdown } from
|
|
16
|
-
export type { DropdownProps } from
|
|
17
|
-
export { default as Dropzone } from
|
|
18
|
-
export type { DropzoneProps } from
|
|
19
|
-
export { default as Link } from
|
|
20
|
-
export type { LinkProps } from
|
|
21
|
-
export { default as Loader } from
|
|
22
|
-
export type { LoaderProps } from
|
|
23
|
-
export { default as Logo } from
|
|
24
|
-
export type { LogoProps } from
|
|
25
|
-
export { default as Pagination } from
|
|
26
|
-
export type { PaginationProps } from
|
|
27
|
-
export { default as Popover } from
|
|
28
|
-
export type { PopoverProps } from
|
|
29
|
-
export { default as ContextMenu } from
|
|
30
|
-
export type { ContextMenuProps, ContextMenuItem
|
|
31
|
-
export { default as ProgressBar } from
|
|
32
|
-
export type { ProgressBarProps, ProgressBarSegment
|
|
33
|
-
export type { ProgressBarVariant, LegacyProgressBarVariant
|
|
34
|
-
export { default as Tabs } from
|
|
35
|
-
export type { TabsProps } from
|
|
36
|
-
export { default as Table } from
|
|
37
|
-
export type { Column, TableProps } from
|
|
38
|
-
export { default as ThemeSwitcher } from
|
|
39
|
-
export type { ThemeSwitcherProps } from
|
|
40
|
-
export { default as Sortable } from
|
|
41
|
-
export type { SortableProps } from
|
|
42
|
-
export { default as MultiSortable } from
|
|
43
|
-
export type { MultiSortableProps } from
|
|
44
|
-
export { default as Toaster } from
|
|
45
|
-
export { default as Tooltip } from
|
|
46
|
-
export type { TooltipProps, TooltipLocation } from
|
|
47
|
-
export { default as Alert } from
|
|
48
|
-
export type { AlertProps } from
|
|
49
|
-
export { default as LinkCollection } from
|
|
50
|
-
export type { LinkCollectionProps } from
|
|
51
|
-
export { default as Navbar } from
|
|
52
|
-
export type { NavbarProps, NavbarVariant } from
|
|
53
|
-
export { default as NavbarItemView } from
|
|
54
|
-
export type { NavbarItemViewProps } from
|
|
55
|
-
export { default as CustomNavbar } from
|
|
56
|
-
export type { CustomNavbarProps } from
|
|
57
|
-
export { default as AppShell } from
|
|
58
|
-
export type { AppShellProps } from
|
|
59
|
-
export { default as Sidenav } from
|
|
60
|
-
export type { SidenavItem, SidenavItemAction, SidenavSection, SidenavProps
|
|
61
|
-
export { default as Paper } from
|
|
62
|
-
export type { PaperProps } from
|
|
63
|
-
export { default as Avatar } from
|
|
64
|
-
export type { AvatarProps } from
|
|
65
|
-
export { default as Autocomplete } from
|
|
66
|
-
export type { AutocompleteProps } from
|
|
67
|
-
export { default as AutocompleteMulti } from
|
|
68
|
-
export type { AutocompleteMultiProps } from
|
|
69
|
-
export { default as Checkbox } from
|
|
70
|
-
export type { CheckboxProps } from
|
|
71
|
-
export { default as ComboBoxItemBuilder } from
|
|
72
|
-
export type { ComboBoxItemBuilderProps } from
|
|
73
|
-
export { default as StringArrayBuilder } from
|
|
74
|
-
export type { StringArrayBuilderProps } from
|
|
75
|
-
export { default as CronBuilder } from
|
|
76
|
-
export type { CronBuilderProps } from
|
|
77
|
-
export { default as DatePicker } from
|
|
78
|
-
export type { DatePickerProps } from
|
|
79
|
-
export { default as DateRangePicker } from
|
|
80
|
-
export type { DateRangePickerProps } from
|
|
81
|
-
export { default as TimePicker } from
|
|
82
|
-
export type { TimePickerProps } from
|
|
83
|
-
export { default as DateTimePicker } from
|
|
84
|
-
export type { DateTimePickerProps } from
|
|
85
|
-
export { default as FormGroup } from
|
|
86
|
-
export type { FormGroupProps } from
|
|
87
|
-
export { default as Number } from
|
|
88
|
-
export type { NumberProps } from
|
|
89
|
-
export { default as Radio } from
|
|
90
|
-
export type { RadioProps } from
|
|
91
|
-
export { default as RadioGroup } from
|
|
92
|
-
export type { RadioGroupProps } from
|
|
93
|
-
export { default as Select } from
|
|
94
|
-
export type { SelectProps } from
|
|
95
|
-
export { default as SelectMulti } from
|
|
96
|
-
export type { SelectMultiProps } from
|
|
97
|
-
export { default as SegmentedControl } from
|
|
98
|
-
export type { SegmentedControlProps, SegmentedControlSize
|
|
99
|
-
export { default as TextArea } from
|
|
100
|
-
export type { TextAreaProps } from
|
|
101
|
-
export { default as Textbox } from
|
|
102
|
-
export type { TextboxProps } from
|
|
103
|
-
export { default as Slider } from
|
|
104
|
-
export type { SliderProps } from
|
|
105
|
-
export { default as Switch } from
|
|
106
|
-
export type { SwitchProps } from
|
|
107
|
-
export { default as Chips } from
|
|
108
|
-
export type { ChipsProps } from
|
|
109
|
-
export { default as ColorPicker } from
|
|
110
|
-
export type { ColorPickerProps, ColorFormat } from
|
|
111
|
-
export { parseColor, parseHex, toHex, formatColor, rgbToHsv, hsvToRgb, rgbToHsl
|
|
112
|
-
export { default as TipTap } from
|
|
113
|
-
export type { TipTapProps, DocumentUploadResult
|
|
114
|
-
export { default as TipTapBubble } from
|
|
115
|
-
export type { TipTapBubbleProps } from
|
|
116
|
-
export type { CollaborationConfig, CollaborationUser
|
|
117
|
-
export { CodeBlockEditor, codeBlockLanguages, resolveCodeBlockLanguage
|
|
118
|
-
export type { CodeBlocksOptions, CodeBlockEditorOptions, CodeBlockLanguageDef, CodeBlockLanguageId
|
|
119
|
-
export type { AnyExtension } from
|
|
120
|
-
export { default as CodeMirror } from
|
|
121
|
-
export type { CodeMirrorProps } from
|
|
122
|
-
export { default as GitCard } from
|
|
123
|
-
export type { GitCardProps } from
|
|
124
|
-
export * from
|
|
125
|
-
export type { IconProps } from
|
|
126
|
-
export type { ButtonVariant, LegacyButtonVariant } from
|
|
127
|
-
export type { ButtonSize } from
|
|
128
|
-
export type { Hyperlink } from
|
|
129
|
-
export type { LinkCollectionItem } from
|
|
130
|
-
export type { Employee, GitEmployee } from
|
|
131
|
-
export * from
|
|
132
|
-
export * from
|
|
133
|
-
export * from
|
|
134
|
-
export * from
|
|
135
|
-
export * from
|
|
136
|
-
export
|
|
137
|
-
export
|
|
138
|
-
export
|
|
139
|
-
export * from
|
|
140
|
-
export * from
|
|
141
|
-
export * from
|
|
142
|
-
export * from
|
|
143
|
-
export * from
|
|
144
|
-
export * from
|
|
145
|
-
export * from
|
|
146
|
-
export * from
|
|
1
|
+
export { default as Accordion } from './ui/Accordion.svelte';
|
|
2
|
+
export type { AccordionProps, AccordionContext, AccordionTitleContext, AccordionSize } from './ui/Accordion.svelte';
|
|
3
|
+
export { default as AccordionItem } from './ui/AccordionItem.svelte';
|
|
4
|
+
export type { AccordionItemProps } from './ui/AccordionItem.svelte';
|
|
5
|
+
export { default as Button } from './ui/Button.svelte';
|
|
6
|
+
export type { ButtonProps } from './ui/Button.svelte';
|
|
7
|
+
export { default as ActionIcon } from './ui/ActionIcon.svelte';
|
|
8
|
+
export type { ActionIconProps } from './ui/ActionIcon.svelte';
|
|
9
|
+
export { default as Badge } from './ui/Badge.svelte';
|
|
10
|
+
export type { BadgeProps } from './ui/Badge.svelte';
|
|
11
|
+
export { default as Dialog } from './ui/Dialog.svelte';
|
|
12
|
+
export type { DialogProps, DialogContext } from './ui/Dialog.svelte';
|
|
13
|
+
export { default as Drawer } from './ui/Drawer.svelte';
|
|
14
|
+
export type { DrawerProps } from './ui/Drawer.svelte';
|
|
15
|
+
export { default as Dropdown } from './ui/Dropdown.svelte';
|
|
16
|
+
export type { DropdownProps } from './ui/Dropdown.svelte';
|
|
17
|
+
export { default as Dropzone } from './ui/Dropzone.svelte';
|
|
18
|
+
export type { DropzoneProps } from './ui/Dropzone.svelte';
|
|
19
|
+
export { default as Link } from './ui/Link.svelte';
|
|
20
|
+
export type { LinkProps } from './ui/Link.svelte';
|
|
21
|
+
export { default as Loader } from './ui/Loader.svelte';
|
|
22
|
+
export type { LoaderProps } from './ui/Loader.svelte';
|
|
23
|
+
export { default as Logo } from './ui/Logo.svelte';
|
|
24
|
+
export type { LogoProps } from './ui/Logo.svelte';
|
|
25
|
+
export { default as Pagination } from './ui/Pagination.svelte';
|
|
26
|
+
export type { PaginationProps } from './ui/Pagination.svelte';
|
|
27
|
+
export { default as Popover } from './ui/Popover.svelte';
|
|
28
|
+
export type { PopoverProps } from './ui/Popover.svelte';
|
|
29
|
+
export { default as ContextMenu } from './ui/ContextMenu.svelte';
|
|
30
|
+
export type { ContextMenuProps, ContextMenuItem } from './ui/ContextMenu.svelte';
|
|
31
|
+
export { default as ProgressBar } from './ui/ProgressBar.svelte';
|
|
32
|
+
export type { ProgressBarProps, ProgressBarSegment } from './ui/ProgressBar.svelte';
|
|
33
|
+
export type { ProgressBarVariant, LegacyProgressBarVariant } from './ui/ProgressBarVariant.js';
|
|
34
|
+
export { default as Tabs } from './ui/Tabs.svelte';
|
|
35
|
+
export type { TabsProps } from './ui/Tabs.svelte';
|
|
36
|
+
export { default as Table } from './ui/Table.svelte';
|
|
37
|
+
export type { Column, TableProps } from './ui/Table.svelte';
|
|
38
|
+
export { default as ThemeSwitcher } from './ui/ThemeSwitcher.svelte';
|
|
39
|
+
export type { ThemeSwitcherProps } from './ui/ThemeSwitcher.svelte';
|
|
40
|
+
export { default as Sortable } from './ui/Sortable.svelte';
|
|
41
|
+
export type { SortableProps } from './ui/Sortable.svelte';
|
|
42
|
+
export { default as MultiSortable } from './ui/MultiSortable.svelte';
|
|
43
|
+
export type { MultiSortableProps } from './ui/MultiSortable.svelte';
|
|
44
|
+
export { default as Toaster } from './ui/Toaster.svelte';
|
|
45
|
+
export { default as Tooltip } from './ui/Tooltip.svelte';
|
|
46
|
+
export type { TooltipProps, TooltipLocation } from './ui/Tooltip.svelte';
|
|
47
|
+
export { default as Alert } from './display/alert/Alert.svelte';
|
|
48
|
+
export type { AlertProps } from './display/alert/Alert.svelte';
|
|
49
|
+
export { default as LinkCollection } from './display/LinkCollection.svelte';
|
|
50
|
+
export type { LinkCollectionProps } from './display/LinkCollection.svelte';
|
|
51
|
+
export { default as Navbar } from './layout/Navbar.svelte';
|
|
52
|
+
export type { NavbarProps, NavbarVariant } from './layout/Navbar.svelte';
|
|
53
|
+
export { default as NavbarItemView } from './layout/NavbarItemView.svelte';
|
|
54
|
+
export type { NavbarItemViewProps } from './layout/NavbarItemView.svelte';
|
|
55
|
+
export { default as CustomNavbar } from './layout/CustomNavbar.svelte';
|
|
56
|
+
export type { CustomNavbarProps } from './layout/CustomNavbar.svelte';
|
|
57
|
+
export { default as AppShell } from './layout/AppShell.svelte';
|
|
58
|
+
export type { AppShellProps } from './layout/AppShell.svelte';
|
|
59
|
+
export { default as Sidenav } from './layout/Sidenav.svelte';
|
|
60
|
+
export type { SidenavItem, SidenavItemAction, SidenavSection, SidenavProps } from './layout/Sidenav.svelte';
|
|
61
|
+
export { default as Paper } from './display/Paper.svelte';
|
|
62
|
+
export type { PaperProps } from './display/Paper.svelte';
|
|
63
|
+
export { default as Avatar } from './display/Avatar.svelte';
|
|
64
|
+
export type { AvatarProps } from './display/Avatar.svelte';
|
|
65
|
+
export { default as Autocomplete } from './form/Autocomplete.svelte';
|
|
66
|
+
export type { AutocompleteProps } from './form/Autocomplete.svelte';
|
|
67
|
+
export { default as AutocompleteMulti } from './form/AutocompleteMulti.svelte';
|
|
68
|
+
export type { AutocompleteMultiProps } from './form/AutocompleteMulti.svelte';
|
|
69
|
+
export { default as Checkbox } from './form/Checkbox.svelte';
|
|
70
|
+
export type { CheckboxProps } from './form/Checkbox.svelte';
|
|
71
|
+
export { default as ComboBoxItemBuilder } from './form/ComboBoxItemBuilder.svelte';
|
|
72
|
+
export type { ComboBoxItemBuilderProps } from './form/ComboBoxItemBuilder.svelte';
|
|
73
|
+
export { default as StringArrayBuilder } from './form/StringArrayBuilder.svelte';
|
|
74
|
+
export type { StringArrayBuilderProps } from './form/StringArrayBuilder.svelte';
|
|
75
|
+
export { default as CronBuilder } from './form/CronBuilder.svelte';
|
|
76
|
+
export type { CronBuilderProps } from './form/CronBuilder.svelte';
|
|
77
|
+
export { default as DatePicker } from './form/DatePicker.svelte';
|
|
78
|
+
export type { DatePickerProps } from './form/DatePicker.svelte';
|
|
79
|
+
export { default as DateRangePicker } from './form/DateRangePicker.svelte';
|
|
80
|
+
export type { DateRangePickerProps } from './form/DateRangePicker.svelte';
|
|
81
|
+
export { default as TimePicker } from './form/TimePicker.svelte';
|
|
82
|
+
export type { TimePickerProps } from './form/TimePicker.svelte';
|
|
83
|
+
export { default as DateTimePicker } from './form/DateTimePicker.svelte';
|
|
84
|
+
export type { DateTimePickerProps } from './form/DateTimePicker.svelte';
|
|
85
|
+
export { default as FormGroup } from './form/FormGroup.svelte';
|
|
86
|
+
export type { FormGroupProps } from './form/FormGroup.svelte';
|
|
87
|
+
export { default as Number } from './form/Number.svelte';
|
|
88
|
+
export type { NumberProps } from './form/Number.svelte';
|
|
89
|
+
export { default as Radio } from './form/Radio.svelte';
|
|
90
|
+
export type { RadioProps } from './form/Radio.svelte';
|
|
91
|
+
export { default as RadioGroup } from './form/RadioGroup.svelte';
|
|
92
|
+
export type { RadioGroupProps } from './form/RadioGroup.svelte';
|
|
93
|
+
export { default as Select } from './form/Select.svelte';
|
|
94
|
+
export type { SelectProps } from './form/Select.svelte';
|
|
95
|
+
export { default as SelectMulti } from './form/SelectMulti.svelte';
|
|
96
|
+
export type { SelectMultiProps } from './form/SelectMulti.svelte';
|
|
97
|
+
export { default as SegmentedControl } from './form/SegmentedControl.svelte';
|
|
98
|
+
export type { SegmentedControlProps, SegmentedControlSize } from './form/SegmentedControl.svelte';
|
|
99
|
+
export { default as TextArea } from './form/TextArea.svelte';
|
|
100
|
+
export type { TextAreaProps } from './form/TextArea.svelte';
|
|
101
|
+
export { default as Textbox } from './form/Textbox.svelte';
|
|
102
|
+
export type { TextboxProps } from './form/Textbox.svelte';
|
|
103
|
+
export { default as Slider } from './form/Slider.svelte';
|
|
104
|
+
export type { SliderProps } from './form/Slider.svelte';
|
|
105
|
+
export { default as Switch } from './form/Switch.svelte';
|
|
106
|
+
export type { SwitchProps } from './form/Switch.svelte';
|
|
107
|
+
export { default as Chips } from './form/Chips.svelte';
|
|
108
|
+
export type { ChipsProps } from './form/Chips.svelte';
|
|
109
|
+
export { default as ColorPicker } from './form/ColorPicker.svelte';
|
|
110
|
+
export type { ColorPickerProps, ColorFormat } from './form/ColorPicker.svelte';
|
|
111
|
+
export { parseColor, parseHex, toHex, formatColor, rgbToHsv, hsvToRgb, rgbToHsl } from './form/ColorPicker.svelte';
|
|
112
|
+
export { default as TipTap } from './editors/tiptap/TipTap.svelte';
|
|
113
|
+
export type { TipTapProps, DocumentUploadResult } from './editors/tiptap/TipTap.svelte';
|
|
114
|
+
export { default as TipTapBubble } from './editors/tiptap/TipTapBubble.svelte';
|
|
115
|
+
export type { TipTapBubbleProps } from './editors/tiptap/TipTapBubble.svelte';
|
|
116
|
+
export type { CollaborationConfig, CollaborationUser } from './editors/tiptap/collaboration.js';
|
|
117
|
+
export { CodeBlockEditor, codeBlockLanguages, resolveCodeBlockLanguage } from './editors/tiptap/extensions/index.js';
|
|
118
|
+
export type { CodeBlocksOptions, CodeBlockEditorOptions, CodeBlockLanguageDef, CodeBlockLanguageId } from './editors/tiptap/extensions/index.js';
|
|
119
|
+
export type { AnyExtension } from '@tiptap/core';
|
|
120
|
+
export { default as CodeMirror } from './editors/CodeMirror.svelte';
|
|
121
|
+
export type { CodeMirrorProps } from './editors/CodeMirror.svelte';
|
|
122
|
+
export { default as GitCard } from './cards/GitCard.svelte';
|
|
123
|
+
export type { GitCardProps } from './cards/GitCard.svelte';
|
|
124
|
+
export * from './icon/index.js';
|
|
125
|
+
export type { IconProps } from './icon/Icon.svelte';
|
|
126
|
+
export type { ButtonVariant, LegacyButtonVariant } from './ui/ButtonVariant.js';
|
|
127
|
+
export type { ButtonSize } from './ui/ButtonSize.js';
|
|
128
|
+
export type { Hyperlink } from './models/Hyperlink.js';
|
|
129
|
+
export type { LinkCollectionItem } from './models/LinkCollectionItem.js';
|
|
130
|
+
export type { Employee, GitEmployee } from './models/Employee.js';
|
|
131
|
+
export * from './models/ComboBoxItem.js';
|
|
132
|
+
export * from './models/NavbarItem.js';
|
|
133
|
+
export * from './models/NotifyModel.js';
|
|
134
|
+
export * from './util/ClickOutside.js';
|
|
135
|
+
export * from './util/Floating.js';
|
|
136
|
+
export * from './util/CronParser.js';
|
|
137
|
+
export { dayjs } from './util/dayjs.js';
|
|
138
|
+
export type { Dayjs, ConfigType, OpUnitType, QUnitType, UnitType } from './util/dayjs.js';
|
|
139
|
+
export * from './util/DateFunctions.js';
|
|
140
|
+
export * from './util/DragDrop.js';
|
|
141
|
+
export * from './util/Transitions.js';
|
|
142
|
+
export * from './util/interceptLinkClick.js';
|
|
143
|
+
export * from './util/NavigateTo.js';
|
|
144
|
+
export * from './display/filetree/index.js';
|
|
145
|
+
export * from './theme.svelte.js';
|
|
146
|
+
export * from './uiTheme.svelte.js';
|
|
147
|
+
export * from './ui/Toast.svelte.js';
|