@limetech/lime-crm-building-blocks 1.124.0 → 1.125.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/CHANGELOG.md +8 -0
- package/dist/cjs/color-palettes-BWuwMtwv.js +334 -0
- package/dist/cjs/index.cjs.js +5 -0
- package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
- package/dist/cjs/limebb-alert-dialog.cjs.entry.js +1 -1
- package/dist/cjs/limebb-browser.cjs.entry.js +2 -2
- package/dist/cjs/limebb-chat-icon-list_3.cjs.entry.js +4 -4
- package/dist/cjs/limebb-chat-list.cjs.entry.js +1 -1
- package/dist/cjs/limebb-color-palette-picker.cjs.entry.js +85 -0
- package/dist/cjs/limebb-color-palette-swatches.cjs.entry.js +21 -0
- package/dist/cjs/limebb-composer-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/limebb-currency-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +1 -1
- package/dist/cjs/limebb-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-date-range.cjs.entry.js +1 -1
- package/dist/cjs/limebb-document-chips.cjs.entry.js +1 -1
- package/dist/cjs/limebb-document-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-document-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed.cjs.entry.js +1 -1
- package/dist/cjs/limebb-icon-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile.cjs.entry.js +1 -1
- package/dist/cjs/limebb-kanban-group.cjs.entry.js +1 -1
- package/dist/cjs/limebb-kanban-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +2 -2
- package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-filter-group_3.cjs.entry.js +3 -3
- package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +1 -1
- package/dist/cjs/limebb-live-docs-info.cjs.entry.js +2 -2
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +2 -2
- package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +2 -2
- package/dist/cjs/limebb-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +2 -2
- package/dist/cjs/limebb-rule-gate.cjs.entry.js +1 -1
- package/dist/cjs/limebb-text-editor.cjs.entry.js +1 -1
- package/dist/cjs/limebb-trend-indicator.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/alert-dialog/alert-dialog.js +1 -1
- package/dist/collection/components/browser/browser.js +2 -2
- package/dist/collection/components/chat-list/chat-icon-list/chat-icon-list.js +1 -1
- package/dist/collection/components/chat-list/chat-item/chat-item.js +2 -2
- package/dist/collection/components/chat-list/chat-list.js +1 -1
- package/dist/collection/components/chat-list/typing-indicator/typing-indicator.js +1 -1
- package/dist/collection/components/color-palette-picker/color-palette-picker.css +5 -0
- package/dist/collection/components/color-palette-picker/color-palette-picker.js +295 -0
- package/dist/collection/components/color-palette-picker/color-palette-swatches/color-palette-swatches.css +28 -0
- package/dist/collection/components/color-palette-picker/color-palette-swatches/color-palette-swatches.js +61 -0
- package/dist/collection/components/composer-toolbar/composer-toolbar.js +2 -2
- package/dist/collection/components/currency-picker/currency-picker.js +1 -1
- package/dist/collection/components/dashboard-widget/dashboard-widget.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-range/date-range.js +1 -1
- package/dist/collection/components/document-chips/document-chips.js +1 -1
- package/dist/collection/components/document-picker/document-item/document-item.js +2 -2
- package/dist/collection/components/document-picker/document-picker.js +1 -1
- package/dist/collection/components/feed/feed-item/feed-timeline-item.js +1 -1
- package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.js +1 -1
- package/dist/collection/components/feed/feed.js +1 -1
- package/dist/collection/components/icon-picker/icon-picker.js +1 -1
- package/dist/collection/components/info-tile/format/config/info-tile-format.js +1 -1
- package/dist/collection/components/info-tile/info-tile.js +1 -1
- package/dist/collection/components/kanban/kanban-group/kanban-group.js +1 -1
- package/dist/collection/components/kanban/kanban-item/kanban-item.js +1 -1
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-comparison.js +1 -1
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.js +2 -2
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.js +1 -1
- package/dist/collection/components/lime-query-builder/lime-query-builder.js +1 -1
- package/dist/collection/components/lime-query-builder/lime-query-response-format-builder.js +1 -1
- package/dist/collection/components/lime-query-builder/limetype-field/limetype-field.js +1 -1
- package/dist/collection/components/lime-query-builder/order-by/order-by-editor.js +1 -1
- package/dist/collection/components/lime-query-builder/order-by/order-by-item.js +2 -2
- package/dist/collection/components/lime-query-builder/response-format/response-format-item.js +1 -1
- package/dist/collection/components/limeobject/file-viewer/live-docs-info.js +2 -2
- package/dist/collection/components/locale-picker/locale-picker.js +1 -1
- package/dist/collection/components/notification-list/notification-item/notification-item.js +1 -1
- package/dist/collection/components/percentage-visualizer/percentage-visualizer.js +2 -2
- package/dist/collection/components/rule-gate/rule-gate.js +1 -1
- package/dist/collection/components/summary-popover/summary-popover.js +2 -2
- package/dist/collection/components/text-editor/mention-group-counter.js +2 -2
- package/dist/collection/components/text-editor/text-editor.js +1 -1
- package/dist/collection/components/trend-indicator/trend-indicator.js +1 -1
- package/dist/collection/index.js +1 -0
- package/dist/collection/util/color-palettes.js +329 -0
- package/dist/components/chat-icon-list.js +1 -1
- package/dist/components/chat-item.js +1 -1
- package/dist/components/color-palettes.js +1 -0
- package/dist/components/currency-picker.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/document-item.js +1 -1
- package/dist/components/feed-item-thumbnail-file-info.js +1 -1
- package/dist/components/feed-timeline-item.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/kanban-group.js +1 -1
- package/dist/components/kanban-item.js +1 -1
- package/dist/components/lime-query-filter-comparison.js +1 -1
- package/dist/components/lime-query-filter-expression.js +1 -1
- package/dist/components/limebb-alert-dialog.js +1 -1
- package/dist/components/limebb-browser.js +1 -1
- package/dist/components/limebb-chat-list.js +1 -1
- package/dist/components/limebb-color-palette-picker.d.ts +11 -0
- package/dist/components/limebb-color-palette-picker.js +1 -0
- package/dist/components/limebb-color-palette-swatches.d.ts +11 -0
- package/dist/components/limebb-color-palette-swatches.js +1 -0
- package/dist/components/limebb-composer-toolbar.js +1 -1
- package/dist/components/limebb-dashboard-widget.js +1 -1
- package/dist/components/limebb-date-range.js +1 -1
- package/dist/components/limebb-document-chips.js +1 -1
- package/dist/components/limebb-document-picker.js +1 -1
- package/dist/components/limebb-feed.js +1 -1
- package/dist/components/limebb-icon-picker.js +1 -1
- package/dist/components/limebb-info-tile-format.js +1 -1
- package/dist/components/limebb-info-tile.js +1 -1
- package/dist/components/limebb-lime-query-builder.js +1 -1
- package/dist/components/limebb-lime-query-response-format-builder.js +1 -1
- package/dist/components/limebb-locale-picker.js +1 -1
- package/dist/components/limebb-mention-group-counter.js +1 -1
- package/dist/components/limebb-rule-gate.js +1 -1
- package/dist/components/limebb-text-editor.js +1 -1
- package/dist/components/limebb-trend-indicator.js +1 -1
- package/dist/components/limetype-field.js +1 -1
- package/dist/components/live-docs-info.js +1 -1
- package/dist/components/notification-item.js +1 -1
- package/dist/components/order-by-editor.js +1 -1
- package/dist/components/order-by-item.js +1 -1
- package/dist/components/percentage-visualizer.js +1 -1
- package/dist/components/response-format-item.js +1 -1
- package/dist/components/summary-popover.js +1 -1
- package/dist/components/typing-indicator.js +1 -1
- package/dist/esm/color-palettes-1N3bZuHj.js +331 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/lime-crm-building-blocks.js +1 -1
- package/dist/esm/limebb-alert-dialog.entry.js +1 -1
- package/dist/esm/limebb-browser.entry.js +2 -2
- package/dist/esm/limebb-chat-icon-list_3.entry.js +4 -4
- package/dist/esm/limebb-chat-list.entry.js +1 -1
- package/dist/esm/limebb-color-palette-picker.entry.js +83 -0
- package/dist/esm/limebb-color-palette-swatches.entry.js +19 -0
- package/dist/esm/limebb-composer-toolbar.entry.js +2 -2
- package/dist/esm/limebb-currency-picker.entry.js +1 -1
- package/dist/esm/limebb-dashboard-widget.entry.js +1 -1
- package/dist/esm/limebb-date-picker.entry.js +1 -1
- package/dist/esm/limebb-date-range.entry.js +1 -1
- package/dist/esm/limebb-document-chips.entry.js +1 -1
- package/dist/esm/limebb-document-item.entry.js +2 -2
- package/dist/esm/limebb-document-picker.entry.js +1 -1
- package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +1 -1
- package/dist/esm/limebb-feed-timeline-item.entry.js +1 -1
- package/dist/esm/limebb-feed.entry.js +1 -1
- package/dist/esm/limebb-icon-picker.entry.js +1 -1
- package/dist/esm/limebb-info-tile-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile.entry.js +1 -1
- package/dist/esm/limebb-kanban-group.entry.js +1 -1
- package/dist/esm/limebb-kanban-item.entry.js +1 -1
- package/dist/esm/limebb-lime-query-builder.entry.js +1 -1
- package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +2 -2
- package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +1 -1
- package/dist/esm/limebb-lime-query-filter-group_3.entry.js +3 -3
- package/dist/esm/limebb-lime-query-order-by-item.entry.js +2 -2
- package/dist/esm/limebb-lime-query-response-format-builder.entry.js +1 -1
- package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +1 -1
- package/dist/esm/limebb-live-docs-info.entry.js +2 -2
- package/dist/esm/limebb-locale-picker.entry.js +1 -1
- package/dist/esm/limebb-mention-group-counter.entry.js +2 -2
- package/dist/esm/limebb-navigation-button_2.entry.js +2 -2
- package/dist/esm/limebb-notification-item.entry.js +1 -1
- package/dist/esm/limebb-percentage-visualizer.entry.js +2 -2
- package/dist/esm/limebb-rule-gate.entry.js +1 -1
- package/dist/esm/limebb-text-editor.entry.js +1 -1
- package/dist/esm/limebb-trend-indicator.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/lime-crm-building-blocks/index.esm.js +1 -1
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-4f042496.entry.js → p-0be33708.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-5f97c392.entry.js → p-152b4f92.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-1N3bZuHj.js +1 -0
- package/dist/lime-crm-building-blocks/{p-9a42ae42.entry.js → p-23188fe0.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-4b275818.entry.js → p-24004bf3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-4a93a4df.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-25c4e389.entry.js → p-4c255e2f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6cb2d9dd.entry.js → p-53b19393.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ad27bd5d.entry.js → p-593340d9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-dd07a1ac.entry.js → p-5c420ada.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-bb5d40b1.entry.js → p-6941de0b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-6a27184b.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-b0567904.entry.js → p-70957bab.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f0a5076c.entry.js → p-8b11a02c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-5fa5e7f4.entry.js → p-8e6446b5.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-52bddb06.entry.js → p-8f70f909.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e3e2852a.entry.js → p-900b74c0.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f7114acb.entry.js → p-9041e7aa.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-27798ace.entry.js → p-a27e9bbb.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-85caaf36.entry.js → p-a3d4f2e1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8f8108c1.entry.js → p-a4584260.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-0f2d1ea7.entry.js → p-b35ebf4d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-fcedbc77.entry.js → p-b4ae3ed3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-09c63bce.entry.js → p-b5d84fff.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e4ff2906.entry.js → p-b74fe1ed.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b07b3ae3.entry.js → p-befd1d3c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-67326d92.entry.js → p-c5f0582c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-c60673a4.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-2caf01c8.entry.js → p-c93314a6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-9d56503d.entry.js → p-da248a53.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-e3a3c291.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-774cd93c.entry.js → p-e84ff80f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6a05192a.entry.js → p-ebd152ab.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-287780c1.entry.js → p-f04ca19d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-9214b92e.entry.js → p-f3ba4ed1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e8425a2c.entry.js → p-f3c412b3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-529dbe46.entry.js → p-fa7597f7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-fc1aec12.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-0cbe7498.entry.js → p-fc6d9cea.entry.js} +1 -1
- package/dist/types/components/color-palette-picker/color-palette-picker.d.ts +89 -0
- package/dist/types/components/color-palette-picker/color-palette-swatches/color-palette-swatches.d.ts +23 -0
- package/dist/types/components.d.ts +288 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/util/color-palettes.d.ts +67 -0
- package/package.json +1 -1
- package/dist/lime-crm-building-blocks/p-51ab9d60.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-628ce56b.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-c6caa3f9.entry.js +0 -1
|
@@ -38,9 +38,9 @@ export class OrderByItemComponent {
|
|
|
38
38
|
render() {
|
|
39
39
|
const propertyPath = Object.keys(this.item)[0] || '';
|
|
40
40
|
const direction = this.item[propertyPath] || 'ASC';
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '65d267326b90a52f00131fc640af13d205818b36' }, h("limebb-property-selector", { key: '2e03bec16c590ffe5d2da30ed702dd6f1296eeb7', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: propertyPath, required: true, onChange: this.handlePathChange }), h("div", { key: '5630fddcc84cf424f5d129c965d6da0de50dd0cc', class: "control-buttons" }, h("limel-icon-button", { key: 'acc6c1c1b811c4a502938e7a8fa9580f3d494a7d', icon: direction === 'ASC'
|
|
42
42
|
? 'sort_ascending'
|
|
43
|
-
: 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '
|
|
43
|
+
: 'sort_descending', label: direction === 'ASC' ? 'Ascending' : 'Descending', onClick: this.handleToggleDirection }), h("limel-icon-button", { key: '3906782122922a17318c425856eb721aad34d899', icon: "trash", label: "Remove", onClick: this.handleRemove }))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "limebb-lime-query-order-by-item"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/lime-query-builder/response-format/response-format-item.js
CHANGED
|
@@ -66,7 +66,7 @@ export class ResponseFormatItem {
|
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
68
|
return [
|
|
69
|
-
h("div", { key: '
|
|
69
|
+
h("div", { key: 'bc504de456d1ddaa6662ac94363eff280eb1ce6f', class: "property-controls" }, h("div", { key: '712a737353745444b9a5ff952e92e9e26febe599', class: "property-path" }, h("limebb-property-selector", { key: 'bc43624bf5116deb09b42b0df68f96fce26b3d07', platform: this.platform, context: this.context, limetype: this.limetype, label: "Property", value: this.item.path, required: true, onChange: this.handlePathChange }), h("div", { key: 'd0f1380dc4302b1d8dfbb38920148956110f31b1', class: "input-grid" }, this.renderAliasInput()), h("div", { key: '8c6afaeacfacc249b454ea78b8dfa6b31e55af27', class: "input-grid" }, this.renderDescriptionInput()), h("div", { key: '78f980ef95557713c0615ba8f4600bbb9a223d83', class: "button-group" }, this.renderAliasButton(), this.renderDescriptionButton())), h("limel-icon-button", { key: 'bc1e687decd286b53e6c6a7ae6ce4216eaf300e0', icon: "trash", label: "Remove property", onClick: this.handleRemove })),
|
|
70
70
|
];
|
|
71
71
|
}
|
|
72
72
|
renderAliasButton() {
|
|
@@ -5,8 +5,8 @@ import { h } from "@stencil/core";
|
|
|
5
5
|
export class LiveDocsInfo {
|
|
6
6
|
render() {
|
|
7
7
|
return [
|
|
8
|
-
h("div", { key: '
|
|
9
|
-
h("p", { key: '
|
|
8
|
+
h("div", { key: 'b20e44e8f4d9d39ab78d4fff68d54ff8493838e2', class: "header" }, h("limel-icon", { key: '04166b1545455ef718bc60da7b065ee4af39b3d2', name: "not_showing_video_frames" }), h("h2", { key: 'e425b7b516157d978c48983b895feebb181a18f8' }, "Viewing this file type requires ", h("em", { key: 'afe3eae6c85f6c3c5daf6567d7ea52b6d717f50f' }, "Live Docs"))),
|
|
9
|
+
h("p", { key: '07674921034427a96f01cf763ff551cab475b05e' }, h("em", { key: '9e51b9fa9087098a5851f90ecfd487bbb3ddf488' }, "Live Docs"), " not only enables you to view many file formats such as Microsoft Office documents, but it also empowers you to edit them right in the CRM. No need to download anything on your device!", h("a", { key: '798681d6db41eceb97008a8f55efcaf30a833fd1', target: "_blank", href: "https://www.lime-technologies.com/en/lime-crm/live-docs/" }, "Learn more")),
|
|
10
10
|
];
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "limebb-live-docs-info"; }
|
|
@@ -53,7 +53,7 @@ export class LocalePicker {
|
|
|
53
53
|
const value = this.value;
|
|
54
54
|
selectedOptions = options.find((option) => option.value === value);
|
|
55
55
|
}
|
|
56
|
-
return (h("limel-select", { key: '
|
|
56
|
+
return (h("limel-select", { key: '2c094b31bc412448af057435ab431bf7ef5d739c', value: selectedOptions, options: sortBy(options, 'text'), helperText: this.helperText, label: this.label, required: this.required, disabled: this.disabled, readonly: this.readonly, onChange: this.handleChange, multiple: this.multipleChoice }));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "limebb-locale-picker"; }
|
|
59
59
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,7 +56,7 @@ export class NotificationListItem {
|
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
58
|
var _a, _b;
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'a82e48c8b5e8d99eecf63395e0b93c57245b7a33', id: this.item.id, class: {
|
|
60
60
|
'is-clickable': this.isItemClickable(),
|
|
61
61
|
'is-read': !!((_a = this.item) === null || _a === void 0 ? void 0 : _a.read),
|
|
62
62
|
'is-selected': !!((_b = this.item) === null || _b === void 0 ? void 0 : _b.selected),
|
|
@@ -108,11 +108,11 @@ export class PercentageVisualizer {
|
|
|
108
108
|
render() {
|
|
109
109
|
const normalizedValue = this.getNormalizedValue();
|
|
110
110
|
const zeroPoint = this.getZeroPointPosition();
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: '4dcace9f6e1e896b49e7ee3065d210530481175a', class: this.getContainerClassList(), style: {
|
|
112
112
|
'--limebb-percentage-visualizer-zero-point-position': `${zeroPoint}%`,
|
|
113
113
|
'--limebb-percentage-visualizer-width': `${Math.abs(normalizedValue)}%`,
|
|
114
114
|
'--limebb-percentage-visualizer-rotate': `${normalizedValue >= 0 ? '0deg' : '180deg'}`,
|
|
115
|
-
} }, h("limel-notched-outline", { key: '
|
|
115
|
+
} }, h("limel-notched-outline", { key: '20038e523b9cf1212c07bc0dd5c3cdf8e135352e', tabIndex: 0, role: "meter", "aria-valuemin": this.rangeMin, "aria-valuemax": this.rangeMax, "aria-valuenow": this.numValue, "aria-labelledby": this.labelId, "aria-describedby": this.helperTextId, label: this.label, labelId: this.labelId, invalid: this.invalid, required: this.required, hasValue: true, hasFloatingLabel: true, "aria-controls": this.helperTextId }, h("div", { key: 'fb1fc40b1a0a6caced2e997eeb159c2f6a08ef47', slot: "content" }, this.renderVisualization())), this.renderHelperLine()));
|
|
116
116
|
}
|
|
117
117
|
renderVisualization() {
|
|
118
118
|
if (this.reducePresence && (this.numValue === 0 || !this.hasValue())) {
|
|
@@ -25,7 +25,7 @@ export class RuleGate {
|
|
|
25
25
|
this.compileAndEvaluate();
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '987da88562f3cfe1c5b0599d3aa73795bcbd317d', hidden: !this.shouldRender }, h("slot", { key: '3af4b067ebb51007c525719614cce800c018aeb6' })));
|
|
29
29
|
}
|
|
30
30
|
get ruleRegistry() {
|
|
31
31
|
return this.platform.get(PlatformServiceName.RuleRegistry);
|
|
@@ -128,9 +128,9 @@ export class SummaryPopover {
|
|
|
128
128
|
top: '0.125rem',
|
|
129
129
|
right: '0.125rem',
|
|
130
130
|
};
|
|
131
|
-
return (h("limel-popover", { key: '
|
|
131
|
+
return (h("limel-popover", { key: '32ec29794e6a1b4c4b50dfa8e1b57b1f7965aab6', style: {
|
|
132
132
|
'--limebb-summary-popover-timeout': `${this.triggerDelay}ms`,
|
|
133
|
-
}, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: '
|
|
133
|
+
}, open: this.isPopoverOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("div", { key: 'a03d5ea2815dff89259b6b2a7dc6751aa02e49d1', slot: "trigger", onMouseEnter: this.openPopoverWithDelay, onMouseLeave: this.resetTimeout, onFocusin: this.openPopoverWithDelay }, h("slot", { key: 'd28456f69ef961a685b60e081b36208f49453492', name: "trigger" }), h("div", { key: '90a0f63f047fcc7cd6d974e77cc4d44035de055c', class: "opening-countdown-indicator" })), this.renderCard(closeButtonStyle)));
|
|
134
134
|
}
|
|
135
135
|
renderCard(closeButtonStyle) {
|
|
136
136
|
return (h("limel-card", { style: {
|
|
@@ -13,8 +13,8 @@ export class MentionGroupCounter {
|
|
|
13
13
|
render() {
|
|
14
14
|
const label = this.getLabel();
|
|
15
15
|
return [
|
|
16
|
-
h("span", { key: '
|
|
17
|
-
h("limel-tooltip", { key: '
|
|
16
|
+
h("span", { key: 'c07251e2178af8589bf7e9efe22072bdef98abe4', id: this.tooltipId }, label),
|
|
17
|
+
h("limel-tooltip", { key: '35e586a0e632c08dfce5982c729e5907e9cd7d50', elementId: this.tooltipId, label: label, helperLabel: this.helperLabel }),
|
|
18
18
|
];
|
|
19
19
|
}
|
|
20
20
|
getLabel() {
|
|
@@ -391,7 +391,7 @@ export class LimeBBTextEditor {
|
|
|
391
391
|
}
|
|
392
392
|
render() {
|
|
393
393
|
return [
|
|
394
|
-
h("limel-text-editor", { key: '
|
|
394
|
+
h("limel-text-editor", { key: 'a208dcc0631ee1a9ab0bc488b461d25f4881c95d', ref: (el) => (this.textEditor = el), tabindex: this.disabled ? -1 : 0, value: this.value, contentType: this.contentType, customElements: this.registeredCustomElements, "aria-disabled": this.disabled, language: this.language, triggers: this.registeredTriggers, onTriggerStart: this.handleTriggerStart, onTriggerStop: this.handleTriggerStop, onTriggerChange: this.handleTriggerChange, onImagePasted: this.handleImagePasted, onMetadataChange: this.handleMetadataChange, ui: this.ui, allowResize: this.allowResize, required: this.required, disabled: this.disabled, readonly: this.readonly, helperText: this.helperText, placeholder: this.placeholder, label: this.label, invalid: this.invalid }),
|
|
395
395
|
this.renderPicker(),
|
|
396
396
|
];
|
|
397
397
|
}
|
|
@@ -69,7 +69,7 @@ export class TrendIndicator {
|
|
|
69
69
|
this.numValue = this.parseValue(this.value);
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: '53ac9e7b58e9639b66de3aaa95f2c87066242bf2', class: this.getContainerClassList() }, h("limel-notched-outline", { key: '09cbfb01f55b1ce7bd997f6dfaa66c10d9889eea', id: this.tooltipId, label: this.label, labelId: this.labelId, invalid: this.invalid, required: this.required, hasValue: true, hasFloatingLabel: true, "aria-labelledby": this.labelId, "aria-describedby": this.helperTextId, "aria-controls": this.helperTextId }, h("div", { key: 'e3f9f0e361ac65f2b3f46a038c8dc398def9c0b9', slot: "content", tabIndex: 0 }, this.renderVisualization())), this.renderHelperLine(), this.renderTooltip()));
|
|
73
73
|
}
|
|
74
74
|
renderVisualization() {
|
|
75
75
|
if (this.reducePresence && (this.numValue === 0 || !this.hasValue())) {
|
package/dist/collection/index.js
CHANGED
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A small registry of curated color palettes that can be reused
|
|
3
|
+
* wherever Lime CRM needs to assign distinct colors to a list of
|
|
4
|
+
* items — tag swatches, kanban swimlanes, multi-series visuals,
|
|
5
|
+
* legend entries, chart buckets, and so on. Palettes are stored as
|
|
6
|
+
* plain CSS color strings so consumers can hand them straight to a
|
|
7
|
+
* component prop or to inline `style` without further conversion.
|
|
8
|
+
*
|
|
9
|
+
* The default palettes lean on the Lime Extended color palette via
|
|
10
|
+
* `rgb(var(--color-…))` so they pick up dark / light mode
|
|
11
|
+
* automatically. The color-blind-friendly palette uses Wong (2011)
|
|
12
|
+
* hex values verbatim — those are tuned for distinguishability and
|
|
13
|
+
* substituting Lime's nearest neighbours would defeat the purpose.
|
|
14
|
+
*
|
|
15
|
+
* :::important
|
|
16
|
+
* **Append-only:** consumers assign colors by index (often modulo
|
|
17
|
+
* the palette length), so to keep already-saved configurations
|
|
18
|
+
* stable across releases, never reorder or replace existing colors
|
|
19
|
+
* in a palette — only append new ones at the end.
|
|
20
|
+
* :::
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* Built-in palettes. Order matters — pickers should render them in
|
|
24
|
+
* this order, with the first entry being the most generally useful
|
|
25
|
+
* default.
|
|
26
|
+
*
|
|
27
|
+
* @beta
|
|
28
|
+
*/
|
|
29
|
+
export const COLOR_PALETTES = [
|
|
30
|
+
{
|
|
31
|
+
id: 'lime-ui',
|
|
32
|
+
title: 'Lime UI',
|
|
33
|
+
description: 'Vibrant, well-balanced colors drawn from the Lime UI palette. A safe default.',
|
|
34
|
+
colors: [
|
|
35
|
+
'rgb(var(--color-blue-default))',
|
|
36
|
+
'rgb(var(--color-orange-default))',
|
|
37
|
+
'rgb(var(--color-teal-default))',
|
|
38
|
+
'rgb(var(--color-purple-default))',
|
|
39
|
+
'rgb(var(--color-amber-default))',
|
|
40
|
+
'rgb(var(--color-sky-default))',
|
|
41
|
+
'rgb(var(--color-pink-default))',
|
|
42
|
+
'rgb(var(--color-lime-default))',
|
|
43
|
+
'rgb(var(--color-green-default))',
|
|
44
|
+
'rgb(var(--color-magenta-default))',
|
|
45
|
+
],
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: 'soft-pastels',
|
|
49
|
+
title: 'Soft pastels',
|
|
50
|
+
description: 'Light, easy-on-the-eyes shades. Good for dense visuals where the colors should not dominate.',
|
|
51
|
+
colors: [
|
|
52
|
+
'rgb(var(--color-blue-light))',
|
|
53
|
+
'rgb(var(--color-orange-light))',
|
|
54
|
+
'rgb(var(--color-teal-light))',
|
|
55
|
+
'rgb(var(--color-purple-light))',
|
|
56
|
+
'rgb(var(--color-amber-light))',
|
|
57
|
+
'rgb(var(--color-pink-light))',
|
|
58
|
+
'rgb(var(--color-lime-light))',
|
|
59
|
+
'rgb(var(--color-gray-light))',
|
|
60
|
+
'rgb(var(--color-sky-light))',
|
|
61
|
+
'rgb(var(--color-green-light))',
|
|
62
|
+
],
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: 'earth-tones',
|
|
66
|
+
title: 'Earth tones',
|
|
67
|
+
description: 'Warm, organic shades. Reads calmly without grabbing attention; pairs well with neutral surfaces.',
|
|
68
|
+
colors: [
|
|
69
|
+
'rgb(var(--color-brown-default))',
|
|
70
|
+
'rgb(var(--color-orange-dark))',
|
|
71
|
+
'rgb(var(--color-amber-default))',
|
|
72
|
+
'rgb(var(--color-coral-dark))',
|
|
73
|
+
'rgb(var(--color-lime-dark))',
|
|
74
|
+
'rgb(var(--color-glaucous-default))',
|
|
75
|
+
'rgb(var(--color-yellow-dark))',
|
|
76
|
+
'rgb(var(--color-gray-dark))',
|
|
77
|
+
'rgb(var(--color-red-dark))',
|
|
78
|
+
'rgb(var(--color-green-dark))',
|
|
79
|
+
],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
id: 'cool-blues',
|
|
83
|
+
title: 'Cool blues',
|
|
84
|
+
description: 'Single-hue gradient from light to deep blue. Good for sequential or ordered values — magnitude, ranks, intensity.',
|
|
85
|
+
colors: [
|
|
86
|
+
'rgb(var(--color-sky-lighter))',
|
|
87
|
+
'rgb(var(--color-blue-lighter))',
|
|
88
|
+
'rgb(var(--color-sky-light))',
|
|
89
|
+
'rgb(var(--color-blue-light))',
|
|
90
|
+
'rgb(var(--color-blue-default))',
|
|
91
|
+
'rgb(var(--color-blue-dark))',
|
|
92
|
+
'rgb(var(--color-indigo-default))',
|
|
93
|
+
'rgb(var(--color-indigo-dark))',
|
|
94
|
+
'rgb(var(--color-blue-darker))',
|
|
95
|
+
'rgb(var(--color-indigo-darker))',
|
|
96
|
+
],
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
id: 'sunset',
|
|
100
|
+
title: 'Sunset',
|
|
101
|
+
description: 'Warm gradient from yellow through orange to deep pink. Good for intensity or urgency.',
|
|
102
|
+
colors: [
|
|
103
|
+
'rgb(var(--color-yellow-light))',
|
|
104
|
+
'rgb(var(--color-amber-light))',
|
|
105
|
+
'rgb(var(--color-amber-default))',
|
|
106
|
+
'rgb(var(--color-orange-default))',
|
|
107
|
+
'rgb(var(--color-coral-default))',
|
|
108
|
+
'rgb(var(--color-coral-dark))',
|
|
109
|
+
'rgb(var(--color-pink-default))',
|
|
110
|
+
'rgb(var(--color-pink-dark))',
|
|
111
|
+
'rgb(var(--color-magenta-dark))',
|
|
112
|
+
'rgb(var(--color-purple-darker))',
|
|
113
|
+
],
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
id: 'ocean',
|
|
117
|
+
title: 'Ocean',
|
|
118
|
+
description: 'Cool gradient from pale cyan through teal to deep navy. Good for sequential values where warmth would feel out of place.',
|
|
119
|
+
colors: [
|
|
120
|
+
'rgb(var(--color-cyan-lighter))',
|
|
121
|
+
'rgb(var(--color-cyan-light))',
|
|
122
|
+
'rgb(var(--color-cyan-default))',
|
|
123
|
+
'rgb(var(--color-teal-light))',
|
|
124
|
+
'rgb(var(--color-teal-default))',
|
|
125
|
+
'rgb(var(--color-teal-dark))',
|
|
126
|
+
'rgb(var(--color-blue-default))',
|
|
127
|
+
'rgb(var(--color-blue-dark))',
|
|
128
|
+
'rgb(var(--color-indigo-darker))',
|
|
129
|
+
'rgb(var(--color-blue-darker))',
|
|
130
|
+
],
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
id: 'jewel-tones',
|
|
134
|
+
title: 'Jewel tones',
|
|
135
|
+
description: 'Rich, saturated colors with a slight retro feel. Good when you want each item to feel substantial and distinctive.',
|
|
136
|
+
colors: [
|
|
137
|
+
'rgb(var(--color-violet-dark))',
|
|
138
|
+
'rgb(var(--color-magenta-dark))',
|
|
139
|
+
'rgb(var(--color-teal-dark))',
|
|
140
|
+
'rgb(var(--color-amber-dark))',
|
|
141
|
+
'rgb(var(--color-red-dark))',
|
|
142
|
+
'rgb(var(--color-indigo-dark))',
|
|
143
|
+
'rgb(var(--color-purple-dark))',
|
|
144
|
+
'rgb(var(--color-pink-dark))',
|
|
145
|
+
'rgb(var(--color-blue-darker))',
|
|
146
|
+
'rgb(var(--color-green-dark))',
|
|
147
|
+
],
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
id: 'forest',
|
|
151
|
+
title: 'Forest',
|
|
152
|
+
description: 'Greens, mosses and woods. Calm and natural; good when colors should feel grounded rather than corporate.',
|
|
153
|
+
colors: [
|
|
154
|
+
'rgb(var(--color-green-default))',
|
|
155
|
+
'rgb(var(--color-lime-default))',
|
|
156
|
+
'rgb(var(--color-teal-default))',
|
|
157
|
+
'rgb(var(--color-brown-default))',
|
|
158
|
+
'rgb(var(--color-amber-default))',
|
|
159
|
+
'rgb(var(--color-glaucous-default))',
|
|
160
|
+
'rgb(var(--color-gray-default))',
|
|
161
|
+
'rgb(var(--color-green-dark))',
|
|
162
|
+
'rgb(var(--color-lime-dark))',
|
|
163
|
+
'rgb(var(--color-yellow-dark))',
|
|
164
|
+
],
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
id: 'status',
|
|
168
|
+
title: 'Status',
|
|
169
|
+
description: 'Green-yellow-red traffic-light gradient. Good for risk, severity, or health.',
|
|
170
|
+
colors: [
|
|
171
|
+
'rgb(var(--color-green-default))',
|
|
172
|
+
'rgb(var(--color-lime-default))',
|
|
173
|
+
'rgb(var(--color-grass-default))',
|
|
174
|
+
'rgb(var(--color-yellow-default))',
|
|
175
|
+
'rgb(var(--color-amber-default))',
|
|
176
|
+
'rgb(var(--color-orange-default))',
|
|
177
|
+
'rgb(var(--color-coral-default))',
|
|
178
|
+
'rgb(var(--color-red-default))',
|
|
179
|
+
'rgb(var(--color-red-dark))',
|
|
180
|
+
'rgb(var(--color-red-darker))',
|
|
181
|
+
],
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
id: 'colorblind-friendly',
|
|
185
|
+
title: 'Color-blind friendly',
|
|
186
|
+
description: 'Distinguishable for the most common forms of color-vision deficiency. Based on Wong (2011) and used verbatim — no dark-mode shifting.',
|
|
187
|
+
colors: [
|
|
188
|
+
'#0072B2', // blue
|
|
189
|
+
'#E69F00', // orange
|
|
190
|
+
'#009E73', // bluish green
|
|
191
|
+
'#CC79A7', // reddish purple
|
|
192
|
+
'#56B4E9', // sky blue
|
|
193
|
+
'#D55E00', // vermillion
|
|
194
|
+
'#F0E442', // yellow
|
|
195
|
+
'#000000', // black
|
|
196
|
+
'#117733', // dark green (Tol)
|
|
197
|
+
'#999999', // medium gray
|
|
198
|
+
],
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
id: 'candy-shop',
|
|
202
|
+
title: 'Candy shop',
|
|
203
|
+
description: 'Bright, playful colors with a sweet-tooth feel. Good for friendly or informal contexts where the chart should look approachable rather than corporate.',
|
|
204
|
+
colors: [
|
|
205
|
+
'rgb(var(--color-pink-light))',
|
|
206
|
+
'rgb(var(--color-yellow-light))',
|
|
207
|
+
'rgb(var(--color-sky-light))',
|
|
208
|
+
'rgb(var(--color-lime-light))',
|
|
209
|
+
'rgb(var(--color-coral-light))',
|
|
210
|
+
'rgb(var(--color-purple-light))',
|
|
211
|
+
'rgb(var(--color-amber-light))',
|
|
212
|
+
'rgb(var(--color-magenta-light))',
|
|
213
|
+
'rgb(var(--color-cyan-light))',
|
|
214
|
+
'rgb(var(--color-orange-light))',
|
|
215
|
+
],
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
id: 'berry-bowl',
|
|
219
|
+
title: 'Berry bowl',
|
|
220
|
+
description: 'Deep, saturated berries — raspberry, blackcurrant, plum. Reads bold without feeling neon; pairs well with light surfaces.',
|
|
221
|
+
colors: [
|
|
222
|
+
'rgb(var(--color-magenta-dark))',
|
|
223
|
+
'rgb(var(--color-purple-dark))',
|
|
224
|
+
'rgb(var(--color-pink-dark))',
|
|
225
|
+
'rgb(var(--color-red-dark))',
|
|
226
|
+
'rgb(var(--color-violet-dark))',
|
|
227
|
+
'rgb(var(--color-indigo-dark))',
|
|
228
|
+
'rgb(var(--color-coral-dark))',
|
|
229
|
+
'rgb(var(--color-amber-dark))',
|
|
230
|
+
'rgb(var(--color-magenta-darker))',
|
|
231
|
+
'rgb(var(--color-purple-darker))',
|
|
232
|
+
],
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
id: 'tropical',
|
|
236
|
+
title: 'Tropical',
|
|
237
|
+
description: 'Reef-and-palm warmth — corals, teals, limes and ambers in equal measure. Lively without being loud.',
|
|
238
|
+
colors: [
|
|
239
|
+
'rgb(var(--color-coral-default))',
|
|
240
|
+
'rgb(var(--color-teal-default))',
|
|
241
|
+
'rgb(var(--color-amber-default))',
|
|
242
|
+
'rgb(var(--color-cyan-default))',
|
|
243
|
+
'rgb(var(--color-lime-default))',
|
|
244
|
+
'rgb(var(--color-pink-default))',
|
|
245
|
+
'rgb(var(--color-orange-default))',
|
|
246
|
+
'rgb(var(--color-sky-default))',
|
|
247
|
+
'rgb(var(--color-yellow-default))',
|
|
248
|
+
'rgb(var(--color-magenta-default))',
|
|
249
|
+
],
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
id: 'slate',
|
|
253
|
+
title: 'Slate',
|
|
254
|
+
description: 'Soft neutrals — grays, glaucous and warm browns. Calm and unobtrusive; good when one or two highlight series should stand out via accent colors.',
|
|
255
|
+
colors: [
|
|
256
|
+
'rgb(var(--color-glaucous-default))',
|
|
257
|
+
'rgb(var(--color-brown-default))',
|
|
258
|
+
'rgb(var(--color-gray-default))',
|
|
259
|
+
'rgb(var(--color-glaucous-light))',
|
|
260
|
+
'rgb(var(--color-brown-light))',
|
|
261
|
+
'rgb(var(--color-gray-light))',
|
|
262
|
+
'rgb(var(--color-glaucous-dark))',
|
|
263
|
+
'rgb(var(--color-brown-dark))',
|
|
264
|
+
'rgb(var(--color-gray-dark))',
|
|
265
|
+
'rgb(var(--color-glaucous-darker))',
|
|
266
|
+
],
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
id: 'sage',
|
|
270
|
+
title: 'Sage',
|
|
271
|
+
description: 'Muted greens, teals and herbs. Reads quiet and natural; good for long-running dashboards where the data should breathe.',
|
|
272
|
+
colors: [
|
|
273
|
+
'rgb(var(--color-green-light))',
|
|
274
|
+
'rgb(var(--color-teal-light))',
|
|
275
|
+
'rgb(var(--color-lime-light))',
|
|
276
|
+
'rgb(var(--color-grass-light))',
|
|
277
|
+
'rgb(var(--color-glaucous-light))',
|
|
278
|
+
'rgb(var(--color-cyan-light))',
|
|
279
|
+
'rgb(var(--color-green-lighter))',
|
|
280
|
+
'rgb(var(--color-teal-lighter))',
|
|
281
|
+
'rgb(var(--color-lime-lighter))',
|
|
282
|
+
'rgb(var(--color-grass-lighter))',
|
|
283
|
+
],
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
id: 'dusty-rose',
|
|
287
|
+
title: 'Dusty rose',
|
|
288
|
+
description: 'Faded pinks, mauves and warm sands — like dried flowers. Soft and friendly without feeling sugary.',
|
|
289
|
+
colors: [
|
|
290
|
+
'rgb(var(--color-pink-lighter))',
|
|
291
|
+
'rgb(var(--color-coral-lighter))',
|
|
292
|
+
'rgb(var(--color-amber-lighter))',
|
|
293
|
+
'rgb(var(--color-violet-lighter))',
|
|
294
|
+
'rgb(var(--color-magenta-lighter))',
|
|
295
|
+
'rgb(var(--color-purple-lighter))',
|
|
296
|
+
'rgb(var(--color-pink-light))',
|
|
297
|
+
'rgb(var(--color-coral-light))',
|
|
298
|
+
'rgb(var(--color-violet-light))',
|
|
299
|
+
'rgb(var(--color-brown-light))',
|
|
300
|
+
],
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
id: 'morning-mist',
|
|
304
|
+
title: 'Morning mist',
|
|
305
|
+
description: 'Pale cool tones — sky, fog and frost. Good when the chart should feel airy and recede behind labels or annotations.',
|
|
306
|
+
colors: [
|
|
307
|
+
'rgb(var(--color-sky-lighter))',
|
|
308
|
+
'rgb(var(--color-blue-lighter))',
|
|
309
|
+
'rgb(var(--color-cyan-lighter))',
|
|
310
|
+
'rgb(var(--color-teal-lighter))',
|
|
311
|
+
'rgb(var(--color-violet-lighter))',
|
|
312
|
+
'rgb(var(--color-indigo-lighter))',
|
|
313
|
+
'rgb(var(--color-glaucous-light))',
|
|
314
|
+
'rgb(var(--color-gray-lighter))',
|
|
315
|
+
'rgb(var(--color-purple-lighter))',
|
|
316
|
+
'rgb(var(--color-green-lighter))',
|
|
317
|
+
],
|
|
318
|
+
},
|
|
319
|
+
];
|
|
320
|
+
/**
|
|
321
|
+
* Look up a palette by id. Returns `undefined` when the id is
|
|
322
|
+
* unknown; callers typically fall back to `COLOR_PALETTES[0]`.
|
|
323
|
+
* @param id - the palette's stable id (see {@link ColorPalette.id}).
|
|
324
|
+
*
|
|
325
|
+
* @beta
|
|
326
|
+
*/
|
|
327
|
+
export function getColorPalette(id) {
|
|
328
|
+
return COLOR_PALETTES.find((palette) => palette.id === id);
|
|
329
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as i,h as n,Host as t,transformTag as o}from"@stencil/core/internal/client";const r=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return n(t,{key:"
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as i,h as n,Host as t,transformTag as o}from"@stencil/core/internal/client";const r=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return n(t,{key:"d957fb32f531d7264b91bab0de5fb728689dfd97",id:this.item.id},this.renderLabel(),n("div",{key:"fa589a062d46482747bd89b5942b80cd8f95f612",class:"icons"},this.item.icons.map(((e,i)=>this.renderIcon(e,i)))))}renderLabel(){if(this.item.label)return n("span",{class:"label"},this.item.label)}renderIcon(e,i){const t=`icon-${this.item.id}-${i}`;return[n("limel-icon",{tabIndex:0,key:i,id:t,badge:!0,name:e.name,class:{"is-pending":!!e.pending},style:{color:e.color,"background-color":e.backgroundColor}}),this.renderTooltip(e,t)]}renderTooltip(e,i){if(e.title)return n("limel-tooltip",{label:e.title,elementId:i})}static get style(){return'@charset "UTF-8";*,*:before,*:after{box-sizing:border-box}:host(limebb-chat-icon-list){display:flex;align-items:center;gap:0.5rem;margin-right:auto;max-width:calc(100% - 2rem);padding:0 0.25rem}.label{font-size:0.75rem;color:rgb(var(--contrast-900))}.icons{display:flex;align-items:center;gap:0.25rem}.icons:hover limel-icon,.icons:focus-within limel-icon{margin-left:0 !important}limel-icon{--icon-background-color:rgb(var(--contrast-500), 0.5);transition:margin-left 0.2s cubic-bezier(0.075, 0.82, 0.165, 1), opacity 0.2s ease, box-shadow 0.2s ease;position:relative;width:1.75rem;padding:0.375rem;flex-shrink:0}limel-icon:focus{outline:none}limel-icon:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}limel-icon:not(.is-pending):not(:first-child){margin-left:-0.75rem}limel-icon.is-pending{animation:pending 3s linear infinite;padding:0.5rem}limel-icon.is-pending:after{content:"";position:absolute;inset:0;width:1.75rem;height:1.75rem;border-radius:50%;pointer-events:none;border-radius:50%;border:0.125rem solid rgb(var(--color-white), 0.5);border-top-color:rgb(var(--color-black), 0.8);mix-blend-mode:color-dodge;animation:spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite}@keyframes pending{0%,20%,80%,100%{filter:grayscale(0%)}45%,55%{filter:grayscale(100%)}}@keyframes spin{to{transform:rotate(360deg)}}'}},[1,"limebb-chat-icon-list",{item:[16]}]);function s(){"undefined"!=typeof customElements&&["limebb-chat-icon-list"].forEach((e=>{"limebb-chat-icon-list"===e&&(customElements.get(o(e))||customElements.define(o(e),r))}))}export{r as C,s as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as i,Host as r,transformTag as o}from"@stencil/core/internal/client";import{n as a}from"./index.esm.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.hasError=!1,this.createActionBarItem=e=>{var t,i;if("separator"in e)return e;let r={value:e,text:null!==(t=e.label)&&void 0!==t?t:"",secondaryText:e.description,disabled:e.disabled};return!e.label&&e.icon?r=Object.assign(Object.assign({},r),{icon:e.icon,text:null!==(i=e.description)&&void 0!==i?i:r.text,iconOnly:!0}):e.icon&&(r=Object.assign(Object.assign({},r),{icon:e.icon})),r},this.handleActionBarItemSelect=e=>{var t;e.stopPropagation();const i=null===(t=e.detail.value)||void 0===t?void 0:t.command;i&&this.commandbus.handle(i)},this.createMenuItem=e=>{var t,i;return"separator"in e?e:{value:e,text:null!==(t=e.label)&&void 0!==t?t:"",secondaryText:e.description,disabled:e.disabled,icon:null!==(i=e.icon)&&void 0!==i?i:""}},this.handleMenuItemSelect=e=>{var t;e.stopPropagation();const i=null===(t=e.detail.value)||void 0===t?void 0:t.command;i&&this.commandbus.handle(i)}}render(){const e=`helper-text-${this.item.id}`;return i(r,{key:"266f2f9946e0cd7990772e395be13a3863c50c9a",id:this.item.id,"aria-describedby":this.helperText?e:void 0,"aria-live":this.hasError?"assertive":"off",class:{[`${this.item.ui}`]:!0}},i("div",{key:"95f6a3022b28bdd7d3d3ae6b791bdacd691d6986",class:"bubble-content"},i("div",{key:"baa975a0889785bd9b8ef5886006d394ba3ae589",class:"icon-picture"},this.renderIcon(),this.renderAuthorPicture()),this.renderErrorSign(),i("div",{key:"595ae168da159c2bfe53aa01cd8bfcbae5f2ab79",class:"item"},this.renderHeader(),this.renderValue(),i("footer",{key:"7a9ab65820573032ce78143846f8f7ff2bee953f"},this.renderHelperText(e),this.renderTimestamp()))),this.renderPromotedAction())}renderErrorSign(){if(this.hasError)return i("limel-icon",{class:"error-sign",name:"brake_warning"})}renderHeader(){var e;if(null===(e=this.item.author)||void 0===e?void 0:e.name)return i("header",null,this.renderAuthorName(),i("div",{class:"action-buttons"},this.renderUnpromotedActionsMenu()))}renderIcon(){var e,t,r,o;if(this.item.icon)return i("limel-icon",{class:"icon",badge:!0,name:null!==(t=null===(e=this.item.icon)||void 0===e?void 0:e.name)&&void 0!==t?t:"dot_circle",style:{color:`${null===(r=this.item.icon)||void 0===r?void 0:r.color}`,"background-color":`${null===(o=this.item.icon)||void 0===o?void 0:o.backgroundColor}`}})}renderHelperText(e){if(this.helperText)return i("span",{class:"helper-text",id:e},this.helperText)}renderValue(){if(this.item.value)return i("limel-markdown",{class:"body-text reset-img-height",value:this.item.value})}renderAuthorName(){var e,t;if("string"==typeof(null===(e=this.item.author)||void 0===e?void 0:e.name))return i("span",{class:"author"},this.item.author.name);if("object"==typeof(null===(t=this.item.author)||void 0===t?void 0:t.name)){const{href:e,title:t,text:r}=this.item.author.name;return i("a",{class:"author",href:e,title:t},r)}}renderAuthorPicture(){var e;if(null===(e=this.item.author)||void 0===e?void 0:e.picture)return"limel-ai-avatar"===this.item.author.picture?i("limel-ai-avatar",{class:"author-avatar"}):i("img",{class:"author-avatar",loading:"lazy",src:this.item.author.picture})}renderUnpromotedActionsMenu(){var e,t;if(!(null===(e=this.item.unpromotedActions)||void 0===e?void 0:e.length))return;const r=this.item.unpromotedActions.map(this.createMenuItem);return i("limel-menu",{class:"unpromoted-actions-menu",items:r,openDirection:"bottom-end",onSelect:this.handleMenuItemSelect},i("limel-icon-button",{icon:"menu_2",slot:"trigger",label:null===(t=this.translator)||void 0===t?void 0:t.get("webclient.more-actions")}))}renderPromotedAction(){if(!this.item.promotedActions)return;const e=this.item.promotedActions.map(this.createActionBarItem);return i("div",{class:"action-bar"},i("div",{class:"action-bar-hider"},i("limel-action-bar",{accessibleLabel:"Action bar",actions:e,layout:"fullWidth",onItemSelected:this.handleActionBarItemSelect})))}renderTimestamp(){const e=this.item.timestamp;if(e)return i("span",{class:"timestamp"},this.dateTimeFormatter.format(e,"timeofday"))}get dateTimeFormatter(){return this.platform.get(a.DateTimeFormatter)}get translator(){var e;return null===(e=this.platform)||void 0===e?void 0:e.get(a.Translate)}get commandbus(){var e;return null===(e=this.platform)||void 0===e?void 0:e.get(a.CommandBus)}static get style(){return'@charset "UTF-8";*{box-sizing:border-box}:host(limebb-chat-item){display:flex;flex-direction:column;gap:0.25rem;min-width:0;min-height:0;max-width:calc(100% - 2rem)}.bubble-content{display:flex;gap:0.25rem;min-width:0;min-height:0}:host(limebb-chat-item:hover) .helper-text,:host(limebb-chat-item:hover) .timestamp,:host(limebb-chat-item:focus-within) .helper-text,:host(limebb-chat-item:focus-within) .timestamp{opacity:1}:host(limebb-chat-item.mine){margin-left:auto}:host(limebb-chat-item.mine) .item{border-bottom-right-radius:0.125rem;background-color:rgb(var(--color-sky-default), 0.2)}:host(limebb-chat-item.mine) .bubble-content{justify-content:end}:host(limebb-chat-item.mine) .icon-picture{order:2}:host(limebb-chat-item.theirs){margin-right:auto}:host(limebb-chat-item.theirs) .item{border-bottom-left-radius:0.125rem;background-color:rgb(var(--contrast-300), 0.7)}.item{display:flex;flex-direction:column;min-width:0;border-radius:1.25rem;padding:0 0.25rem 0.25rem 0.25rem;backdrop-filter:blur(0.5rem);-webkit-backdrop-filter:blur(0.5rem)}.icon-picture{display:flex;flex-direction:column;gap:0.5rem;align-items:center;justify-content:flex-end}.icon-picture:has(.author-avatar) limel-icon{width:1.25rem;padding:0.125rem}.icon{--icon-background-color:rgb(var(--contrast-500), 0.5);flex-shrink:0;padding:0.375rem;width:2.25rem;backdrop-filter:blur(0.5rem);-webkit-backdrop-filter:blur(0.5rem)}limel-ai-avatar.author-avatar{background-color:rgb(var(--color-glaucous-darker))}header{display:flex;justify-content:space-between;align-items:center;min-height:2rem;padding-left:0.5rem}header:not(:has(.unpromoted-actions-menu)){padding-right:0.5rem}.body-text{padding:0.25rem 0.5rem}footer{display:flex;justify-content:space-between;align-items:end;gap:0.5rem;font-size:x-small}footer:not(:empty){padding:0 0.25rem 0.125rem 0.5rem}footer *{transition:opacity 0.2s ease;opacity:0.4}.timestamp{margin-left:auto}.author-avatar{border-radius:50%;width:2rem;height:2rem;object-fit:cover;box-shadow:0 0 0 1px rgb(var(--contrast-600))}.author{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:500;text-decoration:none}a.author{position:relative;cursor:pointer;transition:color 0.2s ease;color:var(--mdc-theme-primary)}a.author:before{transition:opacity 0.2s ease, transform 0.3s ease-out;content:"";position:absolute;inset:auto 0 0 0;width:calc(100% - 0.5rem);margin:auto;height:0.125rem;border-radius:1rem;background-color:currentColor;opacity:0;transform:scale(0.6)}a.author:hover{color:rgb(var(--color-teal-light))}a.author:hover:before{opacity:0.3;transform:scale(1)}limel-action-bar{--action-bar-item-height:1.75rem;transition:opacity 0.2s ease;justify-content:flex-start;opacity:0.8}.action-bar{display:grid;transition:grid-template-rows var(--limebb-promoted-action-bar-grid-template-rows-transition-speed, 0.2s) cubic-bezier(1, 0.09, 0, 0.89) var(--limebb-promoted-action-bar-grid-template-rows-transition-delay, 0s);grid-template-rows:var(--limebb-promoted-action-bar-grid-template-rows, 1fr)}.action-bar-hider{overflow:hidden}limel-action-bar{transition:padding var(--limebb-promoted-action-bar-grid-template-rows-transition-speed) cubic-bezier(1, 0.09, 0, 0.89) var(--limebb-promoted-action-bar-grid-template-rows-transition-delay);padding-top:0;padding-bottom:0.75rem}:host(limebb-chat-item:hover) .action-bar,:host(limebb-chat-item:focus-within) .action-bar,:host(limebb-chat-item:focus-visible) .action-bar{--limebb-promoted-action-bar-grid-template-rows:1fr;will-change:grid-template-rows}:host(limebb-chat-item:hover) limel-action-bar,:host(limebb-chat-item:focus-within) limel-action-bar,:host(limebb-chat-item:focus-visible) limel-action-bar{will-change:opacity;opacity:1}:host(limebb-chat-item:hover),:host(limebb-chat-item:focus-within){--limebb-promoted-action-bar-grid-template-rows-transition-speed:0.46s;--limebb-promoted-action-bar-grid-template-rows-transition-delay:0.7s}.action-bar{min-width:0;width:calc(100% - calc(2rem + 0.25rem))}:host(limebb-chat-item.theirs) .action-bar{margin-left:calc(2rem + 0.25rem)}:host(limebb-chat-item[has-error]:not([has-error=false])) .bubble-content{cursor:help}:host(limebb-chat-item[has-error]:not([has-error=false])) .item{border:1px solid rgb(var(--color-red-default))}:host(limebb-chat-item[has-error]:not([has-error=false])) .error-sign{color:rgb(var(--color-red-default));flex-shrink:0;width:1.25rem;align-self:center}:host(limebb-chat-item.mine[has-error]:not([has-error=false])) .action-bar{padding-left:1.25rem}:host(limebb-chat-item.mine[has-error]:not([has-error=false])) .helper-text{opacity:1;color:rgb(var(--color-red-default))}'}},[1,"limebb-chat-item",{platform:[16],context:[16],item:[16],helperText:[1,"helper-text"],hasError:[516,"has-error"]}]);function n(){"undefined"!=typeof customElements&&["limebb-chat-item"].forEach((e=>{"limebb-chat-item"===e&&(customElements.get(o(e))||customElements.define(o(e),s))}))}export{s as C,n as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const r=[{id:"lime-ui",title:"Lime UI",description:"Vibrant, well-balanced colors drawn from the Lime UI palette. A safe default.",colors:["rgb(var(--color-blue-default))","rgb(var(--color-orange-default))","rgb(var(--color-teal-default))","rgb(var(--color-purple-default))","rgb(var(--color-amber-default))","rgb(var(--color-sky-default))","rgb(var(--color-pink-default))","rgb(var(--color-lime-default))","rgb(var(--color-green-default))","rgb(var(--color-magenta-default))"]},{id:"soft-pastels",title:"Soft pastels",description:"Light, easy-on-the-eyes shades. Good for dense visuals where the colors should not dominate.",colors:["rgb(var(--color-blue-light))","rgb(var(--color-orange-light))","rgb(var(--color-teal-light))","rgb(var(--color-purple-light))","rgb(var(--color-amber-light))","rgb(var(--color-pink-light))","rgb(var(--color-lime-light))","rgb(var(--color-gray-light))","rgb(var(--color-sky-light))","rgb(var(--color-green-light))"]},{id:"earth-tones",title:"Earth tones",description:"Warm, organic shades. Reads calmly without grabbing attention; pairs well with neutral surfaces.",colors:["rgb(var(--color-brown-default))","rgb(var(--color-orange-dark))","rgb(var(--color-amber-default))","rgb(var(--color-coral-dark))","rgb(var(--color-lime-dark))","rgb(var(--color-glaucous-default))","rgb(var(--color-yellow-dark))","rgb(var(--color-gray-dark))","rgb(var(--color-red-dark))","rgb(var(--color-green-dark))"]},{id:"cool-blues",title:"Cool blues",description:"Single-hue gradient from light to deep blue. Good for sequential or ordered values — magnitude, ranks, intensity.",colors:["rgb(var(--color-sky-lighter))","rgb(var(--color-blue-lighter))","rgb(var(--color-sky-light))","rgb(var(--color-blue-light))","rgb(var(--color-blue-default))","rgb(var(--color-blue-dark))","rgb(var(--color-indigo-default))","rgb(var(--color-indigo-dark))","rgb(var(--color-blue-darker))","rgb(var(--color-indigo-darker))"]},{id:"sunset",title:"Sunset",description:"Warm gradient from yellow through orange to deep pink. Good for intensity or urgency.",colors:["rgb(var(--color-yellow-light))","rgb(var(--color-amber-light))","rgb(var(--color-amber-default))","rgb(var(--color-orange-default))","rgb(var(--color-coral-default))","rgb(var(--color-coral-dark))","rgb(var(--color-pink-default))","rgb(var(--color-pink-dark))","rgb(var(--color-magenta-dark))","rgb(var(--color-purple-darker))"]},{id:"ocean",title:"Ocean",description:"Cool gradient from pale cyan through teal to deep navy. Good for sequential values where warmth would feel out of place.",colors:["rgb(var(--color-cyan-lighter))","rgb(var(--color-cyan-light))","rgb(var(--color-cyan-default))","rgb(var(--color-teal-light))","rgb(var(--color-teal-default))","rgb(var(--color-teal-dark))","rgb(var(--color-blue-default))","rgb(var(--color-blue-dark))","rgb(var(--color-indigo-darker))","rgb(var(--color-blue-darker))"]},{id:"jewel-tones",title:"Jewel tones",description:"Rich, saturated colors with a slight retro feel. Good when you want each item to feel substantial and distinctive.",colors:["rgb(var(--color-violet-dark))","rgb(var(--color-magenta-dark))","rgb(var(--color-teal-dark))","rgb(var(--color-amber-dark))","rgb(var(--color-red-dark))","rgb(var(--color-indigo-dark))","rgb(var(--color-purple-dark))","rgb(var(--color-pink-dark))","rgb(var(--color-blue-darker))","rgb(var(--color-green-dark))"]},{id:"forest",title:"Forest",description:"Greens, mosses and woods. Calm and natural; good when colors should feel grounded rather than corporate.",colors:["rgb(var(--color-green-default))","rgb(var(--color-lime-default))","rgb(var(--color-teal-default))","rgb(var(--color-brown-default))","rgb(var(--color-amber-default))","rgb(var(--color-glaucous-default))","rgb(var(--color-gray-default))","rgb(var(--color-green-dark))","rgb(var(--color-lime-dark))","rgb(var(--color-yellow-dark))"]},{id:"status",title:"Status",description:"Green-yellow-red traffic-light gradient. Good for risk, severity, or health.",colors:["rgb(var(--color-green-default))","rgb(var(--color-lime-default))","rgb(var(--color-grass-default))","rgb(var(--color-yellow-default))","rgb(var(--color-amber-default))","rgb(var(--color-orange-default))","rgb(var(--color-coral-default))","rgb(var(--color-red-default))","rgb(var(--color-red-dark))","rgb(var(--color-red-darker))"]},{id:"colorblind-friendly",title:"Color-blind friendly",description:"Distinguishable for the most common forms of color-vision deficiency. Based on Wong (2011) and used verbatim — no dark-mode shifting.",colors:["#0072B2","#E69F00","#009E73","#CC79A7","#56B4E9","#D55E00","#F0E442","#000000","#117733","#999999"]},{id:"candy-shop",title:"Candy shop",description:"Bright, playful colors with a sweet-tooth feel. Good for friendly or informal contexts where the chart should look approachable rather than corporate.",colors:["rgb(var(--color-pink-light))","rgb(var(--color-yellow-light))","rgb(var(--color-sky-light))","rgb(var(--color-lime-light))","rgb(var(--color-coral-light))","rgb(var(--color-purple-light))","rgb(var(--color-amber-light))","rgb(var(--color-magenta-light))","rgb(var(--color-cyan-light))","rgb(var(--color-orange-light))"]},{id:"berry-bowl",title:"Berry bowl",description:"Deep, saturated berries — raspberry, blackcurrant, plum. Reads bold without feeling neon; pairs well with light surfaces.",colors:["rgb(var(--color-magenta-dark))","rgb(var(--color-purple-dark))","rgb(var(--color-pink-dark))","rgb(var(--color-red-dark))","rgb(var(--color-violet-dark))","rgb(var(--color-indigo-dark))","rgb(var(--color-coral-dark))","rgb(var(--color-amber-dark))","rgb(var(--color-magenta-darker))","rgb(var(--color-purple-darker))"]},{id:"tropical",title:"Tropical",description:"Reef-and-palm warmth — corals, teals, limes and ambers in equal measure. Lively without being loud.",colors:["rgb(var(--color-coral-default))","rgb(var(--color-teal-default))","rgb(var(--color-amber-default))","rgb(var(--color-cyan-default))","rgb(var(--color-lime-default))","rgb(var(--color-pink-default))","rgb(var(--color-orange-default))","rgb(var(--color-sky-default))","rgb(var(--color-yellow-default))","rgb(var(--color-magenta-default))"]},{id:"slate",title:"Slate",description:"Soft neutrals — grays, glaucous and warm browns. Calm and unobtrusive; good when one or two highlight series should stand out via accent colors.",colors:["rgb(var(--color-glaucous-default))","rgb(var(--color-brown-default))","rgb(var(--color-gray-default))","rgb(var(--color-glaucous-light))","rgb(var(--color-brown-light))","rgb(var(--color-gray-light))","rgb(var(--color-glaucous-dark))","rgb(var(--color-brown-dark))","rgb(var(--color-gray-dark))","rgb(var(--color-glaucous-darker))"]},{id:"sage",title:"Sage",description:"Muted greens, teals and herbs. Reads quiet and natural; good for long-running dashboards where the data should breathe.",colors:["rgb(var(--color-green-light))","rgb(var(--color-teal-light))","rgb(var(--color-lime-light))","rgb(var(--color-grass-light))","rgb(var(--color-glaucous-light))","rgb(var(--color-cyan-light))","rgb(var(--color-green-lighter))","rgb(var(--color-teal-lighter))","rgb(var(--color-lime-lighter))","rgb(var(--color-grass-lighter))"]},{id:"dusty-rose",title:"Dusty rose",description:"Faded pinks, mauves and warm sands — like dried flowers. Soft and friendly without feeling sugary.",colors:["rgb(var(--color-pink-lighter))","rgb(var(--color-coral-lighter))","rgb(var(--color-amber-lighter))","rgb(var(--color-violet-lighter))","rgb(var(--color-magenta-lighter))","rgb(var(--color-purple-lighter))","rgb(var(--color-pink-light))","rgb(var(--color-coral-light))","rgb(var(--color-violet-light))","rgb(var(--color-brown-light))"]},{id:"morning-mist",title:"Morning mist",description:"Pale cool tones — sky, fog and frost. Good when the chart should feel airy and recede behind labels or annotations.",colors:["rgb(var(--color-sky-lighter))","rgb(var(--color-blue-lighter))","rgb(var(--color-cyan-lighter))","rgb(var(--color-teal-lighter))","rgb(var(--color-violet-lighter))","rgb(var(--color-indigo-lighter))","rgb(var(--color-glaucous-light))","rgb(var(--color-gray-lighter))","rgb(var(--color-purple-lighter))","rgb(var(--color-green-lighter))"]}];function o(o){return r.find((r=>r.id===o))}export{r as C,o as g}
|