Commit Graph

81 Commits

Author SHA1 Message Date
simialbi
fbb568002a
fixed #74 2023-07-24 10:15:56 +02:00
Hiren Bhut
5ea4bb6dc7
Nav::isItemActive(): Return value must be of type bool, int returned (#72)
* Update Nav.php

Due to Exception 'TypeError' with message 'yii\bootstrap5\Nav::isItemActive(): Return value must be of type bool, int returned'
2023-04-25 09:51:59 +02:00
Ihor Sychevskyi
6db048b384
update src folder links (#67) 2022-12-31 10:34:09 +01:00
Alex Powell
309544b84c
Allow Navbar to accept collapseOptions = false (#63)
* Allow collapseOptions to be false in Navbar

If `collapseOptions` is `false`, while `offcanvasOptions` is _also_ `false`, `renderToggleButton` throws an array access error (`$this->collapseOptions['id']];`)

* Update CHANGELOG.md

* Typo

* Add unit test

* Update NavBar.php

Code style

Co-authored-by: Alex Powell <alexanderp@agilitycis.com>
Co-authored-by: simialbi <simi.albi@outlook.com>
2022-12-22 09:06:27 +01:00
simialbi
1c8504e9f1
Fixed #58 2022-11-30 09:17:05 +01:00
simialbi
67342864ee
solve asset problem (fixed #56, #59) 2022-11-30 08:47:12 +01:00
simialbi
5f4839cf07
added "Toggle Navigation" translation string 2022-11-15 09:47:11 +01:00
Anton
e88c5ebd96
Translate default text of NavBar::$screenReaderToggleText 2022-10-21 04:22:20 +03:00
Anton
db6208a2d7
Update BootstrapPluginAsset (#51)
* Update BootstrapPluginAsset

- Load minified JS on production
- Optimize list of publishes files
- Normalize comments

* Update BootstrapPluginAsset.php

* Update BootstrapPluginAsset.php

* Update CHANGELOG.md
2022-10-13 14:13:20 +02:00
Anton
3111ba58fa
Update BootstrapAsset (#52)
* Update BootstrapAsset

- Load minified JS on production
- Optimize list of publishes files
- Normalize comments

* Update CHANGELOG.md

* Update CHANGELOG.md
2022-10-13 14:11:49 +02:00
Anton
9e944cd085
Normalize TranslationBootstrap (#53) 2022-10-12 08:24:59 +02:00
Anton
bd8ed65e7e
Update BootstrapWidgetTrait (#48)
* Update BootstrapWidgetTrait

Using pure JS instead Jquery
Optimize components activation : only 'popover', 'toast' and 'tooltip' not activates via data attributes
Fix outdated PHPDoc's
2022-08-25 13:26:48 +02:00
Mehdi Achour
fe254a7d1f
Fix dropdown & test data-bs usage (#46)
* Fix dropdown & test data-bs usage
* fix test
* Add changelog entry
2022-08-08 14:38:55 +02:00
Simon Karlen
c943bc32e9
Fixed #43 2022-07-04 12:10:54 +02:00
Anton
f7c0fa4fdc
Merge branch 'master' into patch-1 2022-05-05 20:21:39 +03:00
Anton
bf064a3860
Fix my mistake in Breadcrumbs::run() 2022-05-03 21:59:59 +03:00
Anton
7996995c0e
Update Breadcrumbs.php 2022-05-03 20:46:38 +03:00
Anton
2e42954f28
Update BaseHtml.php 2022-05-03 20:26:05 +03:00
Anton
b431fc4da4
Breadcrumbs refactoring
Class extends `yii\widget\Breadcrumbs`
Remove redundant code
Add short format for `Breadcrumbs::$links`
2022-04-23 05:49:48 +03:00
Anton
d20467183a
Update BaseHtml.php 2022-04-23 02:49:22 +03:00
Anton
e4582bdde9
Update BaseHtml
Replace PHPDoc of `BaseHtml::$normalizeClassAttribute`
Add inline mode in `BaseHtml::checkboxList()`
Add inline mode in `BaseHtml::radioList()`
2022-04-23 02:47:47 +03:00
Lucas Bartholemy
6645e88574
Fixed homeUrl in default homeLink
The Phpdoc descriptions says "If this property is not set, it will default to a link pointing to [[\yii\web\Application::homeUrl]] with the label 'Home'. If this property is false, the home link will not be rendered."
2022-04-20 19:17:51 +02:00
simialbi
f7e2942960
Code style updates 2022-03-10 23:53:08 +01:00
Julian Rutten
62c4f8334a chore: add docs and test for issue #36 2022-03-10 23:43:09 +01:00
Julian Rutten
a8704c58f8 fix: clientOptions=false skips registerJs 2022-03-09 14:04:26 +01:00
Simon Karlen
9151d0b101
updated russian translations (compiled) 2022-01-17 08:04:47 +01:00
Anton
98d3ea966e
Update messages.po 2022-01-15 20:20:04 +03:00
simialbi
74e07a2ff7 Adapted @WinterSilence's russian translations 2022-01-10 13:53:30 +01:00
Simon Karlen
f75ef171d0
added japanese translation (thx @fetus-hina) 2022-01-06 08:58:12 +01:00
Simon Karlen
58d28c0bc4
added italian translation
try bootstrapping approach
updated composer.json
2022-01-06 07:35:27 +01:00
Simon Karlen
cb48dd6e45
Added translations (fixed #28) 2022-01-05 11:17:55 +01:00
Simon Karlen
a0c528b496
Accept Breadcrumbs::$homeLink = false to omit "Home" link (fixed #24) 2022-01-05 09:49:44 +01:00
Simon Karlen
a3b52b4519
fixed strange yii2 behavior in css class handling 2022-01-05 09:41:34 +01:00
Simon Karlen
750c7e1b95
changed all data and aria attributes to short syntax (fixed #27) 2022-01-03 09:40:20 +01:00
Anton
dede0982fc
Update Progress.php 2021-12-22 22:37:52 +03:00
Anton
057e672681
Remove redundand BaseHtml::$dataAttributes 2021-12-20 04:49:33 +03:00
simialbi
813e9fd879
Fixed BootstrapIconAsset 2021-12-19 13:52:54 +01:00
simialbi
1a12d1cf65
Do not force icon asset 2021-12-19 13:10:37 +01:00
Kirill Petrov
6b2d1f6c65
Update BootstrapAsset.php 2021-12-16 20:27:07 +04:00
Kirill Petrov
df2d2d7ffb
Update BootstrapIconAsset.php 2021-12-16 20:26:58 +04:00
Kirill Petrov
26c001763d
Update and rename BootstrapIconAsset to BootstrapIconAsset.php 2021-12-16 20:08:08 +04:00
Kirill Petrov
f305113978
Create BootstrapIconAsset 2021-12-16 20:07:40 +04:00
simialbi
960529d8b4
Merge pull request #22 from WinterSilence/patch-2
Fix name of method ActiveField::dropDownList()
2021-12-09 08:27:36 +01:00
Anton
fdbe447ce2
Update ActiveField.php 2021-12-02 11:17:12 +03:00
Anton
2072e8f42e
Update ActiveField.php 2021-11-30 22:49:58 +03:00
Anton
967118226c
Fix class attribute in listBox() and dropDownList() of ActiveField 2021-11-30 22:48:06 +03:00
Anton
ec4e525fbc
Update ActiveField.php 2021-11-30 22:14:27 +03:00
Anton
2a36723f25
Update ActiveField.php 2021-11-30 22:06:37 +03:00
Anton
7cb500ac75
Fix value of attribute aria-current in LinkPager 2021-11-26 19:11:00 +03:00
simialbi
6eff0f80ba
Simplified switch and check for boolean 2021-11-25 10:18:23 +01:00