Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
},
"specs.5": {
"links": {
"self": "../Spec/16320d37-fac6-417c-ae20-c583ea0c8a2e"
"self": "../field-spec/ImageFieldSpec/7c9e416c-e6c8-45b2-81c3-4eb6ddd219dc"
}
},
"specs.6": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
},
"specs.2": {
"links": {
"self": "../Spec/16320d37-fac6-417c-ae20-c583ea0c8a2e"
"self": "../field-spec/ImageFieldSpec/7c9e416c-e6c8-45b2-81c3-4eb6ddd219dc"
}
},
"specs.3": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"specs.3": {
"links": {
"self": "../Spec/16320d37-fac6-417c-ae20-c583ea0c8a2e"
"self": "../field-spec/ImageFieldSpec/7c9e416c-e6c8-45b2-81c3-4eb6ddd219dc"
}
},
"specs.4": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"attributes": {
"readMe": null,
"ref": {
"module": "http://localhost:4201/catalog/fields/image/components/image-presentation",
"module": "../fields/image/components/image-presentation",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didnt delete these component spec because it used in one of the CardListing

"name": "default"
},
"specType": "component",
Expand Down Expand Up @@ -32,4 +32,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"attributes": {
"readMe": null,
"ref": {
"module": "http://localhost:4201/catalog/fields/image/components/image-avatar-preview",
"module": "../fields/image/components/image-avatar-preview",
"name": "default"
},
"specType": "component",
Expand Down Expand Up @@ -32,4 +32,4 @@
}
}
}
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"attributes": {
"readMe": null,
"ref": {
"module": "http://localhost:4201/catalog/fields/image/components/preview-modal",
"module": "../fields/image/components/preview-modal",
"name": "default"
},
"specType": "component",
Expand Down Expand Up @@ -32,4 +32,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"type": "card",
"attributes": {
"ref": {
"name": "QRField",
"name": "default",
"module": "../fields/qr-code"
},
"title": "QR Code",
"readMe": "A Field to embed QR codes in your cards.\n\n## Usage\n\nTo use the QR Code field in your card definitions:\n\n```typescript\nimport { QRCodeField } from '../fields/qr-code';\n\n@field code = contains(QRCodeField);\n```\n\nA typical pattern is to use a computed field that generates the QR code based on the card's ID:\n\n```typescript\n@field qrCode = contains(QRCodeField, {\n computeVia: function() {\n return new QRCodeField({data: this.id});\n }\n});\n```\n\nTo display the QR code in your templates:\n\n```handlebars\n<@fields.qrCode @format='embedded'/>\n```\n\nThis field allows you to generate and display QR codes within your cards.",
"readMe": "A Field to embed QR codes in your cards.\n\n## Usage\n\nTo use the QR Code field in your card definitions:\n\n```typescript\nimport QRField from '../fields/qr-code';\n\n@field code = contains(QRField);\n```\n\nA typical pattern is to use a computed field that generates the QR code based on the card's ID:\n\n```typescript\n@field qrCode = contains(QRField, {\n computeVia: function() {\n return new QRField({data: this.id});\n }\n});\n```\n\nTo display the QR code in your templates:\n\n```handlebars\n<@fields.qrCode @format='embedded'/>\n```\n\nThis field allows you to generate and display QR codes within your cards.",
"cardInfo": {
"notes": null,
"title": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"attributes": {
"readMe": null,
"ref": {
"module": "http://localhost:4201/catalog/fields/image/components/card-presentation",
"module": "../fields/image/components/card-presentation",
"name": "default"
},
"specType": "component",
Expand Down Expand Up @@ -32,4 +32,4 @@
}
}
}
}
}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"readMe": null,
"ref": {
"module": "../fields/currency",
"name": "CurrencyField"
"name": "default"
},
"specType": "field",
"containedExamples": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"readMe": null,
"ref": {
"module": "../fields/geo-search-point",
"name": "GeoSearchPointField"
"name": "default"
},
"specType": "card",
"containedExamples": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"adoptsFrom": {
"module": "../fields/geo-search-point",
"name": "GeoSearchPointField"
"name": "default"
}
}
]
Expand All @@ -19,11 +19,11 @@
"type": "card",
"attributes": {
"ref": {
"name": "GeoSearchPointField",
"name": "default",
"module": "../fields/geo-search-point"
},
"title": "GeoSearchPointField",
"readMe": "# GeoSearchPointField\n\nA field type that extends GeoPointField to include address search functionality with geocoding. This field allows users to search for locations by address and automatically converts them to geographic coordinate.\n\n## Usage\n\n### Basic Implementation\n\n```gts\nimport { GeoSearchPointField } from '../fields/geo-search-point';\nimport { CardDef, field, contains } from 'https://cardstack.com/base/card-api';\n\nexport class MyCard extends CardDef {\n @field location = contains(GeoSearchPointField);\n}\n```\n\n### Field Properties\n\nInherits all properties from GeoPointField:\n- **lat**: Latitude coordinate (number)\n- **lon**: Longitude coordinate (number) \n\nAdds:\n- **searchKey**: The address or location name used for searching (string)\n\n### Display Formats\n\n- **Atom**: Compact view with map icon and address name\n- **Embedded**: Full view with address, coordinate, and interactive map\n- **Edit**: Address search input with live geocoding and marker color picker\n\n### Example Data\n\n```json\n{\n \"searchKey\": \"Glo Damansara\",\n \"lat\": 3.1336268,\n \"lon\": 101.6299203\n}\n```",
"readMe": "# GeoSearchPointField\n\nA field type that extends GeoPointField to include address search functionality with geocoding. This field allows users to search for locations by address and automatically converts them to geographic coordinate.\n\n## Usage\n\n### Basic Implementation\n\n```gts\nimport GeoSearchPointField from '../fields/geo-search-point';\nimport { CardDef, field, contains } from 'https://cardstack.com/base/card-api';\n\nexport class MyCard extends CardDef {\n @field location = contains(GeoSearchPointField);\n}\n```\n\n### Field Properties\n\nInherits all properties from GeoPointField:\n- **lat**: Latitude coordinate (number)\n- **lon**: Longitude coordinate (number) \n\nAdds:\n- **searchKey**: The address or location name used for searching (string)\n\n### Display Formats\n\n- **Atom**: Compact view with map icon and address name\n- **Embedded**: Full view with address, coordinate, and interactive map\n- **Edit**: Address search input with live geocoding and marker color picker\n\n### Example Data\n\n```json\n{\n \"searchKey\": \"Glo Damansara\",\n \"lat\": 3.1336268,\n \"lon\": 101.6299203\n}\n```",
"cardInfo": {
"notes": null,
"title": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"attributes": {
"readMe": null,
"ref": {
"module": "http://localhost:4201/catalog/fields/image/components/inline-presentation",
"module": "../fields/image/components/inline-presentation",
"name": "default"
},
"specType": "component",
Expand Down Expand Up @@ -32,4 +32,4 @@
}
}
}
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"readMe": null,
"ref": {
"module": "../fields/qr-code",
"name": "QRField"
"name": "default"
},
"specType": "field",
"containedExamples": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"attributes": {
"readMe": null,
"ref": {
"module": "http://localhost:4201/catalog/fields/image/components/image-avatar-upload",
"module": "../fields/image/components/image-avatar-upload",
"name": "default"
},
"specType": "component",
Expand Down Expand Up @@ -32,4 +32,4 @@
}
}
}
}
}
Loading
Loading