@lotte-innovate/ui-component-test 0.1.90 → 0.1.91
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +133 -133
- package/dist/globals.css +4 -4
- package/dist/lib/Typography/Header/index.mjs +1 -1
- package/dist/lib/Typography/Header/index.mjs.map +1 -1
- package/dist/lib/Typography/Text/index.mjs +1 -1
- package/dist/lib/Typography/Text/index.mjs.map +1 -1
- package/dist/lib/components/Accordion/index.mjs +1 -1
- package/dist/lib/components/Accordion/index.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -1
- package/dist/lib/components/AspectRatio/index.mjs +1 -1
- package/dist/lib/components/AspectRatio/index.mjs.map +1 -1
- package/dist/lib/components/Avatar/index.mjs +1 -1
- package/dist/lib/components/Avatar/index.mjs.map +1 -1
- package/dist/lib/components/Badge/index.mjs +1 -1
- package/dist/lib/components/Badge/index.mjs.map +1 -1
- package/dist/lib/components/BarChart/index.mjs +1 -1
- package/dist/lib/components/BarChart/index.mjs.map +1 -1
- package/dist/lib/components/BubbleChart/index.mjs +1 -1
- package/dist/lib/components/BubbleChart/index.mjs.map +1 -1
- package/dist/lib/components/Button/index.mjs +1 -1
- package/dist/lib/components/Button/index.mjs.map +1 -1
- package/dist/lib/components/Callout/CalloutIcon.mjs +1 -1
- package/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -1
- package/dist/lib/components/Callout/CalloutRoot.mjs +1 -1
- package/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -1
- package/dist/lib/components/Callout/CalloutText.mjs +1 -1
- package/dist/lib/components/Callout/CalloutText.mjs.map +1 -1
- package/dist/lib/components/Card/index.mjs +1 -1
- package/dist/lib/components/Card/index.mjs.map +1 -1
- package/dist/lib/components/Checkbox/index.mjs +1 -1
- package/dist/lib/components/Checkbox/index.mjs.map +1 -1
- package/dist/lib/components/CheckboxCard/index.mjs +1 -1
- package/dist/lib/components/CheckboxCard/index.mjs.map +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListItem.mjs +1 -1
- package/dist/lib/components/DataList/DataListItem.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListLabel.mjs +1 -1
- package/dist/lib/components/DataList/DataListLabel.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListRoot.mjs +1 -1
- package/dist/lib/components/DataList/DataListRoot.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListValue.mjs +1 -1
- package/dist/lib/components/DataList/DataListValue.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogAction.mjs +1 -1
- package/dist/lib/components/Dialog/DialogAction.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogCancel.mjs +1 -1
- package/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogContent.mjs +1 -1
- package/dist/lib/components/Dialog/DialogContent.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogDescription.mjs +1 -1
- package/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogSlot.mjs +1 -1
- package/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogTitle.mjs +1 -1
- package/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -1
- package/dist/lib/components/DoughnutChart/index.mjs +1 -1
- package/dist/lib/components/DoughnutChart/index.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -1
- package/dist/lib/components/HoverCard/HoverCardContent.mjs +1 -1
- package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -1
- package/dist/lib/components/IconButton/index.mjs +1 -1
- package/dist/lib/components/IconButton/index.mjs.map +1 -1
- package/dist/lib/components/Inset/index.mjs +1 -1
- package/dist/lib/components/Inset/index.mjs.map +1 -1
- package/dist/lib/components/Label/index.mjs +1 -1
- package/dist/lib/components/Label/index.mjs.map +1 -1
- package/dist/lib/components/LineChart/index.mjs +1 -1
- package/dist/lib/components/LineChart/index.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarContent.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarItem.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarRoot.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarSubContent.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarTrigger.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -1
- package/dist/lib/components/PieChart/index.mjs +1 -1
- package/dist/lib/components/PieChart/index.mjs.map +1 -1
- package/dist/lib/components/Popover/PopoverClose.mjs +1 -1
- package/dist/lib/components/Popover/PopoverClose.mjs.map +1 -1
- package/dist/lib/components/Popover/PopoverContent.mjs +1 -1
- package/dist/lib/components/Popover/PopoverContent.mjs.map +1 -1
- package/dist/lib/components/Progress/index.mjs +1 -1
- package/dist/lib/components/Progress/index.mjs.map +1 -1
- package/dist/lib/components/RadarChart/index.mjs +1 -1
- package/dist/lib/components/RadarChart/index.mjs.map +1 -1
- package/dist/lib/components/Radio/index.mjs +1 -1
- package/dist/lib/components/Radio/index.mjs.map +1 -1
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs +1 -1
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +1 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -1
- package/dist/lib/components/Select/index.mjs +1 -1
- package/dist/lib/components/Select/index.mjs.map +1 -1
- package/dist/lib/components/Separator/index.mjs +1 -1
- package/dist/lib/components/Separator/index.mjs.map +1 -1
- package/dist/lib/components/Skeleton/index.mjs +1 -1
- package/dist/lib/components/Skeleton/index.mjs.map +1 -1
- package/dist/lib/components/Slider/index.mjs +1 -1
- package/dist/lib/components/Slider/index.mjs.map +1 -1
- package/dist/lib/components/Spinner/index.mjs +1 -1
- package/dist/lib/components/Spinner/index.mjs.map +1 -1
- package/dist/lib/components/TabNav/index.mjs +1 -1
- package/dist/lib/components/TabNav/index.mjs.map +1 -1
- package/dist/lib/components/Table/index.mjs +1 -1
- package/dist/lib/components/Table/index.mjs.map +1 -1
- package/dist/lib/components/Tabs/index.mjs +1 -1
- package/dist/lib/components/Tabs/index.mjs.map +1 -1
- package/dist/lib/components/TextArea/index.mjs +1 -1
- package/dist/lib/components/TextArea/index.mjs.map +1 -1
- package/dist/lib/components/TextField/index.mjs +1 -1
- package/dist/lib/components/TextField/index.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastActionButton.mjs +1 -1
- package/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastDescription.mjs +1 -1
- package/dist/lib/components/Toast/ToastDescription.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastRoot.mjs +1 -1
- package/dist/lib/components/Toast/ToastRoot.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastTitle.mjs +1 -1
- package/dist/lib/components/Toast/ToastTitle.mjs.map +1 -1
- package/dist/lib/components/Toggle/ToggleWithText.mjs +1 -1
- package/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -1
- package/dist/lib/components/Toggle/index.mjs +1 -1
- package/dist/lib/components/Toggle/index.mjs.map +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -1
- package/dist/lib/components/ToggleSwitch/index.mjs +1 -1
- package/dist/lib/components/ToggleSwitch/index.mjs.map +1 -1
- package/dist/lib/components/Tooltip/index.mjs +1 -1
- package/dist/lib/components/Tooltip/index.mjs.map +1 -1
- package/dist/lib/utils/utils.mjs +1 -1
- package/dist/lib/utils/utils.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-select/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-select/dist/index.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/tab-nav.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/tab-nav.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/tabs.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/tabs.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/node_modules/@radix-ui/react-popover/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/node_modules/@radix-ui/react-popover/dist/index.mjs.map +1 -1
- package/dist/node_modules/chart.js/dist/chart.mjs +2 -2
- package/dist/node_modules/chart.js/dist/chart.mjs.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +135 -135
- package/dist/_virtual/_commonjsHelpers.mjs +0 -2
- package/dist/_virtual/_commonjsHelpers.mjs.map +0 -1
- package/dist/_virtual/index.mjs +0 -2
- package/dist/_virtual/index.mjs.map +0 -1
- package/dist/_virtual/index2.mjs +0 -2
- package/dist/_virtual/index2.mjs.map +0 -1
- package/dist/node_modules/aria-hidden/dist/es2015/index.mjs +0 -2
- package/dist/node_modules/aria-hidden/dist/es2015/index.mjs.map +0 -1
- package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.mjs +0 -8
- package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.mjs.map +0 -1
- package/dist/node_modules/class-variance-authority/dist/index.mjs +0 -2
- package/dist/node_modules/class-variance-authority/dist/index.mjs.map +0 -1
- package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs +0 -2
- package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs.map +0 -1
- package/dist/node_modules/classnames/index.mjs +0 -7
- package/dist/node_modules/classnames/index.mjs.map +0 -1
- package/dist/node_modules/clsx/dist/clsx.mjs +0 -2
- package/dist/node_modules/clsx/dist/clsx.mjs.map +0 -1
- package/dist/node_modules/get-nonce/dist/es2015/index.mjs +0 -2
- package/dist/node_modules/get-nonce/dist/es2015/index.mjs.map +0 -1
- package/dist/node_modules/react-chartjs-2/dist/index.mjs +0 -2
- package/dist/node_modules/react-chartjs-2/dist/index.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.mjs +0 -2
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.mjs +0 -2
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.mjs +0 -2
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.mjs.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/component.mjs +0 -2
- package/dist/node_modules/react-style-singleton/dist/es2015/component.mjs.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.mjs +0 -2
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.mjs.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.mjs +0 -2
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.mjs.map +0 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.mjs +0 -2
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.mjs.map +0 -1
- package/dist/node_modules/tslib/tslib.es6.mjs +0 -2
- package/dist/node_modules/tslib/tslib.es6.mjs.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.mjs +0 -2
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.mjs.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.mjs +0 -2
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.mjs.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.mjs +0 -2
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.mjs.map +0 -1
- package/dist/node_modules/use-sidecar/dist/es2015/exports.mjs +0 -2
- package/dist/node_modules/use-sidecar/dist/es2015/exports.mjs.map +0 -1
- package/dist/node_modules/use-sidecar/dist/es2015/medium.mjs +0 -2
- package/dist/node_modules/use-sidecar/dist/es2015/medium.mjs.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../node_modules/react-chartjs-2/dist/index.js"],"sourcesContent":["import React, { forwardRef, useRef, useEffect } from 'react';\nimport { Chart as Chart$1, LineController, BarController, RadarController, DoughnutController, PolarAreaController, BubbleController, PieController, ScatterController } from 'chart.js';\n\nconst defaultDatasetIdKey = \"label\";\nfunction reforwardRef(ref, value) {\n if (typeof ref === \"function\") {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}\nfunction setOptions(chart, nextOptions) {\n const options = chart.options;\n if (options && nextOptions) {\n Object.assign(options, nextOptions);\n }\n}\nfunction setLabels(currentData, nextLabels) {\n currentData.labels = nextLabels;\n}\nfunction setDatasets(currentData, nextDatasets) {\n let datasetIdKey = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : defaultDatasetIdKey;\n const addedDatasets = [];\n currentData.datasets = nextDatasets.map((nextDataset)=>{\n // given the new set, find it's current match\n const currentDataset = currentData.datasets.find((dataset)=>dataset[datasetIdKey] === nextDataset[datasetIdKey]);\n // There is no original to update, so simply add new one\n if (!currentDataset || !nextDataset.data || addedDatasets.includes(currentDataset)) {\n return {\n ...nextDataset\n };\n }\n addedDatasets.push(currentDataset);\n Object.assign(currentDataset, nextDataset);\n return currentDataset;\n });\n}\nfunction cloneData(data) {\n let datasetIdKey = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : defaultDatasetIdKey;\n const nextData = {\n labels: [],\n datasets: []\n };\n setLabels(nextData, data.labels);\n setDatasets(nextData, data.datasets, datasetIdKey);\n return nextData;\n}\n/**\n * Get dataset from mouse click event\n * @param chart - Chart.js instance\n * @param event - Mouse click event\n * @returns Dataset\n */ function getDatasetAtEvent(chart, event) {\n return chart.getElementsAtEventForMode(event.nativeEvent, \"dataset\", {\n intersect: true\n }, false);\n}\n/**\n * Get single dataset element from mouse click event\n * @param chart - Chart.js instance\n * @param event - Mouse click event\n * @returns Dataset\n */ function getElementAtEvent(chart, event) {\n return chart.getElementsAtEventForMode(event.nativeEvent, \"nearest\", {\n intersect: true\n }, false);\n}\n/**\n * Get all dataset elements from mouse click event\n * @param chart - Chart.js instance\n * @param event - Mouse click event\n * @returns Dataset\n */ function getElementsAtEvent(chart, event) {\n return chart.getElementsAtEventForMode(event.nativeEvent, \"index\", {\n intersect: true\n }, false);\n}\n\nfunction ChartComponent(props, ref) {\n const { height =150 , width =300 , redraw =false , datasetIdKey , type , data , options , plugins =[] , fallbackContent , updateMode , ...canvasProps } = props;\n const canvasRef = useRef(null);\n const chartRef = useRef();\n const renderChart = ()=>{\n if (!canvasRef.current) return;\n chartRef.current = new Chart$1(canvasRef.current, {\n type,\n data: cloneData(data, datasetIdKey),\n options: options && {\n ...options\n },\n plugins\n });\n reforwardRef(ref, chartRef.current);\n };\n const destroyChart = ()=>{\n reforwardRef(ref, null);\n if (chartRef.current) {\n chartRef.current.destroy();\n chartRef.current = null;\n }\n };\n useEffect(()=>{\n if (!redraw && chartRef.current && options) {\n setOptions(chartRef.current, options);\n }\n }, [\n redraw,\n options\n ]);\n useEffect(()=>{\n if (!redraw && chartRef.current) {\n setLabels(chartRef.current.config.data, data.labels);\n }\n }, [\n redraw,\n data.labels\n ]);\n useEffect(()=>{\n if (!redraw && chartRef.current && data.datasets) {\n setDatasets(chartRef.current.config.data, data.datasets, datasetIdKey);\n }\n }, [\n redraw,\n data.datasets\n ]);\n useEffect(()=>{\n if (!chartRef.current) return;\n if (redraw) {\n destroyChart();\n setTimeout(renderChart);\n } else {\n chartRef.current.update(updateMode);\n }\n }, [\n redraw,\n options,\n data.labels,\n data.datasets,\n updateMode\n ]);\n useEffect(()=>{\n if (!chartRef.current) return;\n destroyChart();\n setTimeout(renderChart);\n }, [\n type\n ]);\n useEffect(()=>{\n renderChart();\n return ()=>destroyChart();\n }, []);\n return /*#__PURE__*/ React.createElement(\"canvas\", Object.assign({\n ref: canvasRef,\n role: \"img\",\n height: height,\n width: width\n }, canvasProps), fallbackContent);\n}\nconst Chart = /*#__PURE__*/ forwardRef(ChartComponent);\n\nfunction createTypedChart(type, registerables) {\n Chart$1.register(registerables);\n return /*#__PURE__*/ forwardRef((props, ref)=>/*#__PURE__*/ React.createElement(Chart, Object.assign({}, props, {\n ref: ref,\n type: type\n })));\n}\nconst Line = /* #__PURE__ */ createTypedChart(\"line\", LineController);\nconst Bar = /* #__PURE__ */ createTypedChart(\"bar\", BarController);\nconst Radar = /* #__PURE__ */ createTypedChart(\"radar\", RadarController);\nconst Doughnut = /* #__PURE__ */ createTypedChart(\"doughnut\", DoughnutController);\nconst PolarArea = /* #__PURE__ */ createTypedChart(\"polarArea\", PolarAreaController);\nconst Bubble = /* #__PURE__ */ createTypedChart(\"bubble\", BubbleController);\nconst Pie = /* #__PURE__ */ createTypedChart(\"pie\", PieController);\nconst Scatter = /* #__PURE__ */ createTypedChart(\"scatter\", ScatterController);\n\nexport { Bar, Bubble, Chart, Doughnut, Line, Pie, PolarArea, Radar, Scatter, getDatasetAtEvent, getElementAtEvent, getElementsAtEvent };\n//# sourceMappingURL=index.js.map\n"],"names":["defaultDatasetIdKey","reforwardRef","ref","value","current","setLabels","currentData","nextLabels","labels","setDatasets","nextDatasets","datasetIdKey","arguments","length","addedDatasets","datasets","map","nextDataset","currentDataset","find","dataset","data","includes","push","Object","assign","cloneData","nextData","ChartComponent","props","height","width","redraw","type","options","plugins","fallbackContent","updateMode","canvasProps","canvasRef","useRef","chartRef","renderChart","Chart$1","destroyChart","destroy","useEffect","chart","nextOptions","setOptions","config","setTimeout","update","React","createElement","role","Chart","forwardRef","createTypedChart","registerables","register","Line","LineController","Bar","BarController","Radar","RadarController","Doughnut","DoughnutController","Bubble","BubbleController","Pie","PieController"],"mappings":"oPAGA,MAAMA,EAAsB,QAC5B,SAASC,EAAaC,EAAKC,GACJ,mBAARD,EACPA,EAAIC,GACGD,IACPA,EAAIE,QAAUD,EAEtB,CAOA,SAASE,EAAUC,EAAaC,GAC5BD,EAAYE,OAASD,CACzB,CACA,SAASE,EAAYH,EAAaI,GAC9B,IAAIC,EAAeC,UAAUC,OAAS,QAAsB,IAAjBD,UAAU,GAAgBA,UAAU,GAAKZ,EACpF,MAAMc,EAAgB,GACtBR,EAAYS,SAAWL,EAAaM,KAAKC,IAErC,MAAMC,EAAiBZ,EAAYS,SAASI,MAAMC,GAAUA,EAAQT,KAAkBM,EAAYN,KAElG,OAAKO,GAAmBD,EAAYI,OAAQP,EAAcQ,SAASJ,IAKnEJ,EAAcS,KAAKL,GACnBM,OAAOC,OAAOP,EAAgBD,GACvBC,GANI,IACAD,EAKU,GAE7B,CACA,SAASS,EAAUL,GACf,IAAIV,EAAeC,UAAUC,OAAS,QAAsB,IAAjBD,UAAU,GAAgBA,UAAU,GAAKZ,EACpF,MAAM2B,EAAW,CACbnB,OAAQ,GACRO,SAAU,IAId,OAFAV,EAAUsB,EAAUN,EAAKb,QACzBC,EAAYkB,EAAUN,EAAKN,SAAUJ,GAC9BgB,CACX,CAgCA,SAASC,EAAeC,EAAO3B,GAC3B,MAAM4B,OAAEA,EAAQ,IAAMC,MAAAA,EAAO,WAAMC,GAAQ,EAAKrB,aAAGA,EAAesB,KAAAA,EAAOZ,KAAAA,UAAOa,EAAOC,QAAGA,EAAS,GAAKC,gBAAAA,EAAk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B,EAAiBzB,EAAM0B,GAE5B,OADAhB,EAAQiB,SAASD,GACIF,GAAW,CAAC5B,EAAO3B,IAAoBmD,EAAMC,cAAcE,EAAOhC,OAAOC,OAAO,CAAA,EAAII,EAAO,CACxG3B,IAAKA,EACL+B,KAAMA,MAElB,CACK,MAAC4B,EAAuBH,EAAiB,OAAQI,GAChDC,EAAsBL,EAAiB,MAAOM,GAC9CC,EAAwBP,EAAiB,QAASQ,GAClDC,EAA2BT,EAAiB,WAAYU,GAExDC,EAAyBX,EAAiB,SAAUY,GACpDC,EAAsBb,EAAiB,MAAOc"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{__assign as r}from"../../../tslib/tslib.es6.mjs";import*as e from"react";import{RemoveScroll as s}from"./UI.mjs";import a from"./sidecar.mjs";var m=e.forwardRef((function(m,o){return e.createElement(s,r({},m,{ref:o,sideCar:a}))}));m.classNames=s.classNames;var o=m;export{o as default};
|
2
|
-
//# sourceMappingURL=Combination.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Combination.mjs","sources":["../../../../../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","forwardRef","props","ref","createElement","RemoveScroll","__assign","sideCar","SideCar","classNames"],"mappings":"qJAIA,IAAIA,EAAoBC,EAAMC,YAAW,SAAUC,EAAOC,GAAO,OAAQH,EAAMI,cAAcC,EAAcC,EAAS,GAAIJ,EAAO,CAAEC,IAAKA,EAAKI,QAASC,IAAa,IACjKT,EAAkBU,WAAaJ,EAAaI,WAC5C,IAAAJ,EAAeN"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{__spreadArray as e}from"../../../tslib/tslib.es6.mjs";import*as t from"react";import{RemoveScrollBar as n}from"../../../react-remove-scroll-bar/dist/es2015/component.mjs";import{styleSingleton as r}from"../../../react-style-singleton/dist/es2015/component.mjs";import{nonPassive as c}from"./aggresiveCapture.mjs";import{locationCouldBeScrolled as o,handleScroll as a}from"./handleScroll.mjs";var u=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},i=function(e){return[e.deltaX,e.deltaY]},l=function(e){return e&&"current"in e?e.current:e},s=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},f=0,d=[];function m(m){var v=t.useRef([]),p=t.useRef([0,0]),g=t.useRef(),b=t.useState(f++)[0],k=t.useState(r)[0],y=t.useRef(m);t.useEffect((function(){y.current=m}),[m]),t.useEffect((function(){if(m.inert){document.body.classList.add("block-interactivity-".concat(b));var t=e([m.lockRef.current],(m.shards||[]).map(l),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(b))})),function(){document.body.classList.remove("block-interactivity-".concat(b)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(b))}))}}}),[m.inert,m.lockRef.current,m.shards]);var E=t.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!y.current.allowPinchZoom;var n,r=u(e),c=p.current,i="deltaX"in e?e.deltaX:c[0]-r[0],l="deltaY"in e?e.deltaY:c[1]-r[1],s=e.target,f=Math.abs(i)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===f&&"range"===s.type)return!1;var d=o(f,s);if(!d)return!0;if(d?n=f:(n="v"===f?"h":"v",d=o(f,s)),!d)return!1;if(!g.current&&"changedTouches"in e&&(i||l)&&(g.current=n),!n)return!0;var m=g.current||n;return a(m,t,e,"h"===m?i:l,!0)}),[]),C=t.useCallback((function(e){var t=e;if(d.length&&d[d.length-1]===k){var n="deltaY"in t?i(t):u(t),r=v.current.filter((function(e){return e.name===t.type&&(e.target===t.target||t.target===e.shadowParent)&&(r=e.delta,c=n,r[0]===c[0]&&r[1]===c[1]);var r,c}))[0];if(r&&r.should)t.cancelable&&t.preventDefault();else if(!r){var c=(y.current.shards||[]).map(l).filter(Boolean).filter((function(e){return e.contains(t.target)}));(c.length>0?E(t,c[0]):!y.current.noIsolation)&&t.cancelable&&t.preventDefault()}}}),[]),L=t.useCallback((function(e,t,n,r){var c={name:e,delta:t,target:n,should:r,shadowParent:h(n)};v.current.push(c),setTimeout((function(){v.current=v.current.filter((function(e){return e!==c}))}),1)}),[]),w=t.useCallback((function(e){p.current=u(e),g.current=void 0}),[]),R=t.useCallback((function(e){L(e.type,i(e),e.target,E(e,m.lockRef.current))}),[]),S=t.useCallback((function(e){L(e.type,u(e),e.target,E(e,m.lockRef.current))}),[]);t.useEffect((function(){return d.push(k),m.setCallbacks({onScrollCapture:R,onWheelCapture:R,onTouchMoveCapture:S}),document.addEventListener("wheel",C,c),document.addEventListener("touchmove",C,c),document.addEventListener("touchstart",w,c),function(){d=d.filter((function(e){return e!==k})),document.removeEventListener("wheel",C,c),document.removeEventListener("touchmove",C,c),document.removeEventListener("touchstart",w,c)}}),[]);var T=m.removeScrollBar,j=m.inert;return t.createElement(t.Fragment,null,j?t.createElement(k,{styles:s(b)}):null,T?t.createElement(n,{gapMode:m.gapMode}):null)}function h(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}export{m as RemoveScrollSideCar,i as getDeltaXY,u as getTouchXY};
|
2
|
-
//# sourceMappingURL=SideEffect.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SideEffect.mjs","sources":["../../../../../node_modules/react-remove-scroll/dist/es2015/SideEffect.js"],"sourcesContent":["import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(styleSingleton)[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if ('touches' in event && event.touches.length === 2) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n if (event.cancelable) {\n event.preventDefault();\n }\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n if (event.cancelable) {\n event.preventDefault();\n }\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should, shadowParent: getOutermostShadowParent(target) };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { gapMode: props.gapMode }) : null));\n}\nfunction getOutermostShadowParent(node) {\n var shadowParent = null;\n while (node !== null) {\n if (node instanceof ShadowRoot) {\n shadowParent = node.host;\n node = node.host;\n }\n node = node.parentNode;\n }\n return shadowParent;\n}\n"],"names":["getTouchXY","event","changedTouches","clientX","clientY","getDeltaXY","deltaX","deltaY","extractRef","ref","current","generateStyle","id","concat","idCounter","lockStack","RemoveScrollSideCar","props","shouldPreventQueue","React","useRef","touchStartRef","activeAxis","useState","Style","styleSingleton","lastProps","useEffect","inert","document","body","classList","add","allow_1","__spreadArray","lockRef","shards","map","filter","Boolean","forEach","el","remove","shouldCancelEvent","useCallback","parent","touches","length","allowPinchZoom","currentAxis","touch","touchStart","target","moveDirection","Math","abs","type","canBeScrolledInMainDirection","locationCouldBeScrolled","cancelingAxis","handleScroll","shouldPrevent","_event","delta","sourceEvent","e","name","shadowParent","x","y","should","cancelable","preventDefault","shardNodes","node","contains","noIsolation","shouldCancel","getOutermostShadowParent","push","setTimeout","scrollTouchStart","undefined","scrollWheel","scrollTouchMove","setCallbacks","onScrollCapture","onWheelCapture","onTouchMoveCapture","addEventListener","nonPassive","inst","removeEventListener","removeScrollBar","createElement","Fragment","styles","RemoveScrollBar","gapMode","ShadowRoot","host","parentNode"],"mappings":"+YAMU,IAACA,EAAa,SAAUC,GAC9B,MAAO,mBAAoBA,EAAQ,CAACA,EAAMC,eAAe,GAAGC,QAASF,EAAMC,eAAe,GAAGE,SAAW,CAAC,EAAG,EAChH,EACWC,EAAa,SAAUJ,GAAS,MAAO,CAACA,EAAMK,OAAQL,EAAMM,OAAW,EAC9EC,EAAa,SAAUC,GACvB,OAAOA,GAAO,YAAaA,EAAMA,EAAIC,QAAUD,CACnD,EAEIE,EAAgB,SAAUC,GAAM,MAAO,4BAA4BC,OAAOD,EAAI,qDAAqDC,OAAOD,EAAI,4BAA6B,EAC3KE,EAAY,EACZC,EAAY,GACT,SAASC,EAAoBC,GAChC,IAAIC,EAAqBC,EAAMC,OAAO,IAClCC,EAAgBF,EAAMC,OAAO,CAAC,EAAG,IACjCE,EAAaH,EAAMC,SACnBR,EAAKO,EAAMI,SAAST,KAAa,GACjCU,EAAQL,EAAMI,SAASE,GAAgB,GACvCC,EAAYP,EAAMC,OAAOH,GAC7BE,EAAMQ,WAAU,WACZD,EAAUhB,QAAUO,CAC5B,GAAO,CAACA,IACJE,EAAMQ,WAAU,WACZ,GAAIV,EAAMW,MAAO,CACbC,SAASC,KAAKC,UAAUC,IAAI,uBAAuBnB,OAAOD,IAC1D,IAAIqB,EAAUC,EAAc,CAACjB,EAAMkB,QAAQzB,UAAWO,EAAMmB,QAAU,IAAIC,IAAI7B,IAAa,GAAM8B,OAAOC,SAExG,OADAN,EAAQO,SAAQ,S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.mjs";import*as o from"react";import{fullWidthClassName as a,zeroRightClassName as l}from"../../../react-remove-scroll-bar/dist/es2015/constants.mjs";import{effectCar as s}from"./medium.mjs";import{useMergeRefs as t}from"../../../use-callback-ref/dist/es2015/useMergeRef.mjs";var n=function(){},m=o.forwardRef((function(a,l){var m=o.useRef(null),i=o.useState({onScrollCapture:n,onWheelCapture:n,onTouchMoveCapture:n}),c=i[0],d=i[1],f=a.forwardProps,u=a.children,p=a.className,h=a.removeScrollBar,v=a.enabled,b=a.shards,C=a.sideCar,g=a.noIsolation,w=a.inert,P=a.allowPinchZoom,S=a.as,M=void 0===S?"div":S,R=a.gapMode,j=e(a,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),B=C,E=t([m,l]),N=r(r({},j),c);return o.createElement(o.Fragment,null,v&&o.createElement(B,{sideCar:s,removeScrollBar:h,shards:b,noIsolation:g,inert:w,setCallbacks:d,allowPinchZoom:!!P,lockRef:m,gapMode:R}),f?o.cloneElement(o.Children.only(u),r(r({},N),{ref:E})):o.createElement(M,r({},N,{className:p,ref:E}),u))}));m.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},m.classNames={fullWidth:a,zeroRight:l};export{m as RemoveScroll};
|
2
|
-
//# sourceMappingURL=UI.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"UI.mjs","sources":["../../../../../node_modules/react-remove-scroll/dist/es2015/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"names":["nothing","RemoveScroll","React","forwardRef","props","parentRef","ref","useRef","_a","useState","onScrollCapture","onWheelCapture","onTouchMoveCapture","callbacks","setCallbacks","forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","_b","as","Container","gapMode","rest","__rest","SideCar","containerRef","useMergeRefs","containerProps","__assign","createElement","Fragment","effectCar","lockRef","cloneElement","Children","only","defaultProps","classNames","fullWidth","fullWidthClassName","zeroRight","zeroRightClassName"],"mappings":"kVAKA,IAAIA,EAAU,WAEd,EAIIC,EAAeC,EAAMC,YAAW,SAAUC,EAAOC,GACjD,IA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,2 +0,0 @@
|
|
1
|
-
var e=!1;if("undefined"!=typeof window)try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){e=!1}var n=!!e&&{passive:!1};export{n as nonPassive};
|
2
|
-
//# sourceMappingURL=aggresiveCapture.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"aggresiveCapture.mjs","sources":["../../../../../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"names":["passiveSupported","window","options","Object","defineProperty","get","addEventListener","removeEventListener","err","nonPassive","passive"],"mappings":"AAAA,IAAIA,GAAmB,EACvB,GAAsB,oBAAXC,OACP,IACI,IAAIC,EAAUC,OAAOC,eAAe,CAAA,EAAI,UAAW,CAC/CC,IAAK,WAED,OADAL,GAAmB,GACZ,CACV,IAGLC,OAAOK,iBAAiB,OAAQJ,EAASA,GAEzCD,OAAOM,oBAAoB,OAAQL,EAASA,EAC/C,CACD,MAAOM,GACHR,GAAmB,CACtB,CAEK,IAACS,IAAaT,GAAmB,CAAEU,SAAS"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
var t=function(t,o){var n=window.getComputedStyle(t);return"hidden"!==n[o]&&!(n.overflowY===n.overflowX&&!function(t){return"TEXTAREA"===t.tagName}(t)&&"visible"===n[o])},o=function(t,o){var r=o.ownerDocument,i=o;do{if("undefined"!=typeof ShadowRoot&&i instanceof ShadowRoot&&(i=i.host),n(t,i)){var u=e(t,i);if(u[1]>u[2])return!0}i=i.parentNode}while(i&&i!==r.body);return!1},n=function(o,n){return"v"===o?function(o){return t(o,"overflowY")}(n):function(o){return t(o,"overflowX")}(n)},e=function(t,o){return"v"===t?[(n=o).scrollTop,n.scrollHeight,n.clientHeight]:function(t){return[t.scrollLeft,t.scrollWidth,t.clientWidth]}(o);var n},r=function(t,o,r,i,u){var a=function(t,o){return"h"===t&&"rtl"===o?-1:1}(t,window.getComputedStyle(o).direction),c=a*i,d=r.target,f=o.contains(d),l=!1,h=c>0,v=0,w=0;do{var s=e(t,d),p=s[0],g=s[1]-s[2]-a*p;(p||g)&&n(t,d)&&(v+=g,w+=p),d=d instanceof ShadowRoot?d.host:d.parentNode}while(!f&&d!==document.body||f&&(o.contains(d)||o===d));return(h&&(u&&Math.abs(v)<1||!u&&c>v)||!h&&(u&&Math.abs(w)<1||!u&&-c>w))&&(l=!0),l};export{r as handleScroll,o as locationCouldBeScrolled};
|
2
|
-
//# sourceMappingURL=handleScroll.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"handleScroll.mjs","sources":["../../../../../node_modules/react-remove-scroll/dist/es2015/handleScroll.js"],"sourcesContent":["var alwaysContainsScroll = function (node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\nvar elementCanBeScrolled = function (node, overflow) {\n var styles = window.getComputedStyle(node);\n return (\n // not-not-scrollable\n styles[overflow] !== 'hidden' &&\n // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible'));\n};\nvar elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };\nvar elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };\nexport var locationCouldBeScrolled = function (axis, node) {\n var ownerDocument = node.ownerDocument;\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), s = _a[1], d = _a[2];\n if (s > d) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== ownerDocument.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n if (target instanceof ShadowRoot) {\n target = target.host;\n }\n else {\n target = target.parentNode;\n }\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n // handle epsilon around 0 (non standard zoom levels)\n if (isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n"],"names":["elementCanBeScrolled","node","overflow","styles","window","getComputedStyle","overflowY","overflowX","tagName","alwaysContainsScroll","locationCouldBeScrolled","axis","ownerDocument","current","ShadowRoot","host","elementCouldBeScrolled","_a","getScrollVariables","parentNode","body","elementCouldBeVScrolled","elementCouldBeHScrolled","scrollTop","scrollHeight","clientHeight","scrollLeft","scrollWidth","clientWidth","getHScrollVariables","handleScroll","endTarget","event","sourceDelta","noOverscroll","directionFactor","direction","getDirectionFactor","delta","target","targetInLock","contains","shouldCancelScroll","isDeltaPositive","availableScroll","availableScrollTop","position","elementScroll","document","Math","abs"],"mappings":"AAAA,IAIIA,EAAuB,SAAUC,EAAMC,GACvC,IAAIC,EAASC,OAAOC,iBAAiBJ,GACrC,MAEqB,WAArBE,EAAOD,MAEDC,EAAOG,YAAcH,EAAOI,YAVX,SAAUN,GAEjC,MAAwB,aAAjBA,EAAKO,OAChB,CAOoDC,CAAqBR,IAA8B,YAArBE,EAAOD,GACzF,EAGWQ,EAA0B,SAAUC,EAAMV,GACjD,IAAIW,EAAgBX,EAAKW,cACrBC,EAAUZ,EACd,EAAG,CAMC,GAJ0B,oBAAfa,YAA8BD,aAAmBC,aACxDD,EAAUA,EAAQE,MAEHC,EAAuBL,EAAME,GAC9B,CACd,IAAII,EAAKC,EAAmBP,EAAME,GAClC,GADgDI,EAAG,GAAQA,EAAG,GAE1D,OAAO,CAEd,CACDJ,EAAUA,EAAQM,UACrB,OAAQN,GAAWA,IAAYD,EAAcQ,MAC9C,OAAO,CACX,EAiBIJ,EAAyB,SAAUL,EAAMV,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@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"medium.mjs","sources":["../../../../../node_modules/react-remove-scroll/dist/es2015/medium.js"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":["effectCar","createSidecarMedium"],"mappings":"kFACU,IAACA,EAAYC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"sidecar.mjs","sources":["../../../../../node_modules/react-remove-scroll/dist/es2015/sidecar.js"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":["SideCar","exportSidecar","effectCar","RemoveScrollSideCar"],"mappings":"6KAGA,IAAAA,EAAeC,EAAcC,EAAWC"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import*as n from"react";import{styleSingleton as t}from"../../../react-style-singleton/dist/es2015/component.mjs";import{noScrollbarsClassName as o,zeroRightClassName as c,fullWidthClassName as a,removedBarSizeVariable as r}from"./constants.mjs";import{getGapWidth as i}from"./utils.mjs";var e=t(),p=function(n,t,i,e){var p=n.left,g=n.top,m=n.right,d=n.gap;return void 0===i&&(i="margin"),"\n .".concat(o," {\n overflow: hidden ").concat(e,";\n padding-right: ").concat(d,"px ").concat(e,";\n }\n body {\n overflow: hidden ").concat(e,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(e,";"),"margin"===i&&"\n padding-left: ".concat(p,"px;\n padding-top: ").concat(g,"px;\n padding-right: ").concat(m,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(d,"px ").concat(e,";\n "),"padding"===i&&"padding-right: ".concat(d,"px ").concat(e,";")].filter(Boolean).join(""),"\n }\n \n .").concat(c," {\n right: ").concat(d,"px ").concat(e,";\n }\n \n .").concat(a," {\n margin-right: ").concat(d,"px ").concat(e,";\n }\n \n .").concat(c," .").concat(c," {\n right: 0 ").concat(e,";\n }\n \n .").concat(a," .").concat(a," {\n margin-right: 0 ").concat(e,";\n }\n \n body {\n ").concat(r,": ").concat(d,"px;\n }\n")},g=function(t){var o=t.noRelative,c=t.noImportant,a=t.gapMode,r=void 0===a?"margin":a,g=n.useMemo((function(){return i(r)}),[r]);return n.createElement(e,{styles:p(g,!o,r,c?"":"!important")})};export{g as RemoveScrollBar};
|
2
|
-
//# sourceMappingURL=component.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"component.mjs","sources":["../../../../../node_modules/react-remove-scroll-bar/dist/es2015/component.js"],"sourcesContent":["import * as React from 'react';\nimport { styleSingleton } from 'react-style-singleton';\nimport { fullWidthClassName, zeroRightClassName, noScrollbarsClassName, removedBarSizeVariable } from './constants';\nimport { getGapWidth } from './utils';\nvar Style = styleSingleton();\n// important tip - once we measure scrollBar width and remove them\n// we could not repeat this operation\n// thus we are using style-singleton - only the first \"yet correct\" style will be applied.\nvar getStyles = function (_a, allowRelative, gapMode, important) {\n var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;\n if (gapMode === void 0) { gapMode = 'margin'; }\n return \"\\n .\".concat(noScrollbarsClassName, \" {\\n overflow: hidden \").concat(important, \";\\n padding-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n body {\\n overflow: hidden \").concat(important, \";\\n overscroll-behavior: contain;\\n \").concat([\n allowRelative && \"position: relative \".concat(important, \";\"),\n gapMode === 'margin' &&\n \"\\n padding-left: \".concat(left, \"px;\\n padding-top: \").concat(top, \"px;\\n padding-right: \").concat(right, \"px;\\n margin-left:0;\\n margin-top:0;\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n \"),\n gapMode === 'padding' && \"padding-right: \".concat(gap, \"px \").concat(important, \";\"),\n ]\n .filter(Boolean)\n .join(''), \"\\n }\\n \\n .\").concat(zeroRightClassName, \" {\\n right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" {\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(zeroRightClassName, \" .\").concat(zeroRightClassName, \" {\\n right: 0 \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" .\").concat(fullWidthClassName, \" {\\n margin-right: 0 \").concat(important, \";\\n }\\n \\n body {\\n \").concat(removedBarSizeVariable, \": \").concat(gap, \"px;\\n }\\n\");\n};\n/**\n * Removes page scrollbar and blocks page scroll when mounted\n */\nexport var RemoveScrollBar = function (props) {\n var noRelative = props.noRelative, noImportant = props.noImportant, _a = props.gapMode, gapMode = _a === void 0 ? 'margin' : _a;\n /*\n gap will be measured on every component mount\n however it will be used only by the \"first\" invocation\n due to singleton nature of <Style\n */\n var gap = React.useMemo(function () { return getGapWidth(gapMode); }, [gapMode]);\n return React.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? '!important' : '') });\n};\n"],"names":["Style","styleSingleton","getStyles","_a","allowRelative","gapMode","important","left","top","right","gap","concat","noScrollbarsClassName","filter","Boolean","join","zeroRightClassName","fullWidthClassName","removedBarSizeVariable","RemoveScrollBar","props","noRelative","noImportant","React","useMemo","getGapWidth","createElement","styles"],"mappings":"gSAIA,IAAIA,EAAQC,IAIRC,EAAY,SAAUC,EAAIC,EAAeC,EAASC,GAClD,IAAIC,EAAOJ,EAAGI,KAAMC,EAAML,EAAGK,IAAKC,EAAQN,EAAGM,MAAOC,EAAMP,EAAGO,IAE7D,YADgB,IAAZL,IAAsBA,EAAU,UAC7B,QAAQM,OAAOC,EAAuB,4BAA4BD,OAAOL,EAAW,yBAAyBK,OAAOD,EAAK,OAAOC,OAAOL,EAAW,2CAA2CK,OAAOL,EAAW,8CAA8CK,OAAO,CACvQP,GAAiB,sBAAsBO,OAAOL,EAAW,KAC7C,WAAZD,GACI,uBAAuBM,OAAOJ,EAAM,0BAA0BI,OAAOH,EAAK,4BAA4BG,OAAOF,EAAO,kEAAkEE,OAAOD,EAAK,OAAOC,OAAOL,EAAW,WACnN,YAAZD,GAAyB,kBAAkBM,OAAOD,EAAK,OAAOC,OAAOL,EAAW,MAE/EO,OAAOC,SACPC,KAAK,IAAK,kBAAkBJ,OAAOK,EAAoB,mBAAmBL,OAAOD,EAAK,OAAOC,OAAOL,EAAW,mBAAmBK,OAAOM,EAAoB,0BAA0BN,OAAOD,EAAK,OAAOC,OAAOL,EAAW,mBAAmBK,OAAOK,EAAoB,MAAML,OAAOK,EAAoB,qBAAqBL,OAAOL,EAAW,mBAAmBK,OAAOM,EAAoB,MAAMN,OAAOM,EAAoB,4BAA4BN,OAAOL,EAAW,8BAA8BK,OAAOO,EAAwB,MAAMP,OAAOD,EAAK,aACviB,EAIWS,EAAkB,SAAUC,GACnC,IAAIC,EAAaD,EAAMC,WAAYC,EAAcF,EAAME,YAAanB,EAAKiB,EAAMf,QAASA,OAAiB,IAAPF,EAAgB,SAAWA,EAMzHO,EAAMa,EAAMC,SAAQ,WAAc,OAAOC,EAAYpB,EAAS,GAAI,CAACA,IACvE,OAAOkB,EAAMG,cAAc1B,EAAO,CAAE2B,OAAQzB,EAAUQ,GAAMW,EAAYhB,EAAUiB,EAA6B,GAAf,eACpG"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"constants.mjs","sources":["../../../../../node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":["zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable"],"mappings":"AAAU,IAACA,EAAqB,4BACrBC,EAAqB,0BACrBC,EAAwB,0BAKxBC,EAAyB"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
var n={left:0,top:0,right:0,gap:0},t=function(n){return parseInt(n||"",10)||0},i=function(i){if(void 0===i&&(i="margin"),"undefined"==typeof window)return n;var d=function(n){var i=window.getComputedStyle(document.body),d=i["padding"===n?"paddingLeft":"marginLeft"],e=i["padding"===n?"paddingTop":"marginTop"],r=i["padding"===n?"paddingRight":"marginRight"];return[t(d),t(e),t(r)]}(i),e=document.documentElement.clientWidth,r=window.innerWidth;return{left:d[0],top:d[1],right:d[2],gap:Math.max(0,r-e+d[2]-d[0])}};export{i as getGapWidth,n as zeroGap};
|
2
|
-
//# sourceMappingURL=utils.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"utils.mjs","sources":["../../../../../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","left","top","right","gap","parse","x","parseInt","getGapWidth","gapMode","window","offsets","cs","getComputedStyle","document","body","getOffset","documentWidth","documentElement","clientWidth","windowWidth","innerWidth","Math","max"],"mappings":"AAAU,IAACA,EAAU,CACjBC,KAAM,EACNC,IAAK,EACLC,MAAO,EACPC,IAAK,GAELC,EAAQ,SAAUC,GAAK,OAAOC,SAASD,GAAK,GAAI,KAAO,GAQhDE,EAAc,SAAUC,GAE/B,QADgB,IAAZA,IAAsBA,EAAU,UACd,oBAAXC,OACP,OAAOV,EAEX,IAAIW,EAZQ,SAAUF,GACtB,IAAIG,EAAKF,OAAOG,iBAAiBC,SAASC,MACtCd,EAAOW,EAAe,YAAZH,EAAwB,cAAgB,cAClDP,EAAMU,EAAe,YAAZH,EAAwB,aAAe,aAChDN,EAAQS,EAAe,YAAZH,EAAwB,eAAiB,eACxD,MAAO,CAACJ,EAAMJ,GAAOI,EAAMH,GAAMG,EAAMF,GAC3C,CAMkBa,CAAUP,GACpBQ,EAAgBH,SAASI,gBAAgBC,YACzCC,EAAcV,OAAOW,WACzB,MAAO,CACHpB,KAAMU,EAAQ,GACdT,IAAKS,EAAQ,GACbR,MAAOQ,EAAQ,GACfP,IAAKkB,KAAKC,IAAI,EAAGH,EAAcH,EAAgBN,EAAQ,GAAKA,EAAQ,IAE5E"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"component.mjs","sources":["../../../../../node_modules/react-style-singleton/dist/es2015/component.js"],"sourcesContent":["import { styleHookSingleton } from './hook';\n/**\n * create a Component to add styles on demand\n * - styles are added when first instance is mounted\n * - styles are removed when the last instance is unmounted\n * - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior\n */\nexport var styleSingleton = function () {\n var useStyle = styleHookSingleton();\n var Sheet = function (_a) {\n var styles = _a.styles, dynamic = _a.dynamic;\n useStyle(styles, dynamic);\n return null;\n };\n return Sheet;\n};\n"],"names":["styleSingleton","useStyle","styleHookSingleton","_a","styles","dynamic"],"mappings":"gDAOU,IAACA,EAAiB,WACxB,IAAIC,EAAWC,IAMf,OALY,SAAUC,GAClB,IAAIC,EAASD,EAAGC,OAAQC,EAAUF,EAAGE,QAErC,OADAJ,EAASG,EAAQC,GACV,IACf,CAEA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"hook.mjs","sources":["../../../../../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React","useEffect","add","remove"],"mappings":"8EAWU,IAACA,EAAqB,WAC5B,IAAIC,EAAQC,IACZ,OAAO,SAAUC,EAAQC,GACrBC,EAAMC,WAAU,WAEZ,OADAL,EAAMM,IAAIJ,GACH,WACHF,EAAMO,QACtB,CACA,GAAW,CAACL,GAAUC,GACtB,CACA"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{getNonce as e}from"../../../get-nonce/dist/es2015/index.mjs";var t=function(){var t=0,n=null;return{add:function(r){var o,d;0==t&&(n=function(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var n=e();return n&&t.setAttribute("nonce",n),t}())&&(d=r,(o=n).styleSheet?o.styleSheet.cssText=d:o.appendChild(document.createTextNode(d)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(n)),t++},remove:function(){! --t&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}};export{t as stylesheetSingleton};
|
2
|
-
//# sourceMappingURL=singleton.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"singleton.mjs","sources":["../../../../../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["stylesheetSingleton","counter","stylesheet","add","style","tag","css","document","createElement","type","nonce","getNonce","setAttribute","makeStyleTag","styleSheet","cssText","appendChild","createTextNode","head","getElementsByTagName","insertStyleTag","remove","parentNode","removeChild"],"mappings":"oEA0BU,IAACA,EAAsB,WAC7B,IAAIC,EAAU,EACVC,EAAa,KACjB,MAAO,CACHC,IAAK,SAAUC,GAlBvB,IAAsBC,EAAKC,EAmBA,GAAXL,IACKC,EA/BrB,WACI,IAAKK,SACD,OAAO,KACX,IAAIF,EAAME,SAASC,cAAc,SACjCH,EAAII,KAAO,WACX,IAAIC,EAAQC,IAIZ,OAHID,GACAL,EAAIO,aAAa,QAASF,GAEvBL,CACX,CAqBkCQ,MApBPP,EAqBkBF,GArBvBC,EAqBWH,GAnBrBY,WAEJT,EAAIS,WAAWC,QAAUT,EAGzBD,EAAIW,YAAYT,SAASU,eAAeX,IAGhD,SAAwBD,IACTE,SAASW,MAAQX,SAASY,qBAAqB,QAAQ,IAC7DH,YAAYX,EACrB,CASoBe,CAAelB,IAGvBD,GACH,EACDoB,OAAQ,eACJpB,GACgBC,IACZA,EAAWoB,YAAcpB,EAAWoB,WAAWC,YAAYrB,GAC3DA,EAAa,KAEpB,EAET"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
const e="-";function r(r){const l=function(e){const{theme:r,prefix:o}=e,t={nextPart:new Map,validators:[]},l=function(e,r){if(!r)return e;return e.map((([e,o])=>[e,o.map((e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,o])=>[r+e,o]))):e))]))}(Object.entries(e.classGroups),o);return l.forEach((([e,o])=>{n(o,t,e,r)})),t}(r),{conflictingClassGroups:s,conflictingClassGroupModifiers:i}=r;return{getClassGroupId:function(r){const n=r.split(e);return""===n[0]&&1!==n.length&&n.shift(),o(n,l)||function(e){if(t.test(e)){const r=t.exec(e)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}}(r)},getConflictingClassGroupIds:function(e,r){const o=s[e]||[];return r&&i[e]?[...o,...i[e]]:o}}}function o(r,t){if(0===r.length)return t.classGroupId;const n=r[0],l=t.nextPart.get(n),s=l?o(r.slice(1),l):void 0;if(s)return s;if(0===t.validators.length)return;const i=r.join(e);return t.validators.find((({validator:e})=>e(i)))?.classGroupId}const t=/^\[(.+)\]$/;function n(e,r,o,t){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void n(e(t),r,o,t):void r.validators.push({validator:e,classGroupId:o});Object.entries(e).forEach((([e,s])=>{n(s,l(r,e),o,t)}))}else{(""===e?r:l(r,e)).classGroupId=o}}))}function l(r,o){let t=r;return o.split(e).forEach((e=>{t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)})),t}function s(e){if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,t=new Map;function n(n,l){o.set(n,l),r++,r>e&&(r=0,t=o,o=new Map)}return{get(e){let r=o.get(e);return void 0!==r?r:void 0!==(r=t.get(e))?(n(e,r),r):void 0},set(e,r){o.has(e)?o.set(e,r):n(e,r)}}}const i="!";function a(e){const r=e.separator,o=1===r.length,t=r[0],n=r.length;return function(e){const l=[];let s,a=0,c=0;for(let i=0;i<e.length;i++){let d=e[i];if(0===a){if(d===t&&(o||e.slice(i,i+n)===r)){l.push(e.slice(c,i)),c=i+n;continue}if("/"===d){s=i;continue}}"["===d?a++:"]"===d&&a--}const d=0===l.length?e:e.substring(c),u=d.startsWith(i);return{modifiers:l,hasImportantModifier:u,baseClassName:u?d.substring(1):d,maybePostfixModifierPosition:s&&s>c?s-c:void 0}}}const c=/\s+/;function d(){let e,r,o=0,t="";for(;o<arguments.length;)(e=arguments[o++])&&(r=u(e))&&(t&&(t+=" "),t+=r);return t}function u(e){if("string"==typeof e)return e;let r,o="";for(let t=0;t<e.length;t++)e[t]&&(r=u(e[t]))&&(o&&(o+=" "),o+=r);return o}function p(e,...o){let t,n,l,u=function(i){const c=o.reduce(((e,r)=>r(e)),e());return t=function(e){return{cache:s(e.cacheSize),splitModifiers:a(e),...r(e)}}(c),n=t.cache.get,l=t.cache.set,u=p,p(i)};function p(e){const r=n(e);if(r)return r;const o=function(e,r){const{splitModifiers:o,getClassGroupId:t,getConflictingClassGroupIds:n}=r,l=new Set;return e.trim().split(c).map((e=>{const{modifiers:r,hasImportantModifier:n,baseClassName:l,maybePostfixModifierPosition:s}=o(e);let a=t(s?l.substring(0,s):l),c=Boolean(s);if(!a){if(!s)return{isTailwindClass:!1,originalClassName:e};if(a=t(l),!a)return{isTailwindClass:!1,originalClassName:e};c=!1}const d=function(e){if(e.length<=1)return e;const r=[];let o=[];return e.forEach((e=>{"["===e[0]?(r.push(...o.sort(),e),o=[]):o.push(e)})),r.push(...o.sort()),r}(r).join(":");return{isTailwindClass:!0,modifierId:n?d+i:d,classGroupId:a,originalClassName:e,hasPostfixModifier:c}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:r,classGroupId:o,hasPostfixModifier:t}=e,s=r+o;return!l.has(s)&&(l.add(s),n(o,t).forEach((e=>l.add(r+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}(e,t);return l(e,o),o}return function(){return u(d.apply(null,arguments))}}function b(e){const r=r=>r[e]||[];return r.isThemeGetter=!0,r}const f=/^\[(?:([a-z-]+):)?(.+)\]$/i,m=/^\d+\/\d+$/,g=new Set(["px","full","screen"]),h=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,x=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,y=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,v=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,w=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function k(e){return C(e)||g.has(e)||m.test(e)}function z(e){return W(e,"length",B)}function C(e){return Boolean(e)&&!Number.isNaN(Number(e))}function j(e){return W(e,"number",C)}function G(e){return Boolean(e)&&Number.isInteger(Number(e))}function I(e){return e.endsWith("%")&&C(e.slice(0,-1))}function M(e){return f.test(e)}function P(e){return h.test(e)}const N=new Set(["length","size","percentage"]);function S(e){return W(e,N,q)}function E(e){return W(e,"position",q)}const $=new Set(["image","url"]);function T(e){return W(e,$,A)}function O(e){return W(e,"",_)}function R(){return!0}function W(e,r,o){const t=f.exec(e);return!!t&&(t[1]?"string"==typeof r?t[1]===r:r.has(t[1]):o(t[2]))}function B(e){return x.test(e)&&!y.test(e)}function q(){return!1}function _(e){return v.test(e)}function A(e){return w.test(e)}function D(){const e=b("colors"),r=b("spacing"),o=b("blur"),t=b("brightness"),n=b("borderColor"),l=b("borderRadius"),s=b("borderSpacing"),i=b("borderWidth"),a=b("contrast"),c=b("grayscale"),d=b("hueRotate"),u=b("invert"),p=b("gap"),f=b("gradientColorStops"),m=b("gradientColorStopPositions"),g=b("inset"),h=b("margin"),x=b("opacity"),y=b("padding"),v=b("saturate"),w=b("scale"),N=b("sepia"),$=b("skew"),W=b("space"),B=b("translate"),q=()=>["auto",M,r],_=()=>[M,r],A=()=>["",k,z],D=()=>["auto",C,M],F=()=>["","0",M],H=()=>[C,j],J=()=>[C,M];return{cacheSize:500,separator:":",theme:{colors:[R],spacing:[k,z],blur:["none","",P,M],brightness:H(),borderColor:[e],borderRadius:["none","","full",P,M],borderSpacing:_(),borderWidth:A(),contrast:H(),grayscale:F(),hueRotate:J(),invert:F(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[I,z],inset:q(),margin:q(),opacity:H(),padding:_(),saturate:H(),scale:H(),sepia:F(),skew:J(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",M]}],container:["container"],columns:[{columns:[P]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",M]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",G,M]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",M]}],grow:[{grow:F()}],shrink:[{shrink:F()}],order:[{order:["first","last","none",G,M]}],"grid-cols":[{"grid-cols":[R]}],"col-start-end":[{col:["auto",{span:["full",G,M]},M]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[R]}],"row-start-end":[{row:["auto",{span:[G,M]},M]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",M]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",M]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[W]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[W]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",M,r]}],"min-w":[{"min-w":[M,r,"min","max","fit"]}],"max-w":[{"max-w":[M,r,"none","full","min","max","fit","prose",{screen:[P]},P]}],h:[{h:[M,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[M,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[M,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[M,r,"auto","min","max","fit"]}],"font-size":[{text:["base",P,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",j]}],"font-family":[{font:[R]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",M]}],"line-clamp":[{"line-clamp":["none",C,j]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",k,M]}],"list-image":[{"list-image":["none",M]}],"list-style-type":[{list:["none","disc","decimal",M]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",k,z]}],"underline-offset":[{"underline-offset":["auto",k,M]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",M]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",M]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",E]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",S]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},T]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[k,M]}],"outline-w":[{outline:[k,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:A()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[k,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",P,O]}],"shadow-color":[{shadow:[R]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[t]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",P,M]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[v]}],sepia:[{sepia:[N]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[t]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[N]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",M]}],duration:[{duration:J()}],ease:[{ease:["linear","in","out","in-out",M]}],delay:[{delay:J()}],animate:[{animate:["none","spin","ping","pulse","bounce",M]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[G,M]}],"translate-x":[{"translate-x":[B]}],"translate-y":[{"translate-y":[B]}],"skew-x":[{"skew-x":[$]}],"skew-y":[{"skew-y":[$]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",M]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",M]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",M]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[k,z,j]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const F=p(D);export{p as createTailwindMerge,b as fromTheme,D as getDefaultConfig,d as twJoin,F as twMerge};
|
2
|
-
//# sourceMappingURL=bundle-mjs.mjs.map
|