create-oc 1.1.36 → 1.1.38

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/index.js CHANGED
@@ -168,12 +168,8 @@ const imports = (() => {
168
168
  };
169
169
  case 'esm.remix':
170
170
  return {
171
- '@remix-run/dom':
172
- 'https://esm.sh/@remix-run/dom@0.0.0-experimental-remix-jam.6',
173
- '@remix-run/events':
174
- 'https://esm.sh/@remix-run/events@0.0.0-experimental-remix-jam.5',
175
- '@remix-run/events/':
176
- 'https://esm.sh/@remix-run/events@0.0.0-experimental-remix-jam.5/',
171
+ '@remix-run/component': 'https://esm.sh/@remix-run/component@0.5.0',
172
+ '@remix-run/component/': 'https://esm.sh/@remix-run/component@0.5.0/',
177
173
  };
178
174
  default:
179
175
  return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-oc",
3
- "version": "1.1.36",
3
+ "version": "1.1.38",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "index.js",
@@ -3,7 +3,7 @@ import {
3
3
  type ActionOutput,
4
4
  getInitialData,
5
5
  } from 'oc-server/client';
6
- import { on, type Handle } from '@remix-run/component';
6
+ import { type Handle } from '@remix-run/component';
7
7
  import styles from './styles.module.css';
8
8
  import logo from '../public/logo.png';
9
9
 
@@ -46,7 +46,9 @@ export default function App(handle: Handle) {
46
46
  {additionalData && <div>{additionalData.funFact}</div>}
47
47
  <button
48
48
  className={styles.button}
49
- mix={[on('click', () => getFunFact())]}
49
+ on={{
50
+ click: getFunFact,
51
+ }}
50
52
  >
51
53
  Fun year fact
52
54
  </button>