@crystaltech/hsms-shared-ui 0.5.31-alpha-1 → 0.5.31-alpha-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.
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +128 -6
- package/dist/index.js +2 -2
- package/dist/theme/defaultTheme.d.ts +1 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -22,3 +22,5 @@ export { default as CustomTextField } from './components/ui/CustomTextfield';
|
|
|
22
22
|
export { default as Loader } from './components/ui/Loader';
|
|
23
23
|
export { default as RoutesConfigLayout } from './routes/RoutesConfigLayout';
|
|
24
24
|
export { default as ThemeCustomization } from './theme/ThemeCustomization';
|
|
25
|
+
export type { ITheme, TypographyStyle } from './theme/defaultTheme';
|
|
26
|
+
export { defaultTheme } from './theme/defaultTheme';
|
package/dist/index.es.js
CHANGED
|
@@ -15552,7 +15552,13 @@ const To = ({
|
|
|
15552
15552
|
} : {
|
|
15553
15553
|
background: { default: "#f8fafc", paper: "#ffffff" },
|
|
15554
15554
|
text: { primary: "#1e293b", secondary: "#64748b" }
|
|
15555
|
-
}
|
|
15555
|
+
}, c = {
|
|
15556
|
+
background: "#0f172a",
|
|
15557
|
+
foreground: "#e2e8f0"
|
|
15558
|
+
}, u = {
|
|
15559
|
+
background: "#0f172a",
|
|
15560
|
+
foreground: "#cbd5e1"
|
|
15561
|
+
}, d = a === "dark" ? c : r, A = a === "dark" ? u : s;
|
|
15556
15562
|
return {
|
|
15557
15563
|
...e,
|
|
15558
15564
|
palette: {
|
|
@@ -15567,12 +15573,12 @@ const To = ({
|
|
|
15567
15573
|
main: n
|
|
15568
15574
|
},
|
|
15569
15575
|
navbar: {
|
|
15570
|
-
background:
|
|
15571
|
-
foreground:
|
|
15576
|
+
background: d.background,
|
|
15577
|
+
foreground: d.foreground
|
|
15572
15578
|
},
|
|
15573
15579
|
sidebar: {
|
|
15574
|
-
background:
|
|
15575
|
-
foreground:
|
|
15580
|
+
background: A.background,
|
|
15581
|
+
foreground: A.foreground
|
|
15576
15582
|
},
|
|
15577
15583
|
background: l.background,
|
|
15578
15584
|
text: l.text
|
|
@@ -45229,6 +45235,121 @@ const f2 = (e) => {
|
|
|
45229
45235
|
/* @__PURE__ */ p.jsx(H0, { enableColorScheme: !0 }),
|
|
45230
45236
|
e
|
|
45231
45237
|
] }) });
|
|
45238
|
+
}, p2 = {
|
|
45239
|
+
palette: {
|
|
45240
|
+
mode: "light",
|
|
45241
|
+
navbar: {
|
|
45242
|
+
background: "#1976d2",
|
|
45243
|
+
// Changed to Material UI primary blue
|
|
45244
|
+
foreground: "#ffffff"
|
|
45245
|
+
// Changed to white for contrast
|
|
45246
|
+
},
|
|
45247
|
+
sidebar: {
|
|
45248
|
+
background: "#ffffff",
|
|
45249
|
+
foreground: "#1976d2"
|
|
45250
|
+
// Changed to match primary color
|
|
45251
|
+
},
|
|
45252
|
+
primary: {
|
|
45253
|
+
main: "#1976d2"
|
|
45254
|
+
// Changed to Material UI default primary blue
|
|
45255
|
+
},
|
|
45256
|
+
secondary: {
|
|
45257
|
+
main: "#dc004e"
|
|
45258
|
+
// Changed to Material UI default secondary color
|
|
45259
|
+
},
|
|
45260
|
+
background: {
|
|
45261
|
+
default: "#f5f5f5",
|
|
45262
|
+
// Changed to standard light grey background
|
|
45263
|
+
paper: "#ffffff"
|
|
45264
|
+
},
|
|
45265
|
+
text: {
|
|
45266
|
+
primary: "#212121",
|
|
45267
|
+
// Changed to standard dark text
|
|
45268
|
+
secondary: "#757575"
|
|
45269
|
+
// Changed to standard secondary text
|
|
45270
|
+
},
|
|
45271
|
+
neutral: {
|
|
45272
|
+
100: "#f6f9fc",
|
|
45273
|
+
200: "#e9ecef",
|
|
45274
|
+
300: "#dee2e6",
|
|
45275
|
+
400: "#ced4da",
|
|
45276
|
+
500: "#adb5bd",
|
|
45277
|
+
600: "#868e96",
|
|
45278
|
+
700: "#495057",
|
|
45279
|
+
800: "#343a40",
|
|
45280
|
+
900: "#212529"
|
|
45281
|
+
}
|
|
45282
|
+
},
|
|
45283
|
+
typography: {
|
|
45284
|
+
fontFamily: "Roboto",
|
|
45285
|
+
h1: {
|
|
45286
|
+
fontSize: "2.5rem",
|
|
45287
|
+
fontWeight: 700,
|
|
45288
|
+
lineHeight: "3rem"
|
|
45289
|
+
},
|
|
45290
|
+
h2: {
|
|
45291
|
+
fontSize: "2rem",
|
|
45292
|
+
fontWeight: 700,
|
|
45293
|
+
lineHeight: "2.5rem"
|
|
45294
|
+
},
|
|
45295
|
+
h3: {
|
|
45296
|
+
fontSize: "1.75rem",
|
|
45297
|
+
fontWeight: 600,
|
|
45298
|
+
lineHeight: "2.25rem"
|
|
45299
|
+
},
|
|
45300
|
+
h4: {
|
|
45301
|
+
fontSize: "1.5rem",
|
|
45302
|
+
fontWeight: 600,
|
|
45303
|
+
lineHeight: "2rem"
|
|
45304
|
+
},
|
|
45305
|
+
h5: {
|
|
45306
|
+
fontSize: "1.25rem",
|
|
45307
|
+
fontWeight: 500,
|
|
45308
|
+
lineHeight: "1.75rem"
|
|
45309
|
+
},
|
|
45310
|
+
h6: {
|
|
45311
|
+
fontSize: "1rem",
|
|
45312
|
+
fontWeight: 500,
|
|
45313
|
+
lineHeight: "1.5rem"
|
|
45314
|
+
},
|
|
45315
|
+
subtitle1: {
|
|
45316
|
+
fontSize: "1.125rem",
|
|
45317
|
+
fontWeight: 400,
|
|
45318
|
+
lineHeight: "1.5rem"
|
|
45319
|
+
},
|
|
45320
|
+
subtitle2: {
|
|
45321
|
+
fontSize: "1rem",
|
|
45322
|
+
fontWeight: 400,
|
|
45323
|
+
lineHeight: "1.25rem"
|
|
45324
|
+
},
|
|
45325
|
+
body1: {
|
|
45326
|
+
fontSize: "1rem",
|
|
45327
|
+
fontWeight: 400,
|
|
45328
|
+
lineHeight: "1.5rem"
|
|
45329
|
+
},
|
|
45330
|
+
body2: {
|
|
45331
|
+
fontSize: "0.875rem",
|
|
45332
|
+
fontWeight: 400,
|
|
45333
|
+
lineHeight: "1.25rem"
|
|
45334
|
+
},
|
|
45335
|
+
button: {
|
|
45336
|
+
fontSize: "0.875rem",
|
|
45337
|
+
fontWeight: 500,
|
|
45338
|
+
lineHeight: "1.25rem",
|
|
45339
|
+
textTransform: "uppercase"
|
|
45340
|
+
},
|
|
45341
|
+
caption: {
|
|
45342
|
+
fontSize: "0.75rem",
|
|
45343
|
+
fontWeight: 400,
|
|
45344
|
+
lineHeight: "1rem"
|
|
45345
|
+
},
|
|
45346
|
+
overline: {
|
|
45347
|
+
fontSize: "0.75rem",
|
|
45348
|
+
fontWeight: 400,
|
|
45349
|
+
lineHeight: "1rem",
|
|
45350
|
+
textTransform: "uppercase"
|
|
45351
|
+
}
|
|
45352
|
+
}
|
|
45232
45353
|
};
|
|
45233
45354
|
export {
|
|
45234
45355
|
n2 as AsyncAutocomplete,
|
|
@@ -45254,5 +45375,6 @@ export {
|
|
|
45254
45375
|
t2 as ProfilePages,
|
|
45255
45376
|
f2 as RoutesConfigLayout,
|
|
45256
45377
|
g2 as ThemeCustomization,
|
|
45257
|
-
_k as ThemeSetting
|
|
45378
|
+
_k as ThemeSetting,
|
|
45379
|
+
p2 as defaultTheme
|
|
45258
45380
|
};
|