@limetech/lime-elements 35.1.0-next.6 → 35.1.0-next.9
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/dist/cjs/limel-form.cjs.entry.js +3 -5
- package/dist/cjs/limel-list_3.cjs.entry.js +1 -1
- package/dist/cjs/limel-menu-list.cjs.entry.js +1 -1
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js +1 -1
- package/dist/collection/components/form/templates/object-field.js +3 -5
- package/dist/collection/components/list/list.css +1 -0
- package/dist/collection/components/menu-list/menu-list.css +1 -0
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.css +1 -1
- package/dist/collection/components/progress-flow/progress-flow.css +2 -2
- package/dist/collection/style/internal/z-index.scss +0 -3
- package/dist/esm/limel-form.entry.js +3 -5
- package/dist/esm/limel-list_3.entry.js +1 -1
- package/dist/esm/limel-menu-list.entry.js +1 -1
- package/dist/esm/limel-progress-flow-item.entry.js +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-1a2ffe75.entry.js +82 -0
- package/dist/lime-elements/{p-83ea517b.entry.js → p-1e59114e.entry.js} +1 -1
- package/dist/lime-elements/{p-b8a0454f.entry.js → p-6d50aa71.entry.js} +1 -1
- package/dist/lime-elements/p-eb13837f.entry.js +1 -0
- package/dist/lime-elements/style/internal/z-index.scss +0 -3
- package/package.json +2 -2
- package/dist/lime-elements/p-b91dc1ef.entry.js +0 -1
- package/dist/lime-elements/p-c7953a05.entry.js +0 -82
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-2a28697b.js');
|
|
6
6
|
|
|
7
|
-
const progressFlowItemCss = ".flow-item{--step-background:var(\n --progress-flow-step-background-color,\n rgb(var(--contrast-600))\n );--step-background--selected:var(\n --progress-flow-step-background-color--selected,\n var(--mdc-theme-primary)\n );--step-background--passed:var(\n --progress-flow-step-background-color--passed,\n var(--step-background--selected)\n );--step-text:var(\n --progress-flow-step-text-color,\n rgb(var(--contrast-1200))\n );--step-text--selected:var(\n --progress-flow-step-text-color--selected,\n var(--mdc-theme-on-primary)\n );--step-text--passed:var(\n --progress-flow-step-text-color--passed,\n var(--step-text--selected)\n );--step-divider-color:var(\n --progress-flow-step-divider-color,\n rgb(var(--contrast-100))\n );position:relative;width:100%;display:flex;flex-direction:column;align-items:stretch}.flow-item:not(.off-progress-item,.last) .divider:after{content:\"\"}.flow-item.off-progress-item{padding-left:0.5rem}.flow-item.first-off-progress-item{padding-left:1rem}.step{transition:background-color 0.2s ease, box-shadow 0.2s ease;display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:var(--step-height);border:none;font-size:0.875rem}.step.disabled{opacity:0.75;cursor:not-allowed}.step.disabled.readonly{opacity:1;cursor:default}.step:focus{outline:none}.step:focus-visible{box-shadow:var(--shadow-depth-8-focused)}.flow-item:not(.off-progress-item,.first) .step{padding-left:calc(var(--step-height) / 2)}.flow-item:not(.selected) .step:not(.disabled){cursor:pointer}.flow-item:not(.selected) .step:not(.disabled):hover{box-shadow:var(--button-shadow-normal)}.flow-item:not(.selected) .step:not(.disabled):active{box-shadow:var(--button-shadow-pressed)}.off-progress-item .step{border-radius:0.25rem;padding:0 0.75rem}.off-progress-item .step .icon{margin-left:0}.flow-item.first .step{border-top-left-radius:var(--step-height);border-bottom-left-radius:var(--step-height);padding-left:1.25rem}.flow-item.last .step{border-top-right-radius:var(--step-height);border-bottom-right-radius:var(--step-height);padding-right:1.25rem}.divider{display:flex;align-items:center;justify-content:center;width:var(--step-height);height:var(--step-height);position:absolute;z-index:1;right:calc(var(--step-height) / 2 * -1);overflow:hidden}.divider:after{position:absolute;display:block;box-sizing:border-box;transition:background-color 0.2s ease;width:100%;height:100%;right:calc(var(--step-height) / 5);transform:rotate(45deg);border-style:solid;border-width:0.125rem 0.125rem 0 0;border-radius:0 0.5rem 0 0;border-color:var(--step-divider-color)}.flow-item.last .divider{width:0}.text,.secondary-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:var(--max-text-width);z-index:2}.secondary-text{font-size:0.75rem;margin:auto;padding-left:calc(var(--step-height) / 2)}.icon{margin:0 0.5rem 0 0.25rem;z-index:2}.step:after{pointer-events:none;box-sizing:border-box;z-index:2;position:absolute;right:var(--selected-indicator-right);background-color:var(--step-divider-color);width:0.375rem;height:0.375rem;border-radius:50%;opacity:0.7}.last .step:after{right:0.5rem}.flow-item:not(.off-progress-item) .step.selected:after{content:\"\"}.step{color:var(--step-text);background-color:var(--step-background)}.step .icon{color:var(--progress-flow-icon-color, var(--step-text))}.flow-item.selected .step{color:var(--step-text--selected);background-color:var(--step-background--selected)}.flow-item.selected .step .divider:after{background-color:var(--step-background--selected)}.flow-item.selected .step .icon{color:var(--step-text--selected)}.flow-item.passed .step{color:var(--step-text--passed);background-color:var(--step-background--passed)}.flow-item.passed .step .divider:after{background-color:var(--step-background--passed)}.flow-item.passed .step .icon{color:var(--step-text--passed)}.divider:after{border-color:var(--step-divider-color);background-color:var(--step-background)}";
|
|
7
|
+
const progressFlowItemCss = ".flow-item{--step-background:var(\n --progress-flow-step-background-color,\n rgb(var(--contrast-600))\n );--step-background--selected:var(\n --progress-flow-step-background-color--selected,\n var(--mdc-theme-primary)\n );--step-background--passed:var(\n --progress-flow-step-background-color--passed,\n var(--step-background--selected)\n );--step-text:var(\n --progress-flow-step-text-color,\n rgb(var(--contrast-1200))\n );--step-text--selected:var(\n --progress-flow-step-text-color--selected,\n var(--mdc-theme-on-primary)\n );--step-text--passed:var(\n --progress-flow-step-text-color--passed,\n var(--step-text--selected)\n );--step-divider-color:var(\n --progress-flow-step-divider-color,\n rgb(var(--contrast-100))\n );position:relative;width:100%;display:flex;flex-direction:column;align-items:stretch}.flow-item:not(.off-progress-item,.last) .divider:after{content:\"\"}.flow-item.off-progress-item{padding-left:0.5rem}.flow-item.first-off-progress-item{padding-left:1rem}.step{transition:background-color 0.2s ease, box-shadow 0.2s ease;display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:var(--step-height);border:none;font-size:0.875rem}.step.disabled{opacity:0.75;cursor:not-allowed}.step.disabled.readonly{opacity:1;cursor:default}.step:focus{outline:none}.step:focus-visible{box-shadow:var(--shadow-depth-8-focused)}.flow-item:not(.off-progress-item,.first) .step{padding-left:calc(var(--step-height) / 2)}.flow-item:not(.selected) .step:not(.disabled){cursor:pointer}.flow-item:not(.selected) .step:not(.disabled):hover{box-shadow:var(--button-shadow-normal)}.flow-item:not(.selected) .step:not(.disabled):active{box-shadow:var(--button-shadow-pressed)}.off-progress-item .step{border-radius:0.25rem;padding:0 0.75rem}.off-progress-item .step .icon{margin-left:0}.flow-item.first .step{border-top-left-radius:var(--step-height);border-bottom-left-radius:var(--step-height);padding-left:1.25rem}.flow-item.last .step{border-top-right-radius:var(--step-height);border-bottom-right-radius:var(--step-height);padding-right:1.25rem}.divider{display:flex;align-items:center;justify-content:center;width:var(--step-height);height:var(--step-height);position:absolute;z-index:1;right:calc(var(--step-height) / 2 * -1);overflow:hidden}.divider:after{position:absolute;display:block;box-sizing:border-box;transition:background-color 0.2s ease;width:100%;height:100%;right:calc(var(--step-height) / 5);transform:rotate(45deg);border-style:solid;border-width:0.125rem 0.125rem 0 0;border-radius:0 0.5rem 0 0;border-color:var(--step-divider-color)}.flow-item.last .divider{width:0}.text,.secondary-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:var(--max-text-width);z-index:2}.secondary-text{font-size:0.75rem;margin:auto;padding-left:calc(var(--step-height) / 2)}.icon{margin:0 0.5rem 0 0.25rem;z-index:2}.step:after{pointer-events:none;box-sizing:border-box;z-index:2;position:absolute;right:var(--selected-indicator-right);background-color:var(--step-divider-color);width:0.375rem;height:0.375rem;border-radius:50%;opacity:0.7}.last .step:after{right:0.5rem}.flow-item:not(.off-progress-item) .step.selected:after{content:\"\"}.step{color:var(--step-text);background-color:var(--step-background)}.step .icon{color:var(--progress-flow-icon-color--inactive, var(--step-text))}.flow-item.selected .step{color:var(--step-text--selected);background-color:var(--step-background--selected)}.flow-item.selected .step .divider:after{background-color:var(--step-background--selected)}.flow-item.selected .step .icon{color:var(--step-text--selected)}.flow-item.passed .step{color:var(--step-text--passed);background-color:var(--step-background--passed)}.flow-item.passed .step .divider:after{background-color:var(--step-background--passed)}.flow-item.passed .step .icon{color:var(--step-text--passed)}.divider:after{border-color:var(--step-divider-color);background-color:var(--step-background)}";
|
|
8
8
|
|
|
9
9
|
const ProgressFlowItem = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -24,13 +24,11 @@ function renderCollapsibleField(props) {
|
|
|
24
24
|
}, renderDescription(props.description), renderProperties(props.properties, props.schema));
|
|
25
25
|
}
|
|
26
26
|
function getSchemaObjectPropertyPath(schema, subSchema) {
|
|
27
|
-
var _a;
|
|
27
|
+
var _a, _b;
|
|
28
28
|
const refPrefixLength = 2;
|
|
29
29
|
const matchAllForwardSlashes = /\//g;
|
|
30
|
-
const rootPath = schema.$ref
|
|
31
|
-
|
|
32
|
-
.slice(refPrefixLength);
|
|
33
|
-
const subSchemaPath = (_a = subSchema.$id) === null || _a === void 0 ? void 0 : _a.replace('_', '.properties.');
|
|
30
|
+
const rootPath = (_a = schema.$ref) === null || _a === void 0 ? void 0 : _a.replace(matchAllForwardSlashes, '.').slice(refPrefixLength);
|
|
31
|
+
const subSchemaPath = (_b = subSchema.$id) === null || _b === void 0 ? void 0 : _b.replace('_', '.properties.');
|
|
34
32
|
return subSchemaPath.replace('root', rootPath);
|
|
35
33
|
}
|
|
36
34
|
function renderProperties(properties, schema) {
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
background-color: var(--step-background);
|
|
185
185
|
}
|
|
186
186
|
.step .icon {
|
|
187
|
-
color: var(--progress-flow-icon-color, var(--step-text));
|
|
187
|
+
color: var(--progress-flow-icon-color--inactive, var(--step-text));
|
|
188
188
|
}
|
|
189
189
|
.flow-item.selected .step {
|
|
190
190
|
color: var(--step-text--selected);
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
* @prop --progress-flow-step-background-color--passed: Background color of passed steps, defaults to the background color the step has when selected.
|
|
17
17
|
* @prop --progress-flow-step-text-color: Text of steps, defaults to `--contrast-1200`.
|
|
18
18
|
* @prop --progress-flow-step-text-color--selected: Text color of selected step, defaults to `--lime-primary-color`.
|
|
19
|
-
* @prop --progress-flow-step-text-color
|
|
19
|
+
* @prop --progress-flow-step-text-color--passed: Text color of passed steps, defaults to the text color the step has when selected.
|
|
20
20
|
* @prop --progress-flow-step-divider-color: Color of the arrow shaped dividers between steps which must be the same as component's background, defaults to `--contrast-100`.
|
|
21
|
-
* @prop --progress-flow-icon-color: Color of the optional icons used in each step. Only affects inactive steps, defaults to text colors for inactive, active, or passed step.
|
|
21
|
+
* @prop --progress-flow-icon-color--inactive: Color of the optional icons used in each step. Only affects inactive steps, defaults to text colors for inactive, active, or passed step.
|
|
22
22
|
*/
|
|
23
23
|
:host {
|
|
24
24
|
--step-height: 2.5rem;
|
|
@@ -6,12 +6,9 @@ $date-picker--flatpickr-adapter--flatpickr-day--after: -1 !default;
|
|
|
6
6
|
$input-field--formatted-value: 1 !default;
|
|
7
7
|
$input-field--input-with-formatted-value: 2 !default;
|
|
8
8
|
$input-field--mdc-text-field__input--readonly: 1 !default;
|
|
9
|
-
$list--has-interactive-items--mdc-list-item--hover: 1 !default;
|
|
10
|
-
$list-static-actions-list: 1 !default;
|
|
11
9
|
$tab-bar--active-tab: 2 !default;
|
|
12
10
|
$table--has-interactive-rows--selectable-row--hover: 2 !default;
|
|
13
11
|
$table--limel-table--row-selector: 1 !default;
|
|
14
12
|
$popover-before: -1 !default;
|
|
15
13
|
$button-group-radio-button-keyboard-focused: 1 !default;
|
|
16
|
-
$list-mdc-list-item: 0 !default;
|
|
17
14
|
$limel-circular-progress-value: 1 !default;
|
|
@@ -24073,13 +24073,11 @@ function renderCollapsibleField(props) {
|
|
|
24073
24073
|
}, renderDescription(props.description), renderProperties(props.properties, props.schema));
|
|
24074
24074
|
}
|
|
24075
24075
|
function getSchemaObjectPropertyPath(schema, subSchema) {
|
|
24076
|
-
var _a;
|
|
24076
|
+
var _a, _b;
|
|
24077
24077
|
const refPrefixLength = 2;
|
|
24078
24078
|
const matchAllForwardSlashes = /\//g;
|
|
24079
|
-
const rootPath = schema.$ref
|
|
24080
|
-
|
|
24081
|
-
.slice(refPrefixLength);
|
|
24082
|
-
const subSchemaPath = (_a = subSchema.$id) === null || _a === void 0 ? void 0 : _a.replace('_', '.properties.');
|
|
24079
|
+
const rootPath = (_a = schema.$ref) === null || _a === void 0 ? void 0 : _a.replace(matchAllForwardSlashes, '.').slice(refPrefixLength);
|
|
24080
|
+
const subSchemaPath = (_b = subSchema.$id) === null || _b === void 0 ? void 0 : _b.replace('_', '.properties.');
|
|
24083
24081
|
return subSchemaPath.replace('root', rootPath);
|
|
24084
24082
|
}
|
|
24085
24083
|
function renderProperties(properties, schema) {
|