@moubing/bing-ui 0.11.1 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +300 -171
- package/dist/_virtual/_plugin-vue_export-helper.js +8 -0
- package/dist/bing-ui.css +1 -1
- package/dist/components/BingAnimatedText/BingAnimatedText.js +7 -0
- package/dist/components/BingAnimatedText/BingAnimatedText.vue_vue_type_script_setup_true_lang.js +194 -0
- package/dist/components/BingAppSwitcherTransition/BingAppSwitcherTransition.js +7 -0
- package/dist/components/BingAppSwitcherTransition/BingAppSwitcherTransition.vue_vue_type_script_setup_true_lang.js +244 -0
- package/dist/components/BingAutocomplete/BingAutocomplete.js +7 -0
- package/dist/components/BingAutocomplete/BingAutocomplete.vue.d.ts +4 -4
- package/dist/components/BingAutocomplete/BingAutocomplete.vue_vue_type_script_setup_true_lang.js +560 -0
- package/dist/components/BingButton/BingButton.js +7 -0
- package/dist/components/BingButton/BingButton.vue.d.ts +2 -2
- package/dist/components/BingButton/BingButton.vue_vue_type_script_setup_true_lang.js +200 -0
- package/dist/components/BingCard/BingCard.js +7 -0
- package/dist/components/BingCard/BingCard.vue_vue_type_script_setup_true_lang.js +481 -0
- package/dist/components/BingCarouselTransition/BingCarouselTransition.js +7 -0
- package/dist/components/BingCarouselTransition/BingCarouselTransition.vue_vue_type_script_setup_true_lang.js +174 -0
- package/dist/components/BingCheckbox/BingCheckbox.js +7 -0
- package/dist/components/BingCheckbox/BingCheckbox.vue.d.ts +4 -4
- package/dist/components/BingCheckbox/BingCheckbox.vue_vue_type_script_setup_true_lang.js +233 -0
- package/dist/components/BingCheckboxGroup/BingCheckboxGroup.context.js +4 -0
- package/dist/components/BingCheckboxGroup/BingCheckboxGroup.js +7 -0
- package/dist/components/BingCheckboxGroup/BingCheckboxGroup.vue.d.ts +4 -4
- package/dist/components/BingCheckboxGroup/BingCheckboxGroup.vue_vue_type_script_setup_true_lang.js +105 -0
- package/dist/components/BingCodeBlock/BingCodeBlock.highlight.js +78 -0
- package/dist/components/BingCodeBlock/BingCodeBlock.js +7 -0
- package/dist/components/BingCodeBlock/BingCodeBlock.vue_vue_type_script_setup_true_lang.js +347 -0
- package/dist/components/BingColorPicker/BingColorPicker.js +7 -0
- package/dist/components/BingColorPicker/BingColorPicker.utils.d.ts +70 -0
- package/dist/components/BingColorPicker/BingColorPicker.utils.js +265 -0
- package/dist/components/BingColorPicker/BingColorPicker.vue.d.ts +7 -7
- package/dist/components/BingColorPicker/BingColorPicker.vue_vue_type_script_setup_true_lang.js +540 -0
- package/dist/components/BingColorPicker/BingColorPickerFormatEditor.js +7 -0
- package/dist/components/BingColorPicker/BingColorPickerFormatEditor.vue.d.ts +27 -0
- package/dist/components/BingColorPicker/BingColorPickerFormatEditor.vue_vue_type_script_setup_true_lang.js +142 -0
- package/dist/components/BingColorPicker/BingColorPickerSpectrum.js +7 -0
- package/dist/components/BingColorPicker/BingColorPickerSpectrum.vue.d.ts +26 -0
- package/dist/components/BingColorPicker/BingColorPickerSpectrum.vue_vue_type_script_setup_true_lang.js +168 -0
- package/dist/components/BingConfigProvider/BingConfigProvider.js +5 -0
- package/dist/components/BingConfigProvider/BingConfigProvider.types.d.ts +5 -0
- package/dist/components/BingConfigProvider/BingConfigProvider.vue.d.ts +18 -0
- package/dist/components/BingConfigProvider/BingConfigProvider.vue_vue_type_script_setup_true_lang.js +18 -0
- package/dist/components/BingConfigProvider/index.d.ts +3 -0
- package/dist/components/BingCursor/BingCursor.controller.js +240 -0
- package/dist/components/BingCursor/BingCursor.js +7 -0
- package/dist/components/BingCursor/BingCursor.native.js +20 -0
- package/dist/components/BingCursor/BingCursor.presets.js +60 -0
- package/dist/components/BingCursor/BingCursor.shapes.js +83 -0
- package/dist/components/BingCursor/BingCursor.styleSource.js +83 -0
- package/dist/components/BingCursor/BingCursor.vue_vue_type_script_setup_true_lang.js +73 -0
- package/dist/components/BingDatePicker/BingDatePicker.js +7 -0
- package/dist/components/BingDatePicker/BingDatePicker.utils.d.ts +26 -0
- package/dist/components/BingDatePicker/BingDatePicker.utils.js +137 -0
- package/dist/components/BingDatePicker/BingDatePicker.vue.d.ts +14 -14
- package/dist/components/BingDatePicker/BingDatePicker.vue_vue_type_script_setup_true_lang.js +804 -0
- package/dist/components/BingDatePicker/BingDatePickerCalendar.js +7 -0
- package/dist/components/BingDatePicker/BingDatePickerCalendar.vue.d.ts +37 -0
- package/dist/components/BingDatePicker/BingDatePickerCalendar.vue_vue_type_script_setup_true_lang.js +248 -0
- package/dist/components/BingDatePicker/BingDatePickerTimePanel.js +7 -0
- package/dist/components/BingDatePicker/BingDatePickerTimePanel.vue.d.ts +26 -0
- package/dist/components/BingDatePicker/BingDatePickerTimePanel.vue_vue_type_script_setup_true_lang.js +97 -0
- package/dist/components/BingDeckTransition/BingDeckTransition.js +7 -0
- package/dist/components/BingDeckTransition/BingDeckTransition.vue_vue_type_script_setup_true_lang.js +187 -0
- package/dist/components/BingDialog/BingDialog.js +7 -0
- package/dist/components/BingDialog/BingDialog.vue.d.ts +4 -5
- package/dist/components/BingDialog/BingDialog.vue_vue_type_script_setup_true_lang.js +558 -0
- package/dist/components/BingDropDown/BingDropDown.context.js +4 -0
- package/dist/components/BingDropDown/BingDropDown.js +7 -0
- package/dist/components/BingDropDown/BingDropDown.vue.d.ts +1 -2
- package/dist/components/BingDropDown/BingDropDown.vue_vue_type_script_setup_true_lang.js +649 -0
- package/dist/components/BingDropDown/BingDropDownItem.js +7 -0
- package/dist/components/BingDropDown/BingDropDownItem.vue.d.ts +1 -1
- package/dist/components/BingDropDown/BingDropDownItem.vue_vue_type_script_setup_true_lang.js +308 -0
- package/dist/components/BingFilePreview/BingFilePreview.js +7 -0
- package/dist/components/BingFilePreview/BingFilePreview.vue.d.ts +4 -5
- package/dist/components/BingFilePreview/BingFilePreview.vue_vue_type_script_setup_true_lang.js +589 -0
- package/dist/components/BingForm/BingForm.context.js +7 -0
- package/dist/components/BingForm/BingForm.js +7 -0
- package/dist/components/BingForm/BingForm.vue.d.ts +0 -1
- package/dist/components/BingForm/BingForm.vue_vue_type_script_setup_true_lang.js +300 -0
- package/dist/components/BingForm/formFocus.js +13 -0
- package/dist/components/BingForm/formTabOrder.js +27 -0
- package/dist/components/BingForm/useFormControl.d.ts +1 -1
- package/dist/components/BingForm/useFormControl.js +24 -0
- package/dist/components/BingForm/useFormNextHint.js +135 -0
- package/dist/components/BingFormItem/BingFormItem.js +7 -0
- package/dist/components/BingFormItem/BingFormItem.vue.d.ts +1 -1
- package/dist/components/BingFormItem/BingFormItem.vue_vue_type_script_setup_true_lang.js +252 -0
- package/dist/components/BingIcon/BingIcon.js +7 -0
- package/dist/components/BingIcon/BingIcon.vue_vue_type_script_setup_true_lang.js +48 -0
- package/dist/components/BingImage/BingImage.js +7 -0
- package/dist/components/BingImage/BingImage.vue_vue_type_script_setup_true_lang.js +244 -0
- package/dist/components/BingImagePreview/BingImagePreview.js +7 -0
- package/dist/components/BingImagePreview/BingImagePreview.vue.d.ts +4 -5
- package/dist/components/BingImagePreview/BingImagePreview.vue_vue_type_script_setup_true_lang.js +699 -0
- package/dist/components/BingInput/BingInput.js +7 -0
- package/dist/components/BingInput/BingInput.vue.d.ts +6 -6
- package/dist/components/BingInput/BingInput.vue_vue_type_script_setup_true_lang.js +311 -0
- package/dist/components/BingRadio/BingRadio.js +7 -0
- package/dist/components/BingRadio/BingRadio.vue.d.ts +4 -4
- package/dist/components/BingRadio/BingRadio.vue_vue_type_script_setup_true_lang.js +170 -0
- package/dist/components/BingRadioGroup/BingRadioGroup.context.js +4 -0
- package/dist/components/BingRadioGroup/BingRadioGroup.js +7 -0
- package/dist/components/BingRadioGroup/BingRadioGroup.vue.d.ts +4 -4
- package/dist/components/BingRadioGroup/BingRadioGroup.vue_vue_type_script_setup_true_lang.js +125 -0
- package/dist/components/BingResizable/BingResizable.js +7 -0
- package/dist/components/BingResizable/BingResizable.vue.d.ts +1 -1
- package/dist/components/BingResizable/BingResizable.vue_vue_type_script_setup_true_lang.js +555 -0
- package/dist/components/BingScrollbar/BingScrollbar.js +7 -0
- package/dist/components/BingScrollbar/BingScrollbar.vue.d.ts +2 -2
- package/dist/components/BingScrollbar/BingScrollbar.vue_vue_type_script_setup_true_lang.js +398 -0
- package/dist/components/BingSelect/BingSelect.js +7 -0
- package/dist/components/BingSelect/BingSelect.vue.d.ts +7 -7
- package/dist/components/BingSelect/BingSelect.vue_vue_type_script_setup_true_lang.js +1066 -0
- package/dist/components/BingSlider/BingSlider.js +7 -0
- package/dist/components/BingSlider/BingSlider.vue.d.ts +6 -6
- package/dist/components/BingSlider/BingSlider.vue_vue_type_script_setup_true_lang.js +130 -0
- package/dist/components/BingSortableList/BingSortableList.js +7 -0
- package/dist/components/BingSortableList/BingSortableList.vue_vue_type_script_setup_true_lang.js +334 -0
- package/dist/components/BingSortableList/BingSortableListItem.js +7 -0
- package/dist/components/BingSortableList/BingSortableListItem.vue_vue_type_script_setup_true_lang.js +76 -0
- package/dist/components/BingSplitPane/BingSplitPane.js +7 -0
- package/dist/components/BingSplitPane/BingSplitPane.vue_vue_type_script_setup_true_lang.js +167 -0
- package/dist/components/BingTable/BingTable.js +7 -0
- package/dist/components/BingTable/BingTable.measurements.js +72 -0
- package/dist/components/BingTable/BingTable.vue.d.ts +1 -2
- package/dist/components/BingTable/BingTable.vue_vue_type_script_setup_true_lang.js +1416 -0
- package/dist/components/BingTable/BingTableCellValue.js +7 -0
- package/dist/components/BingTable/BingTableCellValue.vue_vue_type_script_setup_true_lang.js +68 -0
- package/dist/components/BingTable/BingTableHeaderCell.js +5 -0
- package/dist/components/BingTable/BingTableHeaderCell.vue_vue_type_script_setup_true_lang.js +45 -0
- package/dist/components/BingTable/BingTableHeaderContent.js +7 -0
- package/dist/components/BingTable/BingTableHeaderContent.vue_vue_type_script_setup_true_lang.js +110 -0
- package/dist/components/BingTable/useTableColumns.js +126 -0
- package/dist/components/BingTableColumnControls/BingTableColumnControls.js +7 -0
- package/dist/components/BingTableColumnControls/BingTableColumnControls.vue.d.ts +1 -1
- package/dist/components/BingTableColumnControls/BingTableColumnControls.vue_vue_type_script_setup_true_lang.js +251 -0
- package/dist/components/BingTabs/BingTabs.js +7 -0
- package/dist/components/BingTabs/BingTabs.vue.d.ts +2 -3
- package/dist/components/BingTabs/BingTabs.vue_vue_type_script_setup_true_lang.js +320 -0
- package/dist/components/BingTag/BingTag.js +7 -0
- package/dist/components/BingTag/BingTag.vue.d.ts +0 -1
- package/dist/components/BingTag/BingTag.vue_vue_type_script_setup_true_lang.js +65 -0
- package/dist/components/BingTextarea/BingTextarea.js +7 -0
- package/dist/components/BingTextarea/BingTextarea.vue.d.ts +6 -6
- package/dist/components/BingTextarea/BingTextarea.vue_vue_type_script_setup_true_lang.js +243 -0
- package/dist/components/BingToast/BingToast.js +7 -0
- package/dist/components/BingToast/BingToast.service.js +132 -0
- package/dist/components/BingToast/BingToast.types.d.ts +1 -1
- package/dist/components/BingToast/BingToast.types.js +19 -0
- package/dist/components/BingToast/BingToast.vue.d.ts +0 -1
- package/dist/components/BingToast/BingToast.vue_vue_type_script_setup_true_lang.js +307 -0
- package/dist/components/BingTooltip/BingTooltip.js +7 -0
- package/dist/components/BingTooltip/BingTooltip.shared.js +14 -0
- package/dist/components/BingTooltip/BingTooltip.vue.d.ts +4 -5
- package/dist/components/BingTooltip/BingTooltip.vue_vue_type_script_setup_true_lang.js +572 -0
- package/dist/components/BingTreeSelect/BingTreeSelect.js +7 -0
- package/dist/components/BingTreeSelect/BingTreeSelect.vue.d.ts +7 -7
- package/dist/components/BingTreeSelect/BingTreeSelect.vue_vue_type_script_setup_true_lang.js +1274 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/icons/LICENSE-lucide.txt +39 -0
- package/dist/icons/createIcon.d.ts +8 -0
- package/dist/icons/createIcon.js +36 -0
- package/dist/icons/icons.d.ts +51 -0
- package/dist/icons/icons.js +252 -0
- package/dist/icons/index.d.ts +3 -0
- package/dist/index.js +48 -0
- package/dist/motion/clickParticles.d.ts +1 -1
- package/dist/motion/clickParticles2.js +66 -0
- package/dist/motion/index.d.ts +1 -1
- package/dist/motion/index.js +17 -0
- package/dist/motion/liquidHover.js +36 -0
- package/dist/motion/optionDetailMotion.d.ts +7 -1
- package/dist/motion/optionDetailMotion.js +74 -0
- package/dist/motion/panelMotion.js +19 -0
- package/dist/motion/reducedMotion.d.ts +16 -0
- package/dist/motion/reducedMotion.js +28 -0
- package/dist/motion/selectPanelMotion.js +115 -0
- package/dist/motion/smoothScroll.d.ts +2 -0
- package/dist/motion/smoothScroll.js +276 -0
- package/dist/motion/useClickFeedback.js +47 -0
- package/dist/motion/useTextControlCaret.js +136 -0
- package/dist/utils/clipboard.d.ts +9 -0
- package/dist/utils/clipboard.js +16 -0
- package/dist/utils/config.d.ts +42 -0
- package/dist/utils/config.js +37 -0
- package/dist/utils/controlAttrs.js +37 -0
- package/dist/utils/floating.d.ts +86 -0
- package/dist/utils/floating.js +99 -0
- package/dist/utils/glass.js +25 -0
- package/dist/utils/overlay.js +94 -0
- package/dist/utils/scrollLock.js +44 -0
- package/dist/utils/search.d.ts +16 -0
- package/dist/utils/search.js +23 -0
- package/dist/utils/useClientReady.js +10 -0
- package/dist/utils/useDeferredBlurValidation.d.ts +18 -0
- package/dist/utils/useDeferredBlurValidation.js +34 -0
- package/dist/utils/useKeyboardScrollSync.d.ts +11 -0
- package/dist/utils/useKeyboardScrollSync.js +28 -0
- package/dist/utils/useOptionDetailPanel.d.ts +50 -0
- package/dist/utils/useOptionDetailPanel.js +180 -0
- package/dist/utils/useOutsidePointerDown.d.ts +8 -0
- package/dist/utils/useOutsidePointerDown.js +17 -0
- package/dist/utils/useSearchShortcutFocus.d.ts +18 -0
- package/dist/utils/useSearchShortcutFocus.js +47 -0
- package/dist/utils/useVirtualList.d.ts +42 -0
- package/dist/utils/useVirtualList.js +74 -0
- package/package.json +15 -9
- package/dist/bing-ui.es.js +0 -31276
- package/dist/bing-ui.umd.js +0 -229
|
@@ -6,6 +6,7 @@ export * from './BingCard';
|
|
|
6
6
|
export * from './BingCheckbox';
|
|
7
7
|
export * from './BingCodeBlock';
|
|
8
8
|
export * from './BingColorPicker';
|
|
9
|
+
export * from './BingConfigProvider';
|
|
9
10
|
export * from './BingCursor';
|
|
10
11
|
export * from './BingDatePicker';
|
|
11
12
|
export * from './BingCarouselTransition';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
ISC License
|
|
2
|
+
|
|
3
|
+
Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2026 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2026.
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
10
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
11
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
12
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
13
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
14
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
15
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
The MIT License (MIT) (for portions derived from Feather)
|
|
20
|
+
|
|
21
|
+
Copyright (c) 2013-2026 Cole Bemis
|
|
22
|
+
|
|
23
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
24
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
25
|
+
in the Software without restriction, including without limitation the rights
|
|
26
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
27
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
28
|
+
furnished to do so, subject to the following conditions:
|
|
29
|
+
|
|
30
|
+
The above copyright notice and this permission notice shall be included in all
|
|
31
|
+
copies or substantial portions of the Software.
|
|
32
|
+
|
|
33
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
34
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
35
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
36
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
37
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
38
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
39
|
+
SOFTWARE.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FunctionalComponent, SVGAttributes } from 'vue';
|
|
2
|
+
export type BingSvgIconNode = ReadonlyArray<readonly [tag: string, attrs: Record<string, string>]>;
|
|
3
|
+
export type BingSvgIconComponent = FunctionalComponent<SVGAttributes>;
|
|
4
|
+
/**
|
|
5
|
+
* 把固化的 SVG 节点数据包装成 Vue 函数式组件。
|
|
6
|
+
* 属性全部透传到 `<svg>`;未提供无障碍属性时默认 `aria-hidden`。
|
|
7
|
+
*/
|
|
8
|
+
export declare function createBingSvgIcon(name: string, nodes: BingSvgIconNode): BingSvgIconComponent;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { h as e } from "vue";
|
|
2
|
+
//#region src/icons/createIcon.ts
|
|
3
|
+
var t = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: 24,
|
|
6
|
+
height: 24,
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
fill: "none",
|
|
9
|
+
stroke: "currentColor",
|
|
10
|
+
"stroke-width": 2,
|
|
11
|
+
"stroke-linecap": "round",
|
|
12
|
+
"stroke-linejoin": "round"
|
|
13
|
+
}, n = [
|
|
14
|
+
"aria-label",
|
|
15
|
+
"aria-labelledby",
|
|
16
|
+
"title",
|
|
17
|
+
"role"
|
|
18
|
+
];
|
|
19
|
+
function r(r, i) {
|
|
20
|
+
let a = (a) => {
|
|
21
|
+
let o = n.some((e) => a[e] != null);
|
|
22
|
+
return e("svg", {
|
|
23
|
+
...t,
|
|
24
|
+
...o ? {} : { "aria-hidden": "true" },
|
|
25
|
+
...a,
|
|
26
|
+
class: [
|
|
27
|
+
"bing-svg-icon",
|
|
28
|
+
`bing-svg-icon--${r}`,
|
|
29
|
+
a.class
|
|
30
|
+
]
|
|
31
|
+
}, i.map(([t, n]) => e(t, n)));
|
|
32
|
+
};
|
|
33
|
+
return a.displayName = `BingSvgIcon(${r})`, a.inheritAttrs = !1, a;
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { r as createBingSvgIcon };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare const AlertTriangle: import('./createIcon').BingSvgIconComponent;
|
|
2
|
+
export declare const ArrowDown: import('./createIcon').BingSvgIconComponent;
|
|
3
|
+
export declare const ArrowDownLeft: import('./createIcon').BingSvgIconComponent;
|
|
4
|
+
export declare const ArrowDownRight: import('./createIcon').BingSvgIconComponent;
|
|
5
|
+
export declare const ArrowLeftRight: import('./createIcon').BingSvgIconComponent;
|
|
6
|
+
export declare const ArrowUp: import('./createIcon').BingSvgIconComponent;
|
|
7
|
+
export declare const ArrowUpDown: import('./createIcon').BingSvgIconComponent;
|
|
8
|
+
export declare const ArrowUpLeft: import('./createIcon').BingSvgIconComponent;
|
|
9
|
+
export declare const ArrowUpRight: import('./createIcon').BingSvgIconComponent;
|
|
10
|
+
export declare const CalendarDays: import('./createIcon').BingSvgIconComponent;
|
|
11
|
+
export declare const Check: import('./createIcon').BingSvgIconComponent;
|
|
12
|
+
export declare const CheckCheck: import('./createIcon').BingSvgIconComponent;
|
|
13
|
+
export declare const CheckCircle2: import('./createIcon').BingSvgIconComponent;
|
|
14
|
+
export declare const ChevronDown: import('./createIcon').BingSvgIconComponent;
|
|
15
|
+
export declare const ChevronLeft: import('./createIcon').BingSvgIconComponent;
|
|
16
|
+
export declare const ChevronRight: import('./createIcon').BingSvgIconComponent;
|
|
17
|
+
export declare const ChevronUp: import('./createIcon').BingSvgIconComponent;
|
|
18
|
+
export declare const ChevronsLeft: import('./createIcon').BingSvgIconComponent;
|
|
19
|
+
export declare const ChevronsRight: import('./createIcon').BingSvgIconComponent;
|
|
20
|
+
export declare const CircleHelp: import('./createIcon').BingSvgIconComponent;
|
|
21
|
+
export declare const Clock3: import('./createIcon').BingSvgIconComponent;
|
|
22
|
+
export declare const Columns3: import('./createIcon').BingSvgIconComponent;
|
|
23
|
+
export declare const Copy: import('./createIcon').BingSvgIconComponent;
|
|
24
|
+
export declare const Download: import('./createIcon').BingSvgIconComponent;
|
|
25
|
+
export declare const ExternalLink: import('./createIcon').BingSvgIconComponent;
|
|
26
|
+
export declare const Eye: import('./createIcon').BingSvgIconComponent;
|
|
27
|
+
export declare const EyeOff: import('./createIcon').BingSvgIconComponent;
|
|
28
|
+
export declare const File: import('./createIcon').BingSvgIconComponent;
|
|
29
|
+
export declare const FileBraces: import('./createIcon').BingSvgIconComponent;
|
|
30
|
+
export declare const FileImage: import('./createIcon').BingSvgIconComponent;
|
|
31
|
+
export declare const FileQuestionMark: import('./createIcon').BingSvgIconComponent;
|
|
32
|
+
export declare const FileSpreadsheet: import('./createIcon').BingSvgIconComponent;
|
|
33
|
+
export declare const FileText: import('./createIcon').BingSvgIconComponent;
|
|
34
|
+
export declare const FileType: import('./createIcon').BingSvgIconComponent;
|
|
35
|
+
export declare const GripVertical: import('./createIcon').BingSvgIconComponent;
|
|
36
|
+
export declare const Info: import('./createIcon').BingSvgIconComponent;
|
|
37
|
+
export declare const ListCollapse: import('./createIcon').BingSvgIconComponent;
|
|
38
|
+
export declare const ListTree: import('./createIcon').BingSvgIconComponent;
|
|
39
|
+
export declare const ListX: import('./createIcon').BingSvgIconComponent;
|
|
40
|
+
export declare const LoaderCircle: import('./createIcon').BingSvgIconComponent;
|
|
41
|
+
export declare const Pin: import('./createIcon').BingSvgIconComponent;
|
|
42
|
+
export declare const Presentation: import('./createIcon').BingSvgIconComponent;
|
|
43
|
+
export declare const RefreshCcw: import('./createIcon').BingSvgIconComponent;
|
|
44
|
+
export declare const RotateCcw: import('./createIcon').BingSvgIconComponent;
|
|
45
|
+
export declare const RotateCw: import('./createIcon').BingSvgIconComponent;
|
|
46
|
+
export declare const Search: import('./createIcon').BingSvgIconComponent;
|
|
47
|
+
export declare const Sparkles: import('./createIcon').BingSvgIconComponent;
|
|
48
|
+
export declare const X: import('./createIcon').BingSvgIconComponent;
|
|
49
|
+
export declare const XCircle: import('./createIcon').BingSvgIconComponent;
|
|
50
|
+
export declare const ZoomIn: import('./createIcon').BingSvgIconComponent;
|
|
51
|
+
export declare const ZoomOut: import('./createIcon').BingSvgIconComponent;
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import { createBingSvgIcon as e } from "./createIcon.js";
|
|
2
|
+
//#region src/icons/icons.ts
|
|
3
|
+
var t = /* @__PURE__ */ e("triangle-alert", [
|
|
4
|
+
["path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" }],
|
|
5
|
+
["path", { d: "M12 9v4" }],
|
|
6
|
+
["path", { d: "M12 17h.01" }]
|
|
7
|
+
]), n = /* @__PURE__ */ e("arrow-down", [["path", { d: "M12 5v14" }], ["path", { d: "m19 12-7 7-7-7" }]]), r = /* @__PURE__ */ e("arrow-down-left", [["path", { d: "M17 7 7 17" }], ["path", { d: "M17 17H7V7" }]]), i = /* @__PURE__ */ e("arrow-down-right", [["path", { d: "m7 7 10 10" }], ["path", { d: "M17 7v10H7" }]]), a = /* @__PURE__ */ e("arrow-left-right", [
|
|
8
|
+
["path", { d: "M8 3 4 7l4 4" }],
|
|
9
|
+
["path", { d: "M4 7h16" }],
|
|
10
|
+
["path", { d: "m16 21 4-4-4-4" }],
|
|
11
|
+
["path", { d: "M20 17H4" }]
|
|
12
|
+
]), o = /* @__PURE__ */ e("arrow-up", [["path", { d: "m5 12 7-7 7 7" }], ["path", { d: "M12 19V5" }]]), s = /* @__PURE__ */ e("arrow-up-down", [
|
|
13
|
+
["path", { d: "m21 16-4 4-4-4" }],
|
|
14
|
+
["path", { d: "M17 20V4" }],
|
|
15
|
+
["path", { d: "m3 8 4-4 4 4" }],
|
|
16
|
+
["path", { d: "M7 4v16" }]
|
|
17
|
+
]), c = /* @__PURE__ */ e("arrow-up-left", [["path", { d: "M7 17V7h10" }], ["path", { d: "M17 17 7 7" }]]), l = /* @__PURE__ */ e("arrow-up-right", [["path", { d: "M7 7h10v10" }], ["path", { d: "M7 17 17 7" }]]), u = /* @__PURE__ */ e("calendar-days", [
|
|
18
|
+
["path", { d: "M8 2v4" }],
|
|
19
|
+
["path", { d: "M16 2v4" }],
|
|
20
|
+
["rect", {
|
|
21
|
+
width: "18",
|
|
22
|
+
height: "18",
|
|
23
|
+
x: "3",
|
|
24
|
+
y: "4",
|
|
25
|
+
rx: "2"
|
|
26
|
+
}],
|
|
27
|
+
["path", { d: "M3 10h18" }],
|
|
28
|
+
["path", { d: "M8 14h.01" }],
|
|
29
|
+
["path", { d: "M12 14h.01" }],
|
|
30
|
+
["path", { d: "M16 14h.01" }],
|
|
31
|
+
["path", { d: "M8 18h.01" }],
|
|
32
|
+
["path", { d: "M12 18h.01" }],
|
|
33
|
+
["path", { d: "M16 18h.01" }]
|
|
34
|
+
]), d = /* @__PURE__ */ e("check", [["path", { d: "M20 6 9 17l-5-5" }]]), f = /* @__PURE__ */ e("check-check", [["path", { d: "M18 6 7 17l-5-5" }], ["path", { d: "m22 10-7.5 7.5L13 16" }]]), p = /* @__PURE__ */ e("circle-check", [["circle", {
|
|
35
|
+
cx: "12",
|
|
36
|
+
cy: "12",
|
|
37
|
+
r: "10"
|
|
38
|
+
}], ["path", { d: "m9 12 2 2 4-4" }]]), m = /* @__PURE__ */ e("chevron-down", [["path", { d: "m6 9 6 6 6-6" }]]), h = /* @__PURE__ */ e("chevron-left", [["path", { d: "m15 18-6-6 6-6" }]]), g = /* @__PURE__ */ e("chevron-right", [["path", { d: "m9 18 6-6-6-6" }]]), _ = /* @__PURE__ */ e("chevron-up", [["path", { d: "m18 15-6-6-6 6" }]]), v = /* @__PURE__ */ e("chevrons-left", [["path", { d: "m11 17-5-5 5-5" }], ["path", { d: "m18 17-5-5 5-5" }]]), y = /* @__PURE__ */ e("chevrons-right", [["path", { d: "m6 17 5-5-5-5" }], ["path", { d: "m13 17 5-5-5-5" }]]), b = /* @__PURE__ */ e("circle-question-mark", [
|
|
39
|
+
["circle", {
|
|
40
|
+
cx: "12",
|
|
41
|
+
cy: "12",
|
|
42
|
+
r: "10"
|
|
43
|
+
}],
|
|
44
|
+
["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }],
|
|
45
|
+
["path", { d: "M12 17h.01" }]
|
|
46
|
+
]), x = /* @__PURE__ */ e("clock-3", [["circle", {
|
|
47
|
+
cx: "12",
|
|
48
|
+
cy: "12",
|
|
49
|
+
r: "10"
|
|
50
|
+
}], ["path", { d: "M12 6v6h4" }]]), S = /* @__PURE__ */ e("columns-3", [
|
|
51
|
+
["rect", {
|
|
52
|
+
width: "18",
|
|
53
|
+
height: "18",
|
|
54
|
+
x: "3",
|
|
55
|
+
y: "3",
|
|
56
|
+
rx: "2"
|
|
57
|
+
}],
|
|
58
|
+
["path", { d: "M9 3v18" }],
|
|
59
|
+
["path", { d: "M15 3v18" }]
|
|
60
|
+
]), C = /* @__PURE__ */ e("copy", [["rect", {
|
|
61
|
+
width: "14",
|
|
62
|
+
height: "14",
|
|
63
|
+
x: "8",
|
|
64
|
+
y: "8",
|
|
65
|
+
rx: "2",
|
|
66
|
+
ry: "2"
|
|
67
|
+
}], ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" }]]), w = /* @__PURE__ */ e("download", [
|
|
68
|
+
["path", { d: "M12 15V3" }],
|
|
69
|
+
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }],
|
|
70
|
+
["path", { d: "m7 10 5 5 5-5" }]
|
|
71
|
+
]), T = /* @__PURE__ */ e("external-link", [
|
|
72
|
+
["path", { d: "M15 3h6v6" }],
|
|
73
|
+
["path", { d: "M10 14 21 3" }],
|
|
74
|
+
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }]
|
|
75
|
+
]), E = /* @__PURE__ */ e("eye", [["path", { d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }], ["circle", {
|
|
76
|
+
cx: "12",
|
|
77
|
+
cy: "12",
|
|
78
|
+
r: "3"
|
|
79
|
+
}]]), D = /* @__PURE__ */ e("eye-off", [
|
|
80
|
+
["path", { d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" }],
|
|
81
|
+
["path", { d: "M14.084 14.158a3 3 0 0 1-4.242-4.242" }],
|
|
82
|
+
["path", { d: "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" }],
|
|
83
|
+
["path", { d: "m2 2 20 20" }]
|
|
84
|
+
]), O = /* @__PURE__ */ e("file", [["path", { d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { d: "M14 2v5a1 1 0 0 0 1 1h5" }]]), k = /* @__PURE__ */ e("file-braces", [
|
|
85
|
+
["path", { d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }],
|
|
86
|
+
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5" }],
|
|
87
|
+
["path", { d: "M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1" }],
|
|
88
|
+
["path", { d: "M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1" }]
|
|
89
|
+
]), A = /* @__PURE__ */ e("file-image", [
|
|
90
|
+
["path", { d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }],
|
|
91
|
+
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5" }],
|
|
92
|
+
["circle", {
|
|
93
|
+
cx: "10",
|
|
94
|
+
cy: "12",
|
|
95
|
+
r: "2"
|
|
96
|
+
}],
|
|
97
|
+
["path", { d: "m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22" }]
|
|
98
|
+
]), j = /* @__PURE__ */ e("file-question-mark", [
|
|
99
|
+
["path", { d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }],
|
|
100
|
+
["path", { d: "M12 17h.01" }],
|
|
101
|
+
["path", { d: "M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3" }]
|
|
102
|
+
]), M = /* @__PURE__ */ e("file-spreadsheet", [
|
|
103
|
+
["path", { d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }],
|
|
104
|
+
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5" }],
|
|
105
|
+
["path", { d: "M8 13h2" }],
|
|
106
|
+
["path", { d: "M14 13h2" }],
|
|
107
|
+
["path", { d: "M8 17h2" }],
|
|
108
|
+
["path", { d: "M14 17h2" }]
|
|
109
|
+
]), N = /* @__PURE__ */ e("file-text", [
|
|
110
|
+
["path", { d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }],
|
|
111
|
+
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5" }],
|
|
112
|
+
["path", { d: "M10 9H8" }],
|
|
113
|
+
["path", { d: "M16 13H8" }],
|
|
114
|
+
["path", { d: "M16 17H8" }]
|
|
115
|
+
]), P = /* @__PURE__ */ e("file-type", [
|
|
116
|
+
["path", { d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }],
|
|
117
|
+
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5" }],
|
|
118
|
+
["path", { d: "M11 18h2" }],
|
|
119
|
+
["path", { d: "M12 12v6" }],
|
|
120
|
+
["path", { d: "M9 13v-.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v.5" }]
|
|
121
|
+
]), F = /* @__PURE__ */ e("grip-vertical", [
|
|
122
|
+
["circle", {
|
|
123
|
+
cx: "9",
|
|
124
|
+
cy: "12",
|
|
125
|
+
r: "1"
|
|
126
|
+
}],
|
|
127
|
+
["circle", {
|
|
128
|
+
cx: "9",
|
|
129
|
+
cy: "5",
|
|
130
|
+
r: "1"
|
|
131
|
+
}],
|
|
132
|
+
["circle", {
|
|
133
|
+
cx: "9",
|
|
134
|
+
cy: "19",
|
|
135
|
+
r: "1"
|
|
136
|
+
}],
|
|
137
|
+
["circle", {
|
|
138
|
+
cx: "15",
|
|
139
|
+
cy: "12",
|
|
140
|
+
r: "1"
|
|
141
|
+
}],
|
|
142
|
+
["circle", {
|
|
143
|
+
cx: "15",
|
|
144
|
+
cy: "5",
|
|
145
|
+
r: "1"
|
|
146
|
+
}],
|
|
147
|
+
["circle", {
|
|
148
|
+
cx: "15",
|
|
149
|
+
cy: "19",
|
|
150
|
+
r: "1"
|
|
151
|
+
}]
|
|
152
|
+
]), I = /* @__PURE__ */ e("info", [
|
|
153
|
+
["circle", {
|
|
154
|
+
cx: "12",
|
|
155
|
+
cy: "12",
|
|
156
|
+
r: "10"
|
|
157
|
+
}],
|
|
158
|
+
["path", { d: "M12 16v-4" }],
|
|
159
|
+
["path", { d: "M12 8h.01" }]
|
|
160
|
+
]), L = /* @__PURE__ */ e("list-collapse", [
|
|
161
|
+
["path", { d: "M10 5h11" }],
|
|
162
|
+
["path", { d: "M10 12h11" }],
|
|
163
|
+
["path", { d: "M10 19h11" }],
|
|
164
|
+
["path", { d: "m3 10 3-3-3-3" }],
|
|
165
|
+
["path", { d: "m3 20 3-3-3-3" }]
|
|
166
|
+
]), R = /* @__PURE__ */ e("list-tree", [
|
|
167
|
+
["path", { d: "M8 5h13" }],
|
|
168
|
+
["path", { d: "M13 12h8" }],
|
|
169
|
+
["path", { d: "M13 19h8" }],
|
|
170
|
+
["path", { d: "M3 10a2 2 0 0 0 2 2h3" }],
|
|
171
|
+
["path", { d: "M3 5v12a2 2 0 0 0 2 2h3" }]
|
|
172
|
+
]), z = /* @__PURE__ */ e("list-x", [
|
|
173
|
+
["path", { d: "M16 5H3" }],
|
|
174
|
+
["path", { d: "M11 12H3" }],
|
|
175
|
+
["path", { d: "M16 19H3" }],
|
|
176
|
+
["path", { d: "m15.5 9.5 5 5" }],
|
|
177
|
+
["path", { d: "m20.5 9.5-5 5" }]
|
|
178
|
+
]), B = /* @__PURE__ */ e("loader-circle", [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56" }]]), V = /* @__PURE__ */ e("pin", [["path", { d: "M12 17v5" }], ["path", { d: "M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z" }]]), H = /* @__PURE__ */ e("presentation", [
|
|
179
|
+
["path", { d: "M2 3h20" }],
|
|
180
|
+
["path", { d: "M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3" }],
|
|
181
|
+
["path", { d: "m7 21 5-5 5 5" }]
|
|
182
|
+
]), U = /* @__PURE__ */ e("refresh-ccw", [
|
|
183
|
+
["path", { d: "M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }],
|
|
184
|
+
["path", { d: "M3 3v5h5" }],
|
|
185
|
+
["path", { d: "M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16" }],
|
|
186
|
+
["path", { d: "M16 16h5v5" }]
|
|
187
|
+
]), W = /* @__PURE__ */ e("rotate-ccw", [["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }], ["path", { d: "M3 3v5h5" }]]), G = /* @__PURE__ */ e("rotate-cw", [["path", { d: "M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8" }], ["path", { d: "M21 3v5h-5" }]]), K = /* @__PURE__ */ e("search", [["path", { d: "m21 21-4.34-4.34" }], ["circle", {
|
|
188
|
+
cx: "11",
|
|
189
|
+
cy: "11",
|
|
190
|
+
r: "8"
|
|
191
|
+
}]]), q = /* @__PURE__ */ e("sparkles", [
|
|
192
|
+
["path", { d: "M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" }],
|
|
193
|
+
["path", { d: "M20 2v4" }],
|
|
194
|
+
["path", { d: "M22 4h-4" }],
|
|
195
|
+
["circle", {
|
|
196
|
+
cx: "4",
|
|
197
|
+
cy: "20",
|
|
198
|
+
r: "2"
|
|
199
|
+
}]
|
|
200
|
+
]), J = /* @__PURE__ */ e("x", [["path", { d: "M18 6 6 18" }], ["path", { d: "m6 6 12 12" }]]), Y = /* @__PURE__ */ e("circle-x", [
|
|
201
|
+
["circle", {
|
|
202
|
+
cx: "12",
|
|
203
|
+
cy: "12",
|
|
204
|
+
r: "10"
|
|
205
|
+
}],
|
|
206
|
+
["path", { d: "m15 9-6 6" }],
|
|
207
|
+
["path", { d: "m9 9 6 6" }]
|
|
208
|
+
]), X = /* @__PURE__ */ e("zoom-in", [
|
|
209
|
+
["circle", {
|
|
210
|
+
cx: "11",
|
|
211
|
+
cy: "11",
|
|
212
|
+
r: "8"
|
|
213
|
+
}],
|
|
214
|
+
["line", {
|
|
215
|
+
x1: "21",
|
|
216
|
+
x2: "16.65",
|
|
217
|
+
y1: "21",
|
|
218
|
+
y2: "16.65"
|
|
219
|
+
}],
|
|
220
|
+
["line", {
|
|
221
|
+
x1: "11",
|
|
222
|
+
x2: "11",
|
|
223
|
+
y1: "8",
|
|
224
|
+
y2: "14"
|
|
225
|
+
}],
|
|
226
|
+
["line", {
|
|
227
|
+
x1: "8",
|
|
228
|
+
x2: "14",
|
|
229
|
+
y1: "11",
|
|
230
|
+
y2: "11"
|
|
231
|
+
}]
|
|
232
|
+
]), Z = /* @__PURE__ */ e("zoom-out", [
|
|
233
|
+
["circle", {
|
|
234
|
+
cx: "11",
|
|
235
|
+
cy: "11",
|
|
236
|
+
r: "8"
|
|
237
|
+
}],
|
|
238
|
+
["line", {
|
|
239
|
+
x1: "21",
|
|
240
|
+
x2: "16.65",
|
|
241
|
+
y1: "21",
|
|
242
|
+
y2: "16.65"
|
|
243
|
+
}],
|
|
244
|
+
["line", {
|
|
245
|
+
x1: "8",
|
|
246
|
+
x2: "14",
|
|
247
|
+
y1: "11",
|
|
248
|
+
y2: "11"
|
|
249
|
+
}]
|
|
250
|
+
]);
|
|
251
|
+
//#endregion
|
|
252
|
+
export { t as AlertTriangle, n as ArrowDown, r as ArrowDownLeft, i as ArrowDownRight, a as ArrowLeftRight, o as ArrowUp, s as ArrowUpDown, c as ArrowUpLeft, l as ArrowUpRight, u as CalendarDays, d as Check, f as CheckCheck, p as CheckCircle2, m as ChevronDown, h as ChevronLeft, g as ChevronRight, _ as ChevronUp, v as ChevronsLeft, y as ChevronsRight, b as CircleHelp, x as Clock3, S as Columns3, C as Copy, w as Download, T as ExternalLink, E as Eye, D as EyeOff, O as File, k as FileBraces, A as FileImage, j as FileQuestionMark, M as FileSpreadsheet, N as FileText, P as FileType, F as GripVertical, I as Info, L as ListCollapse, R as ListTree, z as ListX, B as LoaderCircle, V as Pin, H as Presentation, U as RefreshCcw, W as RotateCcw, G as RotateCw, K as Search, q as Sparkles, J as X, Y as XCircle, X as ZoomIn, Z as ZoomOut };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { useBingConfig as e } from "./utils/config.js";
|
|
3
|
+
import { prefersReducedMotion as t, useReducedMotion as n } from "./motion/reducedMotion.js";
|
|
4
|
+
import r from "./components/BingAnimatedText/BingAnimatedText.js";
|
|
5
|
+
import i from "./components/BingButton/BingButton.js";
|
|
6
|
+
import a from "./components/BingIcon/BingIcon.js";
|
|
7
|
+
import o from "./components/BingInput/BingInput.js";
|
|
8
|
+
import { compactSmoothScrollOptions as s, createSmoothScrollController as c, defaultSmoothScrollOptions as l, pulseEase as u, resolveComponentSmoothScroll as d, resolveSmoothScrollOptions as f } from "./motion/smoothScroll.js";
|
|
9
|
+
import p from "./components/BingScrollbar/BingScrollbar.js";
|
|
10
|
+
import m from "./components/BingAutocomplete/BingAutocomplete.js";
|
|
11
|
+
import h from "./components/BingTabs/BingTabs.js";
|
|
12
|
+
import g from "./components/BingAppSwitcherTransition/BingAppSwitcherTransition.js";
|
|
13
|
+
import _ from "./components/BingCard/BingCard.js";
|
|
14
|
+
import v from "./components/BingCheckbox/BingCheckbox.js";
|
|
15
|
+
import y from "./components/BingResizable/BingResizable.js";
|
|
16
|
+
import b from "./components/BingCodeBlock/BingCodeBlock.js";
|
|
17
|
+
import x from "./components/BingTag/BingTag.js";
|
|
18
|
+
import S from "./components/BingTooltip/BingTooltip.js";
|
|
19
|
+
import C from "./components/BingSelect/BingSelect.js";
|
|
20
|
+
import w from "./components/BingColorPicker/BingColorPicker.js";
|
|
21
|
+
import T from "./components/BingConfigProvider/BingConfigProvider.js";
|
|
22
|
+
import E from "./components/BingCursor/BingCursor.js";
|
|
23
|
+
import D from "./components/BingDatePicker/BingDatePicker.js";
|
|
24
|
+
import O from "./components/BingCarouselTransition/BingCarouselTransition.js";
|
|
25
|
+
import k from "./components/BingDeckTransition/BingDeckTransition.js";
|
|
26
|
+
import A from "./components/BingDialog/BingDialog.js";
|
|
27
|
+
import j from "./components/BingDropDown/BingDropDown.js";
|
|
28
|
+
import M from "./components/BingDropDown/BingDropDownItem.js";
|
|
29
|
+
import N from "./components/BingImagePreview/BingImagePreview.js";
|
|
30
|
+
import P from "./components/BingFilePreview/BingFilePreview.js";
|
|
31
|
+
import F from "./components/BingForm/BingForm.js";
|
|
32
|
+
import I from "./components/BingFormItem/BingFormItem.js";
|
|
33
|
+
import L from "./components/BingImage/BingImage.js";
|
|
34
|
+
import R from "./components/BingCheckboxGroup/BingCheckboxGroup.js";
|
|
35
|
+
import z from "./components/BingRadio/BingRadio.js";
|
|
36
|
+
import B from "./components/BingRadioGroup/BingRadioGroup.js";
|
|
37
|
+
import V from "./components/BingSortableList/BingSortableList.js";
|
|
38
|
+
import H from "./components/BingTextarea/BingTextarea.js";
|
|
39
|
+
import { BING_TOAST_POSITIONS as U, BING_TOAST_POSITION_ALIASES as W, BING_TOAST_POSITION_OPTIONS as G, normalizeBingToastPosition as K } from "./components/BingToast/BingToast.types.js";
|
|
40
|
+
import { bingToast as q, useBingToast as J } from "./components/BingToast/BingToast.service.js";
|
|
41
|
+
import Y from "./components/BingToast/BingToast.js";
|
|
42
|
+
import X from "./components/BingTableColumnControls/BingTableColumnControls.js";
|
|
43
|
+
import Z from "./components/BingTable/BingTable.js";
|
|
44
|
+
import Q from "./components/BingSplitPane/BingSplitPane.js";
|
|
45
|
+
import $ from "./components/BingSlider/BingSlider.js";
|
|
46
|
+
import ee from "./components/BingTreeSelect/BingTreeSelect.js";
|
|
47
|
+
import { motion as te } from "./motion/index.js";
|
|
48
|
+
export { U as BING_TOAST_POSITIONS, W as BING_TOAST_POSITION_ALIASES, G as BING_TOAST_POSITION_OPTIONS, r as BingAnimatedText, g as BingAppSwitcherTransition, m as BingAutocomplete, i as BingButton, _ as BingCard, O as BingCarouselTransition, v as BingCheckbox, R as BingCheckboxGroup, b as BingCodeBlock, w as BingColorPicker, T as BingConfigProvider, E as BingCursor, D as BingDatePicker, k as BingDeckTransition, A as BingDialog, j as BingDropDown, M as BingDropDownItem, P as BingFilePreview, F as BingForm, I as BingFormItem, a as BingIcon, L as BingImage, N as BingImagePreview, o as BingInput, z as BingRadio, B as BingRadioGroup, y as BingResizable, p as BingScrollbar, C as BingSelect, $ as BingSlider, V as BingSortableList, Q as BingSplitPane, Z as BingTable, X as BingTableColumnControls, h as BingTabs, x as BingTag, H as BingTextarea, Y as BingToast, S as BingTooltip, ee as BingTreeSelect, q as bingToast, s as compactSmoothScrollOptions, c as createSmoothScrollController, l as defaultSmoothScrollOptions, te as motion, K as normalizeBingToastPosition, t as prefersReducedMotion, u as pulseEase, d as resolveComponentSmoothScroll, f as resolveSmoothScrollOptions, e as useBingConfig, J as useBingToast, n as useReducedMotion };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { prefersReducedMotion as e } from "./reducedMotion.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { gsap as t } from "gsap";
|
|
4
|
+
//#region src/motion/clickParticles.ts
|
|
5
|
+
var n = 12, r = 3;
|
|
6
|
+
function i() {
|
|
7
|
+
let i = /* @__PURE__ */ new Set();
|
|
8
|
+
function a() {
|
|
9
|
+
for (let e of i) e();
|
|
10
|
+
}
|
|
11
|
+
function o(a, o, s) {
|
|
12
|
+
let c = a.ownerDocument, l = c.defaultView;
|
|
13
|
+
if (!l || !a.isConnected || (s ?? e(l))) return;
|
|
14
|
+
let u = l.matchMedia?.("(prefers-reduced-motion: reduce)"), d = a.getBoundingClientRect();
|
|
15
|
+
if (!d.width || !d.height) return;
|
|
16
|
+
let f = l.getComputedStyle(a), p = f.getPropertyValue("--bing-click-particle-color").trim(), m = !p || p.toLowerCase() === "currentcolor" ? f.color : p, h = o, g = Number.isFinite(h.clientX) && (h.detail > 0 || !!h.pointerType), _ = g ? Math.max(d.left, Math.min(d.right, h.clientX)) : d.left + d.width / 2, v = g ? Math.max(d.top, Math.min(d.bottom, h.clientY)) : d.top + d.height / 2;
|
|
17
|
+
i.size >= r && i.values().next().value?.();
|
|
18
|
+
let y = c.createElement("span");
|
|
19
|
+
y.className = "bing-click-particles", y.setAttribute("aria-hidden", "true"), y.inert = !0, y.style.color = m;
|
|
20
|
+
let b = Array.from({ length: n }, (e, t) => {
|
|
21
|
+
let n = c.createElement("span");
|
|
22
|
+
return n.className = "bing-click-particles__shard", n.style.left = `${_}px`, n.style.top = `${v}px`, n.style.width = `${3 + t % 3}px`, n.style.height = `${t % 3 == 0 ? 6 : 3}px`, y.append(n), n;
|
|
23
|
+
});
|
|
24
|
+
c.body.append(y);
|
|
25
|
+
let x, S = () => {
|
|
26
|
+
x?.kill(), y.remove(), i.delete(S), c.removeEventListener("scroll", S, !0), l.removeEventListener("resize", S), l.removeEventListener("pagehide", S), c.removeEventListener("visibilitychange", S), u?.removeEventListener("change", S);
|
|
27
|
+
};
|
|
28
|
+
i.add(S), c.addEventListener("scroll", S, {
|
|
29
|
+
capture: !0,
|
|
30
|
+
passive: !0
|
|
31
|
+
}), l.addEventListener("resize", S, { passive: !0 }), l.addEventListener("pagehide", S), c.addEventListener("visibilitychange", S), u?.addEventListener("change", S);
|
|
32
|
+
let C = b.map((e, t) => {
|
|
33
|
+
let r = (t + (Math.random() - .5) * .45) / n * Math.PI * 2, i = 28 + Math.random() * 30;
|
|
34
|
+
return {
|
|
35
|
+
x: Math.cos(r) * i,
|
|
36
|
+
y: Math.sin(r) * i,
|
|
37
|
+
rotation: (Math.random() - .5) * 240
|
|
38
|
+
};
|
|
39
|
+
});
|
|
40
|
+
t.set(b, {
|
|
41
|
+
xPercent: -50,
|
|
42
|
+
yPercent: -50,
|
|
43
|
+
rotation: (e) => e * 37,
|
|
44
|
+
autoAlpha: .95
|
|
45
|
+
}), x = t.timeline({
|
|
46
|
+
defaults: { ease: "power3.out" },
|
|
47
|
+
onComplete: S
|
|
48
|
+
}).to(b, {
|
|
49
|
+
x: (e) => C[e].x,
|
|
50
|
+
y: (e) => C[e].y,
|
|
51
|
+
rotation: (e) => C[e].rotation,
|
|
52
|
+
duration: .54
|
|
53
|
+
}, 0).to(b, {
|
|
54
|
+
autoAlpha: 0,
|
|
55
|
+
scale: .35,
|
|
56
|
+
duration: .3,
|
|
57
|
+
ease: "power2.in"
|
|
58
|
+
}, .2);
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
play: o,
|
|
62
|
+
clear: a
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
export { i as createClickParticles };
|
package/dist/motion/index.d.ts
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import "./reducedMotion.js";
|
|
2
|
+
import "./smoothScroll.js";
|
|
3
|
+
//#region src/motion/index.ts
|
|
4
|
+
var e = {
|
|
5
|
+
duration: {
|
|
6
|
+
fast: .18,
|
|
7
|
+
normal: .32,
|
|
8
|
+
slow: .62
|
|
9
|
+
},
|
|
10
|
+
ease: {
|
|
11
|
+
smooth: "power3.out",
|
|
12
|
+
press: "back.out(2.2)",
|
|
13
|
+
glide: "expo.out"
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { e as motion };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { gsap as e } from "gsap";
|
|
2
|
+
//#region src/motion/liquidHover.ts
|
|
3
|
+
var t = "transform,opacity,visibility,willChange";
|
|
4
|
+
function n(t) {
|
|
5
|
+
return e.killTweensOf(t), t.style.willChange = "transform, opacity", e.fromTo(t, {
|
|
6
|
+
autoAlpha: 0,
|
|
7
|
+
scale: .08
|
|
8
|
+
}, {
|
|
9
|
+
autoAlpha: 1,
|
|
10
|
+
scale: 1,
|
|
11
|
+
duration: .38,
|
|
12
|
+
ease: "expo.out",
|
|
13
|
+
overwrite: !0
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function r(n) {
|
|
17
|
+
return e.to(n, {
|
|
18
|
+
autoAlpha: 0,
|
|
19
|
+
scale: 1.04,
|
|
20
|
+
duration: .2,
|
|
21
|
+
ease: "power2.out",
|
|
22
|
+
overwrite: !0,
|
|
23
|
+
clearProps: t
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
function i(n) {
|
|
27
|
+
e.killTweensOf(n), e.set(n, { clearProps: t });
|
|
28
|
+
}
|
|
29
|
+
function a(e, t, n) {
|
|
30
|
+
let r = e.getBoundingClientRect();
|
|
31
|
+
if (!r.width || !r.height) return;
|
|
32
|
+
let i = Math.max(0, Math.min(e.clientWidth, (n.clientX - r.left) * e.offsetWidth / r.width - e.clientLeft)), a = Math.max(0, Math.min(e.clientHeight, (n.clientY - r.top) * e.offsetHeight / r.height - e.clientTop));
|
|
33
|
+
t.style.setProperty("--bing-liquid-x", `${i}px`), t.style.setProperty("--bing-liquid-y", `${a}px`), t.style.transformOrigin = `${i}px ${a}px`;
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { n as enterLiquidHover, r as leaveLiquidHover, i as resetLiquidHover, a as setLiquidHoverOrigin };
|
|
@@ -10,12 +10,18 @@ export interface DetailPanelTarget {
|
|
|
10
10
|
placement: 'left' | 'right';
|
|
11
11
|
}
|
|
12
12
|
export declare function getOptionDetailSnapshot(detailPanel: HTMLElement | null): DetailPanelSnapshot | undefined;
|
|
13
|
-
export declare function moveOptionDetailPanel({ panel: detailPanel, content, getTarget, animateContent, previousSnapshot, reducedMotion, onComplete, }: {
|
|
13
|
+
export declare function moveOptionDetailPanel({ panel: detailPanel, content, getTarget, animateContent, previousSnapshot, reducedMotion, hiddenScale, enterEase, force3D, onComplete, }: {
|
|
14
14
|
panel: HTMLElement | null;
|
|
15
15
|
content: HTMLElement | null;
|
|
16
16
|
getTarget: () => DetailPanelTarget | null;
|
|
17
17
|
animateContent?: boolean;
|
|
18
18
|
previousSnapshot?: DetailPanelSnapshot;
|
|
19
19
|
reducedMotion?: boolean;
|
|
20
|
+
/** 面板从隐藏状态出现时的起始缩放。 */
|
|
21
|
+
hiddenScale?: number;
|
|
22
|
+
/** 面板从隐藏状态出现时的缓动。 */
|
|
23
|
+
enterEase?: string;
|
|
24
|
+
/** 传入 `false` 可避免合成层导致的文字发虚。 */
|
|
25
|
+
force3D?: boolean;
|
|
20
26
|
onComplete?: () => void;
|
|
21
27
|
}): DetailPanelTarget | undefined;
|