Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #49 and upgrade package version #50

Merged
merged 2 commits into from
Sep 4, 2024
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
2 changes: 1 addition & 1 deletion dist/css/filament-phone-input.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/filament-phone-input.js

Large diffs are not rendered by default.

Binary file modified images/vendor/intl-tel-input/build/flags.webp
Binary file not shown.
Binary file modified images/vendor/intl-tel-input/build/[email protected]
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"type": "module",
"dependencies": {
"intl-tel-input": "^23.8.1"
"intl-tel-input": "^24.3.7"
},
"devDependencies": {
"@tailwindcss/forms": "^0.5.4",
Expand Down
2 changes: 0 additions & 2 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ parameters:
paths:
- src
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
checkMissingIterableValueType: false

2 changes: 1 addition & 1 deletion resources/js/filament-phone-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ export default function phoneInputFormComponent({

initOptions() {
this.options = {
...options,
i18n: {
...(locales[locale] ?? {}),
...options.i18n,
},
...options,
};
},

Expand Down
2 changes: 1 addition & 1 deletion tests/BrowserTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected function setUp(): void
Browser::mixin(new DuskBrowserMacros);

$this->artisan('filament:assets');
$this->artisan('vendor:publish', ['--tag' => 'filament-phone-input-assets']);
$this->artisan('vendor:publish', ['--tag' => 'filament-phone-input-assets', '--force' => true]);
}

public function createApplication()
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3389,10 +3389,10 @@ interpret@^2.2.0:
resolved "https://registry.yarnpkg.com/interpret/-/interpret-2.2.0.tgz#1a78a0b5965c40a5416d007ad6f50ad27c417df9"
integrity sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==

intl-tel-input@^23.8.1:
version "23.8.1"
resolved "https://registry.yarnpkg.com/intl-tel-input/-/intl-tel-input-23.8.1.tgz#77860222a5b80858b8e46f0e11d2b510f7f93da7"
integrity sha512-mYZMV0j0PHo7UBjQN3l4jsrRPzq8jBVPywzKL7mgdbPtLW5CQtRGKP+qNGx+0KlsSTpsEEoKgmIZ9Tp6kGEQOg==
intl-tel-input@^24.3.7:
version "24.3.7"
resolved "https://registry.yarnpkg.com/intl-tel-input/-/intl-tel-input-24.3.7.tgz#7328b5ce774c17a1a1bc9db77530a13fdd963be5"
integrity sha512-y2mIc3HmVnswFZFOfxe0LWs3btxYdxywNUMDv+d8S9fnW0bvPZf5NM5O8Fy5gSi4sgLToVywBzzuA8Q4SZK1lw==

[email protected]:
version "1.9.1"
Expand Down
Loading