@well-insight/ui 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/README.md +3 -3
- package/README.zh-CN.md +3 -3
- package/dist/{Button-BZzV1X-d.js → Button-B6-YxpOQ.js} +1 -1
- package/dist/{Checkbox-BtgWgkHI.js → Checkbox-BvlOYFGs.js} +5 -5
- package/dist/{Pagination-C-F_ZDXr.js → Pagination-BU-1IY0E.js} +2 -2
- package/dist/accordion/style.css +38 -23
- package/dist/auto-complete/style.css +180 -157
- package/dist/avatar/style.css +102 -74
- package/dist/badge/style.css +146 -110
- package/dist/block-ui/style.css +38 -23
- package/dist/breadcrumb/style.css +38 -23
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +605 -447
- package/dist/card/style.css +38 -23
- package/dist/carousel/style.css +74 -58
- package/dist/cascade-select/style.css +123 -106
- package/dist/checkbox/index.js +1 -1
- package/dist/checkbox/style.css +38 -23
- package/dist/chip/style.css +117 -95
- package/dist/command-menu/style.css +97 -80
- package/dist/components/Accordion/Accordion.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/styles.css +142 -134
- package/dist/components/Avatar/Avatar.vue.d.ts.map +1 -1
- package/dist/components/Avatar/AvatarGroup.vue.d.ts.map +1 -1
- package/dist/components/Avatar/styles.css +64 -51
- package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
- package/dist/components/Badge/styles.css +108 -87
- package/dist/components/BlockUI/BlockUI.vue.d.ts.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts.map +1 -1
- package/dist/components/Button/Button.vue.d.ts +1 -1
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/ButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/Button/styles.css +567 -424
- package/dist/components/Card/Card.vue.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
- package/dist/components/Carousel/styles.css +36 -35
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
- package/dist/components/CascadeSelect/styles.css +85 -83
- package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/CheckboxGroup.vue.d.ts.map +1 -1
- package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
- package/dist/components/Chip/styles.css +79 -72
- package/dist/components/CommandMenu/CommandMenu.vue.d.ts.map +1 -1
- package/dist/components/CommandMenu/styles.css +59 -57
- package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/styles.css +17 -16
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/styles.css +27 -26
- package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenuNodes.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/index.d.ts +1 -1
- package/dist/components/ContextMenu/index.d.ts.map +1 -1
- package/dist/components/ContextMenu/styles.css +43 -37
- package/dist/components/ContextMenu/useContextMenu.d.ts.map +1 -1
- package/dist/components/DataView/DataView.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/styles.css +163 -139
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/components/Dialog/styles.css +155 -150
- package/dist/components/Divider/Divider.vue.d.ts.map +1 -1
- package/dist/components/Dock/Dock.vue.d.ts.map +1 -1
- package/dist/components/Dock/styles.css +37 -32
- package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
- package/dist/components/Drawer/styles.css +82 -80
- package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/styles.css +58 -57
- package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
- package/dist/components/FileUpload/FileUpload.vue.d.ts +2 -2
- package/dist/components/FileUpload/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/FileUpload/styles.css +238 -221
- package/dist/components/Flex/Flex.vue.d.ts.map +1 -1
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/Form/FormItem.vue.d.ts.map +1 -1
- package/dist/components/Form/index.d.ts +2 -2
- package/dist/components/Form/index.d.ts.map +1 -1
- package/dist/components/Form/styles.css +46 -44
- package/dist/components/Gallery/Gallery.vue.d.ts.map +1 -1
- package/dist/components/Gallery/styles.css +42 -39
- package/dist/components/Grid/Grid.vue.d.ts.map +1 -1
- package/dist/components/Grid/GridItem.vue.d.ts.map +1 -1
- package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
- package/dist/components/IconField/IconField.vue.d.ts.map +1 -1
- package/dist/components/Inplace/Inplace.vue.d.ts.map +1 -1
- package/dist/components/Input/Input.vue.d.ts.map +1 -1
- package/dist/components/Input/styles.css +198 -191
- package/dist/components/InputColor/InputColor.vue.d.ts.map +1 -1
- package/dist/components/InputColor/styles.css +50 -48
- package/dist/components/InputNumber/InputNumber.vue.d.ts.map +1 -1
- package/dist/components/InputNumber/styles.css +90 -80
- package/dist/components/InputOtp/InputOtp.vue.d.ts.map +1 -1
- package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
- package/dist/components/InputPassword/styles.css +130 -117
- package/dist/components/InputTags/InputTags.vue.d.ts.map +1 -1
- package/dist/components/InputTags/styles.css +51 -43
- package/dist/components/Knob/Knob.vue.d.ts.map +1 -1
- package/dist/components/Label/Label.vue.d.ts.map +1 -1
- package/dist/components/Layout/Layout.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutFooter.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutHeader.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutSider.vue.d.ts +1 -1
- package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
- package/dist/components/Layout/index.d.ts +2 -2
- package/dist/components/Layout/index.d.ts.map +1 -1
- package/dist/components/Layout/styles.css +310 -258
- package/dist/components/Layout/types.d.ts +30 -12
- package/dist/components/Layout/types.d.ts.map +1 -1
- package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
- package/dist/components/Listbox/styles.css +61 -51
- package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
- package/dist/components/MegaMenu/styles.css +60 -58
- package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
- package/dist/components/Menu/MenuNodes.vue.d.ts.map +1 -1
- package/dist/components/Menu/styles.css +53 -47
- package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
- package/dist/components/Menubar/styles.css +80 -70
- package/dist/components/Message/Message.vue.d.ts.map +1 -1
- package/dist/components/Message/index.d.ts +1 -1
- package/dist/components/Message/index.d.ts.map +1 -1
- package/dist/components/Message/message.d.ts +2 -2
- package/dist/components/Message/message.d.ts.map +1 -1
- package/dist/components/Message/messageState.d.ts.map +1 -1
- package/dist/components/Message/styles.css +193 -143
- package/dist/components/Message/types.d.ts +1 -1
- package/dist/components/Message/types.d.ts.map +1 -1
- package/dist/components/MeterGroup/MeterGroup.vue.d.ts.map +1 -1
- package/dist/components/MeterGroup/styles.css +36 -34
- package/dist/components/OrderList/OrderList.vue.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Pagination/styles.css +59 -57
- package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
- package/dist/components/PickList/PickList.vue.d.ts.map +1 -1
- package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
- package/dist/components/Popover/styles.css +46 -45
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts.map +1 -1
- package/dist/components/ProgressSpinner/ProgressSpinner.vue.d.ts.map +1 -1
- package/dist/components/Radio/Radio.vue.d.ts.map +1 -1
- package/dist/components/Radio/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/Rating/Rating.vue.d.ts.map +1 -1
- package/dist/components/ScrollTop/ScrollTop.vue.d.ts.map +1 -1
- package/dist/components/Scrollbar/Scrollbar.vue.d.ts.map +1 -1
- package/dist/components/Scrollbar/Thumb.vue.d.ts.map +1 -1
- package/dist/components/Scrollbar/constants.d.ts +2 -2
- package/dist/components/Scrollbar/constants.d.ts.map +1 -1
- package/dist/components/Scrollbar/styles.css +68 -59
- package/dist/components/Select/Select.vue.d.ts +1 -1
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/styles.css +293 -280
- package/dist/components/SelectButton/SelectButton.vue.d.ts.map +1 -1
- package/dist/components/SelectButton/styles.css +64 -51
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/styles.css +40 -38
- package/dist/components/Skeleton/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/Slider/Slider.vue.d.ts.map +1 -1
- package/dist/components/Slider/styles.css +111 -95
- package/dist/components/Space/Space.vue.d.ts.map +1 -1
- package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
- package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
- package/dist/components/SplitButton/styles.css +105 -89
- package/dist/components/Splitter/Splitter.vue.d.ts.map +1 -1
- package/dist/components/Stepper/Stepper.vue.d.ts.map +1 -1
- package/dist/components/Stepper/styles.css +63 -58
- package/dist/components/Switch/Switch.vue.d.ts.map +1 -1
- package/dist/components/Switch/styles.css +82 -53
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
- package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Terminal/Terminal.vue.d.ts.map +1 -1
- package/dist/components/Terminal/styles.css +46 -34
- package/dist/components/Textarea/Textarea.vue.d.ts.map +1 -1
- package/dist/components/Textarea/styles.css +69 -62
- package/dist/components/Textarea/types.d.ts +1 -1
- package/dist/components/Textarea/types.d.ts.map +1 -1
- package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
- package/dist/components/TieredMenu/styles.css +69 -62
- package/dist/components/Timeline/Timeline.vue.d.ts.map +1 -1
- package/dist/components/Timeline/types.d.ts +1 -1
- package/dist/components/Timeline/types.d.ts.map +1 -1
- package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
- package/dist/components/Toast/index.d.ts +1 -1
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/Toast/toast.d.ts +2 -2
- package/dist/components/Toast/toast.d.ts.map +1 -1
- package/dist/components/Toast/toastState.d.ts.map +1 -1
- package/dist/components/Toast/types.d.ts +1 -1
- package/dist/components/Toast/types.d.ts.map +1 -1
- package/dist/components/ToggleButton/ToggleButton.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
- package/dist/components/Tree/Tree.vue.d.ts.map +1 -1
- package/dist/components/Tree/TreeNodeItem.vue.d.ts.map +1 -1
- package/dist/components/Tree/context.d.ts +2 -2
- package/dist/components/Tree/context.d.ts.map +1 -1
- package/dist/components/Tree/index.d.ts +1 -1
- package/dist/components/Tree/index.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/styles.css +140 -138
- package/dist/components/TreeTable/TreeTable.vue.d.ts.map +1 -1
- package/dist/components/TreeTable/TreeTableRow.vue.d.ts.map +1 -1
- package/dist/components/VirtualScroller/VirtualScroller.vue.d.ts.map +1 -1
- package/dist/components/VirtualScroller/index.d.ts +1 -1
- package/dist/components/VirtualScroller/index.d.ts.map +1 -1
- package/dist/config-provider/style.css +765 -600
- package/dist/confirm-dialog/index.js +1 -1
- package/dist/confirm-dialog/style.css +777 -613
- package/dist/confirm-popup/index.js +1 -1
- package/dist/confirm-popup/style.css +632 -473
- package/dist/context-menu/style.css +81 -60
- package/dist/data-view/index.js +1 -1
- package/dist/data-view/style.css +97 -80
- package/dist/date-picker/index.js +2 -2
- package/dist/date-picker/style.css +200 -161
- package/dist/dialog/index.js +1 -1
- package/dist/dialog/style.css +760 -597
- package/dist/divider/style.css +38 -23
- package/dist/dock/style.css +75 -55
- package/dist/drawer/style.css +120 -103
- package/dist/dropdown/index.js +3 -3
- package/dist/dropdown/style.css +96 -80
- package/dist/fieldset/style.css +38 -23
- package/dist/file-upload/style.css +270 -238
- package/dist/flex/style.css +38 -23
- package/dist/float-label/style.css +38 -23
- package/dist/fluid/style.css +38 -23
- package/dist/form/style.css +84 -67
- package/dist/gallery/style.css +80 -62
- package/dist/grid/index.js +39 -39
- package/dist/grid/style.css +38 -23
- package/dist/icon/style.css +38 -23
- package/dist/icon-field/style.css +38 -23
- package/dist/index.d.ts +174 -174
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1028 -976
- package/dist/inplace/style.css +38 -23
- package/dist/input/index.js +6 -7
- package/dist/input/style.css +236 -214
- package/dist/input-color/index.js +2 -2
- package/dist/input-color/style.css +88 -71
- package/dist/input-group/style.css +38 -23
- package/dist/input-number/index.js +15 -15
- package/dist/input-number/style.css +128 -103
- package/dist/input-otp/index.js +1 -1
- package/dist/input-otp/style.css +38 -23
- package/dist/input-password/index.js +16 -17
- package/dist/input-password/style.css +168 -140
- package/dist/input-tags/style.css +89 -66
- package/dist/knob/style.css +38 -23
- package/dist/label/style.css +38 -23
- package/dist/layout/index.js +135 -93
- package/dist/layout/style.css +408 -332
- package/dist/listbox/style.css +99 -74
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.d.ts.map +1 -1
- package/dist/mega-menu/style.css +98 -81
- package/dist/menu/style.css +91 -70
- package/dist/menubar/style.css +118 -93
- package/dist/message/style.css +231 -166
- package/dist/meter-group/style.css +74 -57
- package/dist/order-list/style.css +38 -23
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +97 -80
- package/dist/panel/style.css +38 -23
- package/dist/pick-list/style.css +38 -23
- package/dist/popover/index.js +5 -5
- package/dist/popover/style.css +84 -68
- package/dist/progress-bar/style.css +38 -23
- package/dist/progress-spinner/style.css +38 -23
- package/dist/radio/index.js +4 -4
- package/dist/radio/style.css +38 -23
- package/dist/rating/style.css +38 -23
- package/dist/scroll-top/style.css +38 -23
- package/dist/scrollbar/style.css +106 -82
- package/dist/select/style.css +285 -257
- package/dist/select-button/style.css +102 -74
- package/dist/shared/Renderable.d.ts.map +1 -1
- package/dist/shared/config.d.ts.map +1 -1
- package/dist/shared/content.d.ts.map +1 -1
- package/dist/shared/overlayHost.d.ts.map +1 -1
- package/dist/shared/useModalOverlay.d.ts.map +1 -1
- package/dist/shared/vnode.d.ts.map +1 -1
- package/dist/sidebar/style.css +78 -61
- package/dist/skeleton/style.css +38 -23
- package/dist/slider/style.css +149 -118
- package/dist/space/style.css +38 -23
- package/dist/speed-dial/index.js +1 -1
- package/dist/speed-dial/style.css +38 -23
- package/dist/split-button/style.css +738 -564
- package/dist/splitter/style.css +38 -23
- package/dist/stepper/style.css +101 -81
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +5 -5
- package/dist/switch/style.css +120 -76
- package/dist/table/index.js +3 -3
- package/dist/table/style.css +97 -80
- package/dist/tabs/style.css +38 -23
- package/dist/tag/style.css +38 -23
- package/dist/terminal/style.css +84 -57
- package/dist/textarea/index.js +11 -12
- package/dist/textarea/style.css +107 -85
- package/dist/theme/index.d.ts +5 -5
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/styles.css +38 -23
- package/dist/theme/tokens.d.ts +11 -0
- package/dist/theme/tokens.d.ts.map +1 -1
- package/dist/theme/useTheme.d.ts.map +1 -1
- package/dist/tiered-menu/style.css +107 -85
- package/dist/timeline/style.css +38 -23
- package/dist/toast/style.css +38 -23
- package/dist/toggle-button/style.css +38 -23
- package/dist/toolbar/style.css +38 -23
- package/dist/tooltip/style.css +38 -23
- package/dist/tree/index.js +11 -11
- package/dist/tree/style.css +38 -23
- package/dist/tree-select/index.js +1 -1
- package/dist/tree-select/style.css +171 -154
- package/dist/tree-table/style.css +38 -23
- package/dist/virtual-scroller/style.css +38 -23
- package/package.json +15 -11
|
@@ -16,12 +16,13 @@
|
|
|
16
16
|
--wi-control-padding-x-small: 10px;
|
|
17
17
|
--wi-control-padding-x-medium: 12px;
|
|
18
18
|
--wi-control-padding-x-large: 14px;
|
|
19
|
-
|
|
20
|
-
--wi-button-padding-x-medium: 14px;
|
|
21
|
-
--wi-button-padding-x-large: 18px;
|
|
19
|
+
|
|
22
20
|
--wi-radius-control: 3px;
|
|
23
|
-
--wi-
|
|
24
|
-
--wi-focus-shadow
|
|
21
|
+
--wi-border-width: 1px;
|
|
22
|
+
--wi-focus-shadow: 0 0 0 2px
|
|
23
|
+
color-mix(in srgb, var(--wi-color-primary) 20%, transparent);
|
|
24
|
+
--wi-focus-shadow-danger: 0 0 0 2px
|
|
25
|
+
color-mix(in srgb, var(--wi-color-danger) 20%, transparent);
|
|
25
26
|
--wi-color-success: #159570;
|
|
26
27
|
--wi-color-info: #2563eb;
|
|
27
28
|
--wi-color-warning: #d97706;
|
|
@@ -39,10 +40,7 @@
|
|
|
39
40
|
--wi-shadow-lg: 0 1rem 3rem rgb(15 23 42 / 0.25);
|
|
40
41
|
--wi-shadow-sticky: 4px 0 8px color-mix(in srgb, #000 6%, transparent);
|
|
41
42
|
--wi-shadow-sticky-end: -4px 0 8px color-mix(in srgb, #000 6%, transparent);
|
|
42
|
-
|
|
43
|
-
--wi-terminal-fg: #e5e7eb;
|
|
44
|
-
--wi-terminal-prompt: #34d399;
|
|
45
|
-
--wi-terminal-border: color-mix(in srgb, #fff 12%, transparent);
|
|
43
|
+
|
|
46
44
|
/* Typography scale (component text, not control-height fonts) */
|
|
47
45
|
--wi-font-size-xs: 0.75rem;
|
|
48
46
|
--wi-font-size-sm: 0.8125rem;
|
|
@@ -56,8 +54,7 @@
|
|
|
56
54
|
--wi-z-dropdown: calc(var(--wi-z-base) + 50);
|
|
57
55
|
--wi-z-toast: calc(var(--wi-z-base) + 100);
|
|
58
56
|
--wi-z-popper: 40;
|
|
59
|
-
|
|
60
|
-
--wi-menu-min-width-lg: 12rem;
|
|
57
|
+
|
|
61
58
|
--wi-control-affix-size: 2rem;
|
|
62
59
|
--wi-control-affix-gap: 2.35rem;
|
|
63
60
|
--wi-control-affix-padding: 2.5rem;
|
|
@@ -118,9 +115,6 @@
|
|
|
118
115
|
--wi-control-padding-x-small: 8px;
|
|
119
116
|
--wi-control-padding-x-medium: 10px;
|
|
120
117
|
--wi-control-padding-x-large: 12px;
|
|
121
|
-
--wi-button-padding-x-small: 8px;
|
|
122
|
-
--wi-button-padding-x-medium: 12px;
|
|
123
|
-
--wi-button-padding-x-large: 16px;
|
|
124
118
|
}
|
|
125
119
|
|
|
126
120
|
[data-wi-density="spacious"] {
|
|
@@ -139,9 +133,32 @@
|
|
|
139
133
|
--wi-control-padding-x-small: 12px;
|
|
140
134
|
--wi-control-padding-x-medium: 14px;
|
|
141
135
|
--wi-control-padding-x-large: 16px;
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
[data-wi-density="compact"] .wi-layout-header {
|
|
139
|
+
--wi-layout-header-height: 48px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
[data-wi-density="compact"] .wi-layout-footer {
|
|
143
|
+
--wi-layout-footer-height: 40px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
[data-wi-density="compact"] .wi-layout-sider {
|
|
147
|
+
--wi-layout-sider-width: 240px;
|
|
148
|
+
--wi-layout-sider-collapsed-width: 44px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
[data-wi-density="spacious"] .wi-layout-header {
|
|
152
|
+
--wi-layout-header-height: 64px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
[data-wi-density="spacious"] .wi-layout-footer {
|
|
156
|
+
--wi-layout-footer-height: 56px;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
[data-wi-density="spacious"] .wi-layout-sider {
|
|
160
|
+
--wi-layout-sider-width: 288px;
|
|
161
|
+
--wi-layout-sider-collapsed-width: 52px;
|
|
145
162
|
}
|
|
146
163
|
|
|
147
164
|
[data-theme="dark"] {
|
|
@@ -152,8 +169,10 @@
|
|
|
152
169
|
--wi-color-text-muted: #94a3b8;
|
|
153
170
|
--wi-color-border: #334155;
|
|
154
171
|
--wi-color-focus-ring: #93c5fd;
|
|
155
|
-
--wi-focus-shadow: 0 0 0 2px
|
|
156
|
-
|
|
172
|
+
--wi-focus-shadow: 0 0 0 2px
|
|
173
|
+
color-mix(in srgb, var(--wi-color-primary) 28%, transparent);
|
|
174
|
+
--wi-focus-shadow-danger: 0 0 0 2px
|
|
175
|
+
color-mix(in srgb, var(--wi-color-danger) 28%, transparent);
|
|
157
176
|
--wi-color-success: #5eead4;
|
|
158
177
|
--wi-color-info: #93c5fd;
|
|
159
178
|
--wi-color-warning: #fbbf24;
|
|
@@ -170,10 +189,6 @@
|
|
|
170
189
|
--wi-shadow-lg: 0 1rem 3rem rgb(0 0 0 / 0.55);
|
|
171
190
|
--wi-shadow-sticky: 4px 0 8px color-mix(in srgb, #000 35%, transparent);
|
|
172
191
|
--wi-shadow-sticky-end: -4px 0 8px color-mix(in srgb, #000 35%, transparent);
|
|
173
|
-
--wi-terminal-bg: #020617;
|
|
174
|
-
--wi-terminal-fg: #e2e8f0;
|
|
175
|
-
--wi-terminal-prompt: #5eead4;
|
|
176
|
-
--wi-terminal-border: color-mix(in srgb, #fff 14%, transparent);
|
|
177
192
|
}
|
|
178
193
|
|
|
179
194
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -735,200 +750,224 @@
|
|
|
735
750
|
line-height: 1;
|
|
736
751
|
}
|
|
737
752
|
|
|
738
|
-
/* —— Form: DatePicker —— */
|
|
739
|
-
.wi-datepicker {
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
753
|
+
/* —— Form: DatePicker —— */
|
|
754
|
+
.wi-datepicker {
|
|
755
|
+
--wi-datepicker-input-affix-padding: var(--wi-control-affix-padding);
|
|
756
|
+
--wi-datepicker-day-size: var(--wi-control-affix-size);
|
|
757
|
+
--wi-datepicker-calendar-cell-size: 2rem;
|
|
758
|
+
--wi-datepicker-grid-gap: 0.125rem;
|
|
759
|
+
--wi-datepicker-shortcuts-width: 6rem;
|
|
760
|
+
display: inline-flex;
|
|
761
|
+
flex-direction: column;
|
|
762
|
+
gap: var(--wi-space-2);
|
|
763
|
+
position: relative;
|
|
744
764
|
}
|
|
745
765
|
|
|
746
|
-
.wi-datepicker--fluid {
|
|
747
|
-
display: flex;
|
|
748
|
-
width: 100%;
|
|
766
|
+
.wi-datepicker--fluid {
|
|
767
|
+
display: flex;
|
|
768
|
+
width: 100%;
|
|
749
769
|
}
|
|
750
770
|
|
|
751
|
-
.wi-datepicker__label {
|
|
752
|
-
color: var(--wi-color-text);
|
|
753
|
-
font-size: var(--wi-font-size-md);
|
|
754
|
-
font-weight: 600;
|
|
771
|
+
.wi-datepicker__label {
|
|
772
|
+
color: var(--wi-color-text);
|
|
773
|
+
font-size: var(--wi-font-size-md);
|
|
774
|
+
font-weight: 600;
|
|
755
775
|
}
|
|
756
776
|
|
|
757
|
-
.wi-datepicker__control {
|
|
758
|
-
align-items: center;
|
|
759
|
-
display: flex;
|
|
760
|
-
position: relative;
|
|
777
|
+
.wi-datepicker__control {
|
|
778
|
+
align-items: center;
|
|
779
|
+
display: flex;
|
|
780
|
+
position: relative;
|
|
761
781
|
}
|
|
762
782
|
|
|
763
|
-
.wi-datepicker__input {
|
|
764
|
-
background: var(--wi-color-surface);
|
|
765
|
-
border: 1px solid var(--wi-color-border);
|
|
766
|
-
border-radius: var(--wi-radius-control);
|
|
767
|
-
color: var(--wi-color-text);
|
|
768
|
-
cursor: pointer;
|
|
769
|
-
font: inherit;
|
|
770
|
-
font-size: var(--wi-control-font-medium);
|
|
771
|
-
min-height: var(--wi-control-height-medium);
|
|
772
|
-
padding: 0
|
|
773
|
-
|
|
783
|
+
.wi-datepicker__input {
|
|
784
|
+
background: var(--wi-color-surface);
|
|
785
|
+
border: 1px solid var(--wi-color-border);
|
|
786
|
+
border-radius: var(--wi-radius-control);
|
|
787
|
+
color: var(--wi-color-text);
|
|
788
|
+
cursor: pointer;
|
|
789
|
+
font: inherit;
|
|
790
|
+
font-size: var(--wi-control-font-medium);
|
|
791
|
+
min-height: var(--wi-control-height-medium);
|
|
792
|
+
padding: 0 var(--wi-datepicker-input-affix-padding) 0
|
|
793
|
+
var(--wi-control-padding-x-medium);
|
|
794
|
+
width: 100%;
|
|
774
795
|
}
|
|
775
796
|
|
|
776
|
-
.wi-datepicker--small .wi-datepicker__input {
|
|
777
|
-
font-size: var(--wi-control-font-small);
|
|
778
|
-
min-height: var(--wi-control-height-small);
|
|
779
|
-
padding: 0
|
|
797
|
+
.wi-datepicker--small .wi-datepicker__input {
|
|
798
|
+
font-size: var(--wi-control-font-small);
|
|
799
|
+
min-height: var(--wi-control-height-small);
|
|
800
|
+
padding: 0 var(--wi-datepicker-input-affix-padding) 0
|
|
801
|
+
var(--wi-control-padding-x-small);
|
|
780
802
|
}
|
|
781
803
|
|
|
782
|
-
.wi-datepicker--large .wi-datepicker__input {
|
|
783
|
-
font-size: var(--wi-control-font-large);
|
|
784
|
-
min-height: var(--wi-control-height-large);
|
|
785
|
-
padding: 0
|
|
804
|
+
.wi-datepicker--large .wi-datepicker__input {
|
|
805
|
+
font-size: var(--wi-control-font-large);
|
|
806
|
+
min-height: var(--wi-control-height-large);
|
|
807
|
+
padding: 0 var(--wi-datepicker-input-affix-padding) 0
|
|
808
|
+
var(--wi-control-padding-x-large);
|
|
786
809
|
}
|
|
787
810
|
|
|
788
|
-
.wi-datepicker--invalid .wi-datepicker__input {
|
|
789
|
-
border-color: var(--wi-color-danger);
|
|
811
|
+
.wi-datepicker--invalid .wi-datepicker__input {
|
|
812
|
+
border-color: var(--wi-color-danger);
|
|
790
813
|
}
|
|
791
814
|
|
|
792
|
-
.wi-datepicker--disabled {
|
|
793
|
-
opacity: var(--wi-opacity-disabled);
|
|
794
|
-
pointer-events: none;
|
|
815
|
+
.wi-datepicker--disabled {
|
|
816
|
+
opacity: var(--wi-opacity-disabled);
|
|
817
|
+
pointer-events: none;
|
|
795
818
|
}
|
|
796
819
|
|
|
797
|
-
.wi-datepicker__clear {
|
|
798
|
-
background: transparent;
|
|
799
|
-
border: 0;
|
|
800
|
-
color: var(--wi-color-text-muted);
|
|
801
|
-
cursor: pointer;
|
|
802
|
-
font: inherit;
|
|
803
|
-
position: absolute;
|
|
804
|
-
right:
|
|
820
|
+
.wi-datepicker__clear {
|
|
821
|
+
background: transparent;
|
|
822
|
+
border: 0;
|
|
823
|
+
color: var(--wi-color-text-muted);
|
|
824
|
+
cursor: pointer;
|
|
825
|
+
font: inherit;
|
|
826
|
+
position: absolute;
|
|
827
|
+
right: var(--wi-space-2);
|
|
805
828
|
}
|
|
806
829
|
|
|
807
|
-
.wi-datepicker__panel {
|
|
808
|
-
background: var(--wi-color-surface);
|
|
809
|
-
border: 1px solid var(--wi-color-border);
|
|
810
|
-
border-radius: var(--wi-radius-md);
|
|
811
|
-
box-shadow: var(--wi-shadow-md);
|
|
812
|
-
margin-top: var(--wi-space-1);
|
|
813
|
-
padding: var(--wi-space-3);
|
|
814
|
-
position: absolute;
|
|
815
|
-
top: 100%;
|
|
816
|
-
z-index: var(--wi-z-popper);
|
|
830
|
+
.wi-datepicker__panel {
|
|
831
|
+
background: var(--wi-color-surface);
|
|
832
|
+
border: 1px solid var(--wi-color-border);
|
|
833
|
+
border-radius: var(--wi-radius-md);
|
|
834
|
+
box-shadow: var(--wi-shadow-md);
|
|
835
|
+
margin-top: var(--wi-space-1);
|
|
836
|
+
padding: var(--wi-space-3);
|
|
837
|
+
position: absolute;
|
|
838
|
+
top: 100%;
|
|
839
|
+
z-index: var(--wi-z-popper);
|
|
817
840
|
}
|
|
818
841
|
|
|
819
|
-
.wi-datepicker__panel--teleported {
|
|
820
|
-
margin-top: 0;
|
|
821
|
-
position: fixed;
|
|
822
|
-
top: auto;
|
|
823
|
-
z-index: var(--wi-z-dropdown);
|
|
842
|
+
.wi-datepicker__panel--teleported {
|
|
843
|
+
margin-top: 0;
|
|
844
|
+
position: fixed;
|
|
845
|
+
top: auto;
|
|
846
|
+
z-index: var(--wi-z-dropdown);
|
|
824
847
|
}
|
|
825
848
|
|
|
826
|
-
.wi-datepicker__header {
|
|
827
|
-
align-items: center;
|
|
828
|
-
display: flex;
|
|
829
|
-
justify-content: space-between;
|
|
830
|
-
margin-bottom: var(--wi-space-2);
|
|
849
|
+
.wi-datepicker__header {
|
|
850
|
+
align-items: center;
|
|
851
|
+
display: flex;
|
|
852
|
+
justify-content: space-between;
|
|
853
|
+
margin-bottom: var(--wi-space-2);
|
|
831
854
|
}
|
|
832
855
|
|
|
833
|
-
.wi-datepicker__month {
|
|
834
|
-
font-weight: 600;
|
|
856
|
+
.wi-datepicker__month {
|
|
857
|
+
font-weight: 600;
|
|
835
858
|
}
|
|
836
859
|
|
|
837
|
-
.wi-datepicker__nav {
|
|
838
|
-
background: transparent;
|
|
839
|
-
border: 0;
|
|
840
|
-
border-radius: var(--wi-radius-sm);
|
|
841
|
-
color: var(--wi-color-text);
|
|
842
|
-
cursor: pointer;
|
|
843
|
-
font: inherit;
|
|
844
|
-
line-height: 1;
|
|
845
|
-
padding: var(--wi-space-1) var(--wi-space-2);
|
|
860
|
+
.wi-datepicker__nav {
|
|
861
|
+
background: transparent;
|
|
862
|
+
border: 0;
|
|
863
|
+
border-radius: var(--wi-radius-sm);
|
|
864
|
+
color: var(--wi-color-text);
|
|
865
|
+
cursor: pointer;
|
|
866
|
+
font: inherit;
|
|
867
|
+
line-height: 1;
|
|
868
|
+
padding: var(--wi-space-1) var(--wi-space-2);
|
|
846
869
|
}
|
|
847
870
|
|
|
848
|
-
.wi-datepicker__nav:hover {
|
|
849
|
-
background: color-mix(
|
|
871
|
+
.wi-datepicker__nav:hover {
|
|
872
|
+
background: color-mix(
|
|
873
|
+
in srgb,
|
|
874
|
+
var(--wi-color-primary) 10%,
|
|
875
|
+
var(--wi-color-surface)
|
|
876
|
+
);
|
|
850
877
|
}
|
|
851
878
|
|
|
852
|
-
.wi-datepicker__weekdays,
|
|
853
|
-
.wi-datepicker__grid {
|
|
854
|
-
display: grid;
|
|
855
|
-
gap:
|
|
856
|
-
grid-template-columns: repeat(7,
|
|
879
|
+
.wi-datepicker__weekdays,
|
|
880
|
+
.wi-datepicker__grid {
|
|
881
|
+
display: grid;
|
|
882
|
+
gap: var(--wi-datepicker-grid-gap);
|
|
883
|
+
grid-template-columns: repeat(7, var(--wi-datepicker-calendar-cell-size));
|
|
857
884
|
}
|
|
858
885
|
|
|
859
|
-
.wi-datepicker__weekdays {
|
|
860
|
-
color: var(--wi-color-text-muted);
|
|
861
|
-
font-size: var(--wi-font-size-xs);
|
|
862
|
-
margin-bottom: var(--wi-space-1);
|
|
863
|
-
text-align: center;
|
|
886
|
+
.wi-datepicker__weekdays {
|
|
887
|
+
color: var(--wi-color-text-muted);
|
|
888
|
+
font-size: var(--wi-font-size-xs);
|
|
889
|
+
margin-bottom: var(--wi-space-1);
|
|
890
|
+
text-align: center;
|
|
864
891
|
}
|
|
865
892
|
|
|
866
|
-
.wi-datepicker__day {
|
|
867
|
-
background: transparent;
|
|
868
|
-
border: 0;
|
|
869
|
-
border-radius: var(--wi-radius-sm);
|
|
870
|
-
color: var(--wi-color-text);
|
|
871
|
-
cursor: pointer;
|
|
872
|
-
font: inherit;
|
|
873
|
-
height: var(--wi-
|
|
874
|
-
width: var(--wi-
|
|
893
|
+
.wi-datepicker__day {
|
|
894
|
+
background: transparent;
|
|
895
|
+
border: 0;
|
|
896
|
+
border-radius: var(--wi-radius-sm);
|
|
897
|
+
color: var(--wi-color-text);
|
|
898
|
+
cursor: pointer;
|
|
899
|
+
font: inherit;
|
|
900
|
+
height: var(--wi-datepicker-day-size);
|
|
901
|
+
width: var(--wi-datepicker-day-size);
|
|
875
902
|
}
|
|
876
903
|
|
|
877
|
-
.wi-datepicker__day--other {
|
|
878
|
-
color: var(--wi-color-text-muted);
|
|
879
|
-
opacity: var(--wi-opacity-disabled);
|
|
904
|
+
.wi-datepicker__day--other {
|
|
905
|
+
color: var(--wi-color-text-muted);
|
|
906
|
+
opacity: var(--wi-opacity-disabled);
|
|
880
907
|
}
|
|
881
908
|
|
|
882
|
-
.wi-datepicker__day--selected {
|
|
883
|
-
background: var(--wi-color-primary);
|
|
884
|
-
color: var(--wi-color-on-emphasis);
|
|
909
|
+
.wi-datepicker__day--selected {
|
|
910
|
+
background: var(--wi-color-primary);
|
|
911
|
+
color: var(--wi-color-on-emphasis);
|
|
885
912
|
}
|
|
886
913
|
|
|
887
|
-
.wi-datepicker__day:hover:not(:disabled):not(.wi-datepicker__day--selected) {
|
|
888
|
-
background: color-mix(
|
|
914
|
+
.wi-datepicker__day:hover:not(:disabled):not(.wi-datepicker__day--selected) {
|
|
915
|
+
background: color-mix(
|
|
916
|
+
in srgb,
|
|
917
|
+
var(--wi-color-primary) 12%,
|
|
918
|
+
var(--wi-color-surface)
|
|
919
|
+
);
|
|
889
920
|
}
|
|
890
921
|
|
|
891
|
-
.wi-datepicker__day:disabled {
|
|
892
|
-
cursor: not-allowed;
|
|
893
|
-
opacity: 0.4;
|
|
922
|
+
.wi-datepicker__day:disabled {
|
|
923
|
+
cursor: not-allowed;
|
|
924
|
+
opacity: 0.4;
|
|
894
925
|
}
|
|
895
926
|
|
|
896
|
-
.wi-datepicker__panel--with-shortcuts {
|
|
897
|
-
display: flex;
|
|
898
|
-
gap: var(--wi-space-3);
|
|
927
|
+
.wi-datepicker__panel--with-shortcuts {
|
|
928
|
+
display: flex;
|
|
929
|
+
gap: var(--wi-space-3);
|
|
899
930
|
}
|
|
900
931
|
|
|
901
|
-
.wi-datepicker__shortcuts {
|
|
902
|
-
display: grid;
|
|
903
|
-
gap: var(--wi-space-1);
|
|
904
|
-
min-width:
|
|
932
|
+
.wi-datepicker__shortcuts {
|
|
933
|
+
display: grid;
|
|
934
|
+
gap: var(--wi-space-1);
|
|
935
|
+
min-width: var(--wi-datepicker-shortcuts-width);
|
|
905
936
|
}
|
|
906
937
|
|
|
907
|
-
.wi-datepicker__shortcut {
|
|
908
|
-
background: transparent;
|
|
909
|
-
border: 0;
|
|
910
|
-
border-radius: var(--wi-radius-sm);
|
|
911
|
-
color: var(--wi-color-text);
|
|
912
|
-
cursor: pointer;
|
|
913
|
-
font: inherit;
|
|
914
|
-
padding: var(--wi-space-1) var(--wi-space-2);
|
|
915
|
-
text-align: left;
|
|
938
|
+
.wi-datepicker__shortcut {
|
|
939
|
+
background: transparent;
|
|
940
|
+
border: 0;
|
|
941
|
+
border-radius: var(--wi-radius-sm);
|
|
942
|
+
color: var(--wi-color-text);
|
|
943
|
+
cursor: pointer;
|
|
944
|
+
font: inherit;
|
|
945
|
+
padding: var(--wi-space-1) var(--wi-space-2);
|
|
946
|
+
text-align: left;
|
|
916
947
|
}
|
|
917
948
|
|
|
918
|
-
.wi-datepicker__shortcut:hover {
|
|
919
|
-
background: color-mix(
|
|
920
|
-
|
|
949
|
+
.wi-datepicker__shortcut:hover {
|
|
950
|
+
background: color-mix(
|
|
951
|
+
in srgb,
|
|
952
|
+
var(--wi-color-primary) 10%,
|
|
953
|
+
var(--wi-color-surface)
|
|
954
|
+
);
|
|
955
|
+
color: var(--wi-color-primary);
|
|
921
956
|
}
|
|
922
957
|
|
|
923
|
-
.wi-datepicker__day--in-range {
|
|
924
|
-
background: color-mix(
|
|
925
|
-
|
|
958
|
+
.wi-datepicker__day--in-range {
|
|
959
|
+
background: color-mix(
|
|
960
|
+
in srgb,
|
|
961
|
+
var(--wi-color-primary) 16%,
|
|
962
|
+
var(--wi-color-surface)
|
|
963
|
+
);
|
|
964
|
+
border-radius: 0;
|
|
926
965
|
}
|
|
927
966
|
|
|
928
|
-
.wi-datepicker__day--range-start {
|
|
929
|
-
border-radius: var(--wi-radius-sm) 0 0 var(--wi-radius-sm);
|
|
967
|
+
.wi-datepicker__day--range-start {
|
|
968
|
+
border-radius: var(--wi-radius-sm) 0 0 var(--wi-radius-sm);
|
|
930
969
|
}
|
|
931
970
|
|
|
932
|
-
.wi-datepicker__day--range-end {
|
|
933
|
-
border-radius: 0 var(--wi-radius-sm) var(--wi-radius-sm) 0;
|
|
971
|
+
.wi-datepicker__day--range-end {
|
|
972
|
+
border-radius: 0 var(--wi-radius-sm) var(--wi-radius-sm) 0;
|
|
934
973
|
}
|
package/dist/dialog/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../Icon-B6gOD07E.js";
|
|
2
|
-
import { t } from "../Button-
|
|
2
|
+
import { t } from "../Button-B6-YxpOQ.js";
|
|
3
3
|
import { n } from "../overlay-oR-5MDuE.js";
|
|
4
4
|
import { t as r } from "../useModalOverlay-Beo3CEAt.js";
|
|
5
5
|
import { t as i } from "../asyncGuard-CPGT_TKu.js";
|