alicia-design-system 1.92.2 → 1.92.3

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.
@@ -110,7 +110,7 @@ const FileUpload = ({ title = 'Upload your files', label, message = '.JPEG, .PNG
110
110
  borderWidth: variant === 'alicia' || variant === 'secondary' ? '0' : (0, polished_1.rem)(1),
111
111
  borderBlockStyle: 'solid',
112
112
  borderRadius: variant === 'agos' ? (0, polished_1.rem)(20) : 0,
113
- } }, getRootProps(), { children: [variant === 'agos' && label && ((0, jsx_runtime_1.jsx)(react_2.FormLabel, Object.assign({ mb: 0, fontSize: (0, polished_1.rem)(16), lineHeight: (0, polished_1.rem)(20), fontWeight: "bold", color: (_f = colors === null || colors === void 0 ? void 0 : colors.text) !== null && _f !== void 0 ? _f : 'black', position: "absolute", top: (0, polished_1.rem)(-12), left: (0, polished_1.rem)(16), bg: (_g = colors === null || colors === void 0 ? void 0 : colors.labelBg) !== null && _g !== void 0 ? _g : 'cardBg', px: (0, polished_1.rem)(8), py: (0, polished_1.rem)(3), zIndex: 2 }, { children: label }))), (0, jsx_runtime_1.jsx)("input", Object.assign({}, getInputProps())), (0, jsx_runtime_1.jsx)(IconUpload, { width: (0, polished_1.rem)(32), height: (0, polished_1.rem)(32) }), (0, jsx_runtime_1.jsx)(react_2.Text, Object.assign({ fontSize: 20, fontWeight: variant === 'agos' ? 'bold' : 500, color: isError ? (_h = colors === null || colors === void 0 ? void 0 : colors.error) !== null && _h !== void 0 ? _h : 'error' : (_j = colors === null || colors === void 0 ? void 0 : colors.text) !== null && _j !== void 0 ? _j : 'blackDe', marginTop: 2 }, { children: title })), (0, jsx_runtime_1.jsx)(react_2.Text, Object.assign({ fontSize: 16, fontWeight: 400, color: isError
113
+ } }, getRootProps(), { children: [variant === 'agos' && label && ((0, jsx_runtime_1.jsx)(react_2.FormLabel, Object.assign({ mb: 0, fontSize: (0, polished_1.rem)(16), lineHeight: (0, polished_1.rem)(20), fontWeight: "bold", color: (_f = colors === null || colors === void 0 ? void 0 : colors.text) !== null && _f !== void 0 ? _f : 'black', position: "absolute", top: (0, polished_1.rem)(-12), left: (0, polished_1.rem)(16), bg: (_g = colors === null || colors === void 0 ? void 0 : colors.labelBg) !== null && _g !== void 0 ? _g : 'cardBg', px: (0, polished_1.rem)(8), py: (0, polished_1.rem)(3), zIndex: 0 }, { children: label }))), (0, jsx_runtime_1.jsx)("input", Object.assign({}, getInputProps())), (0, jsx_runtime_1.jsx)(IconUpload, { width: (0, polished_1.rem)(32), height: (0, polished_1.rem)(32) }), (0, jsx_runtime_1.jsx)(react_2.Text, Object.assign({ fontSize: 20, fontWeight: variant === 'agos' ? 'bold' : 500, color: isError ? (_h = colors === null || colors === void 0 ? void 0 : colors.error) !== null && _h !== void 0 ? _h : 'error' : (_j = colors === null || colors === void 0 ? void 0 : colors.text) !== null && _j !== void 0 ? _j : 'blackDe', marginTop: 2 }, { children: title })), (0, jsx_runtime_1.jsx)(react_2.Text, Object.assign({ fontSize: 16, fontWeight: 400, color: isError
114
114
  ? (_k = colors === null || colors === void 0 ? void 0 : colors.error) !== null && _k !== void 0 ? _k : 'error'
115
115
  : variant === 'agos'
116
116
  ? (_l = colors === null || colors === void 0 ? void 0 : colors.subText) !== null && _l !== void 0 ? _l : 'blackMd'
@@ -107,7 +107,7 @@ export const FileUpload = ({ title = 'Upload your files', label, message = '.JPE
107
107
  borderWidth: variant === 'alicia' || variant === 'secondary' ? '0' : rem(1),
108
108
  borderBlockStyle: 'solid',
109
109
  borderRadius: variant === 'agos' ? rem(20) : 0,
110
- } }, getRootProps(), { children: [variant === 'agos' && label && (_jsx(FormLabel, Object.assign({ mb: 0, fontSize: rem(16), lineHeight: rem(20), fontWeight: "bold", color: (_f = colors === null || colors === void 0 ? void 0 : colors.text) !== null && _f !== void 0 ? _f : 'black', position: "absolute", top: rem(-12), left: rem(16), bg: (_g = colors === null || colors === void 0 ? void 0 : colors.labelBg) !== null && _g !== void 0 ? _g : 'cardBg', px: rem(8), py: rem(3), zIndex: 2 }, { children: label }))), _jsx("input", Object.assign({}, getInputProps())), _jsx(IconUpload, { width: rem(32), height: rem(32) }), _jsx(Text, Object.assign({ fontSize: 20, fontWeight: variant === 'agos' ? 'bold' : 500, color: isError ? (_h = colors === null || colors === void 0 ? void 0 : colors.error) !== null && _h !== void 0 ? _h : 'error' : (_j = colors === null || colors === void 0 ? void 0 : colors.text) !== null && _j !== void 0 ? _j : 'blackDe', marginTop: 2 }, { children: title })), _jsx(Text, Object.assign({ fontSize: 16, fontWeight: 400, color: isError
110
+ } }, getRootProps(), { children: [variant === 'agos' && label && (_jsx(FormLabel, Object.assign({ mb: 0, fontSize: rem(16), lineHeight: rem(20), fontWeight: "bold", color: (_f = colors === null || colors === void 0 ? void 0 : colors.text) !== null && _f !== void 0 ? _f : 'black', position: "absolute", top: rem(-12), left: rem(16), bg: (_g = colors === null || colors === void 0 ? void 0 : colors.labelBg) !== null && _g !== void 0 ? _g : 'cardBg', px: rem(8), py: rem(3), zIndex: 0 }, { children: label }))), _jsx("input", Object.assign({}, getInputProps())), _jsx(IconUpload, { width: rem(32), height: rem(32) }), _jsx(Text, Object.assign({ fontSize: 20, fontWeight: variant === 'agos' ? 'bold' : 500, color: isError ? (_h = colors === null || colors === void 0 ? void 0 : colors.error) !== null && _h !== void 0 ? _h : 'error' : (_j = colors === null || colors === void 0 ? void 0 : colors.text) !== null && _j !== void 0 ? _j : 'blackDe', marginTop: 2 }, { children: title })), _jsx(Text, Object.assign({ fontSize: 16, fontWeight: 400, color: isError
111
111
  ? (_k = colors === null || colors === void 0 ? void 0 : colors.error) !== null && _k !== void 0 ? _k : 'error'
112
112
  : variant === 'agos'
113
113
  ? (_l = colors === null || colors === void 0 ? void 0 : colors.subText) !== null && _l !== void 0 ? _l : 'blackMd'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alicia-design-system",
3
- "version": "1.92.2",
3
+ "version": "1.92.3",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",