@deepfuture/dui-components 0.0.1 → 0.0.4
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/README.md +191 -0
- package/accordion/accordion-item.js +0 -2
- package/accordion/index.d.ts +5 -2
- package/accordion/index.js +5 -2
- package/alert-dialog/index.d.ts +9 -4
- package/alert-dialog/index.js +9 -4
- package/all.d.ts +60 -19
- package/all.js +140 -140
- package/avatar/index.d.ts +3 -1
- package/avatar/index.js +3 -1
- package/badge/badge.d.ts +0 -2
- package/badge/badge.js +0 -13
- package/badge/index.d.ts +3 -2
- package/badge/index.js +3 -1
- package/breadcrumb/index.d.ts +13 -6
- package/breadcrumb/index.js +13 -6
- package/button/button.d.ts +1 -5
- package/button/button.js +1 -14
- package/button/index.d.ts +3 -2
- package/button/index.js +3 -1
- package/calendar/index.d.ts +3 -1
- package/calendar/index.js +3 -1
- package/center/index.d.ts +3 -1
- package/center/index.js +3 -1
- package/checkbox/checkbox.js +0 -1
- package/checkbox/index.d.ts +5 -2
- package/checkbox/index.js +5 -2
- package/collapsible/collapsible.js +0 -2
- package/collapsible/index.d.ts +3 -1
- package/collapsible/index.js +3 -1
- package/combobox/combobox.js +2 -37
- package/combobox/index.d.ts +3 -1
- package/combobox/index.js +3 -1
- package/command/index.d.ts +17 -8
- package/command/index.js +17 -8
- package/data-table/data-table.js +0 -4
- package/data-table/index.d.ts +3 -1
- package/data-table/index.js +3 -1
- package/dialog/index.d.ts +9 -4
- package/dialog/index.js +9 -4
- package/dropzone/dropzone.js +0 -1
- package/dropzone/index.d.ts +3 -1
- package/dropzone/index.js +3 -1
- package/hstack/index.d.ts +3 -1
- package/hstack/index.js +3 -1
- package/icon/index.d.ts +3 -1
- package/icon/index.js +3 -1
- package/input/index.d.ts +3 -1
- package/input/index.js +3 -1
- package/input/input.js +0 -1
- package/link/index.d.ts +3 -1
- package/link/index.js +3 -1
- package/menu/index.d.ts +5 -2
- package/menu/index.js +5 -2
- package/menu/menu-item.d.ts +0 -2
- package/menu/menu-item.js +0 -8
- package/menu/menu.js +1 -12
- package/menubar/index.d.ts +3 -1
- package/menubar/index.js +3 -1
- package/number-field/index.d.ts +3 -1
- package/number-field/index.js +3 -1
- package/package.json +5 -4
- package/page-inset/index.d.ts +3 -1
- package/page-inset/index.js +3 -1
- package/popover/index.d.ts +9 -4
- package/popover/index.js +9 -4
- package/popover/popover-popup.js +1 -22
- package/portal/index.d.ts +3 -1
- package/portal/index.js +3 -1
- package/preview-card/index.d.ts +7 -3
- package/preview-card/index.js +7 -3
- package/preview-card/preview-card-popup.js +1 -23
- package/progress/index.d.ts +3 -1
- package/progress/index.js +3 -1
- package/radio/index.d.ts +5 -2
- package/radio/index.js +5 -2
- package/radio/radio.js +0 -1
- package/scroll-area/index.d.ts +3 -1
- package/scroll-area/index.js +3 -1
- package/scroll-area/scroll-area.js +7 -0
- package/select/index.d.ts +3 -1
- package/select/index.js +3 -1
- package/select/select.js +1 -35
- package/separator/index.d.ts +3 -1
- package/separator/index.js +3 -1
- package/sidebar/index.d.ts +27 -14
- package/sidebar/index.js +32 -13
- package/sidebar/sidebar-context.d.ts +1 -1
- package/sidebar/sidebar-menu-button.d.ts +0 -3
- package/sidebar/sidebar-menu-button.js +0 -7
- package/sidebar/sidebar-provider.d.ts +1 -1
- package/sidebar/sidebar-provider.js +1 -1
- package/sidebar/sidebar-trigger.js +1 -1
- package/slider/index.d.ts +3 -1
- package/slider/index.js +3 -1
- package/slider/slider.js +0 -1
- package/spinner/index.d.ts +3 -1
- package/spinner/index.js +3 -1
- package/spinner/spinner.d.ts +1 -6
- package/spinner/spinner.js +1 -8
- package/switch/index.d.ts +3 -1
- package/switch/index.js +3 -1
- package/switch/switch.js +0 -2
- package/tabs/index.d.ts +11 -5
- package/tabs/index.js +11 -5
- package/tabs/tab.js +0 -1
- package/tabs/tabs-panel.js +0 -1
- package/textarea/index.d.ts +4 -2
- package/textarea/index.js +3 -1
- package/textarea/textarea.d.ts +0 -3
- package/textarea/textarea.js +0 -8
- package/toggle/index.d.ts +5 -2
- package/toggle/index.js +5 -2
- package/toggle/toggle.d.ts +1 -0
- package/toggle/toggle.js +3 -0
- package/toolbar/index.d.ts +3 -1
- package/toolbar/index.js +3 -1
- package/toolbar/toolbar.d.ts +0 -2
- package/toolbar/toolbar.js +0 -7
- package/tooltip/index.d.ts +7 -3
- package/tooltip/index.js +7 -3
- package/tooltip/tooltip-popup.js +1 -26
- package/trunc/index.d.ts +3 -1
- package/trunc/index.js +3 -1
- package/vstack/index.d.ts +3 -1
- package/vstack/index.js +3 -1
- package/accordion/register.d.ts +0 -1
- package/accordion/register.js +0 -8
- package/alert-dialog/register.d.ts +0 -1
- package/alert-dialog/register.js +0 -16
- package/avatar/register.d.ts +0 -1
- package/avatar/register.js +0 -4
- package/badge/register.d.ts +0 -1
- package/badge/register.js +0 -4
- package/breadcrumb/register.d.ts +0 -1
- package/breadcrumb/register.js +0 -14
- package/button/register.d.ts +0 -1
- package/button/register.js +0 -4
- package/calendar/register.d.ts +0 -1
- package/calendar/register.js +0 -4
- package/center/register.d.ts +0 -1
- package/center/register.js +0 -4
- package/checkbox/register.d.ts +0 -1
- package/checkbox/register.js +0 -8
- package/collapsible/register.d.ts +0 -1
- package/collapsible/register.js +0 -4
- package/combobox/register.d.ts +0 -1
- package/combobox/register.js +0 -4
- package/command/register.d.ts +0 -1
- package/command/register.js +0 -22
- package/data-table/register.d.ts +0 -1
- package/data-table/register.js +0 -4
- package/dialog/register.d.ts +0 -1
- package/dialog/register.js +0 -16
- package/dropzone/register.d.ts +0 -1
- package/dropzone/register.js +0 -4
- package/hstack/register.d.ts +0 -1
- package/hstack/register.js +0 -4
- package/icon/register.d.ts +0 -1
- package/icon/register.js +0 -4
- package/input/register.d.ts +0 -1
- package/input/register.js +0 -4
- package/link/register.d.ts +0 -1
- package/link/register.js +0 -4
- package/menu/register.d.ts +0 -1
- package/menu/register.js +0 -8
- package/menubar/register.d.ts +0 -1
- package/menubar/register.js +0 -4
- package/number-field/register.d.ts +0 -1
- package/number-field/register.js +0 -4
- package/page-inset/register.d.ts +0 -1
- package/page-inset/register.js +0 -4
- package/popover/register.d.ts +0 -1
- package/popover/register.js +0 -16
- package/portal/register.d.ts +0 -1
- package/portal/register.js +0 -4
- package/preview-card/register.d.ts +0 -1
- package/preview-card/register.js +0 -12
- package/progress/register.d.ts +0 -1
- package/progress/register.js +0 -4
- package/radio/register.d.ts +0 -1
- package/radio/register.js +0 -8
- package/scroll-area/register.d.ts +0 -1
- package/scroll-area/register.js +0 -4
- package/select/register.d.ts +0 -1
- package/select/register.js +0 -4
- package/separator/register.d.ts +0 -1
- package/separator/register.js +0 -4
- package/sidebar/register.d.ts +0 -1
- package/sidebar/register.js +0 -52
- package/slider/register.d.ts +0 -1
- package/slider/register.js +0 -4
- package/spinner/register.d.ts +0 -1
- package/spinner/register.js +0 -4
- package/switch/register.d.ts +0 -1
- package/switch/register.js +0 -4
- package/tabs/register.d.ts +0 -1
- package/tabs/register.js +0 -10
- package/textarea/register.d.ts +0 -1
- package/textarea/register.js +0 -4
- package/toggle/register.d.ts +0 -1
- package/toggle/register.js +0 -8
- package/toolbar/register.d.ts +0 -1
- package/toolbar/register.js +0 -4
- package/tooltip/register.d.ts +0 -1
- package/tooltip/register.js +0 -12
- package/trunc/register.d.ts +0 -1
- package/trunc/register.js +0 -4
- package/vstack/register.d.ts +0 -1
- package/vstack/register.js +0 -4
package/all.js
CHANGED
|
@@ -4,188 +4,188 @@
|
|
|
4
4
|
*
|
|
5
5
|
* @example
|
|
6
6
|
* ```ts
|
|
7
|
-
* import { applyTheme } from "@deepfuture/dui-core";
|
|
7
|
+
* import { applyTheme } from "@deepfuture/dui-core/apply-theme";
|
|
8
8
|
* import { defaultTheme } from "@deepfuture/dui-theme-default";
|
|
9
9
|
* import { allComponents } from "@deepfuture/dui-components/all";
|
|
10
10
|
*
|
|
11
11
|
* applyTheme({ theme: defaultTheme, components: allComponents });
|
|
12
12
|
* ```
|
|
13
13
|
*/
|
|
14
|
-
// ---
|
|
14
|
+
// --- Component families (used to build allComponents) ---
|
|
15
|
+
import { accordionFamily } from "./accordion/index.js";
|
|
16
|
+
import { alertDialogFamily } from "./alert-dialog/index.js";
|
|
17
|
+
import { avatarFamily } from "./avatar/index.js";
|
|
18
|
+
import { badgeFamily } from "./badge/index.js";
|
|
19
|
+
import { breadcrumbFamily } from "./breadcrumb/index.js";
|
|
20
|
+
import { buttonFamily } from "./button/index.js";
|
|
21
|
+
import { calendarFamily } from "./calendar/index.js";
|
|
22
|
+
import { centerFamily } from "./center/index.js";
|
|
23
|
+
import { checkboxFamily } from "./checkbox/index.js";
|
|
24
|
+
import { collapsibleFamily } from "./collapsible/index.js";
|
|
25
|
+
import { comboboxFamily } from "./combobox/index.js";
|
|
26
|
+
import { commandFamily } from "./command/index.js";
|
|
27
|
+
import { dataTableFamily } from "./data-table/index.js";
|
|
28
|
+
import { dialogFamily } from "./dialog/index.js";
|
|
29
|
+
import { dropzoneFamily } from "./dropzone/index.js";
|
|
30
|
+
import { hstackFamily } from "./hstack/index.js";
|
|
31
|
+
import { iconFamily } from "./icon/index.js";
|
|
32
|
+
import { inputFamily } from "./input/index.js";
|
|
33
|
+
import { linkFamily } from "./link/index.js";
|
|
34
|
+
import { menuFamily } from "./menu/index.js";
|
|
35
|
+
import { menubarFamily } from "./menubar/index.js";
|
|
36
|
+
import { numberFieldFamily } from "./number-field/index.js";
|
|
37
|
+
import { pageInsetFamily } from "./page-inset/index.js";
|
|
38
|
+
import { popoverFamily } from "./popover/index.js";
|
|
39
|
+
import { portalFamily } from "./portal/index.js";
|
|
40
|
+
import { previewCardFamily } from "./preview-card/index.js";
|
|
41
|
+
import { progressFamily } from "./progress/index.js";
|
|
42
|
+
import { radioFamily } from "./radio/index.js";
|
|
43
|
+
import { scrollAreaFamily } from "./scroll-area/index.js";
|
|
44
|
+
import { selectFamily } from "./select/index.js";
|
|
45
|
+
import { separatorFamily } from "./separator/index.js";
|
|
46
|
+
import { sidebarFamily } from "./sidebar/index.js";
|
|
47
|
+
import { sliderFamily } from "./slider/index.js";
|
|
48
|
+
import { spinnerFamily } from "./spinner/index.js";
|
|
49
|
+
import { switchFamily } from "./switch/index.js";
|
|
50
|
+
import { tabsFamily } from "./tabs/index.js";
|
|
51
|
+
import { textareaFamily } from "./textarea/index.js";
|
|
52
|
+
import { toggleFamily } from "./toggle/index.js";
|
|
53
|
+
import { toolbarFamily } from "./toolbar/index.js";
|
|
54
|
+
import { tooltipFamily } from "./tooltip/index.js";
|
|
55
|
+
import { truncFamily } from "./trunc/index.js";
|
|
56
|
+
import { vstackFamily } from "./vstack/index.js";
|
|
57
|
+
// --- Re-export all families ---
|
|
58
|
+
export { accordionFamily, alertDialogFamily, avatarFamily, badgeFamily, breadcrumbFamily, buttonFamily, calendarFamily, centerFamily, checkboxFamily, collapsibleFamily, comboboxFamily, commandFamily, dataTableFamily, dialogFamily, dropzoneFamily, hstackFamily, iconFamily, inputFamily, linkFamily, menuFamily, menubarFamily, numberFieldFamily, pageInsetFamily, popoverFamily, portalFamily, previewCardFamily, progressFamily, radioFamily, scrollAreaFamily, selectFamily, separatorFamily, sidebarFamily, sliderFamily, spinnerFamily, switchFamily, tabsFamily, textareaFamily, toggleFamily, toolbarFamily, tooltipFamily, truncFamily, vstackFamily, };
|
|
59
|
+
// --- Re-export component classes and types (explicit to avoid name collisions) ---
|
|
60
|
+
// Accordion
|
|
15
61
|
export { DuiAccordion, DuiAccordionItem } from "./accordion/index.js";
|
|
16
|
-
//
|
|
17
|
-
export { DuiAlertDialog, DuiAlertDialogTrigger, DuiAlertDialogPopup, DuiAlertDialogClose
|
|
18
|
-
//
|
|
62
|
+
// Alert Dialog
|
|
63
|
+
export { DuiAlertDialog, DuiAlertDialogTrigger, DuiAlertDialogPopup, DuiAlertDialogClose } from "./alert-dialog/index.js";
|
|
64
|
+
// Avatar
|
|
19
65
|
export { DuiAvatar } from "./avatar/index.js";
|
|
20
|
-
//
|
|
66
|
+
// Badge
|
|
21
67
|
export { DuiBadge } from "./badge/index.js";
|
|
22
|
-
//
|
|
23
|
-
export { DuiBreadcrumb, DuiBreadcrumbItem, DuiBreadcrumbLink, DuiBreadcrumbPage, DuiBreadcrumbSeparator, DuiBreadcrumbEllipsis
|
|
24
|
-
//
|
|
68
|
+
// Breadcrumb
|
|
69
|
+
export { DuiBreadcrumb, DuiBreadcrumbItem, DuiBreadcrumbLink, DuiBreadcrumbPage, DuiBreadcrumbSeparator, DuiBreadcrumbEllipsis } from "./breadcrumb/index.js";
|
|
70
|
+
// Button
|
|
25
71
|
export { DuiButton } from "./button/index.js";
|
|
26
|
-
//
|
|
72
|
+
// Calendar
|
|
27
73
|
export { DuiCalendar } from "./calendar/index.js";
|
|
28
|
-
//
|
|
74
|
+
// Center
|
|
29
75
|
export { DuiCenter } from "./center/index.js";
|
|
30
|
-
//
|
|
76
|
+
// Checkbox
|
|
31
77
|
export { DuiCheckbox, DuiCheckboxGroup } from "./checkbox/index.js";
|
|
32
|
-
//
|
|
78
|
+
// Collapsible
|
|
33
79
|
export { DuiCollapsible } from "./collapsible/index.js";
|
|
34
|
-
//
|
|
80
|
+
// Combobox
|
|
35
81
|
export { DuiCombobox } from "./combobox/index.js";
|
|
36
|
-
//
|
|
37
|
-
export { DuiCommand, DuiCommandInput, DuiCommandList, DuiCommandGroup, DuiCommandItem, DuiCommandEmpty, DuiCommandSeparator, DuiCommandShortcut
|
|
38
|
-
//
|
|
82
|
+
// Command
|
|
83
|
+
export { DuiCommand, DuiCommandInput, DuiCommandList, DuiCommandGroup, DuiCommandItem, DuiCommandEmpty, DuiCommandSeparator, DuiCommandShortcut } from "./command/index.js";
|
|
84
|
+
// Data Table
|
|
39
85
|
export { DuiDataTable } from "./data-table/index.js";
|
|
40
|
-
//
|
|
41
|
-
export { DuiDialog, DuiDialogTrigger, DuiDialogPopup, DuiDialogClose
|
|
42
|
-
//
|
|
86
|
+
// Dialog
|
|
87
|
+
export { DuiDialog, DuiDialogTrigger, DuiDialogPopup, DuiDialogClose } from "./dialog/index.js";
|
|
88
|
+
// Dropzone
|
|
43
89
|
export { DuiDropzone } from "./dropzone/index.js";
|
|
44
|
-
//
|
|
90
|
+
// HStack
|
|
45
91
|
export { DuiHstack } from "./hstack/index.js";
|
|
46
|
-
//
|
|
92
|
+
// Icon
|
|
47
93
|
export { DuiIcon } from "./icon/index.js";
|
|
48
|
-
//
|
|
94
|
+
// Input
|
|
49
95
|
export { DuiInput } from "./input/index.js";
|
|
50
|
-
//
|
|
96
|
+
// Link
|
|
51
97
|
export { DuiLink } from "./link/index.js";
|
|
52
|
-
//
|
|
98
|
+
// Menu
|
|
53
99
|
export { DuiMenu, DuiMenuItem } from "./menu/index.js";
|
|
54
|
-
//
|
|
100
|
+
// Menubar
|
|
55
101
|
export { DuiMenubar } from "./menubar/index.js";
|
|
56
|
-
//
|
|
102
|
+
// Number Field
|
|
57
103
|
export { DuiNumberField } from "./number-field/index.js";
|
|
58
|
-
//
|
|
104
|
+
// Page Inset
|
|
59
105
|
export { DuiPageInset } from "./page-inset/index.js";
|
|
60
|
-
//
|
|
61
|
-
export { DuiPopover, DuiPopoverTrigger, DuiPopoverPopup, DuiPopoverClose
|
|
62
|
-
//
|
|
106
|
+
// Popover
|
|
107
|
+
export { DuiPopover, DuiPopoverTrigger, DuiPopoverPopup, DuiPopoverClose } from "./popover/index.js";
|
|
108
|
+
// Portal
|
|
63
109
|
export { DuiPortal } from "./portal/index.js";
|
|
64
|
-
//
|
|
65
|
-
export { DuiPreviewCard, DuiPreviewCardTrigger, DuiPreviewCardPopup
|
|
66
|
-
//
|
|
110
|
+
// Preview Card
|
|
111
|
+
export { DuiPreviewCard, DuiPreviewCardTrigger, DuiPreviewCardPopup } from "./preview-card/index.js";
|
|
112
|
+
// Progress
|
|
67
113
|
export { DuiProgress } from "./progress/index.js";
|
|
68
|
-
//
|
|
114
|
+
// Radio
|
|
69
115
|
export { DuiRadio, DuiRadioGroup } from "./radio/index.js";
|
|
70
|
-
//
|
|
116
|
+
// Scroll Area
|
|
71
117
|
export { DuiScrollArea } from "./scroll-area/index.js";
|
|
72
|
-
//
|
|
118
|
+
// Select
|
|
73
119
|
export { DuiSelect } from "./select/index.js";
|
|
74
|
-
//
|
|
120
|
+
// Separator
|
|
75
121
|
export { DuiSeparator } from "./separator/index.js";
|
|
76
|
-
//
|
|
77
|
-
export { DuiSidebarProvider, DuiSidebar, DuiSidebarTrigger, DuiSidebarContent, DuiSidebarHeader, DuiSidebarFooter, DuiSidebarGroup, DuiSidebarGroupLabel, DuiSidebarMenu, DuiSidebarMenuItem, DuiSidebarMenuButton, DuiSidebarSeparator, DuiSidebarInset
|
|
78
|
-
//
|
|
122
|
+
// Sidebar
|
|
123
|
+
export { DuiSidebarProvider, DuiSidebar, DuiSidebarTrigger, DuiSidebarContent, DuiSidebarHeader, DuiSidebarFooter, DuiSidebarGroup, DuiSidebarGroupLabel, DuiSidebarMenu, DuiSidebarMenuItem, DuiSidebarMenuButton, DuiSidebarSeparator, DuiSidebarInset } from "./sidebar/index.js";
|
|
124
|
+
// Slider
|
|
79
125
|
export { DuiSlider } from "./slider/index.js";
|
|
80
|
-
//
|
|
126
|
+
// Spinner
|
|
81
127
|
export { DuiSpinner } from "./spinner/index.js";
|
|
82
|
-
//
|
|
128
|
+
// Switch
|
|
83
129
|
export { DuiSwitch } from "./switch/index.js";
|
|
84
|
-
//
|
|
85
|
-
export { DuiTabs, DuiTabsList, DuiTab, DuiTabsPanel, DuiTabsIndicator
|
|
86
|
-
//
|
|
130
|
+
// Tabs
|
|
131
|
+
export { DuiTabs, DuiTabsList, DuiTab, DuiTabsPanel, DuiTabsIndicator } from "./tabs/index.js";
|
|
132
|
+
// Textarea
|
|
87
133
|
export { DuiTextarea } from "./textarea/index.js";
|
|
88
|
-
//
|
|
134
|
+
// Toggle
|
|
89
135
|
export { DuiToggle, DuiToggleGroup } from "./toggle/index.js";
|
|
90
|
-
//
|
|
136
|
+
// Toolbar
|
|
91
137
|
export { DuiToolbar } from "./toolbar/index.js";
|
|
92
|
-
//
|
|
93
|
-
export { DuiTooltip, DuiTooltipTrigger, DuiTooltipPopup
|
|
94
|
-
//
|
|
138
|
+
// Tooltip
|
|
139
|
+
export { DuiTooltip, DuiTooltipTrigger, DuiTooltipPopup } from "./tooltip/index.js";
|
|
140
|
+
// Trunc
|
|
95
141
|
export { DuiTrunc } from "./trunc/index.js";
|
|
96
|
-
//
|
|
142
|
+
// VStack
|
|
97
143
|
export { DuiVstack } from "./vstack/index.js";
|
|
98
144
|
/**
|
|
99
145
|
* All DUI component classes, ready for `applyTheme()`.
|
|
100
146
|
* Includes every component and sub-component.
|
|
101
147
|
*/
|
|
102
148
|
export const allComponents = [
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
DuiNumberField,
|
|
146
|
-
DuiPageInset,
|
|
147
|
-
DuiPopover,
|
|
148
|
-
DuiPopoverTrigger,
|
|
149
|
-
DuiPopoverPopup,
|
|
150
|
-
DuiPopoverClose,
|
|
151
|
-
DuiPortal,
|
|
152
|
-
DuiPreviewCard,
|
|
153
|
-
DuiPreviewCardTrigger,
|
|
154
|
-
DuiPreviewCardPopup,
|
|
155
|
-
DuiProgress,
|
|
156
|
-
DuiRadio,
|
|
157
|
-
DuiRadioGroup,
|
|
158
|
-
DuiScrollArea,
|
|
159
|
-
DuiSelect,
|
|
160
|
-
DuiSeparator,
|
|
161
|
-
DuiSidebarProvider,
|
|
162
|
-
DuiSidebar,
|
|
163
|
-
DuiSidebarTrigger,
|
|
164
|
-
DuiSidebarContent,
|
|
165
|
-
DuiSidebarHeader,
|
|
166
|
-
DuiSidebarFooter,
|
|
167
|
-
DuiSidebarGroup,
|
|
168
|
-
DuiSidebarGroupLabel,
|
|
169
|
-
DuiSidebarMenu,
|
|
170
|
-
DuiSidebarMenuItem,
|
|
171
|
-
DuiSidebarMenuButton,
|
|
172
|
-
DuiSidebarSeparator,
|
|
173
|
-
DuiSidebarInset,
|
|
174
|
-
DuiSlider,
|
|
175
|
-
DuiSpinner,
|
|
176
|
-
DuiSwitch,
|
|
177
|
-
DuiTabs,
|
|
178
|
-
DuiTabsList,
|
|
179
|
-
DuiTab,
|
|
180
|
-
DuiTabsPanel,
|
|
181
|
-
DuiTabsIndicator,
|
|
182
|
-
DuiTextarea,
|
|
183
|
-
DuiToggle,
|
|
184
|
-
DuiToggleGroup,
|
|
185
|
-
DuiToolbar,
|
|
186
|
-
DuiTooltip,
|
|
187
|
-
DuiTooltipTrigger,
|
|
188
|
-
DuiTooltipPopup,
|
|
189
|
-
DuiTrunc,
|
|
190
|
-
DuiVstack,
|
|
149
|
+
...accordionFamily,
|
|
150
|
+
...alertDialogFamily,
|
|
151
|
+
...avatarFamily,
|
|
152
|
+
...badgeFamily,
|
|
153
|
+
...breadcrumbFamily,
|
|
154
|
+
...buttonFamily,
|
|
155
|
+
...calendarFamily,
|
|
156
|
+
...centerFamily,
|
|
157
|
+
...checkboxFamily,
|
|
158
|
+
...collapsibleFamily,
|
|
159
|
+
...comboboxFamily,
|
|
160
|
+
...commandFamily,
|
|
161
|
+
...dataTableFamily,
|
|
162
|
+
...dialogFamily,
|
|
163
|
+
...dropzoneFamily,
|
|
164
|
+
...hstackFamily,
|
|
165
|
+
...iconFamily,
|
|
166
|
+
...inputFamily,
|
|
167
|
+
...linkFamily,
|
|
168
|
+
...menuFamily,
|
|
169
|
+
...menubarFamily,
|
|
170
|
+
...numberFieldFamily,
|
|
171
|
+
...pageInsetFamily,
|
|
172
|
+
...popoverFamily,
|
|
173
|
+
...portalFamily,
|
|
174
|
+
...previewCardFamily,
|
|
175
|
+
...progressFamily,
|
|
176
|
+
...radioFamily,
|
|
177
|
+
...scrollAreaFamily,
|
|
178
|
+
...selectFamily,
|
|
179
|
+
...separatorFamily,
|
|
180
|
+
...sidebarFamily,
|
|
181
|
+
...sliderFamily,
|
|
182
|
+
...spinnerFamily,
|
|
183
|
+
...switchFamily,
|
|
184
|
+
...tabsFamily,
|
|
185
|
+
...textareaFamily,
|
|
186
|
+
...toggleFamily,
|
|
187
|
+
...toolbarFamily,
|
|
188
|
+
...tooltipFamily,
|
|
189
|
+
...truncFamily,
|
|
190
|
+
...vstackFamily,
|
|
191
191
|
];
|
package/avatar/index.d.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { DuiAvatar, loadingStatusChangeEvent } from "./avatar.js";
|
|
2
|
+
export { DuiAvatar, loadingStatusChangeEvent };
|
|
2
3
|
export type { ImageStatus } from "./avatar.js";
|
|
4
|
+
export declare const avatarFamily: (typeof DuiAvatar)[];
|
package/avatar/index.js
CHANGED
package/badge/badge.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LitElement, type TemplateResult } from "lit";
|
|
2
|
-
export type BadgeVariant = "default" | "secondary" | "destructive" | "outline" | "success" | "warning" | "info";
|
|
3
2
|
/**
|
|
4
3
|
* `<dui-badge>` — A badge/chip component for status indicators and labels.
|
|
5
4
|
*
|
|
@@ -9,6 +8,5 @@ export type BadgeVariant = "default" | "secondary" | "destructive" | "outline" |
|
|
|
9
8
|
export declare class DuiBadge extends LitElement {
|
|
10
9
|
static tagName: "dui-badge";
|
|
11
10
|
static styles: import("lit").CSSResult[];
|
|
12
|
-
accessor variant: BadgeVariant;
|
|
13
11
|
render(): TemplateResult;
|
|
14
12
|
}
|
package/badge/badge.js
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
1
|
import { css, html, LitElement } from "lit";
|
|
8
|
-
import { property } from "lit/decorators.js";
|
|
9
2
|
import { base } from "@deepfuture/dui-core/base";
|
|
10
3
|
/** Structural styles only — layout CSS. */
|
|
11
4
|
const styles = css `
|
|
@@ -27,9 +20,6 @@ const styles = css `
|
|
|
27
20
|
export class DuiBadge extends LitElement {
|
|
28
21
|
static { this.tagName = "dui-badge"; }
|
|
29
22
|
static { this.styles = [base, styles]; }
|
|
30
|
-
#variant_accessor_storage = "default";
|
|
31
|
-
get variant() { return this.#variant_accessor_storage; }
|
|
32
|
-
set variant(value) { this.#variant_accessor_storage = value; }
|
|
33
23
|
render() {
|
|
34
24
|
return html `
|
|
35
25
|
<span part="root">
|
|
@@ -38,6 +28,3 @@ export class DuiBadge extends LitElement {
|
|
|
38
28
|
`;
|
|
39
29
|
}
|
|
40
30
|
}
|
|
41
|
-
__decorate([
|
|
42
|
-
property({ reflect: true })
|
|
43
|
-
], DuiBadge.prototype, "variant", null);
|
package/badge/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
import { DuiBadge } from "./badge.js";
|
|
2
|
+
export { DuiBadge };
|
|
3
|
+
export declare const badgeFamily: (typeof DuiBadge)[];
|
package/badge/index.js
CHANGED
package/breadcrumb/index.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
export {
|
|
1
|
+
import { DuiBreadcrumb } from "./breadcrumb.js";
|
|
2
|
+
export { DuiBreadcrumb };
|
|
3
|
+
import { DuiBreadcrumbItem } from "./breadcrumb-item.js";
|
|
4
|
+
export { DuiBreadcrumbItem };
|
|
5
|
+
import { DuiBreadcrumbLink } from "./breadcrumb-link.js";
|
|
6
|
+
export { DuiBreadcrumbLink };
|
|
7
|
+
import { DuiBreadcrumbPage } from "./breadcrumb-page.js";
|
|
8
|
+
export { DuiBreadcrumbPage };
|
|
9
|
+
import { DuiBreadcrumbSeparator } from "./breadcrumb-separator.js";
|
|
10
|
+
export { DuiBreadcrumbSeparator };
|
|
11
|
+
import { DuiBreadcrumbEllipsis } from "./breadcrumb-ellipsis.js";
|
|
12
|
+
export { DuiBreadcrumbEllipsis };
|
|
13
|
+
export declare const breadcrumbFamily: (typeof DuiBreadcrumb | typeof DuiBreadcrumbItem | typeof DuiBreadcrumbLink | typeof DuiBreadcrumbPage | typeof DuiBreadcrumbSeparator | typeof DuiBreadcrumbEllipsis)[];
|
package/breadcrumb/index.js
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
export {
|
|
1
|
+
import { DuiBreadcrumb } from "./breadcrumb.js";
|
|
2
|
+
export { DuiBreadcrumb };
|
|
3
|
+
import { DuiBreadcrumbItem } from "./breadcrumb-item.js";
|
|
4
|
+
export { DuiBreadcrumbItem };
|
|
5
|
+
import { DuiBreadcrumbLink } from "./breadcrumb-link.js";
|
|
6
|
+
export { DuiBreadcrumbLink };
|
|
7
|
+
import { DuiBreadcrumbPage } from "./breadcrumb-page.js";
|
|
8
|
+
export { DuiBreadcrumbPage };
|
|
9
|
+
import { DuiBreadcrumbSeparator } from "./breadcrumb-separator.js";
|
|
10
|
+
export { DuiBreadcrumbSeparator };
|
|
11
|
+
import { DuiBreadcrumbEllipsis } from "./breadcrumb-ellipsis.js";
|
|
12
|
+
export { DuiBreadcrumbEllipsis };
|
|
13
|
+
export const breadcrumbFamily = [DuiBreadcrumb, DuiBreadcrumbItem, DuiBreadcrumbLink, DuiBreadcrumbPage, DuiBreadcrumbSeparator, DuiBreadcrumbEllipsis];
|
package/button/button.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { LitElement, type TemplateResult } from "lit";
|
|
2
|
-
export type ButtonSize = "sm" | "md" | "lg";
|
|
3
|
-
export type ButtonVariant = "default" | "primary" | "secondary" | "destructive" | "outline" | "ghost" | "link";
|
|
4
2
|
/** Fired when a button with `href` is clicked via normal (non-modifier) click. */
|
|
5
3
|
export declare const navigateEvent: (detail: {
|
|
6
4
|
href: string;
|
|
@@ -8,7 +6,7 @@ export declare const navigateEvent: (detail: {
|
|
|
8
6
|
href: string;
|
|
9
7
|
}>;
|
|
10
8
|
/**
|
|
11
|
-
* `<dui-button>` — A button component
|
|
9
|
+
* `<dui-button>` — A button component.
|
|
12
10
|
*
|
|
13
11
|
* Renders as a native `<button>` by default. When `href` is set, renders as a
|
|
14
12
|
* native `<a>` tag instead. Normal clicks fire a `dui-navigate` event that
|
|
@@ -28,8 +26,6 @@ export declare class DuiButton extends LitElement {
|
|
|
28
26
|
slotAssignment?: SlotAssignmentMode;
|
|
29
27
|
};
|
|
30
28
|
static styles: import("lit").CSSResult[];
|
|
31
|
-
accessor variant: ButtonVariant;
|
|
32
|
-
accessor size: ButtonSize;
|
|
33
29
|
accessor disabled: boolean;
|
|
34
30
|
accessor focusableWhenDisabled: boolean;
|
|
35
31
|
accessor type: "button" | "submit" | "reset";
|
package/button/button.js
CHANGED
|
@@ -35,11 +35,10 @@ const styles = css `
|
|
|
35
35
|
cursor: pointer;
|
|
36
36
|
user-select: none;
|
|
37
37
|
-webkit-tap-highlight-color: transparent;
|
|
38
|
-
transition-property: background, box-shadow, filter, transform, border-color;
|
|
39
38
|
}
|
|
40
39
|
`;
|
|
41
40
|
/**
|
|
42
|
-
* `<dui-button>` — A button component
|
|
41
|
+
* `<dui-button>` — A button component.
|
|
43
42
|
*
|
|
44
43
|
* Renders as a native `<button>` by default. When `href` is set, renders as a
|
|
45
44
|
* native `<a>` tag instead. Normal clicks fire a `dui-navigate` event that
|
|
@@ -56,12 +55,6 @@ export class DuiButton extends LitElement {
|
|
|
56
55
|
delegatesFocus: true,
|
|
57
56
|
}; }
|
|
58
57
|
static { this.styles = [base, styles]; }
|
|
59
|
-
#variant_accessor_storage = "default";
|
|
60
|
-
get variant() { return this.#variant_accessor_storage; }
|
|
61
|
-
set variant(value) { this.#variant_accessor_storage = value; }
|
|
62
|
-
#size_accessor_storage = "md";
|
|
63
|
-
get size() { return this.#size_accessor_storage; }
|
|
64
|
-
set size(value) { this.#size_accessor_storage = value; }
|
|
65
58
|
#disabled_accessor_storage = false;
|
|
66
59
|
get disabled() { return this.#disabled_accessor_storage; }
|
|
67
60
|
set disabled(value) { this.#disabled_accessor_storage = value; }
|
|
@@ -123,12 +116,6 @@ export class DuiButton extends LitElement {
|
|
|
123
116
|
return this.href !== undefined ? this.#renderLink() : this.#renderButton();
|
|
124
117
|
}
|
|
125
118
|
}
|
|
126
|
-
__decorate([
|
|
127
|
-
property({ reflect: true })
|
|
128
|
-
], DuiButton.prototype, "variant", null);
|
|
129
|
-
__decorate([
|
|
130
|
-
property({ reflect: true })
|
|
131
|
-
], DuiButton.prototype, "size", null);
|
|
132
119
|
__decorate([
|
|
133
120
|
property({ type: Boolean, reflect: true })
|
|
134
121
|
], DuiButton.prototype, "disabled", null);
|
package/button/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
import { DuiButton, navigateEvent } from "./button.js";
|
|
2
|
+
export { DuiButton, navigateEvent };
|
|
3
|
+
export declare const buttonFamily: (typeof DuiButton)[];
|
package/button/index.js
CHANGED
package/calendar/index.d.ts
CHANGED
package/calendar/index.js
CHANGED
package/center/index.d.ts
CHANGED
package/center/index.js
CHANGED
package/checkbox/checkbox.js
CHANGED
package/checkbox/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
1
|
+
import { DuiCheckbox, checkedChangeEvent } from "./checkbox.js";
|
|
2
|
+
export { DuiCheckbox, checkedChangeEvent };
|
|
3
|
+
import { DuiCheckboxGroup, valueChangeEvent } from "./checkbox-group.js";
|
|
4
|
+
export { DuiCheckboxGroup, valueChangeEvent };
|
|
3
5
|
export type { CheckboxGroupContext } from "./checkbox-group-context.js";
|
|
6
|
+
export declare const checkboxFamily: (typeof DuiCheckbox | typeof DuiCheckboxGroup)[];
|
package/checkbox/index.js
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
1
|
+
import { DuiCheckbox, checkedChangeEvent } from "./checkbox.js";
|
|
2
|
+
export { DuiCheckbox, checkedChangeEvent };
|
|
3
|
+
import { DuiCheckboxGroup, valueChangeEvent } from "./checkbox-group.js";
|
|
4
|
+
export { DuiCheckboxGroup, valueChangeEvent };
|
|
5
|
+
export const checkboxFamily = [DuiCheckbox, DuiCheckboxGroup];
|
|
@@ -27,7 +27,6 @@ const styles = css `
|
|
|
27
27
|
text-align: left;
|
|
28
28
|
outline: none;
|
|
29
29
|
box-sizing: border-box;
|
|
30
|
-
transition-property: background, box-shadow, filter, transform;
|
|
31
30
|
}
|
|
32
31
|
|
|
33
32
|
[part="trigger"][data-disabled] {
|
|
@@ -36,7 +35,6 @@ const styles = css `
|
|
|
36
35
|
|
|
37
36
|
[part="indicator"] {
|
|
38
37
|
flex-shrink: 0;
|
|
39
|
-
transition-property: transform;
|
|
40
38
|
}
|
|
41
39
|
|
|
42
40
|
[part="panel"] {
|
package/collapsible/index.d.ts
CHANGED
package/collapsible/index.js
CHANGED