@well-insight/ui 0.1.9 → 0.1.11
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 +59 -0
- package/README.md +3 -3
- package/README.zh-CN.md +3 -3
- package/dist/{Button-BZzV1X-d.js → Button-tnrMSwNg.js} +4 -8
- package/dist/{Checkbox-BtgWgkHI.js → Checkbox-CoovLjt_.js} +6 -6
- package/dist/{Icon-B6gOD07E.js → Icon-DHGs8l-M.js} +27 -1
- package/dist/Pagination-UvgyUKB1.js +155 -0
- package/dist/{ProgressSpinner-YThgaSzb.js → ProgressSpinner-BTijCc7l.js} +1 -1
- package/dist/accordion/style.css +42 -28
- package/dist/auto-complete/index.js +106 -99
- package/dist/auto-complete/style.css +184 -162
- package/dist/avatar/index.js +1 -1
- package/dist/avatar/style.css +106 -79
- package/dist/badge/style.css +150 -115
- package/dist/block-ui/style.css +42 -28
- package/dist/breadcrumb/index.js +1 -1
- package/dist/breadcrumb/style.css +42 -28
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +609 -452
- package/dist/card/style.css +42 -28
- package/dist/carousel/index.js +61 -54
- package/dist/carousel/style.css +116 -62
- package/dist/carousel/style.js +1 -0
- package/dist/cascade-select/index.js +143 -76
- package/dist/cascade-select/style.css +193 -110
- package/dist/cascade-select/style.js +1 -0
- package/dist/checkbox/index.js +1 -1
- package/dist/checkbox/style.css +42 -28
- package/dist/chip/index.js +32 -29
- package/dist/chip/style.css +121 -100
- package/dist/command-menu/index.js +2 -2
- package/dist/command-menu/style.css +101 -85
- package/dist/components/Accordion/Accordion.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts +2 -0
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/styles.css +142 -134
- package/dist/components/AutoComplete/types.d.ts +1 -0
- package/dist/components/AutoComplete/types.d.ts.map +1 -1
- 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 -2
- 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/Button/types.d.ts +0 -2
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Card/Card.vue.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.vue.d.ts +2 -2
- 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 +6 -0
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
- package/dist/components/CascadeSelect/styles.css +137 -107
- package/dist/components/CascadeSelect/types.d.ts +11 -0
- package/dist/components/CascadeSelect/types.d.ts.map +1 -1
- 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 +2 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/styles.css +200 -151
- package/dist/components/DatePicker/types.d.ts +1 -0
- package/dist/components/DatePicker/types.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.vue.d.ts +3 -3
- 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/Divider/types.d.ts +0 -5
- package/dist/components/Divider/types.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 +2 -2
- 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 +2 -2
- 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 +4 -4
- 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/FloatLabel/FloatLabel.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/Icon/icons.d.ts +32 -0
- package/dist/components/Icon/icons.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 +0 -1
- package/dist/components/Input/Input.vue.d.ts.map +1 -1
- package/dist/components/Input/styles.css +196 -191
- package/dist/components/Input/types.d.ts +1 -3
- package/dist/components/Input/types.d.ts.map +1 -1
- 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 +4 -4
- 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 +1 -4
- package/dist/components/Layout/Layout.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutContent.vue.d.ts +1 -4
- 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 +2 -5
- package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
- package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts +9 -0
- package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts.map +1 -0
- package/dist/components/Layout/composables/useLayoutScroll.d.ts +6 -0
- package/dist/components/Layout/composables/useLayoutScroll.d.ts.map +1 -0
- package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts +16 -0
- package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts.map +1 -0
- 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 +293 -271
- package/dist/components/Layout/types.d.ts +30 -34
- package/dist/components/Layout/types.d.ts.map +1 -1
- package/dist/components/Layout/utils.d.ts +3 -0
- package/dist/components/Layout/utils.d.ts.map +1 -0
- 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 +3 -3
- 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 +87 -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/Rating/styles.css +28 -23
- 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 +184 -271
- package/dist/components/Select/types.d.ts +3 -3
- package/dist/components/Select/types.d.ts.map +1 -1
- 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/Slider/types.d.ts +2 -0
- package/dist/components/Slider/types.d.ts.map +1 -1
- 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 +9 -9
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.vue.d.ts +3 -3
- 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 +0 -2
- package/dist/components/Textarea/Textarea.vue.d.ts.map +1 -1
- package/dist/components/Textarea/styles.css +68 -62
- package/dist/components/Textarea/types.d.ts +2 -6
- 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/TreeSelectNodeItem.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/styles.css +149 -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-DWwce9jA.js → config-CTLkobga.js} +1 -0
- package/dist/config-provider/index.js +1 -1
- package/dist/config-provider/style.css +767 -605
- package/dist/confirm-dialog/index.js +4 -4
- package/dist/confirm-dialog/style.css +781 -618
- package/dist/confirm-popup/index.js +62 -77
- package/dist/confirm-popup/style.css +636 -478
- package/dist/context-menu/index.js +69 -61
- package/dist/context-menu/style.css +85 -65
- package/dist/data-view/index.js +1 -1
- package/dist/data-view/style.css +101 -85
- package/dist/date-picker/index.js +144 -137
- package/dist/date-picker/style.css +266 -164
- package/dist/date-picker/style.js +1 -0
- package/dist/dialog/index.js +76 -70
- package/dist/dialog/style.css +764 -602
- package/dist/divider/index.js +1 -2
- package/dist/divider/style.css +42 -28
- package/dist/dock/style.css +79 -60
- package/dist/drawer/index.js +49 -45
- package/dist/drawer/style.css +163 -108
- package/dist/drawer/style.js +1 -0
- package/dist/dropdown/index.js +98 -97
- package/dist/dropdown/style.css +100 -85
- package/dist/fieldset/index.js +16 -12
- package/dist/fieldset/style.css +81 -28
- package/dist/fieldset/style.js +1 -0
- package/dist/file-upload/index.js +2 -2
- package/dist/file-upload/style.css +274 -243
- package/dist/flex/index.js +1 -1
- package/dist/flex/style.css +42 -28
- package/dist/float-label/index.js +15 -4
- package/dist/float-label/style.css +42 -28
- package/dist/fluid/style.css +42 -28
- package/dist/form/index.js +1 -1
- package/dist/form/style.css +88 -72
- package/dist/gallery/index.js +41 -34
- package/dist/gallery/style.css +122 -66
- package/dist/gallery/style.js +1 -0
- package/dist/grid/index.js +39 -39
- package/dist/grid/style.css +42 -28
- package/dist/icon/index.js +1 -1
- package/dist/icon/style.css +42 -28
- package/dist/icon-Cg5TeFqe.js +7 -0
- package/dist/icon-field/style.css +42 -28
- package/dist/index.d.ts +174 -174
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3433 -3241
- package/dist/inplace/style.css +42 -28
- package/dist/input/index.js +64 -66
- package/dist/input/style.css +275 -217
- package/dist/input/style.js +1 -0
- package/dist/input-color/index.js +3 -3
- package/dist/input-color/style.css +92 -76
- package/dist/input-group/style.css +42 -28
- package/dist/input-number/index.js +82 -66
- package/dist/input-number/style.css +170 -107
- package/dist/input-number/style.js +1 -0
- package/dist/input-otp/index.js +3 -3
- package/dist/input-otp/style.css +42 -28
- package/dist/input-password/index.js +59 -57
- package/dist/input-password/style.css +172 -145
- package/dist/input-tags/index.js +50 -46
- package/dist/input-tags/style.css +131 -70
- package/dist/input-tags/style.js +1 -0
- package/dist/key-CaQYVkjh.js +6 -0
- package/dist/knob/style.css +42 -28
- package/dist/label/style.css +42 -28
- package/dist/layout/index.js +196 -229
- package/dist/layout/style.css +348 -364
- package/dist/layout/style.js +1 -1
- package/dist/listbox/index.js +1 -1
- package/dist/listbox/style.css +103 -79
- package/dist/locale/en-US.d.ts.map +1 -1
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.d.ts.map +1 -1
- package/dist/locale/types.d.ts +1 -0
- package/dist/locale/types.d.ts.map +1 -1
- package/dist/locale/zh-CN.d.ts.map +1 -1
- package/dist/{locale-CYkJyRd1.js → locale-DxAvgqgB.js} +1 -1
- package/dist/mega-menu/index.js +47 -49
- package/dist/mega-menu/style.css +102 -86
- package/dist/menu/index.js +81 -76
- package/dist/menu/style.css +95 -75
- package/dist/menubar/index.js +75 -73
- package/dist/menubar/style.css +122 -98
- package/dist/message/index.js +3 -3
- package/dist/message/style.css +235 -171
- package/dist/meter-group/style.css +78 -62
- package/dist/order-list/index.js +2 -2
- package/dist/order-list/style.css +42 -28
- package/dist/overlayPlacement-CN1tuC95.js +51 -0
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +140 -85
- package/dist/pagination/style.js +1 -0
- package/dist/panel/index.js +27 -23
- package/dist/panel/style.css +81 -28
- package/dist/panel/style.js +1 -0
- package/dist/pick-list/index.js +2 -2
- package/dist/pick-list/style.css +42 -28
- package/dist/popover/index.js +79 -100
- package/dist/popover/style.css +129 -73
- package/dist/progress-bar/style.css +42 -28
- package/dist/progress-spinner/index.js +1 -1
- package/dist/progress-spinner/style.css +42 -28
- package/dist/radio/index.js +5 -5
- package/dist/radio/style.css +42 -28
- package/dist/rating/index.js +54 -44
- package/dist/rating/style.css +109 -51
- package/dist/rating/style.js +1 -0
- package/dist/scroll-top/index.js +45 -41
- package/dist/scroll-top/style.css +81 -28
- package/dist/scroll-top/style.js +1 -0
- package/dist/scrollbar/index.js +382 -2
- package/dist/scrollbar/style.css +110 -87
- package/dist/select/index.js +149 -141
- package/dist/select/style.css +238 -272
- package/dist/select/style.js +1 -0
- package/dist/select-button/index.js +1 -1
- package/dist/select-button/style.css +106 -79
- package/dist/shared/Renderable.d.ts.map +1 -1
- package/dist/shared/componentDefaults.d.ts +5 -1
- package/dist/shared/componentDefaults.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/menu/icon.d.ts +4 -0
- package/dist/shared/menu/icon.d.ts.map +1 -0
- package/dist/shared/menu/index.d.ts +4 -0
- package/dist/shared/menu/index.d.ts.map +1 -0
- package/dist/shared/menu/key.d.ts +4 -0
- package/dist/shared/menu/key.d.ts.map +1 -0
- package/dist/shared/menu/types.d.ts +11 -0
- package/dist/shared/menu/types.d.ts.map +1 -0
- package/dist/shared/overlayHost.d.ts.map +1 -1
- package/dist/shared/overlayPlacement.d.ts +12 -0
- package/dist/shared/overlayPlacement.d.ts.map +1 -0
- package/dist/shared/useModalOverlay.d.ts.map +1 -1
- package/dist/shared/vnode.d.ts.map +1 -1
- package/dist/sidebar/index.js +1 -1
- package/dist/sidebar/style.css +82 -66
- package/dist/skeleton/style.css +42 -28
- package/dist/slider/index.js +6 -3
- package/dist/slider/style.css +153 -123
- package/dist/space/index.js +1 -1
- package/dist/space/style.css +42 -28
- package/dist/speed-dial/index.js +55 -66
- package/dist/speed-dial/style.css +81 -28
- package/dist/speed-dial/style.js +1 -0
- package/dist/split-button/index.js +66 -63
- package/dist/split-button/style.css +763 -551
- package/dist/split-button/style.js +1 -0
- package/dist/splitter/index.js +1 -1
- package/dist/splitter/style.css +42 -28
- package/dist/stepper/style.css +105 -86
- package/dist/styles/base.css +4 -5
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +6 -6
- package/dist/switch/style.css +124 -81
- package/dist/table/index.js +42 -36
- package/dist/table/style.css +101 -85
- package/dist/tabs/index.js +78 -65
- package/dist/tabs/style.css +81 -28
- package/dist/tabs/style.js +1 -0
- package/dist/tag/index.js +31 -28
- package/dist/tag/style.css +42 -28
- package/dist/terminal/index.js +1 -1
- package/dist/terminal/style.css +88 -62
- package/dist/textarea/index.js +69 -76
- package/dist/textarea/style.css +149 -90
- package/dist/textarea/style.js +1 -0
- 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/index.js +66 -59
- package/dist/tiered-menu/style.css +150 -90
- package/dist/tiered-menu/style.js +1 -0
- package/dist/timeline/index.js +1 -1
- package/dist/timeline/style.css +42 -28
- package/dist/toast/index.js +93 -89
- package/dist/toast/style.css +81 -28
- package/dist/toast/style.js +1 -0
- package/dist/toggle-button/index.js +1 -1
- package/dist/toggle-button/style.css +42 -28
- package/dist/toolbar/style.css +42 -28
- package/dist/tooltip/index.js +47 -71
- package/dist/tooltip/style.css +42 -28
- package/dist/tree/index.js +13 -13
- package/dist/tree/style.css +42 -28
- package/dist/tree-select/index.js +164 -155
- package/dist/tree-select/style.css +202 -138
- package/dist/tree-select/style.js +1 -0
- package/dist/tree-table/index.js +34 -30
- package/dist/tree-table/style.css +81 -28
- package/dist/tree-table/style.js +1 -0
- package/dist/virtual-scroller/style.css +42 -28
- package/package.json +18 -11
- package/dist/Pagination-C-F_ZDXr.js +0 -148
- package/dist/Scrollbar-D-bR2noX.js +0 -382
package/dist/tag/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "../types-tV3SEv3Q.js";
|
|
2
|
-
import { t } from "../Icon-
|
|
3
|
-
import { o as n } from "../config-
|
|
4
|
-
import { n as r } from "../locale-
|
|
2
|
+
import { t } from "../Icon-DHGs8l-M.js";
|
|
3
|
+
import { o as n } from "../config-CTLkobga.js";
|
|
4
|
+
import { n as r } from "../locale-DxAvgqgB.js";
|
|
5
5
|
import "./style.js";
|
|
6
|
-
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c,
|
|
6
|
+
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, openBlock as p, renderSlot as m, toDisplayString as h, unref as g } from "vue";
|
|
7
7
|
//#region src/components/Tag/Tag.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
-
var
|
|
8
|
+
var _ = ["disabled", "aria-label"], v = /* @__PURE__ */ u({
|
|
9
9
|
__name: "Tag",
|
|
10
10
|
props: {
|
|
11
11
|
value: {},
|
|
@@ -31,43 +31,46 @@ var g = ["disabled", "aria-label"], _ = /* @__PURE__ */ l({
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
emits: ["close"],
|
|
34
|
-
setup(
|
|
35
|
-
let
|
|
34
|
+
setup(u, { emit: v }) {
|
|
35
|
+
let y = u, b = v, x = r(), S = n("Tag", () => y.size), C = i(() => e(y.severity) ?? "primary"), w = i(() => [
|
|
36
36
|
"wi-tag",
|
|
37
|
+
`wi-tag--${C.value}`,
|
|
37
38
|
`wi-tag--${S.value}`,
|
|
38
|
-
`wi-tag--${x.value}`,
|
|
39
39
|
{
|
|
40
|
-
"wi-tag--rounded":
|
|
41
|
-
"wi-tag--bordered":
|
|
42
|
-
"wi-tag--closable":
|
|
43
|
-
"wi-tag--disabled":
|
|
44
|
-
"wi-tag--custom": !!
|
|
40
|
+
"wi-tag--rounded": y.rounded,
|
|
41
|
+
"wi-tag--bordered": y.bordered,
|
|
42
|
+
"wi-tag--closable": y.closable,
|
|
43
|
+
"wi-tag--disabled": y.disabled,
|
|
44
|
+
"wi-tag--custom": !!y.color
|
|
45
45
|
}
|
|
46
|
-
]),
|
|
47
|
-
function
|
|
48
|
-
|
|
46
|
+
]), T = i(() => y.color ? { "--wi-tag-color": y.color } : void 0);
|
|
47
|
+
function E(e) {
|
|
48
|
+
y.disabled || (e.stopPropagation(), b("close", e));
|
|
49
49
|
}
|
|
50
|
-
return (e, n) => (
|
|
51
|
-
class:
|
|
52
|
-
style:
|
|
50
|
+
return (e, n) => (p(), s("span", {
|
|
51
|
+
class: d(w.value),
|
|
52
|
+
style: f(T.value)
|
|
53
53
|
}, [
|
|
54
|
-
|
|
54
|
+
u.icon ? (p(), a(t, {
|
|
55
55
|
key: 0,
|
|
56
56
|
class: "wi-tag__icon",
|
|
57
|
-
name:
|
|
57
|
+
name: u.icon,
|
|
58
58
|
size: "sm"
|
|
59
59
|
}, null, 8, ["name"])) : o("", !0),
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
m(e.$slots, "default", {}, () => [c(h(u.value), 1)]),
|
|
61
|
+
u.closable ? (p(), s("button", {
|
|
62
62
|
key: 1,
|
|
63
63
|
type: "button",
|
|
64
64
|
class: "wi-tag__close",
|
|
65
|
-
disabled:
|
|
66
|
-
"aria-label":
|
|
67
|
-
onClick:
|
|
68
|
-
},
|
|
65
|
+
disabled: u.disabled,
|
|
66
|
+
"aria-label": g(x).close,
|
|
67
|
+
onClick: E
|
|
68
|
+
}, [l(t, {
|
|
69
|
+
name: "close",
|
|
70
|
+
size: "sm"
|
|
71
|
+
})], 8, _)) : o("", !0)
|
|
69
72
|
], 6));
|
|
70
73
|
}
|
|
71
74
|
});
|
|
72
75
|
//#endregion
|
|
73
|
-
export {
|
|
76
|
+
export { v as WiTag };
|
package/dist/tag/style.css
CHANGED
|
@@ -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) {
|
|
@@ -465,8 +480,8 @@
|
|
|
465
480
|
font-size: var(--wi-font-size-xs);
|
|
466
481
|
}
|
|
467
482
|
|
|
468
|
-
.wi-textarea-field__help--
|
|
469
|
-
.wi-select-field__help--
|
|
483
|
+
.wi-textarea-field__help--invalid,
|
|
484
|
+
.wi-select-field__help--invalid {
|
|
470
485
|
color: var(--wi-color-danger);
|
|
471
486
|
}
|
|
472
487
|
|
|
@@ -485,9 +500,8 @@
|
|
|
485
500
|
}
|
|
486
501
|
|
|
487
502
|
.wi-textarea--invalid:focus-visible,
|
|
488
|
-
.wi-
|
|
489
|
-
.wi-select--
|
|
490
|
-
.wi-select--error:focus-visible {
|
|
503
|
+
.wi-select--invalid.wi-select--open,
|
|
504
|
+
.wi-select--invalid:focus-visible {
|
|
491
505
|
border-color: var(--wi-color-danger);
|
|
492
506
|
box-shadow: var(--wi-focus-shadow-danger);
|
|
493
507
|
}
|
package/dist/terminal/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "../locale-
|
|
1
|
+
import { n as e } from "../locale-DxAvgqgB.js";
|
|
2
2
|
import "./style.js";
|
|
3
3
|
import { Fragment as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, defineComponent as a, nextTick as o, openBlock as s, ref as c, renderList as l, toDisplayString as u, unref as d, vModelText as f, withDirectives as p, withModifiers as m } from "vue";
|
|
4
4
|
//#region src/components/Terminal/Terminal.vue?vue&type=script&setup=true&lang.ts
|
package/dist/terminal/style.css
CHANGED
|
@@ -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) {
|
|
@@ -465,8 +480,8 @@
|
|
|
465
480
|
font-size: var(--wi-font-size-xs);
|
|
466
481
|
}
|
|
467
482
|
|
|
468
|
-
.wi-textarea-field__help--
|
|
469
|
-
.wi-select-field__help--
|
|
483
|
+
.wi-textarea-field__help--invalid,
|
|
484
|
+
.wi-select-field__help--invalid {
|
|
470
485
|
color: var(--wi-color-danger);
|
|
471
486
|
}
|
|
472
487
|
|
|
@@ -485,9 +500,8 @@
|
|
|
485
500
|
}
|
|
486
501
|
|
|
487
502
|
.wi-textarea--invalid:focus-visible,
|
|
488
|
-
.wi-
|
|
489
|
-
.wi-select--
|
|
490
|
-
.wi-select--error:focus-visible {
|
|
503
|
+
.wi-select--invalid.wi-select--open,
|
|
504
|
+
.wi-select--invalid:focus-visible {
|
|
491
505
|
border-color: var(--wi-color-danger);
|
|
492
506
|
box-shadow: var(--wi-focus-shadow-danger);
|
|
493
507
|
}
|
|
@@ -735,48 +749,60 @@
|
|
|
735
749
|
line-height: 1;
|
|
736
750
|
}
|
|
737
751
|
|
|
738
|
-
/* —— Misc: Terminal —— */
|
|
739
|
-
.wi-terminal {
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
752
|
+
/* —— Misc: Terminal —— */
|
|
753
|
+
.wi-terminal {
|
|
754
|
+
--wi-terminal-bg: var(--wi-color-contrast);
|
|
755
|
+
--wi-terminal-fg: var(--wi-color-contrast-fg);
|
|
756
|
+
--wi-terminal-prompt: var(--wi-color-success);
|
|
757
|
+
--wi-terminal-border: color-mix(in srgb, var(--wi-color-on-emphasis) 12%, transparent);
|
|
758
|
+
--wi-terminal-min-height: 12rem;
|
|
759
|
+
background: var(--wi-terminal-bg);
|
|
760
|
+
border: 1px solid var(--wi-color-border);
|
|
761
|
+
border-radius: var(--wi-radius-md);
|
|
762
|
+
color: var(--wi-terminal-fg);
|
|
763
|
+
display: flex;
|
|
764
|
+
flex-direction: column;
|
|
765
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
766
|
+
min-height: var(--wi-terminal-min-height);
|
|
767
|
+
overflow: hidden;
|
|
749
768
|
}
|
|
750
769
|
|
|
751
|
-
.wi-terminal__body {
|
|
752
|
-
flex: 1;
|
|
753
|
-
overflow: auto;
|
|
754
|
-
padding: var(--wi-space-3);
|
|
770
|
+
.wi-terminal__body {
|
|
771
|
+
flex: 1;
|
|
772
|
+
overflow: auto;
|
|
773
|
+
padding: var(--wi-space-3);
|
|
755
774
|
}
|
|
756
775
|
|
|
757
|
-
.wi-terminal__welcome,
|
|
758
|
-
.wi-terminal__line {
|
|
759
|
-
line-height: 1.5;
|
|
760
|
-
margin-bottom: var(--wi-space-1);
|
|
776
|
+
.wi-terminal__welcome,
|
|
777
|
+
.wi-terminal__line {
|
|
778
|
+
line-height: 1.5;
|
|
779
|
+
margin-bottom: var(--wi-space-1);
|
|
761
780
|
}
|
|
762
781
|
|
|
763
|
-
.wi-terminal__form {
|
|
764
|
-
align-items: center;
|
|
765
|
-
border-top: 1px solid var(--wi-terminal-border);
|
|
766
|
-
display: flex;
|
|
767
|
-
gap: var(--wi-space-2);
|
|
768
|
-
padding: var(--wi-space-2) var(--wi-space-3);
|
|
782
|
+
.wi-terminal__form {
|
|
783
|
+
align-items: center;
|
|
784
|
+
border-top: 1px solid var(--wi-terminal-border);
|
|
785
|
+
display: flex;
|
|
786
|
+
gap: var(--wi-space-2);
|
|
787
|
+
padding: var(--wi-space-2) var(--wi-space-3);
|
|
769
788
|
}
|
|
770
789
|
|
|
771
|
-
.wi-terminal__prompt {
|
|
772
|
-
color: var(--wi-terminal-prompt);
|
|
790
|
+
.wi-terminal__prompt {
|
|
791
|
+
color: var(--wi-terminal-prompt);
|
|
773
792
|
}
|
|
774
793
|
|
|
775
|
-
.wi-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
794
|
+
[data-theme="dark"] .wi-terminal {
|
|
795
|
+
--wi-terminal-bg: color-mix(in srgb, var(--wi-color-text) 6%, var(--wi-color-surface));
|
|
796
|
+
--wi-terminal-fg: var(--wi-color-text);
|
|
797
|
+
--wi-terminal-prompt: var(--wi-color-success);
|
|
798
|
+
--wi-terminal-border: color-mix(in srgb, var(--wi-color-on-emphasis) 14%, transparent);
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
.wi-terminal__input {
|
|
802
|
+
background: transparent;
|
|
803
|
+
border: 0;
|
|
804
|
+
color: inherit;
|
|
805
|
+
flex: 1;
|
|
806
|
+
font: inherit;
|
|
807
|
+
outline: none;
|
|
782
808
|
}
|
package/dist/textarea/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as r } from "../
|
|
1
|
+
import { t as e } from "../Icon-DHGs8l-M.js";
|
|
2
|
+
import { i as t, o as n, s as r } from "../config-CTLkobga.js";
|
|
3
|
+
import { n as i } from "../locale-DxAvgqgB.js";
|
|
3
4
|
import "./style.js";
|
|
4
|
-
import { computed as
|
|
5
|
+
import { computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, mergeProps as d, nextTick as f, normalizeClass as p, onMounted as m, openBlock as h, ref as g, toDisplayString as _, unref as v, useAttrs as y, watch as b } from "vue";
|
|
5
6
|
//#region src/components/Textarea/Textarea.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var
|
|
7
|
+
var x = ["for"], S = [
|
|
7
8
|
"id",
|
|
8
9
|
"value",
|
|
9
10
|
"rows",
|
|
@@ -12,10 +13,10 @@ var y = ["for"], b = [
|
|
|
12
13
|
"maxlength",
|
|
13
14
|
"aria-invalid",
|
|
14
15
|
"aria-describedby"
|
|
15
|
-
],
|
|
16
|
+
], C = ["aria-label", "disabled"], w = {
|
|
16
17
|
key: 1,
|
|
17
18
|
class: "wi-textarea-field__meta"
|
|
18
|
-
},
|
|
19
|
+
}, T = ["id", "role"], E = ["id"], D = /* @__PURE__ */ u({
|
|
19
20
|
inheritAttrs: !1,
|
|
20
21
|
__name: "Textarea",
|
|
21
22
|
props: {
|
|
@@ -26,10 +27,6 @@ var y = ["for"], b = [
|
|
|
26
27
|
type: Boolean,
|
|
27
28
|
default: !1
|
|
28
29
|
},
|
|
29
|
-
error: {
|
|
30
|
-
type: Boolean,
|
|
31
|
-
default: !1
|
|
32
|
-
},
|
|
33
30
|
errorMessage: {},
|
|
34
31
|
id: {},
|
|
35
32
|
rows: {},
|
|
@@ -38,10 +35,6 @@ var y = ["for"], b = [
|
|
|
38
35
|
type: [Boolean, Object],
|
|
39
36
|
default: void 0
|
|
40
37
|
},
|
|
41
|
-
autoResize: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: void 0
|
|
44
|
-
},
|
|
45
38
|
size: {},
|
|
46
39
|
variant: {},
|
|
47
40
|
fluid: {
|
|
@@ -67,32 +60,30 @@ var y = ["for"], b = [
|
|
|
67
60
|
}
|
|
68
61
|
},
|
|
69
62
|
emits: ["update:modelValue", "clear"],
|
|
70
|
-
setup(
|
|
71
|
-
let
|
|
72
|
-
if (
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}), H = i(() => !!B.value), U = i(() => H.value ? "none" : O.resize), W = i(() => O.errorMessage || O.helpText), G = i(() => !!O.errorMessage || P.value && !!O.helpText), K = i(() => (O.modelValue ?? "").length), q = i(() => O.maxlength == null ? String(K.value) : `${K.value} / ${O.maxlength}`), J = i(() => R.value && !!O.modelValue), Y = i(() => {
|
|
63
|
+
setup(u, { expose: D, emit: O }) {
|
|
64
|
+
let k = u, A = O, j = y(), M = t("Textarea"), N = i(), P = g(null), F = a(() => k.id ?? `wi-textarea-${Math.random().toString(36).slice(2, 8)}`), I = a(() => k.invalid || !!k.errorMessage), L = n("Textarea", () => k.size), R = r("Textarea", () => k.variant), z = a(() => k.fluid ?? M.value.fluid ?? !1), B = a(() => k.clearable ?? M.value.clearable ?? !1), V = a(() => k.showCount ?? M.value.showCount ?? !1), H = a(() => {
|
|
65
|
+
if (k.autosize !== void 0 && k.autosize !== !1) return k.autosize;
|
|
66
|
+
let e = M.value.autosize;
|
|
67
|
+
return e !== void 0 && e !== !1 && e;
|
|
68
|
+
}), U = a(() => {
|
|
69
|
+
let e = H.value;
|
|
70
|
+
return typeof e == "object" && e.minRows != null ? e.minRows : k.rows ?? M.value.rows ?? 4;
|
|
71
|
+
}), W = a(() => !!H.value), G = a(() => W.value ? "none" : k.resize), K = a(() => k.errorMessage || k.helpText), q = a(() => !!k.errorMessage || I.value && !!k.helpText), J = a(() => (k.modelValue ?? "").length), Y = a(() => k.maxlength == null ? String(J.value) : `${J.value} / ${k.maxlength}`), X = a(() => B.value && !!k.modelValue), Z = a(() => {
|
|
80
72
|
let e = [];
|
|
81
|
-
return
|
|
82
|
-
}),
|
|
73
|
+
return K.value && e.push(`${F.value}-help`), V.value && e.push(`${F.value}-count`), e.length ? e.join(" ") : void 0;
|
|
74
|
+
}), Q = a(() => [
|
|
83
75
|
"wi-textarea",
|
|
84
|
-
`wi-textarea--${
|
|
76
|
+
`wi-textarea--${L.value}`,
|
|
85
77
|
{
|
|
86
|
-
"wi-textarea--filled":
|
|
87
|
-
"wi-textarea--fluid":
|
|
88
|
-
"wi-textarea--invalid":
|
|
89
|
-
"wi-textarea--
|
|
90
|
-
"wi-textarea--
|
|
91
|
-
"wi-textarea--clearable": J.value
|
|
78
|
+
"wi-textarea--filled": R.value === "filled",
|
|
79
|
+
"wi-textarea--fluid": z.value,
|
|
80
|
+
"wi-textarea--invalid": I.value,
|
|
81
|
+
"wi-textarea--auto-resize": W.value,
|
|
82
|
+
"wi-textarea--clearable": X.value
|
|
92
83
|
}
|
|
93
84
|
]);
|
|
94
|
-
function
|
|
95
|
-
let e =
|
|
85
|
+
function $() {
|
|
86
|
+
let e = P.value, t = H.value;
|
|
96
87
|
if (!e || !t) return;
|
|
97
88
|
e.style.height = "auto";
|
|
98
89
|
let n = e.scrollHeight;
|
|
@@ -103,61 +94,63 @@ var y = ["for"], b = [
|
|
|
103
94
|
}
|
|
104
95
|
e.style.height = `${n}px`;
|
|
105
96
|
}
|
|
106
|
-
function
|
|
107
|
-
|
|
97
|
+
function ee(e) {
|
|
98
|
+
A("update:modelValue", e.target.value), W.value && $();
|
|
108
99
|
}
|
|
109
|
-
function
|
|
110
|
-
|
|
100
|
+
function te() {
|
|
101
|
+
k.disabled || k.readonly || (A("update:modelValue", ""), A("clear"), P.value?.focus(), W.value && f($));
|
|
111
102
|
}
|
|
112
|
-
function
|
|
113
|
-
|
|
103
|
+
function ne() {
|
|
104
|
+
P.value?.focus();
|
|
114
105
|
}
|
|
115
|
-
return
|
|
116
|
-
|
|
117
|
-
}),
|
|
118
|
-
|
|
119
|
-
}), (
|
|
120
|
-
|
|
106
|
+
return D({ focus: ne }), b(() => [k.modelValue, H.value], async () => {
|
|
107
|
+
W.value && (await f(), $());
|
|
108
|
+
}), m(() => {
|
|
109
|
+
W.value && $();
|
|
110
|
+
}), (t, n) => (h(), s("div", { class: p(["wi-textarea-field", { "wi-textarea-field--fluid": z.value }]) }, [
|
|
111
|
+
u.label ? (h(), s("label", {
|
|
121
112
|
key: 0,
|
|
122
113
|
class: "wi-textarea-field__label",
|
|
123
|
-
for:
|
|
124
|
-
},
|
|
125
|
-
|
|
114
|
+
for: F.value
|
|
115
|
+
}, _(u.label), 9, x)) : o("", !0),
|
|
116
|
+
c("div", { class: p(["wi-textarea-field__control", { "wi-textarea-field__control--clearable": X.value }]) }, [c("textarea", d(v(j), {
|
|
117
|
+
id: F.value,
|
|
126
118
|
ref_key: "textareaElement",
|
|
127
|
-
ref:
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
onInput: Q
|
|
140
|
-
}), null, 16, b), J.value ? (p(), o("button", {
|
|
119
|
+
ref: P,
|
|
120
|
+
class: Q.value,
|
|
121
|
+
value: u.modelValue,
|
|
122
|
+
rows: U.value,
|
|
123
|
+
disabled: u.disabled,
|
|
124
|
+
readonly: u.readonly,
|
|
125
|
+
maxlength: u.maxlength,
|
|
126
|
+
"aria-invalid": I.value || void 0,
|
|
127
|
+
"aria-describedby": Z.value,
|
|
128
|
+
style: { resize: G.value },
|
|
129
|
+
onInput: ee
|
|
130
|
+
}), null, 16, S), X.value ? (h(), s("button", {
|
|
141
131
|
key: 0,
|
|
142
132
|
class: "wi-textarea__clear",
|
|
143
133
|
type: "button",
|
|
144
|
-
"aria-label":
|
|
145
|
-
disabled:
|
|
146
|
-
onClick:
|
|
147
|
-
},
|
|
148
|
-
|
|
134
|
+
"aria-label": v(N).clearInput,
|
|
135
|
+
disabled: u.disabled || u.readonly,
|
|
136
|
+
onClick: te
|
|
137
|
+
}, [l(e, {
|
|
138
|
+
name: "close",
|
|
139
|
+
size: "sm"
|
|
140
|
+
})], 8, C)) : o("", !0)], 2),
|
|
141
|
+
K.value || V.value ? (h(), s("div", w, [K.value ? (h(), s("span", {
|
|
149
142
|
key: 0,
|
|
150
|
-
id: `${
|
|
151
|
-
class:
|
|
152
|
-
role:
|
|
153
|
-
},
|
|
143
|
+
id: `${F.value}-help`,
|
|
144
|
+
class: p(["wi-textarea-field__help", { "wi-textarea-field__help--invalid": q.value }]),
|
|
145
|
+
role: q.value ? "alert" : void 0
|
|
146
|
+
}, _(K.value), 11, T)) : o("", !0), V.value ? (h(), s("span", {
|
|
154
147
|
key: 1,
|
|
155
|
-
id: `${
|
|
148
|
+
id: `${F.value}-count`,
|
|
156
149
|
class: "wi-textarea-field__count",
|
|
157
150
|
"aria-live": "polite"
|
|
158
|
-
},
|
|
151
|
+
}, _(Y.value), 9, E)) : o("", !0)])) : o("", !0)
|
|
159
152
|
], 2));
|
|
160
153
|
}
|
|
161
154
|
});
|
|
162
155
|
//#endregion
|
|
163
|
-
export {
|
|
156
|
+
export { D as WiTextarea };
|