@oxyhq/bloom 0.6.7 → 0.6.9
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/accordion/Accordion.js +12 -3
- package/lib/commonjs/accordion/Accordion.js.map +1 -1
- package/lib/commonjs/badge/Badge.js +5 -1
- package/lib/commonjs/badge/Badge.js.map +1 -1
- package/lib/commonjs/button/Button.js +32 -8
- package/lib/commonjs/button/Button.js.map +1 -1
- package/lib/commonjs/card/Card.js +12 -3
- package/lib/commonjs/card/Card.js.map +1 -1
- package/lib/commonjs/checkbox/Checkbox.js +5 -1
- package/lib/commonjs/checkbox/Checkbox.js.map +1 -1
- package/lib/commonjs/chip/Chip.js +6 -1
- package/lib/commonjs/chip/Chip.js.map +1 -1
- package/lib/commonjs/dialog/Dialog.js +2 -2
- package/lib/commonjs/dialog/Dialog.js.map +1 -1
- package/lib/commonjs/dialog/Dialog.web.js +2 -2
- package/lib/commonjs/dialog/Dialog.web.js.map +1 -1
- package/lib/commonjs/prompt-input/SubmitButton.js +2 -2
- package/lib/commonjs/prompt-input/SubmitButton.js.map +1 -1
- package/lib/commonjs/radio-indicator/RadioIndicator.js +5 -1
- package/lib/commonjs/radio-indicator/RadioIndicator.js.map +1 -1
- package/lib/commonjs/segmented-control/index.js +12 -3
- package/lib/commonjs/segmented-control/index.js.map +1 -1
- package/lib/commonjs/settings-list/SettingsList.js +11 -3
- package/lib/commonjs/settings-list/SettingsList.js.map +1 -1
- package/lib/commonjs/tabs/Tabs.js +1 -1
- package/lib/commonjs/tabs/Tabs.js.map +1 -1
- package/lib/commonjs/theme/BloomThemeProvider.js +2 -0
- package/lib/commonjs/theme/BloomThemeProvider.js.map +1 -1
- package/lib/commonjs/theme/adaptive-colors.js +2 -0
- package/lib/commonjs/theme/adaptive-colors.js.map +1 -1
- package/lib/commonjs/toast/Toast.js +13 -6
- package/lib/commonjs/toast/Toast.js.map +1 -1
- package/lib/module/accordion/Accordion.js +12 -3
- package/lib/module/accordion/Accordion.js.map +1 -1
- package/lib/module/badge/Badge.js +5 -1
- package/lib/module/badge/Badge.js.map +1 -1
- package/lib/module/button/Button.js +32 -8
- package/lib/module/button/Button.js.map +1 -1
- package/lib/module/card/Card.js +12 -3
- package/lib/module/card/Card.js.map +1 -1
- package/lib/module/checkbox/Checkbox.js +5 -1
- package/lib/module/checkbox/Checkbox.js.map +1 -1
- package/lib/module/chip/Chip.js +6 -1
- package/lib/module/chip/Chip.js.map +1 -1
- package/lib/module/dialog/Dialog.js +2 -2
- package/lib/module/dialog/Dialog.js.map +1 -1
- package/lib/module/dialog/Dialog.web.js +2 -2
- package/lib/module/dialog/Dialog.web.js.map +1 -1
- package/lib/module/prompt-input/SubmitButton.js +2 -2
- package/lib/module/prompt-input/SubmitButton.js.map +1 -1
- package/lib/module/radio-indicator/RadioIndicator.js +5 -1
- package/lib/module/radio-indicator/RadioIndicator.js.map +1 -1
- package/lib/module/segmented-control/index.js +12 -3
- package/lib/module/segmented-control/index.js.map +1 -1
- package/lib/module/settings-list/SettingsList.js +11 -3
- package/lib/module/settings-list/SettingsList.js.map +1 -1
- package/lib/module/tabs/Tabs.js +1 -1
- package/lib/module/tabs/Tabs.js.map +1 -1
- package/lib/module/theme/BloomThemeProvider.js +2 -0
- package/lib/module/theme/BloomThemeProvider.js.map +1 -1
- package/lib/module/theme/adaptive-colors.js +2 -0
- package/lib/module/theme/adaptive-colors.js.map +1 -1
- package/lib/module/toast/Toast.js +13 -6
- package/lib/module/toast/Toast.js.map +1 -1
- package/lib/typescript/commonjs/accordion/Accordion.d.ts.map +1 -1
- package/lib/typescript/commonjs/badge/Badge.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/Button.d.ts.map +1 -1
- package/lib/typescript/commonjs/card/Card.d.ts.map +1 -1
- package/lib/typescript/commonjs/checkbox/Checkbox.d.ts.map +1 -1
- package/lib/typescript/commonjs/chip/Chip.d.ts.map +1 -1
- package/lib/typescript/commonjs/radio-indicator/RadioIndicator.d.ts.map +1 -1
- package/lib/typescript/commonjs/segmented-control/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/settings-list/SettingsList.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/BloomThemeProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/adaptive-colors.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/types.d.ts +1 -0
- package/lib/typescript/commonjs/theme/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/toast/Toast.d.ts.map +1 -1
- package/lib/typescript/module/accordion/Accordion.d.ts.map +1 -1
- package/lib/typescript/module/badge/Badge.d.ts.map +1 -1
- package/lib/typescript/module/button/Button.d.ts.map +1 -1
- package/lib/typescript/module/card/Card.d.ts.map +1 -1
- package/lib/typescript/module/checkbox/Checkbox.d.ts.map +1 -1
- package/lib/typescript/module/chip/Chip.d.ts.map +1 -1
- package/lib/typescript/module/radio-indicator/RadioIndicator.d.ts.map +1 -1
- package/lib/typescript/module/segmented-control/index.d.ts.map +1 -1
- package/lib/typescript/module/settings-list/SettingsList.d.ts.map +1 -1
- package/lib/typescript/module/theme/BloomThemeProvider.d.ts.map +1 -1
- package/lib/typescript/module/theme/adaptive-colors.d.ts.map +1 -1
- package/lib/typescript/module/theme/types.d.ts +1 -0
- package/lib/typescript/module/theme/types.d.ts.map +1 -1
- package/lib/typescript/module/toast/Toast.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/theme.test.ts +20 -0
- package/src/accordion/Accordion.tsx +9 -1
- package/src/badge/Badge.tsx +5 -1
- package/src/button/Button.tsx +33 -7
- package/src/card/Card.tsx +10 -2
- package/src/checkbox/Checkbox.tsx +5 -1
- package/src/chip/Chip.tsx +6 -1
- package/src/dialog/Dialog.tsx +2 -2
- package/src/dialog/Dialog.web.tsx +2 -2
- package/src/prompt-input/SubmitButton.tsx +2 -2
- package/src/radio-indicator/RadioIndicator.tsx +5 -1
- package/src/segmented-control/index.tsx +9 -1
- package/src/settings-list/SettingsList.tsx +8 -1
- package/src/tabs/Tabs.tsx +1 -1
- package/src/theme/BloomThemeProvider.tsx +2 -0
- package/src/theme/adaptive-colors.ts +2 -0
- package/src/theme/types.ts +1 -0
- package/src/toast/Toast.tsx +20 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioIndicator.d.ts","sourceRoot":"","sources":["../../../../src/radio-indicator/RadioIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAIpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"RadioIndicator.d.ts","sourceRoot":"","sources":["../../../../src/radio-indicator/RadioIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAIpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAkDnD,eAAO,MAAM,cAAc,iDAAgC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/segmented-control/index.tsx"],"names":[],"mappings":"AASA,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,IAAI,EACJ,KAAK,SAAS,EAEd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/segmented-control/index.tsx"],"names":[],"mappings":"AASA,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,IAAI,EACJ,KAAK,SAAS,EAEd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAmBtB;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,IAAI,CAAC,CAAC,SAAS,MAAM,EAAE,EACrC,KAAK,EACL,IAAc,EACd,IAAc,EACd,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,iBAAiB,GAClB,EAAE;IACD,KAAK,EAAE,MAA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":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SettingsList.d.ts","sourceRoot":"","sources":["../../../../src/settings-list/SettingsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAKpC,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAoBjB,eAAO,MAAM,gBAAgB,mDA0G3B,CAAC;AAIH,eAAO,MAAM,iBAAiB,oDA6C5B,CAAC;AAIH,eAAO,MAAM,mBAAmB,sDAY/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BloomThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/theme/BloomThemeProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,KAA4E,MAAM,OAAO,CAAC;AAEjG,OAAO,EAAqB,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAKvE,OAAO,KAAK,EAAE,KAAK,EAAe,SAAS,EAAE,MAAM,SAAS,CAAC;AAmB7D,kFAAkF;AAClF,wBAAgB,UAAU,CAAC,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,OAAO,GAAG,MAAM,EAAE,UAAU,GAAE,OAAe,GAAG,KAAK,
|
|
1
|
+
{"version":3,"file":"BloomThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/theme/BloomThemeProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,KAA4E,MAAM,OAAO,CAAC;AAEjG,OAAO,EAAqB,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAKvE,OAAO,KAAK,EAAE,KAAK,EAAe,SAAS,EAAE,MAAM,SAAS,CAAC;AAmB7D,kFAAkF;AAClF,wBAAgB,UAAU,CAAC,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,OAAO,GAAG,MAAM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,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"adaptive-colors.d.ts","sourceRoot":"","sources":["../../../../src/theme/adaptive-colors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AA0F3C,wBAAgB,iBAAiB,IAAI,WAAW,GAAG,IAAI,CAItD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/theme/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEjE,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAE3B,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IAErB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IAEpB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IAEnB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IAEb,aAAa,EAAE,MAAM,CAAC;IACtB,uBAAuB,EAAE,MAAM,CAAC;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,wBAAwB,EAAE,MAAM,CAAC;IACjC,UAAU,EAA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wBAAwB,EAAE,MAAM,CAAC;IACjC,UAAU,EAAE,MAAM,CAAC;IAEnB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;IACvB,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../src/toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAKL,KAAK,qBAAqB,EAC3B,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../src/toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAKL,KAAK,qBAAqB,EAC3B,MAAM,cAAc,CAAC;AAMtB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAWzC,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,EAAE,EACF,IAAI,GACL,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,SAAS,CAAC;CACjB,2CAOA;AAED,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAiBhE;AAED,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,kDAgBxD;AAED,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAiB/D;AAED,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,OAAO,EACP,GAAG,IAAI,EACR,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,2CA0CA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../src/accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmF,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../src/accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmF,MAAM,OAAO,CAAC;AAOxG,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EAEtB,MAAM,SAAS,CAAC;AAsPjB,eAAO,MAAM,SAAS,4CAA2B,CAAC;AAGlD,eAAO,MAAM,aAAa,gDAA+B,CAAC;AAG1D,eAAO,MAAM,gBAAgB,mDAAkC,CAAC;AAGhE,eAAO,MAAM,gBAAgB,mDAAkC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAI7C,OAAO,KAAK,EAAE,UAAU,EAA4B,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAI7C,OAAO,KAAK,EAAE,UAAU,EAA4B,MAAM,SAAS,CAAC;AAqJpE,eAAO,MAAM,KAAK,wCAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAgB7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAmOtE,eAAO,MAAM,MAAM,yCAAwB,CAAC;AAG5C,eAAO,MAAM,aAAa,oCAAgB,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,6CAEpE,CAAC;AAGH,eAAO,MAAM,eAAe,oCAAgB,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,6CAEtE,CAAC;AAGH,eAAO,MAAM,UAAU,oCAAgB,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,6CAEjE,CAAC;AAGH,eAAO,MAAM,WAAW,oCAAgB,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,6CAElE,CAAC;AAGH,eAAO,MAAM,aAAa,oCAAgB,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,6CAEpE,CAAC;AAGH,eAAO,MAAM,UAAU,oCAAgB,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,6CAEjE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAM7C,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EACf,aAAa,EACb,eAAe,EACf,cAAc,EACd,oBAAoB,EACrB,MAAM,SAAS,CAAC;AA+KjB,eAAO,MAAM,IAAI,uCAA0B,CAAC;AAG5C,eAAO,MAAM,UAAU,6CAA4B,CAAC;AAGpD,eAAO,MAAM,QAAQ,2CAA0B,CAAC;AAGhD,eAAO,MAAM,UAAU,6CAA4B,CAAC;AAGpD,eAAO,MAAM,SAAS,4CAA2B,CAAC;AAGlD,eAAO,MAAM,eAAe,kDAAiC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwD,MAAM,OAAO,CAAC;AAM7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwD,MAAM,OAAO,CAAC;AAM7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAmK7C,eAAO,MAAM,QAAQ,2CAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../src/chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAK7C,OAAO,KAAK,EAAE,SAAS,EAA0B,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../src/chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAK7C,OAAO,KAAK,EAAE,SAAS,EAA0B,MAAM,SAAS,CAAC;AA0IjE,eAAO,MAAM,IAAI,uCAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioIndicator.d.ts","sourceRoot":"","sources":["../../../../src/radio-indicator/RadioIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAIpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"RadioIndicator.d.ts","sourceRoot":"","sources":["../../../../src/radio-indicator/RadioIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAIpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAkDnD,eAAO,MAAM,cAAc,iDAAgC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/segmented-control/index.tsx"],"names":[],"mappings":"AASA,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,IAAI,EACJ,KAAK,SAAS,EAEd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/segmented-control/index.tsx"],"names":[],"mappings":"AASA,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,IAAI,EACJ,KAAK,SAAS,EAEd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAmBtB;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,IAAI,CAAC,CAAC,SAAS,MAAM,EAAE,EACrC,KAAK,EACL,IAAc,EACd,IAAc,EACd,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,iBAAiB,GAClB,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACzB,KAAK,EAAE,CAAC,CAAC;IACT,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,2CAoEA;AAMD,wBAAgB,IAAI,CAAC,EACnB,KAAK,EACL,KAAK,EACL,QAAQ,EACR,OAAO,EAAE,WAAW,EACpB,kBAAkB,EAClB,iBAAiB,EACjB,MAAM,EACN,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;CACvC,2CAkGA;AAED,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAAE,GAAG,IAAI,CACnE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EACjC,OAAO,GAAG,UAAU,CACrB,2CAyBA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsList.d.ts","sourceRoot":"","sources":["../../../../src/settings-list/SettingsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SettingsList.d.ts","sourceRoot":"","sources":["../../../../src/settings-list/SettingsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAKpC,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAoBjB,eAAO,MAAM,gBAAgB,mDA0G3B,CAAC;AAIH,eAAO,MAAM,iBAAiB,oDA6C5B,CAAC;AAIH,eAAO,MAAM,mBAAmB,sDAY/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BloomThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/theme/BloomThemeProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,KAA4E,MAAM,OAAO,CAAC;AAEjG,OAAO,EAAqB,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAKvE,OAAO,KAAK,EAAE,KAAK,EAAe,SAAS,EAAE,MAAM,SAAS,CAAC;AAmB7D,kFAAkF;AAClF,wBAAgB,UAAU,CAAC,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,OAAO,GAAG,MAAM,EAAE,UAAU,GAAE,OAAe,GAAG,KAAK,
|
|
1
|
+
{"version":3,"file":"BloomThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/theme/BloomThemeProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,KAA4E,MAAM,OAAO,CAAC;AAEjG,OAAO,EAAqB,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAKvE,OAAO,KAAK,EAAE,KAAK,EAAe,SAAS,EAAE,MAAM,SAAS,CAAC;AAmB7D,kFAAkF;AAClF,wBAAgB,UAAU,CAAC,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,OAAO,GAAG,MAAM,EAAE,UAAU,GAAE,OAAe,GAAG,KAAK,CAyEjH;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,SAAS,CAAC;IAChB,WAAW,EAAE,YAAY,CAAC;IAC1B,OAAO,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACnC,cAAc,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;CAChD;AAED,eAAO,MAAM,iBAAiB,8CAAqD,CAAC;AAEpF,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACzC,mBAAmB,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IACrD;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EAAE,cAAc,EACpB,WAAW,EAAE,gBAAgB,EAC7B,YAAY,EACZ,mBAAmB,EACnB,KAAY,EACZ,cAAc,EACd,QAAQ,GACT,EAAE,uBAAuB,2CA2DzB;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,YAAY,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,eAAe,CAAC,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,oBAAoB,2CAoB9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adaptive-colors.d.ts","sourceRoot":"","sources":["../../../../src/theme/adaptive-colors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"adaptive-colors.d.ts","sourceRoot":"","sources":["../../../../src/theme/adaptive-colors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SA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ACpB,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;IACvB,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../src/toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAKL,KAAK,qBAAqB,EAC3B,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../src/toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAKL,KAAK,qBAAqB,EAC3B,MAAM,cAAc,CAAC;AAMtB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAWzC,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,EAAE,EACF,IAAI,GACL,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,SAAS,CAAC;CACjB,2CAOA;AAED,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAiBhE;AAED,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,kDAgBxD;AAED,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAiB/D;AAED,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,OAAO,EACP,GAAG,IAAI,EACR,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,2CA0CA"}
|
package/package.json
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
HEX_TO_APP_COLOR,
|
|
5
5
|
hexToAppColorName,
|
|
6
6
|
} from '../theme/color-presets';
|
|
7
|
+
import { buildTheme } from '../theme/BloomThemeProvider';
|
|
7
8
|
import type { Theme, ThemeColors, ThemeMode } from '../theme/types';
|
|
8
9
|
|
|
9
10
|
describe('Theme system', () => {
|
|
@@ -47,6 +48,24 @@ describe('Theme system', () => {
|
|
|
47
48
|
});
|
|
48
49
|
});
|
|
49
50
|
|
|
51
|
+
describe('buildTheme primaryForeground', () => {
|
|
52
|
+
it('resolves a readable foreground for the primary fill per preset', () => {
|
|
53
|
+
// blue's --primary-foreground is `0 0% 100%` → white
|
|
54
|
+
expect(buildTheme('blue', 'light').colors.primaryForeground).toBe('hsl(0, 0%, 100%)');
|
|
55
|
+
expect(buildTheme('blue', 'dark').colors.primaryForeground).toBe('hsl(0, 0%, 100%)');
|
|
56
|
+
// yellow's --primary-foreground is `0 0% 0%` → black
|
|
57
|
+
expect(buildTheme('yellow', 'light').colors.primaryForeground).toBe('hsl(0, 0%, 0%)');
|
|
58
|
+
expect(buildTheme('yellow', 'dark').colors.primaryForeground).toBe('hsl(0, 0%, 0%)');
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
it('sets a primaryForeground for every preset in both modes', () => {
|
|
62
|
+
for (const name of APP_COLOR_NAMES) {
|
|
63
|
+
expect(buildTheme(name, 'light').colors.primaryForeground).toBeTruthy();
|
|
64
|
+
expect(buildTheme(name, 'dark').colors.primaryForeground).toBeTruthy();
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
|
|
50
69
|
describe('hexToAppColorName', () => {
|
|
51
70
|
it('maps known hex values to correct color names', () => {
|
|
52
71
|
expect(hexToAppColorName('#005c67')).toBe('teal');
|
|
@@ -124,6 +143,7 @@ function createMockColors(): ThemeColors {
|
|
|
124
143
|
border: '#ccc',
|
|
125
144
|
borderLight: '#ddd',
|
|
126
145
|
primary: '#005c67',
|
|
146
|
+
primaryForeground: '#FFFFFF',
|
|
127
147
|
primaryLight: '#e0f7fa',
|
|
128
148
|
primaryDark: '#003d44',
|
|
129
149
|
secondary: '#005c67',
|
|
@@ -2,6 +2,7 @@ import React, { createContext, memo, useCallback, useContext, useEffect, useMemo
|
|
|
2
2
|
import { View, Text, Pressable, Animated, type ViewStyle } from 'react-native';
|
|
3
3
|
|
|
4
4
|
import { useTheme } from '../theme/use-theme';
|
|
5
|
+
import { useInteractionState } from '../hooks/useInteractionState';
|
|
5
6
|
import { animation, borderRadius, space } from '../styles/tokens';
|
|
6
7
|
import { SUPPORTS_NATIVE_DRIVER } from '../styles/native-driver';
|
|
7
8
|
import type {
|
|
@@ -132,6 +133,11 @@ const AccordionTriggerComponent: React.FC<AccordionTriggerProps> = ({
|
|
|
132
133
|
const { toggle } = useContext(AccordionContext);
|
|
133
134
|
const { value, isExpanded, disabled } = useContext(AccordionItemContext);
|
|
134
135
|
const rotateAnim = useRef(new Animated.Value(isExpanded ? 1 : 0)).current;
|
|
136
|
+
// Drive press-opacity via state, not Pressable's function-form `style`,
|
|
137
|
+
// which NativeWind v4's css-interop swallows (dropping the trigger's base
|
|
138
|
+
// layout: flexDirection, padding, gap).
|
|
139
|
+
const { state: pressed, onIn: onPressIn, onOut: onPressOut } =
|
|
140
|
+
useInteractionState();
|
|
135
141
|
|
|
136
142
|
useEffect(() => {
|
|
137
143
|
Animated.spring(rotateAnim, {
|
|
@@ -154,7 +160,7 @@ const AccordionTriggerComponent: React.FC<AccordionTriggerProps> = ({
|
|
|
154
160
|
|
|
155
161
|
return (
|
|
156
162
|
<Pressable
|
|
157
|
-
style={
|
|
163
|
+
style={[
|
|
158
164
|
{
|
|
159
165
|
flexDirection: 'row',
|
|
160
166
|
alignItems: 'center',
|
|
@@ -166,6 +172,8 @@ const AccordionTriggerComponent: React.FC<AccordionTriggerProps> = ({
|
|
|
166
172
|
style,
|
|
167
173
|
]}
|
|
168
174
|
onPress={handlePress}
|
|
175
|
+
onPressIn={disabled ? undefined : onPressIn}
|
|
176
|
+
onPressOut={disabled ? undefined : onPressOut}
|
|
169
177
|
disabled={disabled}
|
|
170
178
|
accessibilityRole="button"
|
|
171
179
|
accessibilityState={{ expanded: isExpanded, disabled }}
|
package/src/badge/Badge.tsx
CHANGED
|
@@ -32,10 +32,14 @@ function useColorPair(
|
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
const base = colorMap[color];
|
|
35
|
+
// A primary-colored solid badge needs the preset's readable foreground
|
|
36
|
+
// (white for blue, black for yellow). Semantic colors are fixed bright
|
|
37
|
+
// fills that always pair with white.
|
|
38
|
+
const solidForeground = base === theme.colors.primary ? theme.colors.primaryForeground : '#fff';
|
|
35
39
|
|
|
36
40
|
switch (variant) {
|
|
37
41
|
case 'solid':
|
|
38
|
-
return { bg: base, fg:
|
|
42
|
+
return { bg: base, fg: solidForeground };
|
|
39
43
|
case 'subtle':
|
|
40
44
|
return { bg: base + '20', fg: base };
|
|
41
45
|
case 'outlined':
|
package/src/button/Button.tsx
CHANGED
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
|
|
14
14
|
import { useTheme } from '../theme/use-theme';
|
|
15
15
|
import { usePressAnimation } from '../hooks/usePressAnimation';
|
|
16
|
+
import { useInteractionState } from '../hooks/useInteractionState';
|
|
16
17
|
import type { ButtonProps } from './types';
|
|
17
18
|
|
|
18
19
|
export type { ButtonProps, ButtonVariant, ButtonSize } from './types';
|
|
@@ -65,9 +66,34 @@ const ButtonComponent: React.FC<ButtonProps> = ({
|
|
|
65
66
|
const theme = useTheme();
|
|
66
67
|
const hasScaleFeedback = SCALE_VARIANTS.has(variant);
|
|
67
68
|
const isInteractionBlocked = disabled || loading;
|
|
68
|
-
const { scaleAnim, onPressIn, onPressOut } =
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
const { scaleAnim, onPressIn: onScalePressIn, onPressOut: onScalePressOut } =
|
|
70
|
+
usePressAnimation(
|
|
71
|
+
hasScaleFeedback && !isInteractionBlocked ? PRESS_SCALE : undefined,
|
|
72
|
+
);
|
|
73
|
+
// Non-scale variants (icon/ghost/text) convey press feedback via an opacity
|
|
74
|
+
// dip. We drive it through component state + onPressIn/onPressOut rather than
|
|
75
|
+
// Pressable's function-form `style` because NativeWind v4's css-interop
|
|
76
|
+
// rewrites the `style` prop of every JSX element and swallows the function
|
|
77
|
+
// form, which would drop ALL base styles (background, radius, padding,
|
|
78
|
+
// minHeight). A static style array is merged correctly by css-interop.
|
|
79
|
+
const { state: pressed, onIn: onPressedIn, onOut: onPressedOut } =
|
|
80
|
+
useInteractionState();
|
|
81
|
+
|
|
82
|
+
const handlePressIn = useMemo(() => {
|
|
83
|
+
if (isInteractionBlocked) return undefined;
|
|
84
|
+
return () => {
|
|
85
|
+
onScalePressIn();
|
|
86
|
+
onPressedIn();
|
|
87
|
+
};
|
|
88
|
+
}, [isInteractionBlocked, onScalePressIn, onPressedIn]);
|
|
89
|
+
|
|
90
|
+
const handlePressOut = useMemo(() => {
|
|
91
|
+
if (isInteractionBlocked) return undefined;
|
|
92
|
+
return () => {
|
|
93
|
+
onScalePressOut();
|
|
94
|
+
onPressedOut();
|
|
95
|
+
};
|
|
96
|
+
}, [isInteractionBlocked, onScalePressOut, onPressedOut]);
|
|
71
97
|
|
|
72
98
|
const baseStyles = useMemo((): ViewStyle => {
|
|
73
99
|
const sizeConfig = SIZE_CONFIG[size];
|
|
@@ -122,7 +148,7 @@ const ButtonComponent: React.FC<ButtonProps> = ({
|
|
|
122
148
|
const resolvedTextColor = useMemo((): string => {
|
|
123
149
|
switch (variant) {
|
|
124
150
|
case 'primary':
|
|
125
|
-
return theme.colors.
|
|
151
|
+
return theme.colors.primaryForeground;
|
|
126
152
|
case 'secondary':
|
|
127
153
|
return theme.colors.text;
|
|
128
154
|
case 'inverse':
|
|
@@ -163,15 +189,15 @@ const ButtonComponent: React.FC<ButtonProps> = ({
|
|
|
163
189
|
<Animated.View style={hasScaleFeedback ? { transform: [{ scale: scaleAnim }] } : undefined}>
|
|
164
190
|
<Pressable
|
|
165
191
|
{...(resolvedClassName ? { className: resolvedClassName } as Record<string, string> : {})}
|
|
166
|
-
style={
|
|
192
|
+
style={[
|
|
167
193
|
baseStyles,
|
|
168
194
|
disabled && !loading && { opacity: 0.5 },
|
|
169
195
|
pressed && !hasScaleFeedback && !isInteractionBlocked && { opacity: resolvedActiveOpacity },
|
|
170
196
|
style,
|
|
171
197
|
]}
|
|
172
198
|
onPress={isInteractionBlocked ? undefined : onPress}
|
|
173
|
-
onPressIn={
|
|
174
|
-
onPressOut={
|
|
199
|
+
onPressIn={handlePressIn}
|
|
200
|
+
onPressOut={handlePressOut}
|
|
175
201
|
disabled={isInteractionBlocked}
|
|
176
202
|
hitSlop={hitSlop ?? defaultHitSlop}
|
|
177
203
|
accessibilityLabel={accessibilityLabel}
|
package/src/card/Card.tsx
CHANGED
|
@@ -2,6 +2,7 @@ import React, { memo, useMemo } from 'react';
|
|
|
2
2
|
import { View, Text, Pressable, Platform, type ViewStyle } from 'react-native';
|
|
3
3
|
|
|
4
4
|
import { useTheme } from '../theme/use-theme';
|
|
5
|
+
import { useInteractionState } from '../hooks/useInteractionState';
|
|
5
6
|
import { borderRadius, space } from '../styles/tokens';
|
|
6
7
|
import type {
|
|
7
8
|
CardProps,
|
|
@@ -22,6 +23,11 @@ const CardRootComponent: React.FC<CardProps> = ({
|
|
|
22
23
|
testID,
|
|
23
24
|
}) => {
|
|
24
25
|
const theme = useTheme();
|
|
26
|
+
// Drive the press-opacity via state instead of Pressable's function-form
|
|
27
|
+
// `style`, which NativeWind v4's css-interop swallows (dropping the base
|
|
28
|
+
// container style: background, radius, border, shadow).
|
|
29
|
+
const { state: pressed, onIn: onPressIn, onOut: onPressOut } =
|
|
30
|
+
useInteractionState();
|
|
25
31
|
|
|
26
32
|
const containerStyle = useMemo((): ViewStyle => {
|
|
27
33
|
const base: ViewStyle = {
|
|
@@ -58,13 +64,15 @@ const CardRootComponent: React.FC<CardProps> = ({
|
|
|
58
64
|
if (onPress) {
|
|
59
65
|
return (
|
|
60
66
|
<Pressable
|
|
61
|
-
style={
|
|
67
|
+
style={[
|
|
62
68
|
containerStyle,
|
|
63
|
-
pressed && { opacity: 0.85 },
|
|
69
|
+
pressed && !disabled && { opacity: 0.85 },
|
|
64
70
|
disabled && { opacity: 0.5 },
|
|
65
71
|
style,
|
|
66
72
|
]}
|
|
67
73
|
onPress={onPress}
|
|
74
|
+
onPressIn={disabled ? undefined : onPressIn}
|
|
75
|
+
onPressOut={disabled ? undefined : onPressOut}
|
|
68
76
|
disabled={disabled}
|
|
69
77
|
accessibilityLabel={accessibilityLabel}
|
|
70
78
|
accessibilityRole="button"
|
|
@@ -31,6 +31,10 @@ const CheckboxComponent: React.FC<CheckboxProps> = ({
|
|
|
31
31
|
const pressAnim = useRef(new Animated.Value(1)).current;
|
|
32
32
|
const sizeConfig = SIZE_CONFIG[size];
|
|
33
33
|
const checkColor = color ?? theme.colors.primary;
|
|
34
|
+
// The checkmark sits on top of `checkColor`. When the box uses the theme
|
|
35
|
+
// primary, use the preset's readable foreground (white for blue, black for
|
|
36
|
+
// yellow). A caller-supplied custom color falls back to white.
|
|
37
|
+
const checkmarkColor = color == null ? theme.colors.primaryForeground : '#fff';
|
|
34
38
|
|
|
35
39
|
useEffect(() => {
|
|
36
40
|
Animated.spring(scaleAnim, {
|
|
@@ -117,7 +121,7 @@ const CheckboxComponent: React.FC<CheckboxProps> = ({
|
|
|
117
121
|
<Text
|
|
118
122
|
style={{
|
|
119
123
|
fontSize: sizeConfig.checkmark,
|
|
120
|
-
color:
|
|
124
|
+
color: checkmarkColor,
|
|
121
125
|
fontWeight: '700',
|
|
122
126
|
lineHeight: sizeConfig.checkmark + 2,
|
|
123
127
|
textAlign: 'center',
|
package/src/chip/Chip.tsx
CHANGED
|
@@ -28,10 +28,15 @@ function useChipColors(
|
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
const base = selected ? theme.colors.primary : colorMap[color];
|
|
31
|
+
// When the background is the theme primary, the readable text/icon color is
|
|
32
|
+
// preset-specific (white for blue, black for yellow). Semantic colors
|
|
33
|
+
// (success/warning/error) are fixed bright fills that always pair with white.
|
|
34
|
+
const isPrimaryBg = base === theme.colors.primary;
|
|
35
|
+
const solidForeground = isPrimaryBg ? theme.colors.primaryForeground : '#fff';
|
|
31
36
|
|
|
32
37
|
switch (variant) {
|
|
33
38
|
case 'solid':
|
|
34
|
-
return { bg: base, fg:
|
|
39
|
+
return { bg: base, fg: solidForeground, border: base };
|
|
35
40
|
case 'outlined':
|
|
36
41
|
return { bg: 'transparent', fg: base, border: base };
|
|
37
42
|
case 'soft':
|
package/src/dialog/Dialog.tsx
CHANGED
|
@@ -256,11 +256,11 @@ function getActionPalette(
|
|
|
256
256
|
case 'cancel':
|
|
257
257
|
return { background: colors.contrast50, foreground: colors.text };
|
|
258
258
|
case 'default':
|
|
259
|
-
return { background: colors.primary, foreground:
|
|
259
|
+
return { background: colors.primary, foreground: colors.primaryForeground };
|
|
260
260
|
/* c8 ignore next 2 -- TS exhaustiveness check guards this branch */
|
|
261
261
|
default: {
|
|
262
262
|
const _exhaustive: never = color;
|
|
263
|
-
return { background: colors.primary, foreground:
|
|
263
|
+
return { background: colors.primary, foreground: colors.primaryForeground };
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
}
|
|
@@ -330,11 +330,11 @@ function getActionPalette(
|
|
|
330
330
|
case 'cancel':
|
|
331
331
|
return { background: colors.contrast50, foreground: colors.text };
|
|
332
332
|
case 'default':
|
|
333
|
-
return { background: colors.primary, foreground:
|
|
333
|
+
return { background: colors.primary, foreground: colors.primaryForeground };
|
|
334
334
|
/* c8 ignore next 3 -- TS exhaustiveness guard */
|
|
335
335
|
default: {
|
|
336
336
|
const _exhaustive: never = color;
|
|
337
|
-
return { background: colors.primary, foreground:
|
|
337
|
+
return { background: colors.primary, foreground: colors.primaryForeground };
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
}
|
|
@@ -37,7 +37,7 @@ export function PromptInputSubmitButton({
|
|
|
37
37
|
testID={testID}
|
|
38
38
|
>
|
|
39
39
|
{stopIcon ?? (
|
|
40
|
-
<Text style={{ fontSize: 12, color:
|
|
40
|
+
<Text style={{ fontSize: 12, color: theme.colors.primaryForeground, fontWeight: '700' }}>■</Text>
|
|
41
41
|
)}
|
|
42
42
|
</TouchableOpacity>
|
|
43
43
|
);
|
|
@@ -67,7 +67,7 @@ export function PromptInputSubmitButton({
|
|
|
67
67
|
testID={testID}
|
|
68
68
|
>
|
|
69
69
|
{submitIcon ?? (
|
|
70
|
-
<Text style={{ fontSize: 16, color:
|
|
70
|
+
<Text style={{ fontSize: 16, color: theme.colors.primaryForeground, fontWeight: '700' }}>↑</Text>
|
|
71
71
|
)}
|
|
72
72
|
</TouchableOpacity>
|
|
73
73
|
);
|
|
@@ -15,6 +15,10 @@ const RadioIndicatorComponent: React.FC<RadioIndicatorProps> = ({
|
|
|
15
15
|
const theme = useTheme();
|
|
16
16
|
const resolvedSelectedColor = selectedColor ?? theme.colors.primary;
|
|
17
17
|
const resolvedBorderColor = borderColor ?? theme.colors.border;
|
|
18
|
+
// The inner dot sits on `resolvedSelectedColor`. When that is the theme
|
|
19
|
+
// primary, use the preset's readable foreground (white for blue, black for
|
|
20
|
+
// yellow). A caller-supplied custom color falls back to white.
|
|
21
|
+
const dotColor = selectedColor == null ? theme.colors.primaryForeground : '#FFFFFF';
|
|
18
22
|
const dotSize = size * 0.5;
|
|
19
23
|
|
|
20
24
|
return (
|
|
@@ -40,7 +44,7 @@ const RadioIndicatorComponent: React.FC<RadioIndicatorProps> = ({
|
|
|
40
44
|
width: dotSize,
|
|
41
45
|
height: dotSize,
|
|
42
46
|
borderRadius: dotSize / 2,
|
|
43
|
-
backgroundColor:
|
|
47
|
+
backgroundColor: dotColor,
|
|
44
48
|
}}
|
|
45
49
|
/>
|
|
46
50
|
)}
|
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
import Animated, { Easing, LinearTransition } from 'react-native-reanimated';
|
|
21
21
|
|
|
22
22
|
import { useTheme } from '../theme/use-theme';
|
|
23
|
+
import { useInteractionState } from '../hooks/useInteractionState';
|
|
23
24
|
import { atoms as a, platform } from '../styles';
|
|
24
25
|
|
|
25
26
|
const InternalContext = createContext<{
|
|
@@ -167,6 +168,11 @@ export function Item({
|
|
|
167
168
|
const [position, setPosition] = useState<{ x: number; width: number } | null>(
|
|
168
169
|
null,
|
|
169
170
|
);
|
|
171
|
+
// Drive press-opacity via state, not Pressable's function-form `style`:
|
|
172
|
+
// NativeWind v4's css-interop swallows the function form, which would drop
|
|
173
|
+
// the segment's base layout styles (flex_1, padding, minHeight, radius).
|
|
174
|
+
const { state: pressed, onIn: onPressIn, onOut: onPressOut } =
|
|
175
|
+
useInteractionState();
|
|
170
176
|
|
|
171
177
|
const ctx = useContext(InternalContext);
|
|
172
178
|
if (!ctx) {
|
|
@@ -230,13 +236,15 @@ export function Item({
|
|
|
230
236
|
}}>
|
|
231
237
|
<Pressable
|
|
232
238
|
onPress={onPress}
|
|
239
|
+
onPressIn={disabled ? undefined : onPressIn}
|
|
240
|
+
onPressOut={disabled ? undefined : onPressOut}
|
|
233
241
|
accessibilityLabel={accessibilityLabel}
|
|
234
242
|
accessibilityHint={accessibilityHint}
|
|
235
243
|
accessibilityState={{ selected: active, disabled: !!disabled }}
|
|
236
244
|
role={itemRole}
|
|
237
245
|
disabled={disabled}
|
|
238
246
|
testID={testID}
|
|
239
|
-
style={
|
|
247
|
+
style={[
|
|
240
248
|
a.flex_1,
|
|
241
249
|
a.flex_row,
|
|
242
250
|
a.align_center,
|
|
@@ -2,6 +2,7 @@ import React, { memo } from 'react';
|
|
|
2
2
|
import { View, Text, Pressable, StyleSheet } from 'react-native';
|
|
3
3
|
|
|
4
4
|
import { useTheme } from '../theme/use-theme';
|
|
5
|
+
import { useInteractionState } from '../hooks/useInteractionState';
|
|
5
6
|
import type {
|
|
6
7
|
SettingsListItemProps,
|
|
7
8
|
SettingsListGroupProps,
|
|
@@ -45,6 +46,10 @@ export const SettingsListItem = memo<SettingsListItemProps>(function SettingsLis
|
|
|
45
46
|
const hasChevron = showChevron ?? Boolean(onPress);
|
|
46
47
|
const titleColor = destructive ? theme.colors.error : theme.colors.text;
|
|
47
48
|
const pressedOpacity = disabled ? 1 : 0.6;
|
|
49
|
+
// Drive press-opacity via state, not Pressable's function-form `style`,
|
|
50
|
+
// which NativeWind v4's css-interop swallows.
|
|
51
|
+
const { state: pressed, onIn: onPressIn, onOut: onPressOut } =
|
|
52
|
+
useInteractionState();
|
|
48
53
|
|
|
49
54
|
const role = accessibilityRole ?? (onPress ? 'button' : 'none');
|
|
50
55
|
const label = accessibilityLabel ?? title;
|
|
@@ -100,13 +105,15 @@ export const SettingsListItem = memo<SettingsListItemProps>(function SettingsLis
|
|
|
100
105
|
return (
|
|
101
106
|
<Pressable
|
|
102
107
|
onPress={onPress}
|
|
108
|
+
onPressIn={disabled ? undefined : onPressIn}
|
|
109
|
+
onPressOut={disabled ? undefined : onPressOut}
|
|
103
110
|
disabled={disabled}
|
|
104
111
|
android_ripple={{ color: theme.colors.border }}
|
|
105
112
|
accessibilityRole={role}
|
|
106
113
|
accessibilityLabel={label}
|
|
107
114
|
accessibilityHint={accessibilityHint}
|
|
108
115
|
accessibilityState={disabled ? { disabled: true } : undefined}
|
|
109
|
-
style={
|
|
116
|
+
style={[
|
|
110
117
|
disabled && styles.disabled,
|
|
111
118
|
pressed && { opacity: pressedOpacity },
|
|
112
119
|
]}
|
package/src/tabs/Tabs.tsx
CHANGED
|
@@ -154,7 +154,7 @@ const TabComponent: React.FC<TabProps> = ({
|
|
|
154
154
|
};
|
|
155
155
|
|
|
156
156
|
if (variant === 'outlined' && isSelected) {
|
|
157
|
-
base.color =
|
|
157
|
+
base.color = theme.colors.primaryForeground;
|
|
158
158
|
} else if (isSelected) {
|
|
159
159
|
base.color = theme.colors.primary;
|
|
160
160
|
} else {
|
|
@@ -53,6 +53,7 @@ export function buildTheme(appColor: AppColorName, resolved: 'light' | 'dark', i
|
|
|
53
53
|
const mutedForeground = hslVarToCSS(vars['--muted-foreground'] ?? '0 0% 50%');
|
|
54
54
|
|
|
55
55
|
const primaryColor = hslVarToCSS(vars['--primary'] ?? '0 0% 50%');
|
|
56
|
+
const primaryForeground = hslVarToCSS(vars['--primary-foreground'] ?? '0 0% 100%');
|
|
56
57
|
|
|
57
58
|
themeColors = {
|
|
58
59
|
background,
|
|
@@ -67,6 +68,7 @@ export function buildTheme(appColor: AppColorName, resolved: 'light' | 'dark', i
|
|
|
67
68
|
borderLight: hslVarToCSS(vars['--input'] ?? '0 0% 20%'),
|
|
68
69
|
|
|
69
70
|
primary: primaryColor,
|
|
71
|
+
primaryForeground,
|
|
70
72
|
primaryLight: surface,
|
|
71
73
|
primaryDark: background,
|
|
72
74
|
|
|
@@ -19,6 +19,7 @@ function getAndroidColors(): ThemeColors | null {
|
|
|
19
19
|
border: c(d.outlineVariant),
|
|
20
20
|
borderLight: c(d.outline),
|
|
21
21
|
primary: c(d.primary),
|
|
22
|
+
primaryForeground: c(d.onPrimary),
|
|
22
23
|
primaryLight: c(d.primaryContainer),
|
|
23
24
|
primaryDark: c(d.onPrimaryContainer),
|
|
24
25
|
secondary: c(d.secondary),
|
|
@@ -61,6 +62,7 @@ function getIOSColors(): ThemeColors | null {
|
|
|
61
62
|
border: c(i.separator),
|
|
62
63
|
borderLight: c(i.opaqueSeparator),
|
|
63
64
|
primary: c(i.systemBlue),
|
|
65
|
+
primaryForeground: '#FFFFFF',
|
|
64
66
|
primaryLight: c(i.systemGray6),
|
|
65
67
|
primaryDark: c(i.systemBlue),
|
|
66
68
|
secondary: c(i.systemPurple),
|