@latitude-ui/widgets 0.0.13 → 0.0.15

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 (197) hide show
  1. package/README.md +2 -2
  2. package/button/index.d.ts +19 -0
  3. package/checkbox/{src/checkbox.component.d.ts → index.d.ts} +6 -3
  4. package/core/index.d.ts +39 -0
  5. package/fesm2022/latitude-ui-widgets-button.mjs +51 -0
  6. package/fesm2022/latitude-ui-widgets-button.mjs.map +1 -0
  7. package/fesm2022/latitude-ui-widgets-checkbox.mjs +40 -0
  8. package/fesm2022/latitude-ui-widgets-checkbox.mjs.map +1 -0
  9. package/fesm2022/latitude-ui-widgets-core.mjs +116 -0
  10. package/fesm2022/latitude-ui-widgets-core.mjs.map +1 -0
  11. package/fesm2022/latitude-ui-widgets-icons.mjs +118 -0
  12. package/fesm2022/latitude-ui-widgets-icons.mjs.map +1 -0
  13. package/fesm2022/latitude-ui-widgets-input.mjs +225 -0
  14. package/fesm2022/latitude-ui-widgets-input.mjs.map +1 -0
  15. package/fesm2022/latitude-ui-widgets-listbox.mjs +51 -0
  16. package/fesm2022/latitude-ui-widgets-listbox.mjs.map +1 -0
  17. package/fesm2022/latitude-ui-widgets-select.mjs +316 -0
  18. package/fesm2022/latitude-ui-widgets-select.mjs.map +1 -0
  19. package/fesm2022/latitude-ui-widgets-switch.mjs +37 -0
  20. package/fesm2022/latitude-ui-widgets-switch.mjs.map +1 -0
  21. package/fesm2022/latitude-ui-widgets-textbox-number.mjs +168 -0
  22. package/fesm2022/latitude-ui-widgets-textbox-number.mjs.map +1 -0
  23. package/fesm2022/latitude-ui-widgets-textbox.mjs +62 -0
  24. package/fesm2022/latitude-ui-widgets-textbox.mjs.map +1 -0
  25. package/fesm2022/latitude-ui-widgets-toolbar.mjs +20 -0
  26. package/fesm2022/latitude-ui-widgets-toolbar.mjs.map +1 -0
  27. package/fesm2022/latitude-ui-widgets.mjs +6 -0
  28. package/fesm2022/latitude-ui-widgets.mjs.map +1 -0
  29. package/icons/index.d.ts +19 -0
  30. package/index.d.ts +2 -0
  31. package/input/index.d.ts +116 -0
  32. package/listbox/index.d.ts +23 -0
  33. package/package.json +30 -45
  34. package/select/index.d.ts +74 -0
  35. package/switch/{src/switch.component.d.ts → index.d.ts} +6 -3
  36. package/textbox/index.d.ts +26 -0
  37. package/textbox-number/index.d.ts +44 -0
  38. package/toolbar/{src/toolbar.component.d.ts → index.d.ts} +5 -2
  39. package/button/latitude-ui-widgets-button.d.ts +0 -5
  40. package/button/public-api.d.ts +0 -2
  41. package/button/src/button.component.d.ts +0 -14
  42. package/button/src/button.types.d.ts +0 -2
  43. package/checkbox/latitude-ui-widgets-checkbox.d.ts +0 -5
  44. package/checkbox/public-api.d.ts +0 -1
  45. package/combobox/latitude-ui-widgets-combobox.d.ts +0 -5
  46. package/combobox/public-api.d.ts +0 -2
  47. package/core/latitude-ui-widgets-core.d.ts +0 -5
  48. package/core/public-api.d.ts +0 -6
  49. package/core/src/dimensions.d.ts +0 -13
  50. package/core/src/illegal.d.ts +0 -2
  51. package/core/src/listeners.d.ts +0 -8
  52. package/core/src/noop.d.ts +0 -1
  53. package/core/src/root.d.ts +0 -12
  54. package/core/src/uid.d.ts +0 -1
  55. package/esm2022/button/latitude-ui-widgets-button.js +0 -5
  56. package/esm2022/button/public-api.js +0 -3
  57. package/esm2022/button/src/button.component.js +0 -44
  58. package/esm2022/button/src/button.types.js +0 -1
  59. package/esm2022/checkbox/latitude-ui-widgets-checkbox.js +0 -5
  60. package/esm2022/checkbox/public-api.js +0 -2
  61. package/esm2022/checkbox/src/checkbox.component.js +0 -33
  62. package/esm2022/combobox/latitude-ui-widgets-combobox.js +0 -5
  63. package/esm2022/combobox/public-api.js +0 -2
  64. package/esm2022/core/latitude-ui-widgets-core.js +0 -5
  65. package/esm2022/core/public-api.js +0 -7
  66. package/esm2022/core/src/dimensions.js +0 -56
  67. package/esm2022/core/src/illegal.js +0 -5
  68. package/esm2022/core/src/listeners.js +0 -32
  69. package/esm2022/core/src/noop.js +0 -3
  70. package/esm2022/core/src/root.js +0 -20
  71. package/esm2022/core/src/uid.js +0 -4
  72. package/esm2022/icons/latitude-ui-widgets-icons.js +0 -5
  73. package/esm2022/icons/public-api.js +0 -3
  74. package/esm2022/icons/src/icon.component.js +0 -35
  75. package/esm2022/icons/src/icon.service.js +0 -62
  76. package/esm2022/icons/src/icon.tokens.js +0 -19
  77. package/esm2022/input/latitude-ui-widgets-input.js +0 -5
  78. package/esm2022/input/public-api.js +0 -6
  79. package/esm2022/input/src/input-error/i18n/en.js +0 -9
  80. package/esm2022/input/src/input-error/i18n/ru.js +0 -9
  81. package/esm2022/input/src/input-error/input-error.component.js +0 -22
  82. package/esm2022/input/src/input-error/input-error.i18n.js +0 -65
  83. package/esm2022/input/src/input-label/input-label.component.js +0 -20
  84. package/esm2022/input/src/input.component.js +0 -44
  85. package/esm2022/input/src/input.directive.js +0 -116
  86. package/esm2022/input/src/input.module.js +0 -9
  87. package/esm2022/input/src/input.types.js +0 -1
  88. package/esm2022/latitude-ui-widgets.js +0 -5
  89. package/esm2022/listbox/latitude-ui-widgets-listbox.js +0 -5
  90. package/esm2022/listbox/public-api.js +0 -4
  91. package/esm2022/listbox/src/listbox-option.component.js +0 -49
  92. package/esm2022/listbox/src/listbox.component.js +0 -14
  93. package/esm2022/listbox/src/listbox.module.js +0 -7
  94. package/esm2022/lookup/latitude-ui-widgets-lookup.js +0 -5
  95. package/esm2022/lookup/public-api.js +0 -3
  96. package/esm2022/lookup/src/lookup-outlet.directive.js +0 -13
  97. package/esm2022/lookup/src/lookup.component.js +0 -11
  98. package/esm2022/public-api.js +0 -2
  99. package/esm2022/select/latitude-ui-widgets-select.js +0 -5
  100. package/esm2022/select/public-api.js +0 -7
  101. package/esm2022/select/src/select/select.directive.js +0 -86
  102. package/esm2022/select/src/select-dropdown/select-dropdown.component.js +0 -39
  103. package/esm2022/select/src/select-multiple.component.js +0 -60
  104. package/esm2022/select/src/select-option/select-option.component.js +0 -21
  105. package/esm2022/select/src/select-option/select-option.directive.js +0 -19
  106. package/esm2022/select/src/select-single.component.js +0 -51
  107. package/esm2022/select/src/select-trigger/select-trigger.component.js +0 -29
  108. package/esm2022/select/src/select-value/select-value.component.js +0 -15
  109. package/esm2022/select/src/select-values/select-values.component.js +0 -16
  110. package/esm2022/select/src/select.module.js +0 -9
  111. package/esm2022/switch/latitude-ui-widgets-switch.js +0 -5
  112. package/esm2022/switch/public-api.js +0 -2
  113. package/esm2022/switch/src/switch.component.js +0 -30
  114. package/esm2022/textarea/latitude-ui-widgets-textarea.js +0 -5
  115. package/esm2022/textarea/public-api.js +0 -2
  116. package/esm2022/textarea/src/textarea.component.js +0 -26
  117. package/esm2022/textbox/latitude-ui-widgets-textbox.js +0 -5
  118. package/esm2022/textbox/public-api.js +0 -3
  119. package/esm2022/textbox/src/textbox.component.js +0 -25
  120. package/esm2022/textbox/src/textbox.directive.js +0 -25
  121. package/esm2022/textbox-number/latitude-ui-widgets-textbox-number.js +0 -5
  122. package/esm2022/textbox-number/public-api.js +0 -2
  123. package/esm2022/textbox-number/src/spinners.component.js +0 -22
  124. package/esm2022/textbox-number/src/textbox-number.component.js +0 -136
  125. package/esm2022/textbox-search/latitude-ui-widgets-textbox-search.js +0 -5
  126. package/esm2022/textbox-search/public-api.js +0 -2
  127. package/esm2022/textbox-search/src/textbox-search.component.js +0 -41
  128. package/esm2022/toolbar/latitude-ui-widgets-toolbar.js +0 -5
  129. package/esm2022/toolbar/public-api.js +0 -2
  130. package/esm2022/toolbar/src/toolbar.component.js +0 -14
  131. package/icons/latitude-ui-widgets-icons.d.ts +0 -5
  132. package/icons/public-api.d.ts +0 -2
  133. package/icons/src/icon.component.d.ts +0 -11
  134. package/icons/src/icon.service.d.ts +0 -15
  135. package/icons/src/icon.tokens.d.ts +0 -4
  136. package/input/latitude-ui-widgets-input.d.ts +0 -5
  137. package/input/public-api.d.ts +0 -5
  138. package/input/src/input-error/i18n/en.d.ts +0 -9
  139. package/input/src/input-error/i18n/ru.d.ts +0 -9
  140. package/input/src/input-error/input-error.component.d.ts +0 -9
  141. package/input/src/input-error/input-error.i18n.d.ts +0 -28
  142. package/input/src/input-label/input-label.component.d.ts +0 -11
  143. package/input/src/input.component.d.ts +0 -28
  144. package/input/src/input.directive.d.ts +0 -62
  145. package/input/src/input.module.d.ts +0 -4
  146. package/input/src/input.types.d.ts +0 -1
  147. package/latitude-ui-widgets.d.ts +0 -5
  148. package/listbox/latitude-ui-widgets-listbox.d.ts +0 -5
  149. package/listbox/public-api.d.ts +0 -3
  150. package/listbox/src/listbox-option.component.d.ts +0 -17
  151. package/listbox/src/listbox.component.d.ts +0 -5
  152. package/listbox/src/listbox.module.d.ts +0 -3
  153. package/lookup/README.md +0 -3
  154. package/lookup/latitude-ui-widgets-lookup.d.ts +0 -5
  155. package/lookup/public-api.d.ts +0 -2
  156. package/lookup/src/lookup-outlet.directive.d.ts +0 -5
  157. package/lookup/src/lookup.component.d.ts +0 -5
  158. package/public-api.d.ts +0 -2
  159. package/select/latitude-ui-widgets-select.d.ts +0 -5
  160. package/select/public-api.d.ts +0 -6
  161. package/select/src/select/select.directive.d.ts +0 -24
  162. package/select/src/select-dropdown/select-dropdown.component.d.ts +0 -14
  163. package/select/src/select-multiple.component.d.ts +0 -10
  164. package/select/src/select-option/select-option.component.d.ts +0 -10
  165. package/select/src/select-option/select-option.directive.d.ts +0 -14
  166. package/select/src/select-single.component.d.ts +0 -10
  167. package/select/src/select-trigger/select-trigger.component.d.ts +0 -9
  168. package/select/src/select-value/select-value.component.d.ts +0 -7
  169. package/select/src/select-values/select-values.component.d.ts +0 -7
  170. package/select/src/select.module.d.ts +0 -4
  171. package/styles/_colors.scss +0 -99
  172. package/styles/_defaults.scss +0 -135
  173. package/styles/_index.scss +0 -11
  174. package/styles/_typography.scss +0 -37
  175. package/styles/button/_index.scss +0 -199
  176. package/styles/forms/_index.scss +0 -867
  177. package/styles/icons/_index.scss +0 -34
  178. package/styles/list/_index.scss +0 -0
  179. package/styles/listbox/_index.scss +0 -30
  180. package/switch/latitude-ui-widgets-switch.d.ts +0 -5
  181. package/switch/public-api.d.ts +0 -1
  182. package/textarea/latitude-ui-widgets-textarea.d.ts +0 -5
  183. package/textarea/public-api.d.ts +0 -1
  184. package/textarea/src/textarea.component.d.ts +0 -9
  185. package/textbox/latitude-ui-widgets-textbox.d.ts +0 -5
  186. package/textbox/public-api.d.ts +0 -2
  187. package/textbox/src/textbox.component.d.ts +0 -8
  188. package/textbox/src/textbox.directive.d.ts +0 -12
  189. package/textbox-number/latitude-ui-widgets-textbox-number.d.ts +0 -5
  190. package/textbox-number/public-api.d.ts +0 -1
  191. package/textbox-number/src/spinners.component.d.ts +0 -8
  192. package/textbox-number/src/textbox-number.component.d.ts +0 -36
  193. package/textbox-search/latitude-ui-widgets-textbox-search.d.ts +0 -5
  194. package/textbox-search/public-api.d.ts +0 -1
  195. package/textbox-search/src/textbox-search.component.d.ts +0 -15
  196. package/toolbar/latitude-ui-widgets-toolbar.d.ts +0 -5
  197. package/toolbar/public-api.d.ts +0 -1
@@ -1,34 +0,0 @@
1
- lat-icon {
2
- --lat-icon-url: initial;
3
-
4
- position: relative;
5
- box-sizing: border-box;
6
-
7
- display: flex;
8
-
9
- block-size: 1em;
10
- inline-size: 1em;
11
- vertical-align: middle;
12
-
13
- font-size: inherit;
14
- flex-shrink: 0;
15
-
16
- border: 0 solid transparent;
17
-
18
- &:not([data-polyfill="true"]):after {
19
- position: absolute;
20
-
21
- display: block;
22
-
23
- top: 0;
24
- left: 0;
25
-
26
- block-size: 100%;
27
- inline-size: 100%;
28
-
29
- content: "";
30
-
31
- mask: var(--lat-icon-url) no-repeat center / contain;
32
- background: currentColor
33
- }
34
- }
File without changes
@@ -1,30 +0,0 @@
1
-
2
-
3
- lat-listbox {
4
- position: relative;
5
- box-sizing: border-box;
6
-
7
- overflow: hidden;
8
-
9
- display: flex;
10
- flex-direction: column;
11
-
12
- outline: none;
13
- pointer-events: auto;
14
-
15
- [role="listbox"] {
16
- position: relative;
17
- box-sizing: border-box;
18
-
19
- overflow-y: auto;
20
-
21
- will-change: transform;
22
-
23
- display: flex;
24
- flex-direction: column;
25
-
26
- [role="option"] {
27
-
28
- }
29
- }
30
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@latitude-ui/widgets/switch" />
5
- export * from './public-api';
@@ -1 +0,0 @@
1
- export * from './src/switch.component';
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@latitude-ui/widgets/textarea" />
5
- export * from './public-api';
@@ -1 +0,0 @@
1
- export * from './src/textarea.component';
@@ -1,9 +0,0 @@
1
- import { TextBoxDirective } from '@latitude-ui/widgets/textbox';
2
- import * as i0 from "@angular/core";
3
- export declare class TextAreaComponent extends TextBoxDirective<string> {
4
- readonly rows: import("@angular/core").InputSignalWithTransform<number, unknown>;
5
- readonly maxlength: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
6
- readonly minlength: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "lat-textarea", ["latTextArea"], { "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "minlength": { "alias": "minlength"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
9
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@latitude-ui/widgets/textbox" />
5
- export * from './public-api';
@@ -1,2 +0,0 @@
1
- export * from './src/textbox.component';
2
- export * from './src/textbox.directive';
@@ -1,8 +0,0 @@
1
- import { TextBoxDirective } from './textbox.directive';
2
- import * as i0 from "@angular/core";
3
- export declare class TextBoxComponent extends TextBoxDirective<string> {
4
- readonly maxlength: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
5
- readonly minlength: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxComponent, "lat-textbox:not([type]), lat-textbox[type=\"text\"]", ["latTextBox"], { "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "minlength": { "alias": "minlength"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
8
- }
@@ -1,12 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { BuildInInputValueAccessor } from '@latitude-ui/widgets/input';
3
- import * as i0 from "@angular/core";
4
- export declare class TextBoxDirective<T> extends BuildInInputValueAccessor<T> {
5
- readonly input: import("@angular/core").Signal<ElementRef<any>>;
6
- blur(): void;
7
- focus(): void;
8
- protected handleBlurEvent(): void;
9
- protected handleInputEvent(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxDirective<any>, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<TextBoxDirective<any>, never, never, {}, {}, never, never, true, never>;
12
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@latitude-ui/widgets/textbox-number" />
5
- export * from './public-api';
@@ -1 +0,0 @@
1
- export * from './src/textbox-number.component';
@@ -1,8 +0,0 @@
1
- import { TextBoxNumberComponent } from './textbox-number.component';
2
- import * as i0 from "@angular/core";
3
- export declare class SpinnersComponent {
4
- readonly textbox: TextBoxNumberComponent;
5
- protected handleValueChanged(dir: boolean): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SpinnersComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<SpinnersComponent, "lat-spinners", ["latSpinners"], {}, {}, never, never, true, never>;
8
- }
@@ -1,36 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { TextBoxDirective } from '@latitude-ui/widgets/textbox';
3
- import * as i0 from "@angular/core";
4
- export declare class TextBoxNumberComponent extends TextBoxDirective<number> {
5
- readonly max: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
6
- readonly min: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
7
- readonly step: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
8
- readonly decimals: import("@angular/core").InputSignal<number>;
9
- readonly decimalMode: import("@angular/core").InputSignal<"always" | "not-zero" | "pad">;
10
- readonly decimalSeparator: import("@angular/core").InputSignal<"," | ".">;
11
- readonly thousandSeparator: import("@angular/core").InputSignal<string>;
12
- readonly inputElementRef: import("@angular/core").Signal<ElementRef<any>>;
13
- readonly ariaValueMax: import("@angular/core").Signal<number>;
14
- readonly ariaValueMin: import("@angular/core").Signal<number>;
15
- readonly ariaValueNow: import("@angular/core").Signal<number>;
16
- readonly maxlength: import("@angular/core").Signal<number>;
17
- readonly maskitoNumberParams: import("@angular/core").Signal<{
18
- max: number;
19
- min: number;
20
- minusSign: string;
21
- precision: number;
22
- decimalZeroPadding: boolean;
23
- decimalSeparator: "," | ".";
24
- thousandSeparator: string;
25
- }>;
26
- constructor();
27
- valueStringify(valueAsString: unknown): string;
28
- protected valueSimplify(value: string): string;
29
- protected valueUnsettled(value: string): boolean;
30
- protected parseNumber(value: unknown): number | null;
31
- protected handleFocusEvent(): void;
32
- protected handleBlurEvent(): void;
33
- protected handleInputEvent(): void;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxNumberComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxNumberComponent, "lat-textbox[type=\"number\"]", ["latTextBox"], { "max": { "alias": "max"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "decimals": { "alias": "decimals"; "required": false; "isSignal": true; }; "decimalMode": { "alias": "decimalMode"; "required": false; "isSignal": true; }; "decimalSeparator": { "alias": "decimalSeparator"; "required": false; "isSignal": true; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
36
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@latitude-ui/widgets/textbox-search" />
5
- export * from './public-api';
@@ -1 +0,0 @@
1
- export * from './src/textbox-search.component';
@@ -1,15 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { BuildInInputValueAccessor } from '@latitude-ui/widgets/input';
3
- import * as i0 from "@angular/core";
4
- export declare class TextBoxSearchComponent extends BuildInInputValueAccessor<string> {
5
- readonly maxlength: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
6
- readonly minlength: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
7
- readonly debounceTime: import("@angular/core").InputSignalWithTransform<number, unknown>;
8
- readonly inputElementRef: import("@angular/core").Signal<ElementRef<any>>;
9
- protected timeoutRef: number | undefined;
10
- constructor();
11
- protected handleBlurEvent(): void;
12
- protected handleInputEvent(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxSearchComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxSearchComponent, "lat-textbox[type=\"search\"]", ["latTextBox"], { "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "minlength": { "alias": "minlength"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
15
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@latitude-ui/widgets/toolbar" />
5
- export * from './public-api';
@@ -1 +0,0 @@
1
- export * from './src/toolbar.component';