@ultimat3/ui 5.0.0 → 6.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultimat3/ui",
3
- "version": "5.0.0",
3
+ "version": "6.0.0",
4
4
  "description": "SolidJS design system: semantic design tokens, dark/RTL-ready SCSS modules, a11y primitives",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -39,10 +39,10 @@
39
39
  "icons": "bun run src/icons/build-icons.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@ultimat3/core": "5.0.0",
43
- "@ultimat3/i18n": "5.0.0",
44
- "@ultimat3/money": "5.0.0",
45
- "@ultimat3/time": "5.0.0"
42
+ "@ultimat3/core": "6.0.0",
43
+ "@ultimat3/i18n": "6.0.0",
44
+ "@ultimat3/money": "6.0.0",
45
+ "@ultimat3/time": "6.0.0"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "solid-js": "^1.9.0"
package/src/errors.ts CHANGED
@@ -102,7 +102,7 @@ export function providerNeedsRuntimeError(): UiError {
102
102
  code: UI_ERROR_CODES.runtimeMissing,
103
103
  cause:
104
104
  '<UiProvider> needs a registered Solid runtime; a server render has none, and its values would reach no component',
105
- fix: 'delete <UiProvider> from the server tree — useUi() already reads the request locale and time zone; keep the provider in the client entry, after setSolidRuntime()',
105
+ fix: 'delete <UiProvider> from the server tree — useUi() already reads the request locale and time zone; keep the provider inside your *.island.tsx, under the mount() that called setSolidRuntime()',
106
106
  });
107
107
  }
108
108
 
@@ -58,7 +58,7 @@ export function solid(): SolidRuntime {
58
58
  if (hasDom()) {
59
59
  throw runtimeMissingError(
60
60
  'a registered Solid runtime',
61
- "add setSolidRuntime(await import('solid-js')) to the CLIENT entry before render — a server render needs none",
61
+ "add setSolidRuntime(await import('solid-js')) at the top of your *.island.tsx's mount() — a server render needs none",
62
62
  );
63
63
  }
64
64
  return INERT_SOLID_RUNTIME;