@c2n/phosphor-icons 0.0.14 → 0.0.15

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/phosphor-icons",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
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": "129a6e537c68c04ed2a36508789bf42c9781e196"
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 {
@@ -1529,8 +1530,6 @@ import type {
1529
1530
 
1530
1531
  /** Standard React host-element attributes plus the element's own public properties. */
1531
1532
  type C2Props<T> = DetailedHTMLProps<HTMLAttributes<T>, T> & Partial<Omit<T, keyof HTMLElement>>
1532
- /** What React writes to a custom element's attribute: true becomes the empty string, false removes it. */
1533
- type Attribute = string | number | boolean
1534
1533
 
1535
1534
  declare module 'react' {
1536
1535
  namespace JSX {