@ds-mo/ui 1.0.2 → 1.2.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/README.md +0 -1
- package/dist/components/ds-bar-nav-action.js +1 -1
- package/dist/components/ds-bar-nav.js +1 -1
- package/dist/components/ds-bar-nav.js.map +1 -1
- package/dist/components/ds-breadcrumb.js +1 -1
- package/dist/components/ds-button-group.js +1 -1
- package/dist/components/ds-button.js +1 -1
- package/dist/components/ds-card.js +1 -1
- package/dist/components/ds-card.js.map +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-divider.js +1 -1
- package/dist/components/ds-divider.js.map +1 -1
- package/dist/components/ds-empty-state.js +1 -1
- package/dist/components/ds-empty-state.js.map +1 -1
- package/dist/components/ds-fade.js +1 -1
- package/dist/components/ds-field.js +1 -1
- package/dist/components/ds-header.js +1 -1
- package/dist/components/ds-header.js.map +1 -1
- package/dist/components/ds-icon.js +1 -1
- package/dist/components/ds-input.js +1 -1
- package/dist/components/ds-menu.js +1 -1
- package/dist/components/ds-panel-nav.js +1 -1
- package/dist/components/ds-select.js +1 -1
- package/dist/components/ds-slider.js +1 -1
- package/dist/components/{ds-label-wrap.d.ts → ds-tab-group-nav.d.ts} +4 -4
- package/dist/components/ds-tab-group-nav.js +2 -0
- package/dist/components/ds-tab-group-nav.js.map +1 -0
- package/dist/components/ds-tab-group.js +1 -1
- package/dist/components/ds-tab-group.js.map +1 -1
- package/dist/components/ds-table.js +1 -1
- package/dist/components/ds-table.js.map +1 -1
- package/dist/components/ds-tag.js +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/ds-toast-provider.js +1 -1
- package/dist/components/ds-toggle-button-group.js +1 -1
- package/dist/components/ds-toggle-button.js +1 -1
- package/dist/components/ds-toggle.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/p-BQq26pt9.js +2 -0
- package/dist/components/p-BQq26pt9.js.map +1 -0
- package/dist/components/{p-DouEVPmi.js → p-CE5zeV1w.js} +2 -2
- package/dist/components/{p-D3CwGoIu.js → p-COsKOwZR.js} +2 -2
- package/dist/components/p-CQQe6VNo.js +2 -0
- package/dist/components/p-CQQe6VNo.js.map +1 -0
- package/dist/components/p-Cj00JkJb.js +2 -0
- package/dist/components/p-Cj00JkJb.js.map +1 -0
- package/dist/components/p-CpbnmEu1.js +2 -0
- package/dist/components/p-CpbnmEu1.js.map +1 -0
- package/dist/components/{p-BvxKLqNx.js → p-H89PzqGU.js} +2 -2
- package/dist/components/{p-BYe8Rfdg.js → p-Vwlmhl4E.js} +2 -2
- package/dist/types/.stencil/BarNav/BarNav.d.ts +7 -2
- package/dist/types/.stencil/BarNav/bar-nav-dom-utils.d.ts +1 -2
- package/dist/types/.stencil/Divider/Divider.d.ts +14 -0
- package/dist/types/.stencil/TabGroupNav/TabGroupNav.d.ts +27 -0
- package/dist/types/.stencil/Text/Text.d.ts +2 -0
- package/dist/types/components.d.ts +125 -63
- package/package.json +37 -7
- package/src/angular/index.ts +1 -1
- package/src/angular/proxies.ts +32 -27
- package/src/react/components.ts +45 -0
- package/src/react/ds-accordion.ts +27 -0
- package/src/react/ds-badge.ts +26 -0
- package/src/react/ds-banner.ts +27 -0
- package/src/react/ds-bar-nav-action.ts +27 -0
- package/src/react/ds-bar-nav.ts +33 -0
- package/src/react/ds-breadcrumb.ts +27 -0
- package/src/react/ds-button-group.ts +27 -0
- package/src/react/ds-button.ts +35 -0
- package/src/react/ds-card.ts +26 -0
- package/src/react/ds-checkbox.ts +27 -0
- package/src/react/ds-divider.ts +26 -0
- package/src/react/ds-empty-state.ts +26 -0
- package/src/react/ds-fade.ts +26 -0
- package/src/react/ds-field.ts +26 -0
- package/src/react/ds-header.ts +26 -0
- package/src/react/ds-icon.ts +26 -0
- package/src/react/ds-input.ts +33 -0
- package/src/react/ds-loader.ts +26 -0
- package/src/react/ds-menu.ts +33 -0
- package/src/react/ds-modal.ts +27 -0
- package/src/react/ds-pagination.ts +27 -0
- package/src/react/ds-panel-nav.ts +37 -0
- package/src/react/ds-radio-group.ts +27 -0
- package/src/react/ds-scrollbar.ts +26 -0
- package/src/react/ds-select.ts +27 -0
- package/src/react/ds-sidebar.ts +33 -0
- package/src/react/ds-skeleton.ts +26 -0
- package/src/react/ds-slider.ts +27 -0
- package/src/react/ds-surface.ts +26 -0
- package/src/react/ds-tab-group-nav.ts +27 -0
- package/src/react/ds-tab-group.ts +27 -0
- package/src/react/ds-table.ts +35 -0
- package/src/react/ds-tag.ts +35 -0
- package/src/react/ds-text.ts +26 -0
- package/src/react/ds-toast-provider.ts +26 -0
- package/src/react/ds-toggle-button-group.ts +27 -0
- package/src/react/ds-toggle-button.ts +27 -0
- package/src/react/ds-toggle.ts +27 -0
- package/src/react/ds-tooltip.ts +26 -0
- package/src/wc/components/Accordion/Accordion.tsx +144 -0
- package/src/wc/components/Badge/Badge.tsx +34 -0
- package/src/wc/components/Badge/index.ts +1 -0
- package/src/wc/components/Banner/Banner.tsx +148 -0
- package/src/wc/components/BarNav/BarNav.tsx +605 -0
- package/src/wc/components/BarNav/bar-nav-dom-utils.ts +23 -0
- package/src/wc/components/BarNav/bar-nav-tabs-menu-utils.ts +59 -0
- package/src/wc/components/BarNav/bar-nav-utils.ts +76 -0
- package/src/wc/components/BarNav/index.ts +1 -0
- package/src/wc/components/BarNavAction/BarNavAction.tsx +67 -0
- package/src/wc/components/BarNavAction/index.ts +1 -0
- package/src/wc/components/Breadcrumb/Breadcrumb.tsx +61 -0
- package/src/wc/components/Button/Button.tsx +158 -0
- package/src/wc/components/Button/index.ts +1 -0
- package/src/wc/components/ButtonGroup/ButtonGroup.tsx +110 -0
- package/src/wc/components/Card/Card.tsx +26 -0
- package/src/wc/components/Checkbox/Checkbox.tsx +60 -0
- package/src/wc/components/Checkbox/index.ts +1 -0
- package/src/wc/components/Divider/Divider.tsx +107 -0
- package/src/wc/components/Divider/index.ts +2 -0
- package/src/wc/components/EmptyState/EmptyState.tsx +32 -0
- package/src/wc/components/Fade/Fade.tsx +32 -0
- package/src/wc/components/Fade/index.ts +1 -0
- package/src/wc/components/Field/Field.tsx +28 -0
- package/src/wc/components/Header/Header.tsx +33 -0
- package/src/wc/components/Icon/Icon.tsx +112 -0
- package/src/wc/components/Icon/flag-icon-catalog.ts +68 -0
- package/src/wc/components/Icon/index.ts +1 -0
- package/src/wc/components/Icon/system-icon-catalog.ts +798 -0
- package/src/wc/components/Input/Input.tsx +100 -0
- package/src/wc/components/Input/index.ts +1 -0
- package/src/wc/components/Loader/Loader.tsx +47 -0
- package/src/wc/components/Loader/index.ts +1 -0
- package/src/wc/components/Menu/Menu.tsx +340 -0
- package/src/wc/components/Modal/Modal.tsx +197 -0
- package/src/wc/components/Pagination/Pagination.tsx +97 -0
- package/src/wc/components/PanelNav/PanelNav.tsx +666 -0
- package/src/wc/components/PanelNav/index.ts +7 -0
- package/src/wc/components/PanelNav/panel-nav-utils.ts +124 -0
- package/src/wc/components/RadioGroup/RadioGroup.tsx +128 -0
- package/src/wc/components/RadioGroup/index.ts +1 -0
- package/src/wc/components/Scrollbar/Scrollbar.tsx +189 -0
- package/src/wc/components/Select/Select.tsx +195 -0
- package/src/wc/components/Sidebar/Sidebar.tsx +245 -0
- package/src/wc/components/Skeleton/Skeleton.tsx +64 -0
- package/src/wc/components/Skeleton/index.ts +1 -0
- package/src/wc/components/Slider/Slider.tsx +68 -0
- package/src/wc/components/Slider/index.ts +1 -0
- package/src/wc/components/Surface/Surface.tsx +81 -0
- package/src/wc/components/TabGroup/TabGroup.tsx +188 -0
- package/src/wc/components/TabGroup/tab-item-utils.ts +24 -0
- package/src/wc/components/TabGroupNav/TabGroupNav.tsx +188 -0
- package/src/wc/components/Table/Table.tsx +268 -0
- package/src/wc/components/Tag/Tag.tsx +135 -0
- package/src/wc/components/Tag/index.ts +1 -0
- package/src/wc/components/Text/Text.tsx +103 -0
- package/src/wc/components/Text/index.ts +1 -0
- package/src/wc/components/Toast/Toast.tsx +174 -0
- package/src/wc/components/Toast/toast-service.ts +60 -0
- package/src/wc/components/Toggle/Toggle.tsx +43 -0
- package/src/wc/components/Toggle/index.ts +1 -0
- package/src/wc/components/ToggleButton/ToggleButton.tsx +120 -0
- package/src/wc/components/ToggleButtonGroup/ToggleButtonGroup.tsx +118 -0
- package/src/wc/components/Tooltip/Tooltip.tsx +196 -0
- package/src/wc/components.d.ts +3022 -0
- package/dist/components/ds-label-wrap.js +0 -2
- package/dist/components/ds-label-wrap.js.map +0 -1
- package/dist/components/p-C4p1fG67.js +0 -2
- package/dist/components/p-C4p1fG67.js.map +0 -1
- package/dist/components/p-DV8pmt1m.js +0 -2
- package/dist/components/p-DV8pmt1m.js.map +0 -1
- package/dist/components/p-STnE_bmQ.js +0 -2
- package/dist/components/p-STnE_bmQ.js.map +0 -1
- package/dist/types/.stencil/LabelWrap/LabelWrap.d.ts +0 -15
- /package/dist/components/{p-DouEVPmi.js.map → p-CE5zeV1w.js.map} +0 -0
- /package/dist/components/{p-D3CwGoIu.js.map → p-COsKOwZR.js.map} +0 -0
- /package/dist/components/{p-BvxKLqNx.js.map → p-H89PzqGU.js.map} +0 -0
- /package/dist/components/{p-BYe8Rfdg.js.map → p-Vwlmhl4E.js.map} +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Component, Prop, h, Host } from '@stencil/core';
|
|
2
|
+
|
|
3
|
+
export type EmptyStateType = 'no-content' | 'no-results' | 'no-results-filter' | 'no-access';
|
|
4
|
+
|
|
5
|
+
const DEFAULT_MESSAGES: Record<EmptyStateType, string> = {
|
|
6
|
+
'no-content': 'No page contents to display.',
|
|
7
|
+
'no-results': 'No results found.',
|
|
8
|
+
'no-results-filter': 'No results found. Please update search criteria.',
|
|
9
|
+
'no-access': "You don't have access to this page.",
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
@Component({
|
|
13
|
+
tag: 'ds-empty-state',
|
|
14
|
+
styleUrl: 'EmptyState.css',
|
|
15
|
+
scoped: true,
|
|
16
|
+
})
|
|
17
|
+
export class EmptyState {
|
|
18
|
+
@Prop() type: EmptyStateType = 'no-content';
|
|
19
|
+
@Prop() message: string | undefined;
|
|
20
|
+
|
|
21
|
+
render() {
|
|
22
|
+
return (
|
|
23
|
+
<Host>
|
|
24
|
+
<div class="empty-state">
|
|
25
|
+
<p class="text-body-medium" style={{ color: 'var(--color-foreground-secondary)' }}>
|
|
26
|
+
{this.message || DEFAULT_MESSAGES[this.type]}
|
|
27
|
+
</p>
|
|
28
|
+
</div>
|
|
29
|
+
</Host>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Component, Prop, h, Host } from '@stencil/core';
|
|
2
|
+
|
|
3
|
+
export type FadeSide = 'top' | 'bottom' | 'left' | 'right';
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
tag: 'ds-fade',
|
|
7
|
+
styleUrl: 'Fade.css',
|
|
8
|
+
shadow: true,
|
|
9
|
+
})
|
|
10
|
+
export class Fade {
|
|
11
|
+
@Prop() side!: FadeSide;
|
|
12
|
+
/** Height (or width for left/right) of the fade overlay — any CSS value. */
|
|
13
|
+
@Prop() height: string | undefined;
|
|
14
|
+
/** Background color to fade from. Defaults to var(--color-background-secondary). */
|
|
15
|
+
@Prop() background: string = 'var(--color-background-secondary)';
|
|
16
|
+
|
|
17
|
+
render() {
|
|
18
|
+
return (
|
|
19
|
+
<Host
|
|
20
|
+
aria-hidden="true"
|
|
21
|
+
class={{
|
|
22
|
+
fade: true,
|
|
23
|
+
[`fade--${this.side}`]: true,
|
|
24
|
+
}}
|
|
25
|
+
style={{
|
|
26
|
+
height: this.height,
|
|
27
|
+
'--ds-fade-bg': this.background,
|
|
28
|
+
} as Record<string, string>}
|
|
29
|
+
/>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { FadeSide } from './Fade';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Component, Prop, h, Host } from '@stencil/core';
|
|
2
|
+
|
|
3
|
+
let fieldCounter = 0;
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
tag: 'ds-field',
|
|
7
|
+
styleUrl: 'Field.css',
|
|
8
|
+
scoped: true,
|
|
9
|
+
})
|
|
10
|
+
export class Field {
|
|
11
|
+
@Prop() label!: string;
|
|
12
|
+
/** ID forwarded to the slotted control via the label's `for` attribute. Auto-generated if omitted. */
|
|
13
|
+
@Prop() fieldId: string | undefined;
|
|
14
|
+
|
|
15
|
+
private resolvedId = `ds-field-${++fieldCounter}`;
|
|
16
|
+
|
|
17
|
+
render() {
|
|
18
|
+
const id = this.fieldId || this.resolvedId;
|
|
19
|
+
return (
|
|
20
|
+
<Host>
|
|
21
|
+
<div class="field">
|
|
22
|
+
<label class="text-body-small-emphasis field__label" htmlFor={id}>{this.label}</label>
|
|
23
|
+
<slot />
|
|
24
|
+
</div>
|
|
25
|
+
</Host>
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Component, Prop, h, Host } from '@stencil/core';
|
|
2
|
+
|
|
3
|
+
export type HeaderBackground = 'primary' | 'secondary' | 'transparent' | 'translucent';
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
tag: 'ds-header',
|
|
7
|
+
styleUrl: 'Header.css',
|
|
8
|
+
scoped: true,
|
|
9
|
+
})
|
|
10
|
+
export class Header {
|
|
11
|
+
@Prop() heading: string | undefined;
|
|
12
|
+
@Prop() background: HeaderBackground = 'secondary';
|
|
13
|
+
|
|
14
|
+
render() {
|
|
15
|
+
return (
|
|
16
|
+
<Host
|
|
17
|
+
class={{ header: true, [`bg-${this.background}`]: true }}
|
|
18
|
+
role="banner"
|
|
19
|
+
>
|
|
20
|
+
<div class="left">
|
|
21
|
+
<slot name="left" />
|
|
22
|
+
{this.heading && <span class="title text-title-small">{this.heading}</span>}
|
|
23
|
+
</div>
|
|
24
|
+
<div class="center">
|
|
25
|
+
<slot name="center" />
|
|
26
|
+
</div>
|
|
27
|
+
<div class="right">
|
|
28
|
+
<slot name="right" />
|
|
29
|
+
</div>
|
|
30
|
+
</Host>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Component, Prop, Element, Watch, h, Host } from '@stencil/core';
|
|
2
|
+
import { flagIconCatalog } from './flag-icon-catalog';
|
|
3
|
+
import { systemIconCatalog } from './system-icon-catalog';
|
|
4
|
+
|
|
5
|
+
export type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
6
|
+
|
|
7
|
+
export type IconColorToken =
|
|
8
|
+
// Hierarchy
|
|
9
|
+
| 'primary' | 'secondary' | 'tertiary' | 'quaternary'
|
|
10
|
+
// Intent — bold contrast (default)
|
|
11
|
+
| 'brand' | 'negative' | 'positive' | 'warning' | 'caution' | 'ai' | 'guide' | 'neutral'
|
|
12
|
+
// Intent — faint
|
|
13
|
+
| 'faint-brand' | 'faint-negative' | 'faint-positive' | 'faint-warning'
|
|
14
|
+
| 'faint-caution' | 'faint-ai' | 'faint-neutral'
|
|
15
|
+
// Intent — medium
|
|
16
|
+
| 'medium-brand' | 'medium-negative' | 'medium-positive' | 'medium-warning'
|
|
17
|
+
| 'medium-caution' | 'medium-ai' | 'medium-neutral'
|
|
18
|
+
// Intent — bold (explicit)
|
|
19
|
+
| 'bold-brand' | 'bold-negative' | 'bold-positive' | 'bold-warning'
|
|
20
|
+
| 'bold-caution' | 'bold-ai' | 'bold-neutral'
|
|
21
|
+
// Intent — strong
|
|
22
|
+
| 'strong-brand' | 'strong-negative' | 'strong-positive' | 'strong-warning'
|
|
23
|
+
| 'strong-caution' | 'strong-ai' | 'strong-neutral'
|
|
24
|
+
// Contextual
|
|
25
|
+
| 'on-strong' | 'on-bold'
|
|
26
|
+
// Pass-through
|
|
27
|
+
| 'inherit';
|
|
28
|
+
|
|
29
|
+
export type IconColor = IconColorToken | `var(--${string})`;
|
|
30
|
+
|
|
31
|
+
@Component({
|
|
32
|
+
tag: 'ds-icon',
|
|
33
|
+
styleUrl: 'Icon.css',
|
|
34
|
+
scoped: true,
|
|
35
|
+
})
|
|
36
|
+
export class Icon {
|
|
37
|
+
@Element() el!: HTMLElement;
|
|
38
|
+
|
|
39
|
+
/** Name of the system icon (e.g. `"Gear"`, `"ArrowRight"`) or flag (e.g. `"US"`) */
|
|
40
|
+
@Prop() name: string = '';
|
|
41
|
+
/** Iconography size token. Maps to `--dimension-iconography-{size}`. Default `md` = 20 px. */
|
|
42
|
+
@Prop() size: IconSize = 'md';
|
|
43
|
+
/** Semantic foreground color token, or a raw CSS var reference. */
|
|
44
|
+
@Prop() color: IconColor | undefined;
|
|
45
|
+
/** Accessible label. Sets `role="img"` and `aria-label`. Omit for decorative icons. */
|
|
46
|
+
@Prop() label: string | undefined;
|
|
47
|
+
/** Set `true` to look up from the flag icon set instead of the system icon set. */
|
|
48
|
+
@Prop() flag: boolean = false;
|
|
49
|
+
|
|
50
|
+
private get svgString(): string {
|
|
51
|
+
const source = this.flag ? flagIconCatalog : systemIconCatalog;
|
|
52
|
+
return source[this.name] ?? '';
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
private updateSvg() {
|
|
56
|
+
const container = this.el.querySelector<HTMLElement>('.icon__svg');
|
|
57
|
+
if (!container) return;
|
|
58
|
+
container.innerHTML = this.svgString;
|
|
59
|
+
// Stencil's scoped CSS cannot reach innerHTML-injected elements (no sc-* class).
|
|
60
|
+
// Apply width/height as inline styles so sizing works regardless of scope class.
|
|
61
|
+
const svg = container.querySelector<SVGElement>('svg');
|
|
62
|
+
if (svg) {
|
|
63
|
+
svg.removeAttribute('width');
|
|
64
|
+
svg.removeAttribute('height');
|
|
65
|
+
// Prevent SVG from being natively focusable (Firefox/IE default) while
|
|
66
|
+
// sitting inside an aria-hidden parent — fixes aria-hidden-focus violation.
|
|
67
|
+
svg.setAttribute('focusable', 'false');
|
|
68
|
+
svg.setAttribute('aria-hidden', 'true');
|
|
69
|
+
svg.style.display = 'block';
|
|
70
|
+
svg.style.flexShrink = '0';
|
|
71
|
+
svg.style.width = '100%';
|
|
72
|
+
svg.style.height = '100%';
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@Watch('name')
|
|
77
|
+
@Watch('flag')
|
|
78
|
+
onIconChange() {
|
|
79
|
+
this.updateSvg();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
componentDidRender() {
|
|
83
|
+
this.updateSvg();
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
render() {
|
|
87
|
+
const isCustomColor = typeof this.color === 'string' && this.color.startsWith('var(--');
|
|
88
|
+
|
|
89
|
+
const cls: Record<string, boolean> = {
|
|
90
|
+
icon: true,
|
|
91
|
+
[`icon--size-${this.size}`]: true,
|
|
92
|
+
[`icon--color-${this.color}`]: !!this.color && !isCustomColor && this.color !== 'inherit',
|
|
93
|
+
'icon--color-inherit': this.color === 'inherit',
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
const style = isCustomColor ? { color: this.color as string } : undefined;
|
|
97
|
+
|
|
98
|
+
return (
|
|
99
|
+
<Host style={{ display: 'inline-flex', alignItems: 'center', justifyContent: 'center' }}>
|
|
100
|
+
<span
|
|
101
|
+
class={cls}
|
|
102
|
+
style={style}
|
|
103
|
+
role={this.label ? 'img' : 'presentation'}
|
|
104
|
+
aria-label={this.label}
|
|
105
|
+
aria-hidden={!this.label ? 'true' : undefined}
|
|
106
|
+
>
|
|
107
|
+
<span class="icon__svg" />
|
|
108
|
+
</span>
|
|
109
|
+
</Host>
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/** Auto-generated by scripts/generate-icon-catalog.mjs — do not edit. */
|
|
2
|
+
import { FlagAustria } from '@ds-mo/icons/svg/flags/FlagAustria';
|
|
3
|
+
import { FlagBelgium } from '@ds-mo/icons/svg/flags/FlagBelgium';
|
|
4
|
+
import { FlagBulgaria } from '@ds-mo/icons/svg/flags/FlagBulgaria';
|
|
5
|
+
import { FlagCanada } from '@ds-mo/icons/svg/flags/FlagCanada';
|
|
6
|
+
import { FlagCroatia } from '@ds-mo/icons/svg/flags/FlagCroatia';
|
|
7
|
+
import { FlagCyprus } from '@ds-mo/icons/svg/flags/FlagCyprus';
|
|
8
|
+
import { FlagCzechRepublic } from '@ds-mo/icons/svg/flags/FlagCzechRepublic';
|
|
9
|
+
import { FlagDenmark } from '@ds-mo/icons/svg/flags/FlagDenmark';
|
|
10
|
+
import { FlagEU } from '@ds-mo/icons/svg/flags/FlagEU';
|
|
11
|
+
import { FlagEstonia } from '@ds-mo/icons/svg/flags/FlagEstonia';
|
|
12
|
+
import { FlagFinland } from '@ds-mo/icons/svg/flags/FlagFinland';
|
|
13
|
+
import { FlagFrance } from '@ds-mo/icons/svg/flags/FlagFrance';
|
|
14
|
+
import { FlagGermany } from '@ds-mo/icons/svg/flags/FlagGermany';
|
|
15
|
+
import { FlagGreece } from '@ds-mo/icons/svg/flags/FlagGreece';
|
|
16
|
+
import { FlagHungary } from '@ds-mo/icons/svg/flags/FlagHungary';
|
|
17
|
+
import { FlagIreland } from '@ds-mo/icons/svg/flags/FlagIreland';
|
|
18
|
+
import { FlagItaly } from '@ds-mo/icons/svg/flags/FlagItaly';
|
|
19
|
+
import { FlagLatvia } from '@ds-mo/icons/svg/flags/FlagLatvia';
|
|
20
|
+
import { FlagLithuania } from '@ds-mo/icons/svg/flags/FlagLithuania';
|
|
21
|
+
import { FlagLuxembourg } from '@ds-mo/icons/svg/flags/FlagLuxembourg';
|
|
22
|
+
import { FlagMalta } from '@ds-mo/icons/svg/flags/FlagMalta';
|
|
23
|
+
import { FlagMexico } from '@ds-mo/icons/svg/flags/FlagMexico';
|
|
24
|
+
import { FlagNetherlands } from '@ds-mo/icons/svg/flags/FlagNetherlands';
|
|
25
|
+
import { FlagPoland } from '@ds-mo/icons/svg/flags/FlagPoland';
|
|
26
|
+
import { FlagPortugal } from '@ds-mo/icons/svg/flags/FlagPortugal';
|
|
27
|
+
import { FlagRomania } from '@ds-mo/icons/svg/flags/FlagRomania';
|
|
28
|
+
import { FlagSlovakia } from '@ds-mo/icons/svg/flags/FlagSlovakia';
|
|
29
|
+
import { FlagSlovenia } from '@ds-mo/icons/svg/flags/FlagSlovenia';
|
|
30
|
+
import { FlagSpain } from '@ds-mo/icons/svg/flags/FlagSpain';
|
|
31
|
+
import { FlagSweden } from '@ds-mo/icons/svg/flags/FlagSweden';
|
|
32
|
+
import { FlagUnitedKingdom } from '@ds-mo/icons/svg/flags/FlagUnitedKingdom';
|
|
33
|
+
import { FlagUnitedStates } from '@ds-mo/icons/svg/flags/FlagUnitedStates';
|
|
34
|
+
|
|
35
|
+
export const flagIconCatalog: Record<string, string> = {
|
|
36
|
+
FlagAustria,
|
|
37
|
+
FlagBelgium,
|
|
38
|
+
FlagBulgaria,
|
|
39
|
+
FlagCanada,
|
|
40
|
+
FlagCroatia,
|
|
41
|
+
FlagCyprus,
|
|
42
|
+
FlagCzechRepublic,
|
|
43
|
+
FlagDenmark,
|
|
44
|
+
FlagEU,
|
|
45
|
+
FlagEstonia,
|
|
46
|
+
FlagFinland,
|
|
47
|
+
FlagFrance,
|
|
48
|
+
FlagGermany,
|
|
49
|
+
FlagGreece,
|
|
50
|
+
FlagHungary,
|
|
51
|
+
FlagIreland,
|
|
52
|
+
FlagItaly,
|
|
53
|
+
FlagLatvia,
|
|
54
|
+
FlagLithuania,
|
|
55
|
+
FlagLuxembourg,
|
|
56
|
+
FlagMalta,
|
|
57
|
+
FlagMexico,
|
|
58
|
+
FlagNetherlands,
|
|
59
|
+
FlagPoland,
|
|
60
|
+
FlagPortugal,
|
|
61
|
+
FlagRomania,
|
|
62
|
+
FlagSlovakia,
|
|
63
|
+
FlagSlovenia,
|
|
64
|
+
FlagSpain,
|
|
65
|
+
FlagSweden,
|
|
66
|
+
FlagUnitedKingdom,
|
|
67
|
+
FlagUnitedStates,
|
|
68
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { IconSize, IconColorToken, IconColor } from './Icon';
|