@ketvietlab/design-system 0.1.18 → 0.1.20

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.
@@ -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,8n5NAA8n5N,CAC/n5N,CAAA"}
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,+p5NAA+p5N,CAChq5N,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": "ketjs.design-system-inventory.v1",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
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": 13699
20
+ "cssLines": 13686
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
  {
@@ -10073,7 +10073,7 @@
10073
10073
  {
10074
10074
  "layer": "public",
10075
10075
  "file": "packages/design-system/src/patterns/list-chrome/styles.css",
10076
- "lines": 327,
10076
+ "lines": 350,
10077
10077
  "hooks": [
10078
10078
  "bulk-action-list",
10079
10079
  "bulk-actions",
@@ -10657,10 +10657,11 @@
10657
10657
  {
10658
10658
  "layer": "compatibility",
10659
10659
  "file": "packages/ketsuite/src/modules/backend/design/foundation.css",
10660
- "lines": 236,
10660
+ "lines": 200,
10661
10661
  "hooks": [
10662
10662
  "app-monogram",
10663
10663
  "app-navigation",
10664
+ "app-sidebar",
10664
10665
  "chrome-search-icon",
10665
10666
  "chrome-search-toggle",
10666
10667
  "col-config-open",
@@ -10670,10 +10671,7 @@
10670
10671
  "navigation-context",
10671
10672
  "navigation-footer",
10672
10673
  "pager-step",
10673
- "shell",
10674
- "sidebar",
10675
10674
  "sidebar-empty",
10676
- "sidebar-main",
10677
10675
  "sidebar-search",
10678
10676
  "sidebar-search-icon",
10679
10677
  "sidebar-search-input",
@@ -10685,6 +10683,8 @@
10685
10683
  "file": "packages/ketsuite/src/modules/backend/design/lists.css",
10686
10684
  "lines": 1427,
10687
10685
  "hooks": [
10686
+ "app-main",
10687
+ "app-shell",
10688
10688
  "avatar",
10689
10689
  "badge",
10690
10690
  "board-page",
@@ -10758,7 +10758,6 @@
10758
10758
  "list-chrome-row",
10759
10759
  "list-context",
10760
10760
  "list-page",
10761
- "main",
10762
10761
  "nav-item",
10763
10762
  "pager",
10764
10763
  "pager-step",
@@ -10782,7 +10781,6 @@
10782
10781
  "select-all",
10783
10782
  "select-cell",
10784
10783
  "select-col",
10785
- "shell",
10786
10784
  "table",
10787
10785
  "table-scroll",
10788
10786
  "thumbnail",
@@ -10800,11 +10798,12 @@
10800
10798
  {
10801
10799
  "layer": "compatibility",
10802
10800
  "file": "packages/ketsuite/src/modules/backend/design/record.css",
10803
- "lines": 542,
10801
+ "lines": 543,
10804
10802
  "hooks": [
10805
10803
  "action",
10806
10804
  "action-group",
10807
10805
  "activity-record",
10806
+ "app-main",
10808
10807
  "breadcrumbs",
10809
10808
  "chatter",
10810
10809
  "form-actions",
@@ -10817,7 +10816,6 @@
10817
10816
  "list-page",
10818
10817
  "list-page-body",
10819
10818
  "list-page-header",
10820
- "main",
10821
10819
  "record-activity-item",
10822
10820
  "record-activity-list",
10823
10821
  "record-aside",
@@ -10866,8 +10864,12 @@
10866
10864
  {
10867
10865
  "layer": "compatibility",
10868
10866
  "file": "packages/ketsuite/src/modules/backend/design/responsive.css",
10869
- "lines": 321,
10867
+ "lines": 320,
10870
10868
  "hooks": [
10869
+ "app-main",
10870
+ "app-navigation",
10871
+ "app-shell",
10872
+ "app-sidebar",
10871
10873
  "catalogue",
10872
10874
  "catalogue-nav",
10873
10875
  "chrome-create",
@@ -10885,15 +10887,11 @@
10885
10887
  "indicators",
10886
10888
  "list-chrome",
10887
10889
  "list-chrome-row",
10888
- "main",
10889
10890
  "modal-head",
10890
10891
  "nav-item",
10891
10892
  "pager-step",
10892
10893
  "record-workspace",
10893
- "shell",
10894
- "sidebar",
10895
10894
  "sidebar-foot",
10896
- "sidebar-main",
10897
10895
  "table",
10898
10896
  "title",
10899
10897
  "token",
@@ -266,10 +266,33 @@
266
266
  flex-wrap: nowrap;
267
267
  align-items: center;
268
268
  gap: var(--kv-space-2);
269
- min-width: 0;
270
269
  white-space: nowrap;
271
270
  }
272
271
 
272
+ :where([data-kv-design-system])
273
+ [data-ui="list-chrome"][data-pattern="list-chrome"]
274
+ [data-ui="bulk-summary"] {
275
+ min-width: 0;
276
+ }
277
+
278
+ /*
279
+ * A range summary changes length with every filter ("1–50 / 10.000+" becomes
280
+ * "1–2 / 2"). Reserving the widest common figure and aligning it to the paging
281
+ * buttons keeps those buttons from jumping sideways as the count changes.
282
+ *
283
+ * This carries the list-chrome scope on purpose: the shared summary rule above
284
+ * used to set `min-width: 0` with three attribute selectors, and an unscoped
285
+ * `[data-ui="pager-summary"]` rule lost to it despite coming later.
286
+ */
287
+ :where([data-kv-design-system])
288
+ [data-ui="list-chrome"][data-pattern="list-chrome"]
289
+ [data-ui="pager-summary"] {
290
+ justify-content: flex-end;
291
+ min-width: 14ch;
292
+ font-variant-numeric: tabular-nums;
293
+ text-align: right;
294
+ }
295
+
273
296
  :where([data-kv-design-system])
274
297
  [data-ui="list-chrome"][data-pattern="list-chrome"]
275
298
  [data-ui="bulk-action-list"],