dirk-cfx-react 1.1.8 → 1.1.9

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/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import React3, { createContext, useEffect, useRef, useState, useContext, useMemo
2
2
  import { create, useStore, createStore } from 'zustand';
3
3
  import axios from 'axios';
4
4
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
5
- import { Flex, Text, Image as Image$1, createTheme, Box, Code, useMantineTheme, Progress, RingProgress, Button, MantineProvider, BackgroundImage } from '@mantine/core';
5
+ import { Flex, Text, Image as Image$1, createTheme, Box, Code, useMantineTheme, alpha, Progress, RingProgress, Button, MantineProvider, BackgroundImage } from '@mantine/core';
6
6
  import { jsxs, jsx } from 'react/jsx-runtime';
7
7
  import { motion, AnimatePresence, useMotionValue } from 'framer-motion';
8
8
  import clickSoundUrl from './click_sound-PNCRRTM4.mp3';
@@ -1144,7 +1144,7 @@ function InputContainer(props) {
1144
1144
  direction: "column",
1145
1145
  h: props.h,
1146
1146
  gap: props.title ? "xs" : 0,
1147
- bg: props.bg || colorWithAlpha("var(--mantine-color-dark-9)", 0.65),
1147
+ bg: props.bg || alpha(theme2.colors.dark[9], 0.65),
1148
1148
  p: props.p || "sm",
1149
1149
  style: {
1150
1150
  borderRadius: theme2.radius.xs,