app-tutor-ai-consumer 1.24.0 → 1.24.2
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [1.24.2](https://github.com/Hotmart-Org/app-tutor-ai-consumer/compare/v1.24.1...v1.24.2) (2025-08-11)
|
|
2
|
+
|
|
3
|
+
## [1.24.1](https://github.com/Hotmart-Org/app-tutor-ai-consumer/compare/v1.24.0...v1.24.1) (2025-08-11)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
- css outline ([218899a](https://github.com/Hotmart-Org/app-tutor-ai-consumer/commit/218899a13175eb164f679c0c2dba4de856e5dc7b))
|
|
8
|
+
|
|
1
9
|
# [1.24.0](https://github.com/Hotmart-Org/app-tutor-ai-consumer/compare/v1.23.0...v1.24.0) (2025-08-11)
|
|
2
10
|
|
|
3
11
|
### Features
|
package/package.json
CHANGED
package/src/index.tsx
CHANGED
|
@@ -5,6 +5,7 @@ import { StrictMode } from 'react'
|
|
|
5
5
|
import { createRoot } from 'react-dom/client'
|
|
6
6
|
|
|
7
7
|
import { initTheme } from '@/src/config/theme'
|
|
8
|
+
import { version } from '../package.json'
|
|
8
9
|
|
|
9
10
|
import { initLanguage } from './config/i18n'
|
|
10
11
|
import { devMode, productionMode } from './lib/utils'
|
|
@@ -18,7 +19,7 @@ const loadMainStyles = () => {
|
|
|
18
19
|
? `${process.env.BUNDLE_PATH}/`
|
|
19
20
|
: `${process.env.BUNDLE_PATH}/${process.env.APP_NAME}/_current/`
|
|
20
21
|
|
|
21
|
-
const cssPath = `${bundlePath}app-tutor-ai-consumer.css`
|
|
22
|
+
const cssPath = `${bundlePath}app-tutor-ai-consumer.css?v=${version}`
|
|
22
23
|
|
|
23
24
|
if (!document.querySelector(`link[href="${cssPath}"]`)) {
|
|
24
25
|
const linkElement = document.createElement('link')
|
|
@@ -21,7 +21,7 @@ function ButtonDefault({
|
|
|
21
21
|
<button
|
|
22
22
|
{...props}
|
|
23
23
|
className={clsx(
|
|
24
|
-
'rounded text-base font-medium outline-none focus-visible:ring-
|
|
24
|
+
'rounded text-base font-medium outline-none outline-0 focus:outline-none focus-visible:ring-1 focus-visible:ring-neutral-500',
|
|
25
25
|
className
|
|
26
26
|
)}
|
|
27
27
|
type={props.type ?? 'button'}
|
|
@@ -41,7 +41,7 @@ function Button({
|
|
|
41
41
|
...props
|
|
42
42
|
}: ButtonProps) {
|
|
43
43
|
const defaultClasses =
|
|
44
|
-
'rounded outline-none focus-visible:ring-2 focus-visible:ring-
|
|
44
|
+
'rounded outline-none outline-0 focus:outline-none focus-visible:ring-2 focus-visible:ring-neutral-500 text-base font-medium'
|
|
45
45
|
const defaultBorder = 'border border-transparent'
|
|
46
46
|
const defaultPadding = 'px-4 py-2'
|
|
47
47
|
const disabledClasses = 'cursor-not-allowed'
|