update deps
This commit is contained in:
		@@ -1,5 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
    "presets": [
 | 
			
		||||
        "@babel/preset-env"
 | 
			
		||||
    ]
 | 
			
		||||
}
 | 
			
		||||
@@ -1,16 +1,26 @@
 | 
			
		||||
@import "tailwindcss/base";
 | 
			
		||||
@import "tailwindcss/components";
 | 
			
		||||
@import "tailwindcss/utilities";
 | 
			
		||||
@import "tailwindcss" source("../..");
 | 
			
		||||
 | 
			
		||||
$fa-font-path: "@fortawesome/fontawesome-free/webfonts";
 | 
			
		||||
@import "@fortawesome/fontawesome-free/scss/fontawesome";
 | 
			
		||||
@import "@fortawesome/fontawesome-free/scss/regular";
 | 
			
		||||
@import "@fortawesome/fontawesome-free/scss/solid";
 | 
			
		||||
@import "@fortawesome/fontawesome-free/scss/brands";
 | 
			
		||||
@theme {
 | 
			
		||||
  --color-primary-50: oklch(0.985 0.002 247.839);
 | 
			
		||||
  --color-primary-100: oklch(0.967 0.003 264.542);
 | 
			
		||||
  --color-primary-200: oklch(0.928 0.006 264.531);
 | 
			
		||||
  --color-primary-300: oklch(0.872 0.01 258.338);
 | 
			
		||||
  --color-primary-400: oklch(0.707 0.022 261.325);
 | 
			
		||||
  --color-primary-500: oklch(0.551 0.027 264.364);
 | 
			
		||||
  --color-primary-600: oklch(0.446 0.03 256.802);
 | 
			
		||||
  --color-primary-700: oklch(0.373 0.034 259.733);
 | 
			
		||||
  --color-primary-800: oklch(0.278 0.033 256.848);
 | 
			
		||||
  --color-primary-900: oklch(0.21 0.034 264.665);
 | 
			
		||||
  --color-primary-950: oklch(0.13 0.028 261.692);
 | 
			
		||||
 | 
			
		||||
@import "slim-select/styles";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@import "components";
 | 
			
		||||
@import "@fortawesome/fontawesome-free/css/fontawesome" source("../..");
 | 
			
		||||
@import "@fortawesome/fontawesome-free/css/regular" source("../..");
 | 
			
		||||
@import "@fortawesome/fontawesome-free/css/solid" source("../..");
 | 
			
		||||
@import "@fortawesome/fontawesome-free/css/brands" source("../..");
 | 
			
		||||
 | 
			
		||||
@import "slim-select/styles" source("../..");
 | 
			
		||||
 | 
			
		||||
/* fix firefox scrollbars */
 | 
			
		||||
* {
 | 
			
		||||
@@ -155,18 +165,68 @@ $fa-font-path: "@fortawesome/fontawesome-free/webfonts";
 | 
			
		||||
  100% { opacity: 0; }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.ss-main {
 | 
			
		||||
  @apply input;
 | 
			
		||||
/* components */
 | 
			
		||||
.input, .ss-main, .ss-content, .ss-search input[type="search"] {
 | 
			
		||||
  @apply px-4 py-2 rounded-lg border focus:outline-hidden;
 | 
			
		||||
  @apply shadow-sm focus:shadow-lg;
 | 
			
		||||
  @apply transition-all duration-300 ease-in-out;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.input-primary {
 | 
			
		||||
  @apply border-primary-500 hover:border-primary-600 active:border-primary-600;
 | 
			
		||||
  @apply text-black;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.checkbox {
 | 
			
		||||
  -ms-transform: scale(1.5);
 | 
			
		||||
  -moz-transform: scale(1.5);
 | 
			
		||||
  -webkit-transform: scale(1.5);
 | 
			
		||||
  -o-transform: scale(1.5);
 | 
			
		||||
  transform: scale(1.5);
 | 
			
		||||
  padding: 10px;
 | 
			
		||||
  margin: 1em auto;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.title {
 | 
			
		||||
  @apply tracking-wide leading-5;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.btn {
 | 
			
		||||
  @apply px-4 py-2 rounded-lg focus:outline-hidden;
 | 
			
		||||
  @apply shadow-sm focus:shadow-lg;
 | 
			
		||||
  @apply transition-all duration-300 ease-in-out;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.btn-primary {
 | 
			
		||||
  @apply bg-primary-500 focus:bg-primary-600 active:bg-primary-600;
 | 
			
		||||
  @apply border-primary-500 focus:border-primary-600 active:border-primary-600;
 | 
			
		||||
  @apply text-white;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.btn-alert {
 | 
			
		||||
  @apply bg-rose-600 focus:bg-rose-700 active:bg-rose-800;
 | 
			
		||||
  @apply border-rose-600 focus:border-rose-700 active:border-rose-800;
 | 
			
		||||
  @apply text-white;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.hr {
 | 
			
		||||
  @apply w-full max-w-2xl border border-primary-300;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.hr-light {
 | 
			
		||||
  @apply w-full max-w-2xl border border-white;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.link {
 | 
			
		||||
  @apply hover:underline;
 | 
			
		||||
  @apply transition-colors duration-500 ease-in-out;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* slim select */
 | 
			
		||||
.ss-main.input-primary {
 | 
			
		||||
  @apply border-primary-500 hover:border-primary-600 active:border-primary-600;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.ss-content {
 | 
			
		||||
  @apply input;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.ss-content.input-primary {
 | 
			
		||||
  @apply border-primary-500 hover:border-primary-600 active:border-primary-600;
 | 
			
		||||
}
 | 
			
		||||
@@ -181,10 +241,6 @@ $fa-font-path: "@fortawesome/fontawesome-free/webfonts";
 | 
			
		||||
  border-top-right-radius: 0px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.ss-search input[type="search"] {
 | 
			
		||||
  @apply input;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.ss-content.input-primary .ss-search input[type="search"] {
 | 
			
		||||
  @apply border-primary-500 hover:border-primary-600 active:border-primary-600;
 | 
			
		||||
}
 | 
			
		||||
@@ -1,57 +0,0 @@
 | 
			
		||||
@layer components {
 | 
			
		||||
  .input {
 | 
			
		||||
    @apply rounded-lg px-4 py-2 border focus:outline-none;
 | 
			
		||||
    @apply shadow-sm focus:shadow-lg;
 | 
			
		||||
    @apply transition-all duration-300 ease-in-out;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .input-primary {
 | 
			
		||||
    @apply border-primary-500 hover:border-primary-600 active:border-primary-600;
 | 
			
		||||
    @apply text-black;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .checkbox {
 | 
			
		||||
    -ms-transform: scale(1.5);
 | 
			
		||||
    -moz-transform: scale(1.5);
 | 
			
		||||
    -webkit-transform: scale(1.5);
 | 
			
		||||
    -o-transform: scale(1.5);
 | 
			
		||||
    transform: scale(1.5);
 | 
			
		||||
    padding: 10px;
 | 
			
		||||
    margin: 1em auto;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .title {
 | 
			
		||||
    @apply leading-5 tracking-wide;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .btn {
 | 
			
		||||
    @apply focus:outline-none px-4 py-2 rounded-lg;
 | 
			
		||||
    @apply shadow-sm focus:shadow-lg;
 | 
			
		||||
    @apply transition-all duration-300 ease-in-out;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .btn-primary {
 | 
			
		||||
    @apply bg-primary-500 focus:bg-primary-600 active:bg-primary-600;
 | 
			
		||||
    @apply border-primary-500 focus:border-primary-600 active:border-primary-600;
 | 
			
		||||
    @apply text-white;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .btn-alert {
 | 
			
		||||
    @apply bg-red-600 focus:bg-red-700 active:bg-red-800;
 | 
			
		||||
    @apply border-red-600 focus:border-red-700 active:border-red-800;
 | 
			
		||||
    @apply text-white;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .hr {
 | 
			
		||||
    @apply border border-primary-300 w-full max-w-2xl;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .hr-light {
 | 
			
		||||
    @apply border border-white w-full max-w-2xl;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .link {
 | 
			
		||||
    @apply hover:underline;
 | 
			
		||||
    @apply transition-colors duration-500 ease-in-out;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@@ -1,7 +1,3 @@
 | 
			
		||||
// We import the CSS which is extracted to its own file by esbuild.
 | 
			
		||||
// Remove this line if you add a your own CSS build pipeline (e.g postcss).
 | 
			
		||||
import '../css/app.scss'
 | 
			
		||||
 | 
			
		||||
// If you want to use Phoenix channels, run `mix help phx.gen.channel`
 | 
			
		||||
// to get started and then uncomment the line below.
 | 
			
		||||
// import "./user_socket.js"
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10401
									
								
								assets/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										10401
									
								
								assets/package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -1,50 +1,21 @@
 | 
			
		||||
{
 | 
			
		||||
  "repository": {},
 | 
			
		||||
  "description": " ",
 | 
			
		||||
  "license": "MIT",
 | 
			
		||||
  "engines": {
 | 
			
		||||
    "node": "v23.7.0"
 | 
			
		||||
    "node": "v23.10.0"
 | 
			
		||||
  },
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "deploy": "NODE_ENV=production webpack --mode production",
 | 
			
		||||
    "watch": "webpack --mode development --watch --watch-options-stdin",
 | 
			
		||||
    "format": "standard --fix",
 | 
			
		||||
    "test": "standard"
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "@fortawesome/fontawesome-free": "^6.7.2",
 | 
			
		||||
    "chart.js": "^4.4.7",
 | 
			
		||||
    "chart.js": "^4.4.8",
 | 
			
		||||
    "chartjs-adapter-date-fns": "^3.0.0",
 | 
			
		||||
    "date-fns": "^4.1.0",
 | 
			
		||||
    "phoenix": "file:../deps/phoenix",
 | 
			
		||||
    "phoenix_html": "file:../deps/phoenix_html",
 | 
			
		||||
    "phoenix_live_view": "file:../deps/phoenix_live_view",
 | 
			
		||||
    "slim-select": "^2.10.0",
 | 
			
		||||
    "slim-select": "^2.11.0",
 | 
			
		||||
    "topbar": "^3.0.0"
 | 
			
		||||
  },
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@babel/core": "^7.26.0",
 | 
			
		||||
    "@babel/preset-env": "^7.26.0",
 | 
			
		||||
    "autoprefixer": "^10.4.20",
 | 
			
		||||
    "babel-loader": "^9.2.1",
 | 
			
		||||
    "copy-webpack-plugin": "^12.0.2",
 | 
			
		||||
    "css-loader": "^7.1.2",
 | 
			
		||||
    "css-minimizer-webpack-plugin": "^7.0.0",
 | 
			
		||||
    "file-loader": "^6.2.0",
 | 
			
		||||
    "glob": "^11.0.1",
 | 
			
		||||
    "mini-css-extract-plugin": "^2.9.2",
 | 
			
		||||
    "npm-check-updates": "^17.1.13",
 | 
			
		||||
    "postcss": "^8.5.1",
 | 
			
		||||
    "postcss-import": "^16.1.0",
 | 
			
		||||
    "postcss-loader": "^8.1.1",
 | 
			
		||||
    "postcss-preset-env": "^10.1.3",
 | 
			
		||||
    "sass": "^1.83.1",
 | 
			
		||||
    "sass-loader": "^16.0.4",
 | 
			
		||||
    "standard": "^17.1.2",
 | 
			
		||||
    "tailwindcss": "^3.4.17",
 | 
			
		||||
    "terser-webpack-plugin": "^5.3.11",
 | 
			
		||||
    "webpack": "^5.97.1",
 | 
			
		||||
    "webpack-cli": "^6.0.1",
 | 
			
		||||
    "webpack-dev-server": "^5.2.0"
 | 
			
		||||
    "npm-check-updates": "^17.1.16",
 | 
			
		||||
    "standard": "^17.1.2"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +0,0 @@
 | 
			
		||||
module.exports = {
 | 
			
		||||
  plugins: {
 | 
			
		||||
    'postcss-import': {},
 | 
			
		||||
    tailwindcss: {},
 | 
			
		||||
    autoprefixer: {}
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 1.2 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 84 KiB  | 
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| 
		 Before Width: | Height: | Size: 516 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 14 KiB  | 
@@ -1,5 +0,0 @@
 | 
			
		||||
# See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
 | 
			
		||||
#
 | 
			
		||||
# To ban all spiders from the entire site uncomment the next two lines:
 | 
			
		||||
# User-agent: *
 | 
			
		||||
# Disallow: /
 | 
			
		||||
@@ -1,43 +0,0 @@
 | 
			
		||||
const colors = require('tailwindcss/colors')
 | 
			
		||||
 | 
			
		||||
module.exports = {
 | 
			
		||||
  content: [
 | 
			
		||||
    '../lib/**/*.{ex,heex,leex,eex}',
 | 
			
		||||
    './js/**/*.js'
 | 
			
		||||
  ],
 | 
			
		||||
  theme: {
 | 
			
		||||
    colors: {
 | 
			
		||||
      transparent: 'transparent',
 | 
			
		||||
      current: 'currentColor',
 | 
			
		||||
      primary: colors.gray,
 | 
			
		||||
      black: colors.black,
 | 
			
		||||
      white: colors.white,
 | 
			
		||||
      gray: colors.neutral,
 | 
			
		||||
      indigo: colors.indigo,
 | 
			
		||||
      red: colors.rose,
 | 
			
		||||
      yellow: colors.amber
 | 
			
		||||
    },
 | 
			
		||||
    extend: {
 | 
			
		||||
      spacing: {
 | 
			
		||||
        128: '32rem',
 | 
			
		||||
        192: '48rem',
 | 
			
		||||
        256: '64rem'
 | 
			
		||||
      },
 | 
			
		||||
      minWidth: {
 | 
			
		||||
        4: '1rem',
 | 
			
		||||
        8: '2rem',
 | 
			
		||||
        12: '3rem',
 | 
			
		||||
        16: '4rem',
 | 
			
		||||
        20: '8rem'
 | 
			
		||||
      },
 | 
			
		||||
      maxWidth: {
 | 
			
		||||
        4: '1rem',
 | 
			
		||||
        8: '2rem',
 | 
			
		||||
        12: '3rem',
 | 
			
		||||
        16: '4rem',
 | 
			
		||||
        20: '8rem'
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  plugins: []
 | 
			
		||||
}
 | 
			
		||||
@@ -1,57 +0,0 @@
 | 
			
		||||
const path = require('path')
 | 
			
		||||
const glob = require('glob')
 | 
			
		||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
 | 
			
		||||
const TerserPlugin = require('terser-webpack-plugin')
 | 
			
		||||
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin')
 | 
			
		||||
const CopyWebpackPlugin = require('copy-webpack-plugin')
 | 
			
		||||
 | 
			
		||||
module.exports = (env, options) => {
 | 
			
		||||
  const devMode = options.mode !== 'production'
 | 
			
		||||
 | 
			
		||||
  return {
 | 
			
		||||
    optimization: {
 | 
			
		||||
      minimizer: [
 | 
			
		||||
        new TerserPlugin({ parallel: true, extractComments: true }),
 | 
			
		||||
        new CssMinimizerPlugin({})
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    entry: {
 | 
			
		||||
      app: glob.sync('./vendor/**/*.js').concat(['./js/app.js'])
 | 
			
		||||
    },
 | 
			
		||||
    output: {
 | 
			
		||||
      filename: '[name].js',
 | 
			
		||||
      path: path.resolve(__dirname, '../priv/static/js'),
 | 
			
		||||
      publicPath: '/js/'
 | 
			
		||||
    },
 | 
			
		||||
    devtool: devMode ? 'eval-cheap-module-source-map' : undefined,
 | 
			
		||||
    module: {
 | 
			
		||||
      rules: [
 | 
			
		||||
        {
 | 
			
		||||
          test: /\.js$/,
 | 
			
		||||
          exclude: /node_modules/,
 | 
			
		||||
          use: {
 | 
			
		||||
            loader: 'babel-loader'
 | 
			
		||||
          }
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          test: /\.s?css$/,
 | 
			
		||||
          use: [
 | 
			
		||||
            MiniCssExtractPlugin.loader,
 | 
			
		||||
            'css-loader',
 | 
			
		||||
            'postcss-loader',
 | 
			
		||||
            'sass-loader'
 | 
			
		||||
          ]
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          test: /\.(woff(2)?|ttf|eot|svg|otf)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
 | 
			
		||||
          type: 'asset/resource',
 | 
			
		||||
          generator: { filename: 'fonts/[name].[ext]' }
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    plugins: [
 | 
			
		||||
      new MiniCssExtractPlugin({ filename: '../css/app.css' }),
 | 
			
		||||
      new CopyWebpackPlugin({ patterns: [{ from: 'static/', to: '../' }] })
 | 
			
		||||
    ]
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user