@toptal/picasso-notification
Advanced tools
Comparing version 1.0.5-alpha-fx-4589-migrate-typography-c303acfab.23 to 1.0.5-alpha-fx-xxx-fix-picasso-table-cell-0af5186cf.15
@@ -47,3 +47,3 @@ var __rest = (this && this.__rest) || function (s, e) { | ||
React.createElement(Container, { flex: true, alignItems: 'center', className: cx(classes === null || classes === void 0 ? void 0 : classes.iconWrapper, classes === null || classes === void 0 ? void 0 : classes[`iconWrapper${capitalizedVariant}`]) }, renderNotificationIcon(props)), | ||
React.createElement(Typography, { size: variant === 'yellow' ? 'small' : 'medium', color: 'black', className: cx('break-words min-w-0', variant === 'yellow' ? '!mt-0' : '!mt-[1px]'), as: 'div' }, children), | ||
React.createElement(Typography, { size: variant === 'yellow' ? 'small' : 'medium', className: cx(classes === null || classes === void 0 ? void 0 : classes.content, classes === null || classes === void 0 ? void 0 : classes[`content${capitalizedVariant}`]), as: 'div' }, children), | ||
onClose && renderNotificationCloseButton(props))); | ||
@@ -50,0 +50,0 @@ }; |
import type { Theme } from '@material-ui/core/styles'; | ||
declare const _default: ({ palette: { red, green, yellow, common, text }, shadows, breakpoints: { down }, sizes: { borderRadius }, }: Theme) => import("@material-ui/styles").StyleRules<{}, "notification" | "notificationShadow" | "roundedBorders" | "notificationRed" | "notificationGreen" | "notificationWhite" | "notificationYellow" | "iconWrapper" | "iconWrapperYellow" | "close" | "closeIcon">; | ||
declare const _default: ({ palette: { red, green, yellow, common, text }, shadows, breakpoints: { down }, sizes: { borderRadius }, }: Theme) => import("@material-ui/styles").StyleRules<{}, "content" | "notification" | "notificationShadow" | "roundedBorders" | "notificationRed" | "notificationGreen" | "notificationWhite" | "notificationYellow" | "contentYellow" | "iconWrapper" | "iconWrapperYellow" | "close" | "closeIcon">; | ||
export default _default; | ||
//# sourceMappingURL=styles.d.ts.map |
@@ -59,2 +59,12 @@ import { createStyles } from '@material-ui/core/styles'; | ||
}, | ||
// Content | ||
content: { | ||
color: common.black, | ||
overflowWrap: 'break-word', | ||
minWidth: 0, | ||
marginTop: '1px', | ||
}, | ||
contentYellow: { | ||
marginTop: 0, | ||
}, | ||
// Content Icon | ||
@@ -61,0 +71,0 @@ iconWrapper: { |
{ | ||
"name": "@toptal/picasso-notification", | ||
"version": "1.0.5-alpha-fx-4589-migrate-typography-c303acfab.23+c303acfab", | ||
"version": "1.0.5-alpha-fx-xxx-fix-picasso-table-cell-0af5186cf.15+0af5186cf", | ||
"description": "Toptal UI components library - Notification", | ||
@@ -25,8 +25,8 @@ "publishConfig": { | ||
"dependencies": { | ||
"@toptal/picasso-button": "1.0.5-alpha-fx-4589-migrate-typography-c303acfab.23+c303acfab", | ||
"@toptal/picasso-container": "1.0.3-alpha-fx-4589-migrate-typography-c303acfab.23+c303acfab", | ||
"@toptal/picasso-icons": "1.0.3-alpha-fx-4589-migrate-typography-c303acfab.23+c303acfab", | ||
"@toptal/picasso-shared": "14.0.2-alpha-fx-4589-migrate-typography-c303acfab.23+c303acfab", | ||
"@toptal/picasso-typography": "1.0.3-alpha-fx-4589-migrate-typography-c303acfab.23+c303acfab", | ||
"@toptal/picasso-utils": "1.0.3-alpha-fx-4589-migrate-typography-c303acfab.23+c303acfab", | ||
"@toptal/picasso-button": "1.0.5-alpha-fx-xxx-fix-picasso-table-cell-0af5186cf.15+0af5186cf", | ||
"@toptal/picasso-container": "1.0.3-alpha-fx-xxx-fix-picasso-table-cell-0af5186cf.15+0af5186cf", | ||
"@toptal/picasso-icons": "1.0.3-alpha-fx-xxx-fix-picasso-table-cell-0af5186cf.15+0af5186cf", | ||
"@toptal/picasso-shared": "14.0.2-alpha-fx-xxx-fix-picasso-table-cell-0af5186cf.15+0af5186cf", | ||
"@toptal/picasso-typography": "1.0.3-alpha-fx-xxx-fix-picasso-table-cell-0af5186cf.15+0af5186cf", | ||
"@toptal/picasso-utils": "1.0.3-alpha-fx-xxx-fix-picasso-table-cell-0af5186cf.15+0af5186cf", | ||
"classnames": "^2.5.1", | ||
@@ -42,4 +42,3 @@ "notistack": "3.0.1" | ||
"@toptal/picasso-provider": "*", | ||
"react": ">=16.12.0 < 19.0.0", | ||
"tailwindcss": ">=3" | ||
"react": ">=16.12.0 < 19.0.0" | ||
}, | ||
@@ -50,4 +49,4 @@ "exports": { | ||
"devDependencies": { | ||
"@toptal/picasso-provider": "4.1.1-alpha-fx-4589-migrate-typography-c303acfab.45+c303acfab", | ||
"@toptal/picasso-test-utils": "1.1.1-alpha-fx-4589-migrate-typography-c303acfab.15+c303acfab" | ||
"@toptal/picasso-provider": "4.1.1-alpha-fx-xxx-fix-picasso-table-cell-0af5186cf.37+0af5186cf", | ||
"@toptal/picasso-test-utils": "1.1.1-alpha-fx-xxx-fix-picasso-table-cell-0af5186cf.7+0af5186cf" | ||
}, | ||
@@ -59,3 +58,3 @@ "files": [ | ||
], | ||
"gitHead": "c303acfab66884fd2f091eb81276405ed6a6f569" | ||
"gitHead": "0af5186cf7af2bc8eed92d288693d7c39a8e713c" | ||
} |
@@ -72,2 +72,13 @@ import type { Theme } from '@material-ui/core/styles' | ||
// Content | ||
content: { | ||
color: common.black, | ||
overflowWrap: 'break-word', | ||
minWidth: 0, | ||
marginTop: '1px', | ||
}, | ||
contentYellow: { | ||
marginTop: 0, | ||
}, | ||
// Content Icon | ||
@@ -74,0 +85,0 @@ iconWrapper: { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
77391
11
1250
+ Added@types/react@18.3.13(transitive)
- Removed@alloc/quick-lru@5.2.0(transitive)
- Removed@isaacs/cliui@8.0.2(transitive)
- Removed@jridgewell/gen-mapping@0.3.5(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.25(transitive)
- Removed@nodelib/fs.scandir@2.1.5(transitive)
- Removed@nodelib/fs.stat@2.0.5(transitive)
- Removed@nodelib/fs.walk@1.2.8(transitive)
- Removed@pkgjs/parseargs@0.11.0(transitive)
- Removed@types/react@18.3.12(transitive)
- Removedansi-regex@5.0.16.1.0(transitive)
- Removedansi-styles@4.3.06.2.1(transitive)
- Removedany-promise@1.3.0(transitive)
- Removedanymatch@3.1.3(transitive)
- Removedarg@5.0.2(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbinary-extensions@2.3.0(transitive)
- Removedbrace-expansion@2.0.1(transitive)
- Removedbraces@3.0.3(transitive)
- Removedcamelcase-css@2.0.1(transitive)
- Removedchokidar@3.6.0(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedcommander@4.1.1(transitive)
- Removedcross-spawn@7.0.6(transitive)
- Removedcssesc@3.0.0(transitive)
- Removeddidyoumean@1.2.2(transitive)
- Removeddlv@1.1.3(transitive)
- Removedeastasianwidth@0.2.0(transitive)
- Removedemoji-regex@8.0.09.2.2(transitive)
- Removedfast-glob@3.3.2(transitive)
- Removedfastq@1.17.1(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedforeground-child@3.3.0(transitive)
- Removedfsevents@2.3.3(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedglob@10.4.5(transitive)
- Removedglob-parent@5.1.26.0.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedis-binary-path@2.1.0(transitive)
- Removedis-core-module@2.15.1(transitive)
- Removedis-extglob@2.1.1(transitive)
- Removedis-fullwidth-code-point@3.0.0(transitive)
- Removedis-glob@4.0.3(transitive)
- Removedis-number@7.0.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removedjackspeak@3.4.3(transitive)
- Removedjiti@1.21.6(transitive)
- Removedlilconfig@3.1.3(transitive)
- Removedlines-and-columns@1.2.4(transitive)
- Removedlru-cache@10.4.3(transitive)
- Removedmerge2@1.4.1(transitive)
- Removedmicromatch@4.0.8(transitive)
- Removedminimatch@9.0.5(transitive)
- Removedminipass@7.1.2(transitive)
- Removedmz@2.7.0(transitive)
- Removednanoid@3.3.8(transitive)
- Removednormalize-path@3.0.0(transitive)
- Removedobject-hash@3.0.0(transitive)
- Removedpackage-json-from-dist@1.0.1(transitive)
- Removedpath-key@3.1.1(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpath-scurry@1.11.1(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedpify@2.3.0(transitive)
- Removedpirates@4.0.6(transitive)
- Removedpostcss@8.4.49(transitive)
- Removedpostcss-import@15.1.0(transitive)
- Removedpostcss-js@4.0.1(transitive)
- Removedpostcss-load-config@4.0.2(transitive)
- Removedpostcss-nested@6.2.0(transitive)
- Removedpostcss-selector-parser@6.1.2(transitive)
- Removedpostcss-value-parser@4.2.0(transitive)
- Removedqueue-microtask@1.2.3(transitive)
- Removedread-cache@1.0.0(transitive)
- Removedreaddirp@3.6.0(transitive)
- Removedresolve@1.22.8(transitive)
- Removedreusify@1.0.4(transitive)
- Removedrun-parallel@1.2.0(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedsignal-exit@4.1.0(transitive)
- Removedsource-map-js@1.2.1(transitive)
- Removedstring-width@4.2.35.1.2(transitive)
- Removedstrip-ansi@6.0.17.1.0(transitive)
- Removedsucrase@3.35.0(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedtailwindcss@3.4.16(transitive)
- Removedthenify@3.3.1(transitive)
- Removedthenify-all@1.6.0(transitive)
- Removedto-regex-range@5.0.1(transitive)
- Removedts-interface-checker@0.1.13(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedwhich@2.0.2(transitive)
- Removedwrap-ansi@7.0.08.1.0(transitive)
- Removedyaml@2.6.1(transitive)
Updated@toptal/picasso-button@1.0.5-alpha-fx-xxx-fix-picasso-table-cell-0af5186cf.15+0af5186cf
Updated@toptal/picasso-container@1.0.3-alpha-fx-xxx-fix-picasso-table-cell-0af5186cf.15+0af5186cf
Updated@toptal/picasso-icons@1.0.3-alpha-fx-xxx-fix-picasso-table-cell-0af5186cf.15+0af5186cf
Updated@toptal/picasso-shared@14.0.2-alpha-fx-xxx-fix-picasso-table-cell-0af5186cf.15+0af5186cf
Updated@toptal/picasso-typography@1.0.3-alpha-fx-xxx-fix-picasso-table-cell-0af5186cf.15+0af5186cf
Updated@toptal/picasso-utils@1.0.3-alpha-fx-xxx-fix-picasso-table-cell-0af5186cf.15+0af5186cf