@ketvietlab/design-system 0.1.19 → 0.1.22
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/catalogue/index.js +1 -1
- package/dist/catalogue/inventory.css +7 -7
- package/dist/catalogue/inventory.generated.js +1 -1
- package/dist/catalogue/inventory.generated.js.map +1 -1
- package/dist/catalogue/inventory.generated.json +21 -20
- package/dist/foundations/tokens.css +14 -10
- package/dist/layouts/app-navigation/styles.css +9 -0
- package/dist/patterns/data-table/styles.css +3 -2
- package/dist/styles.css +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inventory.generated.js","sourceRoot":"","sources":["../../../../../../packages/design-system/src/catalogue/inventory.generated.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAuC/D,MAAM,CAAC,MAAM,qBAAqB,GAA0B,IAAI,CAAC,KAAK,CACpE,
|
|
1
|
+
{"version":3,"file":"inventory.generated.js","sourceRoot":"","sources":["../../../../../../packages/design-system/src/catalogue/inventory.generated.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAuC/D,MAAM,CAAC,MAAM,qBAAqB,GAA0B,IAAI,CAAC,KAAK,CACpE,sy5NAAsy5N,CACvy5N,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "ketjs.design-system-inventory.v1",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"generatedFrom": [
|
|
5
5
|
"packages/design-system/src/index.ts",
|
|
6
6
|
"packages/design-system/src/catalogue/inventory-policy.json",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"runtimeGaps": 5,
|
|
18
18
|
"typeGaps": 96,
|
|
19
19
|
"cssFiles": 72,
|
|
20
|
-
"cssLines":
|
|
20
|
+
"cssLines": 13699
|
|
21
21
|
},
|
|
22
22
|
"rows": [
|
|
23
23
|
{
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"packages/design-system/src/catalogue/specimens.tsx"
|
|
197
197
|
],
|
|
198
198
|
"tests": "present",
|
|
199
|
-
"testFiles": ["test/design-system.test.tsx"],
|
|
199
|
+
"testFiles": ["test/backend-ui.test.ts", "test/design-system.test.tsx"],
|
|
200
200
|
"gapTask": "DS-009"
|
|
201
201
|
},
|
|
202
202
|
{
|
|
@@ -7486,6 +7486,7 @@
|
|
|
7486
7486
|
"test/company-hierarchy-http.test.ts",
|
|
7487
7487
|
"test/company-hierarchy-screen.test.tsx",
|
|
7488
7488
|
"test/crm-cases-routes.test.ts",
|
|
7489
|
+
"test/crm-configuration-permissions.test.ts",
|
|
7489
7490
|
"test/crm-e2e.test.ts",
|
|
7490
7491
|
"test/crm-record-access.test.ts",
|
|
7491
7492
|
"test/crm-ux.test.ts",
|
|
@@ -8658,6 +8659,7 @@
|
|
|
8658
8659
|
"test/backend-ui.test.ts",
|
|
8659
8660
|
"test/collaboration-backend-e2e.test.ts",
|
|
8660
8661
|
"test/crm-cases-routes.test.ts",
|
|
8662
|
+
"test/crm-configuration-permissions.test.ts",
|
|
8661
8663
|
"test/crm-e2e.test.ts",
|
|
8662
8664
|
"test/crm-ux.test.ts",
|
|
8663
8665
|
"test/design-system.test.tsx",
|
|
@@ -9376,6 +9378,7 @@
|
|
|
9376
9378
|
"test/backend-ui.test.ts",
|
|
9377
9379
|
"test/collaboration-backend-e2e.test.ts",
|
|
9378
9380
|
"test/crm-case-detail-screen.test.tsx",
|
|
9381
|
+
"test/crm-configuration-permissions.test.ts",
|
|
9379
9382
|
"test/crm-ux.test.ts",
|
|
9380
9383
|
"test/design-system.test.tsx",
|
|
9381
9384
|
"test/field-classification.test.ts",
|
|
@@ -9722,7 +9725,7 @@
|
|
|
9722
9725
|
{
|
|
9723
9726
|
"layer": "public",
|
|
9724
9727
|
"file": "packages/design-system/src/foundations/tokens.css",
|
|
9725
|
-
"lines":
|
|
9728
|
+
"lines": 347,
|
|
9726
9729
|
"hooks": []
|
|
9727
9730
|
},
|
|
9728
9731
|
{
|
|
@@ -9781,7 +9784,7 @@
|
|
|
9781
9784
|
{
|
|
9782
9785
|
"layer": "public",
|
|
9783
9786
|
"file": "packages/design-system/src/layouts/app-navigation/styles.css",
|
|
9784
|
-
"lines":
|
|
9787
|
+
"lines": 372,
|
|
9785
9788
|
"hooks": [
|
|
9786
9789
|
"app-navigation",
|
|
9787
9790
|
"icon",
|
|
@@ -10019,7 +10022,7 @@
|
|
|
10019
10022
|
{
|
|
10020
10023
|
"layer": "public",
|
|
10021
10024
|
"file": "packages/design-system/src/patterns/data-table/styles.css",
|
|
10022
|
-
"lines":
|
|
10025
|
+
"lines": 359,
|
|
10023
10026
|
"hooks": [
|
|
10024
10027
|
"cell",
|
|
10025
10028
|
"col",
|
|
@@ -10657,10 +10660,11 @@
|
|
|
10657
10660
|
{
|
|
10658
10661
|
"layer": "compatibility",
|
|
10659
10662
|
"file": "packages/ketsuite/src/modules/backend/design/foundation.css",
|
|
10660
|
-
"lines":
|
|
10663
|
+
"lines": 200,
|
|
10661
10664
|
"hooks": [
|
|
10662
10665
|
"app-monogram",
|
|
10663
10666
|
"app-navigation",
|
|
10667
|
+
"app-sidebar",
|
|
10664
10668
|
"chrome-search-icon",
|
|
10665
10669
|
"chrome-search-toggle",
|
|
10666
10670
|
"col-config-open",
|
|
@@ -10670,10 +10674,7 @@
|
|
|
10670
10674
|
"navigation-context",
|
|
10671
10675
|
"navigation-footer",
|
|
10672
10676
|
"pager-step",
|
|
10673
|
-
"shell",
|
|
10674
|
-
"sidebar",
|
|
10675
10677
|
"sidebar-empty",
|
|
10676
|
-
"sidebar-main",
|
|
10677
10678
|
"sidebar-search",
|
|
10678
10679
|
"sidebar-search-icon",
|
|
10679
10680
|
"sidebar-search-input",
|
|
@@ -10683,8 +10684,10 @@
|
|
|
10683
10684
|
{
|
|
10684
10685
|
"layer": "compatibility",
|
|
10685
10686
|
"file": "packages/ketsuite/src/modules/backend/design/lists.css",
|
|
10686
|
-
"lines":
|
|
10687
|
+
"lines": 1426,
|
|
10687
10688
|
"hooks": [
|
|
10689
|
+
"app-main",
|
|
10690
|
+
"app-shell",
|
|
10688
10691
|
"avatar",
|
|
10689
10692
|
"badge",
|
|
10690
10693
|
"board-page",
|
|
@@ -10758,7 +10761,6 @@
|
|
|
10758
10761
|
"list-chrome-row",
|
|
10759
10762
|
"list-context",
|
|
10760
10763
|
"list-page",
|
|
10761
|
-
"main",
|
|
10762
10764
|
"nav-item",
|
|
10763
10765
|
"pager",
|
|
10764
10766
|
"pager-step",
|
|
@@ -10782,7 +10784,6 @@
|
|
|
10782
10784
|
"select-all",
|
|
10783
10785
|
"select-cell",
|
|
10784
10786
|
"select-col",
|
|
10785
|
-
"shell",
|
|
10786
10787
|
"table",
|
|
10787
10788
|
"table-scroll",
|
|
10788
10789
|
"thumbnail",
|
|
@@ -10800,11 +10801,12 @@
|
|
|
10800
10801
|
{
|
|
10801
10802
|
"layer": "compatibility",
|
|
10802
10803
|
"file": "packages/ketsuite/src/modules/backend/design/record.css",
|
|
10803
|
-
"lines":
|
|
10804
|
+
"lines": 543,
|
|
10804
10805
|
"hooks": [
|
|
10805
10806
|
"action",
|
|
10806
10807
|
"action-group",
|
|
10807
10808
|
"activity-record",
|
|
10809
|
+
"app-main",
|
|
10808
10810
|
"breadcrumbs",
|
|
10809
10811
|
"chatter",
|
|
10810
10812
|
"form-actions",
|
|
@@ -10817,7 +10819,6 @@
|
|
|
10817
10819
|
"list-page",
|
|
10818
10820
|
"list-page-body",
|
|
10819
10821
|
"list-page-header",
|
|
10820
|
-
"main",
|
|
10821
10822
|
"record-activity-item",
|
|
10822
10823
|
"record-activity-list",
|
|
10823
10824
|
"record-aside",
|
|
@@ -10866,8 +10867,12 @@
|
|
|
10866
10867
|
{
|
|
10867
10868
|
"layer": "compatibility",
|
|
10868
10869
|
"file": "packages/ketsuite/src/modules/backend/design/responsive.css",
|
|
10869
|
-
"lines":
|
|
10870
|
+
"lines": 320,
|
|
10870
10871
|
"hooks": [
|
|
10872
|
+
"app-main",
|
|
10873
|
+
"app-navigation",
|
|
10874
|
+
"app-shell",
|
|
10875
|
+
"app-sidebar",
|
|
10871
10876
|
"catalogue",
|
|
10872
10877
|
"catalogue-nav",
|
|
10873
10878
|
"chrome-create",
|
|
@@ -10885,15 +10890,11 @@
|
|
|
10885
10890
|
"indicators",
|
|
10886
10891
|
"list-chrome",
|
|
10887
10892
|
"list-chrome-row",
|
|
10888
|
-
"main",
|
|
10889
10893
|
"modal-head",
|
|
10890
10894
|
"nav-item",
|
|
10891
10895
|
"pager-step",
|
|
10892
10896
|
"record-workspace",
|
|
10893
|
-
"shell",
|
|
10894
|
-
"sidebar",
|
|
10895
10897
|
"sidebar-foot",
|
|
10896
|
-
"sidebar-main",
|
|
10897
10898
|
"table",
|
|
10898
10899
|
"title",
|
|
10899
10900
|
"token",
|
|
@@ -171,15 +171,17 @@
|
|
|
171
171
|
--kv-font-sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
172
172
|
--kv-font-display: var(--kv-font-sans);
|
|
173
173
|
--kv-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
--kv-text-
|
|
177
|
-
--kv-text-
|
|
178
|
-
--kv-text-
|
|
179
|
-
--kv-text-
|
|
180
|
-
--kv-text-
|
|
181
|
-
--kv-text-
|
|
182
|
-
--kv-text-
|
|
174
|
+
/* Text scale, one pixel above the original 10/11/12/13/14/16/18/22/28 steps.
|
|
175
|
+
Page titles keep their own `--kv-page-title-size`. */
|
|
176
|
+
--kv-text-2xs: 0.6875rem;
|
|
177
|
+
--kv-text-xs: 0.75rem;
|
|
178
|
+
--kv-text-sm: 0.8125rem;
|
|
179
|
+
--kv-text-md: 0.875rem;
|
|
180
|
+
--kv-text-base: 0.9375rem;
|
|
181
|
+
--kv-text-lg: 1.0625rem;
|
|
182
|
+
--kv-text-xl: 1.1875rem;
|
|
183
|
+
--kv-text-2xl: 1.4375rem;
|
|
184
|
+
--kv-text-3xl: 1.8125rem;
|
|
183
185
|
--kv-leading-tight: 1.2;
|
|
184
186
|
--kv-leading-normal: 1.45;
|
|
185
187
|
--kv-leading-relaxed: 1.6;
|
|
@@ -222,7 +224,9 @@
|
|
|
222
224
|
--kv-density-control-height: var(--kv-control-height-md);
|
|
223
225
|
--kv-density-row-height: 3.25rem;
|
|
224
226
|
--kv-density-content-gap: var(--kv-space-4);
|
|
225
|
-
|
|
227
|
+
/* Wide enough for a root section label at the raised text scale
|
|
228
|
+
("Chăm sóc khách hàng" at 14px medium). */
|
|
229
|
+
--kv-sidebar-width: 14.25rem;
|
|
226
230
|
--kv-right-rail-width: 21.25rem;
|
|
227
231
|
--kv-sidebar-item-height: 1.875rem;
|
|
228
232
|
--kv-table-row-height: 3.25rem;
|
|
@@ -171,6 +171,15 @@
|
|
|
171
171
|
color: var(--kv-text-main);
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
+
/* Root sections read one weight step above their children: the section list is
|
|
175
|
+
the page's primary navigation, the children are its detail. */
|
|
176
|
+
:where([data-kv-design-system])
|
|
177
|
+
:is([data-ui="navigation-item"], [data-ui="navigation-branch-trigger"]):not(
|
|
178
|
+
[data-ui="navigation-children"] *
|
|
179
|
+
) {
|
|
180
|
+
font-weight: var(--kv-weight-medium);
|
|
181
|
+
}
|
|
182
|
+
|
|
174
183
|
:where([data-kv-design-system]) [data-ui="navigation-item"][data-active="true"] {
|
|
175
184
|
border-color: var(--kv-border-default);
|
|
176
185
|
background: var(--kv-accent-subtle);
|
|
@@ -77,10 +77,11 @@
|
|
|
77
77
|
vertical-align: middle;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
+
/* Selection controls sit at the table's text size, not the 16px native default. */
|
|
80
81
|
:where([data-kv-design-system]) [data-ui="table-scroll"][data-pattern="data-table"] [data-ui="select-all"],
|
|
81
82
|
:where([data-kv-design-system]) [data-ui="table-scroll"][data-pattern="data-table"] [data-ui="row-select"] {
|
|
82
|
-
width:
|
|
83
|
-
height:
|
|
83
|
+
width: 0.875rem;
|
|
84
|
+
height: 0.875rem;
|
|
84
85
|
margin: 0;
|
|
85
86
|
accent-color: var(--kv-color-accent);
|
|
86
87
|
}
|