shirkasoft-ui-components 1.13.18 → 2.0.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.
Files changed (98) hide show
  1. package/README.md +415 -42
  2. package/fesm2022/shirkasoft-ui-components-breadcrumb.mjs +189 -100
  3. package/fesm2022/shirkasoft-ui-components-breadcrumb.mjs.map +1 -1
  4. package/fesm2022/shirkasoft-ui-components-button.mjs +367 -73
  5. package/fesm2022/shirkasoft-ui-components-button.mjs.map +1 -1
  6. package/fesm2022/shirkasoft-ui-components-chart.mjs +206 -142
  7. package/fesm2022/shirkasoft-ui-components-chart.mjs.map +1 -1
  8. package/fesm2022/shirkasoft-ui-components-config.mjs +976 -0
  9. package/fesm2022/shirkasoft-ui-components-config.mjs.map +1 -0
  10. package/fesm2022/shirkasoft-ui-components-confirm-dialog.mjs +307 -142
  11. package/fesm2022/shirkasoft-ui-components-confirm-dialog.mjs.map +1 -1
  12. package/fesm2022/shirkasoft-ui-components-date-picker.mjs +1624 -1400
  13. package/fesm2022/shirkasoft-ui-components-date-picker.mjs.map +1 -1
  14. package/fesm2022/shirkasoft-ui-components-fieldset.mjs +347 -92
  15. package/fesm2022/shirkasoft-ui-components-fieldset.mjs.map +1 -1
  16. package/fesm2022/shirkasoft-ui-components-file-upload.mjs +484 -293
  17. package/fesm2022/shirkasoft-ui-components-file-upload.mjs.map +1 -1
  18. package/fesm2022/shirkasoft-ui-components-icons.mjs +1141 -0
  19. package/fesm2022/shirkasoft-ui-components-icons.mjs.map +1 -0
  20. package/fesm2022/shirkasoft-ui-components-knob.mjs +395 -180
  21. package/fesm2022/shirkasoft-ui-components-knob.mjs.map +1 -1
  22. package/fesm2022/shirkasoft-ui-components-loading.mjs +505 -128
  23. package/fesm2022/shirkasoft-ui-components-loading.mjs.map +1 -1
  24. package/fesm2022/shirkasoft-ui-components-modal.mjs +311 -303
  25. package/fesm2022/shirkasoft-ui-components-modal.mjs.map +1 -1
  26. package/fesm2022/shirkasoft-ui-components-notification.mjs +188 -142
  27. package/fesm2022/shirkasoft-ui-components-notification.mjs.map +1 -1
  28. package/fesm2022/shirkasoft-ui-components-price-input.mjs +517 -277
  29. package/fesm2022/shirkasoft-ui-components-price-input.mjs.map +1 -1
  30. package/fesm2022/shirkasoft-ui-components-rail-sidebar.mjs +669 -289
  31. package/fesm2022/shirkasoft-ui-components-rail-sidebar.mjs.map +1 -1
  32. package/fesm2022/shirkasoft-ui-components-select.mjs +1014 -814
  33. package/fesm2022/shirkasoft-ui-components-select.mjs.map +1 -1
  34. package/fesm2022/shirkasoft-ui-components-sidebar.mjs +508 -184
  35. package/fesm2022/shirkasoft-ui-components-sidebar.mjs.map +1 -1
  36. package/fesm2022/shirkasoft-ui-components-skeleton.mjs +197 -57
  37. package/fesm2022/shirkasoft-ui-components-skeleton.mjs.map +1 -1
  38. package/fesm2022/shirkasoft-ui-components-table.mjs +1918 -1676
  39. package/fesm2022/shirkasoft-ui-components-table.mjs.map +1 -1
  40. package/fesm2022/shirkasoft-ui-components-tabs.mjs +419 -177
  41. package/fesm2022/shirkasoft-ui-components-tabs.mjs.map +1 -1
  42. package/fesm2022/shirkasoft-ui-components-tag.mjs +177 -51
  43. package/fesm2022/shirkasoft-ui-components-tag.mjs.map +1 -1
  44. package/fesm2022/shirkasoft-ui-components-text-field.mjs +687 -369
  45. package/fesm2022/shirkasoft-ui-components-text-field.mjs.map +1 -1
  46. package/fesm2022/shirkasoft-ui-components-theme-picker.mjs +466 -0
  47. package/fesm2022/shirkasoft-ui-components-theme-picker.mjs.map +1 -0
  48. package/fesm2022/shirkasoft-ui-components-theme.mjs +147 -0
  49. package/fesm2022/shirkasoft-ui-components-theme.mjs.map +1 -0
  50. package/fesm2022/shirkasoft-ui-components-timeline.mjs +791 -215
  51. package/fesm2022/shirkasoft-ui-components-timeline.mjs.map +1 -1
  52. package/fesm2022/shirkasoft-ui-components-toggle.mjs +205 -128
  53. package/fesm2022/shirkasoft-ui-components-toggle.mjs.map +1 -1
  54. package/fesm2022/shirkasoft-ui-components-tooltip.mjs +244 -180
  55. package/fesm2022/shirkasoft-ui-components-tooltip.mjs.map +1 -1
  56. package/fesm2022/shirkasoft-ui-components-utils.mjs +97 -125
  57. package/fesm2022/shirkasoft-ui-components-utils.mjs.map +1 -1
  58. package/fesm2022/shirkasoft-ui-components-wizard.mjs +673 -166
  59. package/fesm2022/shirkasoft-ui-components-wizard.mjs.map +1 -1
  60. package/fesm2022/shirkasoft-ui-components.mjs +0 -9
  61. package/package.json +37 -7
  62. package/src/baseline.css +2472 -0
  63. package/src/theme.css +15 -543
  64. package/src/themes/ocean.css +56 -0
  65. package/src/themes/sunset.css +55 -0
  66. package/src/themes/violet.css +25 -0
  67. package/src/tokens.css +612 -0
  68. package/types/shirkasoft-ui-components-breadcrumb.d.ts +59 -44
  69. package/types/shirkasoft-ui-components-button.d.ts +142 -49
  70. package/types/shirkasoft-ui-components-chart.d.ts +59 -44
  71. package/types/shirkasoft-ui-components-config.d.ts +357 -0
  72. package/types/shirkasoft-ui-components-confirm-dialog.d.ts +107 -65
  73. package/types/shirkasoft-ui-components-date-picker.d.ts +527 -373
  74. package/types/shirkasoft-ui-components-fieldset.d.ts +135 -59
  75. package/types/shirkasoft-ui-components-file-upload.d.ts +176 -106
  76. package/types/shirkasoft-ui-components-icons.d.ts +1430 -0
  77. package/types/shirkasoft-ui-components-knob.d.ts +151 -64
  78. package/types/shirkasoft-ui-components-loading.d.ts +155 -64
  79. package/types/shirkasoft-ui-components-modal.d.ts +134 -132
  80. package/types/shirkasoft-ui-components-notification.d.ts +63 -58
  81. package/types/shirkasoft-ui-components-price-input.d.ts +198 -85
  82. package/types/shirkasoft-ui-components-rail-sidebar.d.ts +262 -142
  83. package/types/shirkasoft-ui-components-select.d.ts +301 -192
  84. package/types/shirkasoft-ui-components-sidebar.d.ts +198 -92
  85. package/types/shirkasoft-ui-components-skeleton.d.ts +68 -27
  86. package/types/shirkasoft-ui-components-table.d.ts +849 -649
  87. package/types/shirkasoft-ui-components-tabs.d.ts +102 -61
  88. package/types/shirkasoft-ui-components-tag.d.ts +54 -23
  89. package/types/shirkasoft-ui-components-text-field.d.ts +231 -111
  90. package/types/shirkasoft-ui-components-theme-picker.d.ts +117 -0
  91. package/types/shirkasoft-ui-components-theme.d.ts +80 -0
  92. package/types/shirkasoft-ui-components-timeline.d.ts +326 -150
  93. package/types/shirkasoft-ui-components-toggle.d.ts +76 -45
  94. package/types/shirkasoft-ui-components-tooltip.d.ts +64 -43
  95. package/types/shirkasoft-ui-components-utils.d.ts +26 -17
  96. package/types/shirkasoft-ui-components-wizard.d.ts +236 -86
  97. package/types/shirkasoft-ui-components.d.ts +1 -2
  98. package/fesm2022/shirkasoft-ui-components.mjs.map +0 -1
@@ -1,102 +1,143 @@
1
- import * as i0 from '@angular/core';
2
-
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import * as i0 from "@angular/core";
3
5
  /**
4
6
  * Shirkasoft UI Components.
5
7
  * Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
6
8
  * Belongs to Shirkasoft.
7
9
  */
8
10
  /** Shared state between shk-abs and its tab/tabpanel children. */
9
- declare class TabsService {
10
- /** Currently active tab value. */
11
- readonly active: i0.WritableSignal<any>;
12
- /** Sets the active tab to the given value. */
13
- select(value: any): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TabsService, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<TabsService>;
11
+ export declare class TabsService {
12
+ /** Currently active tab value. */
13
+ readonly active: import("@angular/core").WritableSignal<any>;
14
+ /** Sets the active tab to the given value. */
15
+ select(value: any): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabsService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
16
18
  }
17
-
18
19
  /**
19
20
  * Shirkasoft UI Components.
20
21
  * Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
21
22
  * Belongs to Shirkasoft.
22
23
  */
23
24
  /** Container for tab panels. Renders its projected shk-tablist/shh-tab content. */
24
- declare class TabsComponent {
25
- /** Currently active tab value. Two-way bindable with [(value)]. */
26
- value: i0.ModelSignal<any>;
27
- /** Allows the tab header to scroll horizontally when it overflows. */
28
- scrollable: i0.InputSignal<boolean>;
29
- /** Shared service used to sync the active tab with the children. */
30
- protected tabsSvc: TabsService;
31
- constructor();
32
- static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "shk-tabs", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["*"], true, never>;
25
+ export declare class TabsComponent {
26
+ /** Currently active tab value. Two-way bindable with [(value)]. */
27
+ value: import("@angular/core").ModelSignal<any>;
28
+ /** Allows the tab header to scroll horizontally when it overflows. */
29
+ scrollable: import("@angular/core").InputSignal<boolean>;
30
+ /** Shared service used to sync the active tab with the children. */
31
+ protected tabsSvc: TabsService;
32
+ constructor();
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "shk-tabs", never, {
35
+ "value": {
36
+ "alias": "value";
37
+ "required": false;
38
+ "isSignal": true;
39
+ };
40
+ "scrollable": {
41
+ "alias": "scrollable";
42
+ "required": false;
43
+ "isSignal": true;
44
+ };
45
+ }, {
46
+ "value": "valueChange";
47
+ }, never, ["*"], true, never>;
34
48
  }
35
-
36
49
  /**
37
50
  * Shirkasoft UI Components.
38
51
  * Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
39
52
  * Belongs to Shirkasoft.
40
53
  */
41
54
  /** Horizontal bar that contains the shk-tab headers. */
42
- declare class TablistComponent {
43
- /** Allows the header to scroll horizontally when it overflows. */
44
- scrollable: i0.InputSignal<boolean>;
45
- /** Extra CSS classes. */
46
- styleClass: i0.InputSignal<string>;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<TablistComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<TablistComponent, "shk-tablist", never, { "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
55
+ export declare class TablistComponent {
56
+ /** Allows the header to scroll horizontally when it overflows. */
57
+ scrollable: import("@angular/core").InputSignal<boolean>;
58
+ /** Extra CSS classes. */
59
+ styleClass: import("@angular/core").InputSignal<string>;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<TablistComponent, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<TablistComponent, "shk-tablist", never, {
62
+ "scrollable": {
63
+ "alias": "scrollable";
64
+ "required": false;
65
+ "isSignal": true;
66
+ };
67
+ "styleClass": {
68
+ "alias": "styleClass";
69
+ "required": false;
70
+ "isSignal": true;
71
+ };
72
+ }, {}, never, ["*"], true, never>;
49
73
  }
50
-
51
74
  /**
52
75
  * Shirkasoft UI Components.
53
76
  * Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
54
77
  * Belongs to Shirkasoft.
55
78
  */
56
79
  /** A single tab header. Clicking it activates the matching panel. */
57
- declare class TabComponent {
58
- /** Value that links this tab to its panel. */
59
- value: i0.InputSignal<any>;
60
- /** Disables the tab. */
61
- disabled: i0.InputSignal<boolean>;
62
- /** Extra CSS classes. */
63
- styleClass: i0.InputSignal<string>;
64
- /** Shared service used to read the active tab value. */
65
- protected tabsSvc: TabsService;
66
- /** Whether this tab is the active one. */
67
- protected active: i0.Signal<boolean>;
68
- /** Activates this tab through the shared service. */
69
- select(): void;
70
- static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
71
- static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "shk-tab", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
80
+ export declare class TabComponent {
81
+ /** Value that links this tab to its panel. */
82
+ value: import("@angular/core").InputSignal<any>;
83
+ /** Disables the tab. */
84
+ disabled: import("@angular/core").InputSignal<boolean>;
85
+ /** Extra CSS classes. */
86
+ styleClass: import("@angular/core").InputSignal<string>;
87
+ /** Shared service used to read the active tab value. */
88
+ protected tabsSvc: TabsService;
89
+ /** Whether this tab is the active one. */
90
+ protected active: import("@angular/core").Signal<boolean>;
91
+ /** Activates this tab through the shared service. */
92
+ select(): void;
93
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
94
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "shk-tab", never, {
95
+ "value": {
96
+ "alias": "value";
97
+ "required": false;
98
+ "isSignal": true;
99
+ };
100
+ "disabled": {
101
+ "alias": "disabled";
102
+ "required": false;
103
+ "isSignal": true;
104
+ };
105
+ "styleClass": {
106
+ "alias": "styleClass";
107
+ "required": false;
108
+ "isSignal": true;
109
+ };
110
+ }, {}, never, ["*"], true, never>;
72
111
  }
73
-
74
112
  /**
75
113
  * Shirkasoft UI Components.
76
114
  * Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
77
115
  * Belongs to Shirkasoft.
78
116
  */
79
117
  /** Container that groups the shk-tabpanel content sections. */
80
- declare class TabpanelsComponent {
81
- static ɵfac: i0.ɵɵFactoryDeclaration<TabpanelsComponent, never>;
82
- static ɵcmp: i0.ɵɵComponentDeclaration<TabpanelsComponent, "shk-tabpanels", never, {}, {}, never, ["*"], true, never>;
118
+ export declare class TabpanelsComponent {
119
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabpanelsComponent, never>;
120
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabpanelsComponent, "shk-tabpanels", never, {}, {}, never, ["*"], true, never>;
83
121
  }
84
-
85
122
  /**
86
123
  * Shirkasoft UI Components.
87
124
  * Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
88
125
  * Belongs to Shirkasoft.
89
126
  */
90
127
  /** Content section shown only while its value is the active tab. */
91
- declare class TabPanelComponent {
92
- /** Value that links this panel to its tab. */
93
- value: i0.InputSignal<any>;
94
- /** Shared service used to read the active tab value. */
95
- protected tabsSvc: TabsService;
96
- /** Whether this panel is the active one. */
97
- protected active: i0.Signal<boolean>;
98
- static ɵfac: i0.ɵɵFactoryDeclaration<TabPanelComponent, never>;
99
- static ɵcmp: i0.ɵɵComponentDeclaration<TabPanelComponent, "shk-tabpanel", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
100
- }
101
-
102
- export { TabComponent, TabPanelComponent, TablistComponent, TabpanelsComponent, TabsComponent, TabsService };
128
+ export declare class TabPanelComponent {
129
+ /** Value that links this panel to its tab. */
130
+ value: import("@angular/core").InputSignal<any>;
131
+ /** Shared service used to read the active tab value. */
132
+ protected tabsSvc: TabsService;
133
+ /** Whether this panel is the active one. */
134
+ protected active: import("@angular/core").Signal<boolean>;
135
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabPanelComponent, never>;
136
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabPanelComponent, "shk-tabpanel", never, {
137
+ "value": {
138
+ "alias": "value";
139
+ "required": false;
140
+ "isSignal": true;
141
+ };
142
+ }, {}, never, ["*"], true, never>;
143
+ }
@@ -1,6 +1,8 @@
1
- import * as _angular_core from '@angular/core';
2
- import { getIcon } from 'shirkasoft-ui-components/utils';
3
-
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import { getIcon } from "shirkasoft-ui-components/utils";
5
+ import * as i0 from "@angular/core";
4
6
  /**
5
7
  * Shirkasoft UI Components.
6
8
  * Authors: Roberto Valladares Martin (Ansem13), Julio César García García (Sanjuli14).
@@ -8,24 +10,53 @@ import { getIcon } from 'shirkasoft-ui-components/utils';
8
10
  */
9
11
  type TagSeverity = 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'contrast';
10
12
  /** Small label used to highlight a value, status or category. */
11
- declare class TagComponent {
12
- /** Text shown inside the tag. */
13
- value: _angular_core.InputSignal<string | number>;
14
- /** Color variant. Defaults to 'secondary'. */
15
- severity: _angular_core.InputSignal<TagSeverity>;
16
- /** Renders the tag with fully rounded corners (pill). */
17
- rounded: _angular_core.InputSignal<boolean>;
18
- /** Optional leading lucide icon name or component. */
19
- icon: _angular_core.InputSignal<any>;
20
- /** Inline styles applied to the tag. */
21
- style: _angular_core.InputSignal<Record<string, string | number>>;
22
- /** Extra CSS classes. */
23
- styleClass: _angular_core.InputSignal<string>;
24
- protected getIcon: typeof getIcon;
25
- protected tagClass: _angular_core.Signal<string>;
26
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<TagComponent, never>;
27
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "shk-tag", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
13
+ export declare class TagComponent {
14
+ /** Text shown inside the tag. */
15
+ value: import("@angular/core").InputSignal<string | number>;
16
+ /** Color variant. Defaults to 'secondary'. */
17
+ severity: import("@angular/core").InputSignal<TagSeverity>;
18
+ /** Renders the tag with fully rounded corners (pill). */
19
+ rounded: import("@angular/core").InputSignal<boolean>;
20
+ /** Optional leading icon: registered name (e.g. `'check'`) or `IconNode` data. */
21
+ icon: import("@angular/core").InputSignal<any>;
22
+ /** Inline styles applied to the tag. */
23
+ style: import("@angular/core").InputSignal<Record<string, string | number>>;
24
+ /** Extra CSS classes. */
25
+ styleClass: import("@angular/core").InputSignal<string>;
26
+ protected getIcon: typeof getIcon;
27
+ protected tagClass: import("@angular/core").Signal<string>;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "shk-tag", never, {
30
+ "value": {
31
+ "alias": "value";
32
+ "required": false;
33
+ "isSignal": true;
34
+ };
35
+ "severity": {
36
+ "alias": "severity";
37
+ "required": false;
38
+ "isSignal": true;
39
+ };
40
+ "rounded": {
41
+ "alias": "rounded";
42
+ "required": false;
43
+ "isSignal": true;
44
+ };
45
+ "icon": {
46
+ "alias": "icon";
47
+ "required": false;
48
+ "isSignal": true;
49
+ };
50
+ "style": {
51
+ "alias": "style";
52
+ "required": false;
53
+ "isSignal": true;
54
+ };
55
+ "styleClass": {
56
+ "alias": "styleClass";
57
+ "required": false;
58
+ "isSignal": true;
59
+ };
60
+ }, {}, never, ["*"], true, never>;
28
61
  }
29
-
30
- export { TagComponent };
31
- export type { TagSeverity };
62
+ export type { TagSeverity };