@sebgroup/green-core 2.0.1 → 2.0.2

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,12 +1,14 @@
1
1
  import "../../chunks/chunk.QU3DSPNU.js";
2
2
  import * as Listbox from "../../primitives/listbox/listbox.trans.styles.js";
3
3
  import { TransitionalStyles } from "../../utils/transitional-styles/transitional-styles.js";
4
+ import * as Button from "../button/button.trans.styles.js";
4
5
  import * as Popover from "../popover/popover.trans.styles.js";
5
6
  import styles from "./context-menu.trans.styles.scss.js";
6
7
  function register() {
7
8
  TransitionalStyles.instance.register("gds-context-menu", styles.toString());
8
9
  Popover.register();
9
10
  Listbox.register();
11
+ Button.register();
10
12
  }
11
13
  var context_menu_trans_styles_default = register;
12
14
  export {
@@ -3,42 +3,42 @@ const ICON_REPLACEMENTS = {
3
3
  seb: "gds-icon-brand-seb"
4
4
  };
5
5
  const DEPRECATED_NAMES = [
6
- "square-plus",
7
- "square-minus",
8
- "square-x",
9
- "square-check",
10
- "todos",
11
- "square-info",
12
- "bubble-text",
13
- "bubble-dots",
14
- "bubble-wide-annotation",
6
+ "arrows-repeat",
15
7
  "bubble",
8
+ "bubble-dots",
16
9
  "bubble-question",
17
10
  "bubble-quotes",
18
- "unlocked",
11
+ "bubble-text",
12
+ "bubble-wide-annotation",
13
+ "cain-link",
14
+ "charging-station",
15
+ "chart-one",
16
+ "chart-presentation",
17
+ "circles-three",
18
+ "flag",
19
+ "focus-square",
20
+ "folder-paper",
19
21
  "folder-upload",
20
- "arrows-repeat",
21
- "suitcase-work",
22
- "pencel-line",
22
+ "heart-beat",
23
23
  "invite",
24
- "settings-slider-ver",
25
- "settings-slider-three",
24
+ "light-bulb",
25
+ "maintenance",
26
26
  "page-text",
27
+ "pencel-line",
27
28
  "phone-dynamic-island",
28
- "flag",
29
- "chart-one",
30
- "chart-presentation",
31
- "vertical-alignment-right",
32
- "folder-paper",
29
+ "settings-slider-three",
30
+ "settings-slider-ver",
33
31
  "solar-panel",
34
- "light-bulb",
35
- "heart-beat",
36
- "circles-three",
37
- "charging-station",
32
+ "square-check",
38
33
  "square-grid-circle",
39
- "focus-square",
40
- "maintenance",
41
- "cain-link"
34
+ "square-info",
35
+ "square-minus",
36
+ "square-plus",
37
+ "square-x",
38
+ "suitcase-work",
39
+ "todos",
40
+ "unlocked",
41
+ "vertical-alignment-right"
42
42
  ];
43
43
  const deprecatedIcons = Object.fromEntries([
44
44
  ...Object.entries(ICON_REPLACEMENTS).map(([name, replacement]) => [
@@ -6,9 +6,9 @@ import { GdsIcon } from "../icon.js";
6
6
  let IconFocus = class extends GdsIcon {
7
7
  };
8
8
  /** @private */
9
- IconFocus._regularSVG = `<path d="M8.25 3.75H3.75V8.25M15.75 3.75H20.25V8.25M20.25 15.75V20.25H15.75M8.25 20.25H3.75V15.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>`;
9
+ IconFocus._regularSVG = `<path d="M3.75 8V3.75H8M3.75 16V20.25H8M16 3.75H20.25V8M20.25 16V20.25H16M15.25 12C15.25 13.7949 13.7949 15.25 12 15.25C10.2051 15.25 8.75 13.7949 8.75 12C8.75 10.2051 10.2051 8.75 12 8.75C13.7949 8.75 15.25 10.2051 15.25 12Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>`;
10
10
  /** @private */
11
- IconFocus._solidSVG = `<path fill-rule="evenodd" clip-rule="evenodd" d="M3 3.75C3 3.33579 3.33579 3 3.75 3H8.25C8.66421 3 9 3.33579 9 3.75C9 4.16421 8.66421 4.5 8.25 4.5H4.5V8.25C4.5 8.66421 4.16421 9 3.75 9C3.33579 9 3 8.66421 3 8.25V3.75ZM15 3.75C15 3.33579 15.3358 3 15.75 3H20.25C20.6642 3 21 3.33579 21 3.75V8.25C21 8.66421 20.6642 9 20.25 9C19.8358 9 19.5 8.66421 19.5 8.25V4.5H15.75C15.3358 4.5 15 4.16421 15 3.75ZM3.75 15C4.16421 15 4.5 15.3358 4.5 15.75V19.5H8.25C8.66421 19.5 9 19.8358 9 20.25C9 20.6642 8.66421 21 8.25 21H3.75C3.33579 21 3 20.6642 3 20.25V15.75C3 15.3358 3.33579 15 3.75 15ZM20.25 15C20.6642 15 21 15.3358 21 15.75V20.25C21 20.6642 20.6642 21 20.25 21H15.75C15.3358 21 15 20.6642 15 20.25C15 19.8358 15.3358 19.5 15.75 19.5H19.5V15.75C19.5 15.3358 19.8358 15 20.25 15Z" fill="currentColor"/>`;
11
+ IconFocus._solidSVG = `<path d="M3 3.75C3 3.33579 3.33579 3 3.75 3H8C8.41421 3 8.75 3.33579 8.75 3.75C8.75 4.16421 8.41421 4.5 8 4.5H4.5V8C4.5 8.41421 4.16421 8.75 3.75 8.75C3.33579 8.75 3 8.41421 3 8V3.75Z" fill="currentColor"/><path d="M15.25 3.75C15.25 3.33579 15.5858 3 16 3H20.25C20.6642 3 21 3.33579 21 3.75V8C21 8.41421 20.6642 8.75 20.25 8.75C19.8358 8.75 19.5 8.41421 19.5 8V4.5H16C15.5858 4.5 15.25 4.16421 15.25 3.75Z" fill="currentColor"/><path d="M3.75 15.25C4.16421 15.25 4.5 15.5858 4.5 16V19.5H8C8.41421 19.5 8.75 19.8358 8.75 20.25C8.75 20.6642 8.41421 21 8 21H3.75C3.33579 21 3 20.6642 3 20.25V16C3 15.5858 3.33579 15.25 3.75 15.25Z" fill="currentColor"/><path d="M20.25 15.25C20.6642 15.25 21 15.5858 21 16V20.25C21 20.6642 20.6642 21 20.25 21H16C15.5858 21 15.25 20.6642 15.25 20.25C15.25 19.8358 15.5858 19.5 16 19.5H19.5V16C19.5 15.5858 19.8358 15.25 20.25 15.25Z" fill="currentColor"/><path d="M12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8Z" fill="currentColor"/>`;
12
12
  /** @private */
13
13
  IconFocus._name = "focus";
14
14
  /** @private */
@@ -1,5 +1,5 @@
1
- export * from './alert/index.js';
2
1
  export * from './badge/index.js';
2
+ export * from './alert/index.js';
3
3
  export * from './blur/index.js';
4
4
  export * from './breadcrumbs/index.js';
5
5
  export * from './button/index.js';
@@ -49,9 +49,6 @@ export * from './filter-chip/index.js';
49
49
  export * from './formatted-account/index.js';
50
50
  export * from './formatted-date/index.js';
51
51
  export * from './formatted-number/index.js';
52
- export * from './radio-group/index.js';
53
- export * from './segment/index.js';
54
- export * from './sensitive-account/index.js';
55
52
  export * from './icons/icon-ai/index.js';
56
53
  export * from './icons/icon-airplane-up/index.js';
57
54
  export * from './icons/icon-archive/index.js';
@@ -344,5 +341,8 @@ export * from './icons/icon-youtube/index.js';
344
341
  export * from './icons/icon-zap/index.js';
345
342
  export * from './icons/icon-zoom-in/index.js';
346
343
  export * from './icons/icon-zoom-out/index.js';
344
+ export * from './radio-group/index.js';
345
+ export * from './segment/index.js';
346
+ export * from './sensitive-account/index.js';
347
347
  export * from './sensitive-date/index.js';
348
348
  export * from './sensitive-number/index.js';
@@ -1,5 +1,5 @@
1
- export * from "./alert/index.js";
2
1
  export * from "./badge/index.js";
2
+ export * from "./alert/index.js";
3
3
  export * from "./blur/index.js";
4
4
  export * from "./breadcrumbs/index.js";
5
5
  export * from "./button/index.js";
@@ -49,9 +49,6 @@ export * from "./filter-chip/index.js";
49
49
  export * from "./formatted-account/index.js";
50
50
  export * from "./formatted-date/index.js";
51
51
  export * from "./formatted-number/index.js";
52
- export * from "./radio-group/index.js";
53
- export * from "./segment/index.js";
54
- export * from "./sensitive-account/index.js";
55
52
  export * from "./icons/icon-ai/index.js";
56
53
  export * from "./icons/icon-airplane-up/index.js";
57
54
  export * from "./icons/icon-archive/index.js";
@@ -344,5 +341,8 @@ export * from "./icons/icon-youtube/index.js";
344
341
  export * from "./icons/icon-zap/index.js";
345
342
  export * from "./icons/icon-zoom-in/index.js";
346
343
  export * from "./icons/icon-zoom-out/index.js";
344
+ export * from "./radio-group/index.js";
345
+ export * from "./segment/index.js";
346
+ export * from "./sensitive-account/index.js";
347
347
  export * from "./sensitive-date/index.js";
348
348
  export * from "./sensitive-number/index.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sebgroup/green-core",
3
3
  "description": "A carefully crafted set of Web Components, laying the foundation of the Green Design System.",
4
- "version": "2.0.1",
4
+ "version": "2.0.2",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  import "../../chunks/chunk.QU3DSPNU.js";
2
2
  import { html as litHtml } from "lit";
3
- const VER_SUFFIX = "-a49bfe";
3
+ const VER_SUFFIX = "-bc423d";
4
4
  class ScopedElementRegistry {
5
5
  static get instance() {
6
6
  if (!globalThis.__gdsElementLookupTable?.[VER_SUFFIX])