Skip to content

Commit 48147f1

Browse files
Update ui-awesome/html-helper to 0.2 and move Components to ui-awesome/html-core-component. (#26)
1 parent fa798aa commit 48147f1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+6
-2429
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Change Log
22

3-
## 0.1.3 Under development
3+
## 0.2.0 March 30, 2024
4+
5+
- Enh #26: Update `ui-awesome/html-helper` to `0.2` and move `Components` to `ui-awesome/html-core-component` (@terabytesoftw)
46

57
## 0.1.2 March 14, 2024
68

README.md

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ The preferred way to install this extension is through [composer](https://getcom
3232
Either run
3333

3434
```shell
35-
composer require --prefer-dist ui-awesome/html-concern:^0.1
35+
composer require --prefer-dist ui-awesome/html-concern:^0.2
3636
```
3737

3838
or add
3939

4040
```json
41-
"ui-awesome/html-concern": "^0.1"
41+
"ui-awesome/html-concern": "^0.2"
4242
```
4343

4444
to the require section of your `composer.json` file.
@@ -64,42 +64,6 @@ List of traits avaibles to use in your classes:
6464
- [HasUncheckedCollection](src/HasUncheckedCollection.php)
6565
> Methods available: `uncheckedAttributes()`, `uncheckedClass()`, `uncheckedValue()`.
6666
67-
List of components avaibles to use in your classes:
68-
69-
- [HasActivateItems](src/Component/HasActivateItems.php)
70-
- [HasCurrentPath](src/Component/HasCurrentPath.php)
71-
- [HasFirstItemClass](src/Component/HasFirstItemClass.php)
72-
- [HasFirstLinkClass](src/Component/HasFirstLinkClass.php)
73-
- [HasIconCollection](src/Component/HasIconCollection.php)
74-
> Methods available: `getIconAttributes()`, `iconAttributes()`, `iconClass()`, `iconContent()`, `iconFilePath()`, `iconTag()`.
75-
- [HasLastItemClass](src/Component/HasLastItemClass.php)
76-
- [HasLastLinkClass](src/Component/HasLastLinkClass.php)
77-
- [HasLinkCollection](src/Component/HasLinkCollection.php)
78-
> Methods available: `getLinkAttributes()`, `linkAttributes()`, `linkClass()`.
79-
- [HasLinkContainerCollection](src/Component/HasLinkContainerCollection.php)
80-
> Methods available: `getLinkContainerAttributes()`, `linkContainerAttributes()`, `linkContainerClass()`, `linkContainerTag()`.
81-
- [HasListCollection](src/Component/HasListCollection.php)
82-
> Methods available: `getListAttributes()`, `listAttributes()`, `listClass()`, `listType()`.
83-
- [HasListContainerCollection](src/Component/HasListContainerCollection.php)
84-
> Methods available: `getListContainerAttributes()`, `listContainerAttributes()`, `listContainerClass()`, `listContainerTag()`.
85-
- [HasLastItemActiveClass](src/Component/HasLastItemActiveClass.php)
86-
- [HasLinkActiveClass](src/Component/HasActiveClass.php)
87-
- [HaslinkActiveTag](src/Component/HasLinkActiveTag.php)
88-
- [HasLinkAreaCurrent](src/Component/HasLinkAreaCurrent.php)
89-
- [HasLinkDisabledClass](src/Component/HasDisabledClass.php)
90-
- [HasLinkItemActiveClass](src/Component/HasItemActiveClass.php)
91-
- [HasLinkItemDisabledClass](src/Component/HasItemDisabledClass.php)
92-
- [HasListItemAreaCurrent](src/Component/HasListItemAreaCurrent.php)
93-
- [HasListItemCollection](src/Component/HasListItemCollection.php)
94-
> Methods available: `getListItemAttributes()`, `listItemAttributes()`, `listItemClass()`, `listItemTag()`.
95-
- [HasListItemContainerCollection](src/Component/HasListItemContainerCollection.php)
96-
> Methods available: `getListItemContainerAttributes()`, `listItemContainerAttributes()`, `listItemContainerClass()`, `listItemContainerTag()`.
97-
- [HasPrefixItems](src/Component/HasPrefixItems.php)
98-
- [HasSuffixItems](src/Component/HasSuffixItems.php)
99-
- [HasTemplateItem](src/Component/HasTemplateItem.php)
100-
- [HasTemplateLinkItem](src/Component/HasTemplateLinkItem.php)
101-
- [HasToggle](src/Component/HasToggle.php)
102-
10367
## Testing
10468

10569
[Check the documentation testing](docs/testing.md) to learn about testing.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"license": "mit",
1212
"require": {
1313
"php": "^8.1",
14-
"ui-awesome/html-helper":"^0.1",
14+
"ui-awesome/html-helper":"^0.2",
1515
"ui-awesome/html-interop": "^0.1",
1616
"voku/anti-xss": "^4.1"
1717
},

src/Component/HasActivateItems.php

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/Component/HasCurrentPath.php

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/Component/HasFirstItemClass.php

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/Component/HasFirstLinkClass.php

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/Component/HasIconCollection.php

Lines changed: 0 additions & 122 deletions
This file was deleted.

src/Component/HasLastItemClass.php

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)