@adobe/design-system-registry 5.0.28 → 5.0.29

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @adobe/design-system-registry
2
2
 
3
+ ## 5.0.29
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`6d070af`](https://github.com/adobe/spectrum-design-data/commit/6d070af0f289fc18d23b7406ed23bc606ccc7e65)]:
8
+ - @adobe/spectrum-design-data@2.3.0
9
+
3
10
  ## 5.0.28
4
11
 
5
12
  ### Patch Changes
package/README.md CHANGED
@@ -40,7 +40,6 @@ The package includes the following registries:
40
40
 
41
41
  Platform-specific terminology extensions are available in `registry/platform-extensions/`:
42
42
 
43
- * **ios-states.json** - iOS-specific state terminology (UIControl.State, etc.)
44
43
  * **web-components-states.json** - Web Components state terminology (CSS pseudo-classes, etc.)
45
44
 
46
45
  ## Installation
@@ -219,14 +218,14 @@ import {
219
218
  } from '@adobe/design-system-registry';
220
219
 
221
220
  // Load platform extension
222
- const iosStates = loadPlatformExtension('./registry/platform-extensions/ios-states.json');
221
+ const webStates = loadPlatformExtension('./registry/platform-extensions/web-components-states.json');
223
222
 
224
223
  // Get platform-specific term
225
- const hoverTerm = getTermForPlatform(states, 'hover', 'iOS', iosStates);
224
+ const hoverTerm = getTermForPlatform(states, 'hover', 'Web Components', webStates);
226
225
 
227
- console.log(hoverTerm.platform.term); // "highlighted"
228
- console.log(hoverTerm.platform.reference); // "UIControl.State.highlighted"
229
- console.log(hoverTerm.platform.codeExample); // "button.isHighlighted = true"
226
+ console.log(hoverTerm.platform.term); // "hover"
227
+ console.log(hoverTerm.platform.reference); // ":hover pseudo-class"
228
+ console.log(hoverTerm.platform.codeExample); // ":host(:hover) { ... }"
230
229
  ```
231
230
 
232
231
  See [PLATFORM\_EXTENSIONS.md](PLATFORM_EXTENSIONS.md) for detailed documentation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/design-system-registry",
3
- "version": "5.0.28",
3
+ "version": "5.0.29",
4
4
  "description": "DEPRECATED — registry data and API have moved to @adobe/spectrum-design-data. This package is a thin compatibility shim.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -26,6 +26,6 @@
26
26
  "pnpm": ">=10.17.1"
27
27
  },
28
28
  "dependencies": {
29
- "@adobe/spectrum-design-data": "2.2.0"
29
+ "@adobe/spectrum-design-data": "2.3.0"
30
30
  }
31
31
  }