@tumaet/prompt-ui-components 0.0.14 → 0.0.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tumaet/prompt-ui-components",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ls1intum/prompt-lib.git"
@@ -24,9 +24,8 @@
24
24
  ],
25
25
  "scripts": {
26
26
  "build:esm": "tsc --project tsconfig.json && tsc-alias",
27
- "build:css": "postcss src/index.css -o dist/index.css",
28
27
  "build:copy-css": "mkdir -p dist/components/minimal-tiptap/styles && cp src/components/minimal-tiptap/styles/index.css dist/components/minimal-tiptap/styles/index.css",
29
- "build": "yarn build:esm && yarn build:css && yarn build:copy-css",
28
+ "build": "yarn build:esm && yarn build:copy-css",
30
29
  "lint": "eslint \"**/*.{js,jsx,ts,tsx}\""
31
30
  },
32
31
  "packageManager": "yarn@4.1.0",
@@ -1,7 +0,0 @@
1
- import tailwindcss from 'tailwindcss'
2
- import autoprefixer from 'autoprefixer'
3
- import postcssPresetEnv from 'postcss-preset-env'
4
-
5
- export default {
6
- plugins: [postcssPresetEnv, tailwindcss, autoprefixer],
7
- }
@@ -1,69 +0,0 @@
1
- // Default values that shall be reused in every component
2
-
3
- /** @type {import('tailwindcss').Config} */
4
- module.exports = {
5
- darkMode: ['class'],
6
- safelist: [
7
- 'dark',
8
- 'ProseMirror',
9
- {
10
- pattern: /^(dark:)?(bg|text|border)-[a-z]+(?:-[a-z]+)*(?:-\d{1,3})?$/,
11
- variants: ['dark'],
12
- },
13
- ],
14
- theme: {
15
- extend: {
16
- colors: {
17
- border: 'hsl(var(--border))',
18
- input: 'hsl(var(--input))',
19
- ring: 'hsl(var(--ring))',
20
- background: 'hsl(var(--background))',
21
- foreground: 'hsl(var(--foreground))',
22
- primary: {
23
- DEFAULT: 'hsl(var(--primary))',
24
- foreground: 'hsl(var(--primary-foreground))',
25
- },
26
- secondary: {
27
- DEFAULT: 'hsl(var(--secondary))',
28
- foreground: 'hsl(var(--secondary-foreground))',
29
- },
30
- destructive: {
31
- DEFAULT: 'hsl(var(--destructive))',
32
- foreground: 'hsl(var(--destructive-foreground))',
33
- },
34
- muted: {
35
- DEFAULT: 'hsl(var(--muted))',
36
- foreground: 'hsl(var(--muted-foreground))',
37
- },
38
- accent: {
39
- DEFAULT: 'hsl(var(--accent))',
40
- foreground: 'hsl(var(--accent-foreground))',
41
- },
42
- popover: {
43
- DEFAULT: 'hsl(var(--popover))',
44
- foreground: 'hsl(var(--popover-foreground))',
45
- },
46
- card: {
47
- DEFAULT: 'hsl(var(--card))',
48
- foreground: 'hsl(var(--card-foreground))',
49
- },
50
- sidebar: {
51
- DEFAULT: 'hsl(var(--sidebar-background))',
52
- foreground: 'hsl(var(--sidebar-foreground))',
53
- primary: 'hsl(var(--sidebar-primary))',
54
- 'primary-foreground': 'hsl(var(--sidebar-primary-foreground))',
55
- accent: 'hsl(var(--sidebar-accent))',
56
- 'accent-foreground': 'hsl(var(--sidebar-accent-foreground))',
57
- border: 'hsl(var(--sidebar-border))',
58
- ring: 'hsl(var(--sidebar-ring))',
59
- },
60
- },
61
- borderRadius: {
62
- lg: `var(--radius)`,
63
- md: `calc(var(--radius) - 2px)`,
64
- sm: 'calc(var(--radius) - 4px)',
65
- },
66
- },
67
- },
68
- plugins: [require('tailwindcss-animate'), require('@tailwindcss/typography')],
69
- }