@steedos/webapp 3.0.11-beta.5 → 3.0.11

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.
@@ -1,4 +1,4 @@
1
- import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-Di2dwtoU.js";
1
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-BJZiVewG.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -40474,8 +40474,8 @@ class Card extends reactExports.Component {
40474
40474
  render() {
40475
40475
  const { platform: platform2 = {} } = this.props.settings;
40476
40476
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex sm:items-center justify-center mx-auto overflow-auto md:p-10 h-full", children: [
40477
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "relative rounded p-10 sm:shadow-md bg-white w-screen max-w-md", children: this.props.children }),
40478
- platform2.is_oem != true && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "absolute bottom-0 left-0 right-0 text-center m-2 text-gray-500 text-sm", children: [
40477
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "relative rounded p-10 sm:shadow-md bg-white w-screen max-w-md steedos-auth-card", children: this.props.children }),
40478
+ platform2.is_oem != true && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "absolute bottom-0 left-0 right-0 text-center pb-6 text-gray-400 text-xs tracking-wide", children: [
40479
40479
  /* @__PURE__ */ jsxRuntimeExports.jsx(
40480
40480
  FormattedMessage,
40481
40481
  {
@@ -40483,11 +40483,11 @@ class Card extends reactExports.Component {
40483
40483
  defaultMessage: "© 2025 Steedos Inc."
40484
40484
  }
40485
40485
  ),
40486
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ml-1 mr-1", children: " | " }),
40486
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ml-1 mr-1 opacity-50", children: " | " }),
40487
40487
  /* @__PURE__ */ jsxRuntimeExports.jsx(
40488
40488
  "a",
40489
40489
  {
40490
- className: "font-medium text-blue-600 hover:text-blue-500 focus:outline-none hover:underline transition ease-in-out duration-150",
40490
+ className: "text-xs text-gray-400 hover:text-gray-600 hover:underline transition-colors duration-200",
40491
40491
  href: "javascript:void(0)",
40492
40492
  onClick: this.openPrivacyPage,
40493
40493
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -54485,15 +54485,15 @@ const getHeaderSchema = (props) => {
54485
54485
  body: [
54486
54486
  {
54487
54487
  "type": "wrapper",
54488
- "className": "sticky p-0 top-0 z-40 w-full flex-none backdrop-blur transition-colors duration-500 lg:z-[1000] steedos-header-container",
54488
+ "className": "sticky p-0 top-0 z-40 w-full flex-none transition-colors duration-500 lg:z-[1000] steedos-header-container shadow-sm",
54489
54489
  body: [
54490
54490
  {
54491
54491
  "type": "wrapper",
54492
- "className": "flex w-full px-4 py-0 h-[50px] justify-between items-center steedos-header-container-line-one ",
54492
+ "className": "flex w-full px-4 lg:px-5 py-0 h-[64px] justify-between items-center steedos-header-container-line-one",
54493
54493
  "body": [
54494
54494
  {
54495
54495
  type: "service",
54496
- className: "p-0 flex flex-1 items-center",
54496
+ className: "p-0 flex flex-1 items-center gap-2",
54497
54497
  "onEvent": {
54498
54498
  "@history_paths.changed": {
54499
54499
  "actions": [
@@ -54508,7 +54508,7 @@ const getHeaderSchema = (props) => {
54508
54508
  body: [
54509
54509
  {
54510
54510
  "type": "button",
54511
- "className": "toggle-sidebar flex items-center pr-4",
54511
+ "className": "toggle-sidebar flex items-center justify-center w-9 h-9 rounded-full hover:bg-black/5 transition-colors mr-1",
54512
54512
  "visibleOn": "${window:innerWidth < 768 && !!app && app.showSidebar}",
54513
54513
  "onEvent": {
54514
54514
  "click": {
@@ -54541,7 +54541,7 @@ const getHeaderSchema = (props) => {
54541
54541
  {
54542
54542
  "type": "button",
54543
54543
  "visibleOn": "${window:innerWidth < 768 && (window:historyPaths.length > 1 || window:historyPaths[0].params.record_id)}",
54544
- "className": "flex",
54544
+ "className": "flex items-center justify-center w-9 h-9 rounded-full hover:bg-black/5 transition-colors mr-1",
54545
54545
  "onEvent": {
54546
54546
  "click": {
54547
54547
  "actions": [
@@ -54566,12 +54566,13 @@ const getHeaderSchema = (props) => {
54566
54566
  "type": "steedos-app-launcher",
54567
54567
  "showAppName": false,
54568
54568
  // "hiddenOn": "${window:innerWidth < 768}",
54569
- "appId": "${app.id}"
54569
+ "appId": "${app.id}",
54570
+ "className": "flex items-center"
54570
54571
  },
54571
54572
  {
54572
- "className": "w-auto ml-4 inline-block align-middle",
54573
+ "className": "w-auto ml-3 flex items-center",
54573
54574
  "type": "tpl",
54574
- "tpl": `<a href='/app' class='flex items-center '><img class='block h-6 w-auto' src='${logoSrc}'></a>`,
54575
+ "tpl": `<a href='/app' class='flex items-center hover:opacity-80 transition-opacity'><img class='block h-7 w-auto' src='${logoSrc}'></a>`,
54575
54576
  "visibleOn": `${!isMobile && !!logoSrc}`
54576
54577
  },
54577
54578
  // {
@@ -54580,7 +54581,7 @@ const getHeaderSchema = (props) => {
54580
54581
  // "tpl": '',
54581
54582
  // },
54582
54583
  {
54583
- "className": "w-auto ml-4 font-bold text-lg inline-block align-middle",
54584
+ "className": "steedos-header-app-name w-auto ml-2 font-semibold !text-lg tracking-tight inline-block align-middle",
54584
54585
  "type": "tpl",
54585
54586
  "hiddenOn": "${window:innerWidth < 768}",
54586
54587
  "tpl": "${app.name}"
@@ -54590,7 +54591,7 @@ const getHeaderSchema = (props) => {
54590
54591
  {
54591
54592
  "type": "steedos-global-header-toolbar",
54592
54593
  "label": "Global Header",
54593
- className: "flex flex-nowrap gap-x-4 items-center",
54594
+ className: "flex flex-nowrap gap-x-6 items-center",
54594
54595
  logoutScript: "window.signOut();",
54595
54596
  customButtons
54596
54597
  }
@@ -54600,12 +54601,12 @@ const getHeaderSchema = (props) => {
54600
54601
  },
54601
54602
  {
54602
54603
  "type": "button",
54603
- "className": "p-0 absolute inset-0 mt-[50px]",
54604
+ "className": "p-0 absolute inset-0 mt-[64px]",
54604
54605
  visibleOn: "${!!app && app.showSidebar}",
54605
54606
  body: [
54606
54607
  {
54607
54608
  type: "wrapper",
54608
- className: "sidebar-wrapper bg-white border-r px-2 pt-2 pb-16 fixed z-20 h-full h-fill flex flex-col overflow-y-auto block transition-all duration-300",
54609
+ className: "sidebar-wrapper px-2 pt-4 pb-16 fixed z-20 h-full h-fill flex flex-col overflow-y-auto block transition-all duration-300",
54609
54610
  visibleOn: "${!!app}",
54610
54611
  body: [
54611
54612
  {
@@ -54680,17 +54681,17 @@ const AppHeader = () => {
54680
54681
  }
54681
54682
  const themeColor = appData.color || "sky";
54682
54683
  const linkColor = themeColor != "gray" ? themeColor : "sky";
54683
- document.documentElement.style.setProperty("--colors-brand-main", `var(--color-${themeColor}-900)`);
54684
- document.documentElement.style.setProperty("--colors-brand-1", `var(--color-${linkColor}-900)`);
54685
- document.documentElement.style.setProperty("--colors-brand-2", `var(--color-${linkColor}-900)`);
54686
- document.documentElement.style.setProperty("--colors-brand-3", `var(--color-${linkColor}-800)`);
54687
- document.documentElement.style.setProperty("--colors-brand-4", `var(--color-${linkColor}-700)`);
54688
- document.documentElement.style.setProperty("--colors-brand-5", `var(--color-${linkColor}-600)`);
54689
- document.documentElement.style.setProperty("--colors-brand-6", `var(--color-${linkColor}-500)`);
54690
- document.documentElement.style.setProperty("--colors-brand-7", `var(--color-${linkColor}-400)`);
54691
- document.documentElement.style.setProperty("--colors-brand-8", `var(--color-${linkColor}-300)`);
54692
- document.documentElement.style.setProperty("--colors-brand-9", `var(--color-${linkColor}-100)`);
54693
- document.documentElement.style.setProperty("--colors-brand-10", `var(--color-${linkColor}-50)`);
54684
+ document.documentElement.style.setProperty("--color-brand-main", `var(--color-${themeColor}-900)`);
54685
+ document.documentElement.style.setProperty("--color-brand-900", `var(--color-${linkColor}-900)`);
54686
+ document.documentElement.style.setProperty("--color-brand-900", `var(--color-${linkColor}-900)`);
54687
+ document.documentElement.style.setProperty("--color-brand-800", `var(--color-${linkColor}-800)`);
54688
+ document.documentElement.style.setProperty("--color-brand-700", `var(--color-${linkColor}-700)`);
54689
+ document.documentElement.style.setProperty("--color-brand-600", `var(--color-${linkColor}-600)`);
54690
+ document.documentElement.style.setProperty("--color-brand-500", `var(--color-${linkColor}-500)`);
54691
+ document.documentElement.style.setProperty("--color-brand-400", `var(--color-${linkColor}-400)`);
54692
+ document.documentElement.style.setProperty("--color-brand-300", `var(--color-${linkColor}-300)`);
54693
+ document.documentElement.style.setProperty("--color-brand-100", `var(--color-${linkColor}-100)`);
54694
+ document.documentElement.style.setProperty("--color-brand-50", `var(--color-${linkColor}-50)`);
54694
54695
  document.documentElement.style.setProperty("--colors-other-5", `var(--color-${linkColor}-600)`);
54695
54696
  document.documentElement.style.setProperty("--colors-other-6", `var(--color-${linkColor}-500)`);
54696
54697
  document.documentElement.style.setProperty("--colors-other-7", `var(--color-${linkColor}-400)`);
@@ -81222,7 +81223,7 @@ if (typeof ActiveXObject === "function") {
81222
81223
  if (typeof fetchApi !== "function") fetchApi = void 0;
81223
81224
  if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) {
81224
81225
  try {
81225
- __vitePreload(() => import("./browser-ponyfill-BUkx7XXC.js").then((n) => n.b), true ? [] : void 0).then(function(mod) {
81226
+ __vitePreload(() => import("./browser-ponyfill-DK9iFs-5.js").then((n) => n.b), true ? [] : void 0).then(function(mod) {
81226
81227
  fetchApi = mod.default;
81227
81228
  }).catch(function() {
81228
81229
  });
@@ -1176,6 +1176,9 @@ video {
1176
1176
  .mt-\[50px\] {
1177
1177
  margin-top: 50px;
1178
1178
  }
1179
+ .mt-\[64px\] {
1180
+ margin-top: 64px;
1181
+ }
1179
1182
  .mt-auto {
1180
1183
  margin-top: auto;
1181
1184
  }
@@ -1278,6 +1281,9 @@ video {
1278
1281
  .h-\[50px\] {
1279
1282
  height: 50px;
1280
1283
  }
1284
+ .h-\[64px\] {
1285
+ height: 64px;
1286
+ }
1281
1287
  .h-full {
1282
1288
  height: 100%;
1283
1289
  }
@@ -2081,6 +2087,9 @@ video {
2081
2087
  .pb-5 {
2082
2088
  padding-bottom: 1.25rem;
2083
2089
  }
2090
+ .pb-6 {
2091
+ padding-bottom: 1.5rem;
2092
+ }
2084
2093
  .pl-0 {
2085
2094
  padding-left: 0px;
2086
2095
  }
@@ -2132,6 +2141,10 @@ video {
2132
2141
  .align-middle {
2133
2142
  vertical-align: middle;
2134
2143
  }
2144
+ .\!text-lg {
2145
+ font-size: 1.125rem !important;
2146
+ line-height: 1.75rem !important;
2147
+ }
2135
2148
  .text-2xl {
2136
2149
  font-size: 1.5rem;
2137
2150
  line-height: 2rem;
@@ -2217,6 +2230,9 @@ video {
2217
2230
  .tracking-tight {
2218
2231
  letter-spacing: -0.025em;
2219
2232
  }
2233
+ .tracking-wide {
2234
+ letter-spacing: 0.025em;
2235
+ }
2220
2236
  .tracking-wider {
2221
2237
  letter-spacing: 0.05em;
2222
2238
  }
@@ -2348,6 +2364,9 @@ video {
2348
2364
  .opacity-25 {
2349
2365
  opacity: 0.25;
2350
2366
  }
2367
+ .opacity-50 {
2368
+ opacity: 0.5;
2369
+ }
2351
2370
  .opacity-70 {
2352
2371
  opacity: 0.7;
2353
2372
  }
@@ -2479,6 +2498,11 @@ video {
2479
2498
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2480
2499
  transition-duration: 150ms;
2481
2500
  }
2501
+ .transition-opacity {
2502
+ transition-property: opacity;
2503
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2504
+ transition-duration: 150ms;
2505
+ }
2482
2506
  .transition-transform {
2483
2507
  transition-property: transform;
2484
2508
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
@@ -2487,6 +2511,9 @@ video {
2487
2511
  .duration-150 {
2488
2512
  transition-duration: 150ms;
2489
2513
  }
2514
+ .duration-200 {
2515
+ transition-duration: 200ms;
2516
+ }
2490
2517
  .duration-300 {
2491
2518
  transition-duration: 300ms;
2492
2519
  }
@@ -2508,18 +2535,29 @@ video {
2508
2535
  --color-black: #000000;
2509
2536
  --color-white: #ffffff;
2510
2537
 
2511
-
2512
- --colors-brand-main: var(--color-sky-900);
2513
- --colors-brand-1: var(--color-sky-900);
2514
- --colors-brand-2: var(--color-sky-800);
2515
- --colors-brand-3: var(--color-sky-700);
2516
- --colors-brand-4: var(--color-sky-600);
2517
- --colors-brand-5: var(--color-sky-500);
2518
- --colors-brand-6: var(--color-sky-400);
2519
- --colors-brand-7: var(--color-sky-300);
2520
- --colors-brand-8: var(--color-sky-200);
2521
- --colors-brand-9: var(--color-sky-100);
2522
- --colors-brand-10: var(--color-sky-50);
2538
+ --color-brand-main: var(--color-sky-900);
2539
+ --color-brand-900: var(--color-sky-900);
2540
+ --color-brand-800: var(--color-sky-800);
2541
+ --color-brand-700: var(--color-sky-700);
2542
+ --color-brand-600: var(--color-sky-600);
2543
+ --color-brand-500: var(--color-sky-500);
2544
+ --color-brand-400: var(--color-sky-400);
2545
+ --color-brand-300: var(--color-sky-300);
2546
+ --color-brand-200: var(--color-sky-200);
2547
+ --color-brand-100: var(--color-sky-100);
2548
+ --color-brand-50: var(--color-sky-50);
2549
+
2550
+ --colors-brand-main: var(--color-brand-main);
2551
+ --colors-brand-1: var(--color-brand-900);
2552
+ --colors-brand-2: var(--color-brand-800);
2553
+ --colors-brand-3: var(--color-brand-700);
2554
+ --colors-brand-4: var(--color-brand-600);
2555
+ --colors-brand-5: var(--color-brand-500);
2556
+ --colors-brand-6: var(--color-brand-400);
2557
+ --colors-brand-7: var(--color-brand-300);
2558
+ --colors-brand-8: var(--color-brand-200);
2559
+ --colors-brand-9: var(--color-brand-100);
2560
+ --colors-brand-10: var(--color-brand-50);
2523
2561
 
2524
2562
  --color-gray-25: #fcfcfd;
2525
2563
  --color-gray-50: #f9fafb;
@@ -2728,6 +2766,9 @@ video {
2728
2766
  .hover\:bg-\[\#1589EE1A\]:hover {
2729
2767
  background-color: #1589EE1A;
2730
2768
  }
2769
+ .hover\:bg-black\/5:hover {
2770
+ background-color: rgb(0 0 0 / 0.05);
2771
+ }
2731
2772
  .hover\:bg-blue-100:hover {
2732
2773
  --tw-bg-opacity: 1;
2733
2774
  background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
@@ -2803,6 +2844,10 @@ video {
2803
2844
  --tw-text-opacity: 1;
2804
2845
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
2805
2846
  }
2847
+ .hover\:text-gray-600:hover {
2848
+ --tw-text-opacity: 1;
2849
+ color: rgb(75 85 99 / var(--tw-text-opacity, 1));
2850
+ }
2806
2851
  .hover\:text-white:hover {
2807
2852
  --tw-text-opacity: 1;
2808
2853
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
@@ -2810,6 +2855,9 @@ video {
2810
2855
  .hover\:underline:hover {
2811
2856
  text-decoration-line: underline;
2812
2857
  }
2858
+ .hover\:opacity-80:hover {
2859
+ opacity: 0.8;
2860
+ }
2813
2861
  .hover\:shadow-xl:hover {
2814
2862
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
2815
2863
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
@@ -3150,6 +3198,11 @@ video {
3150
3198
  padding: 0.5rem;
3151
3199
  }
3152
3200
 
3201
+ .lg\:px-5 {
3202
+ padding-left: 1.25rem;
3203
+ padding-right: 1.25rem;
3204
+ }
3205
+
3153
3206
  .lg\:px-8 {
3154
3207
  padding-left: 2rem;
3155
3208
  padding-right: 2rem;
@@ -3267,7 +3320,6 @@ a {
3267
3320
  color: var(--color-white);
3268
3321
  }
3269
3322
 
3270
-
3271
3323
  /* 修正手机端字体小的问题 */
3272
3324
  @media (max-width: 767px) {
3273
3325
 
@@ -3305,6 +3357,116 @@ a {
3305
3357
  }
3306
3358
  }
3307
3359
 
3360
+ .sidebar-wrapper {
3361
+ background-color: var(--color-gray-50);
3362
+ border-right: 1px solid var(--color-gray-200);
3363
+ }
3364
+
3365
+
3366
+ .steedos {
3367
+ --Menu-width--collapsed: 32px;
3368
+ --Menu-light-fontColor: var(--Layout-light-fontColor);
3369
+ --Menu-light-fontColor-onHover: var(--link-color);
3370
+ --Menu-light-fontColor-onActive: var(--color-slate-900);
3371
+ --Menu-light-active-backgroundColor: var(--color-brand-100)
3372
+ --Menu-light-backgroundColor-onHover: var(--color-slate-50);
3373
+ --Menu-light-selectedIndicator-color: transparent;
3374
+ --Nav-Item-height: 44px;
3375
+ /* --Nav-Item-height--horizontal: 2.5rem; */
3376
+ --Nav-item-borderRadius: 0.5rem;
3377
+ --Nav-item-onHover-bg: rgba(21,137,238,.1);
3378
+ --Nav-item-onActive-bg: rgba(21,137,238,.1);
3379
+ --Nav-item-onActive-color: var(--link-color);
3380
+ --Nav-Item-maxWidth--tabs: 200px;
3381
+ }
3382
+ .antd-Nav-Menu.antd-Nav-Menu-horizontal {
3383
+ --Menu-light-backgroundColor-onHover: rgba(151, 151, 151, 0.1);
3384
+ --Menu-light-fontColor-onHover: var(--Layout-fontColor--onHover);
3385
+ }
3386
+
3387
+ .antd-Nav-Menu-item {
3388
+ border-radius: 0.375rem;
3389
+ margin-top: 3px;
3390
+ margin-left: 0rem;
3391
+ }
3392
+
3393
+ .antd-Nav-Menu-collapsed
3394
+ .antd-Nav-Menu-item {
3395
+ border-radius: 0;
3396
+ margin-top: 0;
3397
+ margin-left: 0rem;
3398
+ }
3399
+
3400
+ .antd-Nav-Menu-item-dragBar {
3401
+ left: 0px;
3402
+ height: 16px;
3403
+ }
3404
+
3405
+ .antd-Nav-item.is-active {
3406
+ box-shadow:var(--link-color) 4px 0 0 inset;
3407
+ }
3408
+
3409
+
3410
+ .antd-Nav-Menu-submenu-arrow > svg {
3411
+ display: initial;
3412
+ }
3413
+
3414
+ .antd-Nav-Menu-light .antd-Nav-Menu-item, .antd-Nav-Menu-light .antd-Nav-Menu-submenu-title {
3415
+ padding-right: 4px;
3416
+ }
3417
+
3418
+ /* nav下配置itemBadge属性后item不会自动撑开 */
3419
+ .antd-Nav-Menu-item-wrap .antd-Badge{
3420
+ width: -webkit-fill-available;
3421
+ }
3422
+
3423
+ .antd-Nav-Menu-item-link{
3424
+ display: flex;
3425
+ align-items: center;
3426
+ min-height:var(--Nav-Item-height);
3427
+ font-weight: 600 !important;
3428
+ }
3429
+
3430
+
3431
+ .antd-Nav-Menu .antd-Nav-Menu-submenu > .antd-Nav-Menu-submenu-title .antd-Nav-Menu-item-label {
3432
+ color: var(--color-slate-400);
3433
+ font-size: 0.75rem;
3434
+ line-height: 1rem;
3435
+ }
3436
+
3437
+ .antd-Nav .antd-Nav-dropIndicator {
3438
+ position: absolute;
3439
+ background: gray;
3440
+ height: 0.125rem;
3441
+ }
3442
+
3443
+ .antd-Nav-Menu-inline .antd-Nav-Menu-item-selected {
3444
+ background-color: var(--color-brand-50);
3445
+ }
3446
+
3447
+ .antd-Nav-Menu-item-active {
3448
+ background-color: var(--color-slate-50);
3449
+ }
3450
+
3451
+ .antd-Nav-Menu-inline .antd-Nav-Menu-item-selected::before {
3452
+ border-right: 0;
3453
+ }
3454
+
3455
+ .antd-Nav-Menu-item-active .antd-Nav-Menu-item-label, .antd-Nav-Menu-item-active .antd-Nav-Menu-item-icon, .antd-Nav-Menu-item-active .antd-Nav-Menu-item-icon-after, .antd-Nav-Menu-item-active .antd-Nav-Menu-submenu-arrow {
3456
+ color: var(--color-slate-900);
3457
+ }
3458
+
3459
+ .antd-Nav-Menu-item:active .antd-Nav-Menu-item-label, .antd-Nav-Menu-item:active .antd-Nav-Menu-item-icon, .antd-Nav-Menu-item:active .antd-Nav-Menu-item-icon-after, .antd-Nav-Menu-item:active .antd-Nav-Menu-submenu-arrow, .antd-Nav-Menu-submenu-title:active .antd-Nav-Menu-item-label, .antd-Nav-Menu-submenu-title:active .antd-Nav-Menu-item-icon, .antd-Nav-Menu-submenu-title:active .antd-Nav-Menu-item-icon-after, .antd-Nav-Menu-submenu-title:active .antd-Nav-Menu-submenu-arrow {
3460
+ color: var(--color-slate-900);
3461
+ }
3462
+
3463
+ .antd-Nav-Menu-item:active, .antd-Nav-Menu-submenu-title:active {
3464
+ color: var(--color-slate-900);
3465
+ }
3466
+
3467
+ .steedos-header-app-name {
3468
+ color: var(--color-brand-700);
3469
+ }
3308
3470
  .steedos.dark {
3309
3471
  .steedos-header-container {
3310
3472
  background-color: var(--colors-brand-main);
@@ -3321,6 +3483,10 @@ a {
3321
3483
  color: var(--color-gray-200);
3322
3484
  }
3323
3485
  }
3486
+
3487
+ .steedos-header-app-name {
3488
+ color: var(--color-white);
3489
+ }
3324
3490
  }
3325
3491
 
3326
3492
 
@@ -3331,12 +3497,12 @@ a {
3331
3497
  right: 0;
3332
3498
  bottom: 0;
3333
3499
  left: 0;
3334
- margin-top: 50px;
3500
+ margin-top: 64px;
3335
3501
  }
3336
3502
 
3337
3503
  @media (min-width: 767px) {
3338
3504
  .creator-content-wrapper {
3339
- height:calc(100% - 50px)
3505
+ height:calc(100% - 64px)
3340
3506
  }
3341
3507
 
3342
3508
  .creator-content-wrapper>.builder-component{
@@ -3365,4 +3531,350 @@ a {
3365
3531
 
3366
3532
  .MuiSvgIcon-fontSizeSmall{
3367
3533
  font-size: 1rem !important;
3368
- }
3534
+ }/* Apple Style Theme - Optimized for Steedos Platform */
3535
+
3536
+ :root {
3537
+ --font-family-apple: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
3538
+ --color-apple-bg: #f5f5f7;
3539
+ --color-apple-card: #ffffff;
3540
+ --color-apple-text: #1d1d1f;
3541
+ --color-apple-link: #0071e3;
3542
+ --apple-radius-sm: 8px;
3543
+ --apple-radius-md: 12px;
3544
+ --apple-radius-lg: 18px;
3545
+ --apple-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
3546
+ --apple-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -1px rgba(0,0,0,0.03);
3547
+ --apple-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.025);
3548
+ --apple-glass-bg: rgba(255, 255, 255, 0.75);
3549
+ --apple-glass-border: 1px solid rgba(255, 255, 255, 0.3);
3550
+ }
3551
+
3552
+ body {
3553
+ font-family: var(--font-family-apple);
3554
+ background-color: var(--color-apple-bg);
3555
+ color: var(--color-apple-text);
3556
+ -webkit-font-smoothing: antialiased;
3557
+ -moz-osx-font-smoothing: grayscale;
3558
+ }
3559
+
3560
+ /* Typography Enhancements */
3561
+ h1, h2, h3, h4, h5, h6 {
3562
+ font-weight: 600;
3563
+ letter-spacing: -0.01em;
3564
+ }
3565
+
3566
+ /* Sidebar Glass Effect */
3567
+ .sidebar-wrapper, .steedos .skin-blue-light .main-sidebar {
3568
+ background-color: var(--apple-glass-bg);
3569
+ backdrop-filter: blur(20px);
3570
+ }
3571
+
3572
+ /* Card Style Modernization */
3573
+ .slds-card, .ant-card, .panel, .amis-scope .cxd-Panel, .amis-scope .cxd-Page {
3574
+ background: var(--color-apple-card);
3575
+ border-radius: var(--apple-radius-md);
3576
+ border: 1px solid rgba(0,0,0,0.04);
3577
+ box-shadow: var(--apple-shadow-sm);
3578
+ transition: box-shadow 0.3s ease;
3579
+ }
3580
+
3581
+ .slds-card:hover, .ant-card:hover, .panel:hover {
3582
+ box-shadow: var(--apple-shadow-md);
3583
+ }
3584
+
3585
+ /* Cleaner Buttons */
3586
+ .slds-button, .ant-btn, .amis-scope .cxd-Button {
3587
+ border-radius: 999px; /* Pill shape */
3588
+ font-weight: 500;
3589
+ transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
3590
+ box-shadow: none;
3591
+ }
3592
+
3593
+ .slds-button_neutral, .ant-btn-default, .amis-scope .cxd-Button--default {
3594
+ background: #ffffff;
3595
+ border: 1px solid #d2d2d7;
3596
+ color: #1d1d1f;
3597
+ }
3598
+ .slds-button_neutral:hover, .ant-btn-default:hover {
3599
+ background: #f5f5f7;
3600
+ border-color: #c7c7cc;
3601
+ }
3602
+
3603
+ /* Action/Primary Buttons - Apple Blue */
3604
+ .slds-button_brand, .ant-btn-primary, .amis-scope .cxd-Button--primary {
3605
+ background: var(--color-apple-link);
3606
+ border-color: var(--color-apple-link);
3607
+ color: #fff;
3608
+ }
3609
+
3610
+ .slds-button_brand:hover, .ant-btn-primary:hover, .amis-scope .cxd-Button--primary:hover {
3611
+ background: #0077ed;
3612
+ border-color: #0077ed;
3613
+ transform: translateY(-1px);
3614
+ box-shadow: 0 4px 8px rgba(0, 113, 227, 0.2);
3615
+ }
3616
+
3617
+ /* Form Inputs - Scoped to Login/Signup only to avoid breaking Amis/App layout */
3618
+ .steedos-auth-card input,
3619
+ .steedos-auth-card textarea,
3620
+ .steedos-auth-card select {
3621
+ border-radius: var(--apple-radius-sm);
3622
+ border: 1px solid #d2d2d7;
3623
+ background: rgba(255,255,255,0.8);
3624
+ box-shadow: none;
3625
+ padding: 10px 12px;
3626
+ min-height: 40px;
3627
+ font-size: 15px;
3628
+ transition: all 0.2s ease;
3629
+ }
3630
+
3631
+ .steedos-auth-card input:focus,
3632
+ .steedos-auth-card textarea:focus,
3633
+ .steedos-auth-card select:focus {
3634
+ border-color: var(--color-apple-link);
3635
+ box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
3636
+ outline: none;
3637
+ z-index: 10;
3638
+ }
3639
+
3640
+ /* Fix for grouped inputs in Auth Card */
3641
+ .steedos-auth-card .rounded-md > div > input {
3642
+ margin-bottom: 8px;
3643
+ border-radius: var(--apple-radius-sm);
3644
+ }
3645
+ .steedos-auth-card .rounded-md {
3646
+ box-shadow: none;
3647
+ background: transparent;
3648
+ }
3649
+
3650
+ /* Material UI Overrides */
3651
+ .MuiPaper-elevation1, .MuiPaper-elevation2 {
3652
+ box-shadow: var(--apple-shadow-sm);
3653
+ border-radius: var(--apple-radius-md);
3654
+ }
3655
+ .MuiButton-root {
3656
+ border-radius: 999px;
3657
+ text-transform: none; /* Apple uses sentence case usually */
3658
+ font-weight: 500;
3659
+ letter-spacing: normal;
3660
+ }
3661
+ .MuiButton-containedPrimary {
3662
+ background-color: var(--color-apple-link);
3663
+ box-shadow: none;
3664
+ }
3665
+ .MuiButton-containedPrimary:hover {
3666
+ background-color: #0077ed;
3667
+ box-shadow: 0 4px 8px rgba(0, 113, 227, 0.2);
3668
+ }
3669
+ .MuiTabs-indicator {
3670
+ background-color: var(--color-apple-link);
3671
+ }
3672
+ .MuiTab-textColorPrimary.Mui-selected {
3673
+ color: var(--color-apple-link);
3674
+ }
3675
+
3676
+ /* Avatars */
3677
+ .slds-avatar, .ant-avatar {
3678
+ border-radius: 50%;
3679
+ border: 2px solid #fff;
3680
+ box-shadow: 0 2px 4px rgba(0,0,0,0.1);
3681
+ }
3682
+
3683
+ /* Modals & Dialogs */
3684
+ .slds-modal__container, .ant-modal-content, .amis-scope .cxd-Modal-content {
3685
+ border-radius: var(--apple-radius-lg);
3686
+ box-shadow: var(--apple-shadow-lg);
3687
+ overflow: hidden;
3688
+ border: 1px solid rgba(0,0,0,0.05);
3689
+ }
3690
+
3691
+ .slds-modal__header, .ant-modal-header, .amis-scope .cxd-Modal-header {
3692
+ background: #fff;
3693
+ border-bottom: 1px solid #f0f0f0;
3694
+ }
3695
+
3696
+ .slds-modal__footer, .ant-modal-footer, .amis-scope .cxd-Modal-footer {
3697
+ background: #fbfbfd;
3698
+ border-top: 1px solid #f0f0f0;
3699
+ }
3700
+
3701
+ /* Navigation Items */
3702
+ .slds-nav-vertical__action {
3703
+ border-radius: var(--apple-radius-sm);
3704
+ transition: all 0.2s ease;
3705
+ margin: 2px 8px;
3706
+ padding: 8px 12px;
3707
+ }
3708
+
3709
+ .slds-nav-vertical__item.slds-is-active .slds-nav-vertical__action {
3710
+ background: rgba(0, 113, 227, 0.1);
3711
+ color: var(--color-apple-link);
3712
+ font-weight: 600;
3713
+ }
3714
+
3715
+ .slds-nav-vertical__item.slds-is-active .slds-nav-vertical__action:before {
3716
+ display: none; /* Remove stick on left */
3717
+ }
3718
+
3719
+ /* Icons */
3720
+ .slds-icon {
3721
+ filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
3722
+ }
3723
+ .fa, .fas, .fab {
3724
+ font-size: 0.95em;
3725
+ opacity: 0.85;
3726
+ }
3727
+ .fa:hover, .fas:hover, .fab:hover {
3728
+ opacity: 1;
3729
+ }
3730
+
3731
+ /* Scrollbars */
3732
+ ::-webkit-scrollbar {
3733
+ width: 10px;
3734
+ height: 10px;
3735
+ }
3736
+ ::-webkit-scrollbar-track {
3737
+ background: transparent;
3738
+ }
3739
+ ::-webkit-scrollbar-thumb {
3740
+ background: #c1c1c1;
3741
+ border-radius: 5px;
3742
+ border: 2px solid transparent;
3743
+ background-clip: content-box;
3744
+ }
3745
+ ::-webkit-scrollbar-thumb:hover {
3746
+ background-color: #a8a8a8;
3747
+ }
3748
+
3749
+ /* Auth Card Overrides */
3750
+ .steedos-auth-card {
3751
+ border-radius: var(--apple-radius-lg);
3752
+ box-shadow: var(--apple-shadow-lg);
3753
+ background: rgba(255, 255, 255, 0.8);
3754
+ backdrop-filter: blur(20px);
3755
+ -webkit-backdrop-filter: blur(20px);
3756
+ border: 1px solid rgba(255, 255, 255, 0.4);
3757
+ }
3758
+
3759
+ /* Ensure Login/Auth buttons are visible and styled correctly */
3760
+ .steedos-auth-card button[type="submit"],
3761
+ .steedos-auth-card button.bg-blue-600 {
3762
+ background: var(--color-apple-link) !important; /* Keep important only for core brand colors */
3763
+ color: #fff !important;
3764
+ border-radius: 999px !important;
3765
+ box-shadow: 0 4px 6px rgba(0, 113, 227, 0.3);
3766
+ font-weight: 500;
3767
+ padding-top: 10px;
3768
+ padding-bottom: 10px;
3769
+ height: auto;
3770
+ opacity: 1;
3771
+ visibility: visible;
3772
+ border: none;
3773
+ }
3774
+
3775
+ .steedos-auth-card button[type="submit"]:hover,
3776
+ .steedos-auth-card button.bg-blue-600:hover {
3777
+ background: #0077ed !important;
3778
+ transform: translateY(-1px);
3779
+ box-shadow: 0 6px 8px rgba(0, 113, 227, 0.4);
3780
+ }
3781
+
3782
+ .steedos-auth-card button.text-blue-600 {
3783
+ color: var(--color-apple-link) !important;
3784
+ }
3785
+
3786
+ /* Signup Page Specifics & Verify Code Button */
3787
+ .steedos-auth-card .grid-cols-5 {
3788
+ display: flex;
3789
+ gap: 8px;
3790
+ width: 100%;
3791
+ }
3792
+
3793
+ .steedos-auth-card .grid-cols-5 > div:first-child,
3794
+ .steedos-auth-card .grid-cols-5 > .col-span-3 {
3795
+ flex: 1;
3796
+ width: auto;
3797
+ }
3798
+
3799
+ .steedos-auth-card #reApplyCodeBtn {
3800
+ width: auto;
3801
+ min-width: 120px;
3802
+ margin-left: 0;
3803
+ border-radius: var(--apple-radius-sm);
3804
+ border: 1px solid #d2d2d7;
3805
+ background: #f5f5f7;
3806
+ color: var(--color-apple-link);
3807
+ font-weight: 500;
3808
+ box-shadow: none;
3809
+ margin-top: 0;
3810
+ height: 40px; /* Match input height */
3811
+ padding: 0 16px;
3812
+ }
3813
+
3814
+ .steedos-auth-card #reApplyCodeBtn:hover:not(:disabled) {
3815
+ background: #e5e5e7;
3816
+ border-color: #c7c7cc;
3817
+ }
3818
+
3819
+ .steedos-auth-card #reApplyCodeBtn:disabled {
3820
+ color: #98989d;
3821
+ opacity: 0.7;
3822
+ cursor: not-allowed;
3823
+ }
3824
+
3825
+ /* Fix stacked inputs in signup/login to look like separated Apple inputs */
3826
+ .steedos-auth-card .rounded-md {
3827
+ box-shadow: none;
3828
+ background: transparent;
3829
+ }
3830
+ .steedos-auth-card .rounded-md > div,
3831
+ .steedos-auth-card .rounded-md > .grid-cols-5 {
3832
+ margin-bottom: 14px;
3833
+ margin-top: 0;
3834
+ }
3835
+
3836
+ /* Ensure inputs themselves have proper radius even if class says rounded-none */
3837
+ .steedos-auth-card input {
3838
+ border-radius: var(--apple-radius-sm) !important; /* Specific override needed for rounded-none utility class */
3839
+ }
3840
+
3841
+ /* Normalize text links for switching auth modes */
3842
+ .steedos-auth-card button.font-medium.text-blue-600 {
3843
+ font-weight: 400;
3844
+ font-size: 14px;
3845
+ }
3846
+
3847
+ /* Animations found in Apple UI */
3848
+ @keyframes fadeIn {
3849
+ from { opacity: 0; transform: translateY(10px); }
3850
+ to { opacity: 1; transform: translateY(0); }
3851
+ }
3852
+
3853
+ .creator-content-wrapper {
3854
+ animation: fadeIn 0.4s ease-out;
3855
+ }
3856
+
3857
+ /* Steedos Specific Overrides */
3858
+ .steedos-header-container .slds-context-bar {
3859
+ /* background: transparent; */
3860
+ }
3861
+
3862
+ .steedos .content-wrapper, .steedos .right-side {
3863
+ background-color: var(--color-apple-bg);
3864
+ }
3865
+
3866
+ /* Amis specific fixes */
3867
+ .amis-scope .cxd-Page-content {
3868
+ padding: 20px;
3869
+ }
3870
+
3871
+ .amis-scope .cxd-Panel-heading {
3872
+ background: transparent;
3873
+ border-bottom: 1px solid #f0f0f0;
3874
+ padding: 16px 20px;
3875
+ }
3876
+
3877
+ .amis-scope .cxd-Panel-title {
3878
+ font-weight: 600;
3879
+ font-size: 16px;
3880
+ }
package/dist/index.html CHANGED
@@ -65,8 +65,8 @@
65
65
  <link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/lib/themes/antd.css">
66
66
  <link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/lib/helper.css">
67
67
  <link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/sdk/iconfont.css">
68
- <script type="module" crossorigin src="/assets/index-Di2dwtoU.js"></script>
69
- <link rel="stylesheet" crossorigin href="/assets/index-zA70UiNI.css">
68
+ <script type="module" crossorigin src="/assets/index-BJZiVewG.js"></script>
69
+ <link rel="stylesheet" crossorigin href="/assets/index-CyX9zDx5.css">
70
70
  </head>
71
71
  <body class="skin-blue-light fixed steedos sidebar-mini three-columns" >
72
72
  <div id="root" class="steedos skin-blue-light creator h-full flex flex-col relative overflow-hidden bg-slate-50"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/webapp",
3
- "version": "3.0.11-beta.5",
3
+ "version": "3.0.11",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -75,7 +75,7 @@
75
75
  "access": "public"
76
76
  },
77
77
  "repository": "https://github.com/steedos/app-builder/tree/master/apps/accounts",
78
- "gitHead": "a7a4084925f55b61a266c7ddf1655275a9b52ea1",
78
+ "gitHead": "e7573652f9afbc29664e27865e308c67ab05aa92",
79
79
  "dependencies": {
80
80
  "@steedos-widgets/amis-object": "^6.10.47",
81
81
  "autoprefixer": "^10.4.23"