@c2n/feather-icons 0.0.14 → 0.0.16

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/react.d.ts +2 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c2n/feather-icons",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": true,
@@ -82,5 +82,5 @@
82
82
  "prettier": "3.9.6"
83
83
  },
84
84
  "customElements": "custom-elements.json",
85
- "gitHead": "0261bfceaaa9f710a54e8f36cb57f946c0b83e53"
85
+ "gitHead": "d04bcc1c278febafc95f94904d68ea583d380e05"
86
86
  }
package/react.d.ts CHANGED
@@ -9,7 +9,8 @@
9
9
  //
10
10
  // On a server-rendered page (Next.js, React Router SSR) write a camelCase property by its kebab-case attribute
11
11
  // name ('row-key', not rowKey): the server emits props verbatim, HTML lowercases them, and hydration does not
12
- // set properties. Those names are listed next to the properties below.
12
+ // set properties. Those names are listed next to the properties below. Structured converter-backed values
13
+ // also accept their serialized string form, so server JSX can emit the same JSON/CSV attribute used by HTML.
13
14
 
14
15
  import type { DetailedHTMLProps, HTMLAttributes } from 'react'
15
16
  import type {
@@ -304,8 +305,6 @@ import type {
304
305
 
305
306
  /** Standard React host-element attributes plus the element's own public properties. */
306
307
  type C2Props<T> = DetailedHTMLProps<HTMLAttributes<T>, T> & Partial<Omit<T, keyof HTMLElement>>
307
- /** What React writes to a custom element's attribute: true becomes the empty string, false removes it. */
308
- type Attribute = string | number | boolean
309
308
 
310
309
  declare module 'react' {
311
310
  namespace JSX {