@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/shell.css
CHANGED
|
@@ -1,168 +1 @@
|
|
|
1
|
-
@
|
|
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
|
-
}
|
|
1
|
+
@import "./shell/styles.css";
|
package/dist/layouts/shell.d.ts
CHANGED
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
|
|
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;
|
|
1
|
+
export * from './shell/index.tsx';
|
|
27
2
|
//# sourceMappingURL=shell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../../packages/design-system/src/layouts/shell.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../../packages/design-system/src/layouts/shell.tsx"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA"}
|
package/dist/layouts/shell.js
CHANGED
|
@@ -1,24 +1,2 @@
|
|
|
1
|
-
|
|
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] }));
|
|
1
|
+
export * from './shell/index.js';
|
|
24
2
|
//# sourceMappingURL=shell.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell.js","sourceRoot":"","sources":["../../../../../../packages/design-system/src/layouts/shell.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shell.js","sourceRoot":"","sources":["../../../../../../packages/design-system/src/layouts/shell.tsx"],"names":[],"mappings":"AAAA,cAAc,kBAAmB,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { TemplateResult } from '@ketvietlab/ketjs-view';
|
|
2
|
+
import { type WorkspacePageProps } from '../workspace-page.tsx';
|
|
3
|
+
export declare const HOOKS: readonly ['board-page', 'board-page-context', 'board-page-header', 'board-page-heading', 'board-page-eyebrow', 'board-page-title-row', 'board-page-title', 'board-page-subline', 'board-page-status', 'board-page-description', 'board-page-actions', 'board-page-meta', 'board-page-toolbar', 'board-page-controls', 'board-page-body'];
|
|
4
|
+
export type BoardPageProps = Omit<WorkspacePageProps, 'layout'>;
|
|
5
|
+
/**
|
|
6
|
+
* The baseline for kanban, schedule and timeline workspaces.
|
|
7
|
+
*
|
|
8
|
+
* A board needs more horizontal room than a collection or form, but it still
|
|
9
|
+
* belongs to the same application hierarchy. The pattern keeps location,
|
|
10
|
+
* identity and global controls in stable compact bands while leaving scrolling,
|
|
11
|
+
* columns and interaction to the specialised board supplied by the application.
|
|
12
|
+
*
|
|
13
|
+
* @deprecated Compose canvas recipes with WorkspacePage layout="canvas".
|
|
14
|
+
*/
|
|
15
|
+
export declare const BoardPage: (props: BoardPageProps) => TemplateResult;
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/design-system/src/patterns/board-page/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC5D,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE9E,eAAO,MAAM,KAAK,YAChB,YAAY,EACZ,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,wBAAwB,EACxB,oBAAoB,EACpB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,CACT,CAAA;AAEV,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,kBAAkB,EAAE,QAAQ,CAAC,CAAA;AAE/D;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS,UAAW,cAAc,KAAG,cACW,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { workspacePage } from '../workspace-page.js';
|
|
2
|
+
export const HOOKS = [
|
|
3
|
+
'board-page',
|
|
4
|
+
'board-page-context',
|
|
5
|
+
'board-page-header',
|
|
6
|
+
'board-page-heading',
|
|
7
|
+
'board-page-eyebrow',
|
|
8
|
+
'board-page-title-row',
|
|
9
|
+
'board-page-title',
|
|
10
|
+
'board-page-subline',
|
|
11
|
+
'board-page-status',
|
|
12
|
+
'board-page-description',
|
|
13
|
+
'board-page-actions',
|
|
14
|
+
'board-page-meta',
|
|
15
|
+
'board-page-toolbar',
|
|
16
|
+
'board-page-controls',
|
|
17
|
+
'board-page-body',
|
|
18
|
+
];
|
|
19
|
+
/**
|
|
20
|
+
* The baseline for kanban, schedule and timeline workspaces.
|
|
21
|
+
*
|
|
22
|
+
* A board needs more horizontal room than a collection or form, but it still
|
|
23
|
+
* belongs to the same application hierarchy. The pattern keeps location,
|
|
24
|
+
* identity and global controls in stable compact bands while leaving scrolling,
|
|
25
|
+
* columns and interaction to the specialised board supplied by the application.
|
|
26
|
+
*
|
|
27
|
+
* @deprecated Compose canvas recipes with WorkspacePage layout="canvas".
|
|
28
|
+
*/
|
|
29
|
+
export const BoardPage = (props) => workspacePage({ ...props, layout: 'canvas' }, 'board-page');
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/design-system/src/patterns/board-page/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAA2B,MAAM,sBAAuB,CAAA;AAE9E,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,YAAY;IACZ,oBAAoB;IACpB,mBAAmB;IACnB,oBAAoB;IACpB,oBAAoB;IACpB,sBAAsB;IACtB,kBAAkB;IAClB,oBAAoB;IACpB,mBAAmB;IACnB,wBAAwB;IACxB,oBAAoB;IACpB,iBAAiB;IACjB,oBAAoB;IACpB,qBAAqB;IACrB,iBAAiB;CACT,CAAA;AAIV;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,KAAqB,EAAkB,EAAE,CACjE,aAAa,CAAC,EAAE,GAAG,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,YAAY,CAAC,CAAA"}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
@layer ket.app {
|
|
2
|
+
/* Boards spend their space on the operational surface. Context, identity and
|
|
3
|
+
global controls stay in compact horizontal bands; the specialised board
|
|
4
|
+
owns its internal columns, timeline and scrolling behavior. */
|
|
5
|
+
:where([data-kv-design-system]) [data-ui="board-page"] {
|
|
6
|
+
display: grid;
|
|
7
|
+
min-width: 0;
|
|
8
|
+
background: var(--kv-page-bg);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:where([data-kv-design-system]) [data-ui="board-page"][data-variant="operational"] {
|
|
12
|
+
gap: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:where([data-kv-design-system])
|
|
17
|
+
[data-ui="board-page"][data-variant="operational"]
|
|
18
|
+
[data-ui="board-page-context"] {
|
|
19
|
+
display: flex;
|
|
20
|
+
min-width: 0;
|
|
21
|
+
min-height: var(--kv-table-header-height);
|
|
22
|
+
align-items: center;
|
|
23
|
+
padding-inline: var(--kv-page-padding-x);
|
|
24
|
+
border-bottom: 1px solid var(--kv-panel-divider);
|
|
25
|
+
background: var(--kv-page-chrome-bg);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:where([data-kv-design-system]) [data-ui="board-page-header"] {
|
|
29
|
+
display: grid;
|
|
30
|
+
min-width: 0;
|
|
31
|
+
padding: var(--kv-space-4) var(--kv-page-padding-x);
|
|
32
|
+
border-bottom: 1px solid var(--kv-panel-divider);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:where([data-kv-design-system])
|
|
36
|
+
[data-ui="board-page"][data-variant="operational"]
|
|
37
|
+
[data-ui="board-page-header"] {
|
|
38
|
+
background: var(--kv-page-chrome-bg);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:where([data-kv-design-system]) [data-ui="board-page-heading"] {
|
|
42
|
+
display: grid;
|
|
43
|
+
min-width: 0;
|
|
44
|
+
gap: var(--kv-space-1);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
:where([data-kv-design-system]) [data-ui="board-page-eyebrow"] {
|
|
48
|
+
margin: 0;
|
|
49
|
+
color: var(--kv-text-muted);
|
|
50
|
+
font-size: var(--kv-text-2xs);
|
|
51
|
+
font-weight: var(--kv-weight-semibold);
|
|
52
|
+
letter-spacing: 0;
|
|
53
|
+
line-height: var(--kv-leading-normal);
|
|
54
|
+
text-transform: uppercase;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:where([data-kv-design-system]) [data-ui="board-page-title-row"] {
|
|
58
|
+
display: grid;
|
|
59
|
+
min-width: 0;
|
|
60
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
61
|
+
align-items: center;
|
|
62
|
+
gap: var(--kv-space-4);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
:where([data-kv-design-system]) [data-ui="board-page-title"] {
|
|
66
|
+
margin: 0;
|
|
67
|
+
overflow-wrap: anywhere;
|
|
68
|
+
color: var(--kv-text-main);
|
|
69
|
+
font-size: var(--kv-page-title-size);
|
|
70
|
+
font-weight: var(--kv-weight-semibold);
|
|
71
|
+
letter-spacing: 0;
|
|
72
|
+
line-height: var(--kv-leading-tight);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
:where([data-kv-design-system]) [data-ui="board-page-description"] {
|
|
76
|
+
max-width: 56rem;
|
|
77
|
+
margin: 0;
|
|
78
|
+
color: var(--kv-text-muted);
|
|
79
|
+
font-size: var(--kv-text-sm);
|
|
80
|
+
line-height: var(--kv-leading-normal);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
:where([data-kv-design-system]) [data-ui="board-page-subline"] {
|
|
84
|
+
display: flex;
|
|
85
|
+
min-width: 0;
|
|
86
|
+
flex-wrap: wrap;
|
|
87
|
+
align-items: center;
|
|
88
|
+
gap: var(--kv-space-2);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
:where([data-kv-design-system]) [data-ui="board-page-status"],
|
|
92
|
+
:where([data-kv-design-system]) [data-ui="board-page-meta"] {
|
|
93
|
+
color: var(--kv-text-muted);
|
|
94
|
+
font-size: var(--kv-text-xs);
|
|
95
|
+
font-variant-numeric: tabular-nums;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
:where([data-kv-design-system]) [data-ui="board-page-actions"] {
|
|
99
|
+
display: flex;
|
|
100
|
+
min-width: 0;
|
|
101
|
+
flex-wrap: wrap;
|
|
102
|
+
align-items: center;
|
|
103
|
+
justify-content: flex-end;
|
|
104
|
+
gap: var(--kv-space-2);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
:where([data-kv-design-system]) [data-ui="board-page-toolbar"] {
|
|
108
|
+
display: flex;
|
|
109
|
+
min-width: 0;
|
|
110
|
+
align-items: center;
|
|
111
|
+
padding: var(--kv-space-3) var(--kv-page-padding-x) var(--kv-space-2-5);
|
|
112
|
+
border-bottom: 1px solid var(--kv-panel-divider);
|
|
113
|
+
background: var(--kv-page-bg);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
:where([data-kv-design-system]) [data-ui="board-page-controls"] {
|
|
117
|
+
min-width: 0;
|
|
118
|
+
flex: 1 1 auto;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
:where([data-kv-design-system]) [data-ui="board-page-body"] {
|
|
122
|
+
display: grid;
|
|
123
|
+
min-width: 0;
|
|
124
|
+
overflow-x: auto;
|
|
125
|
+
gap: var(--kv-space-4);
|
|
126
|
+
padding: var(--kv-space-4) var(--kv-page-padding-x) var(--kv-space-8);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
:where([data-kv-design-system]) [data-ui="board-page-body"] > [data-ui="stack"] {
|
|
130
|
+
gap: var(--kv-space-4);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@media (max-width: 42rem) {
|
|
134
|
+
:where([data-kv-design-system])
|
|
135
|
+
[data-ui="board-page"][data-variant="operational"]
|
|
136
|
+
[data-ui="board-page-context"] {
|
|
137
|
+
min-height: 2.75rem;
|
|
138
|
+
padding-inline: var(--kv-space-4);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
:where([data-kv-design-system]) [data-ui="board-page-header"] {
|
|
142
|
+
padding: var(--kv-space-4) var(--kv-space-4) var(--kv-space-3);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
:where([data-kv-design-system]) [data-ui="board-page-title-row"] {
|
|
146
|
+
grid-template-columns: minmax(0, 1fr);
|
|
147
|
+
align-items: stretch;
|
|
148
|
+
gap: var(--kv-space-3);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
:where([data-kv-design-system]) [data-ui="board-page-title"] {
|
|
152
|
+
font-size: var(--kv-text-lg);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
:where([data-kv-design-system]) [data-ui="board-page-actions"] {
|
|
156
|
+
justify-content: flex-start;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
:where([data-kv-design-system]) [data-ui="board-page-toolbar"],
|
|
160
|
+
:where([data-kv-design-system]) [data-ui="board-page-body"] {
|
|
161
|
+
padding-inline: var(--kv-space-4);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { type WorkspacePageProps } from './workspace-page.tsx';
|
|
3
|
-
export declare const HOOKS: readonly ['board-page', 'board-page-context', 'board-page-header', 'board-page-heading', 'board-page-eyebrow', 'board-page-title-row', 'board-page-title', 'board-page-subline', 'board-page-status', 'board-page-description', 'board-page-actions', 'board-page-meta', 'board-page-toolbar', 'board-page-controls', 'board-page-body'];
|
|
4
|
-
export type BoardPageProps = Omit<WorkspacePageProps, 'layout'>;
|
|
5
|
-
/**
|
|
6
|
-
* The baseline for kanban, schedule and timeline workspaces.
|
|
7
|
-
*
|
|
8
|
-
* A board needs more horizontal room than a collection or form, but it still
|
|
9
|
-
* belongs to the same application hierarchy. The pattern keeps location,
|
|
10
|
-
* identity and global controls in stable compact bands while leaving scrolling,
|
|
11
|
-
* columns and interaction to the specialised board supplied by the application.
|
|
12
|
-
*/
|
|
13
|
-
export declare const BoardPage: (props: BoardPageProps) => TemplateResult;
|
|
1
|
+
export * from './board-page/index.tsx';
|
|
14
2
|
//# sourceMappingURL=board-page.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"board-page.d.ts","sourceRoot":"","sources":["../../../../../packages/design-system/src/patterns/board-page.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"board-page.d.ts","sourceRoot":"","sources":["../../../../../packages/design-system/src/patterns/board-page.tsx"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
|
@@ -1,28 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export const HOOKS = [
|
|
3
|
-
'board-page',
|
|
4
|
-
'board-page-context',
|
|
5
|
-
'board-page-header',
|
|
6
|
-
'board-page-heading',
|
|
7
|
-
'board-page-eyebrow',
|
|
8
|
-
'board-page-title-row',
|
|
9
|
-
'board-page-title',
|
|
10
|
-
'board-page-subline',
|
|
11
|
-
'board-page-status',
|
|
12
|
-
'board-page-description',
|
|
13
|
-
'board-page-actions',
|
|
14
|
-
'board-page-meta',
|
|
15
|
-
'board-page-toolbar',
|
|
16
|
-
'board-page-controls',
|
|
17
|
-
'board-page-body',
|
|
18
|
-
];
|
|
19
|
-
/**
|
|
20
|
-
* The baseline for kanban, schedule and timeline workspaces.
|
|
21
|
-
*
|
|
22
|
-
* A board needs more horizontal room than a collection or form, but it still
|
|
23
|
-
* belongs to the same application hierarchy. The pattern keeps location,
|
|
24
|
-
* identity and global controls in stable compact bands while leaving scrolling,
|
|
25
|
-
* columns and interaction to the specialised board supplied by the application.
|
|
26
|
-
*/
|
|
27
|
-
export const BoardPage = (props) => workspacePage({ ...props, layout: 'canvas' }, 'board-page');
|
|
1
|
+
export * from './board-page/index.js';
|
|
28
2
|
//# sourceMappingURL=board-page.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"board-page.js","sourceRoot":"","sources":["../../../../../../packages/design-system/src/patterns/board-page.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"board-page.js","sourceRoot":"","sources":["../../../../../../packages/design-system/src/patterns/board-page.tsx"],"names":[],"mappings":"AAAA,cAAc,uBAAwB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { TemplateResult } from '@ketvietlab/ketjs-view';
|
|
2
|
+
import { type WorkspacePageProps } from '../workspace-page.tsx';
|
|
3
|
+
export declare const HOOKS: readonly ['dashboard-page', 'dashboard-page-context', 'dashboard-page-header', 'dashboard-page-heading', 'dashboard-page-eyebrow', 'dashboard-page-title-row', 'dashboard-page-title', 'dashboard-page-subline', 'dashboard-page-status', 'dashboard-page-description', 'dashboard-page-actions', 'dashboard-page-meta', 'dashboard-page-body'];
|
|
4
|
+
export type DashboardPageProps = Omit<WorkspacePageProps, 'layout' | 'controls'>;
|
|
5
|
+
/**
|
|
6
|
+
* The baseline for KPI, workflow and analytical overview screens.
|
|
7
|
+
*
|
|
8
|
+
* Applications own the translated copy, business actions and dashboard blocks.
|
|
9
|
+
* This pattern keeps location, identity and the overview canvas in a stable,
|
|
10
|
+
* compact hierarchy without pretending that the dashboard is a business record.
|
|
11
|
+
*
|
|
12
|
+
* @deprecated Compose the overview recipe with WorkspacePage layout="flow".
|
|
13
|
+
*/
|
|
14
|
+
export declare const DashboardPage: (props: DashboardPageProps) => TemplateResult;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/design-system/src/patterns/dashboard-page/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC5D,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE9E,eAAO,MAAM,KAAK,YAChB,gBAAgB,EAChB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,sBAAsB,EACtB,wBAAwB,EACxB,uBAAuB,EACvB,4BAA4B,EAC5B,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,CACb,CAAA;AAEV,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,kBAAkB,EAAE,QAAQ,GAAG,UAAU,CAAC,CAAA;AAEhF;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,UAAW,kBAAkB,KAAG,cACK,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { workspacePage } from '../workspace-page.js';
|
|
2
|
+
export const HOOKS = [
|
|
3
|
+
'dashboard-page',
|
|
4
|
+
'dashboard-page-context',
|
|
5
|
+
'dashboard-page-header',
|
|
6
|
+
'dashboard-page-heading',
|
|
7
|
+
'dashboard-page-eyebrow',
|
|
8
|
+
'dashboard-page-title-row',
|
|
9
|
+
'dashboard-page-title',
|
|
10
|
+
'dashboard-page-subline',
|
|
11
|
+
'dashboard-page-status',
|
|
12
|
+
'dashboard-page-description',
|
|
13
|
+
'dashboard-page-actions',
|
|
14
|
+
'dashboard-page-meta',
|
|
15
|
+
'dashboard-page-body',
|
|
16
|
+
];
|
|
17
|
+
/**
|
|
18
|
+
* The baseline for KPI, workflow and analytical overview screens.
|
|
19
|
+
*
|
|
20
|
+
* Applications own the translated copy, business actions and dashboard blocks.
|
|
21
|
+
* This pattern keeps location, identity and the overview canvas in a stable,
|
|
22
|
+
* compact hierarchy without pretending that the dashboard is a business record.
|
|
23
|
+
*
|
|
24
|
+
* @deprecated Compose the overview recipe with WorkspacePage layout="flow".
|
|
25
|
+
*/
|
|
26
|
+
export const DashboardPage = (props) => workspacePage({ ...props, layout: 'flow' }, 'dashboard-page');
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/design-system/src/patterns/dashboard-page/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAA2B,MAAM,sBAAuB,CAAA;AAE9E,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,gBAAgB;IAChB,wBAAwB;IACxB,uBAAuB;IACvB,wBAAwB;IACxB,wBAAwB;IACxB,0BAA0B;IAC1B,sBAAsB;IACtB,wBAAwB;IACxB,uBAAuB;IACvB,4BAA4B;IAC5B,wBAAwB;IACxB,qBAAqB;IACrB,qBAAqB;CACb,CAAA;AAIV;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAyB,EAAkB,EAAE,CACzE,aAAa,CAAC,EAAE,GAAG,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,gBAAgB,CAAC,CAAA"}
|