react-native-mantine 0.5.0 → 0.6.0
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/README.md +0 -357
- package/lib/commonjs/components/Button/Button.styles.js +4 -4
- package/lib/commonjs/components/Button/Button.styles.js.map +1 -1
- package/lib/commonjs/components/Button/index.js +15 -14
- package/lib/commonjs/components/Button/index.js.map +1 -1
- package/lib/commonjs/components/Chip/index.js.map +1 -1
- package/lib/commonjs/components/CloseButton/index.js +5 -30
- package/lib/commonjs/components/CloseButton/index.js.map +1 -1
- package/lib/commonjs/components/Collapse/index.js +10 -2
- package/lib/commonjs/components/Collapse/index.js.map +1 -1
- package/lib/commonjs/components/Dialog/index.js +51 -8
- package/lib/commonjs/components/Dialog/index.js.map +1 -1
- package/lib/commonjs/components/Drawer/index.js +4 -13
- package/lib/commonjs/components/Drawer/index.js.map +1 -1
- package/lib/commonjs/components/Icon/index.js +53 -0
- package/lib/commonjs/components/Icon/index.js.map +1 -0
- package/lib/commonjs/components/List/index.js.map +1 -1
- package/lib/commonjs/components/Menu/index.js +11 -10
- package/lib/commonjs/components/Menu/index.js.map +1 -1
- package/lib/commonjs/components/Modal/index.js +10 -16
- package/lib/commonjs/components/Modal/index.js.map +1 -1
- package/lib/commonjs/components/Notification/index.js +12 -5
- package/lib/commonjs/components/Notification/index.js.map +1 -1
- package/lib/commonjs/components/NumberInput/index.js +2 -1
- package/lib/commonjs/components/NumberInput/index.js.map +1 -1
- package/lib/commonjs/components/PasswordInput/index.js +5 -6
- package/lib/commonjs/components/PasswordInput/index.js.map +1 -1
- package/lib/commonjs/components/PinInput/index.js +7 -2
- package/lib/commonjs/components/PinInput/index.js.map +1 -1
- package/lib/commonjs/components/Popover/index.js +8 -7
- package/lib/commonjs/components/Popover/index.js.map +1 -1
- package/lib/commonjs/components/RingProgress/index.js +49 -7
- package/lib/commonjs/components/RingProgress/index.js.map +1 -1
- package/lib/commonjs/components/SegmentedControl/index.js +7 -4
- package/lib/commonjs/components/SegmentedControl/index.js.map +1 -1
- package/lib/commonjs/components/Slider/index.js +28 -3
- package/lib/commonjs/components/Slider/index.js.map +1 -1
- package/lib/commonjs/components/Stepper/index.js.map +1 -1
- package/lib/commonjs/components/Table/index.js +22 -20
- package/lib/commonjs/components/Table/index.js.map +1 -1
- package/lib/commonjs/components/TextInput/index.js +2 -2
- package/lib/commonjs/components/TextInput/index.js.map +1 -1
- package/lib/commonjs/components/Timeline/index.js +12 -5
- package/lib/commonjs/components/Timeline/index.js.map +1 -1
- package/lib/commonjs/components/Tooltip/index.js +12 -11
- package/lib/commonjs/components/Tooltip/index.js.map +1 -1
- package/lib/commonjs/components/TransferList/index.js +3 -8
- package/lib/commonjs/components/TransferList/index.js.map +1 -1
- package/lib/commonjs/components/Transition/index.js +4 -0
- package/lib/commonjs/components/Transition/index.js.map +1 -1
- package/lib/commonjs/components/UnstyledButton/UnstyledButton.js +4 -0
- package/lib/commonjs/components/UnstyledButton/UnstyledButton.js.map +1 -1
- package/lib/commonjs/components/index.js +22 -22
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/theme/functions/attach-functions.js +3 -0
- package/lib/commonjs/theme/functions/attach-functions.js.map +1 -1
- package/lib/commonjs/theme/functions/fns/helpers.js +12 -1
- package/lib/commonjs/theme/functions/fns/helpers.js.map +1 -1
- package/lib/commonjs/theme/functions/fns/index.js +4 -0
- package/lib/commonjs/theme/functions/fns/index.js.map +1 -1
- package/lib/commonjs/theme/functions/fns/rgba.js +50 -0
- package/lib/commonjs/theme/functions/fns/rgba.js.map +1 -0
- package/lib/commonjs/theme/functions/fns/size.js +19 -0
- package/lib/commonjs/theme/functions/fns/size.js.map +1 -0
- package/lib/module/components/Button/Button.styles.js +4 -4
- package/lib/module/components/Button/Button.styles.js.map +1 -1
- package/lib/module/components/Button/index.js +15 -14
- package/lib/module/components/Button/index.js.map +1 -1
- package/lib/module/components/Chip/index.js.map +1 -1
- package/lib/module/components/CloseButton/index.js +6 -31
- package/lib/module/components/CloseButton/index.js.map +1 -1
- package/lib/module/components/Collapse/index.js +10 -2
- package/lib/module/components/Collapse/index.js.map +1 -1
- package/lib/module/components/Dialog/index.js +52 -9
- package/lib/module/components/Dialog/index.js.map +1 -1
- package/lib/module/components/Drawer/index.js +4 -13
- package/lib/module/components/Drawer/index.js.map +1 -1
- package/lib/module/components/Icon/index.js +48 -0
- package/lib/module/components/Icon/index.js.map +1 -0
- package/lib/module/components/List/index.js.map +1 -1
- package/lib/module/components/Menu/index.js +9 -8
- package/lib/module/components/Menu/index.js.map +1 -1
- package/lib/module/components/Modal/index.js +10 -16
- package/lib/module/components/Modal/index.js.map +1 -1
- package/lib/module/components/Notification/index.js +12 -5
- package/lib/module/components/Notification/index.js.map +1 -1
- package/lib/module/components/NumberInput/index.js +2 -1
- package/lib/module/components/NumberInput/index.js.map +1 -1
- package/lib/module/components/PasswordInput/index.js +5 -6
- package/lib/module/components/PasswordInput/index.js.map +1 -1
- package/lib/module/components/PinInput/index.js +7 -2
- package/lib/module/components/PinInput/index.js.map +1 -1
- package/lib/module/components/Popover/index.js +9 -8
- package/lib/module/components/Popover/index.js.map +1 -1
- package/lib/module/components/RingProgress/index.js +51 -9
- package/lib/module/components/RingProgress/index.js.map +1 -1
- package/lib/module/components/SegmentedControl/index.js +7 -4
- package/lib/module/components/SegmentedControl/index.js.map +1 -1
- package/lib/module/components/Slider/index.js +28 -3
- package/lib/module/components/Slider/index.js.map +1 -1
- package/lib/module/components/Stepper/index.js.map +1 -1
- package/lib/module/components/Table/index.js +22 -19
- package/lib/module/components/Table/index.js.map +1 -1
- package/lib/module/components/TextInput/index.js +2 -2
- package/lib/module/components/TextInput/index.js.map +1 -1
- package/lib/module/components/Timeline/index.js +12 -5
- package/lib/module/components/Timeline/index.js.map +1 -1
- package/lib/module/components/Tooltip/index.js +11 -10
- package/lib/module/components/Tooltip/index.js.map +1 -1
- package/lib/module/components/TransferList/index.js +4 -9
- package/lib/module/components/TransferList/index.js.map +1 -1
- package/lib/module/components/Transition/index.js +5 -1
- package/lib/module/components/Transition/index.js.map +1 -1
- package/lib/module/components/UnstyledButton/UnstyledButton.js +4 -0
- package/lib/module/components/UnstyledButton/UnstyledButton.js.map +1 -1
- package/lib/module/components/index.js +1 -1
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/theme/functions/attach-functions.js +3 -0
- package/lib/module/theme/functions/attach-functions.js.map +1 -1
- package/lib/module/theme/functions/fns/helpers.js +10 -0
- package/lib/module/theme/functions/fns/helpers.js.map +1 -1
- package/lib/module/theme/functions/fns/index.js +4 -0
- package/lib/module/theme/functions/fns/index.js.map +1 -1
- package/lib/module/theme/functions/fns/rgba.js +46 -0
- package/lib/module/theme/functions/fns/rgba.js.map +1 -0
- package/lib/module/theme/functions/fns/size.js +15 -0
- package/lib/module/theme/functions/fns/size.js.map +1 -0
- package/lib/typescript/commonjs/src/components/Button/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/CloseButton/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Collapse/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Dialog/index.d.ts +2 -0
- package/lib/typescript/commonjs/src/components/Dialog/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Drawer/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Icon/index.d.ts +26 -0
- package/lib/typescript/commonjs/src/components/Icon/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Menu/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Modal/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Notification/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/NumberInput/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/PinInput/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Popover/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/RingProgress/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/SegmentedControl/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Slider/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Stepper/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Table/index.d.ts +16 -7
- package/lib/typescript/commonjs/src/components/Table/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/TextInput/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Timeline/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Tooltip/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/TransferList/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Transition/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/UnstyledButton/UnstyledButton.d.ts +2 -0
- package/lib/typescript/commonjs/src/components/UnstyledButton/UnstyledButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/components/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/theme/functions/attach-functions.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/theme/functions/fns/helpers.d.ts +7 -0
- package/lib/typescript/commonjs/src/theme/functions/fns/helpers.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/theme/functions/fns/index.d.ts +7 -0
- package/lib/typescript/commonjs/src/theme/functions/fns/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/theme/functions/fns/rgba.d.ts +8 -0
- package/lib/typescript/commonjs/src/theme/functions/fns/rgba.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/theme/functions/fns/size.d.ts +6 -0
- package/lib/typescript/commonjs/src/theme/functions/fns/size.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Button/index.d.ts +1 -0
- package/lib/typescript/module/src/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/CloseButton/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Collapse/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Dialog/index.d.ts +2 -0
- package/lib/typescript/module/src/components/Dialog/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Drawer/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Icon/index.d.ts +26 -0
- package/lib/typescript/module/src/components/Icon/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Menu/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Modal/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Notification/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/NumberInput/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/PinInput/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Popover/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/RingProgress/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/SegmentedControl/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Slider/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Stepper/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Table/index.d.ts +16 -7
- package/lib/typescript/module/src/components/Table/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/TextInput/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Timeline/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Tooltip/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/TransferList/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Transition/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/UnstyledButton/UnstyledButton.d.ts +2 -0
- package/lib/typescript/module/src/components/UnstyledButton/UnstyledButton.d.ts.map +1 -1
- package/lib/typescript/module/src/components/index.d.ts +1 -1
- package/lib/typescript/module/src/components/index.d.ts.map +1 -1
- package/lib/typescript/module/src/theme/functions/attach-functions.d.ts.map +1 -1
- package/lib/typescript/module/src/theme/functions/fns/helpers.d.ts +7 -0
- package/lib/typescript/module/src/theme/functions/fns/helpers.d.ts.map +1 -1
- package/lib/typescript/module/src/theme/functions/fns/index.d.ts +7 -0
- package/lib/typescript/module/src/theme/functions/fns/index.d.ts.map +1 -1
- package/lib/typescript/module/src/theme/functions/fns/rgba.d.ts +8 -0
- package/lib/typescript/module/src/theme/functions/fns/rgba.d.ts.map +1 -0
- package/lib/typescript/module/src/theme/functions/fns/size.d.ts +6 -0
- package/lib/typescript/module/src/theme/functions/fns/size.d.ts.map +1 -0
- package/package.json +12 -9
- package/src/components/Button/Button.styles.ts +3 -3
- package/src/components/Button/index.tsx +56 -61
- package/src/components/Chip/index.tsx +3 -3
- package/src/components/CloseButton/index.tsx +2 -23
- package/src/components/Collapse/index.tsx +11 -2
- package/src/components/Dialog/index.tsx +54 -9
- package/src/components/Drawer/index.tsx +7 -13
- package/src/components/Icon/index.tsx +74 -0
- package/src/components/List/index.tsx +1 -1
- package/src/components/Menu/index.tsx +13 -10
- package/src/components/Modal/index.tsx +11 -16
- package/src/components/Notification/index.tsx +10 -2
- package/src/components/NumberInput/index.tsx +57 -15
- package/src/components/PasswordInput/index.tsx +2 -2
- package/src/components/PinInput/index.tsx +24 -9
- package/src/components/Popover/index.tsx +13 -10
- package/src/components/RingProgress/index.tsx +51 -8
- package/src/components/SegmentedControl/index.tsx +6 -4
- package/src/components/Slider/index.tsx +14 -3
- package/src/components/Stepper/index.tsx +5 -4
- package/src/components/Table/index.tsx +73 -36
- package/src/components/TextInput/index.tsx +93 -66
- package/src/components/Timeline/index.tsx +19 -12
- package/src/components/Tooltip/index.tsx +13 -10
- package/src/components/TransferList/index.tsx +1 -5
- package/src/components/Transition/index.tsx +14 -2
- package/src/components/UnstyledButton/UnstyledButton.tsx +5 -1
- package/src/components/index.tsx +1 -1
- package/src/theme/functions/attach-functions.ts +3 -0
- package/src/theme/functions/fns/helpers.ts +19 -7
- package/src/theme/functions/fns/index.ts +4 -0
- package/src/theme/functions/fns/rgba.ts +45 -0
- package/src/theme/functions/fns/size.ts +14 -0
- package/lib/commonjs/components/Portal/index.js +0 -69
- package/lib/commonjs/components/Portal/index.js.map +0 -1
- package/lib/module/components/Portal/index.js +0 -62
- package/lib/module/components/Portal/index.js.map +0 -1
- package/lib/typescript/commonjs/src/components/Portal/index.d.ts +0 -10
- package/lib/typescript/commonjs/src/components/Portal/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/Portal/index.d.ts +0 -10
- package/lib/typescript/module/src/components/Portal/index.d.ts.map +0 -1
- package/src/components/Portal/index.tsx +0 -75
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Timeline/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAGrE,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAwBvF,MAAM,WAAW,aAAc,SAAQ,YAAY;IACjD,qBAAqB;IACrB,KAAK,CAAC,EAAE,YAAY,CAAC;IAErB,yBAAyB;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAEzB,iBAAiB;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,2BAA2B;IAC3B,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAE3B,qBAAqB;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,8CAA8C;IAC9C,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,wBAAwB;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,wBAAwB;IACxB,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AAED,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,iBAAiB;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAExB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,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AAE,MAAM,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,yBAAyB;IACzB,KAAK,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,CAAC;IAE5C,+BAA+B;IAC/B,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAEhE,4BAA4B;IAC5B,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAE5C,oCAAoC;IACpC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,sCAAsC;IACtC,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,0BAA0B;IAC1B,KAAK,CAAC,EAAE,YAAY,CAAC;IAErB,yBAAyB;IACzB,IAAI,CAAC,EAAE,WAAW,CAAC;IAEnB,oBAAoB;IACpB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAE3B,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,2DAA2D;IAC3D,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAEpC,yBAAyB;IACzB,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,IAAI,EAAE,oBAAoB,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAEvF,wBAAwB;IACxB,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AAiID,eAAO,MAAM,YAAY,+EAuMvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Transition/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Transition/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGtD,MAAM,MAAM,cAAc,GACtB,MAAM,GACN,OAAO,GACP,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,aAAa,GACb,KAAK,GACL,QAAQ,CAAC;AAEb,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD,yCAAyC;IACzC,OAAO,EAAE,OAAO,CAAC;IAEjB,sBAAsB;IACtB,UAAU,CAAC,EAAE,cAAc,CAAC;IAE5B,gCAAgC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,qCAAqC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,iCAAiC;IACjC,cAAc,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,aAAa,CAAC;IAE5E,6BAA6B;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,uCAAuC;IACvC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IAEvB,wBAAwB;IACxB,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AA2BD,eAAO,MAAM,UAAU,6EAqKrB,CAAC"}
|
|
@@ -3,6 +3,8 @@ export interface UnstyledButtonProps {
|
|
|
3
3
|
variant?: string;
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
onPress?: (payload: any) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
activeOpacity?: number;
|
|
6
8
|
}
|
|
7
9
|
export declare const UnstyledButton: React.ForwardRefExoticComponent<UnstyledButtonProps & {
|
|
8
10
|
style?: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnstyledButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/UnstyledButton/UnstyledButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAM1C,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"UnstyledButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/UnstyledButton/UnstyledButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAM1C,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,cAAc;YAEO,GAAG;6BAoBnC,CAAC"}
|
|
@@ -6,6 +6,7 @@ export * from './Button';
|
|
|
6
6
|
export * from './UnstyledButton';
|
|
7
7
|
export * from './ActionIcon';
|
|
8
8
|
export * from './Loader';
|
|
9
|
+
export * from './Icon';
|
|
9
10
|
export * from './Center';
|
|
10
11
|
export * from './Container';
|
|
11
12
|
export * from './Flex';
|
|
@@ -27,7 +28,6 @@ export * from './Switch';
|
|
|
27
28
|
export * from './Checkbox';
|
|
28
29
|
export * from './Radio';
|
|
29
30
|
export * from './Overlay';
|
|
30
|
-
export * from './Portal';
|
|
31
31
|
export * from './Modal';
|
|
32
32
|
export * from './Drawer';
|
|
33
33
|
export * from './Dialog';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU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AU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAG7B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AAGvB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAG9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AAGzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAG5B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAG7B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAG1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AAGvB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAG9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attach-functions.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/functions/attach-functions.ts"],"names":[],"mappings":"AAEA,wBAAgB,eAAe,CAAC,SAAS,EAAE,GAAG,GAAG,GAAG,
|
|
1
|
+
{"version":3,"file":"attach-functions.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/functions/attach-functions.ts"],"names":[],"mappings":"AAEA,wBAAgB,eAAe,CAAC,SAAS,EAAE,GAAG,GAAG,GAAG,CAmBnD"}
|
|
@@ -2,6 +2,13 @@ import type { MantineTheme } from '../../default-theme';
|
|
|
2
2
|
export declare const fontStyles: (theme: MantineTheme) => () => {
|
|
3
3
|
fontFamily: string;
|
|
4
4
|
};
|
|
5
|
+
/**
|
|
6
|
+
* Returns font styles specifically for input components
|
|
7
|
+
* Uses fontFamilyInput if available, otherwise falls back to fontFamily
|
|
8
|
+
*/
|
|
9
|
+
export declare const inputFontStyles: (theme: MantineTheme) => () => {
|
|
10
|
+
fontFamily: any;
|
|
11
|
+
};
|
|
5
12
|
export declare const focusStyles: (_theme: MantineTheme) => () => {};
|
|
6
13
|
export declare const placeholderStyles: (_theme: MantineTheme) => () => {
|
|
7
14
|
opacity: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../../src/theme/functions/fns/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,UAAU,GAAI,OAAO,YAAY;;CAE5C,CAAC;AAEH,eAAO,MAAM,WAAW,GAAI,QAAQ,YAAY,aAI9C,CAAC;AAEH,eAAO,MAAM,iBAAiB,GAAI,QAAQ,YAAY;;CAGpD,CAAC;AAEH,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../../src/theme/functions/fns/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,UAAU,GAAI,OAAO,YAAY;;CAE5C,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,YAAY;;CAIlD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,QAAQ,YAAY,aAI9C,CAAC;AAEH,eAAO,MAAM,iBAAiB,GAAI,QAAQ,YAAY;;CAGpD,CAAC;AAEH,eAAO,MAAM,KAAK,GACf,QAAQ,YAAY,MACpB,SAAQ,MAAU;;;;;;CAMjB,CAAC;AAEL,eAAO,MAAM,KAAK,GAAI,QAAQ,YAAY,MAAM,QAAQ,GAAG,QAIzD,CAAC;AAEH,eAAO,MAAM,YAAY,GAAI,QAAQ,YAAY;;;;;CAI/C,CAAC"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { radius } from './radius';
|
|
2
|
+
import { rgba } from './rgba';
|
|
3
|
+
import { size } from './size';
|
|
2
4
|
import { themeColor } from './theme-color/theme-color';
|
|
3
5
|
export declare const fns: {
|
|
4
6
|
fontStyles: (theme: import("../../default-theme").MantineTheme) => () => {
|
|
5
7
|
fontFamily: string;
|
|
6
8
|
};
|
|
9
|
+
inputFontStyles: (theme: import("../../default-theme").MantineTheme) => () => {
|
|
10
|
+
fontFamily: any;
|
|
11
|
+
};
|
|
7
12
|
focusStyles: (_theme: import("../../default-theme").MantineTheme) => () => {};
|
|
8
13
|
placeholderStyles: (_theme: import("../../default-theme").MantineTheme) => () => {
|
|
9
14
|
opacity: number;
|
|
@@ -23,6 +28,8 @@ export declare const fns: {
|
|
|
23
28
|
}[];
|
|
24
29
|
};
|
|
25
30
|
radius: typeof radius;
|
|
31
|
+
rgba: typeof rgba;
|
|
32
|
+
size: typeof size;
|
|
26
33
|
variant: (theme: import("../../default-theme").MantineTheme) => (input: import("./variant").VariantInput) => import("./variant").VariantOutput;
|
|
27
34
|
themeColor: typeof themeColor;
|
|
28
35
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/theme/functions/fns/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAIvD,eAAO,MAAM,GAAG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/theme/functions/fns/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAIvD,eAAO,MAAM,GAAG;iBALG,iDACZ;;;sBAYA,iDAAmB;;;kBAAwH,kDAAoB;wBAAgM,kDAAoB;;;YAA8F,kDAAoB,MAAQ,eAAkB;;;;;;;YAAkJ,kDAAoB,MAAM,WAAW;mBAAuM,kDAAoB;;;;;;;;;qEAA3oB,uCAAmB;;CAD/R,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a hex or rgb color string to rgba with the specified alpha value
|
|
3
|
+
* @param color - The color string (hex or rgb)
|
|
4
|
+
* @param alpha - Alpha value between 0 and 1
|
|
5
|
+
* @returns rgba color string
|
|
6
|
+
*/
|
|
7
|
+
export declare function rgba(_theme: any): (color: string, alpha: number) => string;
|
|
8
|
+
//# sourceMappingURL=rgba.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rgba.d.ts","sourceRoot":"","sources":["../../../../../../../src/theme/functions/fns/rgba.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,GAAG,IACtB,OAAO,MAAM,EAAE,OAAO,MAAM,KAAG,MAAM,CAqC9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"size.d.ts","sourceRoot":"","sources":["../../../../../../../src/theme/functions/fns/size.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGrD,wBAAgB,IAAI,CAAC,MAAM,EAAE,GAAG,IACtB,KAAK,SAAS,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,kBAGrC;IACD,IAAI,EAAE,iBAAiB,CAAC;IACxB,KAAK,EAAE,KAAK,CAAC;CACd,KAAG,MAAM,CAGX"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-mantine",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Make Mantine Accessable on React Native",
|
|
5
5
|
"source": "./src/index.tsx",
|
|
6
6
|
"main": "./lib/commonjs/index.js",
|
|
@@ -74,7 +74,8 @@
|
|
|
74
74
|
"@release-it/conventional-changelog": "^5.0.0",
|
|
75
75
|
"@types/jest": "^29.5.5",
|
|
76
76
|
"@types/lodash-es": "^4.17.12",
|
|
77
|
-
"@types/react": "^
|
|
77
|
+
"@types/react": "^19.0.0",
|
|
78
|
+
"@types/react-native-vector-icons": "^6.4.18",
|
|
78
79
|
"commitlint": "^17.0.2",
|
|
79
80
|
"del-cli": "^5.1.0",
|
|
80
81
|
"eslint": "^8.51.0",
|
|
@@ -83,18 +84,20 @@
|
|
|
83
84
|
"jest": "^29.7.0",
|
|
84
85
|
"prettier": "^3.0.3",
|
|
85
86
|
"prettier-eslint": "^16.3.0",
|
|
86
|
-
"react": "
|
|
87
|
-
"react-native": "0.
|
|
87
|
+
"react": "19.1.0",
|
|
88
|
+
"react-native": "0.81.5",
|
|
88
89
|
"react-native-builder-bob": "latest",
|
|
90
|
+
"react-native-vector-icons": "^10.0.0",
|
|
89
91
|
"release-it": "^15.0.0",
|
|
90
92
|
"typescript": "^5.2.2"
|
|
91
93
|
},
|
|
92
94
|
"resolutions": {
|
|
93
|
-
"@types/react": "^
|
|
95
|
+
"@types/react": "^19.0.0"
|
|
94
96
|
},
|
|
95
97
|
"peerDependencies": {
|
|
96
98
|
"react": "*",
|
|
97
|
-
"react-native": "*"
|
|
99
|
+
"react-native": "*",
|
|
100
|
+
"react-native-vector-icons": "^10.0.0"
|
|
98
101
|
},
|
|
99
102
|
"workspaces": [
|
|
100
103
|
"example"
|
|
@@ -189,9 +192,9 @@
|
|
|
189
192
|
"version": "0.41.2"
|
|
190
193
|
},
|
|
191
194
|
"dependencies": {
|
|
192
|
-
"expo-clipboard": "~
|
|
193
|
-
"expo-font": "~
|
|
194
|
-
"expo-linear-gradient": "~
|
|
195
|
+
"expo-clipboard": "~8.0.8",
|
|
196
|
+
"expo-font": "~14.0.10",
|
|
197
|
+
"expo-linear-gradient": "~15.0.8",
|
|
195
198
|
"lodash-es": "^4.17.21"
|
|
196
199
|
}
|
|
197
200
|
}
|
|
@@ -189,10 +189,8 @@ const useStyles = createStyles(
|
|
|
189
189
|
|
|
190
190
|
inner: {
|
|
191
191
|
display: 'flex',
|
|
192
|
-
alignItems: 'center',
|
|
193
|
-
justifyContent: 'center',
|
|
194
192
|
height: '100%',
|
|
195
|
-
|
|
193
|
+
flex: 1,
|
|
196
194
|
},
|
|
197
195
|
|
|
198
196
|
label: {
|
|
@@ -202,6 +200,8 @@ const useStyles = createStyles(
|
|
|
202
200
|
display: 'flex',
|
|
203
201
|
alignItems: 'center',
|
|
204
202
|
justifyContent: 'center',
|
|
203
|
+
flexDirection: 'row',
|
|
204
|
+
flex: 1,
|
|
205
205
|
},
|
|
206
206
|
};
|
|
207
207
|
}
|
|
@@ -69,6 +69,8 @@ export interface ButtonProps extends DefaultProps {
|
|
|
69
69
|
disabled?: boolean;
|
|
70
70
|
|
|
71
71
|
style?: any;
|
|
72
|
+
|
|
73
|
+
withTextWrapper?: boolean;
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
const defaultProps: Partial<ButtonProps> = {
|
|
@@ -78,58 +80,59 @@ const defaultProps: Partial<ButtonProps> = {
|
|
|
78
80
|
loaderPosition: 'left',
|
|
79
81
|
};
|
|
80
82
|
|
|
81
|
-
export const _Button = forwardRef<View, ButtonProps>(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
export const _Button = forwardRef<View, ButtonProps>((props, ref) => {
|
|
84
|
+
const {
|
|
85
|
+
size,
|
|
86
|
+
color,
|
|
87
|
+
type,
|
|
88
|
+
disabled,
|
|
89
|
+
children,
|
|
90
|
+
leftIcon,
|
|
91
|
+
rightIcon,
|
|
92
|
+
fullWidth,
|
|
93
|
+
variant,
|
|
94
|
+
radius,
|
|
95
|
+
uppercase,
|
|
96
|
+
compact,
|
|
97
|
+
loading,
|
|
98
|
+
loaderPosition,
|
|
99
|
+
loaderProps,
|
|
100
|
+
gradient,
|
|
101
|
+
style,
|
|
102
|
+
withTextWrapper = true,
|
|
103
|
+
...others
|
|
104
|
+
} = useComponentDefaultProps('Button', defaultProps, props);
|
|
105
|
+
|
|
106
|
+
const { styles, sx } = useStyles(
|
|
107
|
+
{
|
|
108
|
+
radius,
|
|
85
109
|
color,
|
|
86
|
-
type,
|
|
87
|
-
disabled,
|
|
88
|
-
children,
|
|
89
|
-
leftIcon,
|
|
90
|
-
rightIcon,
|
|
91
110
|
fullWidth,
|
|
92
|
-
variant,
|
|
93
|
-
radius,
|
|
94
|
-
uppercase,
|
|
95
111
|
compact,
|
|
96
|
-
loading,
|
|
97
|
-
loaderPosition,
|
|
98
|
-
loaderProps,
|
|
99
112
|
gradient,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
{
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
return (
|
|
124
|
-
<UnstyledButton
|
|
125
|
-
style={sx(styles.root, style)}
|
|
126
|
-
data-button
|
|
127
|
-
data-disabled={disabled || undefined}
|
|
128
|
-
data-loading={loading || undefined}
|
|
129
|
-
ref={ref}
|
|
130
|
-
{...others}
|
|
131
|
-
>
|
|
132
|
-
<BoxView style={styles.inner}>
|
|
113
|
+
withLeftIcon: !!leftIcon,
|
|
114
|
+
withRightIcon: !!rightIcon,
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
name: 'Button',
|
|
118
|
+
variant,
|
|
119
|
+
size,
|
|
120
|
+
}
|
|
121
|
+
);
|
|
122
|
+
|
|
123
|
+
const loader = <ActivityIndicator />;
|
|
124
|
+
|
|
125
|
+
return (
|
|
126
|
+
<UnstyledButton
|
|
127
|
+
style={sx(styles.root, style)}
|
|
128
|
+
data-button
|
|
129
|
+
data-disabled={disabled || undefined}
|
|
130
|
+
data-loading={loading || undefined}
|
|
131
|
+
ref={ref}
|
|
132
|
+
{...others}
|
|
133
|
+
>
|
|
134
|
+
<BoxView style={styles.inner}>
|
|
135
|
+
<BoxView style={styles.label}>
|
|
133
136
|
{(leftIcon || (loading && loaderPosition === 'left')) && (
|
|
134
137
|
<BoxView style={sx(styles.icon, styles.leftIcon)}>
|
|
135
138
|
{loading && loaderPosition === 'left' ? loader : leftIcon}
|
|
@@ -139,24 +142,16 @@ export const _Button = forwardRef<View, ButtonProps>(
|
|
|
139
142
|
{loading && loaderPosition === 'center' && (
|
|
140
143
|
<BoxView style={styles.centerLoader}>{loader}</BoxView>
|
|
141
144
|
)}
|
|
142
|
-
|
|
143
|
-
<BoxView style={styles.label}>
|
|
144
|
-
{typeof children === 'string' || typeof children === 'number' ? (
|
|
145
|
-
<Text>{children}</Text>
|
|
146
|
-
) : (
|
|
147
|
-
children
|
|
148
|
-
)}
|
|
149
|
-
</BoxView>
|
|
150
|
-
|
|
145
|
+
{withTextWrapper ? <Text>{children}</Text> : children}
|
|
151
146
|
{(rightIcon || (loading && loaderPosition === 'right')) && (
|
|
152
147
|
<BoxView style={sx(styles.icon, styles.rightIcon)}>
|
|
153
148
|
{loading && loaderPosition === 'right' ? loader : rightIcon}
|
|
154
149
|
</BoxView>
|
|
155
150
|
)}
|
|
156
151
|
</BoxView>
|
|
157
|
-
</
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
) as any;
|
|
152
|
+
</BoxView>
|
|
153
|
+
</UnstyledButton>
|
|
154
|
+
);
|
|
155
|
+
}) as any;
|
|
161
156
|
|
|
162
157
|
export const Button = _Button;
|
|
@@ -325,10 +325,10 @@ export const ChipGroup = forwardRef<any, ChipGroupProps>((props, ref) => {
|
|
|
325
325
|
};
|
|
326
326
|
|
|
327
327
|
const enhancedChildren = React.Children.map(children, (child) => {
|
|
328
|
-
if (React.isValidElement(child) && child.type === Chip) {
|
|
329
|
-
const chipValue = child.props.value;
|
|
328
|
+
if (React.isValidElement(child) && (child.type as any) === Chip) {
|
|
329
|
+
const chipValue = (child.props as ChipProps).value;
|
|
330
330
|
if (chipValue !== undefined) {
|
|
331
|
-
return React.cloneElement(child as React.ReactElement<ChipProps>, {
|
|
331
|
+
return React.cloneElement<ChipProps>(child as React.ReactElement<ChipProps>, {
|
|
332
332
|
checked: isChecked(chipValue),
|
|
333
333
|
onChange: (checked: boolean) => handleChipChange(chipValue, checked),
|
|
334
334
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { TouchableOpacity } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { Icon } from '../Icon';
|
|
4
4
|
import type { DefaultProps, MantineSize } from '../../theme/types';
|
|
5
5
|
import { useComponentDefaultProps } from '../../theme/theme-provider';
|
|
6
6
|
import { createStyles } from '../../theme';
|
|
@@ -81,28 +81,7 @@ const useStyles = createStyles(
|
|
|
81
81
|
);
|
|
82
82
|
|
|
83
83
|
const CloseIcon = ({ size, color }: { size: number; color: string }) => (
|
|
84
|
-
<
|
|
85
|
-
<BoxView
|
|
86
|
-
style={{
|
|
87
|
-
position: 'absolute',
|
|
88
|
-
width: size,
|
|
89
|
-
height: 2,
|
|
90
|
-
backgroundColor: color,
|
|
91
|
-
top: (size - 2) / 2,
|
|
92
|
-
transform: [{ rotate: '45deg' }],
|
|
93
|
-
}}
|
|
94
|
-
/>
|
|
95
|
-
<BoxView
|
|
96
|
-
style={{
|
|
97
|
-
position: 'absolute',
|
|
98
|
-
width: size,
|
|
99
|
-
height: 2,
|
|
100
|
-
backgroundColor: color,
|
|
101
|
-
top: (size - 2) / 2,
|
|
102
|
-
transform: [{ rotate: '-45deg' }],
|
|
103
|
-
}}
|
|
104
|
-
/>
|
|
105
|
-
</BoxView>
|
|
84
|
+
<Icon name="times" size={size} color={color} />
|
|
106
85
|
);
|
|
107
86
|
|
|
108
87
|
const defaultProps: Partial<CloseButtonProps> = {
|
|
@@ -46,6 +46,7 @@ export const Collapse = forwardRef<any, CollapseProps>((props, ref) => {
|
|
|
46
46
|
} = useComponentDefaultProps('Collapse', defaultProps, props);
|
|
47
47
|
|
|
48
48
|
const [contentHeight, setContentHeight] = useState<number>(0);
|
|
49
|
+
const [isFirstLayout, setIsFirstLayout] = useState(true);
|
|
49
50
|
const heightAnim = useRef(new Animated.Value(opened ? 1 : 0)).current;
|
|
50
51
|
const opacityAnim = useRef(new Animated.Value(opened ? 1 : 0)).current;
|
|
51
52
|
|
|
@@ -53,10 +54,18 @@ export const Collapse = forwardRef<any, CollapseProps>((props, ref) => {
|
|
|
53
54
|
const { height } = event.nativeEvent.layout;
|
|
54
55
|
if (height > 0 && height !== contentHeight) {
|
|
55
56
|
setContentHeight(height);
|
|
57
|
+
if (isFirstLayout) {
|
|
58
|
+
setIsFirstLayout(false);
|
|
59
|
+
}
|
|
56
60
|
}
|
|
57
61
|
};
|
|
58
62
|
|
|
59
63
|
useEffect(() => {
|
|
64
|
+
// Don't animate on first render or if content height hasn't been measured yet
|
|
65
|
+
if (isFirstLayout || contentHeight === 0) {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
|
|
60
69
|
const animations = [
|
|
61
70
|
Animated.timing(heightAnim, {
|
|
62
71
|
toValue: opened ? 1 : 0,
|
|
@@ -80,11 +89,11 @@ export const Collapse = forwardRef<any, CollapseProps>((props, ref) => {
|
|
|
80
89
|
onTransitionEnd();
|
|
81
90
|
}
|
|
82
91
|
});
|
|
83
|
-
}, [opened, heightAnim, opacityAnim, transitionDuration, animateOpacity, onTransitionEnd]);
|
|
92
|
+
}, [opened, heightAnim, opacityAnim, transitionDuration, animateOpacity, onTransitionEnd, contentHeight, isFirstLayout]);
|
|
84
93
|
|
|
85
94
|
const animatedHeight = heightAnim.interpolate({
|
|
86
95
|
inputRange: [0, 1],
|
|
87
|
-
outputRange: [0, contentHeight
|
|
96
|
+
outputRange: [0, contentHeight],
|
|
88
97
|
});
|
|
89
98
|
|
|
90
99
|
return (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { forwardRef, useEffect, useRef } from 'react';
|
|
2
|
-
import { Animated } from 'react-native';
|
|
2
|
+
import { Animated, Dimensions, ScrollView } from 'react-native';
|
|
3
3
|
import { Paper } from '../Paper';
|
|
4
4
|
import type { DefaultProps, MantineNumberSize, SpacingValue } from '../../theme/types';
|
|
5
5
|
import { useComponentDefaultProps } from '../../theme/theme-provider';
|
|
@@ -30,6 +30,9 @@ export interface DialogProps extends DefaultProps {
|
|
|
30
30
|
bottom?: number;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
+
/** If true, dialog will be centered on screen */
|
|
34
|
+
centered?: boolean;
|
|
35
|
+
|
|
33
36
|
/** If true, dialog will show shadow */
|
|
34
37
|
withShadow?: boolean;
|
|
35
38
|
|
|
@@ -57,6 +60,7 @@ const useStyles = createStyles(
|
|
|
57
60
|
{
|
|
58
61
|
size,
|
|
59
62
|
position,
|
|
63
|
+
centered,
|
|
60
64
|
}: {
|
|
61
65
|
size: MantineNumberSize | number;
|
|
62
66
|
position?: {
|
|
@@ -65,6 +69,7 @@ const useStyles = createStyles(
|
|
|
65
69
|
right?: number;
|
|
66
70
|
bottom?: number;
|
|
67
71
|
};
|
|
72
|
+
centered?: boolean;
|
|
68
73
|
}
|
|
69
74
|
) => {
|
|
70
75
|
const getSize = () => {
|
|
@@ -73,6 +78,28 @@ const useStyles = createStyles(
|
|
|
73
78
|
return rem(sizes[sizeKey] || sizes.md);
|
|
74
79
|
};
|
|
75
80
|
|
|
81
|
+
const screenHeight = Dimensions.get('window').height;
|
|
82
|
+
const verticalMargin = 40; // Safety margin from screen edges
|
|
83
|
+
|
|
84
|
+
// If centered, calculate center position
|
|
85
|
+
if (centered) {
|
|
86
|
+
return {
|
|
87
|
+
root: {
|
|
88
|
+
position: 'absolute' as const,
|
|
89
|
+
width: getSize() as any,
|
|
90
|
+
maxWidth: '90%' as any,
|
|
91
|
+
maxHeight: (screenHeight - verticalMargin) as any,
|
|
92
|
+
zIndex: 1000,
|
|
93
|
+
// Center horizontally and vertically
|
|
94
|
+
left: '5%' as any,
|
|
95
|
+
right: '5%' as any,
|
|
96
|
+
top: '50%' as any,
|
|
97
|
+
transform: [{ translateY: -(screenHeight * 0.25) }] as any,
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// Default positioning logic
|
|
76
103
|
const defaultPosition = {
|
|
77
104
|
bottom: 20,
|
|
78
105
|
right: 20,
|
|
@@ -84,11 +111,23 @@ const useStyles = createStyles(
|
|
|
84
111
|
const posLeft = finalPosition && typeof finalPosition === 'object' && 'left' in finalPosition ? finalPosition.left : undefined;
|
|
85
112
|
const posRight = finalPosition && typeof finalPosition === 'object' && 'right' in finalPosition ? finalPosition.right : undefined;
|
|
86
113
|
|
|
114
|
+
// Calculate max height based on viewport and position
|
|
115
|
+
let maxHeight = screenHeight - verticalMargin;
|
|
116
|
+
|
|
117
|
+
// Adjust max height based on position
|
|
118
|
+
if (posTop !== undefined) {
|
|
119
|
+
maxHeight = screenHeight - posTop - verticalMargin;
|
|
120
|
+
}
|
|
121
|
+
if (posBottom !== undefined) {
|
|
122
|
+
maxHeight = screenHeight - posBottom - verticalMargin;
|
|
123
|
+
}
|
|
124
|
+
|
|
87
125
|
return {
|
|
88
126
|
root: {
|
|
89
127
|
position: 'absolute' as const,
|
|
90
128
|
width: getSize() as any,
|
|
91
129
|
maxWidth: '90%' as any as any,
|
|
130
|
+
maxHeight: maxHeight as any,
|
|
92
131
|
zIndex: 1000,
|
|
93
132
|
...(posTop !== undefined && { top: rem(posTop) as any }),
|
|
94
133
|
...(posBottom !== undefined && { bottom: rem(posBottom) as any }),
|
|
@@ -116,6 +155,7 @@ export const Dialog = forwardRef<any, DialogProps>((props, ref) => {
|
|
|
116
155
|
padding,
|
|
117
156
|
radius,
|
|
118
157
|
position,
|
|
158
|
+
centered,
|
|
119
159
|
withShadow,
|
|
120
160
|
withBorder,
|
|
121
161
|
style,
|
|
@@ -123,7 +163,7 @@ export const Dialog = forwardRef<any, DialogProps>((props, ref) => {
|
|
|
123
163
|
...otherProps
|
|
124
164
|
} = useComponentDefaultProps('Dialog', defaultProps, props);
|
|
125
165
|
|
|
126
|
-
const { styles, sx } = useStyles({ size, position}, { name: 'Dialog' }) as any;
|
|
166
|
+
const { styles, sx } = useStyles({ size, position, centered }, { name: 'Dialog' }) as any;
|
|
127
167
|
|
|
128
168
|
const fadeAnim = useRef(new Animated.Value(0)).current;
|
|
129
169
|
const slideAnim = useRef(new Animated.Value(50)).current;
|
|
@@ -174,14 +214,19 @@ export const Dialog = forwardRef<any, DialogProps>((props, ref) => {
|
|
|
174
214
|
]}
|
|
175
215
|
{...otherProps}
|
|
176
216
|
>
|
|
177
|
-
<
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
p={padding}
|
|
181
|
-
withBorder={withBorder}
|
|
217
|
+
<ScrollView
|
|
218
|
+
showsVerticalScrollIndicator={false}
|
|
219
|
+
bounces={false}
|
|
182
220
|
>
|
|
183
|
-
|
|
184
|
-
|
|
221
|
+
<Paper
|
|
222
|
+
shadow={withShadow ? 'lg' : undefined}
|
|
223
|
+
radius={radius}
|
|
224
|
+
p={padding}
|
|
225
|
+
withBorder={withBorder}
|
|
226
|
+
>
|
|
227
|
+
{children}
|
|
228
|
+
</Paper>
|
|
229
|
+
</ScrollView>
|
|
185
230
|
</Animated.View>
|
|
186
231
|
);
|
|
187
232
|
});
|
|
@@ -264,22 +264,16 @@ export const Drawer = forwardRef<any, DrawerProps>((props, ref) => {
|
|
|
264
264
|
onRequestClose={onClose}
|
|
265
265
|
statusBarTranslucent
|
|
266
266
|
>
|
|
267
|
+
{/* Full screen overlay backdrop */}
|
|
267
268
|
{withOverlay && (
|
|
268
|
-
<
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
>
|
|
274
|
-
<Overlay
|
|
275
|
-
opacity={overlayOpacity}
|
|
276
|
-
color={overlayColor}
|
|
277
|
-
onPress={handleOverlayPress}
|
|
278
|
-
style={{ position: 'absolute' }}
|
|
279
|
-
/>
|
|
280
|
-
</Animated.View>
|
|
269
|
+
<Overlay
|
|
270
|
+
opacity={overlayOpacity}
|
|
271
|
+
color={overlayColor}
|
|
272
|
+
onPress={handleOverlayPress}
|
|
273
|
+
/>
|
|
281
274
|
)}
|
|
282
275
|
|
|
276
|
+
{/* Drawer container positioned over overlay */}
|
|
283
277
|
<BoxView style={styles.overlay} pointerEvents="box-none">
|
|
284
278
|
<Animated.View
|
|
285
279
|
ref={ref}
|