@nysds/components 1.19.3-alpha-1 → 1.20.0-alpha-2

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.
@@ -2227,6 +2227,15 @@
2227
2227
  "privacy": "private",
2228
2228
  "default": "false"
2229
2229
  },
2230
+ {
2231
+ "kind": "field",
2232
+ "name": "_hasCircleSlot",
2233
+ "type": {
2234
+ "text": "boolean"
2235
+ },
2236
+ "privacy": "private",
2237
+ "default": "false"
2238
+ },
2230
2239
  {
2231
2240
  "kind": "field",
2232
2241
  "name": "formAssociated",
@@ -2269,6 +2278,19 @@
2269
2278
  }
2270
2279
  ]
2271
2280
  },
2281
+ {
2282
+ "kind": "method",
2283
+ "name": "_onCircleSlotChange",
2284
+ "privacy": "private",
2285
+ "parameters": [
2286
+ {
2287
+ "name": "e",
2288
+ "type": {
2289
+ "text": "Event"
2290
+ }
2291
+ }
2292
+ ]
2293
+ },
2272
2294
  {
2273
2295
  "kind": "method",
2274
2296
  "name": "_manageFormAction",
@@ -2970,6 +2992,11 @@
2970
2992
  "name": "_hasDescription",
2971
2993
  "readonly": true
2972
2994
  },
2995
+ {
2996
+ "kind": "field",
2997
+ "name": "_isStandalone",
2998
+ "readonly": true
2999
+ },
2973
3000
  {
2974
3001
  "kind": "field",
2975
3002
  "name": "_handleMobileQuery",
@@ -7497,7 +7524,7 @@
7497
7524
  }
7498
7525
  }
7499
7526
  ],
7500
- "description": "Clear one or all entries from the cache."
7527
+ "description": "Clear one URL entry, or all cached icons (URL and inline) when no URL is given."
7501
7528
  },
7502
7529
  {
7503
7530
  "kind": "function",
@@ -7516,6 +7543,24 @@
7516
7543
  }
7517
7544
  ],
7518
7545
  "description": "Fetch and parse an SVG from a URL. Returns a cloned SVGElement (safe for multiple consumers)."
7546
+ },
7547
+ {
7548
+ "kind": "function",
7549
+ "name": "parseIcon",
7550
+ "return": {
7551
+ "type": {
7552
+ "text": "SVGElement"
7553
+ }
7554
+ },
7555
+ "parameters": [
7556
+ {
7557
+ "name": "source",
7558
+ "type": {
7559
+ "text": "string"
7560
+ }
7561
+ }
7562
+ ],
7563
+ "description": "Parse an inline SVG source string. Results are cached by source content,\nso repeated renders of the same icon sanitize/parse once. Returns a\ncloned SVGElement (safe for multiple consumers)."
7519
7564
  }
7520
7565
  ],
7521
7566
  "exports": [
@@ -7534,6 +7579,14 @@
7534
7579
  "name": "fetchIcon",
7535
7580
  "module": "packages/nys-icon/src/icon-cache.ts"
7536
7581
  }
7582
+ },
7583
+ {
7584
+ "kind": "js",
7585
+ "name": "parseIcon",
7586
+ "declaration": {
7587
+ "name": "parseIcon",
7588
+ "module": "packages/nys-icon/src/icon-cache.ts"
7589
+ }
7537
7590
  }
7538
7591
  ]
7539
7592
  },
@@ -7581,7 +7634,7 @@
7581
7634
  }
7582
7635
  }
7583
7636
  ],
7584
- "description": "Register or replace a named icon library. All watching icons using this library will redraw.",
7637
+ "description": "Register or replace a named icon library. All watching icons using this library will redraw.\n\nIntended for custom/external libraries — the standard NYSDS set is\nbuilt in and needs no registration. Registering under `\"default\"`\nreplaces the built-in set (escape hatch).",
7585
7638
  "examples": [
7586
7639
  {
7587
7640
  "title": "Register a Font Awesome library with a custom resolver:",
@@ -7721,6 +7774,14 @@
7721
7774
  "module": "./icon-cache"
7722
7775
  }
7723
7776
  },
7777
+ {
7778
+ "kind": "js",
7779
+ "name": "getIconLibrary",
7780
+ "declaration": {
7781
+ "name": "getIconLibrary",
7782
+ "module": "./icon-library-registry"
7783
+ }
7784
+ },
7724
7785
  {
7725
7786
  "kind": "js",
7726
7787
  "name": "IconLibrary",
@@ -7729,6 +7790,14 @@
7729
7790
  "module": "./icon-library-registry"
7730
7791
  }
7731
7792
  },
7793
+ {
7794
+ "kind": "js",
7795
+ "name": "IconResolution",
7796
+ "declaration": {
7797
+ "name": "IconResolution",
7798
+ "module": "./icon-library-registry"
7799
+ }
7800
+ },
7732
7801
  {
7733
7802
  "kind": "js",
7734
7803
  "name": "registerIconLibrary",
@@ -2227,6 +2227,15 @@
2227
2227
  "privacy": "private",
2228
2228
  "default": "false"
2229
2229
  },
2230
+ {
2231
+ "kind": "field",
2232
+ "name": "_hasCircleSlot",
2233
+ "type": {
2234
+ "text": "boolean"
2235
+ },
2236
+ "privacy": "private",
2237
+ "default": "false"
2238
+ },
2230
2239
  {
2231
2240
  "kind": "field",
2232
2241
  "name": "formAssociated",
@@ -2269,6 +2278,19 @@
2269
2278
  }
2270
2279
  ]
2271
2280
  },
2281
+ {
2282
+ "kind": "method",
2283
+ "name": "_onCircleSlotChange",
2284
+ "privacy": "private",
2285
+ "parameters": [
2286
+ {
2287
+ "name": "e",
2288
+ "type": {
2289
+ "text": "Event"
2290
+ }
2291
+ }
2292
+ ]
2293
+ },
2272
2294
  {
2273
2295
  "kind": "method",
2274
2296
  "name": "_manageFormAction",
@@ -2970,6 +2992,11 @@
2970
2992
  "name": "_hasDescription",
2971
2993
  "readonly": true
2972
2994
  },
2995
+ {
2996
+ "kind": "field",
2997
+ "name": "_isStandalone",
2998
+ "readonly": true
2999
+ },
2973
3000
  {
2974
3001
  "kind": "field",
2975
3002
  "name": "_handleMobileQuery",
@@ -7497,7 +7524,7 @@
7497
7524
  }
7498
7525
  }
7499
7526
  ],
7500
- "description": "Clear one or all entries from the cache."
7527
+ "description": "Clear one URL entry, or all cached icons (URL and inline) when no URL is given."
7501
7528
  },
7502
7529
  {
7503
7530
  "kind": "function",
@@ -7516,6 +7543,24 @@
7516
7543
  }
7517
7544
  ],
7518
7545
  "description": "Fetch and parse an SVG from a URL. Returns a cloned SVGElement (safe for multiple consumers)."
7546
+ },
7547
+ {
7548
+ "kind": "function",
7549
+ "name": "parseIcon",
7550
+ "return": {
7551
+ "type": {
7552
+ "text": "SVGElement"
7553
+ }
7554
+ },
7555
+ "parameters": [
7556
+ {
7557
+ "name": "source",
7558
+ "type": {
7559
+ "text": "string"
7560
+ }
7561
+ }
7562
+ ],
7563
+ "description": "Parse an inline SVG source string. Results are cached by source content,\nso repeated renders of the same icon sanitize/parse once. Returns a\ncloned SVGElement (safe for multiple consumers)."
7519
7564
  }
7520
7565
  ],
7521
7566
  "exports": [
@@ -7534,6 +7579,14 @@
7534
7579
  "name": "fetchIcon",
7535
7580
  "module": "packages/nys-icon/src/icon-cache.ts"
7536
7581
  }
7582
+ },
7583
+ {
7584
+ "kind": "js",
7585
+ "name": "parseIcon",
7586
+ "declaration": {
7587
+ "name": "parseIcon",
7588
+ "module": "packages/nys-icon/src/icon-cache.ts"
7589
+ }
7537
7590
  }
7538
7591
  ]
7539
7592
  },
@@ -7581,7 +7634,7 @@
7581
7634
  }
7582
7635
  }
7583
7636
  ],
7584
- "description": "Register or replace a named icon library. All watching icons using this library will redraw.",
7637
+ "description": "Register or replace a named icon library. All watching icons using this library will redraw.\n\nIntended for custom/external libraries — the standard NYSDS set is\nbuilt in and needs no registration. Registering under `\"default\"`\nreplaces the built-in set (escape hatch).",
7585
7638
  "examples": [
7586
7639
  {
7587
7640
  "title": "Register a Font Awesome library with a custom resolver:",
@@ -7721,6 +7774,14 @@
7721
7774
  "module": "./icon-cache"
7722
7775
  }
7723
7776
  },
7777
+ {
7778
+ "kind": "js",
7779
+ "name": "getIconLibrary",
7780
+ "declaration": {
7781
+ "name": "getIconLibrary",
7782
+ "module": "./icon-library-registry"
7783
+ }
7784
+ },
7724
7785
  {
7725
7786
  "kind": "js",
7726
7787
  "name": "IconLibrary",
@@ -7729,6 +7790,14 @@
7729
7790
  "module": "./icon-library-registry"
7730
7791
  }
7731
7792
  },
7793
+ {
7794
+ "kind": "js",
7795
+ "name": "IconResolution",
7796
+ "declaration": {
7797
+ "name": "IconResolution",
7798
+ "module": "./icon-library-registry"
7799
+ }
7800
+ },
7732
7801
  {
7733
7802
  "kind": "js",
7734
7803
  "name": "registerIconLibrary",