@pedidopago/ui 1.17.5 → 1.17.6
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.
|
@@ -2,5 +2,5 @@ import { NewAlertProps } from './types';
|
|
|
2
2
|
import { GlobalColorsProps } from '../../shared/theme';
|
|
3
3
|
export declare function getBackgroundColorByType(type: NewAlertProps['type']): GlobalColorsProps;
|
|
4
4
|
export declare function getHeaderBackgroundColorByType(type: NewAlertProps['type']): GlobalColorsProps;
|
|
5
|
-
export declare function getTextColorByType(type: NewAlertProps['type'], isDark?: boolean): GlobalColorsProps;
|
|
5
|
+
export declare function getTextColorByType(type: NewAlertProps['type'], isDark?: boolean): GlobalColorsProps | (string & {});
|
|
6
6
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/NewAlert/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,iBAAiB,CAavF;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,iBAAiB,CAa7F;AAED,wBAAgB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/NewAlert/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,iBAAiB,CAavF;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,iBAAiB,CAa7F;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,EAC3B,MAAM,UAAQ,GACb,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAenC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getBackgroundColorByType=getBackgroundColorByType,exports.getHeaderBackgroundColorByType=getHeaderBackgroundColorByType,exports.getTextColorByType=getTextColorByType;function getBackgroundColorByType(type){return"success"===type?"emerald.50":"info"===type?"blue.50":"warning"===type?"orange.50":"error"===type?"red.50":"neutral.neutral1"}function getHeaderBackgroundColorByType(type){return"success"===type?"emerald.200":"info"===type?"blue.200":"warning"===type?"orange.200":"error"===type?"red.200":"neutral.neutral6"}function getTextColorByType(type){var isDark=!!(1<arguments.length&&arguments[1]!==void 0)&&arguments[1];if(isDark)return"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getBackgroundColorByType=getBackgroundColorByType,exports.getHeaderBackgroundColorByType=getHeaderBackgroundColorByType,exports.getTextColorByType=getTextColorByType;function getBackgroundColorByType(type){return"success"===type?"emerald.50":"info"===type?"blue.50":"warning"===type?"orange.50":"error"===type?"red.50":"neutral.neutral1"}function getHeaderBackgroundColorByType(type){return"success"===type?"emerald.200":"info"===type?"blue.200":"warning"===type?"orange.200":"error"===type?"red.200":"neutral.neutral6"}function getTextColorByType(type){var isDark=!!(1<arguments.length&&arguments[1]!==void 0)&&arguments[1];if(isDark)return"#FFFFFF";return"success"===type?"emerald.400":"info"===type?"blue.400":"warning"===type?"orange.400":"error"===type?"red.400":"neutral.neutral6"}
|