Initial commit
This commit is contained in:
parent
cd09d26a70
commit
cf05c4e3fc
123
.idea/codeStyles/Project.xml
generated
Normal file
123
.idea/codeStyles/Project.xml
generated
Normal file
@ -0,0 +1,123 @@
|
||||
<component name="ProjectCodeStyleConfiguration">
|
||||
<code_scheme name="Project" version="173">
|
||||
<JetCodeStyleSettings>
|
||||
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
|
||||
</JetCodeStyleSettings>
|
||||
<codeStyleSettings language="XML">
|
||||
<option name="FORCE_REARRANGE_MODE" value="1" />
|
||||
<indentOptions>
|
||||
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
||||
</indentOptions>
|
||||
<arrangement>
|
||||
<rules>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>xmlns:android</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>xmlns:.*</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
<order>BY_NAME</order>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>.*:id</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>.*:name</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>name</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>style</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>.*</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
<order>BY_NAME</order>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>.*</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
<order>ANDROID_ATTRIBUTE_ORDER</order>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>.*</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>.*</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
<order>BY_NAME</order>
|
||||
</rule>
|
||||
</section>
|
||||
</rules>
|
||||
</arrangement>
|
||||
</codeStyleSettings>
|
||||
<codeStyleSettings language="kotlin">
|
||||
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
|
||||
</codeStyleSettings>
|
||||
</code_scheme>
|
||||
</component>
|
5
.idea/codeStyles/codeStyleConfig.xml
generated
Normal file
5
.idea/codeStyles/codeStyleConfig.xml
generated
Normal file
@ -0,0 +1,5 @@
|
||||
<component name="ProjectCodeStyleConfiguration">
|
||||
<state>
|
||||
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
|
||||
</state>
|
||||
</component>
|
6
.idea/compiler.xml
generated
Normal file
6
.idea/compiler.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<bytecodeTargetLevel target="21" />
|
||||
</component>
|
||||
</project>
|
10
.idea/deploymentTargetSelector.xml
generated
Normal file
10
.idea/deploymentTargetSelector.xml
generated
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="deploymentTargetSelector">
|
||||
<selectionStates>
|
||||
<SelectionState runConfigName="app">
|
||||
<option name="selectionMode" value="DROPDOWN" />
|
||||
</SelectionState>
|
||||
</selectionStates>
|
||||
</component>
|
||||
</project>
|
7
.idea/gradle.xml
generated
7
.idea/gradle.xml
generated
@ -1,11 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="GradleMigrationSettings" migrationVersion="1" />
|
||||
<component name="GradleSettings">
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
<option name="testRunner" value="CHOOSE_PER_TEST" />
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" />
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
<option value="$PROJECT_DIR$/app" />
|
||||
</set>
|
||||
</option>
|
||||
</GradleProjectSettings>
|
||||
</option>
|
||||
</component>
|
||||
|
61
.idea/inspectionProfiles/Project_Default.xml
generated
Normal file
61
.idea/inspectionProfiles/Project_Default.xml
generated
Normal file
@ -0,0 +1,61 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<profile version="1.0">
|
||||
<option name="myName" value="Project Default" />
|
||||
<inspection_tool class="ComposePreviewDimensionRespectsLimit" enabled="true" level="WARNING" enabled_by_default="true">
|
||||
<option name="composableFile" value="true" />
|
||||
<option name="previewFile" value="true" />
|
||||
</inspection_tool>
|
||||
<inspection_tool class="ComposePreviewMustBeTopLevelFunction" enabled="true" level="ERROR" enabled_by_default="true">
|
||||
<option name="composableFile" value="true" />
|
||||
<option name="previewFile" value="true" />
|
||||
</inspection_tool>
|
||||
<inspection_tool class="ComposePreviewNeedsComposableAnnotation" enabled="true" level="ERROR" enabled_by_default="true">
|
||||
<option name="composableFile" value="true" />
|
||||
<option name="previewFile" value="true" />
|
||||
</inspection_tool>
|
||||
<inspection_tool class="ComposePreviewNotSupportedInUnitTestFiles" enabled="true" level="ERROR" enabled_by_default="true">
|
||||
<option name="composableFile" value="true" />
|
||||
<option name="previewFile" value="true" />
|
||||
</inspection_tool>
|
||||
<inspection_tool class="GlancePreviewDimensionRespectsLimit" enabled="true" level="WARNING" enabled_by_default="true">
|
||||
<option name="composableFile" value="true" />
|
||||
</inspection_tool>
|
||||
<inspection_tool class="GlancePreviewMustBeTopLevelFunction" enabled="true" level="ERROR" enabled_by_default="true">
|
||||
<option name="composableFile" value="true" />
|
||||
</inspection_tool>
|
||||
<inspection_tool class="GlancePreviewNeedsComposableAnnotation" enabled="true" level="ERROR" enabled_by_default="true">
|
||||
<option name="composableFile" value="true" />
|
||||
</inspection_tool>
|
||||
<inspection_tool class="GlancePreviewNotSupportedInUnitTestFiles" enabled="true" level="ERROR" enabled_by_default="true">
|
||||
<option name="composableFile" value="true" />
|
||||
</inspection_tool>
|
||||
<inspection_tool class="PreviewAnnotationInFunctionWithParameters" enabled="true" level="ERROR" enabled_by_default="true">
|
||||
<option name="composableFile" value="true" />
|
||||
<option name="previewFile" value="true" />
|
||||
</inspection_tool>
|
||||
<inspection_tool class="PreviewApiLevelMustBeValid" enabled="true" level="ERROR" enabled_by_default="true">
|
||||
<option name="composableFile" value="true" />
|
||||
<option name="previewFile" value="true" />
|
||||
</inspection_tool>
|
||||
<inspection_tool class="PreviewDeviceShouldUseNewSpec" enabled="true" level="WEAK WARNING" enabled_by_default="true">
|
||||
<option name="composableFile" value="true" />
|
||||
<option name="previewFile" value="true" />
|
||||
</inspection_tool>
|
||||
<inspection_tool class="PreviewFontScaleMustBeGreaterThanZero" enabled="true" level="ERROR" enabled_by_default="true">
|
||||
<option name="composableFile" value="true" />
|
||||
<option name="previewFile" value="true" />
|
||||
</inspection_tool>
|
||||
<inspection_tool class="PreviewMultipleParameterProviders" enabled="true" level="ERROR" enabled_by_default="true">
|
||||
<option name="composableFile" value="true" />
|
||||
<option name="previewFile" value="true" />
|
||||
</inspection_tool>
|
||||
<inspection_tool class="PreviewParameterProviderOnFirstParameter" enabled="true" level="ERROR" enabled_by_default="true">
|
||||
<option name="composableFile" value="true" />
|
||||
<option name="previewFile" value="true" />
|
||||
</inspection_tool>
|
||||
<inspection_tool class="PreviewPickerAnnotation" enabled="true" level="ERROR" enabled_by_default="true">
|
||||
<option name="composableFile" value="true" />
|
||||
<option name="previewFile" value="true" />
|
||||
</inspection_tool>
|
||||
</profile>
|
||||
</component>
|
6
.idea/kotlinc.xml
generated
Normal file
6
.idea/kotlinc.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="KotlinJpsPluginSettings">
|
||||
<option name="version" value="2.0.21" />
|
||||
</component>
|
||||
</project>
|
2
.idea/misc.xml
generated
2
.idea/misc.xml
generated
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="ProjectRootManager">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="jbr-21" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
|
4
.idea/vcs.xml
generated
4
.idea/vcs.xml
generated
@ -1,4 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings" defaultProject="true" />
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -2,6 +2,7 @@ plugins {
|
||||
alias(libs.plugins.android.application)
|
||||
alias(libs.plugins.kotlin.android)
|
||||
alias(libs.plugins.kotlin.compose)
|
||||
id("com.google.relay") version "0.3.12"
|
||||
}
|
||||
|
||||
android {
|
||||
|
@ -0,0 +1,157 @@
|
||||
{
|
||||
"figma": {
|
||||
"colors": {
|
||||
"M3/sys/dark/background": "md.sys.color.background",
|
||||
"M3/sys/dark/error": "md.sys.color.error",
|
||||
"M3/sys/dark/error-container": "md.sys.color.error-container",
|
||||
"M3/sys/dark/inverse-on-surface": "md.sys.color.inverse-on-surface",
|
||||
"M3/sys/dark/inverse-surface": "md.sys.color.inverse-surface",
|
||||
"M3/sys/dark/on-background": "md.sys.color.on-background",
|
||||
"M3/sys/dark/on-error": "md.sys.color.on-error",
|
||||
"M3/sys/dark/on-error-container": "md.sys.color.on-error-container",
|
||||
"M3/sys/dark/on-primary": "md.sys.color.on-primary",
|
||||
"M3/sys/dark/on-primary-container": "md.sys.color.on-primary-container",
|
||||
"M3/sys/dark/on-secondary": "md.sys.color.on-secondary",
|
||||
"M3/sys/dark/on-secondary-container": "md.sys.color.on-secondary-container",
|
||||
"M3/sys/dark/on-surface": "md.sys.color.on-surface",
|
||||
"M3/sys/dark/on-surface-variant": "md.sys.color.on-surface-variant",
|
||||
"M3/sys/dark/on-tertiary": "md.sys.color.on-tertiary",
|
||||
"M3/sys/dark/on-tertiary-container": "md.sys.color.on-tertiary-container",
|
||||
"M3/sys/dark/outline": "md.sys.color.outline",
|
||||
"M3/sys/dark/primary": "md.sys.color.primary",
|
||||
"M3/sys/dark/primary-container": "md.sys.color.primary-container",
|
||||
"M3/sys/dark/secondary": "md.sys.color.secondary",
|
||||
"M3/sys/dark/secondary-container": "md.sys.color.secondary-container",
|
||||
"M3/sys/dark/surface": "md.sys.color.surface",
|
||||
"M3/sys/dark/surface-variant": "md.sys.color.surface-variant",
|
||||
"M3/sys/dark/tertiary": "md.sys.color.tertiary",
|
||||
"M3/sys/dark/tertiary-container": "md.sys.color.tertiary-container",
|
||||
"M3/sys/light/background": "md.sys.color.background",
|
||||
"M3/sys/light/error": "md.sys.color.error",
|
||||
"M3/sys/light/error-container": "md.sys.color.error-container",
|
||||
"M3/sys/light/inverse-on-surface": "md.sys.color.inverse-on-surface",
|
||||
"M3/sys/light/inverse-surface": "md.sys.color.inverse-surface",
|
||||
"M3/sys/light/on-background": "md.sys.color.on-background",
|
||||
"M3/sys/light/on-error": "md.sys.color.on-error",
|
||||
"M3/sys/light/on-error-container": "md.sys.color.on-error-container",
|
||||
"M3/sys/light/on-primary": "md.sys.color.on-primary",
|
||||
"M3/sys/light/on-primary-container": "md.sys.color.on-primary-container",
|
||||
"M3/sys/light/on-secondary": "md.sys.color.on-secondary",
|
||||
"M3/sys/light/on-secondary-container": "md.sys.color.on-secondary-container",
|
||||
"M3/sys/light/on-surface": "md.sys.color.on-surface",
|
||||
"M3/sys/light/on-surface-variant": "md.sys.color.on-surface-variant",
|
||||
"M3/sys/light/on-tertiary": "md.sys.color.on-tertiary",
|
||||
"M3/sys/light/on-tertiary-container": "md.sys.color.on-tertiary-container",
|
||||
"M3/sys/light/outline": "md.sys.color.outline",
|
||||
"M3/sys/light/primary": "md.sys.color.primary",
|
||||
"M3/sys/light/primary-container": "md.sys.color.primary-container",
|
||||
"M3/sys/light/secondary": "md.sys.color.secondary",
|
||||
"M3/sys/light/secondary-container": "md.sys.color.secondary-container",
|
||||
"M3/sys/light/surface": "md.sys.color.surface",
|
||||
"M3/sys/light/surface-variant": "md.sys.color.surface-variant",
|
||||
"M3/sys/light/tertiary": "md.sys.color.tertiary",
|
||||
"M3/sys/light/tertiary-container": "md.sys.color.tertiary-container"
|
||||
},
|
||||
"typography": {
|
||||
"symbols": {
|
||||
"M3/display/large": "md.sys.typescale.display-large",
|
||||
"M3/display/medium": "md.sys.typescale.display-medium",
|
||||
"M3/display/small": "md.sys.typescale.display-small",
|
||||
"M3/headline/large": "md.sys.typescale.headline-large",
|
||||
"M3/headline/medium": "md.sys.typescale.headline-medium",
|
||||
"M3/headline/small": "md.sys.typescale.headline-small",
|
||||
"M3/title/large": "md.sys.typescale.title-large",
|
||||
"M3/title/medium": "md.sys.typescale.title-medium",
|
||||
"M3/title/small": "md.sys.typescale.title-small",
|
||||
"M3/body/large": "md.sys.typescale.body-large",
|
||||
"M3/body/medium": "md.sys.typescale.body-medium",
|
||||
"M3/body/small": "md.sys.typescale.body-small",
|
||||
"M3/label/large": "md.sys.typescale.label-large",
|
||||
"M3/label/medium": "md.sys.typescale.label-medium",
|
||||
"M3/label/small": "md.sys.typescale.label-small",
|
||||
"M3/display2": "md.sys.typescale.display-large",
|
||||
"M3/display3": "md.sys.typescale.display-medium",
|
||||
"M3/headline1": "md.sys.typescale.display-small",
|
||||
"M3/headline2": "md.sys.typescale.headline-large",
|
||||
"M3/headline3": "md.sys.typescale.headline-medium",
|
||||
"M3/headline4": "md.sys.typescale.headline-small",
|
||||
"M3/headline5": "md.sys.typescale.title-large",
|
||||
"M3/subhead1": "md.sys.typescale.title-medium",
|
||||
"M3/subhead2": "md.sys.typescale.title-small",
|
||||
"M3/body1": "md.sys.typescale.body-large",
|
||||
"M3/body2": "md.sys.typescale.body-medium",
|
||||
"M3/caption": "md.sys.typescale.body-small",
|
||||
"M3/button": "md.sys.typescale.label-large",
|
||||
"M3/overline": "md.sys.typescale.label-medium",
|
||||
"M3/labelSmall": "md.sys.typescale.label-small"
|
||||
},
|
||||
"subproperties": {
|
||||
"fontFamily": "font",
|
||||
"fontWeight": "weight",
|
||||
"fontSize": "size",
|
||||
"letterSpacing": "tracking",
|
||||
"lineHeightPx": "line-height"
|
||||
}
|
||||
}
|
||||
},
|
||||
"compose": {
|
||||
"colors": {
|
||||
"md.sys.color.background": "MaterialTheme.colorScheme.background",
|
||||
"md.sys.color.error": "MaterialTheme.colorScheme.error",
|
||||
"md.sys.color.error-container": "MaterialTheme.colorScheme.errorContainer",
|
||||
"md.sys.color.inverse-on-surface": "MaterialTheme.colorScheme.inverseOnSurface",
|
||||
"md.sys.color.inverse-surface": "MaterialTheme.colorScheme.inverseSurface",
|
||||
"md.sys.color.on-background": "MaterialTheme.colorScheme.onBackground",
|
||||
"md.sys.color.on-error": "MaterialTheme.colorScheme.onError",
|
||||
"md.sys.color.on-error-container": "MaterialTheme.colorScheme.onErrorContainer",
|
||||
"md.sys.color.on-primary": "MaterialTheme.colorScheme.onPrimary",
|
||||
"md.sys.color.on-primary-container": "MaterialTheme.colorScheme.onPrimaryContainer",
|
||||
"md.sys.color.on-secondary": "MaterialTheme.colorScheme.onSecondary",
|
||||
"md.sys.color.on-secondary-container": "MaterialTheme.colorScheme.onSecondaryContainer",
|
||||
"md.sys.color.on-surface": "MaterialTheme.colorScheme.onSurface",
|
||||
"md.sys.color.on-surface-variant": "MaterialTheme.colorScheme.onSurfaceVariant",
|
||||
"md.sys.color.on-tertiary": "MaterialTheme.colorScheme.onTertiary",
|
||||
"md.sys.color.on-tertiary-container": "MaterialTheme.colorScheme.onTertiaryContainer",
|
||||
"md.sys.color.outline": "MaterialTheme.colorScheme.outline",
|
||||
"md.sys.color.primary": "MaterialTheme.colorScheme.primary",
|
||||
"md.sys.color.primary-container": "MaterialTheme.colorScheme.primaryContainer",
|
||||
"md.sys.color.secondary": "MaterialTheme.colorScheme.secondary",
|
||||
"md.sys.color.secondary-container": "MaterialTheme.colorScheme.secondaryContainer",
|
||||
"md.sys.color.surface": "MaterialTheme.colorScheme.surface",
|
||||
"md.sys.color.surface-variant": "MaterialTheme.colorScheme.surfaceVariant",
|
||||
"md.sys.color.tertiary": "MaterialTheme.colorScheme.tertiary",
|
||||
"md.sys.color.tertiary-container": "MaterialTheme.colorScheme.tertiaryContainer"
|
||||
},
|
||||
"typography": {
|
||||
"symbols": {
|
||||
"md.sys.typescale.display-large": "MaterialTheme.typography.displayLarge",
|
||||
"md.sys.typescale.display-medium": "MaterialTheme.typography.displayMedium",
|
||||
"md.sys.typescale.display-small": "MaterialTheme.typography.displaySmall",
|
||||
"md.sys.typescale.headline-large": "MaterialTheme.typography.headlineLarge",
|
||||
"md.sys.typescale.headline-medium": "MaterialTheme.typography.headlineMedium",
|
||||
"md.sys.typescale.headline-small": "MaterialTheme.typography.headlineSmall",
|
||||
"md.sys.typescale.title-large": "MaterialTheme.typography.titleLarge",
|
||||
"md.sys.typescale.title-medium": "MaterialTheme.typography.titleMedium",
|
||||
"md.sys.typescale.title-small": "MaterialTheme.typography.titleSmall",
|
||||
"md.sys.typescale.body-large": "MaterialTheme.typography.bodyLarge",
|
||||
"md.sys.typescale.body-medium": "MaterialTheme.typography.bodyMedium",
|
||||
"md.sys.typescale.body-small": "MaterialTheme.typography.bodySmall",
|
||||
"md.sys.typescale.label-large": "MaterialTheme.typography.labelLarge",
|
||||
"md.sys.typescale.label-medium": "MaterialTheme.typography.labelMedium",
|
||||
"md.sys.typescale.label-small": "MaterialTheme.typography.labelSmall"
|
||||
},
|
||||
"subproperties": {
|
||||
"font": "fontFamily",
|
||||
"weight": "fontWeight",
|
||||
"size": "fontSize",
|
||||
"tracking": "letterSpacing",
|
||||
"line-height": "lineHeight"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"packages": {
|
||||
"MaterialTheme": "androidx.compose.material3"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1
app/src/main/ui-packages/navigation_bar/VERSION.txt
Normal file
1
app/src/main/ui-packages/navigation_bar/VERSION.txt
Normal file
@ -0,0 +1 @@
|
||||
0.3.12
|
4
app/src/main/ui-packages/navigation_bar/config.json
Normal file
4
app/src/main/ui-packages/navigation_bar/config.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"preview-theme": "androidx.compose.material3.MaterialTheme",
|
||||
"ambient-translations-path": "app/src/main/ui-package-resources/style-mappings/m3_design_kit.json"
|
||||
}
|
304
app/src/main/ui-packages/navigation_bar/navigation_bar.json
Normal file
304
app/src/main/ui-packages/navigation_bar/navigation_bar.json
Normal file
@ -0,0 +1,304 @@
|
||||
{
|
||||
"name": "navigation_bar",
|
||||
"version": 33,
|
||||
"source-key": {
|
||||
"type": "figma",
|
||||
"file": "7RzB5mC9Qj82hGEbAM11GM",
|
||||
"node": "38:3",
|
||||
"version": "2201697548108180498",
|
||||
"component-id": "915162a5cdf4f7f91ace42d239b4d1faf0d5c6e7"
|
||||
},
|
||||
"default": "Navigation bar",
|
||||
"documentation": "bottom nav bar",
|
||||
"design": {
|
||||
"atoms": [
|
||||
{
|
||||
"type": "group",
|
||||
"id": "top_level",
|
||||
"root": "true"
|
||||
},
|
||||
{
|
||||
"type": "group",
|
||||
"id": "world view"
|
||||
},
|
||||
{
|
||||
"type": "group",
|
||||
"id": "list view"
|
||||
},
|
||||
{
|
||||
"type": "group",
|
||||
"id": "icon-container"
|
||||
},
|
||||
{
|
||||
"type": "group",
|
||||
"id": "state-layer"
|
||||
},
|
||||
{
|
||||
"type": "group",
|
||||
"id": "Frame"
|
||||
},
|
||||
{
|
||||
"type": "vector",
|
||||
"id": "Vector"
|
||||
},
|
||||
{
|
||||
"type": "group",
|
||||
"id": "icon-container1"
|
||||
},
|
||||
{
|
||||
"type": "group",
|
||||
"id": "state-layer1"
|
||||
},
|
||||
{
|
||||
"type": "group",
|
||||
"id": "Frame1"
|
||||
},
|
||||
{
|
||||
"type": "vector",
|
||||
"id": "Vector1"
|
||||
}
|
||||
],
|
||||
"modes": {
|
||||
"Navigation bar": {
|
||||
"rules": [
|
||||
{
|
||||
"id": "top_level",
|
||||
"padding": {
|
||||
"left": 8.0,
|
||||
"right": 8.0
|
||||
},
|
||||
"size-constraints": {
|
||||
"width-constraints": {
|
||||
"sizing-mode": "proportional",
|
||||
"value": 1.0
|
||||
},
|
||||
"height-constraints": {
|
||||
"sizing-mode": "shrink"
|
||||
}
|
||||
},
|
||||
"arrangement": "row",
|
||||
"cross-axis-align": "end",
|
||||
"children": [
|
||||
"world view",
|
||||
"list view"
|
||||
],
|
||||
"background-color": {
|
||||
"alpha": 1.0,
|
||||
"hue": 0.0,
|
||||
"saturation": 0.0,
|
||||
"value": 0.9215686274509803
|
||||
},
|
||||
"clip-content": false
|
||||
},
|
||||
{
|
||||
"id": "world view",
|
||||
"padding": {
|
||||
"top": 12.0,
|
||||
"bottom": 16.0
|
||||
},
|
||||
"size-constraints": {
|
||||
"width-constraints": {
|
||||
"sizing-mode": "proportional",
|
||||
"value": 1.0
|
||||
},
|
||||
"height-constraints": {
|
||||
"sizing-mode": "shrink"
|
||||
}
|
||||
},
|
||||
"children": [
|
||||
"icon-container"
|
||||
],
|
||||
"item-spacing": 4.0,
|
||||
"clip-content": false
|
||||
},
|
||||
{
|
||||
"id": "list view",
|
||||
"padding": {
|
||||
"top": 12.0,
|
||||
"bottom": 16.0
|
||||
},
|
||||
"size-constraints": {
|
||||
"width-constraints": {
|
||||
"sizing-mode": "proportional",
|
||||
"value": 1.0
|
||||
},
|
||||
"height-constraints": {
|
||||
"sizing-mode": "shrink"
|
||||
}
|
||||
},
|
||||
"children": [
|
||||
"icon-container1"
|
||||
],
|
||||
"item-spacing": 4.0,
|
||||
"clip-content": false
|
||||
},
|
||||
{
|
||||
"id": "icon-container",
|
||||
"border-radius": 16.0,
|
||||
"size-constraints": {
|
||||
"width-constraints": {
|
||||
"sizing-mode": "shrink"
|
||||
},
|
||||
"height-constraints": {
|
||||
"sizing-mode": "shrink"
|
||||
}
|
||||
},
|
||||
"children": [
|
||||
"state-layer"
|
||||
],
|
||||
"background-color": {
|
||||
"alpha": 1.0,
|
||||
"hue": 0.0,
|
||||
"saturation": 0.0,
|
||||
"value": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "state-layer",
|
||||
"padding": {
|
||||
"left": 20.0,
|
||||
"top": 4.0,
|
||||
"right": 20.0,
|
||||
"bottom": 4.0
|
||||
},
|
||||
"size-constraints": {
|
||||
"width-constraints": {
|
||||
"sizing-mode": "fixed",
|
||||
"value": 48.0
|
||||
},
|
||||
"height-constraints": {
|
||||
"sizing-mode": "fixed",
|
||||
"value": 48.0
|
||||
}
|
||||
},
|
||||
"arrangement": "row",
|
||||
"children": [
|
||||
"Frame"
|
||||
],
|
||||
"clip-content": false
|
||||
},
|
||||
{
|
||||
"id": "Frame",
|
||||
"size-constraints": {
|
||||
"width-constraints": {
|
||||
"sizing-mode": "fixed",
|
||||
"value": 24.0
|
||||
},
|
||||
"height-constraints": {
|
||||
"sizing-mode": "fixed",
|
||||
"value": 24.0
|
||||
}
|
||||
},
|
||||
"is-structured": false,
|
||||
"children": [
|
||||
"Vector"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "Vector",
|
||||
"margin": 2.0,
|
||||
"size-constraints": {
|
||||
"width-constraints": {
|
||||
"sizing-mode": "proportional",
|
||||
"value": 1.0
|
||||
},
|
||||
"height-constraints": {
|
||||
"sizing-mode": "proportional",
|
||||
"value": 1.0
|
||||
}
|
||||
},
|
||||
"vector-content": "vector.svg"
|
||||
},
|
||||
{
|
||||
"id": "icon-container1",
|
||||
"border-radius": 16.0,
|
||||
"size-constraints": {
|
||||
"width-constraints": {
|
||||
"sizing-mode": "shrink"
|
||||
},
|
||||
"height-constraints": {
|
||||
"sizing-mode": "shrink"
|
||||
}
|
||||
},
|
||||
"children": [
|
||||
"state-layer1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "state-layer1",
|
||||
"padding": {
|
||||
"left": 20.0,
|
||||
"top": 4.0,
|
||||
"right": 20.0,
|
||||
"bottom": 4.0
|
||||
},
|
||||
"size-constraints": {
|
||||
"width-constraints": {
|
||||
"sizing-mode": "fixed",
|
||||
"value": 48.0
|
||||
},
|
||||
"height-constraints": {
|
||||
"sizing-mode": "fixed",
|
||||
"value": 48.0
|
||||
}
|
||||
},
|
||||
"arrangement": "row",
|
||||
"children": [
|
||||
"Frame1"
|
||||
],
|
||||
"clip-content": false
|
||||
},
|
||||
{
|
||||
"id": "Frame1",
|
||||
"size-constraints": {
|
||||
"width-constraints": {
|
||||
"sizing-mode": "fixed",
|
||||
"value": 24.0
|
||||
},
|
||||
"height-constraints": {
|
||||
"sizing-mode": "fixed",
|
||||
"value": 24.0
|
||||
}
|
||||
},
|
||||
"is-structured": false,
|
||||
"children": [
|
||||
"Vector1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "Vector1",
|
||||
"margin": {
|
||||
"left": 2.5,
|
||||
"top": 4.5,
|
||||
"right": 3.0,
|
||||
"bottom": 4.5
|
||||
},
|
||||
"size-constraints": {
|
||||
"width-constraints": {
|
||||
"sizing-mode": "proportional",
|
||||
"value": 1.0
|
||||
},
|
||||
"height-constraints": {
|
||||
"sizing-mode": "proportional",
|
||||
"value": 1.0
|
||||
}
|
||||
},
|
||||
"vector-content": "vector1.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"previews": [
|
||||
{
|
||||
"design": "Navigation bar",
|
||||
"size": {
|
||||
"width": 375.0,
|
||||
"height": 76.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"adin-component-search-paths": [],
|
||||
"image-search-paths": [],
|
||||
"vector-search-paths": []
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
3
app/src/main/ui-packages/navigation_bar/vector.svg
Normal file
3
app/src/main/ui-packages/navigation_bar/vector.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M15.9 15.39C15.64 14.59 14.89 14 14 14H13V11C13 10.7348 12.8946 10.4804 12.7071 10.2929C12.5196 10.1054 12.2652 10 12 10H6V8H8C8.26522 8 8.51957 7.89464 8.70711 7.70711C8.89464 7.51957 9 7.26522 9 7V5H11C11.5304 5 12.0391 4.78929 12.4142 4.41421C12.7893 4.03914 13 3.53043 13 3V2.59C15.93 3.77 18 6.64 18 10C18 12.08 17.2 13.97 15.9 15.39ZM9 17.93C5.05 17.44 2 14.08 2 10C2 9.38 2.08 8.78 2.21 8.21L7 13V14C7 14.5304 7.21071 15.0391 7.58579 15.4142C7.96086 15.7893 8.46957 16 9 16M10 0C8.68678 0 7.38642 0.258658 6.17317 0.761205C4.95991 1.26375 3.85752 2.00035 2.92893 2.92893C1.05357 4.8043 0 7.34784 0 10C0 12.6522 1.05357 15.1957 2.92893 17.0711C3.85752 17.9997 4.95991 18.7362 6.17317 19.2388C7.38642 19.7413 8.68678 20 10 20C12.6522 20 15.1957 18.9464 17.0711 17.0711C18.9464 15.1957 20 12.6522 20 10C20 8.68678 19.7413 7.38642 19.2388 6.17317C18.7362 4.95991 17.9997 3.85752 17.0711 2.92893C16.1425 2.00035 15.0401 1.26375 13.8268 0.761205C12.6136 0.258658 11.3132 0 10 0Z" fill="#49454F"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.1 KiB |
3
app/src/main/ui-packages/navigation_bar/vector1.svg
Normal file
3
app/src/main/ui-packages/navigation_bar/vector1.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="19" height="15" viewBox="0 0 19 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M4.5 0.5H18.5V2.5H4.5V0.5ZM4.5 8.5V6.5H18.5V8.5H4.5ZM1.5 0C1.89782 0 2.27936 0.158035 2.56066 0.43934C2.84196 0.720644 3 1.10218 3 1.5C3 1.89782 2.84196 2.27936 2.56066 2.56066C2.27936 2.84196 1.89782 3 1.5 3C1.10218 3 0.720644 2.84196 0.43934 2.56066C0.158035 2.27936 0 1.89782 0 1.5C0 1.10218 0.158035 0.720644 0.43934 0.43934C0.720644 0.158035 1.10218 0 1.5 0ZM1.5 6C1.89782 6 2.27936 6.15804 2.56066 6.43934C2.84196 6.72064 3 7.10218 3 7.5C3 7.89782 2.84196 8.27936 2.56066 8.56066C2.27936 8.84196 1.89782 9 1.5 9C1.10218 9 0.720644 8.84196 0.43934 8.56066C0.158035 8.27936 0 7.89782 0 7.5C0 7.10218 0.158035 6.72064 0.43934 6.43934C0.720644 6.15804 1.10218 6 1.5 6ZM4.5 14.5V12.5H18.5V14.5H4.5ZM1.5 12C1.89782 12 2.27936 12.158 2.56066 12.4393C2.84196 12.7206 3 13.1022 3 13.5C3 13.8978 2.84196 14.2794 2.56066 14.5607C2.27936 14.842 1.89782 15 1.5 15C1.10218 15 0.720644 14.842 0.43934 14.5607C0.158035 14.2794 0 13.8978 0 13.5C0 13.1022 0.158035 12.7206 0.43934 12.4393C0.720644 12.158 1.10218 12 1.5 12Z" fill="#49454F"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.1 KiB |
@ -3,4 +3,5 @@ plugins {
|
||||
alias(libs.plugins.android.application) apply false
|
||||
alias(libs.plugins.kotlin.android) apply false
|
||||
alias(libs.plugins.kotlin.compose) apply false
|
||||
|
||||
}
|
@ -14,6 +14,7 @@ pluginManagement {
|
||||
dependencyResolutionManagement {
|
||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user