@ember-eui/core 16.0.0 → 16.0.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.
@@ -0,0 +1,9 @@
1
+ declare const _default: import("ember-modifier").FunctionBasedModifier<{
2
+ Args: {
3
+ Positional: [boolean];
4
+ Named: import("ember-modifier/-private/signature.js").EmptyObject;
5
+ };
6
+ Element: Element;
7
+ }>;
8
+ export default _default;
9
+ //# sourceMappingURL=open-collapsible-nav.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"open-collapsible-nav.d.ts","sourceRoot":"","sources":["../../src/modifiers/open-collapsible-nav.ts"],"names":[],"mappings":";;;;;;;AAIA,wBAuBG"}
@@ -1,5 +1,5 @@
1
1
  export declare const baseClass = "euiAvatar";
2
- export declare const VIS_COLORS: readonly string[];
2
+ export declare const VIS_COLORS: string[];
3
3
  export declare const sizeMapping: {
4
4
  s: string;
5
5
  m: string;
@@ -1 +1 @@
1
- {"version":3,"file":"eui-avatar.d.ts","sourceRoot":"","sources":["../../../src/utils/css-mappings/eui-avatar.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS,cAAc,CAAC;AACrC,eAAO,MAAM,UAAU,mBAAyB,CAAC;AAEjD,eAAO,MAAM,WAAW;;;;;CAKvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;CAGvB,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAQ,EACT,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,CAqCV;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,GAAG,OAAO,GAAG,IAAI,SAS7D,CAAC;AAcF,QAAA,MAAM,OAAO,EAAE,gBAOd,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"eui-avatar.d.ts","sourceRoot":"","sources":["../../../src/utils/css-mappings/eui-avatar.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS,cAAc,CAAC;AACrC,eAAO,MAAM,UAAU,UAAmC,CAAC;AAE3D,eAAO,MAAM,WAAW;;;;;CAKvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;CAGvB,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAQ,EACT,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,CAqCV;AAED,eAAO,MAAM,eAAe,UAAW,MAAM,GAAG,OAAO,GAAG,IAAI,SAS7D,CAAC;AAcF,QAAA,MAAM,OAAO,EAAE,gBAOd,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare const VIS_COLORS: readonly string[];
1
+ export declare const VIS_COLORS: string[];
2
2
  export declare const colorToHexMap: {
3
3
  default: string;
4
4
  primary: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"eui-badge.d.ts","sourceRoot":"","sources":["../../../src/utils/css-mappings/eui-badge.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU,mBAAyB,CAAC;AAEjD,eAAO,MAAM,aAAa;;;;;;;CAOzB,CAAC;AAEF,eAAO,MAAM,MAAM,yEAAwB,CAAC;AAE5C,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,aAAa,CAAC;AAE3D,MAAM,MAAM,SAAS,GAAG,iBAAiB,GAAG,MAAM,CAAC;AAEnD,eAAO,MAAM,SAAS,aAAa,CAAC;AAEpC,wBAAgB,YAAY,CAAC,EAC3B,UAAU,EACX,EAAE;IACD,UAAU,EAAE,SAAS,CAAC;CACvB,GAAG,OAAO,CAgBV;AAED,eAAO,MAAM,eAAe;;;CAG3B,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;CAOxB,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,gBAOd,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"eui-badge.d.ts","sourceRoot":"","sources":["../../../src/utils/css-mappings/eui-badge.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU,UAAmC,CAAC;AAE3D,eAAO,MAAM,aAAa;;;;;;;CAOzB,CAAC;AAEF,eAAO,MAAM,MAAM,yEAAwB,CAAC;AAE5C,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,aAAa,CAAC;AAE3D,MAAM,MAAM,SAAS,GAAG,iBAAiB,GAAG,MAAM,CAAC;AAEnD,eAAO,MAAM,SAAS,aAAa,CAAC;AAEpC,wBAAgB,YAAY,CAAC,EAC3B,UAAU,EACX,EAAE;IACD,UAAU,EAAE,SAAS,CAAC;CACvB,GAAG,OAAO,CAgBV;AAED,eAAO,MAAM,eAAe;;;CAG3B,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;CAOxB,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,gBAOd,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -3,9 +3,9 @@ export declare const disabledMapping: {
3
3
  true: string;
4
4
  };
5
5
  export declare const layoutAlignMapping: {
6
- center: string;
7
- top: string;
8
- bottom: string;
6
+ primary: string;
7
+ accent: string;
8
+ text: string;
9
9
  };
10
10
  export declare const sizeMapping: {
11
11
  s: string;
@@ -3,7 +3,6 @@ export declare const sizeMapping: {
3
3
  xs: string;
4
4
  s: string;
5
5
  m: string;
6
- relative: string;
7
6
  };
8
7
  declare const mapping: ComponentMapping;
9
8
  export default mapping;
@@ -1 +1 @@
1
- {"version":3,"file":"eui-text.d.ts","sourceRoot":"","sources":["../../../src/utils/css-mappings/eui-text.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,YAAY,CAAC;AAEnC,eAAO,MAAM,WAAW;;;;;CAKvB,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,gBAKd,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"eui-text.d.ts","sourceRoot":"","sources":["../../../src/utils/css-mappings/eui-text.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,YAAY,CAAC;AAEnC,eAAO,MAAM,WAAW;;;;CAIvB,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,gBAKd,CAAC;AAEF,eAAe,OAAO,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ember-eui/core",
3
- "version": "16.0.0",
3
+ "version": "16.0.1",
4
4
  "description": "Ember Components for Elastic UI",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -1,9 +0,0 @@
1
- declare const _default: import("ember-modifier").FunctionBasedModifier<{
2
- Args: {
3
- Positional: [rowId: string];
4
- Named: import("ember-modifier/-private/signature").EmptyObject;
5
- };
6
- Element: HTMLElement;
7
- }>;
8
- export default _default;
9
- //# sourceMappingURL=associate-form-row-label.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"associate-form-row-label.d.ts","sourceRoot":"","sources":["../../src/-private/associate-form-row-label.ts"],"names":[],"mappings":";;;;;;;AAgDA,wBAqBG"}
@@ -1,8 +0,0 @@
1
- /**
2
- * `euiPaletteColorBlindBehindText()` with its default options, which badges
3
- * and avatars color with. Computing it takes chroma-js, so the result is kept
4
- * here and those components load without it (a unit test keeps the two
5
- * equal).
6
- */
7
- export declare const VIS_COLORS_BEHIND_TEXT: readonly string[];
8
- //# sourceMappingURL=vis-colors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vis-colors.d.ts","sourceRoot":"","sources":["../../src/-private/vis-colors.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAAS,MAAM,EAWnD,CAAC"}
@@ -1,42 +0,0 @@
1
- /**
2
- * XOR for some properties applied to a type
3
- * (XOR is one of these but not both or neither)
4
- *
5
- * Usage: OneOf<typeToExtend, one | but | not | multiple | of | these | are | required>
6
- *
7
- * To require aria-label or aria-labelledby but not both
8
- * Example: OneOf<Type, 'aria-label' | 'aria-labelledby'>
9
- */
10
- export type OneOf<T, K extends keyof T> = Omit<T, K> & {
11
- [k in K]: Pick<Required<T>, k> & {
12
- [k1 in Exclude<K, k>]?: never;
13
- };
14
- }[K];
15
- export interface CommonArgs {
16
- id?: string;
17
- className?: string;
18
- 'aria-label'?: string;
19
- 'data-test-subj'?: string;
20
- }
21
- /**
22
- * Wraps Object.keys with proper typescript definition of the resulting array
23
- */
24
- export declare function keysOf<T extends Record<string, unknown>, K extends keyof T>(obj: T): K[];
25
- /**
26
- * Returns member keys in U not present in T set to never
27
- * T = { 'one', 'two', 'three' }
28
- * U = { 'three', 'four', 'five' }
29
- * returns { 'four': never, 'five': never }
30
- */
31
- export type DisambiguateSet<T, U> = {
32
- [P in Exclude<keyof T, keyof U>]?: never;
33
- };
34
- /**
35
- * Allow either T or U, preventing any additional keys of the other type from being present
36
- */
37
- export type ExclusiveUnion<T, U> = T | U extends Record<string, unknown> ? (DisambiguateSet<T, U> & U) | (DisambiguateSet<U, T> & T) : T | U;
38
- type UnionKeys<T> = T extends any ? keyof T : never;
39
- export type DistributivePick<T, K extends UnionKeys<T>> = T extends any ? Pick<T, Extract<keyof T, K>> : never;
40
- export type DistributiveOmit<T, K extends UnionKeys<T>> = T extends any ? Omit<T, Extract<keyof T, K>> : never;
41
- export {};
42
- //# sourceMappingURL=common.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/utils/common.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AACH,MAAM,MAAM,KAAK,CAAC,CAAC,EAAE,CAAC,SA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AC,CAAC,IAAI,CAAC,SAAS,GAAG,GACnE,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,GAC5B,KAAK,CAAC;AACV,MAAM,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,GACnE,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,GAC5B,KAAK,CAAC"}
@@ -1,14 +0,0 @@
1
- import type { CSSInterpolation } from '@emotion/css/create-instance';
2
- import type { EuiThemeContext } from '../emotion/context.ts';
3
- export interface EuiPanelSurfaceOptions {
4
- color: string;
5
- hasBorder: boolean;
6
- borderRadius: 'none' | 'm';
7
- grow: boolean;
8
- }
9
- /**
10
- * EuiPanel's surface (`paddingSize="none"`, no shadow) plus its scoped reset,
11
- * in upstream's order. Factories go through `useEuiBorealisStyles`.
12
- */
13
- export declare function euiPanelSurfaceCss(context: EuiThemeContext, { color, hasBorder, borderRadius, grow }: EuiPanelSurfaceOptions): CSSInterpolation[];
14
- //# sourceMappingURL=content-blocks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"content-blocks.d.ts","sourceRoot":"","sources":["../../../src/utils/eui/content-blocks.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAa,MAAM,8BAA8B,CAAC;AAChF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,MAAM,GAAG,GAAG,CAAC;IAC3B,IAAI,EAAE,OAAO,CAAC;CACf;AAcD;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,eAAe,EACxB,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE,sBAAsB,GAC/D,gBAAgB,EAAE,CAkBpB"}
@@ -1,11 +0,0 @@
1
- /**
2
- * How each `token*` icon is shown by EuiToken (from EUI): square shapes
3
- * for common types like string and number, circles for the rarer ones.
4
- */
5
- export interface TokenDisplay {
6
- shape: 'circle' | 'square' | 'rectangle';
7
- color: string;
8
- fill?: 'light' | 'dark' | 'none';
9
- }
10
- export declare const TOKEN_MAP: Record<string, TokenDisplay>;
11
- //# sourceMappingURL=token-map.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"token-map.d.ts","sourceRoot":"","sources":["../../src/utils/token-map.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,QAAQ,GAAG,QAAQ,GAAG,WAAW,CAAC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;CAClC;AAED,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAgNlD,CAAC"}