diff --git a/resources/views/docs/mobile/4/digging-deeper/theming.md b/resources/views/docs/mobile/4/digging-deeper/theming.md index 884504955..7a8418770 100644 --- a/resources/views/docs/mobile/4/digging-deeper/theming.md +++ b/resources/views/docs/mobile/4/digging-deeper/theming.md @@ -177,7 +177,7 @@ For per-tenant or user-selectable themes, merge tokens at runtime from a service It deep-merges over the config values, so you only pass what changes: ```php -use Nativephp\NativeUi\Theme; +use Native\Mobile\UI\Theme; Theme::merge([ 'light' => ['primary' => $tenant->brandColor], diff --git a/resources/views/docs/mobile/4/edge-components/activity-indicator.md b/resources/views/docs/mobile/4/edge-components/activity-indicator.md index da2648404..01e796950 100644 --- a/resources/views/docs/mobile/4/edge-components/activity-indicator.md +++ b/resources/views/docs/mobile/4/edge-components/activity-indicator.md @@ -71,7 +71,7 @@ gives the example a bounded area to center in. ## Element ```php -use Nativephp\NativeUi\Elements\ActivityIndicator; +use Native\Mobile\UI\Elements\ActivityIndicator; ActivityIndicator::make() ->size('lg') diff --git a/resources/views/docs/mobile/4/edge-components/badge.md b/resources/views/docs/mobile/4/edge-components/badge.md index 37c569f43..57bb3c3da 100644 --- a/resources/views/docs/mobile/4/edge-components/badge.md +++ b/resources/views/docs/mobile/4/edge-components/badge.md @@ -95,7 +95,7 @@ colors that work on both platforms. ## Element ```php -use Nativephp\NativeUi\Elements\Badge; +use Native\Mobile\UI\Elements\Badge; Badge::make() ->count(3) diff --git a/resources/views/docs/mobile/4/edge-components/bottom-sheet.md b/resources/views/docs/mobile/4/edge-components/bottom-sheet.md index 4bbdd035f..c8e9f19ac 100644 --- a/resources/views/docs/mobile/4/edge-components/bottom-sheet.md +++ b/resources/views/docs/mobile/4/edge-components/bottom-sheet.md @@ -146,7 +146,7 @@ of sync with the actual sheet state after the user dismisses it by gesture. ## Element ```php -use Nativephp\NativeUi\Elements\BottomSheet; +use Native\Mobile\UI\Elements\BottomSheet; BottomSheet::make() ->visible($showSheet) diff --git a/resources/views/docs/mobile/4/edge-components/button-group.md b/resources/views/docs/mobile/4/edge-components/button-group.md index f71a5d328..c77e76c39 100644 --- a/resources/views/docs/mobile/4/edge-components/button-group.md +++ b/resources/views/docs/mobile/4/edge-components/button-group.md @@ -93,7 +93,7 @@ method that receives the new index — assign it to `$difficulty` there: ## Element ```php -use Nativephp\NativeUi\Elements\ButtonGroup; +use Native\Mobile\UI\Elements\ButtonGroup; ButtonGroup::make() ->options(['Daily', 'Weekly', 'Monthly']) diff --git a/resources/views/docs/mobile/4/edge-components/button.md b/resources/views/docs/mobile/4/edge-components/button.md index ce0ece8e8..5c35c8d6b 100644 --- a/resources/views/docs/mobile/4/edge-components/button.md +++ b/resources/views/docs/mobile/4/edge-components/button.md @@ -147,7 +147,7 @@ not on which SF Symbol the button carries. Tall glyphs like `wave.3.right` no lo ## Element ```php -use Nativephp\NativeUi\Elements\Button; +use Native\Mobile\UI\Elements\Button; Button::make('Save') ->variant('primary') diff --git a/resources/views/docs/mobile/4/edge-components/carousel.md b/resources/views/docs/mobile/4/edge-components/carousel.md index 16f6eb609..32e93413a 100644 --- a/resources/views/docs/mobile/4/edge-components/carousel.md +++ b/resources/views/docs/mobile/4/edge-components/carousel.md @@ -86,7 +86,7 @@ avatar is loading, or whenever `$contact->avatar` is empty. ## Element ```php -use Nativephp\NativeUi\Elements\Carousel; +use Native\Mobile\UI\Elements\Carousel; Carousel::make($child1, $child2, $child3) ->itemWidth(280) diff --git a/resources/views/docs/mobile/4/edge-components/checkbox.md b/resources/views/docs/mobile/4/edge-components/checkbox.md index e1254dd2d..560328abc 100644 --- a/resources/views/docs/mobile/4/edge-components/checkbox.md +++ b/resources/views/docs/mobile/4/edge-components/checkbox.md @@ -99,7 +99,7 @@ Each checkbox binds its own public boolean property; the summary line re-renders ## Element ```php -use Nativephp\NativeUi\Elements\Checkbox; +use Native\Mobile\UI\Elements\Checkbox; Checkbox::make() ->value($agreed) diff --git a/resources/views/docs/mobile/4/edge-components/chip.md b/resources/views/docs/mobile/4/edge-components/chip.md index bf17b0779..56a3f80e5 100644 --- a/resources/views/docs/mobile/4/edge-components/chip.md +++ b/resources/views/docs/mobile/4/edge-components/chip.md @@ -100,7 +100,7 @@ When the platforms need different symbols, override per platform — an SF Symbo ## Element ```php -use Nativephp\NativeUi\Elements\Chip; +use Native\Mobile\UI\Elements\Chip; Chip::make('Verified') ->icon('check') diff --git a/resources/views/docs/mobile/4/edge-components/list.md b/resources/views/docs/mobile/4/edge-components/list.md index 87bbabd1c..56b9bccc4 100644 --- a/resources/views/docs/mobile/4/edge-components/list.md +++ b/resources/views/docs/mobile/4/edge-components/list.md @@ -186,7 +186,7 @@ list to keep flat rows with plain section headers instead. - `footer` - Optional footer text below the section ```php -use Nativephp\NativeUi\Elements\ListSection; +use Native\Mobile\UI\Elements\ListSection; ListSection::make('Fruits', ListItem::make('Apple'))->footer('1 item'); ``` @@ -259,8 +259,8 @@ here just gives the demo enough rows to scroll before the end-reached trigger fi ## Element ```php -use Nativephp\NativeUi\Elements\NativeList; -use Nativephp\NativeUi\Elements\ListItem; +use Native\Mobile\UI\Elements\NativeList; +use Native\Mobile\UI\Elements\ListItem; NativeList::make( ListItem::make('Profile')->leadingIcon('person')->trailingIcon('forward'), diff --git a/resources/views/docs/mobile/4/edge-components/progress-bar.md b/resources/views/docs/mobile/4/edge-components/progress-bar.md index 7867373de..94d4b0fd2 100644 --- a/resources/views/docs/mobile/4/edge-components/progress-bar.md +++ b/resources/views/docs/mobile/4/edge-components/progress-bar.md @@ -79,7 +79,7 @@ Here `$progress` stands in for a public property on your component — declare ` ## Element ```php -use Nativephp\NativeUi\Elements\ProgressBar; +use Native\Mobile\UI\Elements\ProgressBar; ProgressBar::make()->value(0.65); diff --git a/resources/views/docs/mobile/4/edge-components/radio-group.md b/resources/views/docs/mobile/4/edge-components/radio-group.md index b92320304..d00365d8a 100644 --- a/resources/views/docs/mobile/4/edge-components/radio-group.md +++ b/resources/views/docs/mobile/4/edge-components/radio-group.md @@ -106,8 +106,8 @@ your component, receiving the new value as its parameter: ## Element ```php -use Nativephp\NativeUi\Elements\RadioGroup; -use Nativephp\NativeUi\Elements\Radio; +use Native\Mobile\UI\Elements\RadioGroup; +use Native\Mobile\UI\Elements\Radio; RadioGroup::make( Radio::make('free')->label('Free'), diff --git a/resources/views/docs/mobile/4/edge-components/select.md b/resources/views/docs/mobile/4/edge-components/select.md index ae31ec2bf..432624189 100644 --- a/resources/views/docs/mobile/4/edge-components/select.md +++ b/resources/views/docs/mobile/4/edge-components/select.md @@ -105,7 +105,7 @@ with the selection. ## Element ```php -use Nativephp\NativeUi\Elements\Select; +use Native\Mobile\UI\Elements\Select; Select::make() ->label('Country') diff --git a/resources/views/docs/mobile/4/edge-components/slider.md b/resources/views/docs/mobile/4/edge-components/slider.md index 9de495d27..4996d79c6 100644 --- a/resources/views/docs/mobile/4/edge-components/slider.md +++ b/resources/views/docs/mobile/4/edge-components/slider.md @@ -103,7 +103,7 @@ tracks the thumb as it settles. ## Element ```php -use Nativephp\NativeUi\Elements\Slider; +use Native\Mobile\UI\Elements\Slider; Slider::make() ->value($volume) diff --git a/resources/views/docs/mobile/4/edge-components/tab-row.md b/resources/views/docs/mobile/4/edge-components/tab-row.md index bece3222b..99c3f7506 100644 --- a/resources/views/docs/mobile/4/edge-components/tab-row.md +++ b/resources/views/docs/mobile/4/edge-components/tab-row.md @@ -135,8 +135,8 @@ Material name on Android: ## Element ```php -use Nativephp\NativeUi\Elements\TabRow; -use Nativephp\NativeUi\Elements\Tab; +use Native\Mobile\UI\Elements\TabRow; +use Native\Mobile\UI\Elements\Tab; TabRow::make( Tab::make('Recent')->icon('history'), diff --git a/resources/views/docs/mobile/4/edge-components/text-input.md b/resources/views/docs/mobile/4/edge-components/text-input.md index 6f239be72..59cb2130f 100644 --- a/resources/views/docs/mobile/4/edge-components/text-input.md +++ b/resources/views/docs/mobile/4/edge-components/text-input.md @@ -442,9 +442,9 @@ The `color` attribute can be set explicitly or picked up from a `text-*` class o ## Element ```php -use Nativephp\NativeUi\Elements\OutlinedTextInput; -use Nativephp\NativeUi\Elements\FilledTextInput; -use Nativephp\NativeUi\Elements\BareTextInput; +use Native\Mobile\UI\Elements\OutlinedTextInput; +use Native\Mobile\UI\Elements\FilledTextInput; +use Native\Mobile\UI\Elements\BareTextInput; OutlinedTextInput::make() ->label('Email') diff --git a/resources/views/docs/mobile/4/edge-components/toggle.md b/resources/views/docs/mobile/4/edge-components/toggle.md index 76a226477..96eedede6 100644 --- a/resources/views/docs/mobile/4/edge-components/toggle.md +++ b/resources/views/docs/mobile/4/edge-components/toggle.md @@ -104,7 +104,7 @@ event. ## Element ```php -use Nativephp\NativeUi\Elements\Toggle; +use Native\Mobile\UI\Elements\Toggle; Toggle::make() ->value($darkMode) diff --git a/resources/views/docs/mobile/4/the-basics/layouts.md b/resources/views/docs/mobile/4/the-basics/layouts.md index 3521b6a17..b3bb2a650 100644 --- a/resources/views/docs/mobile/4/the-basics/layouts.md +++ b/resources/views/docs/mobile/4/the-basics/layouts.md @@ -231,8 +231,8 @@ For a slide-out side drawer, mix the native-ui `HasLayoutDrawer` trait into your `drawer()`. The content is any Blade view, so you build the drawer's UI with normal EDGE components: ```php -use Nativephp\NativeUi\Builders\Drawer; -use Nativephp\NativeUi\Concerns\HasLayoutDrawer; +use Native\Mobile\UI\Builders\Drawer; +use Native\Mobile\UI\Concerns\HasLayoutDrawer; class AppLayout extends NativeLayout { @@ -267,8 +267,8 @@ The drawer is fully interactive without any wiring on your part: A single screen can replace or suppress the layout's drawer with the `InteractsWithDrawer` trait — the same shape as `navigationOptions()` for the nav bar: ```php -use Nativephp\NativeUi\Builders\Drawer; -use Nativephp\NativeUi\Concerns\InteractsWithDrawer; +use Native\Mobile\UI\Builders\Drawer; +use Native\Mobile\UI\Concerns\InteractsWithDrawer; class AdminScreen extends NativeComponent { @@ -349,8 +349,8 @@ the content and the tab bar, so nothing is pushed up. Return `null` and nothing The content is any element tree or Blade view, so you build the overlay's UI with normal EDGE components: ```php -use Nativephp\NativeUi\Builders\FloatingOverlay; -use Nativephp\NativeUi\Concerns\HasFloatingOverlay; +use Native\Mobile\UI\Builders\FloatingOverlay; +use Native\Mobile\UI\Concerns\HasFloatingOverlay; class AppLayout extends NativeLayout { @@ -389,8 +389,8 @@ trait. Only rendered by layouts using native chrome (`usesNativeChrome()` is `tr A single screen replaces or suppresses the layout's overlay with the `InteractsWithFloatingOverlay` trait: ```php -use Nativephp\NativeUi\Builders\FloatingOverlay; -use Nativephp\NativeUi\Concerns\InteractsWithFloatingOverlay; +use Native\Mobile\UI\Builders\FloatingOverlay; +use Native\Mobile\UI\Concerns\InteractsWithFloatingOverlay; class CheckoutScreen extends NativeComponent {