@vuetify/nightly 3.8.1-dev.2025-04-07 → 3.8.1-dev.2025-04-12
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 +12 -3
- package/dist/json/attributes.json +2954 -2954
- package/dist/json/importMap-labs.json +30 -30
- package/dist/json/importMap.json +146 -146
- package/dist/json/web-types.json +5723 -5723
- package/dist/vuetify-labs.cjs +97 -28
- package/dist/vuetify-labs.css +5455 -5455
- package/dist/vuetify-labs.d.ts +63 -58
- package/dist/vuetify-labs.esm.js +98 -29
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +97 -28
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +97 -28
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +5597 -5597
- package/dist/vuetify.d.ts +63 -58
- package/dist/vuetify.esm.js +98 -29
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +97 -28
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +1160 -1156
- package/dist/vuetify.min.js.map +1 -1
- package/lib/composables/theme.d.ts +6 -1
- package/lib/composables/theme.js +94 -26
- package/lib/composables/theme.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +63 -58
- package/lib/framework.js +1 -1
- package/lib/util/globals.d.ts +1 -0
- package/lib/util/globals.js +1 -0
- package/lib/util/globals.js.map +1 -1
- package/package.json +1 -1
package/lib/framework.d.ts
CHANGED
@@ -146,11 +146,12 @@ type DeepPartial<T> = T extends object ? {
|
|
146
146
|
} : T;
|
147
147
|
type ThemeOptions = false | {
|
148
148
|
cspNonce?: string;
|
149
|
-
defaultTheme?: string;
|
149
|
+
defaultTheme?: 'light' | 'dark' | 'system' | string;
|
150
150
|
variations?: false | VariationsOptions;
|
151
151
|
themes?: Record<string, ThemeDefinition>;
|
152
152
|
stylesheetId?: string;
|
153
153
|
scope?: string;
|
154
|
+
unimportant?: boolean;
|
154
155
|
};
|
155
156
|
type ThemeDefinition = DeepPartial<InternalThemeDefinition>;
|
156
157
|
interface VariationsOptions {
|
@@ -187,11 +188,15 @@ interface OnColors {
|
|
187
188
|
'on-info': string;
|
188
189
|
}
|
189
190
|
interface ThemeInstance {
|
191
|
+
change: (themeName: string) => void;
|
192
|
+
cycle: (themeArray?: string[]) => void;
|
193
|
+
toggle: (themeArray?: [string, string]) => void;
|
190
194
|
readonly isDisabled: boolean;
|
191
195
|
readonly themes: Ref<Record<string, InternalThemeDefinition>>;
|
192
196
|
readonly name: Readonly<Ref<string>>;
|
193
197
|
readonly current: DeepReadonly<Ref<InternalThemeDefinition>>;
|
194
198
|
readonly computedThemes: DeepReadonly<Ref<Record<string, InternalThemeDefinition>>>;
|
199
|
+
readonly prefix: string;
|
195
200
|
readonly themeClasses: Readonly<Ref<string | undefined>>;
|
196
201
|
readonly styles: Readonly<Ref<string>>;
|
197
202
|
readonly global: {
|
@@ -2567,40 +2572,43 @@ declare module 'vue' {
|
|
2567
2572
|
$children?: VNodeChild
|
2568
2573
|
}
|
2569
2574
|
export interface GlobalComponents {
|
2575
|
+
VAlert: typeof import('vuetify/components')['VAlert']
|
2576
|
+
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
2570
2577
|
VApp: typeof import('vuetify/components')['VApp']
|
2578
|
+
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
2571
2579
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
2572
2580
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
2573
2581
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
2574
|
-
VAvatar: typeof import('vuetify/components')['VAvatar']
|
2575
|
-
VAlert: typeof import('vuetify/components')['VAlert']
|
2576
|
-
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
2577
|
-
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
2578
2582
|
VBadge: typeof import('vuetify/components')['VBadge']
|
2583
|
+
VAvatar: typeof import('vuetify/components')['VAvatar']
|
2579
2584
|
VBanner: typeof import('vuetify/components')['VBanner']
|
2580
2585
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
2581
2586
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
2587
|
+
VBtn: typeof import('vuetify/components')['VBtn']
|
2588
|
+
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
2589
|
+
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
2590
|
+
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
2582
2591
|
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
2583
2592
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
2584
2593
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
2594
|
+
VChip: typeof import('vuetify/components')['VChip']
|
2595
|
+
VCarousel: typeof import('vuetify/components')['VCarousel']
|
2596
|
+
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
2585
2597
|
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
2586
|
-
|
2587
|
-
|
2588
|
-
VBtn: typeof import('vuetify/components')['VBtn']
|
2589
|
-
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
2590
|
-
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
2598
|
+
VCode: typeof import('vuetify/components')['VCode']
|
2599
|
+
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
2591
2600
|
VCard: typeof import('vuetify/components')['VCard']
|
2592
2601
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
2593
2602
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
2594
2603
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
2595
2604
|
VCardText: typeof import('vuetify/components')['VCardText']
|
2596
2605
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
2597
|
-
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
2598
|
-
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
2599
|
-
VCarousel: typeof import('vuetify/components')['VCarousel']
|
2600
|
-
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
2601
|
-
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
2602
|
-
VCode: typeof import('vuetify/components')['VCode']
|
2603
2606
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
2607
|
+
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
2608
|
+
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
2609
|
+
VDialog: typeof import('vuetify/components')['VDialog']
|
2610
|
+
VCounter: typeof import('vuetify/components')['VCounter']
|
2611
|
+
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
2604
2612
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
2605
2613
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
2606
2614
|
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
@@ -2614,32 +2622,28 @@ declare module 'vue' {
|
|
2614
2622
|
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
2615
2623
|
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
2616
2624
|
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
2617
|
-
VCounter: typeof import('vuetify/components')['VCounter']
|
2618
|
-
VChip: typeof import('vuetify/components')['VChip']
|
2619
|
-
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
2620
|
-
VDivider: typeof import('vuetify/components')['VDivider']
|
2621
2625
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
2622
2626
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
2623
2627
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
2624
2628
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
2625
|
-
|
2626
|
-
|
2629
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
2630
|
+
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
2627
2631
|
VField: typeof import('vuetify/components')['VField']
|
2628
2632
|
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
2629
|
-
VFooter: typeof import('vuetify/components')['VFooter']
|
2630
2633
|
VFileInput: typeof import('vuetify/components')['VFileInput']
|
2634
|
+
VFooter: typeof import('vuetify/components')['VFooter']
|
2635
|
+
VFab: typeof import('vuetify/components')['VFab']
|
2631
2636
|
VIcon: typeof import('vuetify/components')['VIcon']
|
2632
2637
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
2633
2638
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
2634
2639
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
2635
2640
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
2636
|
-
|
2637
|
-
VLabel: typeof import('vuetify/components')['VLabel']
|
2638
|
-
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
2641
|
+
VImg: typeof import('vuetify/components')['VImg']
|
2639
2642
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
2640
2643
|
VItem: typeof import('vuetify/components')['VItem']
|
2644
|
+
VInput: typeof import('vuetify/components')['VInput']
|
2641
2645
|
VKbd: typeof import('vuetify/components')['VKbd']
|
2642
|
-
|
2646
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
2643
2647
|
VList: typeof import('vuetify/components')['VList']
|
2644
2648
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
2645
2649
|
VListImg: typeof import('vuetify/components')['VListImg']
|
@@ -2649,66 +2653,67 @@ declare module 'vue' {
|
|
2649
2653
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
2650
2654
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
2651
2655
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
2656
|
+
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
2652
2657
|
VMain: typeof import('vuetify/components')['VMain']
|
2653
|
-
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
2654
|
-
VMenu: typeof import('vuetify/components')['VMenu']
|
2655
|
-
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
2656
|
-
VOverlay: typeof import('vuetify/components')['VOverlay']
|
2657
2658
|
VMessages: typeof import('vuetify/components')['VMessages']
|
2659
|
+
VMenu: typeof import('vuetify/components')['VMenu']
|
2660
|
+
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
2658
2661
|
VNumberInput: typeof import('vuetify/components')['VNumberInput']
|
2659
|
-
|
2662
|
+
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
2660
2663
|
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
2661
|
-
|
2664
|
+
VPagination: typeof import('vuetify/components')['VPagination']
|
2665
|
+
VOverlay: typeof import('vuetify/components')['VOverlay']
|
2662
2666
|
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
2663
|
-
|
2667
|
+
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
2664
2668
|
VRating: typeof import('vuetify/components')['VRating']
|
2669
|
+
VSelect: typeof import('vuetify/components')['VSelect']
|
2670
|
+
VSheet: typeof import('vuetify/components')['VSheet']
|
2665
2671
|
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
2672
|
+
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
2666
2673
|
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
2667
2674
|
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
2668
2675
|
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
2669
|
-
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
2670
|
-
VSheet: typeof import('vuetify/components')['VSheet']
|
2671
|
-
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
2672
2676
|
VSlider: typeof import('vuetify/components')['VSlider']
|
2677
|
+
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
2673
2678
|
VSwitch: typeof import('vuetify/components')['VSwitch']
|
2674
|
-
VTab: typeof import('vuetify/components')['VTab']
|
2675
|
-
VTabs: typeof import('vuetify/components')['VTabs']
|
2676
|
-
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
2677
|
-
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
2678
|
-
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
2679
2679
|
VStepper: typeof import('vuetify/components')['VStepper']
|
2680
2680
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
2681
2681
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
2682
2682
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
2683
2683
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
2684
2684
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
2685
|
-
VTextarea: typeof import('vuetify/components')['VTextarea']
|
2686
2685
|
VTable: typeof import('vuetify/components')['VTable']
|
2686
|
+
VTab: typeof import('vuetify/components')['VTab']
|
2687
|
+
VTabs: typeof import('vuetify/components')['VTabs']
|
2688
|
+
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
2689
|
+
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
2690
|
+
VTimeline: typeof import('vuetify/components')['VTimeline']
|
2691
|
+
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
2692
|
+
VTextField: typeof import('vuetify/components')['VTextField']
|
2687
2693
|
VToolbar: typeof import('vuetify/components')['VToolbar']
|
2688
2694
|
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
2689
2695
|
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
2690
|
-
|
2691
|
-
|
2692
|
-
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
2696
|
+
VTextarea: typeof import('vuetify/components')['VTextarea']
|
2697
|
+
VTooltip: typeof import('vuetify/components')['VTooltip']
|
2693
2698
|
VWindow: typeof import('vuetify/components')['VWindow']
|
2694
2699
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
2695
|
-
|
2700
|
+
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
2696
2701
|
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
2697
2702
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
2698
2703
|
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
2699
2704
|
VForm: typeof import('vuetify/components')['VForm']
|
2700
|
-
VHover: typeof import('vuetify/components')['VHover']
|
2701
2705
|
VContainer: typeof import('vuetify/components')['VContainer']
|
2702
2706
|
VCol: typeof import('vuetify/components')['VCol']
|
2703
2707
|
VRow: typeof import('vuetify/components')['VRow']
|
2704
2708
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
2709
|
+
VHover: typeof import('vuetify/components')['VHover']
|
2705
2710
|
VLayout: typeof import('vuetify/components')['VLayout']
|
2706
2711
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
2707
2712
|
VLazy: typeof import('vuetify/components')['VLazy']
|
2708
2713
|
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
2709
2714
|
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
2710
|
-
VParallax: typeof import('vuetify/components')['VParallax']
|
2711
2715
|
VRadio: typeof import('vuetify/components')['VRadio']
|
2716
|
+
VParallax: typeof import('vuetify/components')['VParallax']
|
2712
2717
|
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
2713
2718
|
VResponsive: typeof import('vuetify/components')['VResponsive']
|
2714
2719
|
VSnackbarQueue: typeof import('vuetify/components')['VSnackbarQueue']
|
@@ -2733,26 +2738,26 @@ declare module 'vue' {
|
|
2733
2738
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
2734
2739
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
2735
2740
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
2736
|
-
|
2737
|
-
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
2738
|
-
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
2739
|
-
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
2740
|
-
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
2741
|
+
VIconBtn: typeof import('vuetify/labs/components')['VIconBtn']
|
2741
2742
|
VCalendar: typeof import('vuetify/labs/components')['VCalendar']
|
2742
2743
|
VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
|
2743
2744
|
VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
|
2744
2745
|
VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
|
2745
2746
|
VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
|
2746
2747
|
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
2747
|
-
|
2748
|
+
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
2749
|
+
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
2750
|
+
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
2751
|
+
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
2752
|
+
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
2748
2753
|
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
2749
2754
|
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
2750
|
-
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
2751
|
-
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
2752
|
-
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
2753
2755
|
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
2754
2756
|
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
2755
2757
|
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
2758
|
+
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
2759
|
+
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
2760
|
+
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
2756
2761
|
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
2757
2762
|
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
2758
2763
|
}
|
package/lib/framework.js
CHANGED
package/lib/util/globals.d.ts
CHANGED
package/lib/util/globals.js
CHANGED
@@ -2,4 +2,5 @@ export const IN_BROWSER = typeof window !== 'undefined';
|
|
2
2
|
export const SUPPORTS_INTERSECTION = IN_BROWSER && 'IntersectionObserver' in window;
|
3
3
|
export const SUPPORTS_TOUCH = IN_BROWSER && ('ontouchstart' in window || window.navigator.maxTouchPoints > 0);
|
4
4
|
export const SUPPORTS_EYE_DROPPER = IN_BROWSER && 'EyeDropper' in window;
|
5
|
+
export const SUPPORTS_MATCH_MEDIA = IN_BROWSER && 'matchMedia' in window && typeof window.matchMedia === 'function';
|
5
6
|
//# sourceMappingURL=globals.js.map
|
package/lib/util/globals.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"globals.js","names":["IN_BROWSER","window","SUPPORTS_INTERSECTION","SUPPORTS_TOUCH","navigator","maxTouchPoints","SUPPORTS_EYE_DROPPER"],"sources":["../../src/util/globals.ts"],"sourcesContent":["export const IN_BROWSER = typeof window !== 'undefined'\nexport const SUPPORTS_INTERSECTION = IN_BROWSER && 'IntersectionObserver' in window\nexport const SUPPORTS_TOUCH = IN_BROWSER && ('ontouchstart' in window || window.navigator.maxTouchPoints > 0)\nexport const SUPPORTS_EYE_DROPPER = IN_BROWSER && 'EyeDropper' in window\n"],"mappings":"AAAA,OAAO,MAAMA,UAAU,GAAG,OAAOC,MAAM,KAAK,WAAW;AACvD,OAAO,MAAMC,qBAAqB,GAAGF,UAAU,IAAI,sBAAsB,IAAIC,MAAM;AACnF,OAAO,MAAME,cAAc,GAAGH,UAAU,KAAK,cAAc,IAAIC,MAAM,IAAIA,MAAM,CAACG,SAAS,CAACC,cAAc,GAAG,CAAC,CAAC;AAC7G,OAAO,MAAMC,oBAAoB,GAAGN,UAAU,IAAI,YAAY,IAAIC,MAAM","ignoreList":[]}
|
1
|
+
{"version":3,"file":"globals.js","names":["IN_BROWSER","window","SUPPORTS_INTERSECTION","SUPPORTS_TOUCH","navigator","maxTouchPoints","SUPPORTS_EYE_DROPPER","SUPPORTS_MATCH_MEDIA","matchMedia"],"sources":["../../src/util/globals.ts"],"sourcesContent":["export const IN_BROWSER = typeof window !== 'undefined'\nexport const SUPPORTS_INTERSECTION = IN_BROWSER && 'IntersectionObserver' in window\nexport const SUPPORTS_TOUCH = IN_BROWSER && ('ontouchstart' in window || window.navigator.maxTouchPoints > 0)\nexport const SUPPORTS_EYE_DROPPER = IN_BROWSER && 'EyeDropper' in window\nexport const SUPPORTS_MATCH_MEDIA = IN_BROWSER && 'matchMedia' in window && typeof window.matchMedia === 'function'\n"],"mappings":"AAAA,OAAO,MAAMA,UAAU,GAAG,OAAOC,MAAM,KAAK,WAAW;AACvD,OAAO,MAAMC,qBAAqB,GAAGF,UAAU,IAAI,sBAAsB,IAAIC,MAAM;AACnF,OAAO,MAAME,cAAc,GAAGH,UAAU,KAAK,cAAc,IAAIC,MAAM,IAAIA,MAAM,CAACG,SAAS,CAACC,cAAc,GAAG,CAAC,CAAC;AAC7G,OAAO,MAAMC,oBAAoB,GAAGN,UAAU,IAAI,YAAY,IAAIC,MAAM;AACxE,OAAO,MAAMM,oBAAoB,GAAGP,UAAU,IAAI,YAAY,IAAIC,MAAM,IAAI,OAAOA,MAAM,CAACO,UAAU,KAAK,UAAU","ignoreList":[]}
|