dap-design-system 0.60.0 → 0.60.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.
@@ -48,6 +48,7 @@ import { default as Component } from '../../components/icon-button/icon-button.c
48
48
  * @cssproperty --dds-icon-button-inverted-brand-hover-bg - Hover background color for inverted brand variant (default: var(--dds-button-primary-background-enabled))
49
49
  * @cssproperty --dds-icon-button-inverted-brand-active-bg - Active background color for inverted brand variant (default: var(--dds-button-primary-background-enabled))
50
50
  * @cssproperty --dds-icon-button-disabled-color - Color for disabled state (default: var(--dds-icon-neutral-disabled))
51
+ * @cssproperty --dds-icon-button-disabled-bg - Background color for disabled state (default: transparent)
51
52
  */
52
53
  declare const reactWrapper: import('@lit/react').ReactWebComponent<Component, {}>;
53
54
  export default reactWrapper;
@@ -41,6 +41,7 @@ export type { DdsInputEvent } from '../../events/events';
41
41
  * @property {boolean} searchForText - Whether the search should search for the selected item text.
42
42
  * @property {boolean} textComplete - Whether the search should not complete the text.
43
43
  * @property {string} searchButtonAriaLabel - The aria label of the search button.
44
+ * @property {boolean} disableSearchWhenEmpty - When true, the search button is automatically disabled while the input is empty and re-enabled once the user types. Default is false.
44
45
  * @property {boolean} openOnEmpty - Whether the search should open on empty results.
45
46
  * @property {string} selectable - Show the selected item check mark in the dropdown. Default is 'false'.
46
47
  * @property {boolean} noAnimation - Whether the search open indicator should be animated. Default is true.
@@ -80,6 +81,7 @@ export type { DdsInputEvent } from '../../events/events';
80
81
  *
81
82
  * @csspart base - The main search container.
82
83
  * @csspart trigger - The trigger button of the search.
84
+ * @csspart search-button - The trailing search icon button.
83
85
  * @csspart label - The label of the search.
84
86
  * @csspart description - The description of the search.
85
87
  * @csspart feedback - The feedback of the search.
@@ -1,15 +1,13 @@
1
1
  export { default as DapDSAccordionReact } from './dap-ds-accordion/index.js';
2
2
  export { default as DapDSAvatarReact } from './dap-ds-avatar/index.js';
3
+ export { default as DapDSAccordionGroupReact } from './dap-ds-accordion-group/index.js';
4
+ export { default as DapDSAnchorHeadingReact } from './dap-ds-anchor-heading/index.js';
3
5
  export { default as DapDSAvatarGroupReact } from './dap-ds-avatar-group/index.js';
4
6
  export { default as DapDSBadgeReact } from './dap-ds-badge/index.js';
5
7
  export { default as DapDSBannerReact } from './dap-ds-banner/index.js';
6
- export { default as DapDSAccordionGroupReact } from './dap-ds-accordion-group/index.js';
7
- export { default as DapDSAnchorHeadingReact } from './dap-ds-anchor-heading/index.js';
8
8
  export { default as DapDSBreadcrumbReact } from './dap-ds-breadcrumb/index.js';
9
9
  export { default as DapDSBreadcrumbItemReact } from './dap-ds-breadcrumb-item/index.js';
10
10
  export { default as DapDSButtonReact } from './dap-ds-button/index.js';
11
- export { default as DapDSCalendarCellReact } from './dap-ds-calendar-cell/index.js';
12
- export { default as DapDSCalendarReact } from './dap-ds-calendar/index.js';
13
11
  export { default as DapDSCalloutReact } from './dap-ds-callout/index.js';
14
12
  export { default as DapDSCardActionsReact } from './dap-ds-card-actions/index.js';
15
13
  export { default as DapDSCardContentReact } from './dap-ds-card-content/index.js';
@@ -17,6 +15,8 @@ export { default as DapDSCardImageReact } from './dap-ds-card-image/index.js';
17
15
  export { default as DapDSCardSubtitleReact } from './dap-ds-card-subtitle/index.js';
18
16
  export { default as DapDSCardTitleReact } from './dap-ds-card-title/index.js';
19
17
  export { default as DapDSCardReact } from './dap-ds-card/index.js';
18
+ export { default as DapDSCalendarCellReact } from './dap-ds-calendar-cell/index.js';
19
+ export { default as DapDSCalendarReact } from './dap-ds-calendar/index.js';
20
20
  export { default as DapDSCheckboxReact } from './dap-ds-checkbox/index.js';
21
21
  export { default as DapDSChipReact } from './dap-ds-chip/index.js';
22
22
  export { default as DapDSCodePuncherSlotReact } from './dap-ds-code-puncher-slot/index.js';
@@ -46,10 +46,10 @@ export { default as DapDSListItemReact } from './dap-ds-list-item/index.js';
46
46
  export { default as DapDSModalReact } from './dap-ds-modal/index.js';
47
47
  export { default as DapDSNavigationMenuItemReact } from './dap-ds-navigation-menu-item/index.js';
48
48
  export { default as DapDSNavigationMenuReact } from './dap-ds-navigation-menu/index.js';
49
- export { default as DapDSNotificationBadgeReact } from './dap-ds-notification-badge/index.js';
50
49
  export { default as DapDSNumberInputReact } from './dap-ds-number-input/index.js';
51
50
  export { default as DapDSOfficialWebsiteBannerReact } from './dap-ds-official-website-banner/index.js';
52
51
  export { default as DapDSOptionGroupReact } from './dap-ds-option-group/index.js';
52
+ export { default as DapDSNotificationBadgeReact } from './dap-ds-notification-badge/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
55
  export { default as DapDSOverlayReact } from './dap-ds-overlay/index.js';
@@ -82,9 +82,9 @@ export { default as DapDSTableReact } from './dap-ds-table/index.js';
82
82
  export { default as DapDSTextareaReact } from './dap-ds-textarea/index.js';
83
83
  export { default as DapDSTimelineItemReact } from './dap-ds-timeline-item/index.js';
84
84
  export { default as DapDSTimelineReact } from './dap-ds-timeline/index.js';
85
+ export { default as DapDSTOCReact } from './dap-ds-toc/index.js';
85
86
  export { default as DapDSTimeGridReact } from './dap-ds-time-grid/index.js';
86
87
  export { default as DapDSTimePickerReact } from './dap-ds-timepicker/index.js';
87
- export { default as DapDSTOCReact } from './dap-ds-toc/index.js';
88
88
  export { default as DapDSToggleButtonReact } from './dap-ds-toggle-button/index.js';
89
89
  export { default as DapDSTooltipReact } from './dap-ds-tooltip/index.js';
90
90
  export { default as DapDSTrayReact } from './dap-ds-tray/index.js';
@@ -128,6 +128,10 @@ export { default as EditorSeparatorReact } from './dap-ds-icon-separator/index.j
128
128
  export { default as HealthHeartFillReact } from './dap-ds-icon-heart-fill/index.js';
129
129
  export { default as HealthHeartLineReact } from './dap-ds-icon-heart-line/index.js';
130
130
  export { default as OthersCookieLineReact } from './dap-ds-icon-cookie-line/index.js';
131
+ export { default as UserAccountCircleFillReact } from './dap-ds-icon-account-circle-fill/index.js';
132
+ export { default as UserAccountCircleLineReact } from './dap-ds-icon-account-circle-line/index.js';
133
+ export { default as UserUserFillReact } from './dap-ds-icon-user-fill/index.js';
134
+ export { default as UserUserLineReact } from './dap-ds-icon-user-line/index.js';
131
135
  export { default as SystemAddLineReact } from './dap-ds-icon-add-line/index.js';
132
136
  export { default as SystemAlertFillReact } from './dap-ds-icon-alert-fill/index.js';
133
137
  export { default as SystemAlertLineReact } from './dap-ds-icon-alert-line/index.js';
@@ -176,7 +180,3 @@ export { default as SystemUpload2LineReact } from './dap-ds-icon-upload-2-line/i
176
180
  export { default as SystemUploadLineReact } from './dap-ds-icon-upload-line/index.js';
177
181
  export { default as SystemZoomInLineReact } from './dap-ds-icon-zoom-in-line/index.js';
178
182
  export { default as SystemZoomOutLineReact } from './dap-ds-icon-zoom-out-line/index.js';
179
- export { default as UserAccountCircleFillReact } from './dap-ds-icon-account-circle-fill/index.js';
180
- export { default as UserAccountCircleLineReact } from './dap-ds-icon-account-circle-line/index.js';
181
- export { default as UserUserFillReact } from './dap-ds-icon-user-fill/index.js';
182
- export { default as UserUserLineReact } from './dap-ds-icon-user-line/index.js';
@@ -5,16 +5,14 @@ type HtmlType = { children?: React.ReactNode | Element, class?: string, ref?: Re
5
5
 
6
6
  export type DapDSAccordionType = HtmlType & Partial<Omit<DDS.DapDSAccordion, 'children' | 'style'>> & { "ondds-opened"?: (e: DdsOpenedEvent) => void, "ondds-closed"?: (e: DdsClosedEvent) => void }
7
7
  export type DapDSAvatarType = HtmlType & Partial<Omit<DDS.DapDSAvatar, 'children' | 'style'>> & { "ondds-load"?: (e: DdsLoadEvent) => void, "ondds-error"?: (e: DdsErrorEvent) => void }
8
+ export type DapDSAccordionGroupType = HtmlType & Partial<Omit<DDS.DapDSAccordionGroup, 'children' | 'style'>>
9
+ export type DapDSAnchorHeadingType = HtmlType & Partial<Omit<DDS.DapDSAnchorHeading, 'children' | 'style'>>
8
10
  export type DapDSAvatarGroupType = HtmlType & Partial<Omit<DDS.DapDSAvatarGroup, 'children' | 'style'>> & { "ondds-overflow-click"?: (e: DdsOverflowClickEvent) => void }
9
11
  export type DapDSBadgeType = HtmlType & Partial<Omit<DDS.DapDSBadge, 'children' | 'style'>>
10
12
  export type DapDSBannerType = HtmlType & Partial<Omit<DDS.DapDSBanner, 'children' | 'style'>> & { "ondds-close"?: (e: DdsCloseEvent) => void }
11
- export type DapDSAccordionGroupType = HtmlType & Partial<Omit<DDS.DapDSAccordionGroup, 'children' | 'style'>>
12
- export type DapDSAnchorHeadingType = HtmlType & Partial<Omit<DDS.DapDSAnchorHeading, 'children' | 'style'>>
13
13
  export type DapDSBreadcrumbType = HtmlType & Partial<Omit<DDS.DapDSBreadcrumb, 'children' | 'style'>>
14
14
  export type DapDSBreadcrumbItemType = HtmlType & Partial<Omit<DDS.DapDSBreadcrumbItem, 'children' | 'style'>>
15
15
  export type DapDSButtonType = HtmlType & Partial<Omit<DDS.DapDSButton, 'children' | 'style'>> & { "ondds-loading-timeout"?: (e: DdsLoadingTimeoutEvent) => void }
16
- export type DapDSCalendarCellType = HtmlType & Partial<Omit<DDS.DapDSCalendarCell, 'children' | 'style'>>
17
- export type DapDSCalendarType = HtmlType & Partial<Omit<DDS.DapDSCalendar, 'children' | 'style'>> & { "ondds-change"?: (e: DdsChangeEvent) => void }
18
16
  export type DapDSCalloutType = HtmlType & Partial<Omit<DDS.DapDSCallout, 'children' | 'style'>> & { "ondds-close"?: (e: DdsCloseEvent) => void }
19
17
  export type DapDSCardActionsType = HtmlType & Partial<Omit<DDS.DapDSCardActions, 'children' | 'style'>>
20
18
  export type DapDSCardContentType = HtmlType & Partial<Omit<DDS.DapDSCardContent, 'children' | 'style'>>
@@ -22,6 +20,8 @@ export type DapDSCardImageType = HtmlType & Partial<Omit<DDS.DapDSCardImage, 'ch
22
20
  export type DapDSCardSubtitleType = HtmlType & Partial<Omit<DDS.DapDSCardSubtitle, 'children' | 'style'>>
23
21
  export type DapDSCardTitleType = HtmlType & Partial<Omit<DDS.DapDSCardTitle, 'children' | 'style'>>
24
22
  export type DapDSCardType = HtmlType & Partial<Omit<DDS.DapDSCard, 'children' | 'style'>>
23
+ export type DapDSCalendarCellType = HtmlType & Partial<Omit<DDS.DapDSCalendarCell, 'children' | 'style'>>
24
+ export type DapDSCalendarType = HtmlType & Partial<Omit<DDS.DapDSCalendar, 'children' | 'style'>> & { "ondds-change"?: (e: DdsChangeEvent) => void }
25
25
  export type DapDSCheckboxType = HtmlType & Partial<Omit<DDS.DapDSCheckbox, 'children' | 'style'>> & { "ondds-change"?: (e: DdsChangeEvent) => void, "ondds-blur"?: (e: DdsBlurEvent) => void, "ondds-focus"?: (e: DdsFocusEvent) => void, "ondds-input"?: (e: DdsInputEvent) => void }
26
26
  export type DapDSChipType = HtmlType & Partial<Omit<DDS.DapDSChip, 'children' | 'style'>> & { "ondds-remove"?: (e: DdsRemoveEvent) => void, "ondds-select"?: (e: DdsSelectEvent) => void }
27
27
  export type DapDSCodePuncherSlotType = HtmlType & Partial<Omit<DDS.DapDSCodePuncherSlot, 'children' | 'style'>>
@@ -51,10 +51,10 @@ export type DapDSListItemType = HtmlType & Partial<Omit<DDS.DapDSListItem, 'chil
51
51
  export type DapDSModalType = HtmlType & Partial<Omit<DDS.DapDSModal, 'children' | 'style'>> & { "ondds-before-open"?: (e: DdsBeforeOpenEvent) => void, "ondds-opened"?: (e: DdsOpenedEvent) => void, "ondds-before-close"?: (e: DdsBeforeCloseEvent) => void, "ondds-closed"?: (e: DdsClosedEvent) => void, "ondds-close"?: (e: DdsCloseEvent) => void, "ondds-ok"?: (e: DdsOkEvent) => void, "ondds-cancel"?: (e: DdsCancelEvent) => void }
52
52
  export type DapDSNavigationMenuItemType = HtmlType & Partial<Omit<DDS.DapDSNavigationMenuItem, 'children' | 'style'>> & { "ondds-navigation-item-click"?: (e: DdsNavigationItemClickEvent) => void, "ondds-navigation-dropdown-open"?: (e: DdsNavigationDropdownOpenEvent) => void }
53
53
  export type DapDSNavigationMenuType = HtmlType & Partial<Omit<DDS.DapDSNavigationMenu, 'children' | 'style'>> & { "ondds-navigation-item-click"?: (e: DdsNavigationItemClickEvent) => void }
54
- export type DapDSNotificationBadgeType = HtmlType & Partial<Omit<DDS.DapDSNotificationBadge, 'children' | 'style'>>
55
54
  export type DapDSNumberInputType = HtmlType & Partial<Omit<DDS.DapDSNumberInput, '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 }
56
55
  export type DapDSOfficialWebsiteBannerType = HtmlType & Partial<Omit<DDS.DapDSOfficialWebsiteBanner, 'children' | 'style'>> & { "ondds-opened"?: (e: DdsOpenedEvent) => void, "ondds-closed"?: (e: DdsClosedEvent) => void }
57
56
  export type DapDSOptionGroupType = HtmlType & Partial<Omit<DDS.DapDSOptionGroup, 'children' | 'style'>>
57
+ export type DapDSNotificationBadgeType = HtmlType & Partial<Omit<DDS.DapDSNotificationBadge, '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
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 }
@@ -87,9 +87,9 @@ export type DapDSTableType = HtmlType & Partial<Omit<DDS.DapDSTable, 'children'
87
87
  export type DapDSTextareaType = HtmlType & Partial<Omit<DDS.DapDSTextarea, 'children' | 'style'>> & { "ondds-count-change"?: (e: DdsCountChangeEvent) => void, "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, "ondds-select"?: (e: DdsSelectEvent) => void }
88
88
  export type DapDSTimelineItemType = HtmlType & Partial<Omit<DDS.DapDSTimelineItem, 'children' | 'style'>>
89
89
  export type DapDSTimelineType = HtmlType & Partial<Omit<DDS.DapDSTimeline, 'children' | 'style'>>
90
+ export type DapDSTOCType = HtmlType & Partial<Omit<DDS.DapDSTOC, 'children' | 'style'>> & { "ondds-anchor-change"?: (e: DdsAnchorChangeEvent) => void }
90
91
  export type DapDSTimeGridType = HtmlType & Partial<Omit<DDS.DapDSTimeGrid, 'children' | 'style'>> & { "ondds-change"?: (e: DdsChangeEvent) => void, "ondds-close"?: (e: DdsCloseEvent) => void }
91
92
  export type DapDSTimePickerType = HtmlType & Partial<Omit<DDS.DapDSTimePicker, 'children' | 'style'>> & { "ondds-change"?: (e: DdsChangeEvent) => void, "ondds-input"?: (e: DdsInputEvent) => void, "ondds-valid-time"?: (e: DdsValidTimeEvent) => void, "ondds-invalid-time"?: (e: DdsInvalidTimeEvent) => void, "ondds-clear"?: (e: DdsClearEvent) => void, "ondds-focus"?: (e: DdsFocusEvent) => void, "ondds-blur"?: (e: DdsBlurEvent) => void }
92
- export type DapDSTOCType = HtmlType & Partial<Omit<DDS.DapDSTOC, 'children' | 'style'>> & { "ondds-anchor-change"?: (e: DdsAnchorChangeEvent) => void }
93
93
  export type DapDSToggleButtonType = HtmlType & Partial<Omit<DDS.DapDSToggleButton, 'children' | 'style'>>
94
94
  export type DapDSTooltipType = HtmlType & Partial<Omit<DDS.DapDSTooltip, 'children' | 'style'>>
95
95
  export type DapDSTrayType = HtmlType & Partial<Omit<DDS.DapDSTray, 'children' | 'style'>> & { "ondds-before-open"?: (e: DdsBeforeOpenEvent) => void, "ondds-opened"?: (e: DdsOpenedEvent) => void, "ondds-before-close"?: (e: DdsBeforeCloseEvent) => void, "ondds-closed"?: (e: DdsClosedEvent) => void, "ondds-close"?: (e: DdsCloseEvent) => void }
@@ -133,6 +133,10 @@ export type EditorSeparatorType = HtmlType & Partial<Omit<DDS.EditorSeparator, '
133
133
  export type HealthHeartFillType = HtmlType & Partial<Omit<DDS.HealthHeartFill, 'children' | 'style'>>
134
134
  export type HealthHeartLineType = HtmlType & Partial<Omit<DDS.HealthHeartLine, 'children' | 'style'>>
135
135
  export type OthersCookieLineType = HtmlType & Partial<Omit<DDS.OthersCookieLine, 'children' | 'style'>>
136
+ export type UserAccountCircleFillType = HtmlType & Partial<Omit<DDS.UserAccountCircleFill, 'children' | 'style'>>
137
+ export type UserAccountCircleLineType = HtmlType & Partial<Omit<DDS.UserAccountCircleLine, 'children' | 'style'>>
138
+ export type UserUserFillType = HtmlType & Partial<Omit<DDS.UserUserFill, 'children' | 'style'>>
139
+ export type UserUserLineType = HtmlType & Partial<Omit<DDS.UserUserLine, 'children' | 'style'>>
136
140
  export type SystemAddLineType = HtmlType & Partial<Omit<DDS.SystemAddLine, 'children' | 'style'>>
137
141
  export type SystemAlertFillType = HtmlType & Partial<Omit<DDS.SystemAlertFill, 'children' | 'style'>>
138
142
  export type SystemAlertLineType = HtmlType & Partial<Omit<DDS.SystemAlertLine, 'children' | 'style'>>
@@ -180,8 +184,4 @@ export type SystemUpload2FillType = HtmlType & Partial<Omit<DDS.SystemUpload2Fil
180
184
  export type SystemUpload2LineType = HtmlType & Partial<Omit<DDS.SystemUpload2Line, 'children' | 'style'>>
181
185
  export type SystemUploadLineType = HtmlType & Partial<Omit<DDS.SystemUploadLine, 'children' | 'style'>>
182
186
  export type SystemZoomInLineType = HtmlType & Partial<Omit<DDS.SystemZoomInLine, 'children' | 'style'>>
183
- export type SystemZoomOutLineType = HtmlType & Partial<Omit<DDS.SystemZoomOutLine, 'children' | 'style'>>
184
- export type UserAccountCircleFillType = HtmlType & Partial<Omit<DDS.UserAccountCircleFill, 'children' | 'style'>>
185
- export type UserAccountCircleLineType = HtmlType & Partial<Omit<DDS.UserAccountCircleLine, 'children' | 'style'>>
186
- export type UserUserFillType = HtmlType & Partial<Omit<DDS.UserUserFill, 'children' | 'style'>>
187
- export type UserUserLineType = HtmlType & Partial<Omit<DDS.UserUserLine, 'children' | 'style'>>
187
+ export type SystemZoomOutLineType = HtmlType & Partial<Omit<DDS.SystemZoomOutLine, 'children' | 'style'>>