@orangelogic/design-system 2.85.0 → 2.88.0

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.85.0",
4
+ "version": "2.88.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -52,6 +52,8 @@ export default class Cx3dViewer extends CortexElement {
52
52
  /** Use WebGPU instead of WebGL for rendering (experimental) */
53
53
  useWebGPU: boolean;
54
54
  canViewAR: boolean;
55
+ /** Show the "Inspect in fullscreen" entry in the settings menu */
56
+ canUseInspector: boolean;
55
57
  /** Core controllers for different aspects of the 3D scene */
56
58
  private sceneController;
57
59
  private cameraController;
@@ -54,6 +54,8 @@ export default class Cx3dViewerConfig extends CortexElement {
54
54
  inspectorLoading: boolean;
55
55
  blobUrl: string;
56
56
  canViewAR: boolean;
57
+ /** Show the "Inspect in fullscreen" entry in the settings menu */
58
+ canUseInspector: boolean;
57
59
  private inspectButtonInteracted;
58
60
  private attributeObserver;
59
61
  private inspectorRequested;
@@ -58,6 +58,8 @@ export default class Cx3dViewerControl extends CortexElement {
58
58
  inspectorLoading: boolean;
59
59
  blobUrl: string;
60
60
  canViewAR: boolean;
61
+ /** Show the "Inspect in fullscreen" entry in the settings menu */
62
+ canUseInspector: boolean;
61
63
  private wasPlaying;
62
64
  private isDragging;
63
65
  constructor();
@@ -1,7 +1,7 @@
1
1
  import { ButtonVariant } from './button';
2
2
  import { FormatNumberCurrencyDisplay, FormatNumberType } from './format-number';
3
3
  import { PaginationCounter } from './pagination';
4
- import { SpacingProp } from './space';
4
+ import { SpaceJustifyContentProp, SpaceWrapProp, SpacingProp } from './space';
5
5
  import { TypographyVariant } from './typography';
6
6
 
7
7
  export type CxTableEventName = `cx-table.${string}`;
@@ -3141,19 +3141,25 @@ export type CompositeElement = {
3141
3141
  /**
3142
3142
  * @typedef {Object} CompositeFormatterParams
3143
3143
  * @property {('center' | 'end' | 'start' | 'stretch')} [align] - Alignment of elements. Can be `'start'`, `'center'` (default), `'end'`, or `'stretch'`.
3144
+ * @property {boolean} [block] - Whether the container should stretch child elements when vertical.
3144
3145
  * @property {Record<string, string>} [containerStyle] - Object with CSS style properties to apply inline to the container.
3145
3146
  * @property {('column' | 'row')} [direction] - Flex direction for the container. Can be `'column'` or `'row'` (default).
3146
3147
  * @property {CompositeElement[]} elements - Array of element configurations to render.
3147
3148
  * @property {string} [gap] - CSS gap property for spacing between elements (e.g., `'8px'`, `'0.5rem'`).
3149
+ * @property {('start' | 'end' | 'flex-start' | 'flex-end' | 'center' | 'left' | 'right' | 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch')} [justifyContent] - Justify-content behavior for the container.
3150
+ * @property {('nowrap' | 'wrap' | 'wrap-reverse')} [wrap] - Flex wrap behavior for the container.
3148
3151
  */
3149
3152
  export type CompositeFormatterParams = {
3150
3153
  align?: 'normal' | 'center' | 'start' | 'end' | 'baseline' | 'stretch' | 'flex-start' | 'flex-end';
3154
+ block?: boolean;
3151
3155
  containerStyle?: Record<string, string>;
3152
3156
  direction?: 'vertical' | 'horizontal';
3153
3157
  elements: CompositeElement[];
3154
3158
  gap?: SpacingProp;
3159
+ justifyContent?: SpaceJustifyContentProp;
3155
3160
  placeholder?: string;
3156
3161
  placeholderStyle?: Record<string, string>;
3162
+ wrap?: SpaceWrapProp;
3157
3163
  };
3158
3164
  export type TableDropdownFilterDataOption = {
3159
3165
  filter?: Filter;
@@ -5239,6 +5239,10 @@
5239
5239
  *
5240
5240
  */
5241
5241
  canViewAr?: boolean;
5242
+ /**
5243
+ * Show the "Inspect in fullscreen" entry in the settings menu
5244
+ */
5245
+ canUseInspector?: boolean;
5242
5246
  /**
5243
5247
  * Make localization attributes reactive eslint-disable-next-line lit/no-native-attributes
5244
5248
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.85.0",
4
+ "version": "2.88.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {