@orangelogic/design-system 2.86.0 → 2.89.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.
- package/library/chunks/{color-swatch-group.DPGjdQIL.js → color-swatch-group.BaMEIlzq.js} +1 -1
- package/library/chunks/{list-editor.DnLRd7ks.js → list-editor.DsI3-bUG.js} +1 -1
- package/library/chunks/{table.vctaA5cg.js → table.CGTmaN_x.js} +1887 -1879
- package/library/components/asset-link-format.js +151 -138
- package/library/components/atoms.js +1 -1
- package/library/components/color-swatch-group.js +2 -2
- package/library/components/drawer.js +55 -50
- package/library/components/list-editor.js +2 -2
- package/library/components/menu.js +25 -24
- package/library/components/molecules.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/select.js +17 -17
- package/library/components/table.js +1 -1
- package/library/components/types.js +4 -4
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/drawer/drawer.d.ts +1 -0
- package/library/packages/atoms/src/components/menu/menu.d.ts +2 -1
- package/library/packages/types/src/menu.d.ts +4 -0
- package/library/packages/types/src/table.d.ts +7 -1
- package/library/react-web-component.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as CortexElement } from '../../../../base/src/cortex-element.ts';
|
|
2
|
+
import { MenuMode } from '../../../../types/src/menu';
|
|
2
3
|
import { CSSResultGroup } from 'lit';
|
|
3
4
|
import { default as CxMenuItem } from '../menu-item/menu-item';
|
|
4
5
|
|
|
@@ -23,7 +24,7 @@ export default class CxMenu extends CortexElement {
|
|
|
23
24
|
defaultSlot: HTMLSlotElement;
|
|
24
25
|
horizontal: boolean;
|
|
25
26
|
/** The menu's variant */
|
|
26
|
-
variant:
|
|
27
|
+
variant: MenuMode.Default | MenuMode.Multiple;
|
|
27
28
|
/** Whether the menu is currently active, used for 'multiple' variant */
|
|
28
29
|
active: boolean;
|
|
29
30
|
/** The name of the menu, used for 'multiple' variant */
|
|
@@ -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;
|
|
@@ -5004,7 +5004,7 @@
|
|
|
5004
5004
|
/**
|
|
5005
5005
|
* The selection behavior of the tree. Single selection allows only one node to be selected at a time. Multiple displays checkboxes and allows more than one node to be selected. Leaf allows only leaf nodes to be selected.
|
|
5006
5006
|
*/
|
|
5007
|
-
selection?: '
|
|
5007
|
+
selection?: 'single' | 'multiple' | 'leaf';
|
|
5008
5008
|
/**
|
|
5009
5009
|
* Whether to automatically expand after loading finishes.
|
|
5010
5010
|
*/
|
|
@@ -6016,7 +6016,7 @@
|
|
|
6016
6016
|
/**
|
|
6017
6017
|
*
|
|
6018
6018
|
*/
|
|
6019
|
-
selection?: '
|
|
6019
|
+
selection?: 'single' | 'multiple';
|
|
6020
6020
|
/**
|
|
6021
6021
|
*
|
|
6022
6022
|
*/
|