@mohasinac/appkit 2.7.22 → 2.7.24
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/client.d.ts +4 -0
- package/dist/client.js +3 -0
- package/dist/features/auth/consent-otp.js +8 -8
- package/dist/features/auth/permissions/constants.d.ts +1 -1
- package/dist/features/auth/permissions/constants.js +2 -0
- package/dist/features/before-after/messages/en.json +7 -7
- package/dist/features/collections/messages/en.json +9 -9
- package/dist/features/consultation/messages/en.json +24 -24
- package/dist/features/contact/email.js +179 -179
- package/dist/features/corporate/messages/en.json +25 -25
- package/dist/features/loyalty/messages/en.json +18 -18
- package/dist/features/media/messages/en.json +63 -63
- package/dist/features/pre-orders/messages/en.json +12 -12
- package/dist/features/site-settings/components/ActionPermissionsManager.d.ts +7 -0
- package/dist/features/site-settings/components/ActionPermissionsManager.js +99 -0
- package/dist/features/site-settings/components/NavPermissionsManager.d.ts +18 -0
- package/dist/features/site-settings/components/NavPermissionsManager.js +33 -0
- package/dist/features/whatsapp-bot/messages/en.json +6 -6
- package/dist/index.d.ts +4 -0
- package/dist/index.js +3 -0
- package/dist/next/routing/route-map.d.ts +4 -0
- package/dist/next/routing/route-map.js +2 -0
- package/dist/styles.css +21 -21
- package/dist/tailwind-utilities.css +1 -1
- package/dist/tokens/tokens.css +436 -436
- package/dist/ui/components/ActiveFilterChips.style.css +66 -66
- package/dist/ui/components/AvatarDisplay.style.css +46 -46
- package/dist/ui/components/BackgroundRenderer.style.css +31 -31
- package/dist/ui/components/Breadcrumb.style.css +60 -60
- package/dist/ui/components/CountdownDisplay.style.css +4 -4
- package/dist/ui/components/Div.style.css +6 -6
- package/dist/ui/components/EmptyState.style.css +28 -28
- package/dist/ui/components/FlowDiagram.style.css +77 -77
- package/dist/ui/components/FormGrid.style.css +32 -32
- package/dist/ui/components/ImageGallery.style.css +163 -163
- package/dist/ui/components/ImageLightbox.style.css +58 -58
- package/dist/ui/components/ItemRow.style.css +33 -33
- package/dist/ui/components/Layout.style.css +229 -229
- package/dist/ui/components/Menu.style.css +6 -6
- package/dist/ui/components/NavigationLoader.style.css +19 -19
- package/dist/ui/components/ResponsiveView.style.css +69 -69
- package/dist/ui/components/RoleBadge.style.css +7 -7
- package/dist/ui/components/SectionTabs.style.css +164 -164
- package/dist/ui/components/Semantic.style.css +14 -14
- package/dist/ui/components/SkipToMain.style.css +34 -34
- package/dist/ui/components/SortDropdown.style.css +12 -12
- package/dist/ui/components/StatusBadge.style.css +5 -5
- package/dist/ui/components/UnsavedChangesModal.style.css +33 -33
- package/dist/ui/components/ViewToggle.style.css +50 -50
- package/dist/ui/components/index.style.css +78 -78
- package/package.json +1 -1
|
@@ -1,164 +1,164 @@
|
|
|
1
|
-
.appkit-section-tabs {
|
|
2
|
-
position: sticky;
|
|
3
|
-
top: var(--header-height, 0px);
|
|
4
|
-
z-index: var(--appkit-z-raised);
|
|
5
|
-
background: var(--appkit-color-surface);
|
|
6
|
-
border-bottom: 1px solid var(--appkit-color-border);
|
|
7
|
-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.dark .appkit-section-tabs {
|
|
11
|
-
background: var(--appkit-color-bg);
|
|
12
|
-
border-bottom-color: var(--appkit-color-border);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.appkit-section-tabs--admin {
|
|
16
|
-
background-image: linear-gradient(to right, rgba(250, 245, 255, 0.75), transparent, rgba(238, 242, 255, 0.45));
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.appkit-section-tabs--user {
|
|
20
|
-
background-image: linear-gradient(to right, rgba(238, 242, 255, 0.75), transparent, rgba(240, 253, 250, 0.45));
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.dark .appkit-section-tabs--admin {
|
|
24
|
-
background-image: linear-gradient(to right, rgba(88, 28, 135, 0.2), transparent, rgba(49, 46, 129, 0.12));
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.dark .appkit-section-tabs--user {
|
|
28
|
-
background-image: linear-gradient(to right, rgba(30, 58, 138, 0.2), transparent, rgba(19, 78, 74, 0.12));
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.appkit-section-tabs__container {
|
|
32
|
-
width: min(80rem, 100%);
|
|
33
|
-
margin: 0 auto;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.appkit-section-tabs__scroll {
|
|
37
|
-
overflow-x: auto;
|
|
38
|
-
-ms-overflow-style: none;
|
|
39
|
-
scrollbar-width: none;
|
|
40
|
-
touch-action: pan-x;
|
|
41
|
-
padding-bottom: 0.125rem;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.appkit-section-tabs__scroll::-webkit-scrollbar {
|
|
45
|
-
display: none;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.appkit-section-tabs__scroll--padded {
|
|
49
|
-
padding-left: 0.5rem;
|
|
50
|
-
padding-right: 0.5rem;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
@media (min-width: 768px) {
|
|
54
|
-
.appkit-section-tabs__scroll--padded {
|
|
55
|
-
padding-left: 1rem;
|
|
56
|
-
padding-right: 1rem;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.appkit-section-tabs__track {
|
|
61
|
-
display: flex;
|
|
62
|
-
min-width: max-content;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
@media (min-width: 1024px) {
|
|
66
|
-
.appkit-section-tabs__track--full {
|
|
67
|
-
min-width: 0;
|
|
68
|
-
width: 100%;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.appkit-section-tabs__tab {
|
|
73
|
-
display: inline-flex;
|
|
74
|
-
align-items: center;
|
|
75
|
-
justify-content: center;
|
|
76
|
-
gap: 0.375rem;
|
|
77
|
-
flex: 1;
|
|
78
|
-
min-width: fit-content;
|
|
79
|
-
flex-shrink: 0;
|
|
80
|
-
white-space: nowrap;
|
|
81
|
-
font-size: 0.875rem;
|
|
82
|
-
font-weight: 500;
|
|
83
|
-
border: 1px solid transparent;
|
|
84
|
-
border-radius: 9999px;
|
|
85
|
-
padding: 0.625rem 1rem;
|
|
86
|
-
transition: all 0.2s ease;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@media (min-width: 640px) {
|
|
90
|
-
.appkit-section-tabs__tab {
|
|
91
|
-
padding-left: 1.25rem;
|
|
92
|
-
padding-right: 1.25rem;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.appkit-section-tabs__tab:focus-visible {
|
|
97
|
-
outline: none;
|
|
98
|
-
box-shadow: 0 0 0 2px rgba(101, 196, 8, 0.55);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.dark .appkit-section-tabs__tab:focus-visible {
|
|
102
|
-
box-shadow: 0 0 0 2px rgba(240, 99, 185, 0.6);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.appkit-section-tabs__tab--active {
|
|
106
|
-
border-color: rgba(80, 156, 2, 0.35);
|
|
107
|
-
background: var(--appkit-color-secondary-600);
|
|
108
|
-
color: var(--appkit-color-text-on-primary);
|
|
109
|
-
box-shadow: 0 10px 24px -12px rgba(34, 197, 94, 0.7);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.dark .appkit-section-tabs__tab--active {
|
|
113
|
-
border-color: rgba(233, 30, 140, 0.4);
|
|
114
|
-
background: var(--appkit-color-primary);
|
|
115
|
-
color: var(--appkit-color-text-on-primary);
|
|
116
|
-
box-shadow: 0 10px 24px -12px rgba(236, 72, 153, 0.9);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.appkit-section-tabs__tab--inactive {
|
|
120
|
-
border-color: rgba(80, 156, 2, 0.2);
|
|
121
|
-
background: rgba(80, 156, 2, 0.1);
|
|
122
|
-
color: var(--appkit-color-secondary-600);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.appkit-section-tabs__tab--inactive:hover {
|
|
126
|
-
background: rgba(80, 156, 2, 0.18);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.dark .appkit-section-tabs__tab--inactive {
|
|
130
|
-
border-color: var(--appkit-color-border);
|
|
131
|
-
background: rgba(30, 41, 59, 0.8);
|
|
132
|
-
color: var(--appkit-color-primary-300);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.dark .appkit-section-tabs__tab--inactive:hover {
|
|
136
|
-
background: rgba(51, 65, 85, 0.9);
|
|
137
|
-
color: var(--appkit-color-primary-100);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.appkit-section-tabs__icon {
|
|
141
|
-
flex-shrink: 0;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.appkit-section-tabs__count {
|
|
145
|
-
flex-shrink: 0;
|
|
146
|
-
font-size: 0.75rem;
|
|
147
|
-
padding: 0.125rem 0.375rem;
|
|
148
|
-
border-radius: 9999px;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.appkit-section-tabs__count--active {
|
|
152
|
-
background: rgba(255, 255, 255, 0.2);
|
|
153
|
-
color: var(--appkit-color-text-on-primary);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.appkit-section-tabs__count--inactive {
|
|
157
|
-
background: var(--appkit-color-zinc-100);
|
|
158
|
-
color: var(--appkit-color-zinc-500);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.dark .appkit-section-tabs__count--inactive {
|
|
162
|
-
background: var(--appkit-color-slate-700);
|
|
163
|
-
color: var(--appkit-color-slate-300);
|
|
164
|
-
}
|
|
1
|
+
.appkit-section-tabs {
|
|
2
|
+
position: sticky;
|
|
3
|
+
top: var(--header-height, 0px);
|
|
4
|
+
z-index: var(--appkit-z-raised);
|
|
5
|
+
background: var(--appkit-color-surface);
|
|
6
|
+
border-bottom: 1px solid var(--appkit-color-border);
|
|
7
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.dark .appkit-section-tabs {
|
|
11
|
+
background: var(--appkit-color-bg);
|
|
12
|
+
border-bottom-color: var(--appkit-color-border);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.appkit-section-tabs--admin {
|
|
16
|
+
background-image: linear-gradient(to right, rgba(250, 245, 255, 0.75), transparent, rgba(238, 242, 255, 0.45));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.appkit-section-tabs--user {
|
|
20
|
+
background-image: linear-gradient(to right, rgba(238, 242, 255, 0.75), transparent, rgba(240, 253, 250, 0.45));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.dark .appkit-section-tabs--admin {
|
|
24
|
+
background-image: linear-gradient(to right, rgba(88, 28, 135, 0.2), transparent, rgba(49, 46, 129, 0.12));
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.dark .appkit-section-tabs--user {
|
|
28
|
+
background-image: linear-gradient(to right, rgba(30, 58, 138, 0.2), transparent, rgba(19, 78, 74, 0.12));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.appkit-section-tabs__container {
|
|
32
|
+
width: min(80rem, 100%);
|
|
33
|
+
margin: 0 auto;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.appkit-section-tabs__scroll {
|
|
37
|
+
overflow-x: auto;
|
|
38
|
+
-ms-overflow-style: none;
|
|
39
|
+
scrollbar-width: none;
|
|
40
|
+
touch-action: pan-x;
|
|
41
|
+
padding-bottom: 0.125rem;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.appkit-section-tabs__scroll::-webkit-scrollbar {
|
|
45
|
+
display: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.appkit-section-tabs__scroll--padded {
|
|
49
|
+
padding-left: 0.5rem;
|
|
50
|
+
padding-right: 0.5rem;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@media (min-width: 768px) {
|
|
54
|
+
.appkit-section-tabs__scroll--padded {
|
|
55
|
+
padding-left: 1rem;
|
|
56
|
+
padding-right: 1rem;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.appkit-section-tabs__track {
|
|
61
|
+
display: flex;
|
|
62
|
+
min-width: max-content;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@media (min-width: 1024px) {
|
|
66
|
+
.appkit-section-tabs__track--full {
|
|
67
|
+
min-width: 0;
|
|
68
|
+
width: 100%;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.appkit-section-tabs__tab {
|
|
73
|
+
display: inline-flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
justify-content: center;
|
|
76
|
+
gap: 0.375rem;
|
|
77
|
+
flex: 1;
|
|
78
|
+
min-width: fit-content;
|
|
79
|
+
flex-shrink: 0;
|
|
80
|
+
white-space: nowrap;
|
|
81
|
+
font-size: 0.875rem;
|
|
82
|
+
font-weight: 500;
|
|
83
|
+
border: 1px solid transparent;
|
|
84
|
+
border-radius: 9999px;
|
|
85
|
+
padding: 0.625rem 1rem;
|
|
86
|
+
transition: all 0.2s ease;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@media (min-width: 640px) {
|
|
90
|
+
.appkit-section-tabs__tab {
|
|
91
|
+
padding-left: 1.25rem;
|
|
92
|
+
padding-right: 1.25rem;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.appkit-section-tabs__tab:focus-visible {
|
|
97
|
+
outline: none;
|
|
98
|
+
box-shadow: 0 0 0 2px rgba(101, 196, 8, 0.55);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.dark .appkit-section-tabs__tab:focus-visible {
|
|
102
|
+
box-shadow: 0 0 0 2px rgba(240, 99, 185, 0.6);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.appkit-section-tabs__tab--active {
|
|
106
|
+
border-color: rgba(80, 156, 2, 0.35);
|
|
107
|
+
background: var(--appkit-color-secondary-600);
|
|
108
|
+
color: var(--appkit-color-text-on-primary);
|
|
109
|
+
box-shadow: 0 10px 24px -12px rgba(34, 197, 94, 0.7);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.dark .appkit-section-tabs__tab--active {
|
|
113
|
+
border-color: rgba(233, 30, 140, 0.4);
|
|
114
|
+
background: var(--appkit-color-primary);
|
|
115
|
+
color: var(--appkit-color-text-on-primary);
|
|
116
|
+
box-shadow: 0 10px 24px -12px rgba(236, 72, 153, 0.9);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.appkit-section-tabs__tab--inactive {
|
|
120
|
+
border-color: rgba(80, 156, 2, 0.2);
|
|
121
|
+
background: rgba(80, 156, 2, 0.1);
|
|
122
|
+
color: var(--appkit-color-secondary-600);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.appkit-section-tabs__tab--inactive:hover {
|
|
126
|
+
background: rgba(80, 156, 2, 0.18);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.dark .appkit-section-tabs__tab--inactive {
|
|
130
|
+
border-color: var(--appkit-color-border);
|
|
131
|
+
background: rgba(30, 41, 59, 0.8);
|
|
132
|
+
color: var(--appkit-color-primary-300);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.dark .appkit-section-tabs__tab--inactive:hover {
|
|
136
|
+
background: rgba(51, 65, 85, 0.9);
|
|
137
|
+
color: var(--appkit-color-primary-100);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.appkit-section-tabs__icon {
|
|
141
|
+
flex-shrink: 0;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.appkit-section-tabs__count {
|
|
145
|
+
flex-shrink: 0;
|
|
146
|
+
font-size: 0.75rem;
|
|
147
|
+
padding: 0.125rem 0.375rem;
|
|
148
|
+
border-radius: 9999px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.appkit-section-tabs__count--active {
|
|
152
|
+
background: rgba(255, 255, 255, 0.2);
|
|
153
|
+
color: var(--appkit-color-text-on-primary);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.appkit-section-tabs__count--inactive {
|
|
157
|
+
background: var(--appkit-color-zinc-100);
|
|
158
|
+
color: var(--appkit-color-zinc-500);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.dark .appkit-section-tabs__count--inactive {
|
|
162
|
+
background: var(--appkit-color-slate-700);
|
|
163
|
+
color: var(--appkit-color-slate-300);
|
|
164
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/* Semantic — HTML5 landmark wrappers (Section, Article, Main, Aside, Nav, etc.) */
|
|
2
|
-
/* Pure passthroughs — no default styles. Exists for style contract compliance. */
|
|
3
|
-
/* Consumer themes may add base landmark styles via these hooks. */
|
|
4
|
-
|
|
5
|
-
.appkit-section {}
|
|
6
|
-
.appkit-article {}
|
|
7
|
-
.appkit-main {}
|
|
8
|
-
.appkit-aside {}
|
|
9
|
-
.appkit-nav {}
|
|
10
|
-
.appkit-header {}
|
|
11
|
-
.appkit-footer {}
|
|
12
|
-
.appkit-ul {}
|
|
13
|
-
.appkit-ol {}
|
|
14
|
-
.appkit-li {}
|
|
1
|
+
/* Semantic — HTML5 landmark wrappers (Section, Article, Main, Aside, Nav, etc.) */
|
|
2
|
+
/* Pure passthroughs — no default styles. Exists for style contract compliance. */
|
|
3
|
+
/* Consumer themes may add base landmark styles via these hooks. */
|
|
4
|
+
|
|
5
|
+
.appkit-section {}
|
|
6
|
+
.appkit-article {}
|
|
7
|
+
.appkit-main {}
|
|
8
|
+
.appkit-aside {}
|
|
9
|
+
.appkit-nav {}
|
|
10
|
+
.appkit-header {}
|
|
11
|
+
.appkit-footer {}
|
|
12
|
+
.appkit-ul {}
|
|
13
|
+
.appkit-ol {}
|
|
14
|
+
.appkit-li {}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
/* SkipToMain — accessibility skip-navigation link */
|
|
2
|
-
|
|
3
|
-
.appkit-skip-to-main {
|
|
4
|
-
position: absolute;
|
|
5
|
-
width: 1px;
|
|
6
|
-
height: 1px;
|
|
7
|
-
padding: 0;
|
|
8
|
-
margin: -1px;
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
clip: rect(0, 0, 0, 0);
|
|
11
|
-
white-space: nowrap;
|
|
12
|
-
border-width: 0;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.appkit-skip-to-main:focus-visible {
|
|
16
|
-
position: fixed;
|
|
17
|
-
left: 1rem;
|
|
18
|
-
top: 1rem;
|
|
19
|
-
z-index: 100;
|
|
20
|
-
width: auto;
|
|
21
|
-
height: auto;
|
|
22
|
-
padding: 0.625rem 1rem;
|
|
23
|
-
margin: 0;
|
|
24
|
-
overflow: visible;
|
|
25
|
-
clip: auto;
|
|
26
|
-
white-space: normal;
|
|
27
|
-
border-radius: 0.5rem;
|
|
28
|
-
background: var(--appkit-color-secondary);
|
|
29
|
-
color: var(--appkit-color-text-on-primary);
|
|
30
|
-
font-size: 0.875rem;
|
|
31
|
-
font-weight: 600;
|
|
32
|
-
outline: none;
|
|
33
|
-
box-shadow: 0 0 0 2px var(--appkit-color-secondary), 0 0 0 4px var(--appkit-color-surface);
|
|
34
|
-
}
|
|
1
|
+
/* SkipToMain — accessibility skip-navigation link */
|
|
2
|
+
|
|
3
|
+
.appkit-skip-to-main {
|
|
4
|
+
position: absolute;
|
|
5
|
+
width: 1px;
|
|
6
|
+
height: 1px;
|
|
7
|
+
padding: 0;
|
|
8
|
+
margin: -1px;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
clip: rect(0, 0, 0, 0);
|
|
11
|
+
white-space: nowrap;
|
|
12
|
+
border-width: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.appkit-skip-to-main:focus-visible {
|
|
16
|
+
position: fixed;
|
|
17
|
+
left: 1rem;
|
|
18
|
+
top: 1rem;
|
|
19
|
+
z-index: 100;
|
|
20
|
+
width: auto;
|
|
21
|
+
height: auto;
|
|
22
|
+
padding: 0.625rem 1rem;
|
|
23
|
+
margin: 0;
|
|
24
|
+
overflow: visible;
|
|
25
|
+
clip: auto;
|
|
26
|
+
white-space: normal;
|
|
27
|
+
border-radius: 0.5rem;
|
|
28
|
+
background: var(--appkit-color-secondary);
|
|
29
|
+
color: var(--appkit-color-text-on-primary);
|
|
30
|
+
font-size: 0.875rem;
|
|
31
|
+
font-weight: 600;
|
|
32
|
+
outline: none;
|
|
33
|
+
box-shadow: 0 0 0 2px var(--appkit-color-secondary), 0 0 0 4px var(--appkit-color-surface);
|
|
34
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
.appkit-sort-dropdown {
|
|
2
|
-
align-items: center;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.appkit-sort-dropdown__label {
|
|
6
|
-
white-space: nowrap;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.appkit-sort-dropdown__select {
|
|
10
|
-
min-height: 2.25rem;
|
|
11
|
-
height: 2.25rem;
|
|
12
|
-
}
|
|
1
|
+
.appkit-sort-dropdown {
|
|
2
|
+
align-items: center;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.appkit-sort-dropdown__label {
|
|
6
|
+
white-space: nowrap;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.appkit-sort-dropdown__select {
|
|
10
|
+
min-height: 2.25rem;
|
|
11
|
+
height: 2.25rem;
|
|
12
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* StatusBadge inherits all styles from Badge.
|
|
2
|
-
This base class is a stable hook for consumer overrides. */
|
|
3
|
-
.appkit-status-badge {
|
|
4
|
-
text-transform: none;
|
|
5
|
-
}
|
|
1
|
+
/* StatusBadge inherits all styles from Badge.
|
|
2
|
+
This base class is a stable hook for consumer overrides. */
|
|
3
|
+
.appkit-status-badge {
|
|
4
|
+
text-transform: none;
|
|
5
|
+
}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
/* UnsavedChangesModal — confirmation dialog for unsaved navigation */
|
|
2
|
-
|
|
3
|
-
.appkit-unsaved-modal__backdrop {
|
|
4
|
-
position: fixed;
|
|
5
|
-
inset: 0;
|
|
6
|
-
z-index: var(--appkit-z-sidebar);
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
padding: 1rem;
|
|
11
|
-
background: rgba(0, 0, 0, 0.5);
|
|
12
|
-
backdrop-filter: blur(4px);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.appkit-unsaved-modal__card {
|
|
16
|
-
width: 100%;
|
|
17
|
-
max-width: 28rem;
|
|
18
|
-
padding: 1.5rem;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.appkit-unsaved-modal__title {
|
|
22
|
-
margin-bottom: 0.5rem;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.appkit-unsaved-modal__message {
|
|
26
|
-
margin-bottom: 1.5rem;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.appkit-unsaved-modal__actions {
|
|
30
|
-
display: flex;
|
|
31
|
-
gap: 0.75rem;
|
|
32
|
-
justify-content: flex-start;
|
|
33
|
-
}
|
|
1
|
+
/* UnsavedChangesModal — confirmation dialog for unsaved navigation */
|
|
2
|
+
|
|
3
|
+
.appkit-unsaved-modal__backdrop {
|
|
4
|
+
position: fixed;
|
|
5
|
+
inset: 0;
|
|
6
|
+
z-index: var(--appkit-z-sidebar);
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
padding: 1rem;
|
|
11
|
+
background: rgba(0, 0, 0, 0.5);
|
|
12
|
+
backdrop-filter: blur(4px);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.appkit-unsaved-modal__card {
|
|
16
|
+
width: 100%;
|
|
17
|
+
max-width: 28rem;
|
|
18
|
+
padding: 1.5rem;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.appkit-unsaved-modal__title {
|
|
22
|
+
margin-bottom: 0.5rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.appkit-unsaved-modal__message {
|
|
26
|
+
margin-bottom: 1.5rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.appkit-unsaved-modal__actions {
|
|
30
|
+
display: flex;
|
|
31
|
+
gap: 0.75rem;
|
|
32
|
+
justify-content: flex-start;
|
|
33
|
+
}
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
.appkit-view-toggle {
|
|
2
|
-
display: flex;
|
|
3
|
-
gap: 0.25rem;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.appkit-view-toggle__button {
|
|
7
|
-
display: inline-flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
padding: 0.5rem;
|
|
11
|
-
border-radius: 0.5rem;
|
|
12
|
-
border: 1px solid;
|
|
13
|
-
transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.appkit-view-toggle__button--active {
|
|
17
|
-
color: var(--appkit-color-secondary-600);
|
|
18
|
-
background: rgba(80, 156, 2, 0.08);
|
|
19
|
-
border-color: rgba(80, 156, 2, 0.3);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.appkit-view-toggle__button--inactive {
|
|
23
|
-
color: var(--appkit-color-zinc-500);
|
|
24
|
-
background: transparent;
|
|
25
|
-
border-color: var(--appkit-color-border);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.appkit-view-toggle__button--inactive:hover {
|
|
29
|
-
background: var(--appkit-color-zinc-100);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.appkit-view-toggle__icon {
|
|
33
|
-
width: 1.25rem;
|
|
34
|
-
height: 1.25rem;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.dark .appkit-view-toggle__button--active {
|
|
38
|
-
color: var(--appkit-color-primary);
|
|
39
|
-
background: rgba(233, 30, 140, 0.14);
|
|
40
|
-
border-color: rgba(233, 30, 140, 0.35);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.dark .appkit-view-toggle__button--inactive {
|
|
44
|
-
color: var(--appkit-color-slate-400);
|
|
45
|
-
border-color: var(--appkit-color-border);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.dark .appkit-view-toggle__button--inactive:hover {
|
|
49
|
-
background: var(--appkit-color-slate-800);
|
|
50
|
-
}
|
|
1
|
+
.appkit-view-toggle {
|
|
2
|
+
display: flex;
|
|
3
|
+
gap: 0.25rem;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.appkit-view-toggle__button {
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
padding: 0.5rem;
|
|
11
|
+
border-radius: 0.5rem;
|
|
12
|
+
border: 1px solid;
|
|
13
|
+
transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.appkit-view-toggle__button--active {
|
|
17
|
+
color: var(--appkit-color-secondary-600);
|
|
18
|
+
background: rgba(80, 156, 2, 0.08);
|
|
19
|
+
border-color: rgba(80, 156, 2, 0.3);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.appkit-view-toggle__button--inactive {
|
|
23
|
+
color: var(--appkit-color-zinc-500);
|
|
24
|
+
background: transparent;
|
|
25
|
+
border-color: var(--appkit-color-border);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.appkit-view-toggle__button--inactive:hover {
|
|
29
|
+
background: var(--appkit-color-zinc-100);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.appkit-view-toggle__icon {
|
|
33
|
+
width: 1.25rem;
|
|
34
|
+
height: 1.25rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.dark .appkit-view-toggle__button--active {
|
|
38
|
+
color: var(--appkit-color-primary);
|
|
39
|
+
background: rgba(233, 30, 140, 0.14);
|
|
40
|
+
border-color: rgba(233, 30, 140, 0.35);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.dark .appkit-view-toggle__button--inactive {
|
|
44
|
+
color: var(--appkit-color-slate-400);
|
|
45
|
+
border-color: var(--appkit-color-border);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.dark .appkit-view-toggle__button--inactive:hover {
|
|
49
|
+
background: var(--appkit-color-slate-800);
|
|
50
|
+
}
|