@ni/nimble-components 32.7.2 → 32.8.1

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/README.md CHANGED
@@ -110,13 +110,13 @@ Most user-visible strings displayed by Nimble components are provided by the cli
110
110
 
111
111
  The current label providers:
112
112
 
113
- - `nimble-label-provider-core`: Used for labels for all components without a dedicated label provider
114
- - `nimble-label-provider-rich-text`: Used for labels for the rich text components
115
- - `nimble-label-provider-table`: Used for labels for the table (and table sub-components / column types)
113
+ - `nimble-label-provider-core`: Used for labels for all components without a dedicated label provider
114
+ - `nimble-label-provider-rich-text`: Used for labels for the rich text components
115
+ - `nimble-label-provider-table`: Used for labels for the table (and table sub-components / column types)
116
116
 
117
117
  If a client is localized, it should:
118
118
 
119
- - Add the `label-provider` element(s) as children of their root theme provider:
119
+ - Add the `label-provider` element(s) as children of their root theme provider:
120
120
  ```html
121
121
  <body>
122
122
  <nimble-theme-provider theme="light">
@@ -127,14 +127,14 @@ If a client is localized, it should:
127
127
  </nimble-theme-provider>
128
128
  </body>
129
129
  ```
130
- - For each label token on the label provider API, localize the English string, and set the corresponding HTML attribute or JS property on the label provider to the localized values. A list of all label tokens for each label provider (and their corresponding attribute/property names and English strings) can be found in the [Tokens/Label Providers section of Storybook](http://nimble.ni.dev/storybook/?path=/docs/tokens-label-providers--docs).
130
+ - For each label token on the label provider API, localize the English string, and set the corresponding HTML attribute or JS property on the label provider to the localized values. A list of all label tokens for each label provider (and their corresponding attribute/property names and English strings) can be found in the [Tokens/Label Providers section of Storybook](http://nimble.ni.dev/storybook/?path=/docs/tokens-label-providers--docs).
131
131
 
132
132
  ## Content Security Policy
133
133
 
134
134
  When using Nimble in an environment with a [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) enabled, the following are known required settings beyond "common" settings (such as the [OWASP Basic non-Strict CSP Policy](https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html#basic-non-strict-csp-policy)) for using Nimble:
135
135
 
136
- - `style-src 'unsafe-inline'` is [needed to support style patterns in the FAST library](https://github.com/microsoft/fast/issues/4510) leveraged by Nimble.
137
- - `worker-src blob:` is needed to support controls that leverage Web Workers (for example the Wafer Map).
136
+ - `style-src 'unsafe-inline'` is [needed to support style patterns in the FAST library](https://github.com/microsoft/fast/issues/4510) leveraged by Nimble.
137
+ - `worker-src blob:` is needed to support controls that leverage Web Workers (for example the Wafer Map).
138
138
 
139
139
  ## Accessibility
140
140