smartsell-ui-kit 0.1.16 → 0.1.18

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/styles.css CHANGED
@@ -1076,10 +1076,6 @@
1076
1076
  font-size: 18px;
1077
1077
  }
1078
1078
 
1079
- .text-\[20px\] {
1080
- font-size: 20px;
1081
- }
1082
-
1083
1079
  .text-\[24px\] {
1084
1080
  font-size: 24px;
1085
1081
  }
@@ -1167,10 +1163,6 @@
1167
1163
  line-height: 18px;
1168
1164
  }
1169
1165
 
1170
- .leading-none {
1171
- line-height: 1;
1172
- }
1173
-
1174
1166
  .tracking-\[0\.01em\] {
1175
1167
  letter-spacing: 0.01em;
1176
1168
  }
@@ -1377,6 +1369,10 @@
1377
1369
  border-color: var(--theme-primaryLight);
1378
1370
  }
1379
1371
 
1372
+ .hover\:bg-\[var\(--theme-background\)\]:hover {
1373
+ background-color: var(--theme-background);
1374
+ }
1375
+
1380
1376
  .hover\:bg-\[var\(--theme-primaryLight\)\]:hover {
1381
1377
  background-color: var(--theme-primaryLight);
1382
1378
  }
@@ -1401,6 +1397,22 @@
1401
1397
  text-decoration-line: none;
1402
1398
  }
1403
1399
 
1400
+ .focus-visible\:outline:focus-visible {
1401
+ outline-style: solid;
1402
+ }
1403
+
1404
+ .focus-visible\:outline-2:focus-visible {
1405
+ outline-width: 2px;
1406
+ }
1407
+
1408
+ .focus-visible\:outline-offset-2:focus-visible {
1409
+ outline-offset: 2px;
1410
+ }
1411
+
1412
+ .focus-visible\:outline-\[var\(--theme-primary\)\]:focus-visible {
1413
+ outline-color: var(--theme-primary);
1414
+ }
1415
+
1404
1416
  .active\:border-\[var\(--theme-negative\)\]:active {
1405
1417
  border-color: var(--theme-negative);
1406
1418
  }
@@ -1413,6 +1425,10 @@
1413
1425
  border-color: transparent;
1414
1426
  }
1415
1427
 
1428
+ .active\:bg-\[var\(--theme-background\)\]:active {
1429
+ background-color: var(--theme-background);
1430
+ }
1431
+
1416
1432
  .active\:bg-\[var\(--theme-negative\)\]:active {
1417
1433
  background-color: var(--theme-negative);
1418
1434
  }
@@ -292,6 +292,7 @@ interface TableAction<TItem> {
292
292
  tone?: TableActionTone;
293
293
  }
294
294
  type TableActionSource<TItem> = Array<TableAction<TItem>> | ((item: TItem, index: number) => Array<TableAction<TItem>>);
295
+ type TableRowClickHandler<TItem> = (item: TItem, index: number) => void;
295
296
  interface TableLabels {
296
297
  searchPlaceholder?: string;
297
298
  emptyMessage?: ReactNode;
@@ -324,6 +325,7 @@ interface SharedTableProps<TItem> {
324
325
  desktopColumns: Array<TableColumn<TItem>>;
325
326
  mobileColumns: Array<TableColumn<TItem>>;
326
327
  getRowId?: (item: TItem, index: number) => string;
328
+ onRowClick?: TableRowClickHandler<TItem>;
327
329
  actions?: TableActionSource<TItem>;
328
330
  stickyActionsColumn?: boolean;
329
331
  maxInlineActions?: number;
@@ -389,4 +391,4 @@ interface TextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>
389
391
  }
390
392
  declare function Textarea({ label, hint, error, size, id, disabled, style, rows, placeholder, ...rest }: TextareaProps): react_jsx_runtime.JSX.Element;
391
393
 
392
- export { type TableProps as $, type SelectAsyncOption as A, Button as B, type ControlSize as C, DatePicker as D, type SelectAsyncOptionValue as E, type SelectAsyncProps as F, type SelectProps as G, Separator as H, Input as I, type SeparatorOrientation as J, type SeparatorProps as K, type SharedTableProps as L, Modal as M, type StandardModalProps as N, type TableAction as O, type TableActionSource as P, type TableActionTone as Q, TableAsync as R, Select as S, Table as T, type TableAsyncLoadContext as U, type TableAsyncLoadResult as V, type TableAsyncProps as W, type TableColumn as X, type TableColumnAlign as Y, type TableColumnType as Z, type TableLabels as _, type ButtonProps as a, Textarea as a0, type TextareaProps as a1, type UiKitTheme as a2, createModalSlotIds as a3, useUiKitTheme as a4, Card as b, type CardProps as c, CardSmall as d, type CardSmallProps as e, Checkbox as f, type CheckboxProps as g, ComposableModal as h, type ComposableModalProps as i, type ComposableModalSlotRenderProps as j, type ComposableModalSlotRenderer as k, type DatePickerChangeContext as l, type DatePickerChangeReason as m, type DatePickerMode as n, type DatePickerProps as o, type DatePickerValue as p, type InputProps as q, type ModalAction as r, type ModalProps as s, type ModalSlotContext as t, type ModalSlotIds as u, type ModalTheme as v, type ModalThemeSource as w, SelectAsync as x, type SelectAsyncLoadContext as y, type SelectAsyncLoadResult as z };
394
+ export { type TableProps as $, type SelectAsyncOption as A, type ButtonProps as B, type ControlSize as C, DatePicker as D, type SelectAsyncOptionValue as E, type SelectAsyncProps as F, type SelectProps as G, Separator as H, Input as I, type SeparatorOrientation as J, type SeparatorProps as K, type SharedTableProps as L, Modal as M, type StandardModalProps as N, type TableAction as O, type TableActionSource as P, type TableActionTone as Q, TableAsync as R, Select as S, Table as T, type TableAsyncLoadContext as U, type TableAsyncLoadResult as V, type TableAsyncProps as W, type TableColumn as X, type TableColumnAlign as Y, type TableColumnType as Z, type TableLabels as _, Button as a, type TableRowClickHandler as a0, Textarea as a1, type TextareaProps as a2, type UiKitTheme as a3, createModalSlotIds as a4, useUiKitTheme as a5, Card as b, type CardProps as c, CardSmall as d, type CardSmallProps as e, Checkbox as f, type CheckboxProps as g, ComposableModal as h, type ComposableModalProps as i, type ComposableModalSlotRenderProps as j, type ComposableModalSlotRenderer as k, type DatePickerChangeContext as l, type DatePickerChangeReason as m, type DatePickerMode as n, type DatePickerProps as o, type DatePickerValue as p, type InputProps as q, type ModalAction as r, type ModalProps as s, type ModalSlotContext as t, type ModalSlotIds as u, type ModalTheme as v, type ModalThemeSource as w, SelectAsync as x, type SelectAsyncLoadContext as y, type SelectAsyncLoadResult as z };
@@ -292,6 +292,7 @@ interface TableAction<TItem> {
292
292
  tone?: TableActionTone;
293
293
  }
294
294
  type TableActionSource<TItem> = Array<TableAction<TItem>> | ((item: TItem, index: number) => Array<TableAction<TItem>>);
295
+ type TableRowClickHandler<TItem> = (item: TItem, index: number) => void;
295
296
  interface TableLabels {
296
297
  searchPlaceholder?: string;
297
298
  emptyMessage?: ReactNode;
@@ -324,6 +325,7 @@ interface SharedTableProps<TItem> {
324
325
  desktopColumns: Array<TableColumn<TItem>>;
325
326
  mobileColumns: Array<TableColumn<TItem>>;
326
327
  getRowId?: (item: TItem, index: number) => string;
328
+ onRowClick?: TableRowClickHandler<TItem>;
327
329
  actions?: TableActionSource<TItem>;
328
330
  stickyActionsColumn?: boolean;
329
331
  maxInlineActions?: number;
@@ -389,4 +391,4 @@ interface TextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>
389
391
  }
390
392
  declare function Textarea({ label, hint, error, size, id, disabled, style, rows, placeholder, ...rest }: TextareaProps): react_jsx_runtime.JSX.Element;
391
393
 
392
- export { type TableProps as $, type SelectAsyncOption as A, Button as B, type ControlSize as C, DatePicker as D, type SelectAsyncOptionValue as E, type SelectAsyncProps as F, type SelectProps as G, Separator as H, Input as I, type SeparatorOrientation as J, type SeparatorProps as K, type SharedTableProps as L, Modal as M, type StandardModalProps as N, type TableAction as O, type TableActionSource as P, type TableActionTone as Q, TableAsync as R, Select as S, Table as T, type TableAsyncLoadContext as U, type TableAsyncLoadResult as V, type TableAsyncProps as W, type TableColumn as X, type TableColumnAlign as Y, type TableColumnType as Z, type TableLabels as _, type ButtonProps as a, Textarea as a0, type TextareaProps as a1, type UiKitTheme as a2, createModalSlotIds as a3, useUiKitTheme as a4, Card as b, type CardProps as c, CardSmall as d, type CardSmallProps as e, Checkbox as f, type CheckboxProps as g, ComposableModal as h, type ComposableModalProps as i, type ComposableModalSlotRenderProps as j, type ComposableModalSlotRenderer as k, type DatePickerChangeContext as l, type DatePickerChangeReason as m, type DatePickerMode as n, type DatePickerProps as o, type DatePickerValue as p, type InputProps as q, type ModalAction as r, type ModalProps as s, type ModalSlotContext as t, type ModalSlotIds as u, type ModalTheme as v, type ModalThemeSource as w, SelectAsync as x, type SelectAsyncLoadContext as y, type SelectAsyncLoadResult as z };
394
+ export { type TableProps as $, type SelectAsyncOption as A, type ButtonProps as B, type ControlSize as C, DatePicker as D, type SelectAsyncOptionValue as E, type SelectAsyncProps as F, type SelectProps as G, Separator as H, Input as I, type SeparatorOrientation as J, type SeparatorProps as K, type SharedTableProps as L, Modal as M, type StandardModalProps as N, type TableAction as O, type TableActionSource as P, type TableActionTone as Q, TableAsync as R, Select as S, Table as T, type TableAsyncLoadContext as U, type TableAsyncLoadResult as V, type TableAsyncProps as W, type TableColumn as X, type TableColumnAlign as Y, type TableColumnType as Z, type TableLabels as _, Button as a, type TableRowClickHandler as a0, Textarea as a1, type TextareaProps as a2, type UiKitTheme as a3, createModalSlotIds as a4, useUiKitTheme as a5, Card as b, type CardProps as c, CardSmall as d, type CardSmallProps as e, Checkbox as f, type CheckboxProps as g, ComposableModal as h, type ComposableModalProps as i, type ComposableModalSlotRenderProps as j, type ComposableModalSlotRenderer as k, type DatePickerChangeContext as l, type DatePickerChangeReason as m, type DatePickerMode as n, type DatePickerProps as o, type DatePickerValue as p, type InputProps as q, type ModalAction as r, type ModalProps as s, type ModalSlotContext as t, type ModalSlotIds as u, type ModalTheme as v, type ModalThemeSource as w, SelectAsync as x, type SelectAsyncLoadContext as y, type SelectAsyncLoadResult as z };
package/dist/types.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { a as ButtonProps, c as CardProps, e as CardSmallProps, g as CheckboxProps, i as ComposableModalProps, j as ComposableModalSlotRenderProps, k as ComposableModalSlotRenderer, C as ControlSize, l as DatePickerChangeContext, m as DatePickerChangeReason, n as DatePickerMode, o as DatePickerProps, p as DatePickerValue, q as InputProps, r as ModalAction, s as ModalProps, t as ModalSlotContext, u as ModalSlotIds, v as ModalTheme, w as ModalThemeSource, y as SelectAsyncLoadContext, z as SelectAsyncLoadResult, A as SelectAsyncOption, E as SelectAsyncOptionValue, F as SelectAsyncProps, G as SelectProps, J as SeparatorOrientation, K as SeparatorProps, L as SharedTableProps, N as StandardModalProps, O as TableAction, P as TableActionSource, Q as TableActionTone, U as TableAsyncLoadContext, V as TableAsyncLoadResult, W as TableAsyncProps, X as TableColumn, Y as TableColumnAlign, Z as TableColumnType, _ as TableLabels, $ as TableProps, a1 as TextareaProps, a2 as UiKitTheme } from './types-ENHTzCG6.cjs';
1
+ export { B as ButtonProps, c as CardProps, e as CardSmallProps, g as CheckboxProps, i as ComposableModalProps, j as ComposableModalSlotRenderProps, k as ComposableModalSlotRenderer, C as ControlSize, l as DatePickerChangeContext, m as DatePickerChangeReason, n as DatePickerMode, o as DatePickerProps, p as DatePickerValue, q as InputProps, r as ModalAction, s as ModalProps, t as ModalSlotContext, u as ModalSlotIds, v as ModalTheme, w as ModalThemeSource, y as SelectAsyncLoadContext, z as SelectAsyncLoadResult, A as SelectAsyncOption, E as SelectAsyncOptionValue, F as SelectAsyncProps, G as SelectProps, J as SeparatorOrientation, K as SeparatorProps, L as SharedTableProps, N as StandardModalProps, O as TableAction, P as TableActionSource, Q as TableActionTone, U as TableAsyncLoadContext, V as TableAsyncLoadResult, W as TableAsyncProps, X as TableColumn, Y as TableColumnAlign, Z as TableColumnType, _ as TableLabels, $ as TableProps, a2 as TextareaProps, a3 as UiKitTheme } from './types-CSdgG6bT.cjs';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'smartsell-theme';
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { a as ButtonProps, c as CardProps, e as CardSmallProps, g as CheckboxProps, i as ComposableModalProps, j as ComposableModalSlotRenderProps, k as ComposableModalSlotRenderer, C as ControlSize, l as DatePickerChangeContext, m as DatePickerChangeReason, n as DatePickerMode, o as DatePickerProps, p as DatePickerValue, q as InputProps, r as ModalAction, s as ModalProps, t as ModalSlotContext, u as ModalSlotIds, v as ModalTheme, w as ModalThemeSource, y as SelectAsyncLoadContext, z as SelectAsyncLoadResult, A as SelectAsyncOption, E as SelectAsyncOptionValue, F as SelectAsyncProps, G as SelectProps, J as SeparatorOrientation, K as SeparatorProps, L as SharedTableProps, N as StandardModalProps, O as TableAction, P as TableActionSource, Q as TableActionTone, U as TableAsyncLoadContext, V as TableAsyncLoadResult, W as TableAsyncProps, X as TableColumn, Y as TableColumnAlign, Z as TableColumnType, _ as TableLabels, $ as TableProps, a1 as TextareaProps, a2 as UiKitTheme } from './types-ENHTzCG6.js';
1
+ export { B as ButtonProps, c as CardProps, e as CardSmallProps, g as CheckboxProps, i as ComposableModalProps, j as ComposableModalSlotRenderProps, k as ComposableModalSlotRenderer, C as ControlSize, l as DatePickerChangeContext, m as DatePickerChangeReason, n as DatePickerMode, o as DatePickerProps, p as DatePickerValue, q as InputProps, r as ModalAction, s as ModalProps, t as ModalSlotContext, u as ModalSlotIds, v as ModalTheme, w as ModalThemeSource, y as SelectAsyncLoadContext, z as SelectAsyncLoadResult, A as SelectAsyncOption, E as SelectAsyncOptionValue, F as SelectAsyncProps, G as SelectProps, J as SeparatorOrientation, K as SeparatorProps, L as SharedTableProps, N as StandardModalProps, O as TableAction, P as TableActionSource, Q as TableActionTone, U as TableAsyncLoadContext, V as TableAsyncLoadResult, W as TableAsyncProps, X as TableColumn, Y as TableColumnAlign, Z as TableColumnType, _ as TableLabels, $ as TableProps, a2 as TextareaProps, a3 as UiKitTheme } from './types-CSdgG6bT.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'smartsell-theme';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smartsell-ui-kit",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "Public UI primitives and modal helpers for SmartSell applications.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",