{"id":13771412,"url":"https://github.com/hernanmd/SpecUIAddOns","last_synced_at":"2025-05-11T04:30:41.504Z","repository":{"id":28119198,"uuid":"31618147","full_name":"hernanmd/SpecUIAddOns","owner":"hernanmd","description":"Add-ons for Spec (Smalltalk UI description framework)","archived":false,"fork":false,"pushed_at":"2023-02-13T18:19:30.000Z","size":1328,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T15:39:41.340Z","etag":null,"topics":["pharo","pharo-smalltalk","smalltalk","spec","ui","ui-components"],"latest_commit_sha":null,"homepage":"","language":"Smalltalk","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hernanmd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-03-03T19:55:41.000Z","updated_at":"2022-06-17T23:04:24.000Z","dependencies_parsed_at":"2024-01-12T15:47:37.093Z","dependency_job_id":"1740b251-1510-4497-8e37-eb9f15e6d7ad","html_url":"https://github.com/hernanmd/SpecUIAddOns","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernanmd%2FSpecUIAddOns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernanmd%2FSpecUIAddOns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernanmd%2FSpecUIAddOns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernanmd%2FSpecUIAddOns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hernanmd","download_url":"https://codeload.github.com/hernanmd/SpecUIAddOns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253518941,"owners_count":21921074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pharo","pharo-smalltalk","smalltalk","spec","ui","ui-components"],"created_at":"2024-08-03T17:00:51.228Z","updated_at":"2025-05-11T04:30:40.198Z","avatar_url":"https://github.com/hernanmd.png","language":"Smalltalk","funding_links":[],"categories":["Graphics"],"sub_categories":[],"readme":"[![license-badge](https://img.shields.io/badge/license-MIT-blue.svg)](https://img.shields.io/badge/license-MIT-blue.svg)\r\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\r\n[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)\r\n\r\n# Description\r\n\r\nThis package provides widgets for Spec 1 (Pharo Smalltalk UI description framework).\r\n\r\n_NOTE: Currently since Pharo 10 only Spec 2 is supported. SpecUIAddOns is developed for Spec 1, hence it will NOT load correctly in Pharo versions \u003e= 10._\r\n\r\n# Installation\r\n\r\n```smalltalk\r\nMetacello new\r\n  baseline: 'SpecUIAddOns';\r\n  repository: 'github://hernanmd/SpecUIAddOns/repository';\r\n  load.\r\n```\r\n\r\n## Baseline String\r\n\r\nIf you want to add the ProjectFramework to your Metacello Baselines or Configurations, copy and paste the following expression:\r\n\r\n```smalltalk\r\n\t\" ... \"\r\n\tspec\r\n\t\tbaseline: 'SpecUIAddOns'\r\n\t\twith: [ spec repository: 'github://hernanmd/SpecUIAddOns/repository' ];\r\n\t\" ... \"\r\n```\r\n\r\n# Screenshots\r\n\r\n## Editable List\r\n\r\nProvides a List with add, edit and remove items behavior. Add and edit buttons are automatically selected or deselected depending on current selection. \r\n\r\nOperation buttons can be placed on top:\r\n\r\n![Screenshot 1](screenshots/01_SpcEditableList_code_1.png)\r\n\r\nOperation buttons can be placed on bottom:\r\n\r\n![Screenshot 2](screenshots/01_SpcEditableList_code_2.png)\r\n\r\nWidget with buttons on top and no items selected:\r\n\r\n![Screenshot 3](screenshots/01_SpcEditableList_widget_1.png)\r\n\r\nWidget with buttons on bottom and item selected:\r\n\r\n![Screenshot 4](screenshots/01_SpcEditableList_widget_2.png)\r\n\r\n## Labeled TextArea\r\n\r\nTextArea code:\r\n\r\n![Screenshot 5](screenshots/02_LabeledTextArea_code.png)\r\n\r\nTextArea widget:\r\n\r\n![Screenshot 6](screenshots/02_LabeledTextArea_widget.png)\r\n\r\n## Labeled TextField with Button\r\n\r\nTextField with an action button code:\r\n\r\n![Screenshot 7](screenshots/03_SpcLabeledTextFieldWithButton_code.png)\r\n\r\nTextField with action button widget:\r\n\r\n![Screenshot 8](screenshots/03_SpcLabeledTextFieldWithButton_widget.png)\r\n\r\n## Double Selector List\r\n\r\nProvides two lists, two list acting as master-detail and a third one with items associated to the detail list.\r\n\r\n![Screenshot 12](screenshots/05_SpcDoubleSelector_final.png)\r\n\r\n## Toolbar with Buttons\r\n\r\n![Screenshot 13](screenshots/06_SpcToolbarButtons_code.png)\r\n\r\n![Screenshot 14](screenshots/06_Toolbar_2.png)\r\n\r\n![Screenshot 15](screenshots/06_Toolbar_3.png)\r\n\r\n## TextField in Wizard\r\n\r\n![Screenshot 16](screenshots/07_SpcWizardTextField_code.png)\r\n\r\n![Screenshot 17](screenshots/07_WizardTextField.png)\r\n\r\n## Radio Button in Wizard\r\n\r\nProvides vertically aligned radio buttons:\r\n\r\n![Screenshot 18](screenshots/08_SpcWizardRadioButtonExample_code.png)\r\n\r\n![Screenshot 19](screenshots/08_SpcWizardRadioButtonExample_widget.png)\r\n\r\n## TextField Selector\r\n\r\n![Screenshot 20](screenshots/09_SpcLabeledTextFieldSelector_1.png)\r\n\r\n![Screenshot 21](screenshots/09_SpcLabeledTextFieldSelector_2.png)\r\n\r\n![Screenshot 22](screenshots/09_SpcLabeledTextFieldSelector_3.png)\r\n\r\n![Screenshot 23](screenshots/09_SpcLabeledTextFieldSelector_code.png)\r\n\r\n## Searchable List\r\n\r\n![Screenshot 24](screenshots/10_SingleSearchableMCList_code.png)\r\n\r\n![Screenshot 25](screenshots/10_SingleSearchableMCList_widget_1.png)\r\n\r\n![Screenshot 26](screenshots/10_SingleSearchableMCList_widget_2.png)\r\n\r\n## TextField with Browse Button\r\n\r\n![Screenshot 27](screenshots/11_SpcLabeledTextFieldWithBrowseButton_code.png)\r\n\r\n![Screenshot 28](screenshots/11_SpcLabeledTextFieldWithBrowseButton_widget_1.png)\r\n\r\n![Screenshot 29](screenshots/11_SpcLabeledTextFieldWithBrowseButton_widget_2.png)\r\n\r\n## Growable search list\r\n\r\n![Screenshot 30](screenshots/12_SpcGrowableSearchList_code.png)\r\n\r\n![Screenshot 31](screenshots/12_SpcGrowableSearchList_widget_1.png)\r\n\r\n![Screenshot 32](screenshots/12_SpcGrowableSearchList_widget_2.png)\r\n\r\n\r\n# Usage notes\r\n\r\n  - It requires you already have some experience building Spec user-interfaces.\r\n    - Most widgets can be used by composition (i.e.: in the #instantiateModels: inside your #initializeWidgets). Some other widgets are intended to be subclassed.\r\n  - The SpecUIAddOns classes begins with Spc prefix.\r\n  - Most widgets implements example methods in the class side, category \"examples\"\r\n\r\n# Contribute\r\n\r\n**Working on your first Pull Request?** You can learn how from this *free* series [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github)\r\n\r\nIf you have discovered a bug or have a feature suggestion, feel free to create an issue on Github.\r\n\r\nIf you'd like to make some changes yourself, see the following:\r\n\r\n  - Fork this repository to your own GitHub account and then clone it to your local device\r\n  - Do some modifications\r\n  - Test.\r\n  - Add \u003cyour GitHub username\u003e to add yourself as author below.\r\n  - Finally, submit a pull request with your changes!\r\n  - This project follows the [all-contributors specification](https://github.com/kentcdodds/all-contributors). Contributions of any kind are welcome!\r\n\r\n# License\r\n\r\nThis software is licensed under the MIT License.\r\n\r\nCopyright Hernán Morales Durand, 2018-2019.\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n\r\n# Authors\r\n\r\nHernán Morales Durand\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhernanmd%2FSpecUIAddOns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhernanmd%2FSpecUIAddOns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhernanmd%2FSpecUIAddOns/lists"}