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

Feature/inclusive updates #101

Merged
merged 9 commits into from
Dec 13, 2023
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 .fvm/fvm_config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"flutterSdkVersion": "3.13.0",
"flutterSdkVersion": "3.16.0",
"flavors": {}
}
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
* Added `SBBSideBar` (for web)
* Added `SBBMenuButton` (for web)
* Added `SBBUserMenu` (for web)
* Added `SBBNotificationBox`
* Added `SBBStatusMobile`
* Added global function `showCustomSBBModalSheet`
* `SBBPrimaryButton`: Added different theme based on hostType (for web)
* `SBBTheme`:Added field `hostType`
Expand Down Expand Up @@ -62,6 +64,7 @@
- `SBBRadioButtonListItem`: Adjusted paddings to match the current specifications
- `SBBSelect`: Field `label` is now optional because there is now a variant without label
- `SBBAccordion`: Adjusted paddings, text style and icon rotation to match the current specifications
- `SBBIcons`: Imported version 0.1.61 from https://icons.app.sbb.ch/.

### Deprecated

Expand Down
2 changes: 1 addition & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ android {

defaultConfig {
applicationId "ch.sbb.fdsm.example"
minSdkVersion 16
minSdkVersion flutter.minSdkVersion
targetSdkVersion 31
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
18 changes: 14 additions & 4 deletions example/lib/native_app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ import 'pages/list_item_page.dart';
import 'pages/loading_indicator_page.dart';
import 'pages/message_page.dart';
import 'pages/modal_page.dart';
import 'pages/notification_box_page.dart';
import 'pages/onboarding_page.dart';
import 'pages/pagination_page.dart';
import 'pages/promotion_box_page.dart';
import 'pages/radio_button_page.dart';
import 'pages/segmented_button_page.dart';
import 'pages/select_page.dart';
import 'pages/slider_page.dart';
import 'pages/status_page.dart';
import 'pages/switch_page.dart';
import 'pages/tab_bar_page.dart';
import 'pages/text_field_page.dart';
Expand Down Expand Up @@ -157,6 +159,18 @@ class MyApp extends StatelessWidget {
_DemoEntry(
'Slider',
SliderPage(),
),
_DemoEntry(
'Promotion Box',
PromotionBoxPage(),
),
_DemoEntry(
'Notification Box',
NotificationBoxPage(),
),
_DemoEntry(
'Status',
StatusPage(),
isLastElement: true,
),
],
Expand Down Expand Up @@ -203,10 +217,6 @@ class MyApp extends StatelessWidget {
_DemoEntry(
'Tab Bar',
TabBarPage(),
),
_DemoEntry(
'Promotion Box',
PromotionBoxPage(),
isLastElement: true,
),
],
Expand Down
Loading