@jirawatpyk/aura-react 4.6.0 → 4.6.1
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/dist/styles.css +5 -3
- package/package.json +3 -2
package/dist/styles.css
CHANGED
|
@@ -21,7 +21,9 @@
|
|
|
21
21
|
justify-content: center;
|
|
22
22
|
gap: var(--aura-space-2);
|
|
23
23
|
cursor: pointer;
|
|
24
|
-
transition:
|
|
24
|
+
transition-property: background-color, color, border-color, box-shadow, transform, opacity;
|
|
25
|
+
transition-duration: var(--aura-duration-fast);
|
|
26
|
+
transition-timing-function: var(--aura-ease);
|
|
25
27
|
}
|
|
26
28
|
.aura-btn:active { transform: scale(0.98); }
|
|
27
29
|
.aura-btn:disabled { opacity: var(--aura-disabled-opacity); pointer-events: none; }
|
|
@@ -871,9 +873,9 @@ button.aura-stat { font: inherit; width: 100%; cursor: pointer; }
|
|
|
871
873
|
.aura-progress--warning .aura-progress__bar { background: var(--aura-alert-warning-fg); }
|
|
872
874
|
.aura-progress--danger .aura-progress__bar { background: var(--aura-fg-danger); }
|
|
873
875
|
.aura-progress--neutral .aura-progress__bar { background: var(--aura-fg-secondary); }
|
|
874
|
-
.aura-progress__track.is-indeterminate .aura-progress__bar { width: 35%; animation: aura-progress-slide
|
|
876
|
+
.aura-progress__track.is-indeterminate .aura-progress__bar { width: 35%; animation: aura-progress-slide var(--aura-duration-pulse) var(--aura-ease) infinite; }
|
|
875
877
|
@keyframes aura-progress-slide { from { left: -35%; } to { left: 100%; } }
|
|
876
|
-
@media (prefers-reduced-motion: reduce) { .aura-progress__track.is-indeterminate .aura-progress__bar { animation-duration:
|
|
878
|
+
@media (prefers-reduced-motion: reduce) { .aura-progress__track.is-indeterminate .aura-progress__bar { animation-duration: calc(var(--aura-duration-pulse) * 3); } }
|
|
877
879
|
.aura-progress__hint { margin: 0; font-size: 12px; color: var(--aura-fg-secondary); }
|
|
878
880
|
|
|
879
881
|
/* ---------- Skeleton ---------- */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jirawatpyk/aura-react",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.1",
|
|
4
4
|
"description": "AURA Design System — React components (Enterprise Standard, Human Creative). Thai-first: Buddhist-era dates, Thai collation.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -38,7 +38,8 @@
|
|
|
38
38
|
"pretest:ssr": "node scripts/build.mjs",
|
|
39
39
|
"prethemes": "node scripts/build.mjs",
|
|
40
40
|
"test:hydrate": "node scripts/hydrate-test.mjs",
|
|
41
|
-
"size": "node scripts/size-check.mjs"
|
|
41
|
+
"size": "node scripts/size-check.mjs",
|
|
42
|
+
"preexamples": "node scripts/build.mjs"
|
|
42
43
|
},
|
|
43
44
|
"peerDependencies": {
|
|
44
45
|
"react": ">=18",
|