@ckbox/components 1.0.0 → 1.1.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/dist/index.d.ts CHANGED
@@ -93,6 +93,8 @@ declare const WarningFill: React.FC<Props$16>;
93
93
 
94
94
  declare const Search: React.FC<Props$16>;
95
95
 
96
+ declare const XCircle: React.FC<Props$16>;
97
+
96
98
  declare const icons$1_ArrowLeftEnd: typeof ArrowLeftEnd;
97
99
  declare const icons$1_ArrowRightEnd: typeof ArrowRightEnd;
98
100
  declare const icons$1_ArrowLeft: typeof ArrowLeft;
@@ -121,6 +123,7 @@ declare const icons$1_Upload: typeof Upload;
121
123
  declare const icons$1_Warning: typeof Warning;
122
124
  declare const icons$1_WarningFill: typeof WarningFill;
123
125
  declare const icons$1_Search: typeof Search;
126
+ declare const icons$1_XCircle: typeof XCircle;
124
127
  declare namespace icons$1 {
125
128
  export {
126
129
  icons$1_ArrowLeftEnd as ArrowLeftEnd,
@@ -152,6 +155,7 @@ declare namespace icons$1 {
152
155
  icons$1_Warning as Warning,
153
156
  icons$1_WarningFill as WarningFill,
154
157
  icons$1_Search as Search,
158
+ icons$1_XCircle as XCircle,
155
159
  };
156
160
  }
157
161
 
@@ -341,6 +345,10 @@ interface Props$$ {
341
345
  * Dialog title size.
342
346
  */
343
347
  titleSize?: 'sm' | 'md';
348
+ /**
349
+ * Causes header height to be based on font size, even if title is not provided.
350
+ */
351
+ useFontBasedHeaderHeight?: boolean;
344
352
  /**
345
353
  * Dialog header type.
346
354
  */
@@ -522,6 +530,10 @@ interface Props$U {
522
530
  * Sets `keydown` event handler.
523
531
  */
524
532
  onKeyDown?: React.KeyboardEventHandler<HTMLDivElement>;
533
+ /**
534
+ * Sets `dblclick` event handler.
535
+ */
536
+ onDoubleClick?: React.MouseEventHandler<HTMLDivElement>;
525
537
  }
526
538
 
527
539
  declare const Gallery: React.FC<Props$T>;
@@ -854,6 +866,10 @@ interface Props$J {
854
866
  * Color variant.
855
867
  */
856
868
  variant?: 'transparent' | 'dark';
869
+ /**
870
+ * Optional class to append.
871
+ */
872
+ className?: string;
857
873
  }
858
874
 
859
875
  declare const PanelList: React.FC<Props$I>;
@@ -1247,14 +1263,6 @@ interface Props$w {
1247
1263
  * Main content of the component.
1248
1264
  */
1249
1265
  children: React.ReactNode;
1250
- /**
1251
- * Adds aria-role for `label` column
1252
- */
1253
- labelColAriaLabel?: string;
1254
- /**
1255
- * Adds aria-role for `value` column
1256
- */
1257
- valueColAriaLabel?: string;
1258
1266
  }
1259
1267
 
1260
1268
  /**