@clikvn/agent-widget-embedded 0.0.55-dev → 0.0.57-dev

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@clikvn/agent-widget-embedded",
3
3
  "description": "This is agent widget",
4
- "version": "0.0.55-dev",
4
+ "version": "0.0.57-dev",
5
5
  "author": "Clik JSC",
6
6
  "license": "ISC",
7
7
  "type": "module",
@@ -1,5 +1,6 @@
1
1
  // eslint-disable-next-line @typescript-eslint/no-var-requires
2
2
  const defaultTheme = require('tailwindcss/defaultTheme');
3
+ const plugin = require('tailwindcss/plugin')
3
4
 
4
5
  function rem2px(input, fontSize = 16) {
5
6
  if (input == null) {
@@ -118,5 +119,15 @@ module.exports = {
118
119
  },
119
120
  },
120
121
  },
121
- plugins: [require('tailwindcss-animate'), require('@tailwindcss/typography')],
122
+ plugins: [
123
+ require('tailwindcss-animate'),
124
+ require('@tailwindcss/typography'),
125
+ plugin(function ({ addVariant }) {
126
+ addVariant('wrapped', ({ container }) => {
127
+ container.walkRules(rule => {
128
+ rule.selector = `.clik-chatbot-wrapper ${rule.selector}`
129
+ })
130
+ })
131
+ }),
132
+ ],
122
133
  };