@neetechs/ui 0.0.2 → 0.0.3

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.
Files changed (203) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +10 -0
  3. package/dist/ai/ai-action-button/ai-action-button.css +269 -269
  4. package/dist/ai/ai-approval-card/ai-approval-card.css +320 -320
  5. package/dist/ai/ai-conversation-panel/ai-conversation-panel.css +403 -403
  6. package/dist/ai/ai-prompt-input/ai-prompt-input.css +377 -377
  7. package/dist/ai/ai-proposal-card/ai-proposal-card.css +358 -358
  8. package/dist/ai/ai-suggestion-card/ai-suggestion-card.css +293 -293
  9. package/dist/ai/ai-tool-call/ai-tool-call.css +255 -255
  10. package/dist/ai/index.css +1 -1
  11. package/dist/appearance/cache.d.ts +50 -0
  12. package/dist/appearance/cache.d.ts.map +1 -0
  13. package/dist/appearance/cache.js +126 -0
  14. package/dist/appearance/cache.js.map +1 -0
  15. package/dist/appearance/cookie.d.ts +18 -0
  16. package/dist/appearance/cookie.d.ts.map +1 -0
  17. package/dist/appearance/cookie.js +56 -0
  18. package/dist/appearance/cookie.js.map +1 -0
  19. package/dist/appearance/index.d.ts +8 -0
  20. package/dist/appearance/index.d.ts.map +1 -0
  21. package/dist/appearance/index.js +5 -0
  22. package/dist/appearance/index.js.map +1 -0
  23. package/dist/appearance/preference.d.ts +13 -0
  24. package/dist/appearance/preference.d.ts.map +1 -0
  25. package/dist/appearance/preference.js +26 -0
  26. package/dist/appearance/preference.js.map +1 -0
  27. package/dist/appearance/theme-controller.d.ts +80 -0
  28. package/dist/appearance/theme-controller.d.ts.map +1 -0
  29. package/dist/appearance/theme-controller.js +235 -0
  30. package/dist/appearance/theme-controller.js.map +1 -0
  31. package/dist/appearance/types.d.ts +21 -0
  32. package/dist/appearance/types.d.ts.map +1 -0
  33. package/dist/appearance/types.js +2 -0
  34. package/dist/appearance/types.js.map +1 -0
  35. package/dist/components/alert/alert.css +216 -216
  36. package/dist/components/avatar/avatar.css +218 -218
  37. package/dist/components/badge/badge.css +174 -174
  38. package/dist/components/breadcrumb/breadcrumb.css +204 -204
  39. package/dist/components/button/button.css +166 -166
  40. package/dist/components/card/card.css +219 -219
  41. package/dist/components/checkbox/checkbox.css +186 -186
  42. package/dist/components/chip/chip.css +267 -267
  43. package/dist/components/data-grid/data-grid.css +368 -368
  44. package/dist/components/dialog/dialog.css +274 -274
  45. package/dist/components/drawer/drawer.css +402 -402
  46. package/dist/components/dropdown/dropdown.css +297 -297
  47. package/dist/components/icon-button/icon-button.css +157 -157
  48. package/dist/components/input/input.css +162 -162
  49. package/dist/components/menu/menu.css +313 -313
  50. package/dist/components/modal/modal.css +317 -317
  51. package/dist/components/pagination/pagination.css +249 -249
  52. package/dist/components/panel/panel.css +282 -282
  53. package/dist/components/progress/progress.css +247 -247
  54. package/dist/components/radio/radio.css +163 -163
  55. package/dist/components/segmented-control/segmented-control.css +204 -204
  56. package/dist/components/select/select.css +102 -102
  57. package/dist/components/skeleton/skeleton.css +262 -262
  58. package/dist/components/split-button/split-button.css +284 -284
  59. package/dist/components/switch/switch.css +180 -180
  60. package/dist/components/tabs/tabs.css +288 -288
  61. package/dist/components/textarea/textarea.css +85 -85
  62. package/dist/components/toast/toast.css +322 -322
  63. package/dist/components/tooltip/tooltip.css +254 -254
  64. package/dist/domain/billing/index.css +497 -497
  65. package/dist/domain/calendar/day-slice/day-slice.css +382 -382
  66. package/dist/domain/calendar/day-timeline/day-timeline.css +323 -323
  67. package/dist/domain/calendar/event-card/event-card.css +336 -336
  68. package/dist/domain/calendar/month-grid/month-grid.css +419 -419
  69. package/dist/domain/calendar/week-grid/week-grid.css +469 -469
  70. package/dist/domain/companies/index.css +525 -525
  71. package/dist/index.css +5 -5
  72. package/dist/index.d.ts +1 -0
  73. package/dist/index.d.ts.map +1 -1
  74. package/dist/index.js +1 -0
  75. package/dist/index.js.map +1 -1
  76. package/dist/patterns/command-palette/command-palette.css +438 -438
  77. package/dist/patterns/company-switcher/company-switcher.css +362 -362
  78. package/dist/patterns/empty-state/empty-state.css +258 -258
  79. package/dist/patterns/error-state/error-state.css +271 -271
  80. package/dist/patterns/loading-state/loading-state.css +287 -287
  81. package/dist/patterns/notification-center/notification-center.css +437 -437
  82. package/dist/patterns/profile-menu/profile-menu.css +296 -296
  83. package/dist/patterns/search-bar/search-bar.css +443 -443
  84. package/dist/patterns/workspace-switcher/workspace-switcher.css +379 -379
  85. package/dist/shell/app-shell/app-shell.css +67 -67
  86. package/dist/shell/content-frame/content-frame.css +93 -93
  87. package/dist/shell/header/header.css +177 -177
  88. package/dist/shell/index.css +5 -5
  89. package/dist/shell/mobile-nav/mobile-nav.css +170 -170
  90. package/dist/shell/right-drawer/right-drawer.css +107 -107
  91. package/dist/shell/sidebar/sidebar.css +145 -145
  92. package/dist/styles/animations/motion.css +161 -161
  93. package/dist/styles/base.css +81 -81
  94. package/dist/styles/reset.css +50 -50
  95. package/dist/styles/themes/dark.css +119 -119
  96. package/dist/styles/themes/high-contrast.css +118 -118
  97. package/dist/styles/themes/light.css +118 -118
  98. package/dist/styles/tokens/breakpoints.css +14 -14
  99. package/dist/styles/tokens/color.css +96 -96
  100. package/dist/styles/tokens/elevation.css +31 -31
  101. package/dist/styles/tokens/motion.css +35 -35
  102. package/dist/styles/tokens/radius.css +20 -20
  103. package/dist/styles/tokens/spacing.css +49 -49
  104. package/dist/styles/tokens/typography.css +83 -83
  105. package/dist/styles/tokens/z-index.css +14 -14
  106. package/dist/styles/utilities/layout.css +134 -134
  107. package/dist/styles/utilities/text.css +151 -151
  108. package/dist/styles/utilities/visibility.css +47 -47
  109. package/docs/theming.md +227 -0
  110. package/package.json +23 -16
  111. package/src/ai/ai-action-button/ai-action-button.css +269 -269
  112. package/src/ai/ai-approval-card/ai-approval-card.css +320 -320
  113. package/src/ai/ai-conversation-panel/ai-conversation-panel.css +403 -403
  114. package/src/ai/ai-prompt-input/ai-prompt-input.css +377 -377
  115. package/src/ai/ai-proposal-card/ai-proposal-card.css +358 -358
  116. package/src/ai/ai-suggestion-card/ai-suggestion-card.css +293 -293
  117. package/src/ai/ai-tool-call/ai-tool-call.css +255 -255
  118. package/src/ai/index.css +1 -1
  119. package/src/appearance/cache.ts +160 -0
  120. package/src/appearance/cookie.ts +68 -0
  121. package/src/appearance/index.ts +38 -0
  122. package/src/appearance/preference.ts +35 -0
  123. package/src/appearance/theme-controller.ts +383 -0
  124. package/src/appearance/types.ts +23 -0
  125. package/src/behaviors/dialog.ts +167 -167
  126. package/src/behaviors/drawer.ts +176 -176
  127. package/src/behaviors/dropdown.ts +280 -280
  128. package/src/behaviors/focus-trap.ts +260 -260
  129. package/src/behaviors/ids.ts +47 -47
  130. package/src/behaviors/index.ts +6 -6
  131. package/src/behaviors/keyboard.ts +302 -302
  132. package/src/behaviors/overlay.ts +230 -230
  133. package/src/components/alert/alert.css +216 -216
  134. package/src/components/avatar/avatar.css +218 -218
  135. package/src/components/badge/badge.css +174 -174
  136. package/src/components/breadcrumb/breadcrumb.css +204 -204
  137. package/src/components/button/button.css +166 -166
  138. package/src/components/card/card.css +219 -219
  139. package/src/components/checkbox/checkbox.css +186 -186
  140. package/src/components/chip/chip.css +267 -267
  141. package/src/components/data-grid/data-grid.css +368 -368
  142. package/src/components/dialog/dialog.css +274 -274
  143. package/src/components/drawer/drawer.css +402 -402
  144. package/src/components/dropdown/dropdown.css +297 -297
  145. package/src/components/icon-button/icon-button.css +157 -157
  146. package/src/components/input/input.css +162 -162
  147. package/src/components/menu/menu.css +313 -313
  148. package/src/components/modal/modal.css +317 -317
  149. package/src/components/pagination/pagination.css +249 -249
  150. package/src/components/panel/panel.css +282 -282
  151. package/src/components/progress/progress.css +247 -247
  152. package/src/components/radio/radio.css +163 -163
  153. package/src/components/segmented-control/segmented-control.css +204 -204
  154. package/src/components/select/select.css +102 -102
  155. package/src/components/skeleton/skeleton.css +262 -262
  156. package/src/components/split-button/split-button.css +284 -284
  157. package/src/components/switch/switch.css +180 -180
  158. package/src/components/tabs/tabs.css +288 -288
  159. package/src/components/textarea/textarea.css +85 -85
  160. package/src/components/toast/toast.css +322 -322
  161. package/src/components/tooltip/tooltip.css +254 -254
  162. package/src/domain/billing/index.css +497 -497
  163. package/src/domain/calendar/day-slice/day-slice.css +382 -382
  164. package/src/domain/calendar/day-timeline/day-timeline.css +323 -323
  165. package/src/domain/calendar/event-card/event-card.css +336 -336
  166. package/src/domain/calendar/month-grid/month-grid.css +419 -419
  167. package/src/domain/calendar/week-grid/week-grid.css +469 -469
  168. package/src/domain/companies/index.css +525 -525
  169. package/src/index.css +5 -5
  170. package/src/index.ts +6 -5
  171. package/src/patterns/command-palette/command-palette.css +438 -438
  172. package/src/patterns/company-switcher/company-switcher.css +362 -362
  173. package/src/patterns/empty-state/empty-state.css +258 -258
  174. package/src/patterns/error-state/error-state.css +271 -271
  175. package/src/patterns/loading-state/loading-state.css +287 -287
  176. package/src/patterns/notification-center/notification-center.css +437 -437
  177. package/src/patterns/profile-menu/profile-menu.css +296 -296
  178. package/src/patterns/search-bar/search-bar.css +443 -443
  179. package/src/patterns/workspace-switcher/workspace-switcher.css +379 -379
  180. package/src/shell/app-shell/app-shell.css +67 -67
  181. package/src/shell/content-frame/content-frame.css +93 -93
  182. package/src/shell/header/header.css +177 -177
  183. package/src/shell/index.css +5 -5
  184. package/src/shell/mobile-nav/mobile-nav.css +170 -170
  185. package/src/shell/right-drawer/right-drawer.css +107 -107
  186. package/src/shell/sidebar/sidebar.css +145 -145
  187. package/src/styles/animations/motion.css +161 -161
  188. package/src/styles/base.css +81 -81
  189. package/src/styles/reset.css +50 -50
  190. package/src/styles/themes/dark.css +119 -119
  191. package/src/styles/themes/high-contrast.css +118 -118
  192. package/src/styles/themes/light.css +118 -118
  193. package/src/styles/tokens/breakpoints.css +14 -14
  194. package/src/styles/tokens/color.css +96 -96
  195. package/src/styles/tokens/elevation.css +31 -31
  196. package/src/styles/tokens/motion.css +35 -35
  197. package/src/styles/tokens/radius.css +20 -20
  198. package/src/styles/tokens/spacing.css +49 -49
  199. package/src/styles/tokens/typography.css +83 -83
  200. package/src/styles/tokens/z-index.css +14 -14
  201. package/src/styles/utilities/layout.css +134 -134
  202. package/src/styles/utilities/text.css +151 -151
  203. package/src/styles/utilities/visibility.css +47 -47
@@ -1,248 +1,248 @@
1
- .nt-progress {
2
- display: flex;
3
- flex-direction: column;
4
- gap: var(--nt-space-2);
5
- width: 100%;
6
- min-width: 0;
7
- color: var(--nt-text-primary);
8
- }
9
-
10
- .nt-progress__header {
11
- display: flex;
12
- align-items: center;
13
- justify-content: space-between;
14
- gap: var(--nt-space-3);
15
- min-width: 0;
16
- }
17
-
18
- .nt-progress__label {
19
- min-width: 0;
20
- overflow: hidden;
21
- color: var(--nt-text-primary);
22
- font: var(--nt-text-label-sm);
23
- letter-spacing: var(--nt-letter-spacing-label);
24
- text-overflow: ellipsis;
25
- white-space: nowrap;
26
- }
27
-
28
- .nt-progress__value {
29
- flex: 0 0 auto;
30
- color: var(--nt-text-muted);
31
- font: var(--nt-text-caption);
32
- font-variant-numeric: tabular-nums;
33
- }
34
-
35
- .nt-progress__track {
36
- position: relative;
37
- width: 100%;
38
- height: 0.5rem;
39
- overflow: hidden;
40
- border-radius: var(--nt-radius-full);
41
- background: var(--nt-bg-muted);
42
- }
43
-
44
- .nt-progress__bar {
45
- width: var(--nt-progress-value, 0%);
46
- height: 100%;
47
- border-radius: inherit;
48
- background: var(--nt-accent);
49
- transform-origin: left center;
50
- transition:
51
- width var(--nt-duration-normal) var(--nt-ease-standard),
52
- background-color var(--nt-duration-fast) var(--nt-ease-standard);
53
- }
54
-
55
- .nt-progress__description {
56
- margin: 0;
57
- color: var(--nt-text-muted);
58
- font: var(--nt-text-caption);
59
- }
60
-
61
- .nt-progress--sm .nt-progress__track {
62
- height: 0.375rem;
63
- }
64
-
65
- .nt-progress--md .nt-progress__track {
66
- height: 0.5rem;
67
- }
68
-
69
- .nt-progress--lg .nt-progress__track {
70
- height: 0.75rem;
71
- }
72
-
73
- .nt-progress--xl .nt-progress__track {
74
- height: 1rem;
75
- }
76
-
77
- .nt-progress--success .nt-progress__bar {
78
- background: var(--nt-success);
79
- }
80
-
81
- .nt-progress--warning .nt-progress__bar {
82
- background: var(--nt-warning);
83
- }
84
-
85
- .nt-progress--danger .nt-progress__bar {
86
- background: var(--nt-danger);
87
- }
88
-
89
- .nt-progress--info .nt-progress__bar {
90
- background: var(--nt-info);
91
- }
92
-
93
- .nt-progress--neutral .nt-progress__bar {
94
- background: var(--nt-neutral);
95
- }
96
-
97
- .nt-progress--soft .nt-progress__track {
98
- background: var(--nt-accent-subtle);
99
- }
100
-
101
- .nt-progress--soft.nt-progress--success .nt-progress__track {
102
- background: var(--nt-success-bg);
103
- }
104
-
105
- .nt-progress--soft.nt-progress--warning .nt-progress__track {
106
- background: var(--nt-warning-bg);
107
- }
108
-
109
- .nt-progress--soft.nt-progress--danger .nt-progress__track {
110
- background: var(--nt-danger-bg);
111
- }
112
-
113
- .nt-progress--soft.nt-progress--info .nt-progress__track {
114
- background: var(--nt-info-bg);
115
- }
116
-
117
- .nt-progress--striped .nt-progress__bar {
118
- background-image: linear-gradient(
119
- 45deg,
120
- rgba(255, 255, 255, 0.18) 25%,
121
- transparent 25%,
122
- transparent 50%,
123
- rgba(255, 255, 255, 0.18) 50%,
124
- rgba(255, 255, 255, 0.18) 75%,
125
- transparent 75%,
126
- transparent
127
- );
128
- background-size: 1rem 1rem;
129
- }
130
-
131
- .nt-progress--animated .nt-progress__bar {
132
- animation: nt-progress-stripes var(--nt-duration-slower) linear infinite;
133
- }
134
-
135
- .nt-progress--indeterminate .nt-progress__bar {
136
- position: absolute;
137
- width: 40%;
138
- min-width: 5rem;
139
- animation: nt-progress-indeterminate 1.15s var(--nt-ease-standard) infinite;
140
- }
141
-
142
- .nt-progress--inline {
143
- display: inline-flex;
144
- width: 12rem;
145
- vertical-align: middle;
146
- }
147
-
148
- .nt-progress-ring {
149
- --nt-progress-ring-size: 2.5rem;
150
- --nt-progress-ring-stroke: 0.25rem;
151
-
152
- position: relative;
153
- display: inline-grid;
154
- place-items: center;
155
- width: var(--nt-progress-ring-size);
156
- height: var(--nt-progress-ring-size);
157
- color: var(--nt-text-primary);
158
- }
159
-
160
- .nt-progress-ring__svg {
161
- width: 100%;
162
- height: 100%;
163
- transform: rotate(-90deg);
164
- }
165
-
166
- .nt-progress-ring__track,
167
- .nt-progress-ring__bar {
168
- fill: none;
169
- stroke-width: var(--nt-progress-ring-stroke);
170
- }
171
-
172
- .nt-progress-ring__track {
173
- stroke: var(--nt-bg-muted);
174
- }
175
-
176
- .nt-progress-ring__bar {
177
- stroke: var(--nt-accent);
178
- stroke-linecap: round;
179
- stroke-dasharray: var(--nt-progress-ring-circumference, 100);
180
- stroke-dashoffset: var(--nt-progress-ring-offset, 100);
181
- transition: stroke-dashoffset var(--nt-duration-normal) var(--nt-ease-standard);
182
- }
183
-
184
- .nt-progress-ring__label {
185
- position: absolute;
186
- color: var(--nt-text-primary);
187
- font: var(--nt-text-caption);
188
- font-variant-numeric: tabular-nums;
189
- }
190
-
191
- .nt-progress-ring--sm {
192
- --nt-progress-ring-size: 2rem;
193
- --nt-progress-ring-stroke: 0.1875rem;
194
- }
195
-
196
- .nt-progress-ring--lg {
197
- --nt-progress-ring-size: 3.5rem;
198
- --nt-progress-ring-stroke: 0.3125rem;
199
- }
200
-
201
- .nt-progress-ring--xl {
202
- --nt-progress-ring-size: 5rem;
203
- --nt-progress-ring-stroke: 0.375rem;
204
- }
205
-
206
- .nt-progress-ring--success .nt-progress-ring__bar {
207
- stroke: var(--nt-success);
208
- }
209
-
210
- .nt-progress-ring--warning .nt-progress-ring__bar {
211
- stroke: var(--nt-warning);
212
- }
213
-
214
- .nt-progress-ring--danger .nt-progress-ring__bar {
215
- stroke: var(--nt-danger);
216
- }
217
-
218
- .nt-progress-ring--info .nt-progress-ring__bar {
219
- stroke: var(--nt-info);
220
- }
221
-
222
- @keyframes nt-progress-stripes {
223
- from {
224
- background-position: 1rem 0;
225
- }
226
-
227
- to {
228
- background-position: 0 0;
229
- }
230
- }
231
-
232
- @keyframes nt-progress-indeterminate {
233
- 0% {
234
- left: -45%;
235
- }
236
-
237
- 100% {
238
- left: 105%;
239
- }
240
- }
241
-
242
- @media (prefers-reduced-motion: reduce) {
243
- .nt-progress__bar,
244
- .nt-progress-ring__bar {
245
- transition: none !important;
246
- animation: none !important;
247
- }
1
+ .nt-progress {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: var(--nt-space-2);
5
+ width: 100%;
6
+ min-width: 0;
7
+ color: var(--nt-text-primary);
8
+ }
9
+
10
+ .nt-progress__header {
11
+ display: flex;
12
+ align-items: center;
13
+ justify-content: space-between;
14
+ gap: var(--nt-space-3);
15
+ min-width: 0;
16
+ }
17
+
18
+ .nt-progress__label {
19
+ min-width: 0;
20
+ overflow: hidden;
21
+ color: var(--nt-text-primary);
22
+ font: var(--nt-text-label-sm);
23
+ letter-spacing: var(--nt-letter-spacing-label);
24
+ text-overflow: ellipsis;
25
+ white-space: nowrap;
26
+ }
27
+
28
+ .nt-progress__value {
29
+ flex: 0 0 auto;
30
+ color: var(--nt-text-muted);
31
+ font: var(--nt-text-caption);
32
+ font-variant-numeric: tabular-nums;
33
+ }
34
+
35
+ .nt-progress__track {
36
+ position: relative;
37
+ width: 100%;
38
+ height: 0.5rem;
39
+ overflow: hidden;
40
+ border-radius: var(--nt-radius-full);
41
+ background: var(--nt-bg-muted);
42
+ }
43
+
44
+ .nt-progress__bar {
45
+ width: var(--nt-progress-value, 0%);
46
+ height: 100%;
47
+ border-radius: inherit;
48
+ background: var(--nt-accent);
49
+ transform-origin: left center;
50
+ transition:
51
+ width var(--nt-duration-normal) var(--nt-ease-standard),
52
+ background-color var(--nt-duration-fast) var(--nt-ease-standard);
53
+ }
54
+
55
+ .nt-progress__description {
56
+ margin: 0;
57
+ color: var(--nt-text-muted);
58
+ font: var(--nt-text-caption);
59
+ }
60
+
61
+ .nt-progress--sm .nt-progress__track {
62
+ height: 0.375rem;
63
+ }
64
+
65
+ .nt-progress--md .nt-progress__track {
66
+ height: 0.5rem;
67
+ }
68
+
69
+ .nt-progress--lg .nt-progress__track {
70
+ height: 0.75rem;
71
+ }
72
+
73
+ .nt-progress--xl .nt-progress__track {
74
+ height: 1rem;
75
+ }
76
+
77
+ .nt-progress--success .nt-progress__bar {
78
+ background: var(--nt-success);
79
+ }
80
+
81
+ .nt-progress--warning .nt-progress__bar {
82
+ background: var(--nt-warning);
83
+ }
84
+
85
+ .nt-progress--danger .nt-progress__bar {
86
+ background: var(--nt-danger);
87
+ }
88
+
89
+ .nt-progress--info .nt-progress__bar {
90
+ background: var(--nt-info);
91
+ }
92
+
93
+ .nt-progress--neutral .nt-progress__bar {
94
+ background: var(--nt-neutral);
95
+ }
96
+
97
+ .nt-progress--soft .nt-progress__track {
98
+ background: var(--nt-accent-subtle);
99
+ }
100
+
101
+ .nt-progress--soft.nt-progress--success .nt-progress__track {
102
+ background: var(--nt-success-bg);
103
+ }
104
+
105
+ .nt-progress--soft.nt-progress--warning .nt-progress__track {
106
+ background: var(--nt-warning-bg);
107
+ }
108
+
109
+ .nt-progress--soft.nt-progress--danger .nt-progress__track {
110
+ background: var(--nt-danger-bg);
111
+ }
112
+
113
+ .nt-progress--soft.nt-progress--info .nt-progress__track {
114
+ background: var(--nt-info-bg);
115
+ }
116
+
117
+ .nt-progress--striped .nt-progress__bar {
118
+ background-image: linear-gradient(
119
+ 45deg,
120
+ rgba(255, 255, 255, 0.18) 25%,
121
+ transparent 25%,
122
+ transparent 50%,
123
+ rgba(255, 255, 255, 0.18) 50%,
124
+ rgba(255, 255, 255, 0.18) 75%,
125
+ transparent 75%,
126
+ transparent
127
+ );
128
+ background-size: 1rem 1rem;
129
+ }
130
+
131
+ .nt-progress--animated .nt-progress__bar {
132
+ animation: nt-progress-stripes var(--nt-duration-slower) linear infinite;
133
+ }
134
+
135
+ .nt-progress--indeterminate .nt-progress__bar {
136
+ position: absolute;
137
+ width: 40%;
138
+ min-width: 5rem;
139
+ animation: nt-progress-indeterminate 1.15s var(--nt-ease-standard) infinite;
140
+ }
141
+
142
+ .nt-progress--inline {
143
+ display: inline-flex;
144
+ width: 12rem;
145
+ vertical-align: middle;
146
+ }
147
+
148
+ .nt-progress-ring {
149
+ --nt-progress-ring-size: 2.5rem;
150
+ --nt-progress-ring-stroke: 0.25rem;
151
+
152
+ position: relative;
153
+ display: inline-grid;
154
+ place-items: center;
155
+ width: var(--nt-progress-ring-size);
156
+ height: var(--nt-progress-ring-size);
157
+ color: var(--nt-text-primary);
158
+ }
159
+
160
+ .nt-progress-ring__svg {
161
+ width: 100%;
162
+ height: 100%;
163
+ transform: rotate(-90deg);
164
+ }
165
+
166
+ .nt-progress-ring__track,
167
+ .nt-progress-ring__bar {
168
+ fill: none;
169
+ stroke-width: var(--nt-progress-ring-stroke);
170
+ }
171
+
172
+ .nt-progress-ring__track {
173
+ stroke: var(--nt-bg-muted);
174
+ }
175
+
176
+ .nt-progress-ring__bar {
177
+ stroke: var(--nt-accent);
178
+ stroke-linecap: round;
179
+ stroke-dasharray: var(--nt-progress-ring-circumference, 100);
180
+ stroke-dashoffset: var(--nt-progress-ring-offset, 100);
181
+ transition: stroke-dashoffset var(--nt-duration-normal) var(--nt-ease-standard);
182
+ }
183
+
184
+ .nt-progress-ring__label {
185
+ position: absolute;
186
+ color: var(--nt-text-primary);
187
+ font: var(--nt-text-caption);
188
+ font-variant-numeric: tabular-nums;
189
+ }
190
+
191
+ .nt-progress-ring--sm {
192
+ --nt-progress-ring-size: 2rem;
193
+ --nt-progress-ring-stroke: 0.1875rem;
194
+ }
195
+
196
+ .nt-progress-ring--lg {
197
+ --nt-progress-ring-size: 3.5rem;
198
+ --nt-progress-ring-stroke: 0.3125rem;
199
+ }
200
+
201
+ .nt-progress-ring--xl {
202
+ --nt-progress-ring-size: 5rem;
203
+ --nt-progress-ring-stroke: 0.375rem;
204
+ }
205
+
206
+ .nt-progress-ring--success .nt-progress-ring__bar {
207
+ stroke: var(--nt-success);
208
+ }
209
+
210
+ .nt-progress-ring--warning .nt-progress-ring__bar {
211
+ stroke: var(--nt-warning);
212
+ }
213
+
214
+ .nt-progress-ring--danger .nt-progress-ring__bar {
215
+ stroke: var(--nt-danger);
216
+ }
217
+
218
+ .nt-progress-ring--info .nt-progress-ring__bar {
219
+ stroke: var(--nt-info);
220
+ }
221
+
222
+ @keyframes nt-progress-stripes {
223
+ from {
224
+ background-position: 1rem 0;
225
+ }
226
+
227
+ to {
228
+ background-position: 0 0;
229
+ }
230
+ }
231
+
232
+ @keyframes nt-progress-indeterminate {
233
+ 0% {
234
+ left: -45%;
235
+ }
236
+
237
+ 100% {
238
+ left: 105%;
239
+ }
240
+ }
241
+
242
+ @media (prefers-reduced-motion: reduce) {
243
+ .nt-progress__bar,
244
+ .nt-progress-ring__bar {
245
+ transition: none !important;
246
+ animation: none !important;
247
+ }
248
248
  }