@quilltap/theme-storybook 1.0.55 → 1.0.57

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/index.css CHANGED
@@ -550,6 +550,10 @@ body {
550
550
  --qt-overlay-muted-fg: rgb(255 255 255 / 0.7);
551
551
  --qt-spinner-track: color-mix(in srgb, var(--color-primary) 20%, transparent);
552
552
  --qt-spinner-indicator: var(--color-primary);
553
+ --qt-progress-track: var(--color-muted);
554
+ --qt-progress-indicator: var(--color-primary);
555
+ --qt-progress-indicator-success: var(--color-success);
556
+ --qt-progress-indicator-danger: var(--color-destructive);
553
557
  --qt-favorite-color: hsl(45 96% 58%);
554
558
  --qt-toggle-knob-bg: white;
555
559
  --qt-warning-box-bg: color-mix(in srgb, var(--color-warning) 8%, transparent);
@@ -1762,6 +1766,9 @@ body {
1762
1766
  .qt-text-destructive {
1763
1767
  color: var(--color-destructive);
1764
1768
  }
1769
+ .qt-text-danger {
1770
+ color: var(--color-destructive);
1771
+ }
1765
1772
  .qt-border-primary {
1766
1773
  border-color: var(--color-primary);
1767
1774
  }
@@ -1845,6 +1852,43 @@ body {
1845
1852
  border: 4px solid var(--qt-spinner-track, color-mix(in srgb, var(--color-primary) 20%, transparent));
1846
1853
  border-right-color: var(--qt-spinner-indicator, var(--color-primary));
1847
1854
  }
1855
+ .qt-progress {
1856
+ background-color: var(--qt-progress-track, var(--color-muted));
1857
+ border-radius: 9999px;
1858
+ overflow: hidden;
1859
+ height: 0.5rem;
1860
+ }
1861
+ .qt-progress-sm {
1862
+ height: 0.375rem;
1863
+ }
1864
+ .qt-progress-fill {
1865
+ height: 100%;
1866
+ border-radius: 9999px;
1867
+ background-color: var(--qt-progress-indicator, var(--color-primary));
1868
+ transition: width 500ms ease-out;
1869
+ }
1870
+ .qt-progress-fill-success {
1871
+ background-color: var(--qt-progress-indicator-success, var(--color-success));
1872
+ }
1873
+ .qt-progress-fill-danger {
1874
+ background-color: var(--qt-progress-indicator-danger, var(--color-destructive));
1875
+ }
1876
+ .qt-progress-fill-idle {
1877
+ background-color: transparent;
1878
+ }
1879
+ .qt-progress-indeterminate {
1880
+ width: 40% !important;
1881
+ transition: none;
1882
+ animation: qt-progress-slide 1.4s ease-in-out infinite;
1883
+ }
1884
+ @keyframes qt-progress-slide {
1885
+ 0% {
1886
+ transform: translateX(-100%);
1887
+ }
1888
+ 100% {
1889
+ transform: translateX(250%);
1890
+ }
1891
+ }
1848
1892
  .qt-text-favorite {
1849
1893
  color: var(--qt-favorite-color, hsl(45 96% 58%));
1850
1894
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quilltap/theme-storybook",
3
- "version": "1.0.55",
3
+ "version": "1.0.57",
4
4
  "description": "Storybook preset and stories for developing Quilltap theme plugins",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -494,6 +494,12 @@
494
494
  --qt-spinner-track: color-mix(in srgb, var(--color-primary) 20%, transparent);
495
495
  --qt-spinner-indicator: var(--color-primary);
496
496
 
497
+ /* Progress bar variables — every bar-shaped construct in the app */
498
+ --qt-progress-track: var(--color-muted);
499
+ --qt-progress-indicator: var(--color-primary);
500
+ --qt-progress-indicator-success: var(--color-success);
501
+ --qt-progress-indicator-danger: var(--color-destructive);
502
+
497
503
  /* Favorite star color */
498
504
  --qt-favorite-color: hsl(45 96% 58%);
499
505
 
@@ -2088,6 +2094,10 @@
2088
2094
  color: var(--color-destructive);
2089
2095
  }
2090
2096
 
2097
+ .qt-text-danger {
2098
+ color: var(--color-destructive);
2099
+ }
2100
+
2091
2101
  /* Border utilities */
2092
2102
  .qt-border-primary {
2093
2103
  border-color: var(--color-primary);
@@ -2210,6 +2220,56 @@
2210
2220
  border-right-color: var(--qt-spinner-indicator, var(--color-primary));
2211
2221
  }
2212
2222
 
2223
+ /* ==========================================================================
2224
+ PROGRESS BAR UTILITIES
2225
+ Multi-phase task progress and static value meters.
2226
+ ========================================================================== */
2227
+
2228
+ .qt-progress {
2229
+ background-color: var(--qt-progress-track, var(--color-muted));
2230
+ border-radius: 9999px;
2231
+ overflow: hidden;
2232
+ height: 0.5rem;
2233
+ }
2234
+
2235
+ .qt-progress-sm {
2236
+ height: 0.375rem;
2237
+ }
2238
+
2239
+ .qt-progress-fill {
2240
+ height: 100%;
2241
+ border-radius: 9999px;
2242
+ background-color: var(--qt-progress-indicator, var(--color-primary));
2243
+ transition: width 500ms ease-out;
2244
+ }
2245
+
2246
+ .qt-progress-fill-success {
2247
+ background-color: var(--qt-progress-indicator-success, var(--color-success));
2248
+ }
2249
+
2250
+ .qt-progress-fill-danger {
2251
+ background-color: var(--qt-progress-indicator-danger, var(--color-destructive));
2252
+ }
2253
+
2254
+ .qt-progress-fill-idle {
2255
+ background-color: transparent;
2256
+ }
2257
+
2258
+ .qt-progress-indeterminate {
2259
+ width: 40% !important;
2260
+ transition: none;
2261
+ animation: qt-progress-slide 1.4s ease-in-out infinite;
2262
+ }
2263
+
2264
+ @keyframes qt-progress-slide {
2265
+ 0% {
2266
+ transform: translateX(-100%);
2267
+ }
2268
+ 100% {
2269
+ transform: translateX(250%);
2270
+ }
2271
+ }
2272
+
2213
2273
  /* ==========================================================================
2214
2274
  FAVORITE / TOGGLE / WARNING BOX UTILITIES
2215
2275
  ========================================================================== */