@central-icons-react/all 1.1.322 → 1.1.324

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.
@@ -4,20 +4,24 @@ const ModernCentralIconBase = (props) => {
4
4
  return React.createElement(CentralIconSvg, { ...props, instanceId: instanceId });
5
5
  };
6
6
  let nextLegacyId = 0;
7
- class LegacyCentralIconBase extends React.Component {
8
- constructor() {
9
- super(...arguments);
10
- this.state = {};
11
- }
12
- componentDidMount() {
13
- // Defer legacy IDs until mount so server and initial client markup agree.
14
- this.setState({ instanceId: `legacy-${++nextLegacyId}` });
15
- }
16
- render() {
17
- return (React.createElement(CentralIconSvg, { ...this.props.iconProps, instanceId: this.state.instanceId }));
18
- }
19
- }
20
- export const CentralIconBase = (props) => typeof React.useId === "function" ? (React.createElement(ModernCentralIconBase, { ...props })) : (React.createElement(LegacyCentralIconBase, { iconProps: props }));
7
+ // React's Server Components runtime exposes useId but not Component. Only
8
+ // define the legacy class when it is needed, so modern imports stay RSC-safe.
9
+ const LegacyCentralIconBase = typeof React.useId === "function"
10
+ ? undefined
11
+ : class extends React.Component {
12
+ constructor() {
13
+ super(...arguments);
14
+ this.state = {};
15
+ }
16
+ componentDidMount() {
17
+ // Defer legacy IDs until mount so server and initial client markup agree.
18
+ this.setState({ instanceId: `legacy-${++nextLegacyId}` });
19
+ }
20
+ render() {
21
+ return (React.createElement(CentralIconSvg, { ...this.props.iconProps, instanceId: this.state.instanceId }));
22
+ }
23
+ };
24
+ export const CentralIconBase = (props) => LegacyCentralIconBase ? (React.createElement(LegacyCentralIconBase, { iconProps: props })) : (React.createElement(ModernCentralIconBase, { ...props }));
21
25
  const CentralIconSvg = ({ children, size = 24, ariaLabel, color, ariaHidden = true, style, mode = "masked", maskId, instanceId, ...props }) => {
22
26
  const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;
23
27
  const masked = mode !== "raw" && !!maskId;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","s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,CACT,CACG,CACP,CAAC;AACJ,CAAC,CAAC"}
package/README.md CHANGED
@@ -1631,7 +1631,7 @@ Below is a complete list of available icons:
1631
1631
  - IconShadows
1632
1632
  - IconShareScreen
1633
1633
  - IconSplit
1634
- - IconSpotlight.focus
1634
+ - IconSpotlight
1635
1635
  - IconStopShareScreen
1636
1636
  - IconUnblur
1637
1637
  - IconVideo
package/icons/index.d.ts CHANGED
@@ -6884,8 +6884,8 @@ export declare const centralIconsMetadata: {
6884
6884
  readonly category: "Photography & Video";
6885
6885
  readonly createdAt: "2026-09-16T07:02:05.063116+00:00";
6886
6886
  };
6887
- readonly "IconSpotlight.focus": {
6888
- readonly title: "spotlight. focus, shooting, studio";
6887
+ readonly IconSpotlight: {
6888
+ readonly title: "spotlight, focus, shooting, studio";
6889
6889
  readonly category: "Photography & Video";
6890
6890
  readonly createdAt: "2026-09-23T07:02:04.436553+00:00";
6891
6891
  };
package/icons/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/icons/index.js
3
- size: 55723751 bytes
4
- sha256: 93767f5f5e19dd0d6dd85e6587aab03059dded486e02a2ab0525633301f00c6b
3
+ size: 55723563 bytes
4
+ sha256: 3121d695a4e60ffd55987d3b8f53ebc8eb1f1459a054870cd959e86013e94adc
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/icons/index.js.map
3
- size: 60553821 bytes
4
- sha256: d1ab24ed3474f100b473c40c9a201ddf31ec4a39ff576d10ca6249cfe76aa03b
3
+ size: 60553633 bytes
4
+ sha256: 4d510107c2347b9ef869b046da5b6b7cbfdb22133b3228ea06d49594d66e10c1
package/icons/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/icons/index.mjs
3
- size: 55723240 bytes
4
- sha256: 1b2b6c3cf61c7c0399e2b48c1dc8c6d3f487fed086de64a88ed07e50f0a96d43
3
+ size: 55723052 bytes
4
+ sha256: bd0e8e9dcbac0d1cbe36986dc51902f24126e9d2ec987444c3630f1f50b34703
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/icons/index.mjs.map
3
- size: 60553698 bytes
4
- sha256: ffcaf180bfce78e15eb02e4c2709b30c93920f2b76c17e6c54fa538c5547d20b
3
+ size: 60553510 bytes
4
+ sha256: e3652468b349acf1c3283f6927186fb29e5073e0e9f8c4aad31a751c5a307a2c
package/icons-index.json CHANGED
@@ -1512,7 +1512,7 @@
1512
1512
  "IconShadows",
1513
1513
  "IconShareScreen",
1514
1514
  "IconSplit",
1515
- "IconSpotlight.focus",
1515
+ "IconSpotlight",
1516
1516
  "IconStopShareScreen",
1517
1517
  "IconUnblur",
1518
1518
  "IconVideo",
@@ -3690,7 +3690,7 @@
3690
3690
  "IconVideo2Off": "video-2-off, cam-off, movie, play",
3691
3691
  "IconStopShareScreen": "stop-share-screen, stop-sharing",
3692
3692
  "IconReferenceImage": "reference-image, verified-photo, proof, aperture",
3693
- "IconSpotlight.focus": "spotlight. focus, shooting, studio",
3693
+ "IconSpotlight": "spotlight, focus, shooting, studio",
3694
3694
  "IconLock": "lock, private",
3695
3695
  "IconUnlocked": "unlocked, unlock, private",
3696
3696
  "IconShield": "shield, security, protection",
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/index.js
3
- size: 55725527 bytes
4
- sha256: da8904fa2ec822428e1564b0256343357929a8ae998db5784be8624bdecddb5f
3
+ size: 55725348 bytes
4
+ sha256: f9c9c15b00883013ad42785fdab4003cf0190396e40b9bace33a056ab35dbd23
package/index.js.map CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/index.js.map
3
- size: 60560221 bytes
4
- sha256: 21c5453a7d8ae87d0d835466ad584111e2ac384b73b82c95dd637e2462a3256c
3
+ size: 60560359 bytes
4
+ sha256: 798f697c64fa9b87fde840656e59bc806364c43747c89f7572a44acd79a17dd3
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/index.mjs
3
- size: 55724754 bytes
4
- sha256: 84e2251b5c70d0b171e80f2eadde8e564fdea952bd04dffdf2f3273568a2a2d1
3
+ size: 55724575 bytes
4
+ sha256: 51486d754f665da6fde3fdb8e50554cc570e5b8d961630e9d111e9498eeeba16
package/index.mjs.map CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/index.mjs.map
3
- size: 60560009 bytes
4
- sha256: 546b08d67522478bfd946a02c4b343591c2067a4cb0579f7a0357da4f5330c9e
3
+ size: 60560147 bytes
4
+ sha256: e864a54efef81213eeb6c705afaad63423cffd33763cca900928480f78f61229
package/license-check.js CHANGED
@@ -18,7 +18,7 @@ const licenseCheck = async () => {
18
18
  },
19
19
  body: JSON.stringify({
20
20
  package: "central-icons-react/all",
21
- version: "1.1.322",
21
+ version: "1.1.324",
22
22
  }),
23
23
  signal: controller.signal,
24
24
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@central-icons-react/all",
3
- "version": "1.1.322",
3
+ "version": "1.1.324",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "homepage": "https://iconists.co/central",
6
6
  "bugs": {
@@ -5,7 +5,7 @@ description: Use when inserting icons in React code that imports from @central-i
5
5
 
6
6
  # Central Icons — React (all)
7
7
 
8
- This skill helps you find and insert icons from the `@central-icons-react/all` package (version 1.1.322). The package exposes 2098 icons across 30 variants (round/square × filled/outlined × multiple corner radii and stroke widths) through a single dynamic `CentralIcon` component.
8
+ This skill helps you find and insert icons from the `@central-icons-react/all` package (version 1.1.324). The package exposes 2098 icons across 30 variants (round/square × filled/outlined × multiple corner radii and stroke widths) through a single dynamic `CentralIcon` component.
9
9
 
10
10
  ## Prefer a variant package when possible
11
11
 
@@ -1584,7 +1584,7 @@ Need the raw, unmasked shapes instead (e.g. to style individual paths)? Set `mod
1584
1584
  - **IconShadows** — shadows
1585
1585
  - **IconShareScreen** — share-screen, screen-sharing
1586
1586
  - **IconSplit** — split
1587
- - **IconSpotlight.focus** — spotlight. focus, shooting, studio
1587
+ - **IconSpotlight** — spotlight, focus, shooting, studio
1588
1588
  - **IconStopShareScreen** — stop-share-screen, stop-sharing
1589
1589
  - **IconUnblur** — unblur
1590
1590
  - **IconVideo** — video, camera, movie, play