@limetech/lime-elements 39.12.5 → 39.13.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 +14 -0
- package/dist/cjs/{_baseForOwn-CMhQVS1J.js → _baseForOwn-QM0kHQT5.js} +1 -1
- package/dist/cjs/{_baseIsEqual-DmV6vCh4.js → _baseIsEqual-D6hrjmx4.js} +1 -1
- package/dist/cjs/{_baseIteratee-DrEpOCx4.js → _baseIteratee-iGEZ9pZY.js} +1 -1
- package/dist/cjs/{_getPrototype-B0YUXP6e.js → _getPrototype-BK9cL-57.js} +1 -1
- package/dist/cjs/{index-nxo2UO7I.js → index-mbfaT7TB.js} +4 -3
- package/dist/cjs/{isArrayLikeObject-Bwh0a-dZ.js → isArrayLikeObject-CTP6Ak01.js} +1 -1
- package/dist/cjs/{isEmpty-B8-0FBZ_.js → isEmpty-DCC_l2Xp.js} +1 -1
- package/dist/cjs/{isEqual-B32SmSAJ.js → isEqual-BsHLqE-x.js} +1 -1
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-breadcrumbs_7.cjs.entry.js +22 -1
- package/dist/cjs/limel-button.cjs.entry.js +3 -3
- package/dist/cjs/limel-chip_2.cjs.entry.js +3 -3
- package/dist/cjs/limel-dialog.cjs.entry.js +2 -2
- package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +3 -3
- package/dist/cjs/limel-file-viewer.cjs.entry.js +1 -1
- package/dist/cjs/limel-form.cjs.entry.js +31 -19
- package/dist/cjs/limel-markdown.cjs.entry.js +2 -2
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +13 -6
- package/dist/cjs/limel-tab-bar.cjs.entry.js +3 -3
- package/dist/cjs/limel-table.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{markdown-parser-VvYe9xWW.js → markdown-parser-DCnW9yak.js} +840 -2723
- package/dist/collection/components/button/button.css +18 -13
- package/dist/collection/components/button/button.js +16 -2
- package/dist/collection/components/menu/menu.js +43 -1
- package/dist/esm/{_baseForOwn-ByPjzJ4R.js → _baseForOwn-CfpQNnvA.js} +1 -1
- package/dist/esm/{_baseIsEqual-DEKrwcEh.js → _baseIsEqual-BvHnKRmD.js} +1 -1
- package/dist/esm/{_baseIteratee-1mEitKxK.js → _baseIteratee-DFBCJcMA.js} +1 -1
- package/dist/esm/{_getPrototype-C17KNemI.js → _getPrototype-jV9gkkJy.js} +1 -1
- package/dist/esm/{index-CJ0GYrWG.js → index-DJJymEnS.js} +3 -4
- package/dist/esm/{isArrayLikeObject-hcrPUpXp.js → isArrayLikeObject-D7yRwRv4.js} +1 -1
- package/dist/esm/{isEmpty-CTmDjx6B.js → isEmpty-tfwtR2ai.js} +1 -1
- package/dist/esm/{isEqual-m-UUey98.js → isEqual-BkQ4Z_9r.js} +1 -1
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-breadcrumbs_7.entry.js +22 -1
- package/dist/esm/limel-button.entry.js +3 -3
- package/dist/esm/limel-chip_2.entry.js +3 -3
- package/dist/esm/limel-dialog.entry.js +2 -2
- package/dist/esm/limel-file-dropzone_2.entry.js +3 -3
- package/dist/esm/limel-file-viewer.entry.js +1 -1
- package/dist/esm/limel-form.entry.js +31 -19
- package/dist/esm/limel-markdown.entry.js +2 -2
- package/dist/esm/limel-prosemirror-adapter.entry.js +13 -6
- package/dist/esm/limel-tab-bar.entry.js +3 -3
- package/dist/esm/limel-table.entry.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{markdown-parser-CeVA0wsI.js → markdown-parser-CXYHPPe2.js} +837 -2720
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-8fed01b1.entry.js → p-00d6ccd6.entry.js} +1 -1
- package/dist/lime-elements/{p-803ec458.entry.js → p-45dfcaf3.entry.js} +1 -1
- package/dist/lime-elements/{p-6fd84e57.entry.js → p-5db2d069.entry.js} +1 -1
- package/dist/lime-elements/{p-f92f4f00.entry.js → p-846bca5d.entry.js} +1 -1
- package/dist/lime-elements/p-8a6721f9.entry.js +1 -0
- package/dist/lime-elements/{p-2kcqdtMr.js → p-B4YDb6f3.js} +1 -1
- package/dist/lime-elements/{p-Cv8K0N31.js → p-BlJd1RC5.js} +1 -1
- package/dist/lime-elements/p-CqEHNkif.js +1 -0
- package/dist/lime-elements/p-Cw1B5fXE.js +1 -0
- package/dist/lime-elements/p-DKxusNKT.js +1 -0
- package/dist/lime-elements/p-DrjUjEz3.js +1 -0
- package/dist/lime-elements/{p-DMyO3At_.js → p-DzlmgobW.js} +1 -1
- package/dist/lime-elements/{p-f93163eb.entry.js → p-a4a09ce9.entry.js} +2 -2
- package/dist/lime-elements/{p-57135b6a.entry.js → p-ad9cb573.entry.js} +1 -1
- package/dist/lime-elements/{p-537df672.entry.js → p-b1d6553c.entry.js} +1 -1
- package/dist/lime-elements/{p-2b1eda20.entry.js → p-dd7a2361.entry.js} +3 -3
- package/dist/lime-elements/{p-0f4b1953.entry.js → p-eeae0ef6.entry.js} +4 -4
- package/dist/lime-elements/{p-39689e8a.entry.js → p-f0f5eda1.entry.js} +1 -1
- package/dist/lime-elements/p-g3InYy9F.js +7 -0
- package/dist/types/components/button/button.d.ts +14 -0
- package/dist/types/components/menu/menu.d.ts +6 -0
- package/dist/types/components.d.ts +59 -0
- package/package.json +1 -5
- package/dist/lime-elements/p-CDEsXij4.js +0 -1
- package/dist/lime-elements/p-CaObZtau.js +0 -1
- package/dist/lime-elements/p-CfUOv15O.js +0 -7
- package/dist/lime-elements/p-DkL-aPMx.js +0 -1
- package/dist/lime-elements/p-a855de67.entry.js +0 -1
- package/dist/lime-elements/p-gWSB8lIW.js +0 -1
- /package/dist/lime-elements/{p-DTNvx8HZ.js → p-C6SEjICu.js} +0 -0
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
import { Icon } from '../../global/shared-types/icon.types';
|
|
2
2
|
/**
|
|
3
|
+
* Buttons allow users to take actions with a single tap or click.
|
|
4
|
+
* They are intentionally designed to look and feel clickable,
|
|
5
|
+
* and should clearly communicate the action that will happen
|
|
6
|
+
* when the user interacts with them.
|
|
7
|
+
*
|
|
8
|
+
* The component offers three visual variants — **default**, **primary**,
|
|
9
|
+
* and **outlined** — that together establish a hierarchy of actions.
|
|
10
|
+
* See the examples below for guidance on when to use each variant.
|
|
11
|
+
*
|
|
12
|
+
* For more guidance on how to arrange buttons and choose between
|
|
13
|
+
* primary and secondary actions, see our
|
|
14
|
+
* [Action buttons design guidelines](#/DesignGuidelines/action-buttons.md/).
|
|
15
|
+
*
|
|
3
16
|
* @exampleComponent limel-example-button-basic
|
|
4
17
|
* @exampleComponent limel-example-button-primary
|
|
5
18
|
* @exampleComponent limel-example-button-outlined
|
|
19
|
+
* @exampleComponent limel-example-button-button-hierarchy
|
|
6
20
|
* @exampleComponent limel-example-button-disabled
|
|
7
21
|
* @exampleComponent limel-example-button-icon
|
|
8
22
|
* @exampleComponent limel-example-button-loading
|
|
@@ -20,6 +20,7 @@ import { OpenDirection, MenuItem, SurfaceWidth, MenuSearcher } from './menu.type
|
|
|
20
20
|
* @exampleComponent limel-example-menu-searchable
|
|
21
21
|
* @exampleComponent limel-example-menu-hotkeys
|
|
22
22
|
* @exampleComponent limel-example-menu-searchable-hotkeys
|
|
23
|
+
* @exampleComponent limel-example-menu-keep-open
|
|
23
24
|
* @exampleComponent limel-example-menu-composite
|
|
24
25
|
*/
|
|
25
26
|
export declare class Menu {
|
|
@@ -103,6 +104,10 @@ export declare class Menu {
|
|
|
103
104
|
* Message to display when search returns 0 results.
|
|
104
105
|
*/
|
|
105
106
|
emptyResultMessage?: string;
|
|
107
|
+
/**
|
|
108
|
+
* When `true`, the menu stays open after an item is selected.
|
|
109
|
+
*/
|
|
110
|
+
keepOpenOnSelect: boolean;
|
|
106
111
|
/**
|
|
107
112
|
* Is emitted when a menu item with a sub-menu is selected.
|
|
108
113
|
*/
|
|
@@ -146,6 +151,7 @@ export declare class Menu {
|
|
|
146
151
|
private readonly handleListKeyDownCapture;
|
|
147
152
|
private readonly handleMenuKeyDown;
|
|
148
153
|
private readonly handleBreadcrumbsKeyDown;
|
|
154
|
+
private readonly refreshSearch;
|
|
149
155
|
private readonly clearSearch;
|
|
150
156
|
private readonly getCurrentItem;
|
|
151
157
|
private readonly goForward;
|
|
@@ -291,9 +291,20 @@ export namespace Components {
|
|
|
291
291
|
"items": BreadcrumbsItem[];
|
|
292
292
|
}
|
|
293
293
|
/**
|
|
294
|
+
* Buttons allow users to take actions with a single tap or click.
|
|
295
|
+
* They are intentionally designed to look and feel clickable,
|
|
296
|
+
* and should clearly communicate the action that will happen
|
|
297
|
+
* when the user interacts with them.
|
|
298
|
+
* The component offers three visual variants — **default**, **primary**,
|
|
299
|
+
* and **outlined** — that together establish a hierarchy of actions.
|
|
300
|
+
* See the examples below for guidance on when to use each variant.
|
|
301
|
+
* For more guidance on how to arrange buttons and choose between
|
|
302
|
+
* primary and secondary actions, see our
|
|
303
|
+
* [Action buttons design guidelines](#/DesignGuidelines/action-buttons.md/).
|
|
294
304
|
* @exampleComponent limel-example-button-basic
|
|
295
305
|
* @exampleComponent limel-example-button-primary
|
|
296
306
|
* @exampleComponent limel-example-button-outlined
|
|
307
|
+
* @exampleComponent limel-example-button-button-hierarchy
|
|
297
308
|
* @exampleComponent limel-example-button-disabled
|
|
298
309
|
* @exampleComponent limel-example-button-icon
|
|
299
310
|
* @exampleComponent limel-example-button-loading
|
|
@@ -2538,6 +2549,7 @@ export namespace Components {
|
|
|
2538
2549
|
* @exampleComponent limel-example-menu-searchable
|
|
2539
2550
|
* @exampleComponent limel-example-menu-hotkeys
|
|
2540
2551
|
* @exampleComponent limel-example-menu-searchable-hotkeys
|
|
2552
|
+
* @exampleComponent limel-example-menu-keep-open
|
|
2541
2553
|
* @exampleComponent limel-example-menu-composite
|
|
2542
2554
|
*/
|
|
2543
2555
|
interface LimelMenu {
|
|
@@ -2569,6 +2581,11 @@ export namespace Components {
|
|
|
2569
2581
|
* @default []
|
|
2570
2582
|
*/
|
|
2571
2583
|
"items": Array<MenuItem | ListSeparator>;
|
|
2584
|
+
/**
|
|
2585
|
+
* When `true`, the menu stays open after an item is selected.
|
|
2586
|
+
* @default false
|
|
2587
|
+
*/
|
|
2588
|
+
"keepOpenOnSelect": boolean;
|
|
2572
2589
|
/**
|
|
2573
2590
|
* :::warning Internal Use Only This property is for internal use only. We need it for now, but want to find a better implementation of the functionality it currently enables. If and when we do so, this property will be removed without prior notice. If you use it, your code _will_ break in the future. :::
|
|
2574
2591
|
* @default false
|
|
@@ -4264,9 +4281,20 @@ declare global {
|
|
|
4264
4281
|
new (): HTMLLimelBreadcrumbsElement;
|
|
4265
4282
|
};
|
|
4266
4283
|
/**
|
|
4284
|
+
* Buttons allow users to take actions with a single tap or click.
|
|
4285
|
+
* They are intentionally designed to look and feel clickable,
|
|
4286
|
+
* and should clearly communicate the action that will happen
|
|
4287
|
+
* when the user interacts with them.
|
|
4288
|
+
* The component offers three visual variants — **default**, **primary**,
|
|
4289
|
+
* and **outlined** — that together establish a hierarchy of actions.
|
|
4290
|
+
* See the examples below for guidance on when to use each variant.
|
|
4291
|
+
* For more guidance on how to arrange buttons and choose between
|
|
4292
|
+
* primary and secondary actions, see our
|
|
4293
|
+
* [Action buttons design guidelines](#/DesignGuidelines/action-buttons.md/).
|
|
4267
4294
|
* @exampleComponent limel-example-button-basic
|
|
4268
4295
|
* @exampleComponent limel-example-button-primary
|
|
4269
4296
|
* @exampleComponent limel-example-button-outlined
|
|
4297
|
+
* @exampleComponent limel-example-button-button-hierarchy
|
|
4270
4298
|
* @exampleComponent limel-example-button-disabled
|
|
4271
4299
|
* @exampleComponent limel-example-button-icon
|
|
4272
4300
|
* @exampleComponent limel-example-button-loading
|
|
@@ -5568,6 +5596,7 @@ declare global {
|
|
|
5568
5596
|
* @exampleComponent limel-example-menu-searchable
|
|
5569
5597
|
* @exampleComponent limel-example-menu-hotkeys
|
|
5570
5598
|
* @exampleComponent limel-example-menu-searchable-hotkeys
|
|
5599
|
+
* @exampleComponent limel-example-menu-keep-open
|
|
5571
5600
|
* @exampleComponent limel-example-menu-composite
|
|
5572
5601
|
*/
|
|
5573
5602
|
interface HTMLLimelMenuElement extends Components.LimelMenu, HTMLStencilElement {
|
|
@@ -6675,9 +6704,20 @@ declare namespace LocalJSX {
|
|
|
6675
6704
|
"onSelect"?: (event: LimelBreadcrumbsCustomEvent<BreadcrumbsItem>) => void;
|
|
6676
6705
|
}
|
|
6677
6706
|
/**
|
|
6707
|
+
* Buttons allow users to take actions with a single tap or click.
|
|
6708
|
+
* They are intentionally designed to look and feel clickable,
|
|
6709
|
+
* and should clearly communicate the action that will happen
|
|
6710
|
+
* when the user interacts with them.
|
|
6711
|
+
* The component offers three visual variants — **default**, **primary**,
|
|
6712
|
+
* and **outlined** — that together establish a hierarchy of actions.
|
|
6713
|
+
* See the examples below for guidance on when to use each variant.
|
|
6714
|
+
* For more guidance on how to arrange buttons and choose between
|
|
6715
|
+
* primary and secondary actions, see our
|
|
6716
|
+
* [Action buttons design guidelines](#/DesignGuidelines/action-buttons.md/).
|
|
6678
6717
|
* @exampleComponent limel-example-button-basic
|
|
6679
6718
|
* @exampleComponent limel-example-button-primary
|
|
6680
6719
|
* @exampleComponent limel-example-button-outlined
|
|
6720
|
+
* @exampleComponent limel-example-button-button-hierarchy
|
|
6681
6721
|
* @exampleComponent limel-example-button-disabled
|
|
6682
6722
|
* @exampleComponent limel-example-button-icon
|
|
6683
6723
|
* @exampleComponent limel-example-button-loading
|
|
@@ -9059,6 +9099,7 @@ declare namespace LocalJSX {
|
|
|
9059
9099
|
* @exampleComponent limel-example-menu-searchable
|
|
9060
9100
|
* @exampleComponent limel-example-menu-hotkeys
|
|
9061
9101
|
* @exampleComponent limel-example-menu-searchable-hotkeys
|
|
9102
|
+
* @exampleComponent limel-example-menu-keep-open
|
|
9062
9103
|
* @exampleComponent limel-example-menu-composite
|
|
9063
9104
|
*/
|
|
9064
9105
|
interface LimelMenu {
|
|
@@ -9086,6 +9127,11 @@ declare namespace LocalJSX {
|
|
|
9086
9127
|
* @default []
|
|
9087
9128
|
*/
|
|
9088
9129
|
"items"?: Array<MenuItem | ListSeparator>;
|
|
9130
|
+
/**
|
|
9131
|
+
* When `true`, the menu stays open after an item is selected.
|
|
9132
|
+
* @default false
|
|
9133
|
+
*/
|
|
9134
|
+
"keepOpenOnSelect"?: boolean;
|
|
9089
9135
|
/**
|
|
9090
9136
|
* Is emitted when the menu is cancelled.
|
|
9091
9137
|
*/
|
|
@@ -10984,6 +11030,7 @@ declare namespace LocalJSX {
|
|
|
10984
11030
|
"gridLayout": boolean;
|
|
10985
11031
|
"searchPlaceholder": string;
|
|
10986
11032
|
"emptyResultMessage": string;
|
|
11033
|
+
"keepOpenOnSelect": boolean;
|
|
10987
11034
|
}
|
|
10988
11035
|
interface LimelMenuItemMetaAttributes {
|
|
10989
11036
|
"commandText": string;
|
|
@@ -11366,9 +11413,20 @@ declare module "@stencil/core" {
|
|
|
11366
11413
|
*/
|
|
11367
11414
|
"limel-breadcrumbs": LocalJSX.IntrinsicElements["limel-breadcrumbs"] & JSXBase.HTMLAttributes<HTMLLimelBreadcrumbsElement>;
|
|
11368
11415
|
/**
|
|
11416
|
+
* Buttons allow users to take actions with a single tap or click.
|
|
11417
|
+
* They are intentionally designed to look and feel clickable,
|
|
11418
|
+
* and should clearly communicate the action that will happen
|
|
11419
|
+
* when the user interacts with them.
|
|
11420
|
+
* The component offers three visual variants — **default**, **primary**,
|
|
11421
|
+
* and **outlined** — that together establish a hierarchy of actions.
|
|
11422
|
+
* See the examples below for guidance on when to use each variant.
|
|
11423
|
+
* For more guidance on how to arrange buttons and choose between
|
|
11424
|
+
* primary and secondary actions, see our
|
|
11425
|
+
* [Action buttons design guidelines](#/DesignGuidelines/action-buttons.md/).
|
|
11369
11426
|
* @exampleComponent limel-example-button-basic
|
|
11370
11427
|
* @exampleComponent limel-example-button-primary
|
|
11371
11428
|
* @exampleComponent limel-example-button-outlined
|
|
11429
|
+
* @exampleComponent limel-example-button-button-hierarchy
|
|
11372
11430
|
* @exampleComponent limel-example-button-disabled
|
|
11373
11431
|
* @exampleComponent limel-example-button-icon
|
|
11374
11432
|
* @exampleComponent limel-example-button-loading
|
|
@@ -12173,6 +12231,7 @@ declare module "@stencil/core" {
|
|
|
12173
12231
|
* @exampleComponent limel-example-menu-searchable
|
|
12174
12232
|
* @exampleComponent limel-example-menu-hotkeys
|
|
12175
12233
|
* @exampleComponent limel-example-menu-searchable-hotkeys
|
|
12234
|
+
* @exampleComponent limel-example-menu-keep-open
|
|
12176
12235
|
* @exampleComponent limel-example-menu-composite
|
|
12177
12236
|
*/
|
|
12178
12237
|
"limel-menu": LocalJSX.IntrinsicElements["limel-menu"] & JSXBase.HTMLAttributes<HTMLLimelMenuElement>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limetech/lime-elements",
|
|
3
|
-
"version": "39.
|
|
3
|
+
"version": "39.13.0",
|
|
4
4
|
"description": "Lime Elements",
|
|
5
5
|
"author": "Lime Technologies",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -50,7 +50,6 @@
|
|
|
50
50
|
"@stencil/vitest": "^1.1.21",
|
|
51
51
|
"@types/codemirror": "^5.60.2",
|
|
52
52
|
"@types/html-escaper": "^3.0.4",
|
|
53
|
-
"@types/jest": "^29.5.14",
|
|
54
53
|
"@types/lodash-es": "^4.17.12",
|
|
55
54
|
"@types/react": "^19.1.10",
|
|
56
55
|
"@types/react-dom": "^19.1.7",
|
|
@@ -64,8 +63,6 @@
|
|
|
64
63
|
"glob": "^13.0.1",
|
|
65
64
|
"globals": "^16.0.0",
|
|
66
65
|
"html-escaper": "^3.0.3",
|
|
67
|
-
"jest": "^29.7.0",
|
|
68
|
-
"jest-cli": "^29.7.0",
|
|
69
66
|
"jsonlint-mod": "^1.7.6",
|
|
70
67
|
"jsx-dom": "^8.1.6",
|
|
71
68
|
"kompendium": "^1.1.0",
|
|
@@ -82,7 +79,6 @@
|
|
|
82
79
|
"prosemirror-model": ">=1.22.1",
|
|
83
80
|
"prosemirror-schema-basic": "^1.2.4",
|
|
84
81
|
"prosemirror-tables": "^1.6.4",
|
|
85
|
-
"puppeteer": "^19.11.1",
|
|
86
82
|
"react": "^19.1.1",
|
|
87
83
|
"react-dom": "^19.1.1",
|
|
88
84
|
"rehype-parse": "^9.0.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as r,d as t,e as i,g as a,f as e,h as f}from"./p-DTNvx8HZ.js";import{i as o}from"./p-B8VKuhvH.js";import{b as n}from"./p-BgPHaiMH.js";var s=Object.prototype.hasOwnProperty;function p(p){if(null==p)return!0;if(n(p)&&(o(p)||"string"==typeof p||"function"==typeof p.splice||r(p)||t(p)||i(p)))return!p.length;var u=a(p);if("[object Map]"==u||"[object Set]"==u)return!p.size;if(e(p))return!f(p).length;for(var j in p)if(s.call(p,j))return!1;return!0}export{p as i}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{k as r}from"./p-DTNvx8HZ.js";function t(t,n){return t&&function(r,t,n){for(var o=-1,a=Object(r),e=n(r),f=e.length;f--;){var i=e[++o];if(!1===t(a[i],i,a))break}return r}(t,n,r)}export{t as b}
|