dap-design-system 0.62.3 → 0.62.4
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/dist/common/utils.d.ts +8 -0
- package/dist/common/utils.js +36 -31
- package/dist/common/utils.js.map +1 -1
- package/dist/components/combobox/comboboxBase.d.ts +8 -0
- package/dist/components/combobox/comboboxBase.js +64 -33
- package/dist/components/combobox/comboboxBase.js.map +1 -1
- package/dist/components/option-list/option-list.component.d.ts +2 -0
- package/dist/components/option-list/option-list.component.js +42 -39
- package/dist/components/option-list/option-list.component.js.map +1 -1
- package/dist/components/popup/popup-base-element.d.ts +6 -0
- package/dist/components/popup/popup-base-element.js +92 -63
- package/dist/components/popup/popup-base-element.js.map +1 -1
- package/dist/components/select/select.component.js +33 -30
- package/dist/components/select/select.component.js.map +1 -1
- package/dist/localization/locales/de.json.js +7 -7
- package/dist/localization/locales/en.json.js +6 -6
- package/dist/localization/locales/hu.json.js +1 -1
- package/dist/manifest/types/vue/index.d.ts +161 -159
- package/dist/manifest/vscode.html-custom-data.json +152 -147
- package/dist/manifest/web-types.json +386 -376
- package/dist/react/index.d.ts +4 -4
- package/dist/react-types.ts +4 -4
- package/dist/react.js +30 -30
- package/package.json +4 -1
package/dist/react/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
export { default as DapDSAccordionGroupReact } from './dap-ds-accordion-group/index.js';
|
|
1
2
|
export { default as DapDSAccordionReact } from './dap-ds-accordion/index.js';
|
|
2
3
|
export { default as DapDSAnchorHeadingReact } from './dap-ds-anchor-heading/index.js';
|
|
3
|
-
export { default as DapDSAvatarReact } from './dap-ds-avatar/index.js';
|
|
4
|
-
export { default as DapDSBadgeReact } from './dap-ds-badge/index.js';
|
|
5
4
|
export { default as DapDSAvatarGroupReact } from './dap-ds-avatar-group/index.js';
|
|
6
5
|
export { default as DapDSBannerReact } from './dap-ds-banner/index.js';
|
|
7
|
-
export { default as DapDSAccordionGroupReact } from './dap-ds-accordion-group/index.js';
|
|
8
6
|
export { default as DapDSBreadcrumbReact } from './dap-ds-breadcrumb/index.js';
|
|
9
7
|
export { default as DapDSBreadcrumbItemReact } from './dap-ds-breadcrumb-item/index.js';
|
|
8
|
+
export { default as DapDSBadgeReact } from './dap-ds-badge/index.js';
|
|
10
9
|
export { default as DapDSButtonReact } from './dap-ds-button/index.js';
|
|
11
10
|
export { default as DapDSCalloutReact } from './dap-ds-callout/index.js';
|
|
12
11
|
export { default as DapDSCalendarCellReact } from './dap-ds-calendar-cell/index.js';
|
|
13
12
|
export { default as DapDSCalendarReact } from './dap-ds-calendar/index.js';
|
|
13
|
+
export { default as DapDSAvatarReact } from './dap-ds-avatar/index.js';
|
|
14
14
|
export { default as DapDSCardActionsReact } from './dap-ds-card-actions/index.js';
|
|
15
15
|
export { default as DapDSCardContentReact } from './dap-ds-card-content/index.js';
|
|
16
16
|
export { default as DapDSCardImageReact } from './dap-ds-card-image/index.js';
|
|
@@ -52,8 +52,8 @@ export { default as DapDSOfficialWebsiteBannerReact } from './dap-ds-official-we
|
|
|
52
52
|
export { default as DapDSOptionGroupReact } from './dap-ds-option-group/index.js';
|
|
53
53
|
export { default as DapDSOptionItemReact } from './dap-ds-option-item/index.js';
|
|
54
54
|
export { default as DapDSOptionListReact } from './dap-ds-option-list/index.js';
|
|
55
|
-
export { default as DapDSPagerReact } from './dap-ds-pager/index.js';
|
|
56
55
|
export { default as DapDSOverlayReact } from './dap-ds-overlay/index.js';
|
|
56
|
+
export { default as DapDSPagerReact } from './dap-ds-pager/index.js';
|
|
57
57
|
export { default as DapDSPasswordInputReact } from './dap-ds-password-input/index.js';
|
|
58
58
|
export { default as DapDSPopupReact } from './dap-ds-popup/index.js';
|
|
59
59
|
export { default as DapDSProgressReact } from './dap-ds-progress/index.js';
|
package/dist/react-types.ts
CHANGED
|
@@ -3,19 +3,19 @@ import type { DdsAllUploadsCompleteEvent, DdsAnchorChangeEvent, DdsBeforeCloseEv
|
|
|
3
3
|
type HtmlType = { children?: React.ReactNode | Element, class?: string, ref?: React.RefObject<any>, key?: React.Key | null | undefined,
|
|
4
4
|
style?: Partial<CSSStyleDeclaration>, id?: string, onClick?: (e: React.MouseEvent) => void, onChange?: (e: React.ChangeEvent) => void}
|
|
5
5
|
|
|
6
|
+
export type DapDSAccordionGroupType = HtmlType & Partial<Omit<DDS.DapDSAccordionGroup, 'children' | 'style'>>
|
|
6
7
|
export type DapDSAccordionType = HtmlType & Partial<Omit<DDS.DapDSAccordion, 'children' | 'style'>> & { "ondds-opened"?: (e: DdsOpenedEvent) => void, "ondds-closed"?: (e: DdsClosedEvent) => void }
|
|
7
8
|
export type DapDSAnchorHeadingType = HtmlType & Partial<Omit<DDS.DapDSAnchorHeading, 'children' | 'style'>>
|
|
8
|
-
export type DapDSAvatarType = HtmlType & Partial<Omit<DDS.DapDSAvatar, 'children' | 'style'>> & { "ondds-load"?: (e: DdsLoadEvent) => void, "ondds-error"?: (e: DdsErrorEvent) => void }
|
|
9
|
-
export type DapDSBadgeType = HtmlType & Partial<Omit<DDS.DapDSBadge, 'children' | 'style'>>
|
|
10
9
|
export type DapDSAvatarGroupType = HtmlType & Partial<Omit<DDS.DapDSAvatarGroup, 'children' | 'style'>> & { "ondds-overflow-click"?: (e: DdsOverflowClickEvent) => void }
|
|
11
10
|
export type DapDSBannerType = HtmlType & Partial<Omit<DDS.DapDSBanner, 'children' | 'style'>> & { "ondds-close"?: (e: DdsCloseEvent) => void }
|
|
12
|
-
export type DapDSAccordionGroupType = HtmlType & Partial<Omit<DDS.DapDSAccordionGroup, 'children' | 'style'>>
|
|
13
11
|
export type DapDSBreadcrumbType = HtmlType & Partial<Omit<DDS.DapDSBreadcrumb, 'children' | 'style'>>
|
|
14
12
|
export type DapDSBreadcrumbItemType = HtmlType & Partial<Omit<DDS.DapDSBreadcrumbItem, 'children' | 'style'>>
|
|
13
|
+
export type DapDSBadgeType = HtmlType & Partial<Omit<DDS.DapDSBadge, 'children' | 'style'>>
|
|
15
14
|
export type DapDSButtonType = HtmlType & Partial<Omit<DDS.DapDSButton, 'children' | 'style'>> & { "ondds-loading-timeout"?: (e: DdsLoadingTimeoutEvent) => void }
|
|
16
15
|
export type DapDSCalloutType = HtmlType & Partial<Omit<DDS.DapDSCallout, 'children' | 'style'>> & { "ondds-close"?: (e: DdsCloseEvent) => void }
|
|
17
16
|
export type DapDSCalendarCellType = HtmlType & Partial<Omit<DDS.DapDSCalendarCell, 'children' | 'style'>>
|
|
18
17
|
export type DapDSCalendarType = HtmlType & Partial<Omit<DDS.DapDSCalendar, 'children' | 'style'>> & { "ondds-change"?: (e: DdsChangeEvent) => void }
|
|
18
|
+
export type DapDSAvatarType = HtmlType & Partial<Omit<DDS.DapDSAvatar, 'children' | 'style'>> & { "ondds-load"?: (e: DdsLoadEvent) => void, "ondds-error"?: (e: DdsErrorEvent) => void }
|
|
19
19
|
export type DapDSCardActionsType = HtmlType & Partial<Omit<DDS.DapDSCardActions, 'children' | 'style'>>
|
|
20
20
|
export type DapDSCardContentType = HtmlType & Partial<Omit<DDS.DapDSCardContent, 'children' | 'style'>>
|
|
21
21
|
export type DapDSCardImageType = HtmlType & Partial<Omit<DDS.DapDSCardImage, 'children' | 'style'>>
|
|
@@ -57,8 +57,8 @@ export type DapDSOfficialWebsiteBannerType = HtmlType & Partial<Omit<DDS.DapDSOf
|
|
|
57
57
|
export type DapDSOptionGroupType = HtmlType & Partial<Omit<DDS.DapDSOptionGroup, 'children' | 'style'>>
|
|
58
58
|
export type DapDSOptionItemType = HtmlType & Partial<Omit<DDS.DapDSOptionItem, 'children' | 'style'>>
|
|
59
59
|
export type DapDSOptionListType = HtmlType & Partial<Omit<DDS.DapDSOptionList, 'children' | 'style'>> & { "ondds-cancel"?: (e: DdsCancelEvent) => void, "ondds-option-change"?: (e: DdsOptionChangeEvent) => void, "ondds-keydown"?: (e: DdsKeydownEvent) => void, "ondds-list-changed"?: (e: DdsListChangedEvent) => void }
|
|
60
|
-
export type DapDSPagerType = HtmlType & Partial<Omit<DDS.DapDSPager, 'children' | 'style'>> & { "ondds-pagination-change"?: (e: DdsPaginationChangeEvent) => void }
|
|
61
60
|
export type DapDSOverlayType = HtmlType & Partial<Omit<DDS.DapDSOverlay, 'children' | 'style'>> & { "ondds-before-open"?: (e: DdsBeforeOpenEvent) => void, "ondds-opened"?: (e: DdsOpenedEvent) => void, "ondds-before-close"?: (e: DdsBeforeCloseEvent) => void, "ondds-closed"?: (e: DdsClosedEvent) => void }
|
|
61
|
+
export type DapDSPagerType = HtmlType & Partial<Omit<DDS.DapDSPager, 'children' | 'style'>> & { "ondds-pagination-change"?: (e: DdsPaginationChangeEvent) => void }
|
|
62
62
|
export type DapDSPasswordInputType = HtmlType & Partial<Omit<DDS.DapDSPasswordInput, 'children' | 'style'>> & { "ondds-change"?: (e: DdsChangeEvent) => void, "ondds-input"?: (e: DdsInputEvent) => void, "ondds-keydown"?: (e: DdsKeydownEvent) => void, "ondds-blur"?: (e: DdsBlurEvent) => void, "ondds-focus"?: (e: DdsFocusEvent) => void }
|
|
63
63
|
export type DapDSPopupType = HtmlType & Partial<Omit<DDS.DapDSPopup, 'children' | 'style'>> & { "ondds-opened"?: (e: DdsOpenedEvent) => void, "ondds-closed"?: (e: DdsClosedEvent) => void, "ondds-close"?: (e: DdsCloseEvent) => void }
|
|
64
64
|
export type DapDSProgressType = HtmlType & Partial<Omit<DDS.DapDSProgress, 'children' | 'style'>>
|
package/dist/react.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { default as t } from "./react/dap-ds-accordion/index.js";
|
|
2
|
-
import { default as o } from "./react/dap-ds-
|
|
3
|
-
import { default as p } from "./react/dap-ds-
|
|
4
|
-
import { default as s } from "./react/dap-ds-
|
|
5
|
-
import { default as c } from "./react/dap-ds-
|
|
6
|
-
import { default as u } from "./react/dap-ds-
|
|
7
|
-
import { default as x } from "./react/dap-ds-
|
|
8
|
-
import { default as i } from "./react/dap-ds-
|
|
9
|
-
import { default as n } from "./react/dap-ds-
|
|
10
|
-
import { default as y } from "./react/dap-ds-
|
|
11
|
-
import { default as A } from "./react/dap-ds-
|
|
12
|
-
import { default as F } from "./react/dap-ds-calendar
|
|
13
|
-
import { default as b } from "./react/dap-ds-
|
|
1
|
+
import { default as t } from "./react/dap-ds-accordion-group/index.js";
|
|
2
|
+
import { default as o } from "./react/dap-ds-accordion/index.js";
|
|
3
|
+
import { default as p } from "./react/dap-ds-anchor-heading/index.js";
|
|
4
|
+
import { default as s } from "./react/dap-ds-avatar-group/index.js";
|
|
5
|
+
import { default as c } from "./react/dap-ds-banner/index.js";
|
|
6
|
+
import { default as u } from "./react/dap-ds-breadcrumb/index.js";
|
|
7
|
+
import { default as x } from "./react/dap-ds-breadcrumb-item/index.js";
|
|
8
|
+
import { default as i } from "./react/dap-ds-badge/index.js";
|
|
9
|
+
import { default as n } from "./react/dap-ds-button/index.js";
|
|
10
|
+
import { default as y } from "./react/dap-ds-callout/index.js";
|
|
11
|
+
import { default as A } from "./react/dap-ds-calendar-cell/index.js";
|
|
12
|
+
import { default as F } from "./react/dap-ds-calendar/index.js";
|
|
13
|
+
import { default as b } from "./react/dap-ds-avatar/index.js";
|
|
14
14
|
import { default as k } from "./react/dap-ds-card-actions/index.js";
|
|
15
15
|
import { default as T } from "./react/dap-ds-card-content/index.js";
|
|
16
16
|
import { default as U } from "./react/dap-ds-card-image/index.js";
|
|
@@ -52,8 +52,8 @@ import { default as Ke } from "./react/dap-ds-official-website-banner/index.js";
|
|
|
52
52
|
import { default as Xe } from "./react/dap-ds-option-group/index.js";
|
|
53
53
|
import { default as _e } from "./react/dap-ds-option-item/index.js";
|
|
54
54
|
import { default as ea } from "./react/dap-ds-option-list/index.js";
|
|
55
|
-
import { default as ta } from "./react/dap-ds-
|
|
56
|
-
import { default as oa } from "./react/dap-ds-
|
|
55
|
+
import { default as ta } from "./react/dap-ds-overlay/index.js";
|
|
56
|
+
import { default as oa } from "./react/dap-ds-pager/index.js";
|
|
57
57
|
import { default as pa } from "./react/dap-ds-password-input/index.js";
|
|
58
58
|
import { default as sa } from "./react/dap-ds-popup/index.js";
|
|
59
59
|
import { default as ca } from "./react/dap-ds-progress/index.js";
|
|
@@ -202,19 +202,19 @@ export {
|
|
|
202
202
|
cr as ArrowsExpandUpDownFillReact,
|
|
203
203
|
ur as BuildingsHome6LineReact,
|
|
204
204
|
xr as BusinessCalendarLineReact,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
205
|
+
t as DapDSAccordionGroupReact,
|
|
206
|
+
o as DapDSAccordionReact,
|
|
207
|
+
p as DapDSAnchorHeadingReact,
|
|
208
|
+
s as DapDSAvatarGroupReact,
|
|
209
|
+
b as DapDSAvatarReact,
|
|
210
|
+
i as DapDSBadgeReact,
|
|
211
|
+
c as DapDSBannerReact,
|
|
212
|
+
x as DapDSBreadcrumbItemReact,
|
|
213
|
+
u as DapDSBreadcrumbReact,
|
|
214
|
+
n as DapDSButtonReact,
|
|
215
|
+
A as DapDSCalendarCellReact,
|
|
216
|
+
F as DapDSCalendarReact,
|
|
217
|
+
y as DapDSCalloutReact,
|
|
218
218
|
k as DapDSCardActionsReact,
|
|
219
219
|
T as DapDSCardContentReact,
|
|
220
220
|
U as DapDSCardImageReact,
|
|
@@ -258,8 +258,8 @@ export {
|
|
|
258
258
|
Xe as DapDSOptionGroupReact,
|
|
259
259
|
_e as DapDSOptionItemReact,
|
|
260
260
|
ea as DapDSOptionListReact,
|
|
261
|
-
|
|
262
|
-
|
|
261
|
+
ta as DapDSOverlayReact,
|
|
262
|
+
oa as DapDSPagerReact,
|
|
263
263
|
pa as DapDSPasswordInputReact,
|
|
264
264
|
sa as DapDSPopupReact,
|
|
265
265
|
ca as DapDSProgressReact,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dap-design-system",
|
|
3
|
-
"version": "0.62.
|
|
3
|
+
"version": "0.62.4",
|
|
4
4
|
"description": "Official design system for the DÁP (dap.gov.hu)",
|
|
5
5
|
"main": "dist/dds.js",
|
|
6
6
|
"module": "dist/dds.js",
|
|
@@ -173,6 +173,7 @@
|
|
|
173
173
|
"test:ui": "vitest --ui",
|
|
174
174
|
"test:visual": "playwright test",
|
|
175
175
|
"test:visual:update": "playwright test --update-snapshots",
|
|
176
|
+
"test:a11y": "playwright test -c playwright.a11y.config.ts",
|
|
176
177
|
"build": "npm run analyze && npm run generate:react && vite build",
|
|
177
178
|
"build:analyze": "npm run analyze && npm run generate:react && ANALYZE=true vite build",
|
|
178
179
|
"lint:react-types": "eslint dist/react-types.ts --no-ignore",
|
|
@@ -248,6 +249,7 @@
|
|
|
248
249
|
}
|
|
249
250
|
},
|
|
250
251
|
"devDependencies": {
|
|
252
|
+
"@axe-core/playwright": "4.10.2",
|
|
251
253
|
"@chromatic-com/storybook": "^5.0.0",
|
|
252
254
|
"@commitlint/cli": "^19.2.1",
|
|
253
255
|
"@commitlint/config-conventional": "^19.1.0",
|
|
@@ -277,6 +279,7 @@
|
|
|
277
279
|
"@vitest/ui": "^3.2.0",
|
|
278
280
|
"@web/dev-server-esbuild": "^1.0.2",
|
|
279
281
|
"@web/test-runner": "^0.18.1",
|
|
282
|
+
"axe-core": "4.10.3",
|
|
280
283
|
"chai": "npm:@esm-bundle/chai@^4.3.4-fix.0",
|
|
281
284
|
"command-line-args": "^5.2.1",
|
|
282
285
|
"comment-parser": "^1.4.1",
|