@reapit/elements 5.0.0-beta.83 → 5.0.0-beta.84
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 +3 -7
- package/dist/codemods/bin.js +4 -3
- package/dist/codemods/rewrite-v5-imports/transform.js +4 -3
- package/dist/js/{accordion-BeA_kgW0.js → accordion-Dhvt8Fkd.js} +9 -9
- package/dist/js/core/accordion-group.js +18 -0
- package/dist/js/core/accordion.js +2 -2
- package/dist/js/core/table.js +2 -2
- package/dist/js/index.js +68 -67
- package/dist/js/style.css +1 -1
- package/dist/js/{table-DOaobKax.js → table-BuT1Vhgh.js} +80 -80
- package/dist/types/core/accordion/summary/styles.d.ts +1 -1
- package/dist/types/core/accordion/summary/summary.d.ts +8 -3
- package/dist/types/core/accordion/summary/summary.d.ts.map +1 -1
- package/dist/types/core/accordion/summary/summary.figma.d.ts +2 -0
- package/dist/types/core/accordion/summary/summary.figma.d.ts.map +1 -0
- package/dist/types/core/accordion/summary/summary.stories.d.ts +5 -3
- package/dist/types/core/accordion/summary/summary.stories.d.ts.map +1 -1
- package/dist/types/core/accordion-group/__tests__/accordion-group.test.d.ts +2 -0
- package/dist/types/core/accordion-group/__tests__/accordion-group.test.d.ts.map +1 -0
- package/dist/types/core/accordion-group/accordion-group.d.ts +14 -0
- package/dist/types/core/accordion-group/accordion-group.d.ts.map +1 -0
- package/dist/types/core/accordion-group/accordion-group.figma.d.ts +2 -0
- package/dist/types/core/accordion-group/accordion-group.figma.d.ts.map +1 -0
- package/dist/types/core/accordion-group/accordion-group.stories.d.ts +15 -0
- package/dist/types/core/accordion-group/accordion-group.stories.d.ts.map +1 -0
- package/dist/types/core/accordion-group/index.d.ts +3 -0
- package/dist/types/core/accordion-group/index.d.ts.map +1 -0
- package/dist/types/core/accordion-group/styles.d.ts +2 -0
- package/dist/types/core/accordion-group/styles.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/article-card/article-card.figma.d.ts +2 -0
- package/dist/types/core/at-a-glance/article-card/article-card.figma.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/carousel/styles.d.ts.map +1 -1
- package/dist/types/core/focused-layout/product-logo/product-logo.figma.d.ts +2 -0
- package/dist/types/core/focused-layout/product-logo/product-logo.figma.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/__tests__/dialog.test.d.ts +2 -0
- package/dist/types/core/gallery-viewer/dialog/__tests__/dialog.test.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/content/__tests__/content.test.d.ts +2 -0
- package/dist/types/core/gallery-viewer/dialog/content/__tests__/content.test.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/content/content.d.ts +15 -0
- package/dist/types/core/gallery-viewer/dialog/content/content.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/content/content.stories.d.ts +293 -0
- package/dist/types/core/gallery-viewer/dialog/content/content.stories.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/content/index.d.ts +2 -0
- package/dist/types/core/gallery-viewer/dialog/content/index.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/content/styles.d.ts +2 -0
- package/dist/types/core/gallery-viewer/dialog/content/styles.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/context.d.ts +19 -0
- package/dist/types/core/gallery-viewer/dialog/context.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/dialog.d.ts +63 -0
- package/dist/types/core/gallery-viewer/dialog/dialog.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/dialog.stories.d.ts +34 -0
- package/dist/types/core/gallery-viewer/dialog/dialog.stories.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/header/__tests__/header.test.d.ts +2 -0
- package/dist/types/core/gallery-viewer/dialog/header/__tests__/header.test.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/header/close-button.d.ts +13 -0
- package/dist/types/core/gallery-viewer/dialog/header/close-button.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/header/header.d.ts +15 -0
- package/dist/types/core/gallery-viewer/dialog/header/header.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/header/header.stories.d.ts +302 -0
- package/dist/types/core/gallery-viewer/dialog/header/header.stories.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/header/index.d.ts +2 -0
- package/dist/types/core/gallery-viewer/dialog/header/index.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/header/styles.d.ts +4 -0
- package/dist/types/core/gallery-viewer/dialog/header/styles.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/index.d.ts +6 -0
- package/dist/types/core/gallery-viewer/dialog/index.d.ts.map +1 -0
- package/dist/types/core/gallery-viewer/dialog/styles.d.ts +2 -0
- package/dist/types/core/gallery-viewer/dialog/styles.d.ts.map +1 -0
- package/dist/types/core/index.d.ts +1 -0
- package/dist/types/core/index.d.ts.map +1 -1
- package/dist/types/core/table/body-row/styles.d.ts.map +1 -1
- package/dist/types/core/table/checkbox/styles.d.ts.map +1 -1
- package/dist/types/core/table/index.d.ts +0 -1
- package/dist/types/core/table/index.d.ts.map +1 -1
- package/dist/types/core/table/more-actions/styles.d.ts.map +1 -1
- package/dist/types/core/table/primary-action/styles.d.ts.map +1 -1
- package/dist/types/lab/index.d.ts +0 -1
- package/dist/types/lab/index.d.ts.map +1 -1
- package/package.json +1 -7
- package/dist/js/lab/search-input.js +0 -50
- package/dist/types/core/at-a-glance/card/card.figma.d.ts +0 -2
- package/dist/types/core/at-a-glance/card/card.figma.d.ts.map +0 -1
- package/dist/types/core/table/constants.d.ts +0 -9
- package/dist/types/core/table/constants.d.ts.map +0 -1
- package/dist/types/lab/search-input/__tests__/search-input.test.d.ts +0 -2
- package/dist/types/lab/search-input/__tests__/search-input.test.d.ts.map +0 -1
- package/dist/types/lab/search-input/index.d.ts +0 -3
- package/dist/types/lab/search-input/index.d.ts.map +0 -1
- package/dist/types/lab/search-input/search-input.d.ts +0 -32
- package/dist/types/lab/search-input/search-input.d.ts.map +0 -1
- package/dist/types/lab/search-input/search-input.stories.d.ts +0 -34
- package/dist/types/lab/search-input/search-input.stories.d.ts.map +0 -1
- package/dist/types/lab/search-input/styles.d.ts +0 -3
- package/dist/types/lab/search-input/styles.d.ts.map +0 -1
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
import { GalleryViewerDialogHeader } from './header';
|
|
2
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof GalleryViewerDialogHeader;
|
|
6
|
+
argTypes: {
|
|
7
|
+
children: {
|
|
8
|
+
control: "text";
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
globals: {
|
|
12
|
+
backgrounds: {
|
|
13
|
+
value: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-vite").ReactRenderer, {
|
|
17
|
+
children: import("react").ReactNode;
|
|
18
|
+
slot?: string | undefined | undefined;
|
|
19
|
+
style?: import("react").CSSProperties | undefined;
|
|
20
|
+
defaultChecked?: boolean | undefined | undefined;
|
|
21
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
22
|
+
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
23
|
+
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
24
|
+
accessKey?: string | undefined | undefined;
|
|
25
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
26
|
+
autoFocus?: boolean | undefined | undefined;
|
|
27
|
+
className?: string | undefined | undefined;
|
|
28
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
29
|
+
contextMenu?: string | undefined | undefined;
|
|
30
|
+
dir?: string | undefined | undefined;
|
|
31
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
32
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
33
|
+
hidden?: boolean | undefined | undefined;
|
|
34
|
+
id?: string | undefined | undefined;
|
|
35
|
+
lang?: string | undefined | undefined;
|
|
36
|
+
nonce?: string | undefined | undefined;
|
|
37
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
38
|
+
onChange?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
39
|
+
color?: string | undefined | undefined;
|
|
40
|
+
content?: string | undefined | undefined;
|
|
41
|
+
tabIndex?: number | undefined | undefined;
|
|
42
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
43
|
+
radioGroup?: string | undefined | undefined;
|
|
44
|
+
role?: import("react").AriaRole | undefined;
|
|
45
|
+
about?: string | undefined | undefined;
|
|
46
|
+
datatype?: string | undefined | undefined;
|
|
47
|
+
inlist?: any;
|
|
48
|
+
prefix?: string | undefined | undefined;
|
|
49
|
+
property?: string | undefined | undefined;
|
|
50
|
+
rel?: string | undefined | undefined;
|
|
51
|
+
resource?: string | undefined | undefined;
|
|
52
|
+
rev?: string | undefined | undefined;
|
|
53
|
+
typeof?: string | undefined | undefined;
|
|
54
|
+
vocab?: string | undefined | undefined;
|
|
55
|
+
autoCorrect?: string | undefined | undefined;
|
|
56
|
+
autoSave?: string | undefined | undefined;
|
|
57
|
+
itemProp?: string | undefined | undefined;
|
|
58
|
+
itemScope?: boolean | undefined | undefined;
|
|
59
|
+
itemType?: string | undefined | undefined;
|
|
60
|
+
itemID?: string | undefined | undefined;
|
|
61
|
+
itemRef?: string | undefined | undefined;
|
|
62
|
+
results?: number | undefined | undefined;
|
|
63
|
+
security?: string | undefined | undefined;
|
|
64
|
+
unselectable?: "on" | "off" | undefined | undefined;
|
|
65
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
66
|
+
is?: string | undefined | undefined;
|
|
67
|
+
exportparts?: string | undefined | undefined;
|
|
68
|
+
part?: string | undefined | undefined;
|
|
69
|
+
"aria-activedescendant"?: string | undefined | undefined;
|
|
70
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
71
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
72
|
+
"aria-braillelabel"?: string | undefined | undefined;
|
|
73
|
+
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
74
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
75
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
76
|
+
"aria-colcount"?: number | undefined | undefined;
|
|
77
|
+
"aria-colindex"?: number | undefined | undefined;
|
|
78
|
+
"aria-colindextext"?: string | undefined | undefined;
|
|
79
|
+
"aria-colspan"?: number | undefined | undefined;
|
|
80
|
+
"aria-controls"?: string | undefined | undefined;
|
|
81
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
82
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
83
|
+
"aria-description"?: string | undefined | undefined;
|
|
84
|
+
"aria-details"?: string | undefined | undefined;
|
|
85
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
86
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
87
|
+
"aria-errormessage"?: string | undefined | undefined;
|
|
88
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
89
|
+
"aria-flowto"?: string | undefined | undefined;
|
|
90
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
91
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
92
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
93
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
94
|
+
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
95
|
+
"aria-label"?: string | undefined | undefined;
|
|
96
|
+
"aria-labelledby"?: string | undefined | undefined;
|
|
97
|
+
"aria-level"?: number | undefined | undefined;
|
|
98
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
99
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
100
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
101
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
102
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
103
|
+
"aria-owns"?: string | undefined | undefined;
|
|
104
|
+
"aria-placeholder"?: string | undefined | undefined;
|
|
105
|
+
"aria-posinset"?: number | undefined | undefined;
|
|
106
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
107
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
108
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
109
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
110
|
+
"aria-roledescription"?: string | undefined | undefined;
|
|
111
|
+
"aria-rowcount"?: number | undefined | undefined;
|
|
112
|
+
"aria-rowindex"?: number | undefined | undefined;
|
|
113
|
+
"aria-rowindextext"?: string | undefined | undefined;
|
|
114
|
+
"aria-rowspan"?: number | undefined | undefined;
|
|
115
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
116
|
+
"aria-setsize"?: number | undefined | undefined;
|
|
117
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
118
|
+
"aria-valuemax"?: number | undefined | undefined;
|
|
119
|
+
"aria-valuemin"?: number | undefined | undefined;
|
|
120
|
+
"aria-valuenow"?: number | undefined | undefined;
|
|
121
|
+
"aria-valuetext"?: string | undefined | undefined;
|
|
122
|
+
dangerouslySetInnerHTML?: {
|
|
123
|
+
__html: string | TrustedHTML;
|
|
124
|
+
} | undefined | undefined;
|
|
125
|
+
onCopy?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
126
|
+
onCopyCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
127
|
+
onCut?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
128
|
+
onCutCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
129
|
+
onPaste?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
130
|
+
onPasteCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
131
|
+
onCompositionEnd?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
132
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
133
|
+
onCompositionStart?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
134
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
135
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
136
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
137
|
+
onFocus?: import("react").FocusEventHandler<HTMLElement> | undefined;
|
|
138
|
+
onFocusCapture?: import("react").FocusEventHandler<HTMLElement> | undefined;
|
|
139
|
+
onBlur?: import("react").FocusEventHandler<HTMLElement> | undefined;
|
|
140
|
+
onBlurCapture?: import("react").FocusEventHandler<HTMLElement> | undefined;
|
|
141
|
+
onChangeCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
142
|
+
onBeforeInput?: import("react").InputEventHandler<HTMLElement> | undefined;
|
|
143
|
+
onBeforeInputCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
144
|
+
onInput?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
145
|
+
onInputCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
146
|
+
onReset?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
147
|
+
onResetCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
148
|
+
onSubmit?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
149
|
+
onSubmitCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
150
|
+
onInvalid?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
151
|
+
onInvalidCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
152
|
+
onLoad?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
153
|
+
onLoadCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
154
|
+
onError?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
155
|
+
onErrorCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
156
|
+
onKeyDown?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
157
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
158
|
+
onKeyPress?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
159
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
160
|
+
onKeyUp?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
161
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
162
|
+
onAbort?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
163
|
+
onAbortCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
164
|
+
onCanPlay?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
165
|
+
onCanPlayCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
166
|
+
onCanPlayThrough?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
167
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
168
|
+
onDurationChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
169
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
170
|
+
onEmptied?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
171
|
+
onEmptiedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
172
|
+
onEncrypted?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
173
|
+
onEncryptedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
174
|
+
onEnded?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
175
|
+
onEndedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
176
|
+
onLoadedData?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
177
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
178
|
+
onLoadedMetadata?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
179
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
180
|
+
onLoadStart?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
181
|
+
onLoadStartCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
182
|
+
onPause?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
183
|
+
onPauseCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
184
|
+
onPlay?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
185
|
+
onPlayCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
186
|
+
onPlaying?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
187
|
+
onPlayingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
188
|
+
onProgress?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
189
|
+
onProgressCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
190
|
+
onRateChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
191
|
+
onRateChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
192
|
+
onSeeked?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
193
|
+
onSeekedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
194
|
+
onSeeking?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
195
|
+
onSeekingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
196
|
+
onStalled?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
197
|
+
onStalledCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
198
|
+
onSuspend?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
199
|
+
onSuspendCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
200
|
+
onTimeUpdate?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
201
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
202
|
+
onVolumeChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
203
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
204
|
+
onWaiting?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
205
|
+
onWaitingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
206
|
+
onAuxClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
207
|
+
onAuxClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
208
|
+
onClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
209
|
+
onClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
210
|
+
onContextMenu?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
211
|
+
onContextMenuCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
212
|
+
onDoubleClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
213
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
214
|
+
onDrag?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
215
|
+
onDragCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
216
|
+
onDragEnd?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
217
|
+
onDragEndCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
218
|
+
onDragEnter?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
219
|
+
onDragEnterCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
220
|
+
onDragExit?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
221
|
+
onDragExitCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
222
|
+
onDragLeave?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
223
|
+
onDragLeaveCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
224
|
+
onDragOver?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
225
|
+
onDragOverCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
226
|
+
onDragStart?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
227
|
+
onDragStartCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
228
|
+
onDrop?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
229
|
+
onDropCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
230
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
231
|
+
onMouseDownCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
232
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
233
|
+
onMouseLeave?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
234
|
+
onMouseMove?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
235
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
236
|
+
onMouseOut?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
237
|
+
onMouseOutCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
238
|
+
onMouseOver?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
239
|
+
onMouseOverCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
240
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
241
|
+
onMouseUpCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
242
|
+
onSelect?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
243
|
+
onSelectCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
244
|
+
onTouchCancel?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
245
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
246
|
+
onTouchEnd?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
247
|
+
onTouchEndCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
248
|
+
onTouchMove?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
249
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
250
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
251
|
+
onTouchStartCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
252
|
+
onPointerDown?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
253
|
+
onPointerDownCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
254
|
+
onPointerMove?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
255
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
256
|
+
onPointerUp?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
257
|
+
onPointerUpCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
258
|
+
onPointerCancel?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
259
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
260
|
+
onPointerEnter?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
261
|
+
onPointerLeave?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
262
|
+
onPointerOver?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
263
|
+
onPointerOverCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
264
|
+
onPointerOut?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
265
|
+
onPointerOutCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
266
|
+
onGotPointerCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
267
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
268
|
+
onLostPointerCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
269
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
270
|
+
onScroll?: import("react").UIEventHandler<HTMLElement> | undefined;
|
|
271
|
+
onScrollCapture?: import("react").UIEventHandler<HTMLElement> | undefined;
|
|
272
|
+
onWheel?: import("react").WheelEventHandler<HTMLElement> | undefined;
|
|
273
|
+
onWheelCapture?: import("react").WheelEventHandler<HTMLElement> | undefined;
|
|
274
|
+
onAnimationStart?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
275
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
276
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
277
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
278
|
+
onAnimationIteration?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
279
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
280
|
+
onTransitionEnd?: import("react").TransitionEventHandler<HTMLElement> | undefined;
|
|
281
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
|
|
282
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
283
|
+
};
|
|
284
|
+
export default meta;
|
|
285
|
+
type Story = StoryObj<typeof meta>;
|
|
286
|
+
export declare const Example: Story;
|
|
287
|
+
/**
|
|
288
|
+
* When the title text is very long and the container is constrained, the text will truncate with an ellipsis.
|
|
289
|
+
*/
|
|
290
|
+
export declare const Truncation: Story;
|
|
291
|
+
/**
|
|
292
|
+
* By default, the gallery viewer dialog header uses `position: sticky` so that it remains
|
|
293
|
+
* visible as the dialog scrolls. This ensures the title and close action are always accessible
|
|
294
|
+
* when the user is viewing long content.
|
|
295
|
+
*/
|
|
296
|
+
export declare const StickyPositioning: Story;
|
|
297
|
+
/**
|
|
298
|
+
* The dialog header will adjust its layout based on the inline-size of the gallery viewer dialog. This story demonstrates
|
|
299
|
+
* the layout changes (e.g. padding adjustments) within containers that mimic different breakpoints.
|
|
300
|
+
*/
|
|
301
|
+
export declare const DynamicLayout: Story;
|
|
302
|
+
//# sourceMappingURL=header.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/core/gallery-viewer/dialog/header/header.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAA;AAGpD,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAE3D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBwC,CAAA;AAElD,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAmBxB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAqB/B,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,KA6C3B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/gallery-viewer/dialog/header/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const elGalleryViewerDialogHeader: import("@linaria/core").LinariaClassName;
|
|
2
|
+
export declare const elGalleryViewerDialogHeaderTitle: import("@linaria/core").LinariaClassName;
|
|
3
|
+
export declare const elGalleryViewerDialogHeaderAction: import("@linaria/core").LinariaClassName;
|
|
4
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/core/gallery-viewer/dialog/header/styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,2BAA2B,0CAmBvC,CAAA;AAED,eAAO,MAAM,gCAAgC,0CAO5C,CAAA;AAED,eAAO,MAAM,iCAAiC,0CAE7C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/core/gallery-viewer/dialog/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/gallery-viewer/dialog/styles.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,qBAAqB,0CA8FjC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,wBAAwB,CAAA;AACtC,cAAc,UAAU,CAAA;AACxB,cAAc,oBAAoB,CAAA;AAClC,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,0BAA0B,CAAA;AACxC,cAAc,kBAAkB,CAAA;AAChC,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,kBAAkB,CAAA;AAChC,cAAc,QAAQ,CAAA;AACtB,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,yBAAyB,CAAA;AACvC,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,wBAAwB,CAAA;AACtC,cAAc,UAAU,CAAA;AACxB,cAAc,oBAAoB,CAAA;AAClC,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,0BAA0B,CAAA;AACxC,cAAc,kBAAkB,CAAA;AAChC,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,kBAAkB,CAAA;AAChC,cAAc,QAAQ,CAAA;AACtB,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,yBAAyB,CAAA;AACvC,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/table/body-row/styles.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/table/body-row/styles.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc,0CA0C1B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/table/checkbox/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/table/checkbox/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,0CAY/B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/table/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/table/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,sBAAsB,CAAA;AACpC,cAAc,QAAQ,CAAA;AACtB,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/table/more-actions/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/table/more-actions/styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,2BAA2B,0CAiCvC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/table/primary-action/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/table/primary-action/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,uBAAuB,0CAiCnC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lab/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lab/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reapit/elements",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.84",
|
|
4
4
|
"description": "A React implementation of Reapit's Design System",
|
|
5
5
|
"homepage": "https://github.com/reapit/elements#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -88,7 +88,6 @@
|
|
|
88
88
|
"check:lint:es": "oxlint src",
|
|
89
89
|
"check:lint:fmt": "oxfmt --check",
|
|
90
90
|
"make-badge": "coverage-badges --type ${0} --source coverage/report/coverage-summary.json --output coverage/badges/badge-${0}.svg --jsonPath total.${0}.pct",
|
|
91
|
-
"deploy": "yarn node scripts/cdk/bin/rpt-cdk.cjs deploy",
|
|
92
91
|
"start": "storybook dev -p 6006",
|
|
93
92
|
"test": "vitest",
|
|
94
93
|
"visual-test": "yarn build:storybook && yarn playwright test"
|
|
@@ -124,11 +123,7 @@
|
|
|
124
123
|
"@vitest/coverage-v8": "^4.1.0",
|
|
125
124
|
"@wyw-in-js/babel-preset": "1.0.6",
|
|
126
125
|
"@wyw-in-js/vite": "1.0.6",
|
|
127
|
-
"aws-cdk": "2.137.0",
|
|
128
|
-
"aws-cdk-lib": "2.137.0",
|
|
129
|
-
"aws-sdk": "2.1597.0",
|
|
130
126
|
"colord": "2.9.3",
|
|
131
|
-
"constructs": "10.5.1",
|
|
132
127
|
"coverage-badges-cli": "2.2.0",
|
|
133
128
|
"dashify": "2.0.0",
|
|
134
129
|
"esbuild": "^0.27.4",
|
|
@@ -147,7 +142,6 @@
|
|
|
147
142
|
"style-dictionary": "5.4.0",
|
|
148
143
|
"stylelint": "17.5.0",
|
|
149
144
|
"ts-morph": "^27.0.2",
|
|
150
|
-
"ts-node": "10.9.2",
|
|
151
145
|
"typescript": "^5.9.3",
|
|
152
146
|
"vite": "^8.0.0",
|
|
153
147
|
"vite-plugin-svgr": "^4.5.0",
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../dist-DLc9lUhF.js";
|
|
2
|
-
import "../make-icon-Cez0iOAn.js";
|
|
3
|
-
import { t } from "../close-DmeJ8DiA.js";
|
|
4
|
-
import { t as n } from "../button-jgaS-YWF.js";
|
|
5
|
-
import { t as r } from "../search-DYJfeeux.js";
|
|
6
|
-
import { useState as i } from "react";
|
|
7
|
-
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
8
|
-
//#region src/lab/search-input/styles.ts
|
|
9
|
-
var s = /* @__PURE__ */ e("input")({
|
|
10
|
-
name: "ElExperimentalSearchInput",
|
|
11
|
-
class: "el-experimental-search-input",
|
|
12
|
-
propsAsIs: !1
|
|
13
|
-
}), c = /* @__PURE__ */ e("div")({
|
|
14
|
-
name: "ElExperimentalSearchInputContainer",
|
|
15
|
-
class: "el-experimental-search-input-container",
|
|
16
|
-
propsAsIs: !1
|
|
17
|
-
}), l = ({ inputSize: e = "medium", isDisabled: l = !1, unstable_onSearch: u, ...d }) => {
|
|
18
|
-
let [f, p] = i(""), m = (e) => {
|
|
19
|
-
p(e.target.value), u && u(e.target.value), d.onChange && d.onChange(e);
|
|
20
|
-
}, h = () => {
|
|
21
|
-
p(""), u && u("");
|
|
22
|
-
};
|
|
23
|
-
return /* @__PURE__ */ o(c, {
|
|
24
|
-
"data-size": e,
|
|
25
|
-
"aria-disabled": l,
|
|
26
|
-
children: [
|
|
27
|
-
!f && /* @__PURE__ */ a(r, {
|
|
28
|
-
size: "sm",
|
|
29
|
-
color: "primary"
|
|
30
|
-
}),
|
|
31
|
-
/* @__PURE__ */ a(s, {
|
|
32
|
-
value: f,
|
|
33
|
-
onChange: m,
|
|
34
|
-
placeholder: d.placeholder || "Search",
|
|
35
|
-
name: "search-input",
|
|
36
|
-
disabled: l,
|
|
37
|
-
type: "search",
|
|
38
|
-
...d
|
|
39
|
-
}),
|
|
40
|
-
f && /* @__PURE__ */ a(n, {
|
|
41
|
-
iconLeft: /* @__PURE__ */ a(t, { color: "primary" }),
|
|
42
|
-
size: "small",
|
|
43
|
-
variant: "tertiary",
|
|
44
|
-
onClick: h
|
|
45
|
-
})
|
|
46
|
-
]
|
|
47
|
-
});
|
|
48
|
-
};
|
|
49
|
-
//#endregion
|
|
50
|
-
export { s as ElExperimentalSearchInput, c as ElExperimentalSearchInputContainer, l as SearchInput };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card.figma.d.ts","sourceRoot":"","sources":["../../../../../src/core/at-a-glance/card/card.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/** The z-index of the table row's primary action. */
|
|
2
|
-
export declare const TABLE_ROW_PRIMARY_ACTION_Z_INDEX = 1;
|
|
3
|
-
/**
|
|
4
|
-
* The z-index of other interactive elements in the table row. Must be greater than
|
|
5
|
-
* row's primary action z-index, otherwise the row's primary action will cover the other
|
|
6
|
-
* interactive elements and they will not be clickable.
|
|
7
|
-
*/
|
|
8
|
-
export declare const TABLE_ROW_INTERACTIVE_ELEMENT_Z_INDEX = 2;
|
|
9
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/core/table/constants.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,eAAO,MAAM,gCAAgC,IAAI,CAAA;AAEjD;;;;GAIG;AACH,eAAO,MAAM,qCAAqC,IAAI,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"search-input.test.d.ts","sourceRoot":"","sources":["../../../../../src/lab/search-input/__tests__/search-input.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lab/search-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { FC, InputHTMLAttributes } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Props for the SearchInput component.
|
|
4
|
-
*/
|
|
5
|
-
export interface SearchInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
6
|
-
/**
|
|
7
|
-
* Controls the size of the search input.
|
|
8
|
-
* @default "medium"
|
|
9
|
-
*/
|
|
10
|
-
inputSize?: 'small' | 'medium' | 'large';
|
|
11
|
-
/**
|
|
12
|
-
* If `true`, the input will be disabled and changes will be ignored.
|
|
13
|
-
* @default false
|
|
14
|
-
*/
|
|
15
|
-
isDisabled?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Callback fired whenever the input value changes or when the clear button is pressed.
|
|
18
|
-
* Considered unstable because it may be removed in future when the component is standardised
|
|
19
|
-
* in `@reapit/elements/core`.
|
|
20
|
-
*/
|
|
21
|
-
unstable_onSearch?: (value: string) => void;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* A controlled search input component with:
|
|
25
|
-
* - A leading search icon (visible when the field is empty).
|
|
26
|
-
* - A clear button (visible when the field has a value).
|
|
27
|
-
* - Support for custom sizes and disabled state.
|
|
28
|
-
*
|
|
29
|
-
* @deprecated
|
|
30
|
-
*/
|
|
31
|
-
export declare const SearchInput: FC<SearchInputProps>;
|
|
32
|
-
//# sourceMappingURL=search-input.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"search-input.d.ts","sourceRoot":"","sources":["../../../../src/lab/search-input/search-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,EAAE,EAAe,mBAAmB,EAAE,MAAM,OAAO,CAAA;AAMtE;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB,CAAC,gBAAgB,CAAC;IAC7E;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACxC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAC5C;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAoC5C,CAAA"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").FC<import("./search-input").SearchInputProps>;
|
|
5
|
-
argTypes: {
|
|
6
|
-
inputSize: {
|
|
7
|
-
control: "radio";
|
|
8
|
-
options: string[];
|
|
9
|
-
};
|
|
10
|
-
isDisabled: {
|
|
11
|
-
control: "boolean";
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default meta;
|
|
16
|
-
type Story = StoryObj<typeof meta>;
|
|
17
|
-
/**
|
|
18
|
-
* Renders a `SearchInput` with the default configuration:
|
|
19
|
-
* - `inputSize` = `"medium"`
|
|
20
|
-
* - `isDisabled` = `false`
|
|
21
|
-
*/
|
|
22
|
-
export declare const Default: Story;
|
|
23
|
-
/**
|
|
24
|
-
* Renders a `SearchInput` in a disabled state:
|
|
25
|
-
* - `isDisabled` = `true`
|
|
26
|
-
* - User interaction is blocked.
|
|
27
|
-
*/
|
|
28
|
-
export declare const IsDisabled: Story;
|
|
29
|
-
/**
|
|
30
|
-
* Renders a `SearchInput` with a larger input field:
|
|
31
|
-
* - `inputSize` = `"large"`
|
|
32
|
-
*/
|
|
33
|
-
export declare const SizeLarge: Story;
|
|
34
|
-
//# sourceMappingURL=search-input.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"search-input.stories.d.ts","sourceRoot":"","sources":["../../../../src/lab/search-input/search-input.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAE3D,QAAA,MAAM,IAAI;;;;;;;;;;;;CAY0B,CAAA;AAEpC,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC;;;;GAIG;AACH,eAAO,MAAM,OAAO,EAAE,KAErB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,KAIxB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAA"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare const ElExperimentalSearchInput: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Record<never, unknown>>;
|
|
2
|
-
export declare const ElExperimentalSearchInputContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
3
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/lab/search-input/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,yBAAyB,8KAiBrC,CAAA;AAED,eAAO,MAAM,kCAAkC,qKA4D9C,CAAA"}
|