@remit/ui 0.0.176 → 0.0.177

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": "@remit/ui",
3
- "version": "0.0.176",
3
+ "version": "0.0.177",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src"
@@ -9,13 +9,12 @@
9
9
  ".": "./src/index.ts",
10
10
  "./rich-text": "./src/rich-text.ts",
11
11
  "./spellcheck-worker": "./src/components/rich-text-spellcheck-worker-provider.ts",
12
- "./tokens.css": "./src/tokens.css",
13
- "./calendar.css": "./src/calendar.css"
12
+ "./tokens.css": "./src/tokens.css"
14
13
  },
15
14
  "scripts": {
16
15
  "test": "npm run test:typecheck && npm run test:run",
17
16
  "test:typecheck": "tsgo --noEmit",
18
- "test:run": "node $NODE_TEST_FLAGS --import tsx --experimental-test-coverage --test-coverage-include='src/**' --test-coverage-exclude='src/**/*.test.ts' --test-coverage-exclude='src/**/*.test.tsx' --test-coverage-lines=90 --test 'src/**/*.test.ts'"
17
+ "test:run": "node $NODE_TEST_FLAGS --import tsx --import @remit/test-dom/css --experimental-test-coverage --test-coverage-include='src/**' --test-coverage-exclude='src/**/*.test.ts' --test-coverage-exclude='src/**/*.test.tsx' --test-coverage-lines=90 --test 'src/**/*.test.ts'"
19
18
  },
20
19
  "dependencies": {
21
20
  "@fontsource-variable/geist": "^5",
package/src/calendar.css CHANGED
@@ -1,4 +1,5 @@
1
1
  /* The structural sheet `CalendarGrid`'s engine needs — positioning and nothing
2
2
  else; it ships no theme. Every colour, border and size the grid draws comes
3
- from tokens.css instead. An app that renders the grid imports this beside it. */
3
+ from tokens.css instead. `calendar-grid.tsx` imports this itself, so it
4
+ travels with the component and no app has to ask for it. */
4
5
  @import "@fullcalendar/react/skeleton.css";
@@ -1,3 +1,4 @@
1
+ import "../calendar.css";
1
2
  import type {
2
3
  CalendarRef,
3
4
  EventDisplayInfo,
@@ -0,0 +1,4 @@
1
+ /* A component imports the structural sheet it cannot draw without, so the sheet
2
+ travels with it into every bundle that mounts it. The bundler turns that
3
+ import into a stylesheet; the type system only needs to know it resolves. */
4
+ declare module "*.css";