@ketvietlab/design-system 0.1.9 → 0.1.13
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/README.md +92 -6
- package/dist/atlas/README.md +35 -0
- package/dist/atlas/adapter.schema.json +78 -0
- package/dist/atlas/profile.json +43 -0
- package/dist/atlas-cli.d.ts +3 -0
- package/dist/atlas-cli.d.ts.map +1 -0
- package/dist/atlas-cli.js +213 -0
- package/dist/atlas-cli.js.map +1 -0
- package/dist/catalogue/catalogue.css +198 -5
- package/dist/catalogue/groups.d.ts +11 -0
- package/dist/catalogue/groups.d.ts.map +1 -0
- package/dist/catalogue/groups.js +47 -0
- package/dist/catalogue/groups.js.map +1 -0
- package/dist/catalogue/index.d.ts +16 -17
- package/dist/catalogue/index.d.ts.map +1 -1
- package/dist/catalogue/index.js +39 -751
- package/dist/catalogue/index.js.map +1 -1
- package/dist/catalogue/inventory-policy.json +560 -0
- package/dist/catalogue/inventory.css +574 -0
- package/dist/catalogue/inventory.d.ts +16 -0
- package/dist/catalogue/inventory.d.ts.map +1 -0
- package/dist/catalogue/inventory.generated.d.ts +42 -0
- package/dist/catalogue/inventory.generated.d.ts.map +1 -0
- package/dist/catalogue/inventory.generated.js +3 -0
- package/dist/catalogue/inventory.generated.js.map +1 -0
- package/dist/catalogue/inventory.generated.json +9993 -0
- package/dist/catalogue/inventory.js +48 -0
- package/dist/catalogue/inventory.js.map +1 -0
- package/dist/catalogue/registry.d.ts +12 -0
- package/dist/catalogue/registry.d.ts.map +1 -0
- package/dist/catalogue/registry.js +134 -0
- package/dist/catalogue/registry.js.map +1 -0
- package/dist/catalogue/specimens.d.ts +15 -0
- package/dist/catalogue/specimens.d.ts.map +1 -0
- package/dist/catalogue/specimens.js +1186 -0
- package/dist/catalogue/specimens.js.map +1 -0
- package/dist/catalogue/styles.css +1 -0
- package/dist/contract/index.d.ts.map +1 -1
- package/dist/contract/index.js +64 -18
- package/dist/contract/index.js.map +1 -1
- package/dist/data-display/data-grid/index.d.ts +22 -0
- package/dist/data-display/data-grid/index.d.ts.map +1 -0
- package/dist/data-display/data-grid/index.js +15 -0
- package/dist/data-display/data-grid/index.js.map +1 -0
- package/dist/data-display/data-grid/styles.css +49 -0
- package/dist/data-display/resource-list/index.d.ts +22 -0
- package/dist/data-display/resource-list/index.d.ts.map +1 -0
- package/dist/data-display/resource-list/index.js +21 -0
- package/dist/data-display/resource-list/index.js.map +1 -0
- package/dist/data-display/resource-list/styles.css +39 -0
- package/dist/data-display/tree/index.d.ts +33 -0
- package/dist/data-display/tree/index.d.ts.map +1 -0
- package/dist/data-display/tree/index.js +21 -0
- package/dist/data-display/tree/index.js.map +1 -0
- package/dist/data-display/tree/styles.css +45 -0
- package/dist/data-operations/inline-edit/index.d.ts +19 -0
- package/dist/data-operations/inline-edit/index.d.ts.map +1 -0
- package/dist/data-operations/inline-edit/index.js +5 -0
- package/dist/data-operations/inline-edit/index.js.map +1 -0
- package/dist/data-operations/inline-edit/styles.css +34 -0
- package/dist/data-operations/list-controls/index.d.ts +67 -0
- package/dist/data-operations/list-controls/index.d.ts.map +1 -0
- package/dist/data-operations/list-controls/index.js +35 -0
- package/dist/data-operations/list-controls/index.js.map +1 -0
- package/dist/data-operations/list-controls/styles.css +82 -0
- package/dist/forms/combobox/index.d.ts +39 -0
- package/dist/forms/combobox/index.d.ts.map +1 -0
- package/dist/forms/combobox/index.js +23 -0
- package/dist/forms/combobox/index.js.map +1 -0
- package/dist/forms/combobox/styles.css +76 -0
- package/dist/forms/date-time/index.d.ts +25 -0
- package/dist/forms/date-time/index.d.ts.map +1 -0
- package/dist/forms/date-time/index.js +15 -0
- package/dist/forms/date-time/index.js.map +1 -0
- package/dist/forms/date-time/styles.css +25 -0
- package/dist/forms/relation-picker/index.d.ts +12 -0
- package/dist/forms/relation-picker/index.d.ts.map +1 -0
- package/dist/forms/relation-picker/index.js +13 -0
- package/dist/forms/relation-picker/index.js.map +1 -0
- package/dist/forms/relation-picker/styles.css +5 -0
- package/dist/forms/scalar-fields/index.d.ts +24 -0
- package/dist/forms/scalar-fields/index.d.ts.map +1 -0
- package/dist/forms/scalar-fields/index.js +23 -0
- package/dist/forms/scalar-fields/index.js.map +1 -0
- package/dist/forms/scalar-fields/styles.css +52 -0
- package/dist/forms/shared.d.ts +19 -0
- package/dist/forms/shared.d.ts.map +1 -0
- package/dist/forms/shared.js +9 -0
- package/dist/forms/shared.js.map +1 -0
- package/dist/forms/upload/index.d.ts +20 -0
- package/dist/forms/upload/index.d.ts.map +1 -0
- package/dist/forms/upload/index.js +11 -0
- package/dist/forms/upload/index.js.map +1 -0
- package/dist/forms/upload/styles.css +21 -0
- package/dist/foundations/reset.css +4 -0
- package/dist/foundations/tokens.css +31 -4
- package/dist/index.d.ts +78 -35
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +43 -19
- package/dist/index.js.map +1 -1
- package/dist/interactions/dialog/index.d.ts +25 -0
- package/dist/interactions/dialog/index.d.ts.map +1 -0
- package/dist/interactions/dialog/index.js +10 -0
- package/dist/interactions/dialog/index.js.map +1 -0
- package/dist/interactions/dialog/styles.css +11 -0
- package/dist/interactions/menu/index.d.ts +27 -0
- package/dist/interactions/menu/index.d.ts.map +1 -0
- package/dist/interactions/menu/index.js +13 -0
- package/dist/interactions/menu/index.js.map +1 -0
- package/dist/interactions/menu/styles.css +85 -0
- package/dist/interactions/popover/index.d.ts +15 -0
- package/dist/interactions/popover/index.d.ts.map +1 -0
- package/dist/interactions/popover/index.js +4 -0
- package/dist/interactions/popover/index.js.map +1 -0
- package/dist/interactions/popover/styles.css +47 -0
- package/dist/interactions/skeleton/index.d.ts +7 -0
- package/dist/interactions/skeleton/index.d.ts.map +1 -0
- package/dist/interactions/skeleton/index.js +5 -0
- package/dist/interactions/skeleton/index.js.map +1 -0
- package/dist/interactions/skeleton/styles.css +32 -0
- package/dist/interactions/spinner/index.d.ts +7 -0
- package/dist/interactions/spinner/index.d.ts.map +1 -0
- package/dist/interactions/spinner/index.js +4 -0
- package/dist/interactions/spinner/index.js.map +1 -0
- package/dist/interactions/spinner/styles.css +38 -0
- package/dist/interactions/toast/index.d.ts +16 -0
- package/dist/interactions/toast/index.d.ts.map +1 -0
- package/dist/interactions/toast/index.js +13 -0
- package/dist/interactions/toast/index.js.map +1 -0
- package/dist/interactions/toast/styles.css +64 -0
- package/dist/interactions/tooltip/index.d.ts +9 -0
- package/dist/interactions/tooltip/index.d.ts.map +1 -0
- package/dist/interactions/tooltip/index.js +4 -0
- package/dist/interactions/tooltip/index.js.map +1 -0
- package/dist/interactions/tooltip/styles.css +65 -0
- package/dist/layouts/app-navigation/index.d.ts +63 -0
- package/dist/layouts/app-navigation/index.d.ts.map +1 -0
- package/dist/layouts/app-navigation/index.js +50 -0
- package/dist/layouts/app-navigation/index.js.map +1 -0
- package/dist/layouts/app-navigation/styles.css +331 -0
- package/dist/layouts/app-navigation.d.ts +2 -0
- package/dist/layouts/app-navigation.d.ts.map +1 -0
- package/dist/layouts/app-navigation.js +2 -0
- package/dist/layouts/app-navigation.js.map +1 -0
- package/dist/layouts/flat/styles.css +74 -0
- package/dist/layouts/flat.css +1 -74
- package/dist/layouts/grouped/styles.css +131 -0
- package/dist/layouts/grouped.css +1 -126
- package/dist/layouts/index.d.ts +1 -69
- package/dist/layouts/index.d.ts.map +1 -1
- package/dist/layouts/index.js +1 -68
- package/dist/layouts/index.js.map +1 -1
- package/dist/layouts/layout/index.d.ts +70 -0
- package/dist/layouts/layout/index.d.ts.map +1 -0
- package/dist/layouts/layout/index.js +71 -0
- package/dist/layouts/layout/index.js.map +1 -0
- package/dist/layouts/layout/styles.css +369 -0
- package/dist/layouts/layouts.css +1 -369
- package/dist/layouts/shell/index.d.ts +27 -0
- package/dist/layouts/shell/index.d.ts.map +1 -0
- package/dist/layouts/shell/index.js +24 -0
- package/dist/layouts/shell/index.js.map +1 -0
- package/dist/layouts/shell/styles.css +168 -0
- package/dist/layouts/shell.css +1 -168
- package/dist/layouts/shell.d.ts +1 -26
- package/dist/layouts/shell.d.ts.map +1 -1
- package/dist/layouts/shell.js +1 -23
- package/dist/layouts/shell.js.map +1 -1
- package/dist/patterns/board-page/index.d.ts +16 -0
- package/dist/patterns/board-page/index.d.ts.map +1 -0
- package/dist/patterns/board-page/index.js +30 -0
- package/dist/patterns/board-page/index.js.map +1 -0
- package/dist/patterns/board-page/styles.css +164 -0
- package/dist/patterns/board-page.d.ts +1 -13
- package/dist/patterns/board-page.d.ts.map +1 -1
- package/dist/patterns/board-page.js +1 -27
- package/dist/patterns/board-page.js.map +1 -1
- package/dist/patterns/dashboard-page/index.d.ts +15 -0
- package/dist/patterns/dashboard-page/index.d.ts.map +1 -0
- package/dist/patterns/dashboard-page/index.js +27 -0
- package/dist/patterns/dashboard-page/index.js.map +1 -0
- package/dist/patterns/dashboard-page/styles.css +169 -0
- package/dist/patterns/dashboard-page.d.ts +1 -12
- package/dist/patterns/dashboard-page.d.ts.map +1 -1
- package/dist/patterns/dashboard-page.js +1 -24
- package/dist/patterns/dashboard-page.js.map +1 -1
- package/dist/patterns/data-table/index.d.ts +74 -0
- package/dist/patterns/data-table/index.d.ts.map +1 -0
- package/dist/patterns/data-table/index.js +60 -0
- package/dist/patterns/data-table/index.js.map +1 -0
- package/dist/patterns/data-table/styles.css +269 -0
- package/dist/patterns/data-table.d.ts +1 -73
- package/dist/patterns/data-table.d.ts.map +1 -1
- package/dist/patterns/data-table.js +1 -59
- package/dist/patterns/data-table.js.map +1 -1
- package/dist/patterns/form-page/index.d.ts +8 -0
- package/dist/patterns/form-page/index.d.ts.map +1 -0
- package/dist/patterns/form-page/index.js +22 -0
- package/dist/patterns/form-page/index.js.map +1 -0
- package/dist/patterns/form-page/styles.css +237 -0
- package/dist/patterns/form-page.d.ts +1 -7
- package/dist/patterns/form-page.d.ts.map +1 -1
- package/dist/patterns/form-page.js +1 -21
- package/dist/patterns/form-page.js.map +1 -1
- package/dist/patterns/list-chrome/index.d.ts +80 -0
- package/dist/patterns/list-chrome/index.d.ts.map +1 -0
- package/dist/patterns/list-chrome/index.js +45 -0
- package/dist/patterns/list-chrome/index.js.map +1 -0
- package/dist/patterns/list-chrome/styles.css +245 -0
- package/dist/patterns/list-chrome.d.ts +1 -79
- package/dist/patterns/list-chrome.d.ts.map +1 -1
- package/dist/patterns/list-chrome.js +1 -44
- package/dist/patterns/list-chrome.js.map +1 -1
- package/dist/patterns/list-page/index.d.ts +31 -0
- package/dist/patterns/list-page/index.d.ts.map +1 -0
- package/dist/patterns/list-page/index.js +41 -0
- package/dist/patterns/list-page/index.js.map +1 -0
- package/dist/patterns/list-page/responsive.css +140 -0
- package/dist/patterns/list-page/styles.css +228 -0
- package/dist/patterns/list-page.d.ts +1 -30
- package/dist/patterns/list-page.d.ts.map +1 -1
- package/dist/patterns/list-page.js +1 -40
- package/dist/patterns/list-page.js.map +1 -1
- package/dist/patterns/modal-sheet/index.d.ts +16 -0
- package/dist/patterns/modal-sheet/index.d.ts.map +1 -0
- package/dist/patterns/modal-sheet/index.js +15 -0
- package/dist/patterns/modal-sheet/index.js.map +1 -0
- package/dist/patterns/modal-sheet/styles.css +219 -0
- package/dist/patterns/modal-sheet.d.ts +1 -15
- package/dist/patterns/modal-sheet.d.ts.map +1 -1
- package/dist/patterns/modal-sheet.js +1 -14
- package/dist/patterns/modal-sheet.js.map +1 -1
- package/dist/patterns/page-shell/index.d.ts +24 -0
- package/dist/patterns/page-shell/index.d.ts.map +1 -0
- package/dist/patterns/page-shell/index.js +11 -0
- package/dist/patterns/page-shell/index.js.map +1 -0
- package/dist/patterns/page-shell.d.ts +1 -23
- package/dist/patterns/page-shell.d.ts.map +1 -1
- package/dist/patterns/page-shell.js +1 -10
- package/dist/patterns/page-shell.js.map +1 -1
- package/dist/patterns/patterns.css +12 -2247
- package/dist/patterns/pipeline/index.d.ts +29 -0
- package/dist/patterns/pipeline/index.d.ts.map +1 -0
- package/dist/patterns/pipeline/index.js +26 -0
- package/dist/patterns/pipeline/index.js.map +1 -0
- package/dist/patterns/pipeline/styles.css +168 -0
- package/dist/patterns/pipeline.d.ts +1 -28
- package/dist/patterns/pipeline.d.ts.map +1 -1
- package/dist/patterns/pipeline.js +1 -25
- package/dist/patterns/pipeline.js.map +1 -1
- package/dist/patterns/record-form/index.d.ts +18 -0
- package/dist/patterns/record-form/index.d.ts.map +1 -0
- package/dist/patterns/record-form/index.js +14 -0
- package/dist/patterns/record-form/index.js.map +1 -0
- package/dist/patterns/record-form/styles.css +175 -0
- package/dist/patterns/record-form.d.ts +1 -17
- package/dist/patterns/record-form.d.ts.map +1 -1
- package/dist/patterns/record-form.js +1 -13
- package/dist/patterns/record-form.js.map +1 -1
- package/dist/patterns/record-page/index.d.ts +31 -0
- package/dist/patterns/record-page/index.d.ts.map +1 -0
- package/dist/patterns/record-page/index.js +29 -0
- package/dist/patterns/record-page/index.js.map +1 -0
- package/dist/patterns/record-page/styles.css +228 -0
- package/dist/patterns/record-page.d.ts +1 -30
- package/dist/patterns/record-page.d.ts.map +1 -1
- package/dist/patterns/record-page.js +1 -28
- package/dist/patterns/record-page.js.map +1 -1
- package/dist/patterns/workspace-page/index.d.ts +23 -0
- package/dist/patterns/workspace-page/index.d.ts.map +1 -0
- package/dist/patterns/workspace-page/index.js +26 -0
- package/dist/patterns/workspace-page/index.js.map +1 -0
- package/dist/patterns/workspace-page/styles.css +9 -0
- package/dist/patterns/workspace-page.d.ts +1 -22
- package/dist/patterns/workspace-page.d.ts.map +1 -1
- package/dist/patterns/workspace-page.js +1 -25
- package/dist/patterns/workspace-page.js.map +1 -1
- package/dist/primitives/actions/index.d.ts +36 -0
- package/dist/primitives/actions/index.d.ts.map +1 -0
- package/dist/primitives/actions/index.js +10 -0
- package/dist/primitives/actions/index.js.map +1 -0
- package/dist/primitives/actions/styles.css +149 -0
- package/dist/primitives/actions.d.ts +1 -35
- package/dist/primitives/actions.d.ts.map +1 -1
- package/dist/primitives/actions.js +1 -9
- package/dist/primitives/actions.js.map +1 -1
- package/dist/primitives/feedback/index.d.ts +19 -0
- package/dist/primitives/feedback/index.d.ts.map +1 -0
- package/dist/primitives/feedback/index.js +21 -0
- package/dist/primitives/feedback/index.js.map +1 -0
- package/dist/primitives/feedback/styles.css +117 -0
- package/dist/primitives/feedback.d.ts +1 -18
- package/dist/primitives/feedback.d.ts.map +1 -1
- package/dist/primitives/feedback.js +1 -22
- package/dist/primitives/feedback.js.map +1 -1
- package/dist/primitives/field/index.d.ts +35 -0
- package/dist/primitives/field/index.d.ts.map +1 -0
- package/dist/primitives/field/index.js +34 -0
- package/dist/primitives/field/index.js.map +1 -0
- package/dist/primitives/field/native-control.d.ts +4 -0
- package/dist/primitives/field/native-control.d.ts.map +1 -0
- package/dist/primitives/field/native-control.js +12 -0
- package/dist/primitives/field/native-control.js.map +1 -0
- package/dist/primitives/field/styles.css +160 -0
- package/dist/primitives/field.d.ts +1 -34
- package/dist/primitives/field.d.ts.map +1 -1
- package/dist/primitives/field.js +1 -41
- package/dist/primitives/field.js.map +1 -1
- package/dist/primitives/navigation/index.d.ts +36 -0
- package/dist/primitives/navigation/index.d.ts.map +1 -0
- package/dist/primitives/navigation/index.js +19 -0
- package/dist/primitives/navigation/index.js.map +1 -0
- package/dist/primitives/{navigation.css → navigation/styles.css} +51 -0
- package/dist/primitives/navigation.d.ts +1 -25
- package/dist/primitives/navigation.d.ts.map +1 -1
- package/dist/primitives/navigation.js +1 -15
- package/dist/primitives/navigation.js.map +1 -1
- package/dist/primitives/primitives.css +4 -570
- package/dist/primitives/progress/index.d.ts +10 -0
- package/dist/primitives/progress/index.d.ts.map +1 -0
- package/dist/primitives/progress/index.js +13 -0
- package/dist/primitives/progress/index.js.map +1 -0
- package/dist/primitives/progress.d.ts +1 -9
- package/dist/primitives/progress.d.ts.map +1 -1
- package/dist/primitives/progress.js +1 -12
- package/dist/primitives/progress.js.map +1 -1
- package/dist/primitives/status/index.d.ts +27 -0
- package/dist/primitives/status/index.d.ts.map +1 -0
- package/dist/primitives/status/index.js +16 -0
- package/dist/primitives/status/index.js.map +1 -0
- package/dist/primitives/status/styles.css +114 -0
- package/dist/primitives/status.d.ts +1 -26
- package/dist/primitives/status.d.ts.map +1 -1
- package/dist/primitives/status.js +1 -15
- package/dist/primitives/status.js.map +1 -1
- package/dist/record/activity/index.d.ts +26 -0
- package/dist/record/activity/index.d.ts.map +1 -0
- package/dist/record/activity/index.js +33 -0
- package/dist/record/activity/index.js.map +1 -0
- package/dist/record/activity/styles.css +38 -0
- package/dist/record/composition/index.d.ts +33 -0
- package/dist/record/composition/index.d.ts.map +1 -0
- package/dist/record/composition/index.js +10 -0
- package/dist/record/composition/index.js.map +1 -0
- package/dist/record/composition/styles.css +30 -0
- package/dist/record/display/index.d.ts +37 -0
- package/dist/record/display/index.d.ts.map +1 -0
- package/dist/record/display/index.js +23 -0
- package/dist/record/display/index.js.map +1 -0
- package/dist/record/display/styles.css +63 -0
- package/dist/record/formatted-values/index.d.ts +19 -0
- package/dist/record/formatted-values/index.d.ts.map +1 -0
- package/dist/record/formatted-values/index.js +21 -0
- package/dist/record/formatted-values/index.js.map +1 -0
- package/dist/record/formatted-values/styles.css +8 -0
- package/dist/record/media/index.d.ts +31 -0
- package/dist/record/media/index.d.ts.map +1 -0
- package/dist/record/media/index.js +19 -0
- package/dist/record/media/index.js.map +1 -0
- package/dist/record/media/styles.css +38 -0
- package/dist/runtime/auto.d.ts +2 -0
- package/dist/runtime/auto.d.ts.map +1 -0
- package/dist/runtime/auto.js +5 -0
- package/dist/runtime/auto.js.map +1 -0
- package/dist/runtime/index.d.ts +9 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +369 -0
- package/dist/runtime/index.js.map +1 -0
- package/dist/styles.css +47 -8
- package/package.json +9 -2
- /package/dist/primitives/{progress.css → progress/styles.css} +0 -0
package/dist/layouts/layouts.css
CHANGED
|
@@ -1,369 +1 @@
|
|
|
1
|
-
@
|
|
2
|
-
:where([data-kv-design-system]) [data-ui="stack"] {
|
|
3
|
-
display: grid;
|
|
4
|
-
gap: var(--kv-space-4);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
:where([data-kv-design-system]) [data-ui="stack"][data-gap="compact"] {
|
|
8
|
-
gap: var(--kv-space-2);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
:where([data-kv-design-system]) [data-ui="stack"][data-gap="loose"] {
|
|
12
|
-
gap: var(--kv-space-8);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
:where([data-kv-design-system]) [data-ui="inline"] {
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-wrap: wrap;
|
|
18
|
-
align-items: center;
|
|
19
|
-
gap: var(--kv-space-2);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
:where([data-kv-design-system]) [data-ui="grid"] {
|
|
23
|
-
display: grid;
|
|
24
|
-
align-items: start;
|
|
25
|
-
grid-template-columns: repeat(var(--kv-grid-columns, 3), minmax(0, 1fr));
|
|
26
|
-
gap: var(--kv-space-4);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
:where([data-kv-design-system]) [data-ui="grid"][data-columns="2"] {
|
|
30
|
-
--kv-grid-columns: 2;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
:where([data-kv-design-system]) [data-ui="grid"][data-columns="3"] {
|
|
34
|
-
--kv-grid-columns: 3;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
:where([data-kv-design-system]) [data-ui="grid"][data-columns="4"] {
|
|
38
|
-
--kv-grid-columns: 4;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
:where([data-kv-design-system]) [data-ui="surface"] {
|
|
42
|
-
min-width: 0;
|
|
43
|
-
border: 1px solid var(--kv-panel-border);
|
|
44
|
-
border-radius: var(--kv-radius-md);
|
|
45
|
-
background: var(--kv-panel-bg);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
:where([data-kv-design-system]) [data-ui="surface"][data-tone="subtle"] {
|
|
49
|
-
background: var(--kv-panel-bg-subtle);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
:where([data-kv-design-system]) [data-ui="surface"][data-tone="raised"] {
|
|
53
|
-
background: var(--kv-surface-raised);
|
|
54
|
-
box-shadow: var(--kv-shadow-md);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
:where([data-kv-design-system]) [data-ui="surface"][data-padding="compact"] {
|
|
58
|
-
padding: var(--kv-space-3);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
:where([data-kv-design-system]) [data-ui="surface"][data-padding="default"] {
|
|
62
|
-
padding: var(--kv-space-5);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
:where([data-kv-design-system]) [data-ui="surface"][data-has-heading="true"] {
|
|
66
|
-
overflow: clip;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
:where([data-kv-design-system]) [data-ui="surface-head"] {
|
|
70
|
-
display: flex;
|
|
71
|
-
flex-wrap: wrap;
|
|
72
|
-
align-items: center;
|
|
73
|
-
justify-content: space-between;
|
|
74
|
-
gap: var(--kv-space-3);
|
|
75
|
-
margin-bottom: var(--kv-space-5);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
:where([data-kv-design-system]) [data-ui="surface"][data-padding="none"][data-has-heading="true"] {
|
|
79
|
-
padding: var(--kv-space-3);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
:where([data-kv-design-system])
|
|
83
|
-
[data-ui="surface"][data-padding="none"][data-has-heading="true"]
|
|
84
|
-
> [data-ui="surface-head"] {
|
|
85
|
-
padding: 0;
|
|
86
|
-
margin-bottom: var(--kv-space-3);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
:where([data-kv-design-system]) [data-ui="surface-title"] {
|
|
90
|
-
min-width: 0;
|
|
91
|
-
margin: 0;
|
|
92
|
-
font-size: var(--kv-text-xl);
|
|
93
|
-
font-weight: var(--kv-weight-semibold);
|
|
94
|
-
line-height: var(--kv-leading-tight);
|
|
95
|
-
overflow-wrap: anywhere;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
:where([data-kv-design-system]) [data-ui="surface-actions"] {
|
|
99
|
-
min-width: 0;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
:where([data-kv-design-system]) [data-ui="disclosure"] {
|
|
103
|
-
min-width: 0;
|
|
104
|
-
overflow: clip;
|
|
105
|
-
border: 1px solid var(--kv-panel-border);
|
|
106
|
-
border-radius: var(--kv-radius-md);
|
|
107
|
-
background: var(--kv-panel-bg-subtle);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
:where([data-kv-design-system]) [data-ui="disclosure-summary"] {
|
|
111
|
-
display: flex;
|
|
112
|
-
align-items: center;
|
|
113
|
-
justify-content: space-between;
|
|
114
|
-
gap: var(--kv-space-3);
|
|
115
|
-
padding: var(--kv-space-3) var(--kv-space-4);
|
|
116
|
-
color: var(--kv-color-ink-secondary);
|
|
117
|
-
font-size: var(--kv-text-sm);
|
|
118
|
-
font-weight: 700;
|
|
119
|
-
cursor: pointer;
|
|
120
|
-
list-style: none;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
:where([data-kv-design-system]) [data-ui="disclosure-summary"]::-webkit-details-marker {
|
|
124
|
-
display: none;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
:where([data-kv-design-system]) [data-ui="disclosure-summary"]::after {
|
|
128
|
-
content: "+";
|
|
129
|
-
flex: 0 0 auto;
|
|
130
|
-
color: var(--kv-color-ink-muted);
|
|
131
|
-
font-family: var(--kv-font-mono);
|
|
132
|
-
font-weight: 600;
|
|
133
|
-
transition: transform var(--kv-motion-fast);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
:where([data-kv-design-system]) [data-ui="disclosure"][open] > [data-ui="disclosure-summary"] {
|
|
137
|
-
border-bottom: 1px solid var(--kv-color-line);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
:where([data-kv-design-system]) [data-ui="disclosure"][open] > [data-ui="disclosure-summary"]::after {
|
|
141
|
-
transform: rotate(45deg);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
:where([data-kv-design-system]) [data-ui="disclosure-body"] {
|
|
145
|
-
min-width: 0;
|
|
146
|
-
padding: var(--kv-space-4);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
:where([data-kv-design-system]) [data-ui="section"] {
|
|
150
|
-
display: grid;
|
|
151
|
-
min-width: 0;
|
|
152
|
-
align-content: start;
|
|
153
|
-
gap: var(--kv-space-3);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
:where([data-kv-design-system]) [data-ui="section-head"] {
|
|
157
|
-
display: flex;
|
|
158
|
-
align-items: flex-start;
|
|
159
|
-
justify-content: space-between;
|
|
160
|
-
gap: var(--kv-space-4);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
:where([data-kv-design-system]) [data-ui="section-eyebrow"] {
|
|
164
|
-
margin-bottom: var(--kv-space-1);
|
|
165
|
-
color: var(--kv-color-accent);
|
|
166
|
-
font-family: var(--kv-font-mono);
|
|
167
|
-
font-size: var(--kv-text-xs);
|
|
168
|
-
font-weight: 800;
|
|
169
|
-
letter-spacing: 0;
|
|
170
|
-
text-transform: uppercase;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
:where([data-kv-design-system]) [data-ui="section-title"] {
|
|
174
|
-
margin-bottom: 0;
|
|
175
|
-
font-size: var(--kv-text-md);
|
|
176
|
-
line-height: var(--kv-leading-tight);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
:where([data-kv-design-system]) [data-ui="section-description"] {
|
|
180
|
-
max-width: 52rem;
|
|
181
|
-
margin: var(--kv-space-1) 0 0;
|
|
182
|
-
color: var(--kv-color-ink-muted);
|
|
183
|
-
font-size: var(--kv-text-sm);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
:where([data-kv-design-system]) [data-ui="section-actions"] {
|
|
187
|
-
flex: 0 0 auto;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
:where([data-kv-design-system]) [data-ui="section-body"] {
|
|
191
|
-
min-width: 0;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
:where([data-kv-design-system]) [data-ui="content-card"] {
|
|
195
|
-
display: grid;
|
|
196
|
-
min-width: 0;
|
|
197
|
-
gap: var(--kv-space-3);
|
|
198
|
-
padding: var(--kv-space-4);
|
|
199
|
-
border: 1px solid var(--kv-panel-border);
|
|
200
|
-
border-radius: var(--kv-radius-md);
|
|
201
|
-
background: var(--kv-panel-bg);
|
|
202
|
-
transition:
|
|
203
|
-
border-color var(--kv-motion-fast),
|
|
204
|
-
background var(--kv-motion-fast);
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
:where([data-kv-design-system]) [data-ui="content-card"][data-interactive="true"]:hover {
|
|
208
|
-
border-color: var(--kv-border-default);
|
|
209
|
-
background: var(--kv-surface-raised);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
:where([data-kv-design-system]) [data-ui="content-card"][data-selected="true"] {
|
|
213
|
-
border-color: var(--kv-accent-border);
|
|
214
|
-
background: var(--kv-accent-subtle);
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
:where([data-kv-design-system]) [data-ui="card-head"] {
|
|
218
|
-
min-width: 0;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
:where([data-kv-design-system]) [data-ui="card-title"] {
|
|
222
|
-
margin-bottom: 0;
|
|
223
|
-
font-size: var(--kv-text-base);
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
:where([data-kv-design-system]) [data-ui="card-title"] a {
|
|
227
|
-
color: inherit;
|
|
228
|
-
text-decoration: none;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
:where([data-kv-design-system]) [data-ui="card-summary"] {
|
|
232
|
-
margin: var(--kv-space-1) 0 0;
|
|
233
|
-
color: var(--kv-color-ink-muted);
|
|
234
|
-
font-size: var(--kv-text-sm);
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
:where([data-kv-design-system]) [data-ui="card-body"] {
|
|
238
|
-
color: var(--kv-color-ink-secondary);
|
|
239
|
-
font-size: var(--kv-text-sm);
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
:where([data-kv-design-system]) [data-ui="card-meta"] {
|
|
243
|
-
align-self: end;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
:where([data-kv-design-system]) [data-ui="card-actions"] {
|
|
247
|
-
padding-top: var(--kv-space-3);
|
|
248
|
-
border-top: 1px solid var(--kv-color-line);
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
:where([data-kv-design-system]) [data-ui="metric"] {
|
|
252
|
-
display: grid;
|
|
253
|
-
min-width: 0;
|
|
254
|
-
min-height: 6.75rem;
|
|
255
|
-
align-content: start;
|
|
256
|
-
gap: var(--kv-space-1);
|
|
257
|
-
padding: var(--kv-space-4);
|
|
258
|
-
border: 1px solid var(--kv-panel-border);
|
|
259
|
-
border-radius: var(--kv-radius-md);
|
|
260
|
-
background: var(--kv-panel-bg);
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
/* A metric with a glyph puts it in a tile on the left and lets the figure keep
|
|
264
|
-
the rest of the row, so a grid of four stays scannable by position. */
|
|
265
|
-
:where([data-kv-design-system]) [data-ui="metric"]:has(> [data-ui="metric-icon"]) {
|
|
266
|
-
grid-template-columns: auto 1fr;
|
|
267
|
-
column-gap: var(--kv-space-3);
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/* The figures are pinned to the text column: auto-placement would wrap them
|
|
271
|
-
back under the tile as soon as a card carried a third line. */
|
|
272
|
-
:where([data-kv-design-system])
|
|
273
|
-
[data-ui="metric"]:has(> [data-ui="metric-icon"])
|
|
274
|
-
> :not([data-ui="metric-icon"]) {
|
|
275
|
-
grid-column: 2;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
:where([data-kv-design-system]) [data-ui="metric-icon"] {
|
|
279
|
-
display: grid;
|
|
280
|
-
grid-row: 1 / 3;
|
|
281
|
-
grid-column: 1;
|
|
282
|
-
align-self: center;
|
|
283
|
-
place-items: center;
|
|
284
|
-
inline-size: 2.25rem;
|
|
285
|
-
block-size: 2.25rem;
|
|
286
|
-
border-radius: var(--kv-radius-md);
|
|
287
|
-
background: var(--kv-accent-subtle);
|
|
288
|
-
color: var(--kv-accent);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
:where([data-kv-design-system]) [data-ui="metric-icon"] svg {
|
|
292
|
-
inline-size: 1.125rem;
|
|
293
|
-
block-size: 1.125rem;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
:where([data-kv-design-system]) a[data-ui="metric"] {
|
|
297
|
-
color: inherit;
|
|
298
|
-
text-decoration: none;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
:where([data-kv-design-system]) a[data-ui="metric"]:hover {
|
|
302
|
-
border-color: var(--kv-color-line-strong);
|
|
303
|
-
background: var(--kv-color-surface-hover);
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
:where([data-kv-design-system]) [data-ui="metric-label"] {
|
|
307
|
-
display: flex;
|
|
308
|
-
align-items: center;
|
|
309
|
-
margin-bottom: 0;
|
|
310
|
-
gap: var(--kv-space-2);
|
|
311
|
-
color: var(--kv-text-secondary);
|
|
312
|
-
font-size: var(--kv-text-xs);
|
|
313
|
-
font-weight: var(--kv-weight-semibold);
|
|
314
|
-
letter-spacing: 0;
|
|
315
|
-
text-transform: uppercase;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
/* Drawn only for a metric that was given a tone. A grey bullet in front of
|
|
319
|
-
every label would be decoration; here it is the one place a KPI row carries
|
|
320
|
-
state, which is why the figure beside it stays in the page's ink. */
|
|
321
|
-
:where([data-kv-design-system]) [data-ui="metric"][data-dot="true"] [data-ui="metric-label"]::before {
|
|
322
|
-
width: 0.5rem;
|
|
323
|
-
height: 0.5rem;
|
|
324
|
-
flex: none;
|
|
325
|
-
border-radius: 50%;
|
|
326
|
-
background: var(--kv-text-muted);
|
|
327
|
-
content: "";
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
:where([data-kv-design-system]) [data-ui="metric"][data-tone="info"] [data-ui="metric-label"]::before {
|
|
331
|
-
background: var(--kv-color-info);
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
:where([data-kv-design-system]) [data-ui="metric"][data-tone="positive"] [data-ui="metric-label"]::before {
|
|
335
|
-
background: var(--kv-color-positive);
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
:where([data-kv-design-system]) [data-ui="metric"][data-tone="warning"] [data-ui="metric-label"]::before {
|
|
339
|
-
background: var(--kv-color-warning);
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
:where([data-kv-design-system]) [data-ui="metric"][data-tone="danger"] [data-ui="metric-label"]::before {
|
|
343
|
-
background: var(--kv-color-danger);
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
:where([data-kv-design-system]) [data-ui="metric-value"] {
|
|
347
|
-
margin-bottom: 0;
|
|
348
|
-
font-size: var(--kv-text-2xl);
|
|
349
|
-
font-weight: var(--kv-weight-bold);
|
|
350
|
-
font-variant-numeric: tabular-nums;
|
|
351
|
-
letter-spacing: 0;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
:where([data-kv-design-system]) [data-ui="metric-detail"] {
|
|
355
|
-
margin: 0;
|
|
356
|
-
color: var(--kv-text-secondary);
|
|
357
|
-
font-size: var(--kv-text-sm);
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
@media (max-width: 48rem) {
|
|
361
|
-
:where([data-kv-design-system]) [data-ui="grid"] {
|
|
362
|
-
grid-template-columns: 1fr;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
:where([data-kv-design-system]) [data-ui="section-head"] {
|
|
366
|
-
flex-direction: column;
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
}
|
|
1
|
+
@import "./layout/styles.css";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { JSXChild, TemplateResult } from '@ketvietlab/ketjs-view';
|
|
2
|
+
export declare const HOOKS: readonly ['app-shell', 'app-sidebar', 'app-main', 'app-right-rail', 'page', 'page-header', 'page-heading', 'page-title', 'page-description', 'page-actions', 'page-body', 'record-canvas', 'record-content', 'record-section', 'record-section-title'];
|
|
3
|
+
export declare const AppShell: (props: {
|
|
4
|
+
sidebar: JSXChild;
|
|
5
|
+
main: JSXChild;
|
|
6
|
+
rightRail?: JSXChild;
|
|
7
|
+
mode?: 'viewport' | 'embedded';
|
|
8
|
+
}) => TemplateResult;
|
|
9
|
+
export declare const PageHeader: (props: {
|
|
10
|
+
title: string;
|
|
11
|
+
description?: string | null;
|
|
12
|
+
actions?: JSXChild;
|
|
13
|
+
}) => TemplateResult;
|
|
14
|
+
export declare const Page: (props: {
|
|
15
|
+
title: string;
|
|
16
|
+
body: JSXChild;
|
|
17
|
+
description?: string | null;
|
|
18
|
+
actions?: JSXChild;
|
|
19
|
+
}) => TemplateResult;
|
|
20
|
+
export declare const RecordCanvas: (props: {
|
|
21
|
+
body: JSXChild;
|
|
22
|
+
}) => TemplateResult;
|
|
23
|
+
export declare const RecordSection: (props: {
|
|
24
|
+
body: JSXChild;
|
|
25
|
+
title?: string | null;
|
|
26
|
+
}) => TemplateResult;
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/design-system/src/layouts/shell/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAEtE,eAAO,MAAM,KAAK,YAChB,WAAW,EACX,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,MAAM,EACN,aAAa,EACb,cAAc,EACd,YAAY,EACZ,kBAAkB,EAClB,cAAc,EACd,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,CACd,CAAA;AAEV,eAAO,MAAM,QAAQ,UAAW;IAC9B,OAAO,EAAE,QAAQ,CAAA;IACjB,IAAI,EAAE,QAAQ,CAAA;IACd,SAAS,CAAC,EAAE,QAAQ,CAAA;IACpB,IAAI,CAAC,EAAE,UAAU,GAAG,UAAU,CAAA;CAC/B,KAAG,cAcH,CAAA;AAED,eAAO,MAAM,UAAU,UAAW;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,OAAO,CAAC,EAAE,QAAQ,CAAA;CACnB,KAAG,cAQH,CAAA;AAED,eAAO,MAAM,IAAI,UAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,QAAQ,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,OAAO,CAAC,EAAE,QAAQ,CAAA;CACnB,KAAG,cAKH,CAAA;AAED,eAAO,MAAM,YAAY,UAAW;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,KAAG,cAIxD,CAAA;AAED,eAAO,MAAM,aAAa,UAAW;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,KAAG,cAKhF,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@ketvietlab/ketjs-view/jsx-runtime";
|
|
2
|
+
export const HOOKS = [
|
|
3
|
+
'app-shell',
|
|
4
|
+
'app-sidebar',
|
|
5
|
+
'app-main',
|
|
6
|
+
'app-right-rail',
|
|
7
|
+
'page',
|
|
8
|
+
'page-header',
|
|
9
|
+
'page-heading',
|
|
10
|
+
'page-title',
|
|
11
|
+
'page-description',
|
|
12
|
+
'page-actions',
|
|
13
|
+
'page-body',
|
|
14
|
+
'record-canvas',
|
|
15
|
+
'record-content',
|
|
16
|
+
'record-section',
|
|
17
|
+
'record-section-title',
|
|
18
|
+
];
|
|
19
|
+
export const AppShell = (props) => (_jsxs("div", { "data-ui": "app-shell", "data-has-right-rail": String(props.rightRail !== undefined), "data-mode": props.mode ?? 'viewport', children: [_jsx("aside", { "data-ui": "app-sidebar", children: props.sidebar }), props.mode === 'embedded' ? (_jsx("div", { "data-ui": "app-main", children: props.main })) : (_jsx("main", { "data-ui": "app-main", children: props.main })), props.rightRail !== undefined && _jsx("aside", { "data-ui": "app-right-rail", children: props.rightRail })] }));
|
|
20
|
+
export const PageHeader = (props) => (_jsxs("header", { "data-ui": "page-header", children: [_jsxs("div", { "data-ui": "page-heading", children: [_jsx("h1", { "data-ui": "page-title", children: props.title }), !!props.description && _jsx("p", { "data-ui": "page-description", children: props.description })] }), props.actions !== undefined && _jsx("div", { "data-ui": "page-actions", children: props.actions })] }));
|
|
21
|
+
export const Page = (props) => (_jsxs("section", { "data-ui": "page", children: [_jsx(PageHeader, { title: props.title, description: props.description, actions: props.actions }), _jsx("div", { "data-ui": "page-body", children: props.body })] }));
|
|
22
|
+
export const RecordCanvas = (props) => (_jsx("div", { "data-ui": "record-canvas", children: _jsx("div", { "data-ui": "record-content", children: props.body }) }));
|
|
23
|
+
export const RecordSection = (props) => (_jsxs("section", { "data-ui": "record-section", children: [!!props.title && _jsx("h2", { "data-ui": "record-section-title", children: props.title }), props.body] }));
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/design-system/src/layouts/shell/index.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,WAAW;IACX,aAAa;IACb,UAAU;IACV,gBAAgB;IAChB,MAAM;IACN,aAAa;IACb,cAAc;IACd,YAAY;IACZ,kBAAkB;IAClB,cAAc;IACd,WAAW;IACX,eAAe;IACf,gBAAgB;IAChB,gBAAgB;IAChB,sBAAsB;CACd,CAAA;AAEV,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,KAKxB,EAAkB,EAAE,CAAC,CACpB,0BACU,WAAW,yBACE,MAAM,CAAC,KAAK,CAAC,SAAS,KAAK,SAAS,CAAC,eAC/C,KAAK,CAAC,IAAI,IAAI,UAAU,aAEnC,2BAAe,aAAa,YAAE,KAAK,CAAC,OAAO,GAAS,EACnD,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,CAC3B,yBAAa,UAAU,YAAE,KAAK,CAAC,IAAI,GAAO,CAC3C,CAAC,CAAC,CAAC,CACF,0BAAc,UAAU,YAAE,KAAK,CAAC,IAAI,GAAQ,CAC7C,EACA,KAAK,CAAC,SAAS,KAAK,SAAS,IAAI,2BAAe,gBAAgB,YAAE,KAAK,CAAC,SAAS,GAAS,IACvF,CACP,CAAA;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAI1B,EAAkB,EAAE,CAAC,CACpB,6BAAgB,aAAa,aAC3B,0BAAa,cAAc,aACzB,wBAAY,YAAY,YAAE,KAAK,CAAC,KAAK,GAAM,EAC1C,CAAC,CAAC,KAAK,CAAC,WAAW,IAAI,uBAAW,kBAAkB,YAAE,KAAK,CAAC,WAAW,GAAK,IACzE,EACL,KAAK,CAAC,OAAO,KAAK,SAAS,IAAI,yBAAa,cAAc,YAAE,KAAK,CAAC,OAAO,GAAO,IAC1E,CACV,CAAA;AAED,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,KAKpB,EAAkB,EAAE,CAAC,CACpB,8BAAiB,MAAM,aACrB,KAAC,UAAU,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,GAAI,EAC1F,yBAAa,WAAW,YAAE,KAAK,CAAC,IAAI,GAAO,IACnC,CACX,CAAA;AAED,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAAyB,EAAkB,EAAE,CAAC,CACzE,yBAAa,eAAe,YAC1B,yBAAa,gBAAgB,YAAE,KAAK,CAAC,IAAI,GAAO,GAC5C,CACP,CAAA;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAgD,EAAkB,EAAE,CAAC,CACjG,8BAAiB,gBAAgB,aAC9B,CAAC,CAAC,KAAK,CAAC,KAAK,IAAI,wBAAY,sBAAsB,YAAE,KAAK,CAAC,KAAK,GAAM,EACtE,KAAK,CAAC,IAAI,IACH,CACX,CAAA"}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
@layer ket.app {
|
|
2
|
+
:where([data-kv-design-system]) [data-ui="app-shell"] {
|
|
3
|
+
display: grid;
|
|
4
|
+
min-width: 0;
|
|
5
|
+
min-height: 100dvh;
|
|
6
|
+
grid-template-columns: var(--kv-sidebar-width) minmax(0, 1fr);
|
|
7
|
+
background: var(--kv-page-bg);
|
|
8
|
+
color: var(--kv-text-main);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:where([data-kv-design-system]) [data-ui="app-shell"][data-has-right-rail="true"] {
|
|
12
|
+
grid-template-columns: var(--kv-sidebar-width) minmax(0, 1fr) var(--kv-right-rail-width);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:where([data-kv-design-system]) [data-ui="app-sidebar"] {
|
|
16
|
+
position: sticky;
|
|
17
|
+
top: 0;
|
|
18
|
+
height: 100dvh;
|
|
19
|
+
min-width: 0;
|
|
20
|
+
overflow-y: auto;
|
|
21
|
+
border-right: 1px solid var(--kv-sidebar-border);
|
|
22
|
+
border-radius: var(--kv-radius-app-region);
|
|
23
|
+
background: var(--kv-sidebar-bg);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
:where([data-kv-design-system]) [data-ui="app-main"] {
|
|
27
|
+
min-width: 0;
|
|
28
|
+
border-radius: var(--kv-radius-app-region);
|
|
29
|
+
background: var(--kv-page-bg);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:where([data-kv-design-system]) [data-ui="app-right-rail"] {
|
|
33
|
+
position: sticky;
|
|
34
|
+
top: 0;
|
|
35
|
+
height: 100dvh;
|
|
36
|
+
min-width: 0;
|
|
37
|
+
overflow-y: auto;
|
|
38
|
+
border-left: 1px solid var(--kv-right-rail-border);
|
|
39
|
+
border-radius: var(--kv-radius-app-region);
|
|
40
|
+
background: var(--kv-right-rail-bg);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
:where([data-kv-design-system]) [data-ui="app-shell"][data-mode="embedded"] {
|
|
44
|
+
min-height: 28rem;
|
|
45
|
+
height: 28rem;
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:where([data-kv-design-system])
|
|
50
|
+
[data-ui="app-shell"][data-mode="embedded"]
|
|
51
|
+
:is([data-ui="app-sidebar"], [data-ui="app-right-rail"]) {
|
|
52
|
+
position: relative;
|
|
53
|
+
height: 100%;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:where([data-kv-design-system]) [data-ui="page"] {
|
|
57
|
+
min-width: 0;
|
|
58
|
+
padding: var(--kv-page-padding-y) var(--kv-page-padding-x);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:where([data-kv-design-system]) [data-ui="page-header"] {
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: flex-start;
|
|
64
|
+
justify-content: space-between;
|
|
65
|
+
gap: var(--kv-space-6);
|
|
66
|
+
margin-bottom: var(--kv-space-6);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
:where([data-kv-design-system]) [data-ui="page-heading"] {
|
|
70
|
+
min-width: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
:where([data-kv-design-system]) [data-ui="page-title"] {
|
|
74
|
+
margin: 0;
|
|
75
|
+
font-size: var(--kv-text-2xl);
|
|
76
|
+
font-weight: var(--kv-weight-semibold);
|
|
77
|
+
letter-spacing: 0;
|
|
78
|
+
line-height: var(--kv-leading-tight);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
:where([data-kv-design-system]) [data-ui="page-description"] {
|
|
82
|
+
margin: var(--kv-space-1-5) 0 0;
|
|
83
|
+
color: var(--kv-text-muted);
|
|
84
|
+
font-size: var(--kv-text-sm);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
:where([data-kv-design-system]) [data-ui="page-actions"] {
|
|
88
|
+
flex: 0 0 auto;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
:where([data-kv-design-system]) [data-ui="page-body"] {
|
|
92
|
+
min-width: 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
:where([data-kv-design-system]) [data-ui="record-canvas"] {
|
|
96
|
+
min-width: 0;
|
|
97
|
+
padding: 1.375rem var(--kv-page-padding-x) var(--kv-space-12);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
:where([data-kv-design-system]) [data-ui="record-content"] {
|
|
101
|
+
width: 100%;
|
|
102
|
+
min-width: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
:where([data-kv-design-system]) [data-ui="record-section"] {
|
|
106
|
+
min-width: 0;
|
|
107
|
+
padding: var(--kv-space-6) 0;
|
|
108
|
+
border-bottom: 1px solid var(--kv-panel-divider);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
:where([data-kv-design-system]) [data-ui="record-section"]:last-child {
|
|
112
|
+
border-bottom: 0;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
:where([data-kv-design-system]) [data-ui="record-section-title"] {
|
|
116
|
+
margin: 0 0 var(--kv-space-4);
|
|
117
|
+
font-size: var(--kv-text-lg);
|
|
118
|
+
font-weight: var(--kv-weight-semibold);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@media (min-width: 48.0625rem) and (max-width: 75rem) {
|
|
122
|
+
:where([data-kv-design-system]) [data-ui="app-shell"][data-has-right-rail="true"] {
|
|
123
|
+
grid-template-columns: var(--kv-sidebar-width) minmax(0, 1fr);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
:where([data-kv-design-system]) [data-ui="app-right-rail"] {
|
|
127
|
+
position: static;
|
|
128
|
+
grid-column: 2;
|
|
129
|
+
height: auto;
|
|
130
|
+
border-left: 0;
|
|
131
|
+
border-top: 1px solid var(--kv-right-rail-border);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@media (max-width: 48rem) {
|
|
136
|
+
:where([data-kv-design-system]) [data-ui="app-shell"],
|
|
137
|
+
:where([data-kv-design-system]) [data-ui="app-shell"][data-has-right-rail="true"] {
|
|
138
|
+
grid-template-columns: minmax(0, 1fr);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
:where([data-kv-design-system]) [data-ui="app-sidebar"],
|
|
142
|
+
:where([data-kv-design-system]) [data-ui="app-right-rail"] {
|
|
143
|
+
position: relative;
|
|
144
|
+
width: auto;
|
|
145
|
+
height: auto;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
:where([data-kv-design-system]) [data-ui="app-sidebar"] {
|
|
149
|
+
border-right: 0;
|
|
150
|
+
border-bottom: 1px solid var(--kv-sidebar-border);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:where([data-kv-design-system]) [data-ui="app-right-rail"] {
|
|
154
|
+
border-top: 1px solid var(--kv-right-rail-border);
|
|
155
|
+
border-left: 0;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
:where([data-kv-design-system]) [data-ui="page"],
|
|
159
|
+
:where([data-kv-design-system]) [data-ui="record-canvas"] {
|
|
160
|
+
padding-inline: var(--kv-space-4);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
:where([data-kv-design-system]) [data-ui="page-header"] {
|
|
164
|
+
flex-direction: column;
|
|
165
|
+
gap: var(--kv-space-4);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|