@quillsql/react 1.6.5 → 1.6.7

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.
@@ -1,50 +0,0 @@
1
- const fs = require('fs');
2
- const path = require('path');
3
- const { glob } = require('glob');
4
-
5
- const rootDir = path.resolve(__dirname);
6
- const classNameRegex = /className=["']([\w\s-]+)["']/g;
7
-
8
- console.log('Root directory:', rootDir);
9
-
10
- try {
11
- const files = glob.sync('**/*.{js,jsx,tsx}', {
12
- cwd: rootDir,
13
- ignore: '**/node_modules/**',
14
- });
15
-
16
- console.log('Files found:', files);
17
-
18
- files.forEach(file => {
19
- console.log('Processing file:', file);
20
- const filePath = path.join(rootDir, file);
21
- fs.readFile(filePath, 'utf-8', (err, data) => {
22
- if (err) {
23
- console.error('Error reading file:', err);
24
- return;
25
- }
26
-
27
- const result = data.replace(classNameRegex, (match, p1) => {
28
- const classNames = p1.split(' ');
29
- const prefixedClassNames = classNames.map(className => {
30
- if (className.startsWith('qq-')) {
31
- return className;
32
- } else {
33
- return `qq-${className}`;
34
- }
35
- });
36
- return `className="${prefixedClassNames.join(' ')}"`;
37
- });
38
-
39
- fs.writeFile(filePath, result, 'utf-8', err => {
40
- if (err) {
41
- console.error('Error writing file:', err);
42
- return;
43
- }
44
- console.log('File updated successfully:', filePath);
45
- });
46
- });
47
- });
48
- } catch (error) {
49
- console.error('Error in glob.sync():', error);
50
- }
@@ -1,75 +0,0 @@
1
- This is a log of the exact prompt/completion pairs sent/received from the LLM during this step
2
-
3
- ############################################
4
-
5
- Prompt:
6
-
7
- <Assistant>
8
- Called function Welcome to Continue
9
-
10
- <User>
11
- /edit convert from rem to px using 1rem = 16px
12
-
13
- <User>
14
- /edit convert from rem to px using 1rem = 16px
15
-
16
- <User>
17
- convert from rem to px using 1rem = 16px
18
-
19
-
20
-
21
- ############################################
22
-
23
- Completion:
24
-
25
- To convert from rem to pixels, you simply multiply the rem value by 16.
26
-
27
- For example, if you have a value of 2rem and you want to convert it to pixels, you would do:
28
-
29
- 2rem * 16 = 32px
30
-
31
- So, 2rem is equal to 32px.
32
-
33
- ############################################
34
-
35
- Prompt:
36
-
37
- <User>
38
- Diff summary: "convert from rem to px using 1rem = 16px"
39
-
40
- ```diff
41
- - padding: '1rem',
42
- - borderRadius: '0.375rem',
43
- + To convert from rem to pixels, you simply multiply the rem value by 16.
44
- +
45
- + For example, if you have a value of 2rem and you want to convert it to pixels, you would do:
46
- +
47
- + 2rem * 16 = 32px
48
- +
49
- + So, 2rem is equal to 32px.
50
- ```
51
-
52
- Please give brief a description of the changes made above using markdown bullet points. Be concise:
53
-
54
-
55
-
56
- ############################################
57
-
58
- Completion:
59
-
60
- "- The code originally used `rem` units for padding and border radius.\n- The diff summary explains how to convert `rem` units to `px` units using the conversion factor of 1rem = 16px.\n- An example is provided to illustrate the conversion process.\n- The final statement clarifies that 2rem is equal to 32px."
61
-
62
- ############################################
63
-
64
- Prompt:
65
-
66
- <User>
67
- Write a very short title to describe this requested change (no quotes): 'convert from rem to px using 1rem = 16px'. This is the title:
68
-
69
-
70
-
71
- ############################################
72
-
73
- Completion:
74
-
75
- "Rem to Px Conversion: 1rem = 16px"
package/src/styles.css DELETED
File without changes