Skip to content

Commit 8348003

Browse files
committed
chore: release v4.0.3
1 parent db84756 commit 8348003

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

js/dist/vite-dev-server.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "create-wp-refine-plugin",
33
"private": false,
4-
"version": "4.0.2",
4+
"version": "4.0.3",
55
"type": "module",
66
"scripts": {
77
"bootstrap": "yarn install && composer install --no-interaction",

plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: WP Refine Plugin (DEV)
44
* Plugin URI: https://github.com/j7-dev/wp-refine-plugin
55
* Description: WP Refine Plugin is a boilerplate for creating a WordPress plugin with React, Tailwind, TypeScript, React Query v4, SCSS and Vite.
6-
* Version: 4.0.1
6+
* Version: 4.0.3
77
* Requires at least: 5.7
88
* Requires PHP: 7.4
99
* Author: J7

tailwind.config.cjs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** @type {import('tailwindcss').Config} */
22
// eslint-disable-next-line no-undef
33
module.exports = {
4-
important: '.tailwind',
4+
// important: '.tailwind', // you have to use tailwindcss inside a .tailwind class container, or just type true.
55
corePlugins: {
66
preflight: false,
77
},
@@ -11,10 +11,12 @@ module.exports = {
1111
'./inc/assets/src/**/*.ts',
1212
],
1313
theme: {
14-
animation: {
15-
pulse: 'tw-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
16-
},
1714
extend: {
15+
animation: {
16+
// why need this? because elementor plugin might conflict with same animate keyframe name
17+
// we override the animation name with this
18+
pulse: 'tw-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
19+
},
1820
screens: {
1921
sm: '576px', // iphone SE
2022
md: '810px', // ipad Portrait
@@ -36,7 +38,7 @@ module.exports = {
3638
direction: 'rtl',
3739
},
3840

39-
// 與 WordPress 衝突的 class
41+
// classes conflicted with WordPress
4042
'.tw-hidden': {
4143
display: 'none',
4244
},
@@ -58,6 +60,7 @@ module.exports = {
5860
],
5961
safelist: [],
6062
blocklist: [
63+
// classes conflicted with WordPress
6164
'hidden',
6265
'columns-1',
6366
'columns-2',

0 commit comments

Comments
 (0)