@almadar/patterns 2.8.0 → 2.8.2
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/dist/component-mapping.json +8 -8
- package/dist/event-contracts.json +1 -1
- package/dist/index.d.ts +255 -19
- package/dist/index.js +119 -17
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +110 -8
- package/dist/registry.json +110 -8
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-03-
|
|
3
|
+
"exportedAt": "2026-03-19T07:41:51.607Z",
|
|
4
4
|
"patterns": {
|
|
5
5
|
"entity-table": {
|
|
6
6
|
"type": "entity-table",
|
|
@@ -3916,6 +3916,31 @@
|
|
|
3916
3916
|
],
|
|
3917
3917
|
"typicalSize": "tiny",
|
|
3918
3918
|
"propsSchema": {
|
|
3919
|
+
"placeholder": {
|
|
3920
|
+
"types": [
|
|
3921
|
+
"string"
|
|
3922
|
+
],
|
|
3923
|
+
"description": "Placeholder text"
|
|
3924
|
+
},
|
|
3925
|
+
"value": {
|
|
3926
|
+
"types": [
|
|
3927
|
+
"string",
|
|
3928
|
+
"number"
|
|
3929
|
+
],
|
|
3930
|
+
"description": "Current value"
|
|
3931
|
+
},
|
|
3932
|
+
"disabled": {
|
|
3933
|
+
"types": [
|
|
3934
|
+
"boolean"
|
|
3935
|
+
],
|
|
3936
|
+
"description": "Whether input is disabled"
|
|
3937
|
+
},
|
|
3938
|
+
"action": {
|
|
3939
|
+
"types": [
|
|
3940
|
+
"string"
|
|
3941
|
+
],
|
|
3942
|
+
"description": "Declarative event name for trait dispatch"
|
|
3943
|
+
},
|
|
3919
3944
|
"inputType": {
|
|
3920
3945
|
"types": [
|
|
3921
3946
|
"string"
|
|
@@ -3989,11 +4014,29 @@
|
|
|
3989
4014
|
],
|
|
3990
4015
|
"typicalSize": "small",
|
|
3991
4016
|
"propsSchema": {
|
|
4017
|
+
"placeholder": {
|
|
4018
|
+
"types": [
|
|
4019
|
+
"string"
|
|
4020
|
+
],
|
|
4021
|
+
"description": "Placeholder text"
|
|
4022
|
+
},
|
|
4023
|
+
"rows": {
|
|
4024
|
+
"types": [
|
|
4025
|
+
"number"
|
|
4026
|
+
],
|
|
4027
|
+
"description": "Number of visible rows"
|
|
4028
|
+
},
|
|
4029
|
+
"action": {
|
|
4030
|
+
"types": [
|
|
4031
|
+
"string"
|
|
4032
|
+
],
|
|
4033
|
+
"description": "Declarative event name for trait dispatch"
|
|
4034
|
+
},
|
|
3992
4035
|
"error": {
|
|
3993
4036
|
"types": [
|
|
3994
4037
|
"string"
|
|
3995
4038
|
],
|
|
3996
|
-
"description": "
|
|
4039
|
+
"description": "Error message"
|
|
3997
4040
|
}
|
|
3998
4041
|
}
|
|
3999
4042
|
},
|
|
@@ -4012,20 +4055,32 @@
|
|
|
4012
4055
|
"types": [
|
|
4013
4056
|
"array"
|
|
4014
4057
|
],
|
|
4015
|
-
"description": "options
|
|
4058
|
+
"description": "Select options",
|
|
4016
4059
|
"required": true
|
|
4017
4060
|
},
|
|
4018
4061
|
"placeholder": {
|
|
4019
4062
|
"types": [
|
|
4020
4063
|
"string"
|
|
4021
4064
|
],
|
|
4022
|
-
"description": "
|
|
4065
|
+
"description": "Placeholder text"
|
|
4066
|
+
},
|
|
4067
|
+
"value": {
|
|
4068
|
+
"types": [
|
|
4069
|
+
"string"
|
|
4070
|
+
],
|
|
4071
|
+
"description": "Current value"
|
|
4072
|
+
},
|
|
4073
|
+
"action": {
|
|
4074
|
+
"types": [
|
|
4075
|
+
"string"
|
|
4076
|
+
],
|
|
4077
|
+
"description": "Declarative event name for trait dispatch"
|
|
4023
4078
|
},
|
|
4024
4079
|
"error": {
|
|
4025
4080
|
"types": [
|
|
4026
4081
|
"string"
|
|
4027
4082
|
],
|
|
4028
|
-
"description": "
|
|
4083
|
+
"description": "Error message"
|
|
4029
4084
|
}
|
|
4030
4085
|
}
|
|
4031
4086
|
},
|
|
@@ -4040,6 +4095,18 @@
|
|
|
4040
4095
|
],
|
|
4041
4096
|
"typicalSize": "tiny",
|
|
4042
4097
|
"propsSchema": {
|
|
4098
|
+
"checked": {
|
|
4099
|
+
"types": [
|
|
4100
|
+
"boolean"
|
|
4101
|
+
],
|
|
4102
|
+
"description": "Whether the checkbox is checked"
|
|
4103
|
+
},
|
|
4104
|
+
"defaultChecked": {
|
|
4105
|
+
"types": [
|
|
4106
|
+
"boolean"
|
|
4107
|
+
],
|
|
4108
|
+
"description": "Default checked state (uncontrolled)"
|
|
4109
|
+
},
|
|
4043
4110
|
"label": {
|
|
4044
4111
|
"types": [
|
|
4045
4112
|
"string"
|
|
@@ -4058,6 +4125,24 @@
|
|
|
4058
4125
|
],
|
|
4059
4126
|
"typicalSize": "tiny",
|
|
4060
4127
|
"propsSchema": {
|
|
4128
|
+
"options": {
|
|
4129
|
+
"types": [
|
|
4130
|
+
"array"
|
|
4131
|
+
],
|
|
4132
|
+
"description": "Radio options (string array or SelectOption array)"
|
|
4133
|
+
},
|
|
4134
|
+
"value": {
|
|
4135
|
+
"types": [
|
|
4136
|
+
"string"
|
|
4137
|
+
],
|
|
4138
|
+
"description": "Current selected value"
|
|
4139
|
+
},
|
|
4140
|
+
"action": {
|
|
4141
|
+
"types": [
|
|
4142
|
+
"string"
|
|
4143
|
+
],
|
|
4144
|
+
"description": "Declarative event name for trait dispatch"
|
|
4145
|
+
},
|
|
4061
4146
|
"label": {
|
|
4062
4147
|
"types": [
|
|
4063
4148
|
"string"
|
|
@@ -4155,11 +4240,23 @@
|
|
|
4155
4240
|
],
|
|
4156
4241
|
"typicalSize": "tiny",
|
|
4157
4242
|
"propsSchema": {
|
|
4243
|
+
"text": {
|
|
4244
|
+
"types": [
|
|
4245
|
+
"string"
|
|
4246
|
+
],
|
|
4247
|
+
"description": "Label text content"
|
|
4248
|
+
},
|
|
4249
|
+
"htmlFor": {
|
|
4250
|
+
"types": [
|
|
4251
|
+
"string"
|
|
4252
|
+
],
|
|
4253
|
+
"description": "Associated input element ID"
|
|
4254
|
+
},
|
|
4158
4255
|
"required": {
|
|
4159
4256
|
"types": [
|
|
4160
4257
|
"boolean"
|
|
4161
4258
|
],
|
|
4162
|
-
"description": "required
|
|
4259
|
+
"description": "Show required indicator"
|
|
4163
4260
|
}
|
|
4164
4261
|
}
|
|
4165
4262
|
},
|
|
@@ -15212,8 +15309,13 @@
|
|
|
15212
15309
|
"types": [
|
|
15213
15310
|
"function"
|
|
15214
15311
|
],
|
|
15215
|
-
"description": "Render function for each slide"
|
|
15216
|
-
|
|
15312
|
+
"description": "Render function for each slide"
|
|
15313
|
+
},
|
|
15314
|
+
"children": {
|
|
15315
|
+
"types": [
|
|
15316
|
+
"function"
|
|
15317
|
+
],
|
|
15318
|
+
"description": "Children-as-function fallback for renderItem (compiler compatibility)"
|
|
15217
15319
|
},
|
|
15218
15320
|
"autoPlay": {
|
|
15219
15321
|
"types": [
|
package/dist/registry.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-03-
|
|
3
|
+
"exportedAt": "2026-03-19T07:41:51.607Z",
|
|
4
4
|
"patterns": {
|
|
5
5
|
"entity-table": {
|
|
6
6
|
"type": "entity-table",
|
|
@@ -3916,6 +3916,31 @@
|
|
|
3916
3916
|
],
|
|
3917
3917
|
"typicalSize": "tiny",
|
|
3918
3918
|
"propsSchema": {
|
|
3919
|
+
"placeholder": {
|
|
3920
|
+
"types": [
|
|
3921
|
+
"string"
|
|
3922
|
+
],
|
|
3923
|
+
"description": "Placeholder text"
|
|
3924
|
+
},
|
|
3925
|
+
"value": {
|
|
3926
|
+
"types": [
|
|
3927
|
+
"string",
|
|
3928
|
+
"number"
|
|
3929
|
+
],
|
|
3930
|
+
"description": "Current value"
|
|
3931
|
+
},
|
|
3932
|
+
"disabled": {
|
|
3933
|
+
"types": [
|
|
3934
|
+
"boolean"
|
|
3935
|
+
],
|
|
3936
|
+
"description": "Whether input is disabled"
|
|
3937
|
+
},
|
|
3938
|
+
"action": {
|
|
3939
|
+
"types": [
|
|
3940
|
+
"string"
|
|
3941
|
+
],
|
|
3942
|
+
"description": "Declarative event name for trait dispatch"
|
|
3943
|
+
},
|
|
3919
3944
|
"inputType": {
|
|
3920
3945
|
"types": [
|
|
3921
3946
|
"string"
|
|
@@ -3989,11 +4014,29 @@
|
|
|
3989
4014
|
],
|
|
3990
4015
|
"typicalSize": "small",
|
|
3991
4016
|
"propsSchema": {
|
|
4017
|
+
"placeholder": {
|
|
4018
|
+
"types": [
|
|
4019
|
+
"string"
|
|
4020
|
+
],
|
|
4021
|
+
"description": "Placeholder text"
|
|
4022
|
+
},
|
|
4023
|
+
"rows": {
|
|
4024
|
+
"types": [
|
|
4025
|
+
"number"
|
|
4026
|
+
],
|
|
4027
|
+
"description": "Number of visible rows"
|
|
4028
|
+
},
|
|
4029
|
+
"action": {
|
|
4030
|
+
"types": [
|
|
4031
|
+
"string"
|
|
4032
|
+
],
|
|
4033
|
+
"description": "Declarative event name for trait dispatch"
|
|
4034
|
+
},
|
|
3992
4035
|
"error": {
|
|
3993
4036
|
"types": [
|
|
3994
4037
|
"string"
|
|
3995
4038
|
],
|
|
3996
|
-
"description": "
|
|
4039
|
+
"description": "Error message"
|
|
3997
4040
|
}
|
|
3998
4041
|
}
|
|
3999
4042
|
},
|
|
@@ -4012,20 +4055,32 @@
|
|
|
4012
4055
|
"types": [
|
|
4013
4056
|
"array"
|
|
4014
4057
|
],
|
|
4015
|
-
"description": "options
|
|
4058
|
+
"description": "Select options",
|
|
4016
4059
|
"required": true
|
|
4017
4060
|
},
|
|
4018
4061
|
"placeholder": {
|
|
4019
4062
|
"types": [
|
|
4020
4063
|
"string"
|
|
4021
4064
|
],
|
|
4022
|
-
"description": "
|
|
4065
|
+
"description": "Placeholder text"
|
|
4066
|
+
},
|
|
4067
|
+
"value": {
|
|
4068
|
+
"types": [
|
|
4069
|
+
"string"
|
|
4070
|
+
],
|
|
4071
|
+
"description": "Current value"
|
|
4072
|
+
},
|
|
4073
|
+
"action": {
|
|
4074
|
+
"types": [
|
|
4075
|
+
"string"
|
|
4076
|
+
],
|
|
4077
|
+
"description": "Declarative event name for trait dispatch"
|
|
4023
4078
|
},
|
|
4024
4079
|
"error": {
|
|
4025
4080
|
"types": [
|
|
4026
4081
|
"string"
|
|
4027
4082
|
],
|
|
4028
|
-
"description": "
|
|
4083
|
+
"description": "Error message"
|
|
4029
4084
|
}
|
|
4030
4085
|
}
|
|
4031
4086
|
},
|
|
@@ -4040,6 +4095,18 @@
|
|
|
4040
4095
|
],
|
|
4041
4096
|
"typicalSize": "tiny",
|
|
4042
4097
|
"propsSchema": {
|
|
4098
|
+
"checked": {
|
|
4099
|
+
"types": [
|
|
4100
|
+
"boolean"
|
|
4101
|
+
],
|
|
4102
|
+
"description": "Whether the checkbox is checked"
|
|
4103
|
+
},
|
|
4104
|
+
"defaultChecked": {
|
|
4105
|
+
"types": [
|
|
4106
|
+
"boolean"
|
|
4107
|
+
],
|
|
4108
|
+
"description": "Default checked state (uncontrolled)"
|
|
4109
|
+
},
|
|
4043
4110
|
"label": {
|
|
4044
4111
|
"types": [
|
|
4045
4112
|
"string"
|
|
@@ -4058,6 +4125,24 @@
|
|
|
4058
4125
|
],
|
|
4059
4126
|
"typicalSize": "tiny",
|
|
4060
4127
|
"propsSchema": {
|
|
4128
|
+
"options": {
|
|
4129
|
+
"types": [
|
|
4130
|
+
"array"
|
|
4131
|
+
],
|
|
4132
|
+
"description": "Radio options (string array or SelectOption array)"
|
|
4133
|
+
},
|
|
4134
|
+
"value": {
|
|
4135
|
+
"types": [
|
|
4136
|
+
"string"
|
|
4137
|
+
],
|
|
4138
|
+
"description": "Current selected value"
|
|
4139
|
+
},
|
|
4140
|
+
"action": {
|
|
4141
|
+
"types": [
|
|
4142
|
+
"string"
|
|
4143
|
+
],
|
|
4144
|
+
"description": "Declarative event name for trait dispatch"
|
|
4145
|
+
},
|
|
4061
4146
|
"label": {
|
|
4062
4147
|
"types": [
|
|
4063
4148
|
"string"
|
|
@@ -4155,11 +4240,23 @@
|
|
|
4155
4240
|
],
|
|
4156
4241
|
"typicalSize": "tiny",
|
|
4157
4242
|
"propsSchema": {
|
|
4243
|
+
"text": {
|
|
4244
|
+
"types": [
|
|
4245
|
+
"string"
|
|
4246
|
+
],
|
|
4247
|
+
"description": "Label text content"
|
|
4248
|
+
},
|
|
4249
|
+
"htmlFor": {
|
|
4250
|
+
"types": [
|
|
4251
|
+
"string"
|
|
4252
|
+
],
|
|
4253
|
+
"description": "Associated input element ID"
|
|
4254
|
+
},
|
|
4158
4255
|
"required": {
|
|
4159
4256
|
"types": [
|
|
4160
4257
|
"boolean"
|
|
4161
4258
|
],
|
|
4162
|
-
"description": "required
|
|
4259
|
+
"description": "Show required indicator"
|
|
4163
4260
|
}
|
|
4164
4261
|
}
|
|
4165
4262
|
},
|
|
@@ -15212,8 +15309,13 @@
|
|
|
15212
15309
|
"types": [
|
|
15213
15310
|
"function"
|
|
15214
15311
|
],
|
|
15215
|
-
"description": "Render function for each slide"
|
|
15216
|
-
|
|
15312
|
+
"description": "Render function for each slide"
|
|
15313
|
+
},
|
|
15314
|
+
"children": {
|
|
15315
|
+
"types": [
|
|
15316
|
+
"function"
|
|
15317
|
+
],
|
|
15318
|
+
"description": "Children-as-function fallback for renderItem (compiler compatibility)"
|
|
15217
15319
|
},
|
|
15218
15320
|
"autoPlay": {
|
|
15219
15321
|
"types": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@almadar/patterns",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.2",
|
|
4
4
|
"description": "Pattern registry and component mappings for Almadar",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"repository": {
|
|
37
37
|
"type": "git",
|
|
38
|
-
"url": "https://github.com/almadar-io/almadar.git",
|
|
38
|
+
"url": "https://github.com/almadar-io/almadar-patterns.git",
|
|
39
39
|
"directory": "docs/packages/patterns"
|
|
40
40
|
},
|
|
41
41
|
"license": "MIT",
|