@devalok/shilp-sutra 0.49.4 → 0.50.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/AGENTS.md +12 -4
- package/MIGRATION.md +6 -0
- package/dist/_chunks/badge-group.js +12 -11
- package/dist/_chunks/badge-group.js.map +1 -1
- package/dist/_chunks/block-shell.js +1 -1
- package/dist/_chunks/block-shell.js.map +1 -1
- package/dist/_chunks/chat.js +18 -18
- package/dist/_chunks/chat.js.map +1 -1
- package/dist/_chunks/document-preview.js +1 -1
- package/dist/_chunks/document-preview.js.map +1 -1
- package/dist/_chunks/emoji-suggestion.js +1 -1
- package/dist/_chunks/emoji-suggestion.js.map +1 -1
- package/dist/_chunks/grid-lines.js +2 -2
- package/dist/_chunks/grid-lines.js.map +1 -1
- package/dist/_chunks/image-preview.js +1 -1
- package/dist/_chunks/image-preview.js.map +1 -1
- package/dist/_chunks/mention-suggestion.js +2 -2
- package/dist/_chunks/mention-suggestion.js.map +1 -1
- package/dist/_chunks/oauth-button.js +8 -8
- package/dist/_chunks/oauth-button.js.map +1 -1
- package/dist/_chunks/shared.js +2 -2
- package/dist/_chunks/shared.js.map +1 -1
- package/dist/_chunks/success.js +5 -5
- package/dist/_chunks/success.js.map +1 -1
- package/dist/_chunks/tiptap.js +3956 -1796
- package/dist/_chunks/tiptap.js.map +1 -1
- package/dist/_chunks/tooltip.js +2 -2
- package/dist/_chunks/tooltip.js.map +1 -1
- package/dist/_chunks/tree-view.js +2 -2
- package/dist/_chunks/tree-view.js.map +1 -1
- package/dist/_chunks/use-calendar.js +3 -3
- package/dist/_chunks/use-calendar.js.map +1 -1
- package/dist/ai/block-renderer.js +1 -1
- package/dist/ai/block-renderer.js.map +1 -1
- package/dist/ai/blocks/error.js +1 -1
- package/dist/ai/blocks/error.js.map +1 -1
- package/dist/ai/command-bar.js +15 -15
- package/dist/ai/command-bar.js.map +1 -1
- package/dist/ai/conversation.js +6 -6
- package/dist/ai/conversation.js.map +1 -1
- package/dist/composed/activity-feed.js +4 -4
- package/dist/composed/activity-feed.js.map +1 -1
- package/dist/composed/avatar-group.js +6 -6
- package/dist/composed/avatar-group.js.map +1 -1
- package/dist/composed/bulk-action-bar.js +1 -1
- package/dist/composed/bulk-action-bar.js.map +1 -1
- package/dist/composed/command-palette.js +12 -12
- package/dist/composed/command-palette.js.map +1 -1
- package/dist/composed/content-card.js +1 -1
- package/dist/composed/content-card.js.map +1 -1
- package/dist/composed/date-picker/index.js +17 -17
- package/dist/composed/date-picker/index.js.map +1 -1
- package/dist/composed/deadline-indicator.js +2 -2
- package/dist/composed/deadline-indicator.js.map +1 -1
- package/dist/composed/diff.d.ts +108 -0
- package/dist/composed/diff.d.ts.map +1 -0
- package/dist/composed/diff.js +1004 -0
- package/dist/composed/diff.js.map +1 -0
- package/dist/composed/emoji-picker.js +6 -6
- package/dist/composed/emoji-picker.js.map +1 -1
- package/dist/composed/empty-state.js +2 -2
- package/dist/composed/empty-state.js.map +1 -1
- package/dist/composed/error-boundary.js +6 -6
- package/dist/composed/error-boundary.js.map +1 -1
- package/dist/composed/file-preview.js +5 -5
- package/dist/composed/file-preview.js.map +1 -1
- package/dist/composed/filter-bar.js +3 -3
- package/dist/composed/filter-bar.js.map +1 -1
- package/dist/composed/form-section.js +2 -2
- package/dist/composed/form-section.js.map +1 -1
- package/dist/composed/inline-edit.d.ts +1 -1
- package/dist/composed/inline-edit.d.ts.map +1 -1
- package/dist/composed/inline-edit.js.map +1 -1
- package/dist/composed/loading-skeleton.js +3 -3
- package/dist/composed/loading-skeleton.js.map +1 -1
- package/dist/composed/markdown-viewer.js +11 -11
- package/dist/composed/markdown-viewer.js.map +1 -1
- package/dist/composed/master-detail.js +1 -1
- package/dist/composed/master-detail.js.map +1 -1
- package/dist/composed/member-picker.js +2 -2
- package/dist/composed/member-picker.js.map +1 -1
- package/dist/composed/multi-select-popover.js +5 -5
- package/dist/composed/multi-select-popover.js.map +1 -1
- package/dist/composed/page-header.js +3 -3
- package/dist/composed/page-header.js.map +1 -1
- package/dist/composed/page-skeletons.js +4 -4
- package/dist/composed/page-skeletons.js.map +1 -1
- package/dist/composed/priority-indicator.js +1 -1
- package/dist/composed/priority-indicator.js.map +1 -1
- package/dist/composed/responsive-modal.js +2 -2
- package/dist/composed/responsive-modal.js.map +1 -1
- package/dist/composed/rich-chat-input.js +27 -27
- package/dist/composed/rich-chat-input.js.map +1 -1
- package/dist/composed/rich-text-editor.d.ts +81 -6
- package/dist/composed/rich-text-editor.d.ts.map +1 -1
- package/dist/composed/rich-text-editor.js +365 -210
- package/dist/composed/rich-text-editor.js.map +1 -1
- package/dist/composed/schedule-view.js +4 -4
- package/dist/composed/schedule-view.js.map +1 -1
- package/dist/shell/bottom-navbar.js +4 -4
- package/dist/shell/bottom-navbar.js.map +1 -1
- package/dist/shell/notification-center.js +13 -13
- package/dist/shell/notification-center.js.map +1 -1
- package/dist/shell/notification-preferences.js +10 -10
- package/dist/shell/notification-preferences.js.map +1 -1
- package/dist/shell/sidebar.js +9 -9
- package/dist/shell/sidebar.js.map +1 -1
- package/dist/shell/top-bar.js +8 -8
- package/dist/shell/top-bar.js.map +1 -1
- package/dist/tokens/semantic.css +6 -1
- package/dist/tokens/typography-semantic.css +6 -6
- package/dist/tokens/utilities.css +8 -0
- package/dist/ui/accordion.js +2 -2
- package/dist/ui/accordion.js.map +1 -1
- package/dist/ui/alert-dialog.js +4 -4
- package/dist/ui/alert-dialog.js.map +1 -1
- package/dist/ui/alert.js +1 -1
- package/dist/ui/alert.js.map +1 -1
- package/dist/ui/autocomplete.d.ts.map +1 -1
- package/dist/ui/autocomplete.js +11 -3
- package/dist/ui/autocomplete.js.map +1 -1
- package/dist/ui/avatar.js +5 -5
- package/dist/ui/avatar.js.map +1 -1
- package/dist/ui/badge-group.d.ts +2 -6
- package/dist/ui/badge-group.d.ts.map +1 -1
- package/dist/ui/badge-indicator.d.ts +2 -6
- package/dist/ui/badge-indicator.d.ts.map +1 -1
- package/dist/ui/badge-indicator.js +19 -18
- package/dist/ui/badge-indicator.js.map +1 -1
- package/dist/ui/badge.d.ts +2 -4
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/banner.js +1 -1
- package/dist/ui/banner.js.map +1 -1
- package/dist/ui/breadcrumb.js +1 -1
- package/dist/ui/breadcrumb.js.map +1 -1
- package/dist/ui/button.js +7 -7
- package/dist/ui/button.js.map +1 -1
- package/dist/ui/card.d.ts +1 -1
- package/dist/ui/card.js +1 -1
- package/dist/ui/card.js.map +1 -1
- package/dist/ui/charts/gauge-chart.js +2 -2
- package/dist/ui/charts/gauge-chart.js.map +1 -1
- package/dist/ui/charts/pie-chart.js +1 -1
- package/dist/ui/charts/pie-chart.js.map +1 -1
- package/dist/ui/charts/radar-chart.d.ts +19 -1
- package/dist/ui/charts/radar-chart.d.ts.map +1 -1
- package/dist/ui/charts/radar-chart.js +80 -42
- package/dist/ui/charts/radar-chart.js.map +1 -1
- package/dist/ui/code.js +2 -2
- package/dist/ui/code.js.map +1 -1
- package/dist/ui/color-input.d.ts.map +1 -1
- package/dist/ui/color-input.js +164 -157
- package/dist/ui/color-input.js.map +1 -1
- package/dist/ui/combobox.d.ts.map +1 -1
- package/dist/ui/combobox.js +143 -142
- package/dist/ui/combobox.js.map +1 -1
- package/dist/ui/context-menu.js +6 -6
- package/dist/ui/context-menu.js.map +1 -1
- package/dist/ui/data-table-body.js +1 -1
- package/dist/ui/data-table-body.js.map +1 -1
- package/dist/ui/data-table-bulk-actions.js +1 -1
- package/dist/ui/data-table-bulk-actions.js.map +1 -1
- package/dist/ui/data-table-card.js +1 -1
- package/dist/ui/data-table-card.js.map +1 -1
- package/dist/ui/data-table-header.js +1 -1
- package/dist/ui/data-table-header.js.map +1 -1
- package/dist/ui/data-table-pagination.js +3 -3
- package/dist/ui/data-table-pagination.js.map +1 -1
- package/dist/ui/data-table-toolbar.js +1 -1
- package/dist/ui/data-table-toolbar.js.map +1 -1
- package/dist/ui/data-table.js +1 -1
- package/dist/ui/data-table.js.map +1 -1
- package/dist/ui/dialog.js +2 -2
- package/dist/ui/dialog.js.map +1 -1
- package/dist/ui/dot.js +4 -4
- package/dist/ui/dot.js.map +1 -1
- package/dist/ui/dropdown-menu.js +6 -6
- package/dist/ui/dropdown-menu.js.map +1 -1
- package/dist/ui/file-upload.js +5 -5
- package/dist/ui/file-upload.js.map +1 -1
- package/dist/ui/form.js +1 -1
- package/dist/ui/form.js.map +1 -1
- package/dist/ui/input-otp.d.ts.map +1 -1
- package/dist/ui/input-otp.js +3 -3
- package/dist/ui/input-otp.js.map +1 -1
- package/dist/ui/input.js +8 -8
- package/dist/ui/input.js.map +1 -1
- package/dist/ui/label.js +1 -1
- package/dist/ui/label.js.map +1 -1
- package/dist/ui/lib/utils.d.ts.map +1 -1
- package/dist/ui/lib/utils.js +42 -13
- package/dist/ui/lib/utils.js.map +1 -1
- package/dist/ui/menubar.js +7 -7
- package/dist/ui/menubar.js.map +1 -1
- package/dist/ui/navigation-menu.js +1 -1
- package/dist/ui/navigation-menu.js.map +1 -1
- package/dist/ui/number-input.d.ts.map +1 -1
- package/dist/ui/number-input.js +6 -5
- package/dist/ui/number-input.js.map +1 -1
- package/dist/ui/pagination.js +1 -1
- package/dist/ui/pagination.js.map +1 -1
- package/dist/ui/progress-ring.js +3 -3
- package/dist/ui/progress-ring.js.map +1 -1
- package/dist/ui/progress.js +2 -2
- package/dist/ui/progress.js.map +1 -1
- package/dist/ui/segmented-control.js +3 -3
- package/dist/ui/segmented-control.js.map +1 -1
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/select.js +7 -6
- package/dist/ui/select.js.map +1 -1
- package/dist/ui/sheet.js +2 -2
- package/dist/ui/sheet.js.map +1 -1
- package/dist/ui/sidebar.js +7 -7
- package/dist/ui/sidebar.js.map +1 -1
- package/dist/ui/split-button.js +6 -6
- package/dist/ui/split-button.js.map +1 -1
- package/dist/ui/stat-card.d.ts +1 -1
- package/dist/ui/stat-card.js +7 -7
- package/dist/ui/stat-card.js.map +1 -1
- package/dist/ui/stepper.js +3 -3
- package/dist/ui/stepper.js.map +1 -1
- package/dist/ui/table.js +3 -3
- package/dist/ui/table.js.map +1 -1
- package/dist/ui/tabs.js +3 -3
- package/dist/ui/tabs.js.map +1 -1
- package/dist/ui/text.d.ts.map +1 -1
- package/dist/ui/text.js.map +1 -1
- package/dist/ui/textarea.d.ts.map +1 -1
- package/dist/ui/textarea.js +7 -6
- package/dist/ui/textarea.js.map +1 -1
- package/dist/ui/toast.js +11 -11
- package/dist/ui/toast.js.map +1 -1
- package/dist/ui/toggle.js +3 -3
- package/dist/ui/toggle.js.map +1 -1
- package/dist/ui/tooltip.js +1 -1
- package/dist/ui/tooltip.js.map +1 -1
- package/docs/components/composed/diff.md +50 -0
- package/docs/components/ui/data-table.md +2 -2
- package/llms.txt +2 -1
- package/mcp-manifest.json +147 -3
- package/package.json +8 -1
- package/skill/SKILL.md +1 -1
- package/skill/references/components.md +2 -1
|
@@ -58,7 +58,7 @@ var Ie = O.forwardRef(({ groups: e, query: t, command: n }, r) => {
|
|
|
58
58
|
children: [
|
|
59
59
|
t > 0 && /* @__PURE__ */ M("div", { className: "my-ds-01 border-t border-surface-border" }),
|
|
60
60
|
/* @__PURE__ */ M("div", {
|
|
61
|
-
className: "px-ds-03 py-ds-01 text-
|
|
61
|
+
className: "px-ds-03 py-ds-01 text-caption font-medium text-surface-fg-subtle",
|
|
62
62
|
children: e.label
|
|
63
63
|
}),
|
|
64
64
|
e.items.map(({ command: e, flatIndex: t }) => {
|
|
@@ -75,10 +75,10 @@ var Ie = O.forwardRef(({ groups: e, query: t, command: n }, r) => {
|
|
|
75
75
|
}), /* @__PURE__ */ N("div", {
|
|
76
76
|
className: "flex flex-col",
|
|
77
77
|
children: [/* @__PURE__ */ M("span", {
|
|
78
|
-
className: "text-
|
|
78
|
+
className: "text-body-sm text-surface-fg",
|
|
79
79
|
children: e.label
|
|
80
80
|
}), e.description && /* @__PURE__ */ M("span", {
|
|
81
|
-
className: "text-
|
|
81
|
+
className: "text-caption text-surface-fg-subtle",
|
|
82
82
|
children: e.description
|
|
83
83
|
})]
|
|
84
84
|
})]
|
|
@@ -272,11 +272,11 @@ function Be({ attachments: e, onRemoveAttachment: t }) {
|
|
|
272
272
|
}),
|
|
273
273
|
/* @__PURE__ */ M(v, {
|
|
274
274
|
mode: "middle",
|
|
275
|
-
className: "max-w-[120px] text-
|
|
275
|
+
className: "max-w-[120px] text-caption text-surface-fg-muted",
|
|
276
276
|
children: e.name
|
|
277
277
|
}),
|
|
278
278
|
/* @__PURE__ */ M("span", {
|
|
279
|
-
className: "text-
|
|
279
|
+
className: "text-caption text-surface-fg-subtle",
|
|
280
280
|
children: ze(e.size)
|
|
281
281
|
}),
|
|
282
282
|
/* @__PURE__ */ M("button", {
|
|
@@ -441,7 +441,7 @@ var Ue = O.forwardRef(function({ src: e, duration: t, waveformData: n, className
|
|
|
441
441
|
onClick: x
|
|
442
442
|
}),
|
|
443
443
|
/* @__PURE__ */ N("span", {
|
|
444
|
-
className: "text-
|
|
444
|
+
className: "text-caption tabular-nums text-surface-fg-subtle whitespace-nowrap",
|
|
445
445
|
children: [
|
|
446
446
|
He(f),
|
|
447
447
|
" / ",
|
|
@@ -452,7 +452,7 @@ var Ue = O.forwardRef(function({ src: e, duration: t, waveformData: n, className
|
|
|
452
452
|
type: "button",
|
|
453
453
|
onClick: ee,
|
|
454
454
|
"aria-label": `Playback speed ${C}x`,
|
|
455
|
-
className: "shrink-0 text-
|
|
455
|
+
className: "shrink-0 text-body-xs bg-surface-raised rounded-pill px-ds-02 py-[1px] hover:bg-surface-raised-hover tabular-nums transition-colors duration-fast-01 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent-9 focus-visible:ring-offset-2",
|
|
456
456
|
children: [C, "x"]
|
|
457
457
|
})
|
|
458
458
|
]
|
|
@@ -752,7 +752,7 @@ function at({ duration: e, analyserNode: t, maxDuration: n, onCancel: r }) {
|
|
|
752
752
|
"aria-hidden": "true"
|
|
753
753
|
}),
|
|
754
754
|
/* @__PURE__ */ N("span", {
|
|
755
|
-
className: a("text-
|
|
755
|
+
className: a("text-body-sm font-mono tabular-nums whitespace-nowrap", u),
|
|
756
756
|
"aria-label": `${l.minutes} minutes ${l.secs} seconds`,
|
|
757
757
|
children: [
|
|
758
758
|
l.minutes,
|
|
@@ -812,7 +812,7 @@ function ot({ author: e, preview: t, onDismiss: n }) {
|
|
|
812
812
|
className: "flex-1 min-w-0",
|
|
813
813
|
children: [
|
|
814
814
|
/* @__PURE__ */ N("span", {
|
|
815
|
-
className: "text-
|
|
815
|
+
className: "text-body-sm font-semibold text-surface-fg",
|
|
816
816
|
children: ["Replying to ", e]
|
|
817
817
|
}),
|
|
818
818
|
/* @__PURE__ */ M("span", {
|
|
@@ -820,7 +820,7 @@ function ot({ author: e, preview: t, onDismiss: n }) {
|
|
|
820
820
|
children: "·"
|
|
821
821
|
}),
|
|
822
822
|
/* @__PURE__ */ M("span", {
|
|
823
|
-
className: "text-
|
|
823
|
+
className: "text-body-sm text-surface-fg-muted truncate",
|
|
824
824
|
children: t
|
|
825
825
|
})
|
|
826
826
|
]
|
|
@@ -905,7 +905,7 @@ function ct({ value: e, onChange: t }) {
|
|
|
905
905
|
/* @__PURE__ */ M("select", {
|
|
906
906
|
value: n,
|
|
907
907
|
onChange: (e) => a(Number(e.target.value)),
|
|
908
|
-
className: "h-ds-sm rounded-control border border-surface-border-strong bg-surface-raised px-ds-02 text-
|
|
908
|
+
className: "h-ds-sm rounded-control border border-surface-border-strong bg-surface-raised px-ds-02 text-body-sm text-surface-fg focus:outline-hidden focus:ring-2 focus:ring-accent-9",
|
|
909
909
|
"aria-label": "Hour",
|
|
910
910
|
children: Array.from({ length: 12 }, (e, t) => t + 1).map((e) => /* @__PURE__ */ M("option", {
|
|
911
911
|
value: e,
|
|
@@ -913,13 +913,13 @@ function ct({ value: e, onChange: t }) {
|
|
|
913
913
|
}, e))
|
|
914
914
|
}),
|
|
915
915
|
/* @__PURE__ */ M("span", {
|
|
916
|
-
className: "text-
|
|
916
|
+
className: "text-body-sm text-surface-fg-subtle font-medium",
|
|
917
917
|
children: ":"
|
|
918
918
|
}),
|
|
919
919
|
/* @__PURE__ */ M("select", {
|
|
920
920
|
value: r - r % 5,
|
|
921
921
|
onChange: (e) => o(Number(e.target.value)),
|
|
922
|
-
className: "h-ds-sm rounded-control border border-surface-border-strong bg-surface-raised px-ds-02 text-
|
|
922
|
+
className: "h-ds-sm rounded-control border border-surface-border-strong bg-surface-raised px-ds-02 text-body-sm text-surface-fg focus:outline-hidden focus:ring-2 focus:ring-accent-9",
|
|
923
923
|
"aria-label": "Minute",
|
|
924
924
|
children: Array.from({ length: 12 }, (e, t) => t * 5).map((e) => /* @__PURE__ */ M("option", {
|
|
925
925
|
value: e,
|
|
@@ -959,19 +959,19 @@ function lt({ value: e, onChange: t, minDate: n }) {
|
|
|
959
959
|
children: [/* @__PURE__ */ N("div", {
|
|
960
960
|
className: "flex items-center justify-between",
|
|
961
961
|
children: [/* @__PURE__ */ M("span", {
|
|
962
|
-
className: "text-
|
|
962
|
+
className: "text-caption font-medium text-surface-fg-subtle",
|
|
963
963
|
children: "Date"
|
|
964
964
|
}), /* @__PURE__ */ M("input", {
|
|
965
965
|
type: "date",
|
|
966
966
|
value: a,
|
|
967
967
|
min: s,
|
|
968
968
|
onChange: o,
|
|
969
|
-
className: "h-ds-sm rounded-control border border-surface-border-strong bg-surface-raised px-ds-03 text-
|
|
969
|
+
className: "h-ds-sm rounded-control border border-surface-border-strong bg-surface-raised px-ds-03 text-body-sm text-surface-fg focus:outline-hidden focus:ring-2 focus:ring-accent-9"
|
|
970
970
|
})]
|
|
971
971
|
}), /* @__PURE__ */ N("div", {
|
|
972
972
|
className: "flex items-center justify-between",
|
|
973
973
|
children: [/* @__PURE__ */ M("span", {
|
|
974
|
-
className: "text-
|
|
974
|
+
className: "text-caption font-medium text-surface-fg-subtle",
|
|
975
975
|
children: "Time"
|
|
976
976
|
}), /* @__PURE__ */ M(ct, {
|
|
977
977
|
value: i,
|
|
@@ -1002,7 +1002,7 @@ function X({ value: e, onChange: t, minDate: n }) {
|
|
|
1002
1002
|
}), /* @__PURE__ */ N("div", {
|
|
1003
1003
|
className: "flex items-center justify-between border-t border-surface-border pt-ds-03",
|
|
1004
1004
|
children: [/* @__PURE__ */ M("span", {
|
|
1005
|
-
className: "text-
|
|
1005
|
+
className: "text-caption font-medium text-surface-fg-subtle",
|
|
1006
1006
|
children: "Time"
|
|
1007
1007
|
}), /* @__PURE__ */ M(ct, {
|
|
1008
1008
|
value: i,
|
|
@@ -1022,7 +1022,7 @@ function ut({ onSchedule: e, onClose: t, onOpenDialog: n }) {
|
|
|
1022
1022
|
/* @__PURE__ */ N("div", {
|
|
1023
1023
|
className: "mb-ds-03 flex items-center justify-between",
|
|
1024
1024
|
children: [/* @__PURE__ */ M("p", {
|
|
1025
|
-
className: "text-
|
|
1025
|
+
className: "text-body-sm font-medium text-surface-fg",
|
|
1026
1026
|
children: "Pick date & time"
|
|
1027
1027
|
}), /* @__PURE__ */ M(l, {
|
|
1028
1028
|
variant: "ghost",
|
|
@@ -1058,7 +1058,7 @@ function ut({ onSchedule: e, onClose: t, onOpenDialog: n }) {
|
|
|
1058
1058
|
style: { minWidth: 260 },
|
|
1059
1059
|
children: [
|
|
1060
1060
|
/* @__PURE__ */ M("p", {
|
|
1061
|
-
className: "px-ds-03 py-ds-01 text-
|
|
1061
|
+
className: "px-ds-03 py-ds-01 text-caption font-medium text-surface-fg-subtle",
|
|
1062
1062
|
children: "Schedule send"
|
|
1063
1063
|
}),
|
|
1064
1064
|
c.map((e, t) => /* @__PURE__ */ N(l, {
|
|
@@ -1162,7 +1162,7 @@ function pt({ date: e, onClear: t, onEdit: n }) {
|
|
|
1162
1162
|
transition: { duration: i.moderate01 },
|
|
1163
1163
|
className: "overflow-hidden",
|
|
1164
1164
|
children: /* @__PURE__ */ N("div", {
|
|
1165
|
-
className: "flex items-center gap-ds-03 px-ds-04 py-ds-02b text-
|
|
1165
|
+
className: "flex items-center gap-ds-03 px-ds-04 py-ds-02b text-body-xs text-accent-11 bg-accent-2 border-b border-accent-4",
|
|
1166
1166
|
children: [
|
|
1167
1167
|
/* @__PURE__ */ M(s, {
|
|
1168
1168
|
icon: ve,
|
|
@@ -1307,14 +1307,14 @@ var ht = {
|
|
|
1307
1307
|
}
|
|
1308
1308
|
}, gt = [
|
|
1309
1309
|
"prose prose-sm max-w-none focus:outline-hidden",
|
|
1310
|
-
"font-body text-
|
|
1310
|
+
"font-body text-body-md leading-relaxed text-surface-fg",
|
|
1311
1311
|
"[&_p.is-editor-empty:first-child]:relative",
|
|
1312
1312
|
"[&_p.is-editor-empty:first-child::before]:text-surface-fg-subtle [&_p.is-editor-empty:first-child::before]:content-[attr(data-placeholder)] [&_p.is-editor-empty:first-child::before]:pointer-events-none [&_p.is-editor-empty:first-child::before]:absolute [&_p.is-editor-empty:first-child::before]:left-0 [&_p.is-editor-empty:first-child::before]:top-0 [&_p.is-editor-empty:first-child::before]:w-full [&_p.is-editor-empty:first-child::before]:truncate",
|
|
1313
1313
|
"[&_p]:mb-ds-01 [&_p]:text-surface-fg",
|
|
1314
1314
|
"[&_p:last-child]:mb-0",
|
|
1315
1315
|
"[&_ul]:ml-ds-04 [&_ul]:list-disc [&_ol]:ml-ds-04 [&_ol]:list-decimal",
|
|
1316
1316
|
"[&_li]:text-surface-fg",
|
|
1317
|
-
"[&_code]:rounded [&_code]:bg-surface-raised [&_code]:px-ds-02 [&_code]:py-[1px] [&_code]:text-
|
|
1317
|
+
"[&_code]:rounded [&_code]:bg-surface-raised [&_code]:px-ds-02 [&_code]:py-[1px] [&_code]:text-body-md [&_code]:text-accent-11",
|
|
1318
1318
|
"[&_strong]:font-semibold [&_strong]:text-surface-fg",
|
|
1319
1319
|
"[&_mark]:rounded-xs [&_mark]:bg-warning-3 [&_mark]:px-[2px]",
|
|
1320
1320
|
"[&_a]:text-accent-11 [&_a]:underline",
|
|
@@ -1345,14 +1345,14 @@ function _t({ options: e }) {
|
|
|
1345
1345
|
}), t && /* @__PURE__ */ N("div", {
|
|
1346
1346
|
className: "absolute bottom-full right-0 mb-ds-02 min-w-[200px] rounded-surface bg-surface-overlay p-ds-02 shadow-floating z-popover",
|
|
1347
1347
|
children: [/* @__PURE__ */ M("p", {
|
|
1348
|
-
className: "px-ds-03 py-ds-01 text-
|
|
1348
|
+
className: "px-ds-03 py-ds-01 text-caption font-medium text-surface-fg-subtle",
|
|
1349
1349
|
children: "Send options"
|
|
1350
1350
|
}), e.map((e, t) => /* @__PURE__ */ N("button", {
|
|
1351
1351
|
type: "button",
|
|
1352
1352
|
onClick: () => {
|
|
1353
1353
|
e.onSelect(), n(!1);
|
|
1354
1354
|
},
|
|
1355
|
-
className: "flex w-full items-center gap-ds-03 rounded-control px-ds-03 py-ds-02 text-
|
|
1355
|
+
className: "flex w-full items-center gap-ds-03 rounded-control px-ds-03 py-ds-02 text-body-sm text-surface-fg hover:bg-surface-raised-hover transition-colors duration-fast-01",
|
|
1356
1356
|
children: [e.icon && /* @__PURE__ */ M(e.icon, { className: "h-ico-sm w-ico-sm text-surface-fg-muted" }), e.label]
|
|
1357
1357
|
}, t))]
|
|
1358
1358
|
})]
|
|
@@ -1375,7 +1375,7 @@ function yt({ onSelect: e, onClose: t }) {
|
|
|
1375
1375
|
let r = /* @__PURE__ */ M("div", {
|
|
1376
1376
|
className: "flex h-[435px] w-[352px] items-center justify-center rounded-surface bg-surface-overlay shadow-floating",
|
|
1377
1377
|
children: /* @__PURE__ */ M("span", {
|
|
1378
|
-
className: "text-
|
|
1378
|
+
className: "text-body-sm text-surface-fg-subtle",
|
|
1379
1379
|
children: "Loading…"
|
|
1380
1380
|
})
|
|
1381
1381
|
});
|
|
@@ -1854,7 +1854,7 @@ var xt = O.forwardRef(function({ onSubmit: o, placeholder: u = "Type a message..
|
|
|
1854
1854
|
g && _ !== "hidden" && (() => {
|
|
1855
1855
|
let e = Ve / g;
|
|
1856
1856
|
return _ === "always" || _ === "focus" && ze || (_ === "near-limit" || !_) && e >= .8 || e >= 1 ? /* @__PURE__ */ N("div", {
|
|
1857
|
-
className: a("flex justify-end px-ds-04 pb-ds-02 text-
|
|
1857
|
+
className: a("flex justify-end px-ds-04 pb-ds-02 text-body-xs tabular-nums transition-opacity duration-fast-01", e >= 1 ? "text-error-11 font-medium" : e >= .9 ? "text-warning-11" : "text-surface-fg-subtle"),
|
|
1858
1858
|
children: [
|
|
1859
1859
|
Ve,
|
|
1860
1860
|
"/",
|
|
@@ -2057,7 +2057,7 @@ var xt = O.forwardRef(function({ onSubmit: o, placeholder: u = "Type a message..
|
|
|
2057
2057
|
})]
|
|
2058
2058
|
}),
|
|
2059
2059
|
_e && /* @__PURE__ */ M("p", {
|
|
2060
|
-
className: "mt-ds-02 text-center text-
|
|
2060
|
+
className: "mt-ds-02 text-center text-caption text-surface-fg-subtle/50",
|
|
2061
2061
|
children: _e
|
|
2062
2062
|
}),
|
|
2063
2063
|
F && /* @__PURE__ */ M(dt, {
|