@almadar/patterns 2.8.1 → 2.8.4

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/LICENSE CHANGED
@@ -1,21 +1,72 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Almadar Team
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ Business Source License 1.1
2
+
3
+ Parameters
4
+
5
+ Licensor: Almadar FZE
6
+ Licensed Work: KFlow Builder / Almadar
7
+ The Licensed Work is (c) 2025-2026 Almadar FZE.
8
+ Additional Use Grant: You may make production use of the Licensed Work for
9
+ non-commercial purposes and for internal evaluation.
10
+ Production use for commercial purposes requires a
11
+ commercial license from the Licensor.
12
+ Change Date: 2030-02-01
13
+ Change License: Apache License, Version 2.0
14
+
15
+ Terms
16
+
17
+ The Licensor hereby grants you the right to copy, modify, create derivative
18
+ works, redistribute, and make non-production use of the Licensed Work. The
19
+ Licensor may make an Additional Use Grant, above, permitting limited
20
+ production use.
21
+
22
+ Effective on the Change Date, or the fourth anniversary of the first publicly
23
+ available distribution of a specific version of the Licensed Work under this
24
+ License, whichever comes first, the Licensor hereby grants you rights under
25
+ the terms of the Change License, and the rights granted in the paragraph
26
+ above terminate.
27
+
28
+ If your use of the Licensed Work does not comply with the requirements
29
+ currently in effect as described in this License, you must purchase a
30
+ commercial license from the Licensor, its affiliated entities, or authorized
31
+ resellers, or you must refrain from using the Licensed Work.
32
+
33
+ All copies of the original and modified Licensed Work, and derivative works
34
+ of the Licensed Work, are subject to this License. This License applies
35
+ separately for each version of the Licensed Work and the Change Date may vary
36
+ for each version of the Licensed Work released by Licensor.
37
+
38
+ You must conspicuously display this License on each original or modified copy
39
+ of the Licensed Work. If you receive the Licensed Work in original or
40
+ modified form from a third party, the terms and conditions set forth in this
41
+ License apply to your use of that work.
42
+
43
+ Any use of the Licensed Work in violation of this License will automatically
44
+ terminate your rights under this License for the current and all other
45
+ versions of the Licensed Work.
46
+
47
+ This License does not grant you any right in any trademark or logo of
48
+ Licensor or its affiliates (provided that you may use a trademark or logo of
49
+ Licensor as expressly required by this License).
50
+
51
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
52
+ AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
53
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
54
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
55
+ TITLE.
56
+
57
+ ---
58
+
59
+ License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
60
+ "Business Source License" is a trademark of MariaDB Corporation Ab.
61
+
62
+ ADDITIONAL TERMS:
63
+
64
+ Documentation (builder/packages/website/docs/) is licensed under CC BY 4.0.
65
+
66
+ TRADEMARKS:
67
+
68
+ "Orbital", "KFlow", "Almadar", and the Almadar logo are trademarks of
69
+ Almadar FZE. You may not use these trademarks without prior written
70
+ permission from Almadar FZE.
71
+
72
+ For licensing inquiries: licensing@almadar.io
package/README.md CHANGED
@@ -22,4 +22,4 @@ import { /* ... */ } from '@almadar/patterns';
22
22
 
23
23
  ## License
24
24
 
25
- MIT
25
+ BSL 1.1 (Business Source License). Converts to Apache 2.0 on 2030-02-01. Non-production use is free.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-03-16T01:48:20.029Z",
3
+ "exportedAt": "2026-03-19T07:41:51.607Z",
4
4
  "mappings": {
5
5
  "page-header": {
6
6
  "component": "PageHeader",
@@ -577,7 +577,7 @@
577
577
  },
578
578
  "chart": {
579
579
  "component": "Chart",
580
- "importPath": "@almadar/ui",
580
+ "importPath": "@almadar/ui/components",
581
581
  "category": "visualization"
582
582
  },
583
583
  "meter": {
@@ -587,32 +587,32 @@
587
587
  },
588
588
  "timeline": {
589
589
  "component": "Timeline",
590
- "importPath": "@almadar/ui",
590
+ "importPath": "@almadar/ui/components",
591
591
  "category": "display"
592
592
  },
593
593
  "media-gallery": {
594
594
  "component": "MediaGallery",
595
- "importPath": "@almadar/ui",
595
+ "importPath": "@almadar/ui/components",
596
596
  "category": "media"
597
597
  },
598
598
  "signature-pad": {
599
599
  "component": "SignaturePad",
600
- "importPath": "@almadar/ui",
600
+ "importPath": "@almadar/ui/components",
601
601
  "category": "form"
602
602
  },
603
603
  "document-viewer": {
604
604
  "component": "DocumentViewer",
605
- "importPath": "@almadar/ui",
605
+ "importPath": "@almadar/ui/components",
606
606
  "category": "display"
607
607
  },
608
608
  "graph-canvas": {
609
609
  "component": "GraphCanvas",
610
- "importPath": "@almadar/ui",
610
+ "importPath": "@almadar/ui/components",
611
611
  "category": "visualization"
612
612
  },
613
613
  "code-viewer": {
614
614
  "component": "CodeViewer",
615
- "importPath": "@almadar/ui",
615
+ "importPath": "@almadar/ui/components",
616
616
  "category": "display"
617
617
  },
618
618
  "canvas-effect": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-03-16T01:48:20.029Z",
3
+ "exportedAt": "2026-03-19T07:41:51.607Z",
4
4
  "contracts": {
5
5
  "form": {
6
6
  "emits": [
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  var version$3 = "1.0.0";
2
- var exportedAt$3 = "2026-03-16T01:48:20.029Z";
2
+ var exportedAt$3 = "2026-03-19T07:41:51.607Z";
3
3
  var patterns = {
4
4
  "entity-table": {
5
5
  type: "entity-table",
@@ -3915,6 +3915,31 @@ var patterns = {
3915
3915
  ],
3916
3916
  typicalSize: "tiny",
3917
3917
  propsSchema: {
3918
+ placeholder: {
3919
+ types: [
3920
+ "string"
3921
+ ],
3922
+ description: "Placeholder text"
3923
+ },
3924
+ value: {
3925
+ types: [
3926
+ "string",
3927
+ "number"
3928
+ ],
3929
+ description: "Current value"
3930
+ },
3931
+ disabled: {
3932
+ types: [
3933
+ "boolean"
3934
+ ],
3935
+ description: "Whether input is disabled"
3936
+ },
3937
+ action: {
3938
+ types: [
3939
+ "string"
3940
+ ],
3941
+ description: "Declarative event name for trait dispatch"
3942
+ },
3918
3943
  inputType: {
3919
3944
  types: [
3920
3945
  "string"
@@ -3988,11 +4013,29 @@ var patterns = {
3988
4013
  ],
3989
4014
  typicalSize: "small",
3990
4015
  propsSchema: {
4016
+ placeholder: {
4017
+ types: [
4018
+ "string"
4019
+ ],
4020
+ description: "Placeholder text"
4021
+ },
4022
+ rows: {
4023
+ types: [
4024
+ "number"
4025
+ ],
4026
+ description: "Number of visible rows"
4027
+ },
4028
+ action: {
4029
+ types: [
4030
+ "string"
4031
+ ],
4032
+ description: "Declarative event name for trait dispatch"
4033
+ },
3991
4034
  error: {
3992
4035
  types: [
3993
4036
  "string"
3994
4037
  ],
3995
- description: "error prop"
4038
+ description: "Error message"
3996
4039
  }
3997
4040
  }
3998
4041
  },
@@ -4011,20 +4054,32 @@ var patterns = {
4011
4054
  types: [
4012
4055
  "array"
4013
4056
  ],
4014
- description: "options prop",
4057
+ description: "Select options",
4015
4058
  required: true
4016
4059
  },
4017
4060
  placeholder: {
4018
4061
  types: [
4019
4062
  "string"
4020
4063
  ],
4021
- description: "placeholder prop"
4064
+ description: "Placeholder text"
4065
+ },
4066
+ value: {
4067
+ types: [
4068
+ "string"
4069
+ ],
4070
+ description: "Current value"
4071
+ },
4072
+ action: {
4073
+ types: [
4074
+ "string"
4075
+ ],
4076
+ description: "Declarative event name for trait dispatch"
4022
4077
  },
4023
4078
  error: {
4024
4079
  types: [
4025
4080
  "string"
4026
4081
  ],
4027
- description: "error prop"
4082
+ description: "Error message"
4028
4083
  }
4029
4084
  }
4030
4085
  },
@@ -4039,6 +4094,18 @@ var patterns = {
4039
4094
  ],
4040
4095
  typicalSize: "tiny",
4041
4096
  propsSchema: {
4097
+ checked: {
4098
+ types: [
4099
+ "boolean"
4100
+ ],
4101
+ description: "Whether the checkbox is checked"
4102
+ },
4103
+ defaultChecked: {
4104
+ types: [
4105
+ "boolean"
4106
+ ],
4107
+ description: "Default checked state (uncontrolled)"
4108
+ },
4042
4109
  label: {
4043
4110
  types: [
4044
4111
  "string"
@@ -4057,6 +4124,24 @@ var patterns = {
4057
4124
  ],
4058
4125
  typicalSize: "tiny",
4059
4126
  propsSchema: {
4127
+ options: {
4128
+ types: [
4129
+ "array"
4130
+ ],
4131
+ description: "Radio options (string array or SelectOption array)"
4132
+ },
4133
+ value: {
4134
+ types: [
4135
+ "string"
4136
+ ],
4137
+ description: "Current selected value"
4138
+ },
4139
+ action: {
4140
+ types: [
4141
+ "string"
4142
+ ],
4143
+ description: "Declarative event name for trait dispatch"
4144
+ },
4060
4145
  label: {
4061
4146
  types: [
4062
4147
  "string"
@@ -4154,11 +4239,23 @@ var patterns = {
4154
4239
  ],
4155
4240
  typicalSize: "tiny",
4156
4241
  propsSchema: {
4242
+ text: {
4243
+ types: [
4244
+ "string"
4245
+ ],
4246
+ description: "Label text content"
4247
+ },
4248
+ htmlFor: {
4249
+ types: [
4250
+ "string"
4251
+ ],
4252
+ description: "Associated input element ID"
4253
+ },
4157
4254
  required: {
4158
4255
  types: [
4159
4256
  "boolean"
4160
4257
  ],
4161
- description: "required prop"
4258
+ description: "Show required indicator"
4162
4259
  }
4163
4260
  }
4164
4261
  },
@@ -15211,8 +15308,13 @@ var patterns = {
15211
15308
  types: [
15212
15309
  "function"
15213
15310
  ],
15214
- description: "Render function for each slide",
15215
- required: true
15311
+ description: "Render function for each slide"
15312
+ },
15313
+ children: {
15314
+ types: [
15315
+ "function"
15316
+ ],
15317
+ description: "Children-as-function fallback for renderItem (compiler compatibility)"
15216
15318
  },
15217
15319
  autoPlay: {
15218
15320
  types: [
@@ -17640,7 +17742,7 @@ var integratorsRegistry = {
17640
17742
  };
17641
17743
 
17642
17744
  var version$1 = "1.0.0";
17643
- var exportedAt$1 = "2026-03-16T01:48:20.029Z";
17745
+ var exportedAt$1 = "2026-03-19T07:41:51.607Z";
17644
17746
  var mappings = {
17645
17747
  "page-header": {
17646
17748
  component: "PageHeader",
@@ -18217,7 +18319,7 @@ var mappings = {
18217
18319
  },
18218
18320
  chart: {
18219
18321
  component: "Chart",
18220
- importPath: "@almadar/ui",
18322
+ importPath: "@almadar/ui/components",
18221
18323
  category: "visualization"
18222
18324
  },
18223
18325
  meter: {
@@ -18227,32 +18329,32 @@ var mappings = {
18227
18329
  },
18228
18330
  timeline: {
18229
18331
  component: "Timeline",
18230
- importPath: "@almadar/ui",
18332
+ importPath: "@almadar/ui/components",
18231
18333
  category: "display"
18232
18334
  },
18233
18335
  "media-gallery": {
18234
18336
  component: "MediaGallery",
18235
- importPath: "@almadar/ui",
18337
+ importPath: "@almadar/ui/components",
18236
18338
  category: "media"
18237
18339
  },
18238
18340
  "signature-pad": {
18239
18341
  component: "SignaturePad",
18240
- importPath: "@almadar/ui",
18342
+ importPath: "@almadar/ui/components",
18241
18343
  category: "form"
18242
18344
  },
18243
18345
  "document-viewer": {
18244
18346
  component: "DocumentViewer",
18245
- importPath: "@almadar/ui",
18347
+ importPath: "@almadar/ui/components",
18246
18348
  category: "display"
18247
18349
  },
18248
18350
  "graph-canvas": {
18249
18351
  component: "GraphCanvas",
18250
- importPath: "@almadar/ui",
18352
+ importPath: "@almadar/ui/components",
18251
18353
  category: "visualization"
18252
18354
  },
18253
18355
  "code-viewer": {
18254
18356
  component: "CodeViewer",
18255
- importPath: "@almadar/ui",
18357
+ importPath: "@almadar/ui/components",
18256
18358
  category: "display"
18257
18359
  },
18258
18360
  "canvas-effect": {
@@ -18868,7 +18970,7 @@ var componentMapping = {
18868
18970
  };
18869
18971
 
18870
18972
  var version = "1.0.0";
18871
- var exportedAt = "2026-03-16T01:48:20.029Z";
18973
+ var exportedAt = "2026-03-19T07:41:51.607Z";
18872
18974
  var contracts = {
18873
18975
  form: {
18874
18976
  emits: [
@@ -25752,6 +25854,22 @@ declare const registry: {
25752
25854
  suggestedFor: string[];
25753
25855
  typicalSize: string;
25754
25856
  propsSchema: {
25857
+ placeholder: {
25858
+ types: string[];
25859
+ description: string;
25860
+ };
25861
+ value: {
25862
+ types: string[];
25863
+ description: string;
25864
+ };
25865
+ disabled: {
25866
+ types: string[];
25867
+ description: string;
25868
+ };
25869
+ action: {
25870
+ types: string[];
25871
+ description: string;
25872
+ };
25755
25873
  inputType: {
25756
25874
  types: string[];
25757
25875
  description: string;
@@ -25801,6 +25919,18 @@ declare const registry: {
25801
25919
  suggestedFor: string[];
25802
25920
  typicalSize: string;
25803
25921
  propsSchema: {
25922
+ placeholder: {
25923
+ types: string[];
25924
+ description: string;
25925
+ };
25926
+ rows: {
25927
+ types: string[];
25928
+ description: string;
25929
+ };
25930
+ action: {
25931
+ types: string[];
25932
+ description: string;
25933
+ };
25804
25934
  error: {
25805
25935
  types: string[];
25806
25936
  description: string;
@@ -25823,6 +25953,14 @@ declare const registry: {
25823
25953
  types: string[];
25824
25954
  description: string;
25825
25955
  };
25956
+ value: {
25957
+ types: string[];
25958
+ description: string;
25959
+ };
25960
+ action: {
25961
+ types: string[];
25962
+ description: string;
25963
+ };
25826
25964
  error: {
25827
25965
  types: string[];
25828
25966
  description: string;
@@ -25836,6 +25974,14 @@ declare const registry: {
25836
25974
  suggestedFor: string[];
25837
25975
  typicalSize: string;
25838
25976
  propsSchema: {
25977
+ checked: {
25978
+ types: string[];
25979
+ description: string;
25980
+ };
25981
+ defaultChecked: {
25982
+ types: string[];
25983
+ description: string;
25984
+ };
25839
25985
  label: {
25840
25986
  types: string[];
25841
25987
  description: string;
@@ -25849,6 +25995,18 @@ declare const registry: {
25849
25995
  suggestedFor: string[];
25850
25996
  typicalSize: string;
25851
25997
  propsSchema: {
25998
+ options: {
25999
+ types: string[];
26000
+ description: string;
26001
+ };
26002
+ value: {
26003
+ types: string[];
26004
+ description: string;
26005
+ };
26006
+ action: {
26007
+ types: string[];
26008
+ description: string;
26009
+ };
25852
26010
  label: {
25853
26011
  types: string[];
25854
26012
  description: string;
@@ -25915,6 +26073,14 @@ declare const registry: {
25915
26073
  suggestedFor: string[];
25916
26074
  typicalSize: string;
25917
26075
  propsSchema: {
26076
+ text: {
26077
+ types: string[];
26078
+ description: string;
26079
+ };
26080
+ htmlFor: {
26081
+ types: string[];
26082
+ description: string;
26083
+ };
25918
26084
  required: {
25919
26085
  types: string[];
25920
26086
  description: string;
@@ -33375,7 +33541,10 @@ declare const registry: {
33375
33541
  renderItem: {
33376
33542
  types: string[];
33377
33543
  description: string;
33378
- required: boolean;
33544
+ };
33545
+ children: {
33546
+ types: string[];
33547
+ description: string;
33379
33548
  };
33380
33549
  autoPlay: {
33381
33550
  types: string[];
@@ -37142,6 +37311,22 @@ declare const PATTERN_REGISTRY: {
37142
37311
  suggestedFor: string[];
37143
37312
  typicalSize: string;
37144
37313
  propsSchema: {
37314
+ placeholder: {
37315
+ types: string[];
37316
+ description: string;
37317
+ };
37318
+ value: {
37319
+ types: string[];
37320
+ description: string;
37321
+ };
37322
+ disabled: {
37323
+ types: string[];
37324
+ description: string;
37325
+ };
37326
+ action: {
37327
+ types: string[];
37328
+ description: string;
37329
+ };
37145
37330
  inputType: {
37146
37331
  types: string[];
37147
37332
  description: string;
@@ -37191,6 +37376,18 @@ declare const PATTERN_REGISTRY: {
37191
37376
  suggestedFor: string[];
37192
37377
  typicalSize: string;
37193
37378
  propsSchema: {
37379
+ placeholder: {
37380
+ types: string[];
37381
+ description: string;
37382
+ };
37383
+ rows: {
37384
+ types: string[];
37385
+ description: string;
37386
+ };
37387
+ action: {
37388
+ types: string[];
37389
+ description: string;
37390
+ };
37194
37391
  error: {
37195
37392
  types: string[];
37196
37393
  description: string;
@@ -37213,6 +37410,14 @@ declare const PATTERN_REGISTRY: {
37213
37410
  types: string[];
37214
37411
  description: string;
37215
37412
  };
37413
+ value: {
37414
+ types: string[];
37415
+ description: string;
37416
+ };
37417
+ action: {
37418
+ types: string[];
37419
+ description: string;
37420
+ };
37216
37421
  error: {
37217
37422
  types: string[];
37218
37423
  description: string;
@@ -37226,6 +37431,14 @@ declare const PATTERN_REGISTRY: {
37226
37431
  suggestedFor: string[];
37227
37432
  typicalSize: string;
37228
37433
  propsSchema: {
37434
+ checked: {
37435
+ types: string[];
37436
+ description: string;
37437
+ };
37438
+ defaultChecked: {
37439
+ types: string[];
37440
+ description: string;
37441
+ };
37229
37442
  label: {
37230
37443
  types: string[];
37231
37444
  description: string;
@@ -37239,6 +37452,18 @@ declare const PATTERN_REGISTRY: {
37239
37452
  suggestedFor: string[];
37240
37453
  typicalSize: string;
37241
37454
  propsSchema: {
37455
+ options: {
37456
+ types: string[];
37457
+ description: string;
37458
+ };
37459
+ value: {
37460
+ types: string[];
37461
+ description: string;
37462
+ };
37463
+ action: {
37464
+ types: string[];
37465
+ description: string;
37466
+ };
37242
37467
  label: {
37243
37468
  types: string[];
37244
37469
  description: string;
@@ -37305,6 +37530,14 @@ declare const PATTERN_REGISTRY: {
37305
37530
  suggestedFor: string[];
37306
37531
  typicalSize: string;
37307
37532
  propsSchema: {
37533
+ text: {
37534
+ types: string[];
37535
+ description: string;
37536
+ };
37537
+ htmlFor: {
37538
+ types: string[];
37539
+ description: string;
37540
+ };
37308
37541
  required: {
37309
37542
  types: string[];
37310
37543
  description: string;
@@ -44765,7 +44998,10 @@ declare const PATTERN_REGISTRY: {
44765
44998
  renderItem: {
44766
44999
  types: string[];
44767
45000
  description: string;
44768
- required: boolean;
45001
+ };
45002
+ children: {
45003
+ types: string[];
45004
+ description: string;
44769
45005
  };
44770
45006
  autoPlay: {
44771
45007
  types: string[];