@descope-ui/common 0.0.8 → 0.0.10

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
@@ -2,6 +2,10 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.0.10](https://github.com/descope/web-components-ui/compare/@descope-ui/common-0.0.9...@descope-ui/common-0.0.10) (2025-04-16)
6
+
7
+ ## [0.0.9](https://github.com/descope/web-components-ui/compare/@descope-ui/common-0.0.8...@descope-ui/common-0.0.9) (2025-03-06)
8
+
5
9
  ## [0.0.8](https://github.com/descope/web-components-ui/compare/@descope-ui/common-0.0.7...@descope-ui/common-0.0.8) (2025-03-05)
6
10
 
7
11
  ## [0.0.7](https://github.com/descope/web-components-ui/compare/@descope-ui/common-0.0.6...@descope-ui/common-0.0.7) (2025-03-03)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope-ui/common",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "dependencies": {
5
5
  "element-internals-polyfill": "^1.3.9",
6
6
  "color": "^4.2.3",
@@ -22,6 +22,7 @@ const booleanAttributesList = [
22
22
  'has-no-options',
23
23
  'loading',
24
24
  'allow-custom-value',
25
+ 'collapsed',
25
26
  ];
26
27
 
27
28
  const isBooleanAttribute = (attr) => {
package/src/sbControls.js CHANGED
@@ -225,9 +225,16 @@ export const typographyVariantControl = {
225
225
  },
226
226
  };
227
227
 
228
+ export const overrideRendererControl = {
229
+ overrideRenderer: {
230
+ name: 'Override the default renderItem renderer function',
231
+ control: { type: 'boolean' },
232
+ },
233
+ };
234
+
228
235
  export const overrideRenderItemControl = {
229
236
  overrideRenderItem: {
230
- name: 'Override the default item renderer function',
237
+ name: 'Override the default renderItem',
231
238
  control: { type: 'boolean' },
232
239
  },
233
240
  };
@@ -237,12 +244,13 @@ export const itemsSourceControl = {
237
244
  name: 'Where to take the items from',
238
245
  control: {
239
246
  type: 'select',
240
- options: {
241
- Children: 'children',
242
- '"data" attribute': 'attr',
243
- '"data" property': 'prop',
247
+ labels: {
248
+ children: 'Children',
249
+ attr: '"data" attribute',
250
+ prop: '"data" property',
244
251
  },
245
252
  },
253
+ options: ['children', 'attr', 'prop'],
246
254
  },
247
255
  };
248
256