@koobiq/components-experimental 18.5.1

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.
Files changed (45) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +3 -0
  3. package/esm2022/form-field/cleaner.mjs +47 -0
  4. package/esm2022/form-field/form-field.mjs +235 -0
  5. package/esm2022/form-field/form-field.module.mjs +56 -0
  6. package/esm2022/form-field/hint.mjs +157 -0
  7. package/esm2022/form-field/index.mjs +2 -0
  8. package/esm2022/form-field/koobiq-components-experimental-form-field.mjs +5 -0
  9. package/esm2022/form-field/label.mjs +26 -0
  10. package/esm2022/form-field/password-toggle.mjs +65 -0
  11. package/esm2022/form-field/prefix.mjs +18 -0
  12. package/esm2022/form-field/public-api.mjs +10 -0
  13. package/esm2022/form-field/stepper.mjs +82 -0
  14. package/esm2022/form-field/suffix.mjs +18 -0
  15. package/esm2022/index.mjs +2 -0
  16. package/esm2022/koobiq-components-experimental.mjs +5 -0
  17. package/esm2022/public-api.mjs +2 -0
  18. package/fesm2022/koobiq-components-experimental-form-field.mjs +668 -0
  19. package/fesm2022/koobiq-components-experimental-form-field.mjs.map +1 -0
  20. package/fesm2022/koobiq-components-experimental.mjs +4 -0
  21. package/fesm2022/koobiq-components-experimental.mjs.map +1 -0
  22. package/form-field/README.md +0 -0
  23. package/form-field/_form-field-theme.scss +81 -0
  24. package/form-field/_hint-theme.scss +59 -0
  25. package/form-field/cleaner.d.ts +14 -0
  26. package/form-field/cleaner.scss +5 -0
  27. package/form-field/form-field-tokens.scss +63 -0
  28. package/form-field/form-field.d.ts +99 -0
  29. package/form-field/form-field.module.d.ts +14 -0
  30. package/form-field/form-field.scss +69 -0
  31. package/form-field/hint-tokens.scss +44 -0
  32. package/form-field/hint.d.ts +55 -0
  33. package/form-field/hint.scss +18 -0
  34. package/form-field/index.d.ts +1 -0
  35. package/form-field/label.d.ts +8 -0
  36. package/form-field/password-toggle.d.ts +16 -0
  37. package/form-field/password-toggle.scss +13 -0
  38. package/form-field/prefix.d.ts +6 -0
  39. package/form-field/public-api.d.ts +9 -0
  40. package/form-field/stepper.d.ts +14 -0
  41. package/form-field/stepper.scss +21 -0
  42. package/form-field/suffix.d.ts +6 -0
  43. package/index.d.ts +1 -0
  44. package/package.json +54 -0
  45. package/public-api.d.ts +1 -0
@@ -0,0 +1,18 @@
1
+ @use './hint-theme' as *;
2
+
3
+ .kbq-hint___EXPERIMENTAL {
4
+ display: flex;
5
+ align-items: center;
6
+ justify-content: start;
7
+
8
+ .kbq-icon {
9
+ margin-right: var(--kbq-hint-size-normal-content-padding);
10
+ }
11
+
12
+ &.kbq-hint_compact .kbq-icon {
13
+ margin-right: var(--kbq-hint-size-compact-content-padding);
14
+ }
15
+ }
16
+
17
+ @include kbq-hint-theme();
18
+ @include kbq-hint-typography();
@@ -0,0 +1 @@
1
+ export * from './public-api';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ /** Label for the form field. */
3
+ export declare class KbqLabel {
4
+ /** Unique id for the label. */
5
+ id: string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqLabel, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KbqLabel, "kbq-label", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
8
+ }
@@ -0,0 +1,16 @@
1
+ import { KbqInputPassword } from '@koobiq/components/input';
2
+ import * as i0 from "@angular/core";
3
+ /** Component which changes password visibility. */
4
+ export declare class KbqPasswordToggle {
5
+ private readonly formField;
6
+ /** Form field password control. */
7
+ protected get control(): KbqInputPassword;
8
+ /** The icon selector. */
9
+ protected get icon(): string;
10
+ /** Whether to display the password toggle. */
11
+ get visible(): boolean;
12
+ /** Toggles the password visibility. */
13
+ protected toggleType(event: KeyboardEvent | MouseEvent): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqPasswordToggle, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<KbqPasswordToggle, "kbq-password-toggle", ["kbqPasswordToggle"], {}, {}, never, never, true, never>;
16
+ }
@@ -0,0 +1,13 @@
1
+ .kbq-password-toggle___EXPERIMENTAL {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+
6
+ &::-moz-focus-inner {
7
+ border: 0;
8
+ }
9
+
10
+ &:focus {
11
+ outline: none;
12
+ }
13
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ /** KbqPrefix to be placed in front of the form field. */
3
+ export declare class KbqPrefix {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqPrefix, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KbqPrefix, "[kbqPrefix]", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,9 @@
1
+ export * from './cleaner';
2
+ export * from './form-field';
3
+ export * from './form-field.module';
4
+ export * from './hint';
5
+ export * from './label';
6
+ export * from './password-toggle';
7
+ export * from './prefix';
8
+ export * from './stepper';
9
+ export * from './suffix';
@@ -0,0 +1,14 @@
1
+ import { KbqNumberInput } from '@koobiq/components/input';
2
+ import * as i0 from "@angular/core";
3
+ /** Component which allow to increment or decrement number value. */
4
+ export declare class KbqStepper {
5
+ private readonly formField;
6
+ /** Whether the stepper is visible. */
7
+ get visible(): boolean;
8
+ /** Form field number control. */
9
+ protected get control(): KbqNumberInput;
10
+ protected stepUp(event: MouseEvent): void;
11
+ protected stepDown(event: MouseEvent): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqStepper, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<KbqStepper, "kbq-stepper", ["kbqStepper"], {}, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1,21 @@
1
+ .kbq-stepper___EXPERIMENTAL {
2
+ display: flex;
3
+ flex-direction: column;
4
+ justify-content: center;
5
+ align-items: center;
6
+
7
+ .kbq-stepper_step-up,
8
+ .kbq-stepper_step-down {
9
+ cursor: pointer;
10
+ width: var(--kbq-form-field-size-icon-button-size);
11
+ text-align: center;
12
+ }
13
+
14
+ .kbq-stepper_step-up {
15
+ transform: scaleY(-1);
16
+ }
17
+
18
+ .kbq-icon-button.kbq-icon-button_small {
19
+ padding: 0;
20
+ }
21
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ /** KbqSuffix to be placed at the end of the form field. */
3
+ export declare class KbqSuffix {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqSuffix, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSuffix, "[kbqSuffix]", never, {}, {}, never, never, true, never>;
6
+ }
package/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './public-api';
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@koobiq/components-experimental",
3
+ "version": "18.5.1",
4
+ "description": "koobiq",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/koobiq/angular-components.git"
8
+ },
9
+ "keywords": [
10
+ "angular",
11
+ "component",
12
+ "service",
13
+ "directive",
14
+ "development",
15
+ "kit",
16
+ "koobiq",
17
+ "experimental"
18
+ ],
19
+ "license": "MIT",
20
+ "bugs": {
21
+ "url": "https://github.com/koobiq/angular-components/issues"
22
+ },
23
+ "homepage": "https://github.com/koobiq/angular-components#readme",
24
+ "peerDependencies": {
25
+ "@angular/cdk": "^18.0.0",
26
+ "@angular/core": "^18.0.0",
27
+ "@angular/forms": "^18.0.0",
28
+ "@koobiq/cdk": "18.5.1",
29
+ "@koobiq/components": "18.5.1"
30
+ },
31
+ "dependencies": {
32
+ "tslib": "^2.6.2"
33
+ },
34
+ "module": "fesm2022/koobiq-components-experimental.mjs",
35
+ "typings": "index.d.ts",
36
+ "exports": {
37
+ "./package.json": {
38
+ "default": "./package.json"
39
+ },
40
+ ".": {
41
+ "types": "./index.d.ts",
42
+ "esm2022": "./esm2022/koobiq-components-experimental.mjs",
43
+ "esm": "./esm2022/koobiq-components-experimental.mjs",
44
+ "default": "./fesm2022/koobiq-components-experimental.mjs"
45
+ },
46
+ "./form-field": {
47
+ "types": "./form-field/index.d.ts",
48
+ "esm2022": "./esm2022/form-field/koobiq-components-experimental-form-field.mjs",
49
+ "esm": "./esm2022/form-field/koobiq-components-experimental-form-field.mjs",
50
+ "default": "./fesm2022/koobiq-components-experimental-form-field.mjs"
51
+ }
52
+ },
53
+ "sideEffects": false
54
+ }
@@ -0,0 +1 @@
1
+ export {};