smartsell-ui-kit 0.1.21 → 0.1.23
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 +5 -0
- package/dist/index.cjs +28 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +28 -9
- package/dist/index.js.map +1 -1
- package/dist/styles.css +2 -8
- package/dist/{types-CSdgG6bT.d.cts → types-SEt2ljGe.d.cts} +2 -0
- package/dist/{types-CSdgG6bT.d.ts → types-SEt2ljGe.d.ts} +2 -0
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.group:has(input:not(:-moz-placeholder)) > .ui-kit-floating-placeholder, .group:has(textarea:not(:-moz-placeholder)) > .ui-kit-floating-placeholder {
|
|
69
|
+
background-color: var(--theme-background);
|
|
69
70
|
color: var(--theme-text);
|
|
70
71
|
font-size: var(--floating-label-active-font-size);
|
|
71
72
|
font-weight: 500;
|
|
@@ -80,6 +81,7 @@
|
|
|
80
81
|
.group:has(textarea:not(:placeholder-shown)) > .ui-kit-floating-placeholder,
|
|
81
82
|
.group:has([data-has-value='true']) > .ui-kit-floating-placeholder,
|
|
82
83
|
.ui-kit-floating-placeholder--active {
|
|
84
|
+
background-color: var(--theme-background);
|
|
83
85
|
color: var(--theme-text);
|
|
84
86
|
font-size: var(--floating-label-active-font-size);
|
|
85
87
|
font-weight: 500;
|
|
@@ -801,14 +803,6 @@
|
|
|
801
803
|
border-radius: 0.75rem;
|
|
802
804
|
}
|
|
803
805
|
|
|
804
|
-
.rounded-tl-\[16px\] {
|
|
805
|
-
border-top-left-radius: 16px;
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
.rounded-tr-\[16px\] {
|
|
809
|
-
border-top-right-radius: 16px;
|
|
810
|
-
}
|
|
811
|
-
|
|
812
806
|
.border {
|
|
813
807
|
border-width: 1px;
|
|
814
808
|
}
|
|
@@ -326,6 +326,8 @@ interface SharedTableProps<TItem> {
|
|
|
326
326
|
mobileColumns: Array<TableColumn<TItem>>;
|
|
327
327
|
getRowId?: (item: TItem, index: number) => string;
|
|
328
328
|
onRowClick?: TableRowClickHandler<TItem>;
|
|
329
|
+
/** Open the existing overflow actions menu when the row is clicked. */
|
|
330
|
+
rowClickOpensActions?: boolean;
|
|
329
331
|
actions?: TableActionSource<TItem>;
|
|
330
332
|
stickyActionsColumn?: boolean;
|
|
331
333
|
maxInlineActions?: number;
|
|
@@ -326,6 +326,8 @@ interface SharedTableProps<TItem> {
|
|
|
326
326
|
mobileColumns: Array<TableColumn<TItem>>;
|
|
327
327
|
getRowId?: (item: TItem, index: number) => string;
|
|
328
328
|
onRowClick?: TableRowClickHandler<TItem>;
|
|
329
|
+
/** Open the existing overflow actions menu when the row is clicked. */
|
|
330
|
+
rowClickOpensActions?: boolean;
|
|
329
331
|
actions?: TableActionSource<TItem>;
|
|
330
332
|
stickyActionsColumn?: boolean;
|
|
331
333
|
maxInlineActions?: number;
|
package/dist/types.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-SEt2ljGe.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 { 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-
|
|
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-SEt2ljGe.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'smartsell-theme';
|