@carbon-labs/react-example-button 0.0.1-canary.383 → 0.0.1-canary.389

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.
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2024
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ import React from 'react';
10
+ import { ButtonProps } from '@carbon/react';
11
+ /** Primary UI component for user interaction */
12
+ interface ExampleButtonProps extends ButtonProps<any> {
13
+ children?: React.ReactNode;
14
+ }
15
+ export declare const ExampleButton: ({ children, ...rest }: ExampleButtonProps) => import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -7,7 +7,7 @@
7
7
 
8
8
  import React from 'react';
9
9
  import { Button } from '@carbon/react';
10
- import { usePrefix } from '../internal/usePrefix.js';
10
+ import { usePrefix } from '../node_modules/@carbon-labs/utilities/es/usePrefix.js';
11
11
 
12
12
  /** Primary UI component for user interaction */
13
13
 
package/es/index.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2024
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ export { ExampleButton } from './components/ExampleButton.js';
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2024
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ import React from 'react';
10
+ import { ButtonProps } from '@carbon/react';
11
+ /** Primary UI component for user interaction */
12
+ interface ExampleButtonProps extends ButtonProps<any> {
13
+ children?: React.ReactNode;
14
+ }
15
+ export declare const ExampleButton: ({ children, ...rest }: ExampleButtonProps) => import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -9,7 +9,7 @@
9
9
 
10
10
  var React = require('react');
11
11
  var react = require('@carbon/react');
12
- var usePrefix = require('../internal/usePrefix.js');
12
+ var usePrefix = require('../node_modules/@carbon-labs/utilities/es/usePrefix.js');
13
13
 
14
14
  /** Primary UI component for user interaction */
15
15
 
package/lib/index.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2024
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ export { ExampleButton } from './components/ExampleButton.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon-labs/react-example-button",
3
- "version": "0.0.1-canary.383+f343bb1",
3
+ "version": "0.0.1-canary.389+acd7d67",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -24,5 +24,8 @@
24
24
  "build": "node ../../../tasks/build.js",
25
25
  "clean": "rm -rf {es,lib,scss}"
26
26
  },
27
- "gitHead": "f343bb19e534ba2331e1724a8b151e284d63bf45"
27
+ "devDependencies": {
28
+ "@carbon-labs/utilities": "canary"
29
+ },
30
+ "gitHead": "acd7d67e79dbd0f20fd67538ed6493763e2bf8ee"
28
31
  }