@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/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // src/patterns-registry.json
2
2
  var patterns_registry_default = {
3
3
  version: "1.0.0",
4
- exportedAt: "2026-03-16T01:48:20.029Z",
4
+ exportedAt: "2026-03-19T07:41:51.607Z",
5
5
  patterns: {
6
6
  "entity-table": {
7
7
  type: "entity-table",
@@ -3917,6 +3917,31 @@ var patterns_registry_default = {
3917
3917
  ],
3918
3918
  typicalSize: "tiny",
3919
3919
  propsSchema: {
3920
+ placeholder: {
3921
+ types: [
3922
+ "string"
3923
+ ],
3924
+ description: "Placeholder text"
3925
+ },
3926
+ value: {
3927
+ types: [
3928
+ "string",
3929
+ "number"
3930
+ ],
3931
+ description: "Current value"
3932
+ },
3933
+ disabled: {
3934
+ types: [
3935
+ "boolean"
3936
+ ],
3937
+ description: "Whether input is disabled"
3938
+ },
3939
+ action: {
3940
+ types: [
3941
+ "string"
3942
+ ],
3943
+ description: "Declarative event name for trait dispatch"
3944
+ },
3920
3945
  inputType: {
3921
3946
  types: [
3922
3947
  "string"
@@ -3990,11 +4015,29 @@ var patterns_registry_default = {
3990
4015
  ],
3991
4016
  typicalSize: "small",
3992
4017
  propsSchema: {
4018
+ placeholder: {
4019
+ types: [
4020
+ "string"
4021
+ ],
4022
+ description: "Placeholder text"
4023
+ },
4024
+ rows: {
4025
+ types: [
4026
+ "number"
4027
+ ],
4028
+ description: "Number of visible rows"
4029
+ },
4030
+ action: {
4031
+ types: [
4032
+ "string"
4033
+ ],
4034
+ description: "Declarative event name for trait dispatch"
4035
+ },
3993
4036
  error: {
3994
4037
  types: [
3995
4038
  "string"
3996
4039
  ],
3997
- description: "error prop"
4040
+ description: "Error message"
3998
4041
  }
3999
4042
  }
4000
4043
  },
@@ -4013,20 +4056,32 @@ var patterns_registry_default = {
4013
4056
  types: [
4014
4057
  "array"
4015
4058
  ],
4016
- description: "options prop",
4059
+ description: "Select options",
4017
4060
  required: true
4018
4061
  },
4019
4062
  placeholder: {
4020
4063
  types: [
4021
4064
  "string"
4022
4065
  ],
4023
- description: "placeholder prop"
4066
+ description: "Placeholder text"
4067
+ },
4068
+ value: {
4069
+ types: [
4070
+ "string"
4071
+ ],
4072
+ description: "Current value"
4073
+ },
4074
+ action: {
4075
+ types: [
4076
+ "string"
4077
+ ],
4078
+ description: "Declarative event name for trait dispatch"
4024
4079
  },
4025
4080
  error: {
4026
4081
  types: [
4027
4082
  "string"
4028
4083
  ],
4029
- description: "error prop"
4084
+ description: "Error message"
4030
4085
  }
4031
4086
  }
4032
4087
  },
@@ -4041,6 +4096,18 @@ var patterns_registry_default = {
4041
4096
  ],
4042
4097
  typicalSize: "tiny",
4043
4098
  propsSchema: {
4099
+ checked: {
4100
+ types: [
4101
+ "boolean"
4102
+ ],
4103
+ description: "Whether the checkbox is checked"
4104
+ },
4105
+ defaultChecked: {
4106
+ types: [
4107
+ "boolean"
4108
+ ],
4109
+ description: "Default checked state (uncontrolled)"
4110
+ },
4044
4111
  label: {
4045
4112
  types: [
4046
4113
  "string"
@@ -4059,6 +4126,24 @@ var patterns_registry_default = {
4059
4126
  ],
4060
4127
  typicalSize: "tiny",
4061
4128
  propsSchema: {
4129
+ options: {
4130
+ types: [
4131
+ "array"
4132
+ ],
4133
+ description: "Radio options (string array or SelectOption array)"
4134
+ },
4135
+ value: {
4136
+ types: [
4137
+ "string"
4138
+ ],
4139
+ description: "Current selected value"
4140
+ },
4141
+ action: {
4142
+ types: [
4143
+ "string"
4144
+ ],
4145
+ description: "Declarative event name for trait dispatch"
4146
+ },
4062
4147
  label: {
4063
4148
  types: [
4064
4149
  "string"
@@ -4156,11 +4241,23 @@ var patterns_registry_default = {
4156
4241
  ],
4157
4242
  typicalSize: "tiny",
4158
4243
  propsSchema: {
4244
+ text: {
4245
+ types: [
4246
+ "string"
4247
+ ],
4248
+ description: "Label text content"
4249
+ },
4250
+ htmlFor: {
4251
+ types: [
4252
+ "string"
4253
+ ],
4254
+ description: "Associated input element ID"
4255
+ },
4159
4256
  required: {
4160
4257
  types: [
4161
4258
  "boolean"
4162
4259
  ],
4163
- description: "required prop"
4260
+ description: "Show required indicator"
4164
4261
  }
4165
4262
  }
4166
4263
  },
@@ -15213,8 +15310,13 @@ var patterns_registry_default = {
15213
15310
  types: [
15214
15311
  "function"
15215
15312
  ],
15216
- description: "Render function for each slide",
15217
- required: true
15313
+ description: "Render function for each slide"
15314
+ },
15315
+ children: {
15316
+ types: [
15317
+ "function"
15318
+ ],
15319
+ description: "Children-as-function fallback for renderItem (compiler compatibility)"
15218
15320
  },
15219
15321
  autoPlay: {
15220
15322
  types: [
@@ -17519,7 +17621,7 @@ var integrators_registry_default = {
17519
17621
  // src/component-mapping.json
17520
17622
  var component_mapping_default = {
17521
17623
  version: "1.0.0",
17522
- exportedAt: "2026-03-16T01:48:20.029Z",
17624
+ exportedAt: "2026-03-19T07:41:51.607Z",
17523
17625
  mappings: {
17524
17626
  "page-header": {
17525
17627
  component: "PageHeader",
@@ -18096,7 +18198,7 @@ var component_mapping_default = {
18096
18198
  },
18097
18199
  chart: {
18098
18200
  component: "Chart",
18099
- importPath: "@almadar/ui",
18201
+ importPath: "@almadar/ui/components",
18100
18202
  category: "visualization"
18101
18203
  },
18102
18204
  meter: {
@@ -18106,32 +18208,32 @@ var component_mapping_default = {
18106
18208
  },
18107
18209
  timeline: {
18108
18210
  component: "Timeline",
18109
- importPath: "@almadar/ui",
18211
+ importPath: "@almadar/ui/components",
18110
18212
  category: "display"
18111
18213
  },
18112
18214
  "media-gallery": {
18113
18215
  component: "MediaGallery",
18114
- importPath: "@almadar/ui",
18216
+ importPath: "@almadar/ui/components",
18115
18217
  category: "media"
18116
18218
  },
18117
18219
  "signature-pad": {
18118
18220
  component: "SignaturePad",
18119
- importPath: "@almadar/ui",
18221
+ importPath: "@almadar/ui/components",
18120
18222
  category: "form"
18121
18223
  },
18122
18224
  "document-viewer": {
18123
18225
  component: "DocumentViewer",
18124
- importPath: "@almadar/ui",
18226
+ importPath: "@almadar/ui/components",
18125
18227
  category: "display"
18126
18228
  },
18127
18229
  "graph-canvas": {
18128
18230
  component: "GraphCanvas",
18129
- importPath: "@almadar/ui",
18231
+ importPath: "@almadar/ui/components",
18130
18232
  category: "visualization"
18131
18233
  },
18132
18234
  "code-viewer": {
18133
18235
  component: "CodeViewer",
18134
- importPath: "@almadar/ui",
18236
+ importPath: "@almadar/ui/components",
18135
18237
  category: "display"
18136
18238
  },
18137
18239
  "canvas-effect": {
@@ -18745,7 +18847,7 @@ var component_mapping_default = {
18745
18847
  // src/event-contracts.json
18746
18848
  var event_contracts_default = {
18747
18849
  version: "1.0.0",
18748
- exportedAt: "2026-03-16T01:48:20.029Z",
18850
+ exportedAt: "2026-03-19T07:41:51.607Z",
18749
18851
  contracts: {
18750
18852
  form: {
18751
18853
  emits: [