@koobiq/components 18.16.0 → 18.17.0
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/core/locales/locale-service.d.ts +18 -1
- package/core/styles/common/_list.scss +4 -0
- package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
- package/esm2022/core/locales/locale-service.mjs +24 -2
- package/esm2022/core/option/option.mjs +2 -2
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/dropdown/dropdown-item.component.mjs +2 -2
- package/esm2022/list/list-selection.component.mjs +2 -2
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/navbar/navbar.component.mjs +2 -2
- package/esm2022/navbar/vertical-navbar.component.mjs +2 -2
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +3 -3
- package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
- package/esm2022/timezone/timezone-option.component.mjs +2 -2
- package/esm2022/top-bar/index.mjs +2 -0
- package/esm2022/top-bar/koobiq-components-top-bar.mjs +5 -0
- package/esm2022/top-bar/module.mjs +25 -0
- package/esm2022/top-bar/public-api.mjs +3 -0
- package/esm2022/top-bar/top-bar.mjs +66 -0
- package/esm2022/tree/tree-option.component.mjs +2 -2
- package/fesm2022/koobiq-components-button-toggle.mjs +2 -2
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +27 -5
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +2 -2
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +4 -4
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +4 -4
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +4 -4
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +2 -2
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +2 -2
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-top-bar.mjs +95 -0
- package/fesm2022/koobiq-components-top-bar.mjs.map +1 -0
- package/fesm2022/koobiq-components-tree.mjs +2 -2
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/package.json +10 -4
- package/schematics/ng-add/index.js +2 -2
- package/top-bar/index.d.ts +1 -0
- package/top-bar/module.d.ts +7 -0
- package/top-bar/public-api.d.ts +2 -0
- package/top-bar/top-bar-tokens.scss +12 -0
- package/top-bar/top-bar.d.ts +25 -0
- package/top-bar/top-bar.scss +36 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/components",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.17.0",
|
|
4
4
|
"description": "koobiq",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@angular/cdk": "^18.0.0",
|
|
25
25
|
"@angular/core": "^18.0.0",
|
|
26
26
|
"@angular/forms": "^18.0.0",
|
|
27
|
-
"@koobiq/cdk": "18.
|
|
28
|
-
"@koobiq/angular-moment-adapter": "18.
|
|
29
|
-
"@koobiq/angular-luxon-adapter": "18.
|
|
27
|
+
"@koobiq/cdk": "18.17.0",
|
|
28
|
+
"@koobiq/angular-moment-adapter": "18.17.0",
|
|
29
|
+
"@koobiq/angular-luxon-adapter": "18.17.0",
|
|
30
30
|
"@koobiq/date-formatter": "^3.1.4",
|
|
31
31
|
"@koobiq/icons": "^9.2.0",
|
|
32
32
|
"@koobiq/tokens-builder": "3.11.0",
|
|
@@ -346,6 +346,12 @@
|
|
|
346
346
|
"esm": "./esm2022/tooltip/koobiq-components-tooltip.mjs",
|
|
347
347
|
"default": "./fesm2022/koobiq-components-tooltip.mjs"
|
|
348
348
|
},
|
|
349
|
+
"./top-bar": {
|
|
350
|
+
"types": "./top-bar/index.d.ts",
|
|
351
|
+
"esm2022": "./esm2022/top-bar/koobiq-components-top-bar.mjs",
|
|
352
|
+
"esm": "./esm2022/top-bar/koobiq-components-top-bar.mjs",
|
|
353
|
+
"default": "./fesm2022/koobiq-components-top-bar.mjs"
|
|
354
|
+
},
|
|
349
355
|
"./tree": {
|
|
350
356
|
"types": "./tree/index.d.ts",
|
|
351
357
|
"esm2022": "./esm2022/tree/koobiq-components-tree.mjs",
|
|
@@ -27,8 +27,8 @@ function ngAdd(options) {
|
|
|
27
27
|
}
|
|
28
28
|
// Installing dependencies
|
|
29
29
|
utils_packageConfig.addPackageToPackageJson(tree, '@angular/cdk', "^18.2.6");
|
|
30
|
-
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.
|
|
31
|
-
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.
|
|
30
|
+
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.17.0");
|
|
31
|
+
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.17.0");
|
|
32
32
|
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-formatter', "^3.2.0");
|
|
33
33
|
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-adapter', "^3.2.0");
|
|
34
34
|
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/icons', "^9.2.0");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./top-bar";
|
|
3
|
+
export declare class KbqTopBarModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTopBarModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTopBarModule, never, [typeof i1.KbqTopBar, typeof i1.KbqTopBarContainer, typeof i1.KbqTopBarSpacer], [typeof i1.KbqTopBar, typeof i1.KbqTopBarContainer, typeof i1.KbqTopBarSpacer]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KbqTopBarModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
.kbq-top-bar {
|
|
2
|
+
--kbq-top-bar-position: sticky;
|
|
3
|
+
--kbq-top-bar-background: var(--kbq-background-bg);
|
|
4
|
+
--kbq-top-bar-spacer-min-width: 80px;
|
|
5
|
+
--kbq-top-bar-padding-vertical: var(--kbq-size-l);
|
|
6
|
+
--kbq-top-bar-padding-horizontal: var(--kbq-size-l);
|
|
7
|
+
--kbq-top-bar-border-radius: 0;
|
|
8
|
+
--kbq-top-bar-left-gap: 0;
|
|
9
|
+
--kbq-top-bar-right-gap: var(--kbq-size-s);
|
|
10
|
+
--kbq-top-bar-shadow-bottom: var(--kbq-shadow-overflow-normal-bottom);
|
|
11
|
+
--kbq-top-bar-shadow-transition: ease-out 300ms;
|
|
12
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class KbqTopBarSpacer {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTopBarSpacer, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTopBarSpacer, "[kbqTopBarSpacer]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Directive that dynamically applying CSS classes based on a placement value (left or right).
|
|
8
|
+
*/
|
|
9
|
+
export declare class KbqTopBarContainer {
|
|
10
|
+
/**
|
|
11
|
+
* Conditionally applies a CSS class based on the value
|
|
12
|
+
*/
|
|
13
|
+
placement: import("@angular/core").InputSignal<"start" | "end">;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTopBarContainer, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTopBarContainer, "[kbqTopBarContainer]", never, { "placement": { "alias": "placement"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
export declare class KbqTopBar {
|
|
18
|
+
/**
|
|
19
|
+
* Enables overflow behavior, applying `kbq-top-bar-overflow` to show a bottom shadow.
|
|
20
|
+
*/
|
|
21
|
+
withShadow: boolean;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTopBar, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTopBar, "kbq-top-bar", never, { "withShadow": { "alias": "withShadow"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
24
|
+
static ngAcceptInputType_withShadow: unknown;
|
|
25
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@use '../core/styles/common/tokens';
|
|
2
|
+
|
|
3
|
+
.kbq-top-bar {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
|
|
10
|
+
position: var(--kbq-top-bar-position);
|
|
11
|
+
background-color: var(--kbq-top-bar-background);
|
|
12
|
+
padding: var(--kbq-top-bar-padding-vertical) var(--kbq-top-bar-padding-horizontal);
|
|
13
|
+
border: var(--kbq-top-bar-border-radius);
|
|
14
|
+
|
|
15
|
+
.kbq-top-bar-spacer {
|
|
16
|
+
height: 100%;
|
|
17
|
+
flex: 1 0 var(--kbq-top-bar-spacer-min-width);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.kbq-top-bar-container__start {
|
|
21
|
+
display: flex;
|
|
22
|
+
gap: var(--kbq-top-bar-left-gap);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.kbq-top-bar-container__end {
|
|
26
|
+
display: flex;
|
|
27
|
+
gap: var(--kbq-top-bar-right-gap);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.kbq-top-bar_with-shadow {
|
|
31
|
+
box-shadow: var(--kbq-top-bar-shadow-bottom);
|
|
32
|
+
transition: box-shadow var(--kbq-top-bar-shadow-transition);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@include tokens.kbq-typography-level-to-styles-css-variables(typography, text-normal);
|
|
36
|
+
}
|