@nysds/components 1.19.2 → 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",
@@ -3486,6 +3513,15 @@
3486
3513
  "privacy": "private",
3487
3514
  "default": "null"
3488
3515
  },
3516
+ {
3517
+ "kind": "field",
3518
+ "name": "_hasSharedNames",
3519
+ "type": {
3520
+ "text": "boolean"
3521
+ },
3522
+ "privacy": "private",
3523
+ "default": "false"
3524
+ },
3489
3525
  {
3490
3526
  "kind": "field",
3491
3527
  "name": "_internals",
@@ -3630,6 +3666,25 @@
3630
3666
  }
3631
3667
  }
3632
3668
  ]
3669
+ },
3670
+ {
3671
+ "kind": "method",
3672
+ "name": "_checkSharedNames",
3673
+ "privacy": "private",
3674
+ "return": {
3675
+ "type": {
3676
+ "text": "boolean"
3677
+ }
3678
+ },
3679
+ "parameters": [
3680
+ {
3681
+ "name": "checkboxes",
3682
+ "type": {
3683
+ "text": "NysCheckbox[]"
3684
+ }
3685
+ }
3686
+ ],
3687
+ "description": "Drupal-like naming support *"
3633
3688
  }
3634
3689
  ],
3635
3690
  "attributes": [
@@ -7469,7 +7524,7 @@
7469
7524
  }
7470
7525
  }
7471
7526
  ],
7472
- "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."
7473
7528
  },
7474
7529
  {
7475
7530
  "kind": "function",
@@ -7488,6 +7543,24 @@
7488
7543
  }
7489
7544
  ],
7490
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)."
7491
7564
  }
7492
7565
  ],
7493
7566
  "exports": [
@@ -7506,6 +7579,14 @@
7506
7579
  "name": "fetchIcon",
7507
7580
  "module": "packages/nys-icon/src/icon-cache.ts"
7508
7581
  }
7582
+ },
7583
+ {
7584
+ "kind": "js",
7585
+ "name": "parseIcon",
7586
+ "declaration": {
7587
+ "name": "parseIcon",
7588
+ "module": "packages/nys-icon/src/icon-cache.ts"
7589
+ }
7509
7590
  }
7510
7591
  ]
7511
7592
  },
@@ -7553,7 +7634,7 @@
7553
7634
  }
7554
7635
  }
7555
7636
  ],
7556
- "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).",
7557
7638
  "examples": [
7558
7639
  {
7559
7640
  "title": "Register a Font Awesome library with a custom resolver:",
@@ -7693,6 +7774,14 @@
7693
7774
  "module": "./icon-cache"
7694
7775
  }
7695
7776
  },
7777
+ {
7778
+ "kind": "js",
7779
+ "name": "getIconLibrary",
7780
+ "declaration": {
7781
+ "name": "getIconLibrary",
7782
+ "module": "./icon-library-registry"
7783
+ }
7784
+ },
7696
7785
  {
7697
7786
  "kind": "js",
7698
7787
  "name": "IconLibrary",
@@ -7701,6 +7790,14 @@
7701
7790
  "module": "./icon-library-registry"
7702
7791
  }
7703
7792
  },
7793
+ {
7794
+ "kind": "js",
7795
+ "name": "IconResolution",
7796
+ "declaration": {
7797
+ "name": "IconResolution",
7798
+ "module": "./icon-library-registry"
7799
+ }
7800
+ },
7704
7801
  {
7705
7802
  "kind": "js",
7706
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",
@@ -3486,6 +3513,15 @@
3486
3513
  "privacy": "private",
3487
3514
  "default": "null"
3488
3515
  },
3516
+ {
3517
+ "kind": "field",
3518
+ "name": "_hasSharedNames",
3519
+ "type": {
3520
+ "text": "boolean"
3521
+ },
3522
+ "privacy": "private",
3523
+ "default": "false"
3524
+ },
3489
3525
  {
3490
3526
  "kind": "field",
3491
3527
  "name": "_internals",
@@ -3630,6 +3666,25 @@
3630
3666
  }
3631
3667
  }
3632
3668
  ]
3669
+ },
3670
+ {
3671
+ "kind": "method",
3672
+ "name": "_checkSharedNames",
3673
+ "privacy": "private",
3674
+ "return": {
3675
+ "type": {
3676
+ "text": "boolean"
3677
+ }
3678
+ },
3679
+ "parameters": [
3680
+ {
3681
+ "name": "checkboxes",
3682
+ "type": {
3683
+ "text": "NysCheckbox[]"
3684
+ }
3685
+ }
3686
+ ],
3687
+ "description": "Drupal-like naming support *"
3633
3688
  }
3634
3689
  ],
3635
3690
  "attributes": [
@@ -7469,7 +7524,7 @@
7469
7524
  }
7470
7525
  }
7471
7526
  ],
7472
- "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."
7473
7528
  },
7474
7529
  {
7475
7530
  "kind": "function",
@@ -7488,6 +7543,24 @@
7488
7543
  }
7489
7544
  ],
7490
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)."
7491
7564
  }
7492
7565
  ],
7493
7566
  "exports": [
@@ -7506,6 +7579,14 @@
7506
7579
  "name": "fetchIcon",
7507
7580
  "module": "packages/nys-icon/src/icon-cache.ts"
7508
7581
  }
7582
+ },
7583
+ {
7584
+ "kind": "js",
7585
+ "name": "parseIcon",
7586
+ "declaration": {
7587
+ "name": "parseIcon",
7588
+ "module": "packages/nys-icon/src/icon-cache.ts"
7589
+ }
7509
7590
  }
7510
7591
  ]
7511
7592
  },
@@ -7553,7 +7634,7 @@
7553
7634
  }
7554
7635
  }
7555
7636
  ],
7556
- "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).",
7557
7638
  "examples": [
7558
7639
  {
7559
7640
  "title": "Register a Font Awesome library with a custom resolver:",
@@ -7693,6 +7774,14 @@
7693
7774
  "module": "./icon-cache"
7694
7775
  }
7695
7776
  },
7777
+ {
7778
+ "kind": "js",
7779
+ "name": "getIconLibrary",
7780
+ "declaration": {
7781
+ "name": "getIconLibrary",
7782
+ "module": "./icon-library-registry"
7783
+ }
7784
+ },
7696
7785
  {
7697
7786
  "kind": "js",
7698
7787
  "name": "IconLibrary",
@@ -7701,6 +7790,14 @@
7701
7790
  "module": "./icon-library-registry"
7702
7791
  }
7703
7792
  },
7793
+ {
7794
+ "kind": "js",
7795
+ "name": "IconResolution",
7796
+ "declaration": {
7797
+ "name": "IconResolution",
7798
+ "module": "./icon-library-registry"
7799
+ }
7800
+ },
7704
7801
  {
7705
7802
  "kind": "js",
7706
7803
  "name": "registerIconLibrary",