@snksergio/design-system 0.19.1 → 0.30.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.
- package/README.md +39 -12
- package/dist-lib/chunks/{app-shell-Cy9be0Zx.mjs → app-shell-78w0pYdP.mjs} +849 -79
- package/dist-lib/chunks/app-shell-78w0pYdP.mjs.map +1 -0
- package/dist-lib/chunks/{app-shell-CPx9X7zP.cjs → app-shell-Cyh8AUJT.cjs} +947 -176
- package/dist-lib/chunks/app-shell-Cyh8AUJT.cjs.map +1 -0
- package/dist-lib/chunks/{clientes-showcase-mocks-ayU1SDOA.mjs → clientes-showcase-mocks-CwWGCCmf.mjs} +1 -27
- package/dist-lib/chunks/clientes-showcase-mocks-CwWGCCmf.mjs.map +1 -0
- package/dist-lib/chunks/{clientes-showcase-mocks-DygUqkkh.cjs → clientes-showcase-mocks-CwhluBTT.cjs} +1 -44
- package/dist-lib/chunks/clientes-showcase-mocks-CwhluBTT.cjs.map +1 -0
- package/dist-lib/chunks/{input-BWevV7up.cjs → input-BjUSWce3.cjs} +24 -4
- package/dist-lib/chunks/input-BjUSWce3.cjs.map +1 -0
- package/dist-lib/chunks/{input-C9eKSSEb.mjs → input-DCDU4i4S.mjs} +23 -3
- package/dist-lib/chunks/input-DCDU4i4S.mjs.map +1 -0
- package/dist-lib/chunks/kpi-delta-C_3V6uG6.cjs +148 -0
- package/dist-lib/chunks/kpi-delta-C_3V6uG6.cjs.map +1 -0
- package/dist-lib/chunks/kpi-delta-DpYuDY4h.mjs +149 -0
- package/dist-lib/chunks/kpi-delta-DpYuDY4h.mjs.map +1 -0
- package/dist-lib/chunks/{page-header-CQbTGWQ8.mjs → page-header-B6XJyIMz.mjs} +2 -2
- package/dist-lib/chunks/{page-header-CQbTGWQ8.mjs.map → page-header-B6XJyIMz.mjs.map} +1 -1
- package/dist-lib/chunks/{page-header-BZ-WrxV2.cjs → page-header-D0rpU0yn.cjs} +4 -4
- package/dist-lib/chunks/{page-header-BZ-WrxV2.cjs.map → page-header-D0rpU0yn.cjs.map} +1 -1
- package/dist-lib/chunks/{panel-pOXMw6a-.cjs → panel-B_SSIEDs.cjs} +1876 -1067
- package/dist-lib/chunks/panel-B_SSIEDs.cjs.map +1 -0
- package/dist-lib/chunks/{panel-BCUixETK.mjs → panel-CEkyoGiO.mjs} +1639 -831
- package/dist-lib/chunks/panel-CEkyoGiO.mjs.map +1 -0
- package/dist-lib/index.cjs +3819 -230
- package/dist-lib/index.cjs.map +1 -1
- package/dist-lib/index.mjs +3898 -313
- package/dist-lib/index.mjs.map +1 -1
- package/dist-lib/preview/chat.cjs +41 -42
- package/dist-lib/preview/chat.cjs.map +1 -1
- package/dist-lib/preview/chat.mjs +2 -3
- package/dist-lib/preview/chat.mjs.map +1 -1
- package/dist-lib/preview/clientes.cjs +22 -24
- package/dist-lib/preview/clientes.cjs.map +1 -1
- package/dist-lib/preview/clientes.mjs +5 -7
- package/dist-lib/preview/clientes.mjs.map +1 -1
- package/dist-lib/preview/dashboard.cjs +232 -28
- package/dist-lib/preview/dashboard.cjs.map +1 -1
- package/dist-lib/preview/dashboard.mjs +215 -11
- package/dist-lib/preview/dashboard.mjs.map +1 -1
- package/dist-lib/preview/mocks.cjs +1 -1
- package/dist-lib/preview/mocks.mjs +1 -1
- package/dist-lib/src/components/index.d.ts +14 -0
- package/dist-lib/src/components/index.d.ts.map +1 -1
- package/dist-lib/src/components/shadcn/command.d.ts.map +1 -1
- package/dist-lib/src/components/shadcn/input.d.ts.map +1 -1
- package/dist-lib/src/components/shadcn/tabs.d.ts +11 -6
- package/dist-lib/src/components/shadcn/tabs.d.ts.map +1 -1
- package/dist-lib/src/components/shadcn/tooltip.d.ts +25 -7
- package/dist-lib/src/components/shadcn/tooltip.d.ts.map +1 -1
- package/dist-lib/src/components/ui/ChoroplethMap/choropleth-map.d.ts +13 -0
- package/dist-lib/src/components/ui/ChoroplethMap/choropleth-map.d.ts.map +1 -0
- package/dist-lib/src/components/ui/ChoroplethMap/choropleth-map.styles.d.ts +95 -0
- package/dist-lib/src/components/ui/ChoroplethMap/choropleth-map.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/ChoroplethMap/choropleth-map.types.d.ts +81 -0
- package/dist-lib/src/components/ui/ChoroplethMap/choropleth-map.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/ChoroplethMap/index.d.ts +3 -0
- package/dist-lib/src/components/ui/ChoroplethMap/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/ColorPicker/color-picker.d.ts +16 -0
- package/dist-lib/src/components/ui/ColorPicker/color-picker.d.ts.map +1 -0
- package/dist-lib/src/components/ui/ColorPicker/color-picker.presets.d.ts +13 -0
- package/dist-lib/src/components/ui/ColorPicker/color-picker.presets.d.ts.map +1 -0
- package/dist-lib/src/components/ui/ColorPicker/color-picker.styles.d.ts +135 -0
- package/dist-lib/src/components/ui/ColorPicker/color-picker.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/ColorPicker/color-picker.types.d.ts +35 -0
- package/dist-lib/src/components/ui/ColorPicker/color-picker.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/ColorPicker/index.d.ts +6 -0
- package/dist-lib/src/components/ui/ColorPicker/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/ConversationListItem/conversation-list-item.d.ts +23 -0
- package/dist-lib/src/components/ui/ConversationListItem/conversation-list-item.d.ts.map +1 -0
- package/dist-lib/src/components/ui/ConversationListItem/conversation-list-item.styles.d.ts +173 -0
- package/dist-lib/src/components/ui/ConversationListItem/conversation-list-item.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/ConversationListItem/conversation-list-item.types.d.ts +59 -0
- package/dist-lib/src/components/ui/ConversationListItem/conversation-list-item.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/ConversationListItem/index.d.ts +5 -0
- package/dist-lib/src/components/ui/ConversationListItem/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DataTable/data-table.d.ts.map +1 -1
- package/dist-lib/src/components/ui/DataTable/data-table.types.d.ts +14 -1
- package/dist-lib/src/components/ui/DataTable/data-table.types.d.ts.map +1 -1
- package/dist-lib/src/components/ui/DataTable/hooks/use-column-auto-width.d.ts +9 -0
- package/dist-lib/src/components/ui/DataTable/hooks/use-column-auto-width.d.ts.map +1 -1
- package/dist-lib/src/components/ui/DataTable/hooks/use-data-table-controller.d.ts.map +1 -1
- package/dist-lib/src/components/ui/DataTable/services/saved-views.types.d.ts +9 -0
- package/dist-lib/src/components/ui/DataTable/services/saved-views.types.d.ts.map +1 -1
- package/dist-lib/src/components/ui/DataTable/utils/calculate-column-widths.d.ts +16 -0
- package/dist-lib/src/components/ui/DataTable/utils/calculate-column-widths.d.ts.map +1 -1
- package/dist-lib/src/components/ui/DatePicker/datepicker.d.ts +31 -8
- package/dist-lib/src/components/ui/DatePicker/datepicker.d.ts.map +1 -1
- package/dist-lib/src/components/ui/DatePicker/index.d.ts +1 -1
- package/dist-lib/src/components/ui/DatePicker/index.d.ts.map +1 -1
- package/dist-lib/src/components/ui/DateSeparatorChip/date-separator-chip.d.ts +18 -0
- package/dist-lib/src/components/ui/DateSeparatorChip/date-separator-chip.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DateSeparatorChip/date-separator-chip.styles.d.ts +63 -0
- package/dist-lib/src/components/ui/DateSeparatorChip/date-separator-chip.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DateSeparatorChip/date-separator-chip.types.d.ts +21 -0
- package/dist-lib/src/components/ui/DateSeparatorChip/date-separator-chip.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/DateSeparatorChip/index.d.ts +5 -0
- package/dist-lib/src/components/ui/DateSeparatorChip/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/EmptyState/empty-state.d.ts +12 -0
- package/dist-lib/src/components/ui/EmptyState/empty-state.d.ts.map +1 -0
- package/dist-lib/src/components/ui/EmptyState/empty-state.styles.d.ts +83 -0
- package/dist-lib/src/components/ui/EmptyState/empty-state.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/EmptyState/empty-state.types.d.ts +43 -0
- package/dist-lib/src/components/ui/EmptyState/empty-state.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/EmptyState/index.d.ts +5 -0
- package/dist-lib/src/components/ui/EmptyState/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FileUploadField/file-upload-field.d.ts +15 -0
- package/dist-lib/src/components/ui/FileUploadField/file-upload-field.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FileUploadField/file-upload-field.styles.d.ts +66 -0
- package/dist-lib/src/components/ui/FileUploadField/file-upload-field.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FileUploadField/file-upload-field.types.d.ts +41 -0
- package/dist-lib/src/components/ui/FileUploadField/file-upload-field.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/FileUploadField/index.d.ts +3 -0
- package/dist-lib/src/components/ui/FileUploadField/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Kpi/kpi-delta.d.ts +4 -1
- package/dist-lib/src/components/ui/Kpi/kpi-delta.d.ts.map +1 -1
- package/dist-lib/src/components/ui/Kpi/kpi.d.ts +1 -1
- package/dist-lib/src/components/ui/Kpi/kpi.d.ts.map +1 -1
- package/dist-lib/src/components/ui/Kpi/kpi.styles.d.ts +42 -0
- package/dist-lib/src/components/ui/Kpi/kpi.styles.d.ts.map +1 -1
- package/dist-lib/src/components/ui/Kpi/kpi.types.d.ts +13 -1
- package/dist-lib/src/components/ui/Kpi/kpi.types.d.ts.map +1 -1
- package/dist-lib/src/components/ui/MarkdownText/index.d.ts +5 -0
- package/dist-lib/src/components/ui/MarkdownText/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MarkdownText/markdown-text.d.ts +14 -0
- package/dist-lib/src/components/ui/MarkdownText/markdown-text.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MarkdownText/markdown-text.styles.d.ts +72 -0
- package/dist-lib/src/components/ui/MarkdownText/markdown-text.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MarkdownText/markdown-text.types.d.ts +26 -0
- package/dist-lib/src/components/ui/MarkdownText/markdown-text.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar-section.d.ts.map +1 -1
- package/dist-lib/src/components/ui/MenuSidebar/sidebar.styles.d.ts +1 -0
- package/dist-lib/src/components/ui/MenuSidebar/sidebar.styles.d.ts.map +1 -1
- package/dist-lib/src/components/ui/MenuSidebar/sidebar.types.d.ts +7 -1
- package/dist-lib/src/components/ui/MenuSidebar/sidebar.types.d.ts.map +1 -1
- package/dist-lib/src/components/ui/MessageAck/index.d.ts +5 -0
- package/dist-lib/src/components/ui/MessageAck/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MessageAck/message-ack.d.ts +18 -0
- package/dist-lib/src/components/ui/MessageAck/message-ack.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MessageAck/message-ack.styles.d.ts +61 -0
- package/dist-lib/src/components/ui/MessageAck/message-ack.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MessageAck/message-ack.types.d.ts +14 -0
- package/dist-lib/src/components/ui/MessageAck/message-ack.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MessageBubble/index.d.ts +5 -0
- package/dist-lib/src/components/ui/MessageBubble/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MessageBubble/message-bubble.d.ts +20 -0
- package/dist-lib/src/components/ui/MessageBubble/message-bubble.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MessageBubble/message-bubble.styles.d.ts +180 -0
- package/dist-lib/src/components/ui/MessageBubble/message-bubble.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MessageBubble/message-bubble.types.d.ts +87 -0
- package/dist-lib/src/components/ui/MessageBubble/message-bubble.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MessageComposer/index.d.ts +5 -0
- package/dist-lib/src/components/ui/MessageComposer/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MessageComposer/message-composer.d.ts +18 -0
- package/dist-lib/src/components/ui/MessageComposer/message-composer.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MessageComposer/message-composer.styles.d.ts +113 -0
- package/dist-lib/src/components/ui/MessageComposer/message-composer.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MessageComposer/message-composer.types.d.ts +49 -0
- package/dist-lib/src/components/ui/MessageComposer/message-composer.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MessageVariablesPicker/index.d.ts +6 -0
- package/dist-lib/src/components/ui/MessageVariablesPicker/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MessageVariablesPicker/message-variables-picker.d.ts +12 -0
- package/dist-lib/src/components/ui/MessageVariablesPicker/message-variables-picker.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MessageVariablesPicker/message-variables-picker.styles.d.ts +57 -0
- package/dist-lib/src/components/ui/MessageVariablesPicker/message-variables-picker.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MessageVariablesPicker/message-variables-picker.types.d.ts +36 -0
- package/dist-lib/src/components/ui/MessageVariablesPicker/message-variables-picker.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Modal/modal.d.ts +3 -1
- package/dist-lib/src/components/ui/Modal/modal.d.ts.map +1 -1
- package/dist-lib/src/components/ui/Modal/modal.styles.d.ts +7 -1
- package/dist-lib/src/components/ui/Modal/modal.styles.d.ts.map +1 -1
- package/dist-lib/src/components/ui/MonthYearPicker/index.d.ts +3 -0
- package/dist-lib/src/components/ui/MonthYearPicker/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MonthYearPicker/month-year-picker.d.ts +11 -0
- package/dist-lib/src/components/ui/MonthYearPicker/month-year-picker.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MonthYearPicker/month-year-picker.styles.d.ts +113 -0
- package/dist-lib/src/components/ui/MonthYearPicker/month-year-picker.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/MonthYearPicker/month-year-picker.types.d.ts +34 -0
- package/dist-lib/src/components/ui/MonthYearPicker/month-year-picker.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/SingleMenuSidebar/single-menu-sidebar.styles.d.ts +1 -1
- package/dist-lib/src/components/ui/Spinner/index.d.ts +3 -0
- package/dist-lib/src/components/ui/Spinner/index.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Spinner/spinner.d.ts +11 -0
- package/dist-lib/src/components/ui/Spinner/spinner.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Spinner/spinner.styles.d.ts +55 -0
- package/dist-lib/src/components/ui/Spinner/spinner.styles.d.ts.map +1 -0
- package/dist-lib/src/components/ui/Spinner/spinner.types.d.ts +12 -0
- package/dist-lib/src/components/ui/Spinner/spinner.types.d.ts.map +1 -0
- package/dist-lib/src/components/ui/TableToolbar/parts/table-toolbar-views.d.ts +7 -1
- package/dist-lib/src/components/ui/TableToolbar/parts/table-toolbar-views.d.ts.map +1 -1
- package/dist-lib/src/components/ui/Toast/toast.d.ts +44 -0
- package/dist-lib/src/components/ui/Toast/toast.d.ts.map +1 -0
- package/dist-lib/src/hooks/useBrand.d.ts +31 -0
- package/dist-lib/src/hooks/useBrand.d.ts.map +1 -0
- package/dist-lib/src/preview/pages/ChatV2/components/QueueColumn/queue-column.styles.d.ts +3 -3
- package/dist-lib/src/preview/pages/ClientesShowcase/clientes-showcase-mocks.d.ts +1 -1
- package/dist-lib/src/preview/pages/ClientesShowcase/clientes-showcase-mocks.d.ts.map +1 -1
- package/dist-lib/src/preview/pages/ClientesShowcase/clientes-showcase.types.d.ts +1 -1
- package/dist-lib/src/preview/pages/ClientesShowcase/clientes-showcase.types.d.ts.map +1 -1
- package/dist-lib/src/preview/pages/ClientesShowcase/components/DetailDrawer/detail-drawer.types.d.ts +1 -1
- package/dist-lib/src/preview/pages/ClientesShowcase/components/DetailDrawer/detail-drawer.types.d.ts.map +1 -1
- package/dist-lib/src/preview/pages/DashboardShowcase.d.ts.map +1 -1
- package/dist-lib/src/preview/pages/_table-data.d.ts +51 -0
- package/dist-lib/src/preview/pages/_table-data.d.ts.map +1 -0
- package/dist-lib/src/utils/tv.d.ts.map +1 -1
- package/dist-lib/theme.css +32 -0
- package/dist-lib/tokens/brands/blue/primitives/color-palette.d.ts +266 -0
- package/dist-lib/tokens/brands/blue/primitives/color-palette.d.ts.map +1 -0
- package/dist-lib/tokens/brands/blue/semantic/color-dark.d.ts +200 -0
- package/dist-lib/tokens/brands/blue/semantic/color-dark.d.ts.map +1 -0
- package/dist-lib/tokens/brands/blue/semantic/color-light.d.ts +202 -0
- package/dist-lib/tokens/brands/blue/semantic/color-light.d.ts.map +1 -0
- package/dist-lib/tokens/brands/default/semantic/typography.d.ts +4 -2
- package/dist-lib/tokens/brands/default/semantic/typography.d.ts.map +1 -1
- package/dist-lib/tokens/brands/green/primitives/color-palette.d.ts +267 -0
- package/dist-lib/tokens/brands/green/primitives/color-palette.d.ts.map +1 -0
- package/dist-lib/tokens/brands/green/semantic/color-dark.d.ts +200 -0
- package/dist-lib/tokens/brands/green/semantic/color-dark.d.ts.map +1 -0
- package/dist-lib/tokens/brands/green/semantic/color-light.d.ts +201 -0
- package/dist-lib/tokens/brands/green/semantic/color-light.d.ts.map +1 -0
- package/dist-lib/tokens/brands/pay/primitives/color-palette.d.ts +146 -0
- package/dist-lib/tokens/brands/pay/primitives/color-palette.d.ts.map +1 -0
- package/dist-lib/tokens/brands/pay/semantic/color-dark.d.ts +201 -0
- package/dist-lib/tokens/brands/pay/semantic/color-dark.d.ts.map +1 -0
- package/dist-lib/tokens/brands/pay/semantic/color-light.d.ts +199 -0
- package/dist-lib/tokens/brands/pay/semantic/color-light.d.ts.map +1 -0
- package/dist-lib/tokens.cjs +35 -0
- package/dist-lib/tokens.cjs.map +1 -1
- package/dist-lib/tokens.mjs +35 -0
- package/dist-lib/tokens.mjs.map +1 -1
- package/package.json +21 -7
- package/dist-lib/chunks/app-shell-CPx9X7zP.cjs.map +0 -1
- package/dist-lib/chunks/app-shell-Cy9be0Zx.mjs.map +0 -1
- package/dist-lib/chunks/badge-DBdk74KN.mjs +0 -840
- package/dist-lib/chunks/badge-DBdk74KN.mjs.map +0 -1
- package/dist-lib/chunks/badge-gU2wtxrn.cjs +0 -856
- package/dist-lib/chunks/badge-gU2wtxrn.cjs.map +0 -1
- package/dist-lib/chunks/chip-group-2-f_Yo7Y.cjs +0 -763
- package/dist-lib/chunks/chip-group-2-f_Yo7Y.cjs.map +0 -1
- package/dist-lib/chunks/chip-group-_e-yh1Zq.mjs +0 -747
- package/dist-lib/chunks/chip-group-_e-yh1Zq.mjs.map +0 -1
- package/dist-lib/chunks/clientes-showcase-mocks-DygUqkkh.cjs.map +0 -1
- package/dist-lib/chunks/clientes-showcase-mocks-ayU1SDOA.mjs.map +0 -1
- package/dist-lib/chunks/input-BWevV7up.cjs.map +0 -1
- package/dist-lib/chunks/input-C9eKSSEb.mjs.map +0 -1
- package/dist-lib/chunks/panel-BCUixETK.mjs.map +0 -1
- package/dist-lib/chunks/panel-pOXMw6a-.cjs.map +0 -1
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const React = require("react");
|
|
5
|
-
const
|
|
5
|
+
const appShell = require("../chunks/app-shell-Cyh8AUJT.cjs");
|
|
6
6
|
const useTheme = require("../chunks/useTheme-Dee4mo-A.cjs");
|
|
7
|
-
const appShell = require("../chunks/app-shell-CPx9X7zP.cjs");
|
|
8
7
|
const lucideReact = require("lucide-react");
|
|
9
8
|
const appShellMocks = require("../chunks/app-shell-mocks-oO_IV3Gw.cjs");
|
|
10
9
|
const chatV2Mocks = require("../chunks/chat-v2-mocks-BV9Wha_Z.cjs");
|
|
11
|
-
const input = require("../chunks/input-
|
|
12
|
-
const chatV2Styles =
|
|
10
|
+
const input = require("../chunks/input-BjUSWce3.cjs");
|
|
11
|
+
const chatV2Styles = appShell.tv({
|
|
13
12
|
slots: {
|
|
14
13
|
/** Body do AppShell — flex row com gap entre colunas. `relative` pra mobile overlays. */
|
|
15
14
|
root: "flex flex-1 min-h-0 gap-gp-2xl relative",
|
|
@@ -102,7 +101,7 @@ function ConversationActionsMenu({
|
|
|
102
101
|
}) {
|
|
103
102
|
return /* @__PURE__ */ jsxRuntime.jsxs(appShell.DropdownMenu, { children: [
|
|
104
103
|
/* @__PURE__ */ jsxRuntime.jsx(appShell.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
105
|
-
|
|
104
|
+
appShell.Button,
|
|
106
105
|
{
|
|
107
106
|
color: "secondary",
|
|
108
107
|
variant: "outline",
|
|
@@ -146,7 +145,7 @@ function ConversationActionsMenu({
|
|
|
146
145
|
function DateSeparator({ label }) {
|
|
147
146
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center my-pad-md", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "px-pad-lg py-pad-2xs rounded-radius-full bg-bg-muted text-caption-sm text-fg-muted [font-variant-numeric:tabular-nums]", children: label }) });
|
|
148
147
|
}
|
|
149
|
-
const messageBubbleStyles =
|
|
148
|
+
const messageBubbleStyles = appShell.tv({
|
|
150
149
|
slots: {
|
|
151
150
|
/** Wrapper que controla o alinhamento horizontal (esquerda/direita). */
|
|
152
151
|
row: "flex",
|
|
@@ -196,7 +195,7 @@ const SIZE_CLASSES = {
|
|
|
196
195
|
function PersonAvatar({ initials, hex, size = "md" }) {
|
|
197
196
|
return /* @__PURE__ */ jsxRuntime.jsx(appShell.Avatar, { className: SIZE_CLASSES[size], style: { background: hex }, children: /* @__PURE__ */ jsxRuntime.jsx(appShell.AvatarFallback, { className: "bg-transparent text-white font-bold", children: initials }) });
|
|
198
197
|
}
|
|
199
|
-
const conversationColumnStyles =
|
|
198
|
+
const conversationColumnStyles = appShell.tv({
|
|
200
199
|
slots: {
|
|
201
200
|
root: "flex flex-col flex-1 min-w-0 bg-bg-surface border border-border-subtle rounded-radius-xl overflow-hidden",
|
|
202
201
|
header: "flex items-center gap-gp-lg px-pad-2xl py-pad-md border-b border-border-subtle shrink-0",
|
|
@@ -239,10 +238,10 @@ function ConversationColumn({
|
|
|
239
238
|
]);
|
|
240
239
|
setText("");
|
|
241
240
|
};
|
|
242
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { "aria-label": "Conversa", className:
|
|
241
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { "aria-label": "Conversa", className: appShell.cn(s.root(), className), children: [
|
|
243
242
|
/* @__PURE__ */ jsxRuntime.jsxs("header", { className: s.header(), children: [
|
|
244
243
|
onBackToList && /* @__PURE__ */ jsxRuntime.jsx(
|
|
245
|
-
|
|
244
|
+
appShell.Button,
|
|
246
245
|
{
|
|
247
246
|
color: "secondary",
|
|
248
247
|
variant: "ghost",
|
|
@@ -264,7 +263,7 @@ function ConversationColumn({
|
|
|
264
263
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: s.headerInfo(), children: [
|
|
265
264
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: s.headerTitleRow(), children: [
|
|
266
265
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: s.headerName(), children: conversation.name }),
|
|
267
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
266
|
+
/* @__PURE__ */ jsxRuntime.jsx(appShell.Chip, { color: conversation.tagKind, variant: "soft", size: "sm", shape: "pill", children: conversation.tag })
|
|
268
267
|
] }),
|
|
269
268
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: s.headerMetaRow(), children: [
|
|
270
269
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "[font-variant-numeric:tabular-nums]", children: conversation.id }),
|
|
@@ -286,7 +285,7 @@ function ConversationColumn({
|
|
|
286
285
|
] }),
|
|
287
286
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: s.headerActions(), children: [
|
|
288
287
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
289
|
-
|
|
288
|
+
appShell.Button,
|
|
290
289
|
{
|
|
291
290
|
color: "primary",
|
|
292
291
|
variant: "filled",
|
|
@@ -309,7 +308,7 @@ function ConversationColumn({
|
|
|
309
308
|
}
|
|
310
309
|
),
|
|
311
310
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
312
|
-
|
|
311
|
+
appShell.Button,
|
|
313
312
|
{
|
|
314
313
|
color: "secondary",
|
|
315
314
|
variant: "outline",
|
|
@@ -328,7 +327,7 @@ function ConversationColumn({
|
|
|
328
327
|
] }),
|
|
329
328
|
/* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: send, className: s.composer(), children: [
|
|
330
329
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
331
|
-
|
|
330
|
+
appShell.Button,
|
|
332
331
|
{
|
|
333
332
|
color: "secondary",
|
|
334
333
|
variant: "ghost",
|
|
@@ -350,7 +349,7 @@ function ConversationColumn({
|
|
|
350
349
|
}
|
|
351
350
|
),
|
|
352
351
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
353
|
-
|
|
352
|
+
appShell.Button,
|
|
354
353
|
{
|
|
355
354
|
color: "secondary",
|
|
356
355
|
variant: "ghost",
|
|
@@ -361,7 +360,7 @@ function ConversationColumn({
|
|
|
361
360
|
}
|
|
362
361
|
),
|
|
363
362
|
text.trim() ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
364
|
-
|
|
363
|
+
appShell.Button,
|
|
365
364
|
{
|
|
366
365
|
color: "primary",
|
|
367
366
|
variant: "filled",
|
|
@@ -371,7 +370,7 @@ function ConversationColumn({
|
|
|
371
370
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Send, { strokeWidth: 2.2 })
|
|
372
371
|
}
|
|
373
372
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
374
|
-
|
|
373
|
+
appShell.Button,
|
|
375
374
|
{
|
|
376
375
|
color: "primary",
|
|
377
376
|
variant: "filled",
|
|
@@ -422,7 +421,7 @@ function DetailSection({
|
|
|
422
421
|
open && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-gp-sm pt-pad-xs", children })
|
|
423
422
|
] });
|
|
424
423
|
}
|
|
425
|
-
const detailsColumnStyles =
|
|
424
|
+
const detailsColumnStyles = appShell.tv({
|
|
426
425
|
slots: {
|
|
427
426
|
root: "relative flex flex-col shrink-0 bg-bg-surface border border-border-subtle rounded-radius-xl overflow-hidden",
|
|
428
427
|
/** Resize handle no left edge — 4px. */
|
|
@@ -462,7 +461,7 @@ function DetailsColumn({
|
|
|
462
461
|
{
|
|
463
462
|
"aria-label": "Detalhes do contato",
|
|
464
463
|
style: { width },
|
|
465
|
-
className:
|
|
464
|
+
className: appShell.cn(s.root(), className),
|
|
466
465
|
children: [
|
|
467
466
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
468
467
|
"button",
|
|
@@ -475,7 +474,7 @@ function DetailsColumn({
|
|
|
475
474
|
),
|
|
476
475
|
/* @__PURE__ */ jsxRuntime.jsxs("header", { className: s.header(), children: [
|
|
477
476
|
onBackToChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
478
|
-
|
|
477
|
+
appShell.Button,
|
|
479
478
|
{
|
|
480
479
|
color: "secondary",
|
|
481
480
|
variant: "ghost",
|
|
@@ -488,7 +487,7 @@ function DetailsColumn({
|
|
|
488
487
|
),
|
|
489
488
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: s.title(), children: "Detalhes" }),
|
|
490
489
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
491
|
-
|
|
490
|
+
appShell.Button,
|
|
492
491
|
{
|
|
493
492
|
color: "secondary",
|
|
494
493
|
variant: "ghost",
|
|
@@ -539,8 +538,8 @@ function DetailsColumn({
|
|
|
539
538
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: s.tagsRow(), children: [
|
|
540
539
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: s.tagsLabel(), children: "Tags" }),
|
|
541
540
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: s.tagsChips(), children: [
|
|
542
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
543
|
-
detail.extraTags.map((t) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
541
|
+
/* @__PURE__ */ jsxRuntime.jsx(appShell.Chip, { color: conversation.tagKind, variant: "soft", size: "sm", shape: "pill", children: conversation.tag }),
|
|
542
|
+
detail.extraTags.map((t) => /* @__PURE__ */ jsxRuntime.jsx(appShell.Chip, { color: "info", variant: "soft", size: "sm", shape: "pill", children: t }, t)),
|
|
544
543
|
/* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", className: s.tagAddBtn(), children: [
|
|
545
544
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Plus, { size: 11, strokeWidth: 2.2 }),
|
|
546
545
|
" tag"
|
|
@@ -574,7 +573,7 @@ function DetailsColumn({
|
|
|
574
573
|
}
|
|
575
574
|
);
|
|
576
575
|
}
|
|
577
|
-
const filterRowStyles =
|
|
576
|
+
const filterRowStyles = appShell.tv({
|
|
578
577
|
slots: {
|
|
579
578
|
button: [
|
|
580
579
|
"flex items-center gap-gp-md w-full",
|
|
@@ -639,7 +638,7 @@ function FilterRow({ item, isActive, onClick }) {
|
|
|
639
638
|
}
|
|
640
639
|
);
|
|
641
640
|
}
|
|
642
|
-
const filtersColumnStyles =
|
|
641
|
+
const filtersColumnStyles = appShell.tv({
|
|
643
642
|
slots: {
|
|
644
643
|
/** Aside raiz da versão expandida (280px). */
|
|
645
644
|
root: "flex flex-col w-[280px] shrink-0 bg-bg-surface border border-border-subtle rounded-radius-xl overflow-hidden",
|
|
@@ -668,7 +667,7 @@ function FiltersColumn({
|
|
|
668
667
|
className
|
|
669
668
|
}) {
|
|
670
669
|
const s = filtersColumnStyles();
|
|
671
|
-
return /* @__PURE__ */ jsxRuntime.jsx("aside", { "aria-label": "Filtros", className:
|
|
670
|
+
return /* @__PURE__ */ jsxRuntime.jsx("aside", { "aria-label": "Filtros", className: appShell.cn(s.root(), className), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: s.scroll(), children: chatV2Mocks.FILTER_GROUPS.map((sec, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
672
671
|
FilterSection,
|
|
673
672
|
{
|
|
674
673
|
title: sec.title,
|
|
@@ -690,7 +689,7 @@ function FilterSection({
|
|
|
690
689
|
isFirst
|
|
691
690
|
}) {
|
|
692
691
|
const s = filtersColumnStyles();
|
|
693
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className:
|
|
692
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: appShell.cn(s.section(), !isFirst && s.sectionDivider()), children: [
|
|
694
693
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: s.sectionTitle(), children: title }),
|
|
695
694
|
items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
696
695
|
FilterRow,
|
|
@@ -703,7 +702,7 @@ function FilterSection({
|
|
|
703
702
|
))
|
|
704
703
|
] });
|
|
705
704
|
}
|
|
706
|
-
const railItemStyles =
|
|
705
|
+
const railItemStyles = appShell.tv({
|
|
707
706
|
slots: {
|
|
708
707
|
button: [
|
|
709
708
|
"relative grid place-items-center size-form-md rounded-radius-md cursor-pointer",
|
|
@@ -766,10 +765,10 @@ function FiltersRail({
|
|
|
766
765
|
className
|
|
767
766
|
}) {
|
|
768
767
|
const s = filtersColumnStyles();
|
|
769
|
-
return /* @__PURE__ */ jsxRuntime.jsx("aside", { "aria-label": "Filtros (compactos)", className:
|
|
768
|
+
return /* @__PURE__ */ jsxRuntime.jsx("aside", { "aria-label": "Filtros (compactos)", className: appShell.cn(s.rail(), className), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: s.railScroll(), children: chatV2Mocks.FILTER_GROUPS.map(({ group, items }, gi) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
770
769
|
"div",
|
|
771
770
|
{
|
|
772
|
-
className:
|
|
771
|
+
className: appShell.cn(s.railGroup(), gi > 0 && s.railGroupDivider()),
|
|
773
772
|
children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
774
773
|
RailItem,
|
|
775
774
|
{
|
|
@@ -783,7 +782,7 @@ function FiltersRail({
|
|
|
783
782
|
group
|
|
784
783
|
)) }) });
|
|
785
784
|
}
|
|
786
|
-
const conversationListItemStyles =
|
|
785
|
+
const conversationListItemStyles = appShell.tv({
|
|
787
786
|
slots: {
|
|
788
787
|
/** Card raiz (button) — flex horizontal com avatar + conteúdo. */
|
|
789
788
|
root: [
|
|
@@ -856,7 +855,7 @@ function ConversationListItem({
|
|
|
856
855
|
] }),
|
|
857
856
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: s.rowBot(), children: [
|
|
858
857
|
/* @__PURE__ */ jsxRuntime.jsx(ChannelDot, { channel: conv.channel }),
|
|
859
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
858
|
+
/* @__PURE__ */ jsxRuntime.jsx(appShell.Chip, { color: conv.tagKind, variant: "soft", size: "sm", shape: "pill", children: conv.tag }),
|
|
860
859
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: s.id(), children: conv.id })
|
|
861
860
|
] })
|
|
862
861
|
] })
|
|
@@ -864,7 +863,7 @@ function ConversationListItem({
|
|
|
864
863
|
}
|
|
865
864
|
);
|
|
866
865
|
}
|
|
867
|
-
const queueColumnStyles =
|
|
866
|
+
const queueColumnStyles = appShell.tv({
|
|
868
867
|
slots: {
|
|
869
868
|
root: "flex flex-col w-[340px] shrink-0 bg-bg-surface border border-border-subtle rounded-radius-xl overflow-hidden",
|
|
870
869
|
header: "flex items-center gap-gp-sm px-pad-md pt-pad-md pb-pad-md",
|
|
@@ -911,10 +910,10 @@ function QueueColumn({
|
|
|
911
910
|
read: bySearch.filter((c) => c.unread === 0).length
|
|
912
911
|
};
|
|
913
912
|
}, [searchQuery]);
|
|
914
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("aside", { "aria-label": "Fila de conversas", className:
|
|
913
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("aside", { "aria-label": "Fila de conversas", className: appShell.cn(s.root(), className), children: [
|
|
915
914
|
/* @__PURE__ */ jsxRuntime.jsxs("header", { className: s.header(), children: [
|
|
916
915
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
917
|
-
|
|
916
|
+
appShell.Button,
|
|
918
917
|
{
|
|
919
918
|
color: "secondary",
|
|
920
919
|
variant: "ghost",
|
|
@@ -926,7 +925,7 @@ function QueueColumn({
|
|
|
926
925
|
}
|
|
927
926
|
),
|
|
928
927
|
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: s.title(), children: "Conversas" }),
|
|
929
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
928
|
+
/* @__PURE__ */ jsxRuntime.jsx(appShell.Chip, { color: "primary", variant: "soft", size: "sm", shape: "rounded", children: filtered.length })
|
|
930
929
|
] }),
|
|
931
930
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: s.searchWrap(), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: s.searchInner(), children: [
|
|
932
931
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { size: 14, strokeWidth: 1.8, className: s.searchIcon() }),
|
|
@@ -952,7 +951,7 @@ function QueueColumn({
|
|
|
952
951
|
)
|
|
953
952
|
] }) }),
|
|
954
953
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: s.chipsWrap(), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
955
|
-
|
|
954
|
+
appShell.ChipGroup,
|
|
956
955
|
{
|
|
957
956
|
type: "single",
|
|
958
957
|
value: queueFilter,
|
|
@@ -960,15 +959,15 @@ function QueueColumn({
|
|
|
960
959
|
size: "md",
|
|
961
960
|
ariaLabel: "Filtrar conversas",
|
|
962
961
|
children: [
|
|
963
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
962
|
+
/* @__PURE__ */ jsxRuntime.jsxs(appShell.ChipGroupItem, { value: "all", children: [
|
|
964
963
|
"Todas",
|
|
965
964
|
counts.all > 0 && ` (${counts.all})`
|
|
966
965
|
] }),
|
|
967
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
966
|
+
/* @__PURE__ */ jsxRuntime.jsxs(appShell.ChipGroupItem, { value: "unread", children: [
|
|
968
967
|
"Não lidas",
|
|
969
968
|
counts.unread > 0 && ` (${counts.unread})`
|
|
970
969
|
] }),
|
|
971
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
970
|
+
/* @__PURE__ */ jsxRuntime.jsxs(appShell.ChipGroupItem, { value: "read", children: [
|
|
972
971
|
"Lidas",
|
|
973
972
|
counts.read > 0 && ` (${counts.read})`
|
|
974
973
|
] })
|
|
@@ -1074,7 +1073,7 @@ function ChatV2() {
|
|
|
1074
1073
|
onQueueFilterChange: setQueueFilter,
|
|
1075
1074
|
filtersCollapsed,
|
|
1076
1075
|
onToggleFilters: () => setFiltersCollapsed((c) => !c),
|
|
1077
|
-
className:
|
|
1076
|
+
className: appShell.cn(
|
|
1078
1077
|
mobileView === "list" ? `${mobileOverlay.active} max-md:z-[1]` : mobileOverlay.hidden
|
|
1079
1078
|
)
|
|
1080
1079
|
}
|
|
@@ -1086,7 +1085,7 @@ function ChatV2() {
|
|
|
1086
1085
|
detailsOpen,
|
|
1087
1086
|
onToggleDetails: handleToggleDetails,
|
|
1088
1087
|
onBackToList: () => setMobileView("list"),
|
|
1089
|
-
className:
|
|
1088
|
+
className: appShell.cn(
|
|
1090
1089
|
mobileView === "chat" ? `${mobileOverlay.active} max-md:z-[2]` : mobileOverlay.hidden
|
|
1091
1090
|
)
|
|
1092
1091
|
}
|
|
@@ -1105,7 +1104,7 @@ function ChatV2() {
|
|
|
1105
1104
|
onBackToChat: () => setMobileView("chat"),
|
|
1106
1105
|
width: detailsResize.width,
|
|
1107
1106
|
onResizeStart: detailsResize.onResizeStart,
|
|
1108
|
-
className:
|
|
1107
|
+
className: appShell.cn(
|
|
1109
1108
|
mobileView === "details" ? `${mobileOverlay.active} max-md:!w-full max-md:z-[3]` : mobileOverlay.hidden
|
|
1110
1109
|
)
|
|
1111
1110
|
}
|