@adiraku/react-native-ui 1.2.9-canary-7 → 2.0.0-canary-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/ActionList/ActionList.component.js +8 -7
- package/lib/commonjs/components/ActionList/ActionList.component.js.map +1 -1
- package/lib/commonjs/components/ActionList/ActionList.styles.js +13 -10
- package/lib/commonjs/components/ActionList/ActionList.styles.js.map +1 -1
- package/lib/commonjs/components/Appbar/Appbar.component.js +5 -4
- package/lib/commonjs/components/Appbar/Appbar.component.js.map +1 -1
- package/lib/commonjs/components/Appbar/Appbar.style.js +15 -12
- package/lib/commonjs/components/Appbar/Appbar.style.js.map +1 -1
- package/lib/commonjs/components/BottomSheet/BottomSheet.component.js +1 -1
- package/lib/commonjs/components/BottomSheet/BottomSheet.component.js.map +1 -1
- package/lib/commonjs/components/BottomSheet/BottomSheet.style.js +10 -8
- package/lib/commonjs/components/BottomSheet/BottomSheet.style.js.map +1 -1
- package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.component.js +16 -16
- package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.component.js.map +1 -1
- package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.style.js +35 -25
- package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.style.js.map +1 -1
- package/lib/commonjs/components/Checkbox/Checkbox.component.js +8 -4
- package/lib/commonjs/components/Checkbox/Checkbox.component.js.map +1 -1
- package/lib/commonjs/components/Checkbox/Checkbox.style.js +16 -17
- package/lib/commonjs/components/Checkbox/Checkbox.style.js.map +1 -1
- package/lib/commonjs/components/Pagination/pagination.component.js +39 -0
- package/lib/commonjs/components/Pagination/pagination.component.js.map +1 -0
- package/lib/commonjs/components/Pagination/pagination.style.js +26 -0
- package/lib/commonjs/components/Pagination/pagination.style.js.map +1 -0
- package/lib/commonjs/components/Pagination/pagination.type.js +2 -0
- package/lib/commonjs/components/Pagination/pagination.type.js.map +1 -0
- package/lib/commonjs/components/RadioButton/RadioButton.component.js +1 -1
- package/lib/commonjs/components/RadioButton/RadioButton.component.js.map +1 -1
- package/lib/commonjs/components/RadioButton/RadioButton.style.js +15 -12
- package/lib/commonjs/components/RadioButton/RadioButton.style.js.map +1 -1
- package/lib/commonjs/components/RadioInput/RadioInput.component.js +17 -19
- package/lib/commonjs/components/RadioInput/RadioInput.component.js.map +1 -1
- package/lib/commonjs/components/RadioInput/RadioInput.style.js +35 -25
- package/lib/commonjs/components/RadioInput/RadioInput.style.js.map +1 -1
- package/lib/commonjs/components/StickyBar/StickyBar.component.js +67 -0
- package/lib/commonjs/components/StickyBar/StickyBar.component.js.map +1 -0
- package/lib/commonjs/components/StickyBar/StickyBar.style.js +64 -0
- package/lib/commonjs/components/StickyBar/StickyBar.style.js.map +1 -0
- package/lib/commonjs/components/StickyBar/StickyBar.type.js +6 -0
- package/lib/commonjs/components/StickyBar/StickyBar.type.js.map +1 -0
- package/lib/commonjs/components/TextInput/TextInput.component.js +9 -3
- package/lib/commonjs/components/TextInput/TextInput.component.js.map +1 -1
- package/lib/commonjs/components/TextInput/TextInput.style.js +30 -25
- package/lib/commonjs/components/TextInput/TextInput.style.js.map +1 -1
- package/lib/commonjs/components/View/View.component.js +42 -0
- package/lib/commonjs/components/View/View.component.js.map +1 -0
- package/lib/commonjs/components/View/View.type.js +6 -0
- package/lib/commonjs/components/View/View.type.js.map +1 -0
- package/lib/commonjs/components/button/button.component.js +7 -4
- package/lib/commonjs/components/button/button.component.js.map +1 -1
- package/lib/commonjs/components/button/button.styles.js +21 -17
- package/lib/commonjs/components/button/button.styles.js.map +1 -1
- package/lib/commonjs/components/calendars/calendars.component.js +37 -37
- package/lib/commonjs/components/calendars/calendars.component.js.map +1 -1
- package/lib/commonjs/components/calendars/calendars.service.js.map +1 -1
- package/lib/commonjs/components/calendars/calendars.style.js +73 -51
- package/lib/commonjs/components/calendars/calendars.style.js.map +1 -1
- package/lib/commonjs/components/index.js +21 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/typography/typography.component.js +12 -2
- package/lib/commonjs/components/typography/typography.component.js.map +1 -1
- package/lib/commonjs/components/typography/typography.style.js +21 -351
- package/lib/commonjs/components/typography/typography.style.js.map +1 -1
- package/lib/commonjs/config/index.js +50 -0
- package/lib/commonjs/config/index.js.map +1 -0
- package/lib/commonjs/config/makeStyles.js +37 -0
- package/lib/commonjs/config/makeStyles.js.map +1 -0
- package/lib/commonjs/config/theme.default.js +422 -0
- package/lib/commonjs/config/theme.default.js.map +1 -0
- package/lib/commonjs/config/theme.provider.js +48 -0
- package/lib/commonjs/config/theme.provider.js.map +1 -0
- package/lib/commonjs/config/theme.type.js +6 -0
- package/lib/commonjs/config/theme.type.js.map +1 -0
- package/lib/commonjs/index.js +11 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/themes/border.js.map +1 -1
- package/lib/commonjs/themes/colors.js +1 -1
- package/lib/commonjs/themes/shadow.js +1 -0
- package/lib/commonjs/themes/shadow.js.map +1 -1
- package/lib/module/components/ActionList/ActionList.component.js +8 -7
- package/lib/module/components/ActionList/ActionList.component.js.map +1 -1
- package/lib/module/components/ActionList/ActionList.styles.js +11 -7
- package/lib/module/components/ActionList/ActionList.styles.js.map +1 -1
- package/lib/module/components/Appbar/Appbar.component.js +4 -3
- package/lib/module/components/Appbar/Appbar.component.js.map +1 -1
- package/lib/module/components/Appbar/Appbar.style.js +10 -6
- package/lib/module/components/Appbar/Appbar.style.js.map +1 -1
- package/lib/module/components/BottomSheet/BottomSheet.component.js +2 -2
- package/lib/module/components/BottomSheet/BottomSheet.component.js.map +1 -1
- package/lib/module/components/BottomSheet/BottomSheet.style.js +10 -7
- package/lib/module/components/BottomSheet/BottomSheet.style.js.map +1 -1
- package/lib/module/components/CheckBoxInput/CheckBoxInput.component.js +17 -17
- package/lib/module/components/CheckBoxInput/CheckBoxInput.component.js.map +1 -1
- package/lib/module/components/CheckBoxInput/CheckBoxInput.style.js +24 -13
- package/lib/module/components/CheckBoxInput/CheckBoxInput.style.js.map +1 -1
- package/lib/module/components/Checkbox/Checkbox.component.js +9 -5
- package/lib/module/components/Checkbox/Checkbox.component.js.map +1 -1
- package/lib/module/components/Checkbox/Checkbox.style.js +14 -14
- package/lib/module/components/Checkbox/Checkbox.style.js.map +1 -1
- package/lib/module/components/Pagination/pagination.component.js +31 -0
- package/lib/module/components/Pagination/pagination.component.js.map +1 -0
- package/lib/module/components/Pagination/pagination.style.js +20 -0
- package/lib/module/components/Pagination/pagination.style.js.map +1 -0
- package/lib/module/components/Pagination/pagination.type.js +2 -0
- package/lib/module/components/Pagination/pagination.type.js.map +1 -0
- package/lib/module/components/RadioButton/RadioButton.component.js +2 -2
- package/lib/module/components/RadioButton/RadioButton.component.js.map +1 -1
- package/lib/module/components/RadioButton/RadioButton.style.js +12 -8
- package/lib/module/components/RadioButton/RadioButton.style.js.map +1 -1
- package/lib/module/components/RadioInput/RadioInput.component.js +17 -19
- package/lib/module/components/RadioInput/RadioInput.component.js.map +1 -1
- package/lib/module/components/RadioInput/RadioInput.style.js +24 -13
- package/lib/module/components/RadioInput/RadioInput.style.js.map +1 -1
- package/lib/module/components/StickyBar/StickyBar.component.js +60 -0
- package/lib/module/components/StickyBar/StickyBar.component.js.map +1 -0
- package/lib/module/components/StickyBar/StickyBar.style.js +57 -0
- package/lib/module/components/StickyBar/StickyBar.style.js.map +1 -0
- package/lib/module/components/StickyBar/StickyBar.type.js +2 -0
- package/lib/module/components/StickyBar/StickyBar.type.js.map +1 -0
- package/lib/module/components/TextInput/TextInput.component.js +10 -4
- package/lib/module/components/TextInput/TextInput.component.js.map +1 -1
- package/lib/module/components/TextInput/TextInput.style.js +21 -15
- package/lib/module/components/TextInput/TextInput.style.js.map +1 -1
- package/lib/module/components/View/View.component.js +35 -0
- package/lib/module/components/View/View.component.js.map +1 -0
- package/lib/module/components/View/View.type.js +2 -0
- package/lib/module/components/View/View.type.js.map +1 -0
- package/lib/module/components/button/button.component.js +7 -4
- package/lib/module/components/button/button.component.js.map +1 -1
- package/lib/module/components/button/button.styles.js +14 -9
- package/lib/module/components/button/button.styles.js.map +1 -1
- package/lib/module/components/calendars/calendars.component.js +36 -36
- package/lib/module/components/calendars/calendars.component.js.map +1 -1
- package/lib/module/components/calendars/calendars.service.js.map +1 -1
- package/lib/module/components/calendars/calendars.style.js +65 -43
- package/lib/module/components/calendars/calendars.style.js.map +1 -1
- package/lib/module/components/index.js +3 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/typography/typography.component.js +13 -3
- package/lib/module/components/typography/typography.component.js.map +1 -1
- package/lib/module/components/typography/typography.style.js +21 -350
- package/lib/module/components/typography/typography.style.js.map +1 -1
- package/lib/module/config/index.js +5 -0
- package/lib/module/config/index.js.map +1 -0
- package/lib/module/config/makeStyles.js +30 -0
- package/lib/module/config/makeStyles.js.map +1 -0
- package/lib/module/config/theme.default.js +416 -0
- package/lib/module/config/theme.default.js.map +1 -0
- package/lib/module/config/theme.provider.js +35 -0
- package/lib/module/config/theme.provider.js.map +1 -0
- package/lib/module/config/theme.type.js +2 -0
- package/lib/module/config/theme.type.js.map +1 -0
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/themes/border.js.map +1 -1
- package/lib/module/themes/colors.js +1 -1
- package/lib/module/themes/shadow.js +1 -0
- package/lib/module/themes/shadow.js.map +1 -1
- package/lib/typescript/components/ActionList/ActionList.component.d.ts.map +1 -1
- package/lib/typescript/components/ActionList/ActionList.styles.d.ts +3 -4
- package/lib/typescript/components/ActionList/ActionList.styles.d.ts.map +1 -1
- package/lib/typescript/components/Appbar/Appbar.component.d.ts.map +1 -1
- package/lib/typescript/components/Appbar/Appbar.style.d.ts +2 -3
- package/lib/typescript/components/Appbar/Appbar.style.d.ts.map +1 -1
- package/lib/typescript/components/BottomSheet/BottomSheet.style.d.ts +1 -1
- package/lib/typescript/components/BottomSheet/BottomSheet.style.d.ts.map +1 -1
- package/lib/typescript/components/CheckBoxInput/CheckBoxInput.component.d.ts +1 -1
- package/lib/typescript/components/CheckBoxInput/CheckBoxInput.component.d.ts.map +1 -1
- package/lib/typescript/components/CheckBoxInput/CheckBoxInput.style.d.ts +5 -4
- package/lib/typescript/components/CheckBoxInput/CheckBoxInput.style.d.ts.map +1 -1
- package/lib/typescript/components/Checkbox/Checkbox.component.d.ts.map +1 -1
- package/lib/typescript/components/Checkbox/Checkbox.style.d.ts +3 -2
- package/lib/typescript/components/Checkbox/Checkbox.style.d.ts.map +1 -1
- package/lib/typescript/components/Pagination/pagination.component.d.ts +5 -0
- package/lib/typescript/components/Pagination/pagination.component.d.ts.map +1 -0
- package/lib/typescript/components/Pagination/pagination.style.d.ts +19 -0
- package/lib/typescript/components/Pagination/pagination.style.d.ts.map +1 -0
- package/lib/typescript/components/Pagination/pagination.type.d.ts +15 -0
- package/lib/typescript/components/Pagination/pagination.type.d.ts.map +1 -0
- package/lib/typescript/components/RadioButton/RadioButton.component.d.ts +1 -1
- package/lib/typescript/components/RadioButton/RadioButton.component.d.ts.map +1 -1
- package/lib/typescript/components/RadioButton/RadioButton.style.d.ts +2 -2
- package/lib/typescript/components/RadioButton/RadioButton.style.d.ts.map +1 -1
- package/lib/typescript/components/RadioInput/RadioInput.component.d.ts.map +1 -1
- package/lib/typescript/components/RadioInput/RadioInput.style.d.ts +5 -4
- package/lib/typescript/components/RadioInput/RadioInput.style.d.ts.map +1 -1
- package/lib/typescript/components/StickyBar/StickyBar.component.d.ts +5 -0
- package/lib/typescript/components/StickyBar/StickyBar.component.d.ts.map +1 -0
- package/lib/typescript/components/StickyBar/StickyBar.style.d.ts +15 -0
- package/lib/typescript/components/StickyBar/StickyBar.style.d.ts.map +1 -0
- package/lib/typescript/components/StickyBar/StickyBar.type.d.ts +30 -0
- package/lib/typescript/components/StickyBar/StickyBar.type.d.ts.map +1 -0
- package/lib/typescript/components/TextInput/TextInput.component.d.ts.map +1 -1
- package/lib/typescript/components/TextInput/TextInput.style.d.ts +6 -4
- package/lib/typescript/components/TextInput/TextInput.style.d.ts.map +1 -1
- package/lib/typescript/components/TextInput/TextInput.type.d.ts +1 -1
- package/lib/typescript/components/TextInput/TextInput.type.d.ts.map +1 -1
- package/lib/typescript/components/View/View.component.d.ts +4 -0
- package/lib/typescript/components/View/View.component.d.ts.map +1 -0
- package/lib/typescript/components/View/View.type.d.ts +10 -0
- package/lib/typescript/components/View/View.type.d.ts.map +1 -0
- package/lib/typescript/components/button/button.component.d.ts.map +1 -1
- package/lib/typescript/components/button/button.styles.d.ts +3 -4
- package/lib/typescript/components/button/button.styles.d.ts.map +1 -1
- package/lib/typescript/components/calendars/calendars.component.d.ts.map +1 -1
- package/lib/typescript/components/calendars/calendars.service.d.ts.map +1 -1
- package/lib/typescript/components/calendars/calendars.style.d.ts +6 -4
- package/lib/typescript/components/calendars/calendars.style.d.ts.map +1 -1
- package/lib/typescript/components/index.d.ts +7 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/components/typography/typography.component.d.ts +1 -1
- package/lib/typescript/components/typography/typography.component.d.ts.map +1 -1
- package/lib/typescript/components/typography/typography.style.d.ts +5 -60
- package/lib/typescript/components/typography/typography.style.d.ts.map +1 -1
- package/lib/typescript/components/typography/typography.type.d.ts +7 -0
- package/lib/typescript/components/typography/typography.type.d.ts.map +1 -1
- package/lib/typescript/config/index.d.ts +5 -0
- package/lib/typescript/config/index.d.ts.map +1 -0
- package/lib/typescript/config/makeStyles.d.ts +4 -0
- package/lib/typescript/config/makeStyles.d.ts.map +1 -0
- package/lib/typescript/config/theme.default.d.ts +178 -0
- package/lib/typescript/config/theme.default.d.ts.map +1 -0
- package/lib/typescript/config/theme.provider.d.ts +8 -0
- package/lib/typescript/config/theme.provider.d.ts.map +1 -0
- package/lib/typescript/config/theme.type.d.ts +12 -0
- package/lib/typescript/config/theme.type.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/themes/shadow.d.ts +2 -3
- package/lib/typescript/themes/shadow.d.ts.map +1 -1
- package/package.json +5 -1
- package/src/components/ActionList/ActionList.component.tsx +20 -17
- package/src/components/ActionList/ActionList.styles.tsx +11 -11
- package/src/components/Appbar/Appbar.component.tsx +4 -3
- package/src/components/Appbar/Appbar.style.tsx +9 -9
- package/src/components/BottomSheet/BottomSheet.component.tsx +2 -2
- package/src/components/BottomSheet/BottomSheet.style.tsx +9 -7
- package/src/components/CheckBoxInput/CheckBoxInput.component.tsx +21 -20
- package/src/components/CheckBoxInput/CheckBoxInput.style.tsx +29 -15
- package/src/components/Checkbox/Checkbox.component.tsx +13 -13
- package/src/components/Checkbox/Checkbox.style.tsx +16 -17
- package/src/components/Pagination/pagination.component.tsx +29 -0
- package/src/components/Pagination/pagination.style.tsx +20 -0
- package/src/components/Pagination/pagination.type.ts +16 -0
- package/src/components/RadioButton/RadioButton.component.tsx +3 -4
- package/src/components/RadioButton/RadioButton.style.tsx +10 -10
- package/src/components/RadioInput/RadioInput.component.tsx +14 -15
- package/src/components/RadioInput/RadioInput.style.tsx +29 -15
- package/src/components/StickyBar/StickyBar.component.tsx +74 -0
- package/src/components/StickyBar/StickyBar.style.tsx +79 -0
- package/src/components/StickyBar/StickyBar.type.ts +35 -0
- package/src/components/TextInput/TextInput.component.tsx +7 -6
- package/src/components/TextInput/TextInput.style.tsx +86 -70
- package/src/components/TextInput/TextInput.type.ts +1 -1
- package/src/components/View/View.component.tsx +42 -0
- package/src/components/View/View.type.ts +14 -0
- package/src/components/button/button.component.tsx +9 -4
- package/src/components/button/button.styles.ts +15 -15
- package/src/components/calendars/calendars.component.tsx +27 -22
- package/src/components/calendars/calendars.service.ts +7 -3
- package/src/components/calendars/calendars.style.ts +77 -49
- package/src/components/index.ts +15 -0
- package/src/components/typography/typography.component.tsx +17 -4
- package/src/components/typography/typography.style.tsx +17 -472
- package/src/components/typography/typography.type.ts +9 -0
- package/src/config/index.ts +4 -0
- package/src/config/makeStyles.ts +52 -0
- package/src/config/theme.default.ts +440 -0
- package/src/config/theme.provider.tsx +53 -0
- package/src/config/theme.type.ts +17 -0
- package/src/index.tsx +1 -0
- package/src/themes/border.ts +3 -3
- package/src/themes/colors.ts +1 -1
- package/src/themes/shadow.tsx +4 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_typography","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","Typography","props","variant","children","textStyles","style","rest","
|
|
1
|
+
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_typography","_config","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","Typography","props","variant","children","textStyles","style","color","rest","styles","useStyles","colors","useAppTheme","createElement","Text","base","exports"],"sourceRoot":"../../../../src","sources":["components/typography/typography.component.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,WAAA,GAAAF,OAAA;AAEA,IAAAG,OAAA,GAAAH,OAAA;AAA2C,SAAAI,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAN,wBAAAM,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,CAAA,SAAAG,CAAA,GAAAP,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAG,CAAA,KAAAA,CAAA,CAAAV,GAAA,IAAAU,CAAA,CAAAC,GAAA,IAAAP,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAG,CAAA,IAAAT,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAe,GAAA,CAAAlB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAAA,SAAAW,SAAA,WAAAA,QAAA,GAAAR,MAAA,CAAAS,MAAA,GAAAT,MAAA,CAAAS,MAAA,CAAAC,IAAA,eAAAb,CAAA,aAAAR,CAAA,MAAAA,CAAA,GAAAsB,SAAA,CAAAC,MAAA,EAAAvB,CAAA,UAAAG,CAAA,GAAAmB,SAAA,CAAAtB,CAAA,YAAAE,CAAA,IAAAC,CAAA,OAAAY,cAAA,CAAAC,IAAA,CAAAb,CAAA,EAAAD,CAAA,MAAAM,CAAA,CAAAN,CAAA,IAAAC,CAAA,CAAAD,CAAA,aAAAM,CAAA,KAAAW,QAAA,CAAAK,KAAA,OAAAF,SAAA;AAE3C,MAAMG,UAAU,GAAIC,KAAsB,IAAK;EAC7C,MAAM;IACJC,OAAO,GAAG,OAAO;IACjBC,QAAQ,GAAG,IAAI;IACfC,UAAU;IACVC,KAAK;IACLC,KAAK,GAAG,cAAc;IACtB,GAAGC;EACL,CAAC,GAAGN,KAAK;EAET,MAAMO,MAAM,GAAG,IAAAC,qBAAS,EAAC;IACvBP,OAAO;IACP,GAAGK;EACL,CAAC,CAAC;EAEF,MAAM;IAAEG;EAAO,CAAC,GAAG,IAAAC,mBAAW,EAAC,CAAC;EAEhC,oBACE3C,KAAA,CAAA4C,aAAA,CAACzC,YAAA,CAAA0C,IAAI,EAAAnB,QAAA;IACHW,KAAK,EAAE,CACLG,MAAM,CAACM,IAAI,EACX;MAAER,KAAK,EAAEI,MAAM,CAACJ,KAAK,CAAC,IAAII,MAAM,CAAC,cAAc;IAAE,CAAC,EAClDN,UAAU,EACVC,KAAK;EACL,GACEE,IAAI,GAEPJ,QACG,CAAC;AAEX,CAAC;AAACY,OAAA,CAAAf,UAAA,GAAAA,UAAA","ignoreList":[]}
|
|
@@ -3,358 +3,28 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
const getStyle = props => {
|
|
6
|
+
exports.useStyles = void 0;
|
|
7
|
+
var _config = require("../../config");
|
|
8
|
+
const useStyles = exports.useStyles = (0, _config.makeStyles)((themes, props) => {
|
|
10
9
|
const {
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
Fonts,
|
|
11
|
+
FontFamilyStyle
|
|
12
|
+
} = themes;
|
|
13
|
+
const {
|
|
14
|
+
variant = 'body1',
|
|
15
|
+
fontStyle = 'normal'
|
|
13
16
|
} = props;
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
fontFamily
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
computedStyle['heading1-semibold'] = {
|
|
26
|
-
...baseTextStyle,
|
|
27
|
-
...textSemibold,
|
|
28
|
-
fontSize: 92,
|
|
29
|
-
lineHeight: 144
|
|
30
|
-
};
|
|
31
|
-
computedStyle['heading1-regular'] = {
|
|
32
|
-
...baseTextStyle,
|
|
33
|
-
fontSize: 92,
|
|
34
|
-
lineHeight: 144
|
|
35
|
-
};
|
|
36
|
-
computedStyle['heading2-semibold'] = {
|
|
37
|
-
...baseTextStyle,
|
|
38
|
-
...textSemibold,
|
|
39
|
-
fontSize: 60,
|
|
40
|
-
lineHeight: 90
|
|
41
|
-
};
|
|
42
|
-
computedStyle['heading2-regular'] = {
|
|
43
|
-
...baseTextStyle,
|
|
44
|
-
fontSize: 60,
|
|
45
|
-
lineHeight: 90
|
|
46
|
-
};
|
|
47
|
-
computedStyle['heading3-semibold'] = {
|
|
48
|
-
...baseTextStyle,
|
|
49
|
-
...textSemibold,
|
|
50
|
-
fontSize: 48,
|
|
51
|
-
lineHeight: 72
|
|
52
|
-
};
|
|
53
|
-
computedStyle['heading3-regular'] = {
|
|
54
|
-
...baseTextStyle,
|
|
55
|
-
fontSize: 48,
|
|
56
|
-
lineHeight: 72
|
|
57
|
-
};
|
|
58
|
-
computedStyle['heading4-semibold'] = {
|
|
59
|
-
...baseTextStyle,
|
|
60
|
-
...textSemibold,
|
|
61
|
-
fontSize: 34,
|
|
62
|
-
lineHeight: 51
|
|
63
|
-
};
|
|
64
|
-
computedStyle['heading4-regular'] = {
|
|
65
|
-
...baseTextStyle,
|
|
66
|
-
fontSize: 34,
|
|
67
|
-
lineHeight: 51
|
|
68
|
-
};
|
|
69
|
-
computedStyle['heading5-bold'] = {
|
|
70
|
-
...baseTextStyle,
|
|
71
|
-
...textBold,
|
|
72
|
-
fontSize: 24,
|
|
73
|
-
lineHeight: 36
|
|
74
|
-
};
|
|
75
|
-
computedStyle['heading5-semibold'] = {
|
|
76
|
-
...baseTextStyle,
|
|
77
|
-
...textSemibold,
|
|
78
|
-
fontSize: 24,
|
|
79
|
-
lineHeight: 36
|
|
80
|
-
};
|
|
81
|
-
computedStyle['heading5-regular'] = {
|
|
82
|
-
...baseTextStyle,
|
|
83
|
-
fontSize: 24,
|
|
84
|
-
lineHeight: 36
|
|
85
|
-
};
|
|
86
|
-
computedStyle['heading6-bold'] = {
|
|
87
|
-
...baseTextStyle,
|
|
88
|
-
...textBold,
|
|
89
|
-
fontSize: 20,
|
|
90
|
-
lineHeight: 30
|
|
91
|
-
};
|
|
92
|
-
computedStyle['heading6-semibold'] = {
|
|
93
|
-
...baseTextStyle,
|
|
94
|
-
...textSemibold,
|
|
95
|
-
fontSize: 20,
|
|
96
|
-
lineHeight: 30
|
|
97
|
-
};
|
|
98
|
-
computedStyle['heading6-regular'] = {
|
|
99
|
-
...baseTextStyle,
|
|
100
|
-
fontSize: 20,
|
|
101
|
-
lineHeight: 30
|
|
102
|
-
};
|
|
103
|
-
computedStyle.subheading = {
|
|
104
|
-
...baseTextStyle,
|
|
105
|
-
...textSemibold,
|
|
106
|
-
fontSize: 18,
|
|
107
|
-
lineHeight: 27
|
|
108
|
-
};
|
|
109
|
-
computedStyle.subtitle1 = {
|
|
110
|
-
...baseTextStyle,
|
|
111
|
-
...textSemibold,
|
|
112
|
-
fontSize: 16,
|
|
113
|
-
lineHeight: 24
|
|
114
|
-
};
|
|
115
|
-
computedStyle.subtitle2 = {
|
|
116
|
-
...baseTextStyle,
|
|
117
|
-
...textSemibold,
|
|
118
|
-
fontSize: 14,
|
|
119
|
-
lineHeight: 21
|
|
120
|
-
};
|
|
121
|
-
computedStyle['subtitle2-extrabold'] = {
|
|
122
|
-
...baseTextStyle,
|
|
123
|
-
...textBold,
|
|
124
|
-
fontSize: 14,
|
|
125
|
-
lineHeight: 21
|
|
126
|
-
};
|
|
127
|
-
computedStyle.body1 = {
|
|
128
|
-
...baseTextStyle,
|
|
129
|
-
fontSize: 16,
|
|
130
|
-
lineHeight: 24
|
|
131
|
-
};
|
|
132
|
-
computedStyle.body2 = {
|
|
133
|
-
...baseTextStyle,
|
|
134
|
-
fontSize: 14,
|
|
135
|
-
lineHeight: 21
|
|
136
|
-
};
|
|
137
|
-
computedStyle.body3 = {
|
|
138
|
-
...baseTextStyle,
|
|
139
|
-
fontSize: 12,
|
|
140
|
-
lineHeight: 21
|
|
141
|
-
};
|
|
142
|
-
computedStyle.button = {
|
|
143
|
-
...baseTextStyle,
|
|
144
|
-
...textSemibold,
|
|
145
|
-
fontSize: 14,
|
|
146
|
-
lineHeight: 21
|
|
147
|
-
};
|
|
148
|
-
computedStyle['button-small'] = {
|
|
149
|
-
...baseTextStyle,
|
|
150
|
-
...textSemibold,
|
|
151
|
-
fontSize: 12,
|
|
152
|
-
lineHeight: 18
|
|
153
|
-
};
|
|
154
|
-
computedStyle.caption = {
|
|
155
|
-
...baseTextStyle,
|
|
156
|
-
fontSize: 12,
|
|
157
|
-
lineHeight: 18
|
|
158
|
-
};
|
|
159
|
-
computedStyle.caption2 = {
|
|
160
|
-
...baseTextStyle,
|
|
161
|
-
...textSemibold,
|
|
162
|
-
fontSize: 12,
|
|
163
|
-
lineHeight: 18
|
|
164
|
-
};
|
|
165
|
-
computedStyle.overline = {
|
|
166
|
-
...baseTextStyle,
|
|
167
|
-
...textSemibold,
|
|
168
|
-
fontSize: 10,
|
|
169
|
-
lineHeight: 15
|
|
170
|
-
};
|
|
171
|
-
computedStyle['overline-small'] = {
|
|
172
|
-
...baseTextStyle,
|
|
173
|
-
fontSize: 10,
|
|
174
|
-
lineHeight: 15
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
// -===== New Token update =====-
|
|
178
|
-
const textSemiboldV2 = {
|
|
179
|
-
fontFamily: fontStyle === 'italic' ? 'Montserrat-SemiBoldItalic' : 'Montserrat-SemiBold',
|
|
180
|
-
fontSize: 600
|
|
181
|
-
};
|
|
182
|
-
const textBoldV2 = {
|
|
183
|
-
fontFamily: fontStyle === 'italic' ? 'Montserrat-BoldItalic' : 'Montserrat-Bold',
|
|
184
|
-
fontSize: 700
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
// Heading
|
|
188
|
-
computedStyle['text-heading-h1-semibold'] = {
|
|
189
|
-
...baseTextStyle,
|
|
190
|
-
...textSemiboldV2,
|
|
191
|
-
fontSize: 96,
|
|
192
|
-
lineHeight: 96
|
|
17
|
+
const baseStyle = FontFamilyStyle[variant] ?? FontFamilyStyle.body1;
|
|
18
|
+
if (!baseStyle.fontFamily) {
|
|
19
|
+
// Apply appropriate font based on its font style
|
|
20
|
+
const fontType = baseStyle.fontType ?? 'regular';
|
|
21
|
+
const isItalic = fontStyle === 'italic' || baseStyle.fontStyle === 'italic';
|
|
22
|
+
const fontKey = fontType + (isItalic ? 'Italic' : '');
|
|
23
|
+
baseStyle.fontFamily = Fonts[fontKey];
|
|
24
|
+
}
|
|
25
|
+
delete baseStyle.fontType;
|
|
26
|
+
return {
|
|
27
|
+
base: baseStyle
|
|
193
28
|
};
|
|
194
|
-
|
|
195
|
-
...baseTextStyle,
|
|
196
|
-
fontSize: 96,
|
|
197
|
-
lineHeight: 96
|
|
198
|
-
};
|
|
199
|
-
computedStyle['text-heading-h2-semibold'] = {
|
|
200
|
-
...baseTextStyle,
|
|
201
|
-
...textSemiboldV2,
|
|
202
|
-
fontSize: 60,
|
|
203
|
-
lineHeight: 60
|
|
204
|
-
};
|
|
205
|
-
computedStyle['text-heading-h2-regular'] = {
|
|
206
|
-
...baseTextStyle,
|
|
207
|
-
fontSize: 60,
|
|
208
|
-
lineHeight: 60
|
|
209
|
-
};
|
|
210
|
-
computedStyle['text-heading-h3-bold'] = {
|
|
211
|
-
...baseTextStyle,
|
|
212
|
-
...textBoldV2,
|
|
213
|
-
fontSize: 48,
|
|
214
|
-
lineHeight: 48
|
|
215
|
-
};
|
|
216
|
-
computedStyle['text-heading-h3-regular'] = {
|
|
217
|
-
...baseTextStyle,
|
|
218
|
-
fontSize: 48,
|
|
219
|
-
lineHeight: 48
|
|
220
|
-
};
|
|
221
|
-
computedStyle['text-heading-h4-semibold'] = {
|
|
222
|
-
...baseTextStyle,
|
|
223
|
-
...textSemiboldV2,
|
|
224
|
-
fontSize: 34,
|
|
225
|
-
lineHeight: 34
|
|
226
|
-
};
|
|
227
|
-
computedStyle['text-heading-h4-regular'] = {
|
|
228
|
-
...baseTextStyle,
|
|
229
|
-
fontSize: 34,
|
|
230
|
-
lineHeight: 34
|
|
231
|
-
};
|
|
232
|
-
computedStyle['text-heading-h5-bold'] = {
|
|
233
|
-
...baseTextStyle,
|
|
234
|
-
...textBoldV2,
|
|
235
|
-
fontSize: 24,
|
|
236
|
-
lineHeight: 24
|
|
237
|
-
};
|
|
238
|
-
computedStyle['text-heading-h5-semibold'] = {
|
|
239
|
-
...baseTextStyle,
|
|
240
|
-
...textSemiboldV2,
|
|
241
|
-
fontSize: 24,
|
|
242
|
-
lineHeight: 24
|
|
243
|
-
};
|
|
244
|
-
computedStyle['text-heading-h5-regular'] = {
|
|
245
|
-
...baseTextStyle,
|
|
246
|
-
fontSize: 24,
|
|
247
|
-
lineHeight: 24
|
|
248
|
-
};
|
|
249
|
-
computedStyle['text-heading-h6-bold'] = {
|
|
250
|
-
...baseTextStyle,
|
|
251
|
-
...textBoldV2,
|
|
252
|
-
fontSize: 20,
|
|
253
|
-
lineHeight: 20
|
|
254
|
-
};
|
|
255
|
-
computedStyle['text-heading-h6-semibold'] = {
|
|
256
|
-
...baseTextStyle,
|
|
257
|
-
...textSemiboldV2,
|
|
258
|
-
fontSize: 20,
|
|
259
|
-
lineHeight: 20
|
|
260
|
-
};
|
|
261
|
-
computedStyle['text-heading-h6-regular'] = {
|
|
262
|
-
...baseTextStyle,
|
|
263
|
-
fontSize: 20,
|
|
264
|
-
lineHeight: 20
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
// Sub Heading
|
|
268
|
-
computedStyle['text-sub-heading-semibold'] = {
|
|
269
|
-
...baseTextStyle,
|
|
270
|
-
...textSemiboldV2,
|
|
271
|
-
fontSize: 14,
|
|
272
|
-
lineHeight: 14
|
|
273
|
-
};
|
|
274
|
-
|
|
275
|
-
// Subtitle
|
|
276
|
-
computedStyle['text-subtitle-primary-semibold'] = {
|
|
277
|
-
...baseTextStyle,
|
|
278
|
-
...textSemiboldV2,
|
|
279
|
-
fontSize: 16,
|
|
280
|
-
lineHeight: 16
|
|
281
|
-
};
|
|
282
|
-
computedStyle['text-subtitle-secondary-bold'] = {
|
|
283
|
-
...baseTextStyle,
|
|
284
|
-
...textSemiboldV2,
|
|
285
|
-
fontSize: 14,
|
|
286
|
-
lineHeight: 14
|
|
287
|
-
};
|
|
288
|
-
computedStyle['text-subtitle-secondary-semibold'] = {
|
|
289
|
-
...baseTextStyle,
|
|
290
|
-
...textSemiboldV2,
|
|
291
|
-
fontSize: 14,
|
|
292
|
-
lineHeight: 14
|
|
293
|
-
};
|
|
294
|
-
|
|
295
|
-
// Button
|
|
296
|
-
computedStyle['text-button-default-semibold'] = {
|
|
297
|
-
...baseTextStyle,
|
|
298
|
-
...textSemiboldV2,
|
|
299
|
-
fontSize: 14,
|
|
300
|
-
lineHeight: 14
|
|
301
|
-
};
|
|
302
|
-
computedStyle['text-button-small-semibold'] = {
|
|
303
|
-
...baseTextStyle,
|
|
304
|
-
...textSemiboldV2,
|
|
305
|
-
fontSize: 12,
|
|
306
|
-
lineHeight: 12
|
|
307
|
-
};
|
|
308
|
-
|
|
309
|
-
// Caption
|
|
310
|
-
computedStyle['text-caption-semibold'] = {
|
|
311
|
-
...baseTextStyle,
|
|
312
|
-
...textSemiboldV2,
|
|
313
|
-
fontSize: 12,
|
|
314
|
-
lineHeight: 12
|
|
315
|
-
};
|
|
316
|
-
computedStyle['text-caption-regular'] = {
|
|
317
|
-
...baseTextStyle,
|
|
318
|
-
fontSize: 12,
|
|
319
|
-
lineHeight: 12
|
|
320
|
-
};
|
|
321
|
-
|
|
322
|
-
// Overline
|
|
323
|
-
computedStyle['text-overline-semibold'] = {
|
|
324
|
-
...baseTextStyle,
|
|
325
|
-
...textSemiboldV2,
|
|
326
|
-
fontSize: 10,
|
|
327
|
-
lineHeight: 10
|
|
328
|
-
};
|
|
329
|
-
computedStyle['text-overline-regular'] = {
|
|
330
|
-
...baseTextStyle,
|
|
331
|
-
fontSize: 12,
|
|
332
|
-
lineHeight: 12
|
|
333
|
-
};
|
|
334
|
-
computedStyle['text-overline-strike'] = {
|
|
335
|
-
...baseTextStyle,
|
|
336
|
-
textDecorationLine: 'line-through',
|
|
337
|
-
fontSize: 12,
|
|
338
|
-
lineHeight: 12
|
|
339
|
-
};
|
|
340
|
-
|
|
341
|
-
// Body
|
|
342
|
-
computedStyle['text-body-primary-regular'] = {
|
|
343
|
-
...baseTextStyle,
|
|
344
|
-
fontSize: 16,
|
|
345
|
-
lineHeight: 16
|
|
346
|
-
};
|
|
347
|
-
computedStyle['text-body-secondary-regular'] = {
|
|
348
|
-
...baseTextStyle,
|
|
349
|
-
fontSize: 14,
|
|
350
|
-
lineHeight: 14
|
|
351
|
-
};
|
|
352
|
-
computedStyle['text-body-tertiary-regular'] = {
|
|
353
|
-
...baseTextStyle,
|
|
354
|
-
fontSize: 12,
|
|
355
|
-
lineHeight: 12
|
|
356
|
-
};
|
|
357
|
-
return _reactNative.StyleSheet.create(computedStyle);
|
|
358
|
-
};
|
|
359
|
-
exports.getStyle = getStyle;
|
|
29
|
+
});
|
|
360
30
|
//# sourceMappingURL=typography.style.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_config","require","useStyles","exports","makeStyles","themes","props","Fonts","FontFamilyStyle","variant","fontStyle","baseStyle","body1","fontFamily","fontType","isItalic","fontKey","base"],"sourceRoot":"../../../../src","sources":["components/typography/typography.style.tsx"],"mappings":";;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AAEO,MAAMC,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAG,IAAAE,kBAAU,EAAC,CAACC,MAAM,EAAEC,KAAsB,KAAK;EACtE,MAAM;IAAEC,KAAK;IAAEC;EAAgB,CAAC,GAAGH,MAAM;EACzC,MAAM;IAAEI,OAAO,GAAG,OAAO;IAAEC,SAAS,GAAG;EAAS,CAAC,GAAGJ,KAAK;EAEzD,MAAMK,SAAS,GAAGH,eAAe,CAACC,OAAO,CAAC,IAAID,eAAe,CAACI,KAAK;EAEnE,IAAI,CAACD,SAAS,CAACE,UAAU,EAAE;IACzB;IACA,MAAMC,QAAQ,GAAGH,SAAS,CAACG,QAAQ,IAAI,SAAS;IAChD,MAAMC,QAAQ,GAAGL,SAAS,KAAK,QAAQ,IAAIC,SAAS,CAACD,SAAS,KAAK,QAAQ;IAC3E,MAAMM,OAAO,GAAIF,QAAQ,IACtBC,QAAQ,GAAG,QAAQ,GAAG,EAAE,CAAwB;IAEnDJ,SAAS,CAACE,UAAU,GAAGN,KAAK,CAACS,OAAO,CAAC;EACvC;EAEA,OAAOL,SAAS,CAACG,QAAQ;EAEzB,OAAO;IACLG,IAAI,EAAEN;EACR,CAAC;AACH,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _theme = require("./theme.default");
|
|
7
|
+
Object.keys(_theme).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _theme[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _theme[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
var _theme2 = require("./theme.type");
|
|
18
|
+
Object.keys(_theme2).forEach(function (key) {
|
|
19
|
+
if (key === "default" || key === "__esModule") return;
|
|
20
|
+
if (key in exports && exports[key] === _theme2[key]) return;
|
|
21
|
+
Object.defineProperty(exports, key, {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () {
|
|
24
|
+
return _theme2[key];
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
var _theme3 = require("./theme.provider");
|
|
29
|
+
Object.keys(_theme3).forEach(function (key) {
|
|
30
|
+
if (key === "default" || key === "__esModule") return;
|
|
31
|
+
if (key in exports && exports[key] === _theme3[key]) return;
|
|
32
|
+
Object.defineProperty(exports, key, {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () {
|
|
35
|
+
return _theme3[key];
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
var _makeStyles = require("./makeStyles");
|
|
40
|
+
Object.keys(_makeStyles).forEach(function (key) {
|
|
41
|
+
if (key === "default" || key === "__esModule") return;
|
|
42
|
+
if (key in exports && exports[key] === _makeStyles[key]) return;
|
|
43
|
+
Object.defineProperty(exports, key, {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () {
|
|
46
|
+
return _makeStyles[key];
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_theme","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_theme2","_theme3","_makeStyles"],"sourceRoot":"../../../src","sources":["config/index.ts"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,OAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,OAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,OAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,OAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,OAAA,GAAAV,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAQ,OAAA,EAAAP,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAM,OAAA,CAAAN,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAE,OAAA,CAAAN,GAAA;IAAA;EAAA;AAAA;AACA,IAAAO,WAAA,GAAAX,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAS,WAAA,EAAAR,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAO,WAAA,CAAAP,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAG,WAAA,CAAAP,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.makeStyles = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _theme = require("./theme.provider");
|
|
10
|
+
const makeStyles = styles => props => {
|
|
11
|
+
const {
|
|
12
|
+
colors,
|
|
13
|
+
Border,
|
|
14
|
+
FontFamilyStyle,
|
|
15
|
+
Fonts,
|
|
16
|
+
Radius,
|
|
17
|
+
Shadow,
|
|
18
|
+
Spacing,
|
|
19
|
+
colorScheme
|
|
20
|
+
} = (0, _theme.useAppTheme)();
|
|
21
|
+
return (0, _react.useMemo)(() => {
|
|
22
|
+
const theme = {
|
|
23
|
+
colors,
|
|
24
|
+
Border,
|
|
25
|
+
FontFamilyStyle,
|
|
26
|
+
Fonts,
|
|
27
|
+
Radius,
|
|
28
|
+
Shadow,
|
|
29
|
+
Spacing,
|
|
30
|
+
colorScheme
|
|
31
|
+
};
|
|
32
|
+
const css = typeof styles === 'function' ? styles(theme, props ?? {}) : styles;
|
|
33
|
+
return _reactNative.StyleSheet.create(css);
|
|
34
|
+
}, [Border, FontFamilyStyle, Fonts, Radius, Shadow, Spacing, colorScheme, colors, props]);
|
|
35
|
+
};
|
|
36
|
+
exports.makeStyles = makeStyles;
|
|
37
|
+
//# sourceMappingURL=makeStyles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_theme","makeStyles","styles","props","colors","Border","FontFamilyStyle","Fonts","Radius","Shadow","Spacing","colorScheme","useAppTheme","useMemo","theme","css","StyleSheet","create","exports"],"sourceRoot":"../../../src","sources":["config/makeStyles.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AAGO,MAAMG,UAAU,GAEnBC,MAAmD,IAEpDC,KAAS,IAAQ;EAChB,MAAM;IACJC,MAAM;IACNC,MAAM;IACNC,eAAe;IACfC,KAAK;IACLC,MAAM;IACNC,MAAM;IACNC,OAAO;IACPC;EACF,CAAC,GAAG,IAAAC,kBAAW,EAAC,CAAC;EAEjB,OAAO,IAAAC,cAAO,EAAC,MAAM;IACnB,MAAMC,KAAK,GAAG;MACZV,MAAM;MACNC,MAAM;MACNC,eAAe;MACfC,KAAK;MACLC,MAAM;MACNC,MAAM;MACNC,OAAO;MACPC;IACF,CAAC;IAED,MAAMI,GAAG,GACP,OAAOb,MAAM,KAAK,UAAU,GACxBA,MAAM,CAACY,KAAK,EAAEX,KAAK,IAAK,CAAC,CAAS,CAAC,GACnCD,MAAM;IAEZ,OAAOc,uBAAU,CAACC,MAAM,CAACF,GAAG,CAAC;EAC/B,CAAC,EAAE,CACDV,MAAM,EACNC,eAAe,EACfC,KAAK,EACLC,MAAM,EACNC,MAAM,EACNC,OAAO,EACPC,WAAW,EACXP,MAAM,EACND,KAAK,CACN,CAAC;AACJ,CAAC;AAACe,OAAA,CAAAjB,UAAA,GAAAA,UAAA","ignoreList":[]}
|