@aurodesignsystem-dev/auro-formkit 0.0.0-pr1508.0 → 0.0.0-pr1509.1
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/components/checkbox/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +279 -142
- package/components/combobox/demo/getting-started.min.js +279 -142
- package/components/combobox/demo/index.min.js +279 -142
- package/components/combobox/dist/auro-combobox.d.ts +0 -9
- package/components/combobox/dist/index.js +279 -142
- package/components/combobox/dist/registered.js +279 -142
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/customize.min.js +153 -45
- package/components/datepicker/demo/index.min.js +153 -45
- package/components/datepicker/dist/index.js +153 -45
- package/components/datepicker/dist/registered.js +153 -45
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +1 -1
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/customize.min.js +589 -235
- package/components/form/demo/getting-started.min.js +589 -235
- package/components/form/demo/index.min.js +589 -235
- package/components/form/demo/registerDemoDeps.min.js +589 -235
- package/components/input/demo/customize.min.js +151 -42
- package/components/input/demo/getting-started.min.js +151 -42
- package/components/input/demo/index.min.js +151 -42
- package/components/input/dist/base-input.d.ts +49 -1
- package/components/input/dist/index.js +151 -42
- package/components/input/dist/registered.js +151 -42
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +2 -2
- package/components/select/demo/getting-started.min.js +2 -2
- package/components/select/demo/index.min.js +2 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +264 -20
- package/package.json +1 -1
|
@@ -4894,7 +4894,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
4894
4894
|
}
|
|
4895
4895
|
};
|
|
4896
4896
|
|
|
4897
|
-
var formkitVersion$1 = '
|
|
4897
|
+
var formkitVersion$1 = '202606241801';
|
|
4898
4898
|
|
|
4899
4899
|
class AuroElement extends LitElement {
|
|
4900
4900
|
static get properties() {
|
|
@@ -6915,7 +6915,7 @@ class AuroHelpText extends LitElement {
|
|
|
6915
6915
|
}
|
|
6916
6916
|
}
|
|
6917
6917
|
|
|
6918
|
-
var formkitVersion = '
|
|
6918
|
+
var formkitVersion = '202606241801';
|
|
6919
6919
|
|
|
6920
6920
|
var styleCss = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer [slot=displayValue]{display:none}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
6921
6921
|
|
package/custom-elements.json
CHANGED
|
@@ -413,26 +413,6 @@
|
|
|
413
413
|
"description": "Update displayValue or input.value, it's called when making a selection.",
|
|
414
414
|
"privacy": "private"
|
|
415
415
|
},
|
|
416
|
-
{
|
|
417
|
-
"kind": "method",
|
|
418
|
-
"name": "syncInputValuesAcrossTriggerAndBib",
|
|
419
|
-
"parameters": [
|
|
420
|
-
{
|
|
421
|
-
"name": "nextValue",
|
|
422
|
-
"description": "The value to write to both inputs.",
|
|
423
|
-
"type": {
|
|
424
|
-
"text": "string"
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
],
|
|
428
|
-
"description": "Writes nextValue to the trigger input and the bib input when their current\nvalue differs, then re-asserts imask after Lit's update flushes.",
|
|
429
|
-
"return": {
|
|
430
|
-
"type": {
|
|
431
|
-
"text": "Promise<void> | null"
|
|
432
|
-
}
|
|
433
|
-
},
|
|
434
|
-
"privacy": "private"
|
|
435
|
-
},
|
|
436
416
|
{
|
|
437
417
|
"kind": "method",
|
|
438
418
|
"name": "handleMenuOptions",
|
|
@@ -11845,6 +11825,61 @@
|
|
|
11845
11825
|
"module": "components/input/src/base-input.js"
|
|
11846
11826
|
}
|
|
11847
11827
|
},
|
|
11828
|
+
{
|
|
11829
|
+
"kind": "method",
|
|
11830
|
+
"name": "_computeDateObjectFallback",
|
|
11831
|
+
"parameters": [
|
|
11832
|
+
{
|
|
11833
|
+
"name": "dateStr",
|
|
11834
|
+
"description": "ISO date string from `value`/`min`/`max`.",
|
|
11835
|
+
"type": {
|
|
11836
|
+
"text": "string|undefined"
|
|
11837
|
+
}
|
|
11838
|
+
}
|
|
11839
|
+
],
|
|
11840
|
+
"description": "Parses a date string into a Date object when the corresponding `_*Object`\nfield hasn't been synced yet by `updated()`. Returns undefined when the\ninput type/format isn't a full date or the string is not a valid date.\n\nWhy this exists: a parent (datepicker) can call `inputN.validate()` from\ninside its own `updated()` before this input's `updated()` has run\n`syncDateValues()` — so `_valueObject`/`_maxObject` are still `undefined`\nand range checks would otherwise silently no-op (flipping the result to\n`valid` or `patternMismatch`).",
|
|
11841
|
+
"privacy": "private",
|
|
11842
|
+
"return": {
|
|
11843
|
+
"type": {
|
|
11844
|
+
"text": "Date|undefined"
|
|
11845
|
+
}
|
|
11846
|
+
},
|
|
11847
|
+
"inheritedFrom": {
|
|
11848
|
+
"name": "BaseInput",
|
|
11849
|
+
"module": "components/input/src/base-input.js"
|
|
11850
|
+
}
|
|
11851
|
+
},
|
|
11852
|
+
{
|
|
11853
|
+
"kind": "method",
|
|
11854
|
+
"name": "setDateObjectProperty",
|
|
11855
|
+
"parameters": [
|
|
11856
|
+
{
|
|
11857
|
+
"name": "propertyName",
|
|
11858
|
+
"description": "Public object property name.",
|
|
11859
|
+
"type": {
|
|
11860
|
+
"text": "'valueObject'|'minObject'|'maxObject'"
|
|
11861
|
+
}
|
|
11862
|
+
},
|
|
11863
|
+
{
|
|
11864
|
+
"name": "propertyValue",
|
|
11865
|
+
"description": "Value to assign.",
|
|
11866
|
+
"type": {
|
|
11867
|
+
"text": "Date|undefined"
|
|
11868
|
+
}
|
|
11869
|
+
}
|
|
11870
|
+
],
|
|
11871
|
+
"description": "Internal setter for readonly date object properties.",
|
|
11872
|
+
"privacy": "private",
|
|
11873
|
+
"return": {
|
|
11874
|
+
"type": {
|
|
11875
|
+
"text": "void"
|
|
11876
|
+
}
|
|
11877
|
+
},
|
|
11878
|
+
"inheritedFrom": {
|
|
11879
|
+
"name": "BaseInput",
|
|
11880
|
+
"module": "components/input/src/base-input.js"
|
|
11881
|
+
}
|
|
11882
|
+
},
|
|
11848
11883
|
{
|
|
11849
11884
|
"kind": "method",
|
|
11850
11885
|
"name": "patchInputEvent",
|
|
@@ -11898,6 +11933,70 @@
|
|
|
11898
11933
|
"module": "components/input/src/base-input.js"
|
|
11899
11934
|
}
|
|
11900
11935
|
},
|
|
11936
|
+
{
|
|
11937
|
+
"kind": "method",
|
|
11938
|
+
"name": "syncDateValues",
|
|
11939
|
+
"parameters": [
|
|
11940
|
+
{
|
|
11941
|
+
"name": "changedProperties",
|
|
11942
|
+
"default": "undefined",
|
|
11943
|
+
"description": "Optional map of changed properties used to limit which values are synchronized.",
|
|
11944
|
+
"optional": true,
|
|
11945
|
+
"type": {
|
|
11946
|
+
"text": "Map<string, unknown>|undefined"
|
|
11947
|
+
}
|
|
11948
|
+
}
|
|
11949
|
+
],
|
|
11950
|
+
"description": "Synchronizes the ISO string values and Date object representations for date-related properties.\nThis keeps the model and display values aligned when either side changes.\n\nWhen a full date format is in use, this method updates `value`, `min`, and `max` from their corresponding\nDate objects or vice versa, based on which properties have changed. It only runs when the current configuration\nrepresents a full year/month/day date format.",
|
|
11951
|
+
"return": {
|
|
11952
|
+
"type": {
|
|
11953
|
+
"text": "void"
|
|
11954
|
+
}
|
|
11955
|
+
},
|
|
11956
|
+
"privacy": "private",
|
|
11957
|
+
"inheritedFrom": {
|
|
11958
|
+
"name": "BaseInput",
|
|
11959
|
+
"module": "components/input/src/base-input.js"
|
|
11960
|
+
}
|
|
11961
|
+
},
|
|
11962
|
+
{
|
|
11963
|
+
"kind": "method",
|
|
11964
|
+
"name": "syncSingleDateValue",
|
|
11965
|
+
"parameters": [
|
|
11966
|
+
{
|
|
11967
|
+
"name": "changedProperties",
|
|
11968
|
+
"description": "Map of changed properties from Lit.",
|
|
11969
|
+
"type": {
|
|
11970
|
+
"text": "Map<string, unknown>|undefined"
|
|
11971
|
+
}
|
|
11972
|
+
},
|
|
11973
|
+
{
|
|
11974
|
+
"name": "objectProperty",
|
|
11975
|
+
"description": "Date object property name.",
|
|
11976
|
+
"type": {
|
|
11977
|
+
"text": "string"
|
|
11978
|
+
}
|
|
11979
|
+
},
|
|
11980
|
+
{
|
|
11981
|
+
"name": "valueProperty",
|
|
11982
|
+
"description": "ISO string property name.",
|
|
11983
|
+
"type": {
|
|
11984
|
+
"text": "string"
|
|
11985
|
+
}
|
|
11986
|
+
}
|
|
11987
|
+
],
|
|
11988
|
+
"description": "Synchronizes one date object/string property pair.",
|
|
11989
|
+
"privacy": "private",
|
|
11990
|
+
"return": {
|
|
11991
|
+
"type": {
|
|
11992
|
+
"text": "void"
|
|
11993
|
+
}
|
|
11994
|
+
},
|
|
11995
|
+
"inheritedFrom": {
|
|
11996
|
+
"name": "BaseInput",
|
|
11997
|
+
"module": "components/input/src/base-input.js"
|
|
11998
|
+
}
|
|
11999
|
+
},
|
|
11901
12000
|
{
|
|
11902
12001
|
"kind": "method",
|
|
11903
12002
|
"name": "configureAutoFormatting",
|
|
@@ -12273,6 +12372,15 @@
|
|
|
12273
12372
|
"module": "components/input/src/base-input.js"
|
|
12274
12373
|
}
|
|
12275
12374
|
},
|
|
12375
|
+
{
|
|
12376
|
+
"kind": "field",
|
|
12377
|
+
"name": "_maxObject",
|
|
12378
|
+
"default": "undefined",
|
|
12379
|
+
"inheritedFrom": {
|
|
12380
|
+
"name": "BaseInput",
|
|
12381
|
+
"module": "components/input/src/base-input.js"
|
|
12382
|
+
}
|
|
12383
|
+
},
|
|
12276
12384
|
{
|
|
12277
12385
|
"kind": "field",
|
|
12278
12386
|
"name": "maxLength",
|
|
@@ -12304,6 +12412,15 @@
|
|
|
12304
12412
|
"module": "components/input/src/base-input.js"
|
|
12305
12413
|
}
|
|
12306
12414
|
},
|
|
12415
|
+
{
|
|
12416
|
+
"kind": "field",
|
|
12417
|
+
"name": "_minObject",
|
|
12418
|
+
"default": "undefined",
|
|
12419
|
+
"inheritedFrom": {
|
|
12420
|
+
"name": "BaseInput",
|
|
12421
|
+
"module": "components/input/src/base-input.js"
|
|
12422
|
+
}
|
|
12423
|
+
},
|
|
12307
12424
|
{
|
|
12308
12425
|
"kind": "field",
|
|
12309
12426
|
"name": "minLength",
|
|
@@ -12412,6 +12529,15 @@
|
|
|
12412
12529
|
"module": "components/input/src/base-input.js"
|
|
12413
12530
|
}
|
|
12414
12531
|
},
|
|
12532
|
+
{
|
|
12533
|
+
"kind": "field",
|
|
12534
|
+
"name": "_valueObject",
|
|
12535
|
+
"default": "undefined",
|
|
12536
|
+
"inheritedFrom": {
|
|
12537
|
+
"name": "BaseInput",
|
|
12538
|
+
"module": "components/input/src/base-input.js"
|
|
12539
|
+
}
|
|
12540
|
+
},
|
|
12415
12541
|
{
|
|
12416
12542
|
"kind": "field",
|
|
12417
12543
|
"name": "a11yRole",
|
|
@@ -13810,6 +13936,53 @@
|
|
|
13810
13936
|
},
|
|
13811
13937
|
"readonly": true
|
|
13812
13938
|
},
|
|
13939
|
+
{
|
|
13940
|
+
"kind": "method",
|
|
13941
|
+
"name": "_computeDateObjectFallback",
|
|
13942
|
+
"parameters": [
|
|
13943
|
+
{
|
|
13944
|
+
"name": "dateStr",
|
|
13945
|
+
"description": "ISO date string from `value`/`min`/`max`.",
|
|
13946
|
+
"type": {
|
|
13947
|
+
"text": "string|undefined"
|
|
13948
|
+
}
|
|
13949
|
+
}
|
|
13950
|
+
],
|
|
13951
|
+
"description": "Parses a date string into a Date object when the corresponding `_*Object`\nfield hasn't been synced yet by `updated()`. Returns undefined when the\ninput type/format isn't a full date or the string is not a valid date.\n\nWhy this exists: a parent (datepicker) can call `inputN.validate()` from\ninside its own `updated()` before this input's `updated()` has run\n`syncDateValues()` — so `_valueObject`/`_maxObject` are still `undefined`\nand range checks would otherwise silently no-op (flipping the result to\n`valid` or `patternMismatch`).",
|
|
13952
|
+
"privacy": "private",
|
|
13953
|
+
"return": {
|
|
13954
|
+
"type": {
|
|
13955
|
+
"text": "Date|undefined"
|
|
13956
|
+
}
|
|
13957
|
+
}
|
|
13958
|
+
},
|
|
13959
|
+
{
|
|
13960
|
+
"kind": "method",
|
|
13961
|
+
"name": "setDateObjectProperty",
|
|
13962
|
+
"parameters": [
|
|
13963
|
+
{
|
|
13964
|
+
"name": "propertyName",
|
|
13965
|
+
"description": "Public object property name.",
|
|
13966
|
+
"type": {
|
|
13967
|
+
"text": "'valueObject'|'minObject'|'maxObject'"
|
|
13968
|
+
}
|
|
13969
|
+
},
|
|
13970
|
+
{
|
|
13971
|
+
"name": "propertyValue",
|
|
13972
|
+
"description": "Value to assign.",
|
|
13973
|
+
"type": {
|
|
13974
|
+
"text": "Date|undefined"
|
|
13975
|
+
}
|
|
13976
|
+
}
|
|
13977
|
+
],
|
|
13978
|
+
"description": "Internal setter for readonly date object properties.",
|
|
13979
|
+
"privacy": "private",
|
|
13980
|
+
"return": {
|
|
13981
|
+
"type": {
|
|
13982
|
+
"text": "void"
|
|
13983
|
+
}
|
|
13984
|
+
}
|
|
13985
|
+
},
|
|
13813
13986
|
{
|
|
13814
13987
|
"kind": "method",
|
|
13815
13988
|
"name": "patchInputEvent",
|
|
@@ -13851,6 +14024,62 @@
|
|
|
13851
14024
|
}
|
|
13852
14025
|
}
|
|
13853
14026
|
},
|
|
14027
|
+
{
|
|
14028
|
+
"kind": "method",
|
|
14029
|
+
"name": "syncDateValues",
|
|
14030
|
+
"parameters": [
|
|
14031
|
+
{
|
|
14032
|
+
"name": "changedProperties",
|
|
14033
|
+
"default": "undefined",
|
|
14034
|
+
"description": "Optional map of changed properties used to limit which values are synchronized.",
|
|
14035
|
+
"optional": true,
|
|
14036
|
+
"type": {
|
|
14037
|
+
"text": "Map<string, unknown>|undefined"
|
|
14038
|
+
}
|
|
14039
|
+
}
|
|
14040
|
+
],
|
|
14041
|
+
"description": "Synchronizes the ISO string values and Date object representations for date-related properties.\nThis keeps the model and display values aligned when either side changes.\n\nWhen a full date format is in use, this method updates `value`, `min`, and `max` from their corresponding\nDate objects or vice versa, based on which properties have changed. It only runs when the current configuration\nrepresents a full year/month/day date format.",
|
|
14042
|
+
"return": {
|
|
14043
|
+
"type": {
|
|
14044
|
+
"text": "void"
|
|
14045
|
+
}
|
|
14046
|
+
},
|
|
14047
|
+
"privacy": "private"
|
|
14048
|
+
},
|
|
14049
|
+
{
|
|
14050
|
+
"kind": "method",
|
|
14051
|
+
"name": "syncSingleDateValue",
|
|
14052
|
+
"parameters": [
|
|
14053
|
+
{
|
|
14054
|
+
"name": "changedProperties",
|
|
14055
|
+
"description": "Map of changed properties from Lit.",
|
|
14056
|
+
"type": {
|
|
14057
|
+
"text": "Map<string, unknown>|undefined"
|
|
14058
|
+
}
|
|
14059
|
+
},
|
|
14060
|
+
{
|
|
14061
|
+
"name": "objectProperty",
|
|
14062
|
+
"description": "Date object property name.",
|
|
14063
|
+
"type": {
|
|
14064
|
+
"text": "string"
|
|
14065
|
+
}
|
|
14066
|
+
},
|
|
14067
|
+
{
|
|
14068
|
+
"name": "valueProperty",
|
|
14069
|
+
"description": "ISO string property name.",
|
|
14070
|
+
"type": {
|
|
14071
|
+
"text": "string"
|
|
14072
|
+
}
|
|
14073
|
+
}
|
|
14074
|
+
],
|
|
14075
|
+
"description": "Synchronizes one date object/string property pair.",
|
|
14076
|
+
"privacy": "private",
|
|
14077
|
+
"return": {
|
|
14078
|
+
"type": {
|
|
14079
|
+
"text": "void"
|
|
14080
|
+
}
|
|
14081
|
+
}
|
|
14082
|
+
},
|
|
13854
14083
|
{
|
|
13855
14084
|
"kind": "method",
|
|
13856
14085
|
"name": "configureAutoFormatting",
|
|
@@ -14138,6 +14367,11 @@
|
|
|
14138
14367
|
"default": "undefined",
|
|
14139
14368
|
"attribute": "max"
|
|
14140
14369
|
},
|
|
14370
|
+
{
|
|
14371
|
+
"kind": "field",
|
|
14372
|
+
"name": "_maxObject",
|
|
14373
|
+
"default": "undefined"
|
|
14374
|
+
},
|
|
14141
14375
|
{
|
|
14142
14376
|
"kind": "field",
|
|
14143
14377
|
"name": "maxLength",
|
|
@@ -14161,6 +14395,11 @@
|
|
|
14161
14395
|
"default": "undefined",
|
|
14162
14396
|
"attribute": "min"
|
|
14163
14397
|
},
|
|
14398
|
+
{
|
|
14399
|
+
"kind": "field",
|
|
14400
|
+
"name": "_minObject",
|
|
14401
|
+
"default": "undefined"
|
|
14402
|
+
},
|
|
14164
14403
|
{
|
|
14165
14404
|
"kind": "field",
|
|
14166
14405
|
"name": "minLength",
|
|
@@ -14253,6 +14492,11 @@
|
|
|
14253
14492
|
"default": "undefined",
|
|
14254
14493
|
"attribute": "value"
|
|
14255
14494
|
},
|
|
14495
|
+
{
|
|
14496
|
+
"kind": "field",
|
|
14497
|
+
"name": "_valueObject",
|
|
14498
|
+
"default": "undefined"
|
|
14499
|
+
},
|
|
14256
14500
|
{
|
|
14257
14501
|
"kind": "field",
|
|
14258
14502
|
"name": "a11yRole",
|
package/package.json
CHANGED