@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.
- package/LICENSE +21 -0
- package/README.md +10 -0
- package/dist/ai/ai-action-button/ai-action-button.css +269 -269
- package/dist/ai/ai-approval-card/ai-approval-card.css +320 -320
- package/dist/ai/ai-conversation-panel/ai-conversation-panel.css +403 -403
- package/dist/ai/ai-prompt-input/ai-prompt-input.css +377 -377
- package/dist/ai/ai-proposal-card/ai-proposal-card.css +358 -358
- package/dist/ai/ai-suggestion-card/ai-suggestion-card.css +293 -293
- package/dist/ai/ai-tool-call/ai-tool-call.css +255 -255
- package/dist/ai/index.css +1 -1
- package/dist/appearance/cache.d.ts +50 -0
- package/dist/appearance/cache.d.ts.map +1 -0
- package/dist/appearance/cache.js +126 -0
- package/dist/appearance/cache.js.map +1 -0
- package/dist/appearance/cookie.d.ts +18 -0
- package/dist/appearance/cookie.d.ts.map +1 -0
- package/dist/appearance/cookie.js +56 -0
- package/dist/appearance/cookie.js.map +1 -0
- package/dist/appearance/index.d.ts +8 -0
- package/dist/appearance/index.d.ts.map +1 -0
- package/dist/appearance/index.js +5 -0
- package/dist/appearance/index.js.map +1 -0
- package/dist/appearance/preference.d.ts +13 -0
- package/dist/appearance/preference.d.ts.map +1 -0
- package/dist/appearance/preference.js +26 -0
- package/dist/appearance/preference.js.map +1 -0
- package/dist/appearance/theme-controller.d.ts +80 -0
- package/dist/appearance/theme-controller.d.ts.map +1 -0
- package/dist/appearance/theme-controller.js +235 -0
- package/dist/appearance/theme-controller.js.map +1 -0
- package/dist/appearance/types.d.ts +21 -0
- package/dist/appearance/types.d.ts.map +1 -0
- package/dist/appearance/types.js +2 -0
- package/dist/appearance/types.js.map +1 -0
- package/dist/components/alert/alert.css +216 -216
- package/dist/components/avatar/avatar.css +218 -218
- package/dist/components/badge/badge.css +174 -174
- package/dist/components/breadcrumb/breadcrumb.css +204 -204
- package/dist/components/button/button.css +166 -166
- package/dist/components/card/card.css +219 -219
- package/dist/components/checkbox/checkbox.css +186 -186
- package/dist/components/chip/chip.css +267 -267
- package/dist/components/data-grid/data-grid.css +368 -368
- package/dist/components/dialog/dialog.css +274 -274
- package/dist/components/drawer/drawer.css +402 -402
- package/dist/components/dropdown/dropdown.css +297 -297
- package/dist/components/icon-button/icon-button.css +157 -157
- package/dist/components/input/input.css +162 -162
- package/dist/components/menu/menu.css +313 -313
- package/dist/components/modal/modal.css +317 -317
- package/dist/components/pagination/pagination.css +249 -249
- package/dist/components/panel/panel.css +282 -282
- package/dist/components/progress/progress.css +247 -247
- package/dist/components/radio/radio.css +163 -163
- package/dist/components/segmented-control/segmented-control.css +204 -204
- package/dist/components/select/select.css +102 -102
- package/dist/components/skeleton/skeleton.css +262 -262
- package/dist/components/split-button/split-button.css +284 -284
- package/dist/components/switch/switch.css +180 -180
- package/dist/components/tabs/tabs.css +288 -288
- package/dist/components/textarea/textarea.css +85 -85
- package/dist/components/toast/toast.css +322 -322
- package/dist/components/tooltip/tooltip.css +254 -254
- package/dist/domain/billing/index.css +497 -497
- package/dist/domain/calendar/day-slice/day-slice.css +382 -382
- package/dist/domain/calendar/day-timeline/day-timeline.css +323 -323
- package/dist/domain/calendar/event-card/event-card.css +336 -336
- package/dist/domain/calendar/month-grid/month-grid.css +419 -419
- package/dist/domain/calendar/week-grid/week-grid.css +469 -469
- package/dist/domain/companies/index.css +525 -525
- package/dist/index.css +5 -5
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/patterns/command-palette/command-palette.css +438 -438
- package/dist/patterns/company-switcher/company-switcher.css +362 -362
- package/dist/patterns/empty-state/empty-state.css +258 -258
- package/dist/patterns/error-state/error-state.css +271 -271
- package/dist/patterns/loading-state/loading-state.css +287 -287
- package/dist/patterns/notification-center/notification-center.css +437 -437
- package/dist/patterns/profile-menu/profile-menu.css +296 -296
- package/dist/patterns/search-bar/search-bar.css +443 -443
- package/dist/patterns/workspace-switcher/workspace-switcher.css +379 -379
- package/dist/shell/app-shell/app-shell.css +67 -67
- package/dist/shell/content-frame/content-frame.css +93 -93
- package/dist/shell/header/header.css +177 -177
- package/dist/shell/index.css +5 -5
- package/dist/shell/mobile-nav/mobile-nav.css +170 -170
- package/dist/shell/right-drawer/right-drawer.css +107 -107
- package/dist/shell/sidebar/sidebar.css +145 -145
- package/dist/styles/animations/motion.css +161 -161
- package/dist/styles/base.css +81 -81
- package/dist/styles/reset.css +50 -50
- package/dist/styles/themes/dark.css +119 -119
- package/dist/styles/themes/high-contrast.css +118 -118
- package/dist/styles/themes/light.css +118 -118
- package/dist/styles/tokens/breakpoints.css +14 -14
- package/dist/styles/tokens/color.css +96 -96
- package/dist/styles/tokens/elevation.css +31 -31
- package/dist/styles/tokens/motion.css +35 -35
- package/dist/styles/tokens/radius.css +20 -20
- package/dist/styles/tokens/spacing.css +49 -49
- package/dist/styles/tokens/typography.css +83 -83
- package/dist/styles/tokens/z-index.css +14 -14
- package/dist/styles/utilities/layout.css +134 -134
- package/dist/styles/utilities/text.css +151 -151
- package/dist/styles/utilities/visibility.css +47 -47
- package/docs/theming.md +227 -0
- package/package.json +23 -16
- package/src/ai/ai-action-button/ai-action-button.css +269 -269
- package/src/ai/ai-approval-card/ai-approval-card.css +320 -320
- package/src/ai/ai-conversation-panel/ai-conversation-panel.css +403 -403
- package/src/ai/ai-prompt-input/ai-prompt-input.css +377 -377
- package/src/ai/ai-proposal-card/ai-proposal-card.css +358 -358
- package/src/ai/ai-suggestion-card/ai-suggestion-card.css +293 -293
- package/src/ai/ai-tool-call/ai-tool-call.css +255 -255
- package/src/ai/index.css +1 -1
- package/src/appearance/cache.ts +160 -0
- package/src/appearance/cookie.ts +68 -0
- package/src/appearance/index.ts +38 -0
- package/src/appearance/preference.ts +35 -0
- package/src/appearance/theme-controller.ts +383 -0
- package/src/appearance/types.ts +23 -0
- package/src/behaviors/dialog.ts +167 -167
- package/src/behaviors/drawer.ts +176 -176
- package/src/behaviors/dropdown.ts +280 -280
- package/src/behaviors/focus-trap.ts +260 -260
- package/src/behaviors/ids.ts +47 -47
- package/src/behaviors/index.ts +6 -6
- package/src/behaviors/keyboard.ts +302 -302
- package/src/behaviors/overlay.ts +230 -230
- package/src/components/alert/alert.css +216 -216
- package/src/components/avatar/avatar.css +218 -218
- package/src/components/badge/badge.css +174 -174
- package/src/components/breadcrumb/breadcrumb.css +204 -204
- package/src/components/button/button.css +166 -166
- package/src/components/card/card.css +219 -219
- package/src/components/checkbox/checkbox.css +186 -186
- package/src/components/chip/chip.css +267 -267
- package/src/components/data-grid/data-grid.css +368 -368
- package/src/components/dialog/dialog.css +274 -274
- package/src/components/drawer/drawer.css +402 -402
- package/src/components/dropdown/dropdown.css +297 -297
- package/src/components/icon-button/icon-button.css +157 -157
- package/src/components/input/input.css +162 -162
- package/src/components/menu/menu.css +313 -313
- package/src/components/modal/modal.css +317 -317
- package/src/components/pagination/pagination.css +249 -249
- package/src/components/panel/panel.css +282 -282
- package/src/components/progress/progress.css +247 -247
- package/src/components/radio/radio.css +163 -163
- package/src/components/segmented-control/segmented-control.css +204 -204
- package/src/components/select/select.css +102 -102
- package/src/components/skeleton/skeleton.css +262 -262
- package/src/components/split-button/split-button.css +284 -284
- package/src/components/switch/switch.css +180 -180
- package/src/components/tabs/tabs.css +288 -288
- package/src/components/textarea/textarea.css +85 -85
- package/src/components/toast/toast.css +322 -322
- package/src/components/tooltip/tooltip.css +254 -254
- package/src/domain/billing/index.css +497 -497
- package/src/domain/calendar/day-slice/day-slice.css +382 -382
- package/src/domain/calendar/day-timeline/day-timeline.css +323 -323
- package/src/domain/calendar/event-card/event-card.css +336 -336
- package/src/domain/calendar/month-grid/month-grid.css +419 -419
- package/src/domain/calendar/week-grid/week-grid.css +469 -469
- package/src/domain/companies/index.css +525 -525
- package/src/index.css +5 -5
- package/src/index.ts +6 -5
- package/src/patterns/command-palette/command-palette.css +438 -438
- package/src/patterns/company-switcher/company-switcher.css +362 -362
- package/src/patterns/empty-state/empty-state.css +258 -258
- package/src/patterns/error-state/error-state.css +271 -271
- package/src/patterns/loading-state/loading-state.css +287 -287
- package/src/patterns/notification-center/notification-center.css +437 -437
- package/src/patterns/profile-menu/profile-menu.css +296 -296
- package/src/patterns/search-bar/search-bar.css +443 -443
- package/src/patterns/workspace-switcher/workspace-switcher.css +379 -379
- package/src/shell/app-shell/app-shell.css +67 -67
- package/src/shell/content-frame/content-frame.css +93 -93
- package/src/shell/header/header.css +177 -177
- package/src/shell/index.css +5 -5
- package/src/shell/mobile-nav/mobile-nav.css +170 -170
- package/src/shell/right-drawer/right-drawer.css +107 -107
- package/src/shell/sidebar/sidebar.css +145 -145
- package/src/styles/animations/motion.css +161 -161
- package/src/styles/base.css +81 -81
- package/src/styles/reset.css +50 -50
- package/src/styles/themes/dark.css +119 -119
- package/src/styles/themes/high-contrast.css +118 -118
- package/src/styles/themes/light.css +118 -118
- package/src/styles/tokens/breakpoints.css +14 -14
- package/src/styles/tokens/color.css +96 -96
- package/src/styles/tokens/elevation.css +31 -31
- package/src/styles/tokens/motion.css +35 -35
- package/src/styles/tokens/radius.css +20 -20
- package/src/styles/tokens/spacing.css +49 -49
- package/src/styles/tokens/typography.css +83 -83
- package/src/styles/tokens/z-index.css +14 -14
- package/src/styles/utilities/layout.css +134 -134
- package/src/styles/utilities/text.css +151 -151
- package/src/styles/utilities/visibility.css +47 -47
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
.nt-app-shell {
|
|
2
|
-
display: grid;
|
|
3
|
-
grid-template-columns: var(--nt-sidebar-width) minmax(0, 1fr);
|
|
4
|
-
min-width: 0;
|
|
5
|
-
min-height: 100vh;
|
|
6
|
-
background: var(--nt-bg-app);
|
|
7
|
-
color: var(--nt-text-primary);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.nt-app-shell--collapsed {
|
|
11
|
-
grid-template-columns: var(--nt-sidebar-width-collapsed) minmax(0, 1fr);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.nt-app-shell__sidebar {
|
|
15
|
-
position: sticky;
|
|
16
|
-
top: 0;
|
|
17
|
-
z-index: var(--nt-z-sidebar);
|
|
18
|
-
min-width: 0;
|
|
19
|
-
height: 100vh;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.nt-app-shell__main {
|
|
23
|
-
display: grid;
|
|
24
|
-
grid-template-rows: var(--nt-header-height) minmax(0, 1fr);
|
|
25
|
-
min-width: 0;
|
|
26
|
-
min-height: 100vh;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.nt-app-shell__header {
|
|
30
|
-
position: sticky;
|
|
31
|
-
top: 0;
|
|
32
|
-
z-index: var(--nt-z-header);
|
|
33
|
-
min-width: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.nt-app-shell__content {
|
|
37
|
-
min-width: 0;
|
|
38
|
-
min-height: 0;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.nt-app-shell__drawer {
|
|
42
|
-
position: fixed;
|
|
43
|
-
inset-block: 0;
|
|
44
|
-
inset-inline-end: 0;
|
|
45
|
-
z-index: var(--nt-z-drawer);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.nt-app-shell__overlay {
|
|
49
|
-
position: fixed;
|
|
50
|
-
inset: 0;
|
|
51
|
-
z-index: calc(var(--nt-z-drawer) - 1);
|
|
52
|
-
background: var(--nt-bg-overlay);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@media (max-width: 64rem) {
|
|
56
|
-
.nt-app-shell,
|
|
57
|
-
.nt-app-shell--collapsed {
|
|
58
|
-
grid-template-columns: minmax(0, 1fr);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.nt-app-shell__sidebar {
|
|
62
|
-
display: none;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.nt-app-shell__main {
|
|
66
|
-
grid-template-rows: var(--nt-header-height) minmax(0, 1fr);
|
|
67
|
-
}
|
|
1
|
+
.nt-app-shell {
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-template-columns: var(--nt-sidebar-width) minmax(0, 1fr);
|
|
4
|
+
min-width: 0;
|
|
5
|
+
min-height: 100vh;
|
|
6
|
+
background: var(--nt-bg-app);
|
|
7
|
+
color: var(--nt-text-primary);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.nt-app-shell--collapsed {
|
|
11
|
+
grid-template-columns: var(--nt-sidebar-width-collapsed) minmax(0, 1fr);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.nt-app-shell__sidebar {
|
|
15
|
+
position: sticky;
|
|
16
|
+
top: 0;
|
|
17
|
+
z-index: var(--nt-z-sidebar);
|
|
18
|
+
min-width: 0;
|
|
19
|
+
height: 100vh;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.nt-app-shell__main {
|
|
23
|
+
display: grid;
|
|
24
|
+
grid-template-rows: var(--nt-header-height) minmax(0, 1fr);
|
|
25
|
+
min-width: 0;
|
|
26
|
+
min-height: 100vh;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.nt-app-shell__header {
|
|
30
|
+
position: sticky;
|
|
31
|
+
top: 0;
|
|
32
|
+
z-index: var(--nt-z-header);
|
|
33
|
+
min-width: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.nt-app-shell__content {
|
|
37
|
+
min-width: 0;
|
|
38
|
+
min-height: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.nt-app-shell__drawer {
|
|
42
|
+
position: fixed;
|
|
43
|
+
inset-block: 0;
|
|
44
|
+
inset-inline-end: 0;
|
|
45
|
+
z-index: var(--nt-z-drawer);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.nt-app-shell__overlay {
|
|
49
|
+
position: fixed;
|
|
50
|
+
inset: 0;
|
|
51
|
+
z-index: calc(var(--nt-z-drawer) - 1);
|
|
52
|
+
background: var(--nt-bg-overlay);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@media (max-width: 64rem) {
|
|
56
|
+
.nt-app-shell,
|
|
57
|
+
.nt-app-shell--collapsed {
|
|
58
|
+
grid-template-columns: minmax(0, 1fr);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.nt-app-shell__sidebar {
|
|
62
|
+
display: none;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.nt-app-shell__main {
|
|
66
|
+
grid-template-rows: var(--nt-header-height) minmax(0, 1fr);
|
|
67
|
+
}
|
|
68
68
|
}
|
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
.nt-content-frame {
|
|
2
|
-
min-width: 0;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
padding: var(--nt-page-padding-md);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.nt-content-frame--flush {
|
|
8
|
-
padding: 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.nt-content-frame--narrow {
|
|
12
|
-
width: 100%;
|
|
13
|
-
max-width: var(--nt-container-lg);
|
|
14
|
-
margin-inline: auto;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.nt-content-frame--wide {
|
|
18
|
-
width: 100%;
|
|
19
|
-
max-width: var(--nt-container-2xl);
|
|
20
|
-
margin-inline: auto;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.nt-content-frame--full {
|
|
24
|
-
width: 100%;
|
|
25
|
-
max-width: none;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.nt-content-frame__header {
|
|
29
|
-
display: flex;
|
|
30
|
-
align-items: flex-start;
|
|
31
|
-
justify-content: space-between;
|
|
32
|
-
gap: var(--nt-space-4);
|
|
33
|
-
margin-block-end: var(--nt-space-6);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.nt-content-frame__title-group {
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
gap: var(--nt-space-1);
|
|
40
|
-
min-width: 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.nt-content-frame__title {
|
|
44
|
-
margin: 0;
|
|
45
|
-
color: var(--nt-text-primary);
|
|
46
|
-
font: var(--nt-text-heading-sm);
|
|
47
|
-
letter-spacing: var(--nt-letter-spacing-heading);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.nt-content-frame__description {
|
|
51
|
-
max-width: 52rem;
|
|
52
|
-
margin: 0;
|
|
53
|
-
color: var(--nt-text-muted);
|
|
54
|
-
font: var(--nt-text-body-sm);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.nt-content-frame__actions {
|
|
58
|
-
display: flex;
|
|
59
|
-
flex: 0 0 auto;
|
|
60
|
-
align-items: center;
|
|
61
|
-
justify-content: flex-end;
|
|
62
|
-
gap: var(--nt-space-2);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.nt-content-frame__body {
|
|
66
|
-
min-width: 0;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.nt-content-frame__section {
|
|
70
|
-
min-width: 0;
|
|
71
|
-
margin-block-end: var(--nt-space-6);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.nt-content-frame__section:last-child {
|
|
75
|
-
margin-block-end: 0;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
@media (max-width: 48rem) {
|
|
79
|
-
.nt-content-frame {
|
|
80
|
-
padding: var(--nt-page-padding-sm);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.nt-content-frame__header {
|
|
84
|
-
flex-direction: column;
|
|
85
|
-
align-items: stretch;
|
|
86
|
-
gap: var(--nt-space-3);
|
|
87
|
-
margin-block-end: var(--nt-space-4);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.nt-content-frame__actions {
|
|
91
|
-
justify-content: flex-start;
|
|
92
|
-
flex-wrap: wrap;
|
|
93
|
-
}
|
|
1
|
+
.nt-content-frame {
|
|
2
|
+
min-width: 0;
|
|
3
|
+
min-height: 100%;
|
|
4
|
+
padding: var(--nt-page-padding-md);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.nt-content-frame--flush {
|
|
8
|
+
padding: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.nt-content-frame--narrow {
|
|
12
|
+
width: 100%;
|
|
13
|
+
max-width: var(--nt-container-lg);
|
|
14
|
+
margin-inline: auto;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.nt-content-frame--wide {
|
|
18
|
+
width: 100%;
|
|
19
|
+
max-width: var(--nt-container-2xl);
|
|
20
|
+
margin-inline: auto;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.nt-content-frame--full {
|
|
24
|
+
width: 100%;
|
|
25
|
+
max-width: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.nt-content-frame__header {
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: flex-start;
|
|
31
|
+
justify-content: space-between;
|
|
32
|
+
gap: var(--nt-space-4);
|
|
33
|
+
margin-block-end: var(--nt-space-6);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.nt-content-frame__title-group {
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
gap: var(--nt-space-1);
|
|
40
|
+
min-width: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.nt-content-frame__title {
|
|
44
|
+
margin: 0;
|
|
45
|
+
color: var(--nt-text-primary);
|
|
46
|
+
font: var(--nt-text-heading-sm);
|
|
47
|
+
letter-spacing: var(--nt-letter-spacing-heading);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.nt-content-frame__description {
|
|
51
|
+
max-width: 52rem;
|
|
52
|
+
margin: 0;
|
|
53
|
+
color: var(--nt-text-muted);
|
|
54
|
+
font: var(--nt-text-body-sm);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.nt-content-frame__actions {
|
|
58
|
+
display: flex;
|
|
59
|
+
flex: 0 0 auto;
|
|
60
|
+
align-items: center;
|
|
61
|
+
justify-content: flex-end;
|
|
62
|
+
gap: var(--nt-space-2);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.nt-content-frame__body {
|
|
66
|
+
min-width: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.nt-content-frame__section {
|
|
70
|
+
min-width: 0;
|
|
71
|
+
margin-block-end: var(--nt-space-6);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.nt-content-frame__section:last-child {
|
|
75
|
+
margin-block-end: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@media (max-width: 48rem) {
|
|
79
|
+
.nt-content-frame {
|
|
80
|
+
padding: var(--nt-page-padding-sm);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.nt-content-frame__header {
|
|
84
|
+
flex-direction: column;
|
|
85
|
+
align-items: stretch;
|
|
86
|
+
gap: var(--nt-space-3);
|
|
87
|
+
margin-block-end: var(--nt-space-4);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.nt-content-frame__actions {
|
|
91
|
+
justify-content: flex-start;
|
|
92
|
+
flex-wrap: wrap;
|
|
93
|
+
}
|
|
94
94
|
}
|
|
@@ -1,178 +1,178 @@
|
|
|
1
|
-
.nt-header {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
justify-content: space-between;
|
|
5
|
-
gap: var(--nt-space-4);
|
|
6
|
-
width: 100%;
|
|
7
|
-
height: var(--nt-header-height);
|
|
8
|
-
min-width: 0;
|
|
9
|
-
padding-inline: var(--nt-space-5);
|
|
10
|
-
background: var(--nt-bg-header);
|
|
11
|
-
border-block-end: 1px solid var(--nt-border-subtle);
|
|
12
|
-
color: var(--nt-text-primary);
|
|
13
|
-
backdrop-filter: blur(18px);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.nt-header__left,
|
|
17
|
-
.nt-header__center,
|
|
18
|
-
.nt-header__right {
|
|
19
|
-
display: flex;
|
|
20
|
-
align-items: center;
|
|
21
|
-
min-width: 0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.nt-header__left {
|
|
25
|
-
flex: 1 1 auto;
|
|
26
|
-
gap: var(--nt-space-3);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.nt-header__center {
|
|
30
|
-
flex: 0 1 28rem;
|
|
31
|
-
justify-content: center;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.nt-header__right {
|
|
35
|
-
flex: 0 0 auto;
|
|
36
|
-
justify-content: flex-end;
|
|
37
|
-
gap: var(--nt-space-2);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.nt-header__mobile-trigger {
|
|
41
|
-
display: none;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.nt-header__title-group {
|
|
45
|
-
display: flex;
|
|
46
|
-
flex-direction: column;
|
|
47
|
-
gap: var(--nt-space-0-5);
|
|
48
|
-
min-width: 0;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.nt-header__title {
|
|
52
|
-
margin: 0;
|
|
53
|
-
overflow: hidden;
|
|
54
|
-
color: var(--nt-text-primary);
|
|
55
|
-
font: var(--nt-text-title-sm);
|
|
56
|
-
letter-spacing: var(--nt-letter-spacing-title);
|
|
57
|
-
text-overflow: ellipsis;
|
|
58
|
-
white-space: nowrap;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.nt-header__subtitle {
|
|
62
|
-
overflow: hidden;
|
|
63
|
-
color: var(--nt-text-muted);
|
|
64
|
-
font: var(--nt-text-caption);
|
|
65
|
-
text-overflow: ellipsis;
|
|
66
|
-
white-space: nowrap;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.nt-header__breadcrumb {
|
|
70
|
-
display: flex;
|
|
71
|
-
align-items: center;
|
|
72
|
-
gap: var(--nt-space-1-5);
|
|
73
|
-
min-width: 0;
|
|
74
|
-
color: var(--nt-text-muted);
|
|
75
|
-
font: var(--nt-text-label-sm);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.nt-header__breadcrumb-item {
|
|
79
|
-
min-width: 0;
|
|
80
|
-
overflow: hidden;
|
|
81
|
-
color: inherit;
|
|
82
|
-
text-overflow: ellipsis;
|
|
83
|
-
white-space: nowrap;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.nt-header__breadcrumb-separator {
|
|
87
|
-
color: var(--nt-text-subtle);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.nt-header__search {
|
|
91
|
-
display: flex;
|
|
92
|
-
align-items: center;
|
|
93
|
-
gap: var(--nt-space-2);
|
|
94
|
-
width: 100%;
|
|
95
|
-
min-height: var(--nt-control-height-md);
|
|
96
|
-
padding-inline: var(--nt-space-3);
|
|
97
|
-
border: 1px solid var(--nt-control-border);
|
|
98
|
-
border-radius: var(--nt-radius-control);
|
|
99
|
-
background: var(--nt-control-bg);
|
|
100
|
-
color: var(--nt-text-muted);
|
|
101
|
-
font: var(--nt-text-body-sm);
|
|
102
|
-
transition: var(--nt-transition-colors);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.nt-header__search:hover {
|
|
106
|
-
background: var(--nt-control-bg-hover);
|
|
107
|
-
border-color: var(--nt-control-border-hover);
|
|
108
|
-
color: var(--nt-text-secondary);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.nt-header__search:focus-within {
|
|
112
|
-
border-color: var(--nt-control-border-focus);
|
|
113
|
-
box-shadow: 0 0 0 3px var(--nt-focus-ring-muted);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.nt-header__search-kbd {
|
|
117
|
-
margin-inline-start: auto;
|
|
118
|
-
padding: var(--nt-space-0-5) var(--nt-space-1-5);
|
|
119
|
-
border: 1px solid var(--nt-border-subtle);
|
|
120
|
-
border-radius: var(--nt-radius-sm);
|
|
121
|
-
color: var(--nt-text-subtle);
|
|
122
|
-
font: var(--nt-text-caption);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.nt-header__action {
|
|
126
|
-
display: inline-flex;
|
|
127
|
-
align-items: center;
|
|
128
|
-
justify-content: center;
|
|
129
|
-
width: var(--nt-control-height-md);
|
|
130
|
-
height: var(--nt-control-height-md);
|
|
131
|
-
border: 1px solid transparent;
|
|
132
|
-
border-radius: var(--nt-radius-control);
|
|
133
|
-
background: transparent;
|
|
134
|
-
color: var(--nt-icon-secondary);
|
|
135
|
-
cursor: pointer;
|
|
136
|
-
transition: var(--nt-transition-colors);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.nt-header__action:hover {
|
|
140
|
-
background: var(--nt-bg-surface-hover);
|
|
141
|
-
color: var(--nt-icon-primary);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.nt-header__action:focus-visible {
|
|
145
|
-
outline: 2px solid var(--nt-focus-ring);
|
|
146
|
-
outline-offset: 2px;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.nt-header__action--active {
|
|
150
|
-
background: var(--nt-accent-subtle);
|
|
151
|
-
border-color: var(--nt-border-interactive);
|
|
152
|
-
color: var(--nt-accent-hover);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
@media (max-width: 64rem) {
|
|
156
|
-
.nt-header {
|
|
157
|
-
padding-inline: var(--nt-space-3);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.nt-header__mobile-trigger {
|
|
161
|
-
display: inline-flex;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.nt-header__center {
|
|
165
|
-
display: none;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
@media (max-width: 40rem) {
|
|
170
|
-
.nt-header__subtitle,
|
|
171
|
-
.nt-header__breadcrumb {
|
|
172
|
-
display: none;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.nt-header__right {
|
|
176
|
-
gap: var(--nt-space-1);
|
|
177
|
-
}
|
|
1
|
+
.nt-header {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
gap: var(--nt-space-4);
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: var(--nt-header-height);
|
|
8
|
+
min-width: 0;
|
|
9
|
+
padding-inline: var(--nt-space-5);
|
|
10
|
+
background: var(--nt-bg-header);
|
|
11
|
+
border-block-end: 1px solid var(--nt-border-subtle);
|
|
12
|
+
color: var(--nt-text-primary);
|
|
13
|
+
backdrop-filter: blur(18px);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.nt-header__left,
|
|
17
|
+
.nt-header__center,
|
|
18
|
+
.nt-header__right {
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
min-width: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.nt-header__left {
|
|
25
|
+
flex: 1 1 auto;
|
|
26
|
+
gap: var(--nt-space-3);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.nt-header__center {
|
|
30
|
+
flex: 0 1 28rem;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.nt-header__right {
|
|
35
|
+
flex: 0 0 auto;
|
|
36
|
+
justify-content: flex-end;
|
|
37
|
+
gap: var(--nt-space-2);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.nt-header__mobile-trigger {
|
|
41
|
+
display: none;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.nt-header__title-group {
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
gap: var(--nt-space-0-5);
|
|
48
|
+
min-width: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.nt-header__title {
|
|
52
|
+
margin: 0;
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
color: var(--nt-text-primary);
|
|
55
|
+
font: var(--nt-text-title-sm);
|
|
56
|
+
letter-spacing: var(--nt-letter-spacing-title);
|
|
57
|
+
text-overflow: ellipsis;
|
|
58
|
+
white-space: nowrap;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.nt-header__subtitle {
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
color: var(--nt-text-muted);
|
|
64
|
+
font: var(--nt-text-caption);
|
|
65
|
+
text-overflow: ellipsis;
|
|
66
|
+
white-space: nowrap;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.nt-header__breadcrumb {
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
gap: var(--nt-space-1-5);
|
|
73
|
+
min-width: 0;
|
|
74
|
+
color: var(--nt-text-muted);
|
|
75
|
+
font: var(--nt-text-label-sm);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.nt-header__breadcrumb-item {
|
|
79
|
+
min-width: 0;
|
|
80
|
+
overflow: hidden;
|
|
81
|
+
color: inherit;
|
|
82
|
+
text-overflow: ellipsis;
|
|
83
|
+
white-space: nowrap;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.nt-header__breadcrumb-separator {
|
|
87
|
+
color: var(--nt-text-subtle);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.nt-header__search {
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
gap: var(--nt-space-2);
|
|
94
|
+
width: 100%;
|
|
95
|
+
min-height: var(--nt-control-height-md);
|
|
96
|
+
padding-inline: var(--nt-space-3);
|
|
97
|
+
border: 1px solid var(--nt-control-border);
|
|
98
|
+
border-radius: var(--nt-radius-control);
|
|
99
|
+
background: var(--nt-control-bg);
|
|
100
|
+
color: var(--nt-text-muted);
|
|
101
|
+
font: var(--nt-text-body-sm);
|
|
102
|
+
transition: var(--nt-transition-colors);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.nt-header__search:hover {
|
|
106
|
+
background: var(--nt-control-bg-hover);
|
|
107
|
+
border-color: var(--nt-control-border-hover);
|
|
108
|
+
color: var(--nt-text-secondary);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.nt-header__search:focus-within {
|
|
112
|
+
border-color: var(--nt-control-border-focus);
|
|
113
|
+
box-shadow: 0 0 0 3px var(--nt-focus-ring-muted);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.nt-header__search-kbd {
|
|
117
|
+
margin-inline-start: auto;
|
|
118
|
+
padding: var(--nt-space-0-5) var(--nt-space-1-5);
|
|
119
|
+
border: 1px solid var(--nt-border-subtle);
|
|
120
|
+
border-radius: var(--nt-radius-sm);
|
|
121
|
+
color: var(--nt-text-subtle);
|
|
122
|
+
font: var(--nt-text-caption);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.nt-header__action {
|
|
126
|
+
display: inline-flex;
|
|
127
|
+
align-items: center;
|
|
128
|
+
justify-content: center;
|
|
129
|
+
width: var(--nt-control-height-md);
|
|
130
|
+
height: var(--nt-control-height-md);
|
|
131
|
+
border: 1px solid transparent;
|
|
132
|
+
border-radius: var(--nt-radius-control);
|
|
133
|
+
background: transparent;
|
|
134
|
+
color: var(--nt-icon-secondary);
|
|
135
|
+
cursor: pointer;
|
|
136
|
+
transition: var(--nt-transition-colors);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.nt-header__action:hover {
|
|
140
|
+
background: var(--nt-bg-surface-hover);
|
|
141
|
+
color: var(--nt-icon-primary);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.nt-header__action:focus-visible {
|
|
145
|
+
outline: 2px solid var(--nt-focus-ring);
|
|
146
|
+
outline-offset: 2px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.nt-header__action--active {
|
|
150
|
+
background: var(--nt-accent-subtle);
|
|
151
|
+
border-color: var(--nt-border-interactive);
|
|
152
|
+
color: var(--nt-accent-hover);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@media (max-width: 64rem) {
|
|
156
|
+
.nt-header {
|
|
157
|
+
padding-inline: var(--nt-space-3);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.nt-header__mobile-trigger {
|
|
161
|
+
display: inline-flex;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.nt-header__center {
|
|
165
|
+
display: none;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
@media (max-width: 40rem) {
|
|
170
|
+
.nt-header__subtitle,
|
|
171
|
+
.nt-header__breadcrumb {
|
|
172
|
+
display: none;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.nt-header__right {
|
|
176
|
+
gap: var(--nt-space-1);
|
|
177
|
+
}
|
|
178
178
|
}
|
package/dist/shell/index.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import './app-shell/app-shell.css';
|
|
2
|
-
@import './sidebar/sidebar.css';
|
|
3
|
-
@import './header/header.css';
|
|
4
|
-
@import './content-frame/content-frame.css';
|
|
5
|
-
@import './right-drawer/right-drawer.css';
|
|
1
|
+
@import './app-shell/app-shell.css';
|
|
2
|
+
@import './sidebar/sidebar.css';
|
|
3
|
+
@import './header/header.css';
|
|
4
|
+
@import './content-frame/content-frame.css';
|
|
5
|
+
@import './right-drawer/right-drawer.css';
|
|
6
6
|
@import './mobile-nav/mobile-nav.css';
|