@aurodesignsystem-dev/auro-formkit 0.0.0-pr801.2 → 0.0.0-pr802.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/components/bibtemplate/dist/index.js +1 -1
- package/components/bibtemplate/dist/registered.js +1 -1
- package/components/checkbox/demo/api.md +1 -2
- package/components/checkbox/demo/api.min.js +1 -8
- package/components/checkbox/demo/index.min.js +1 -8
- package/components/checkbox/dist/index.js +1 -8
- package/components/checkbox/dist/registered.js +1 -8
- package/components/combobox/demo/api.md +0 -2
- package/components/combobox/demo/api.min.js +13 -79
- package/components/combobox/demo/index.min.js +13 -79
- package/components/combobox/dist/auro-combobox.d.ts +4 -2
- package/components/combobox/dist/index.js +12 -78
- package/components/combobox/dist/registered.js +12 -78
- package/components/counter/demo/api.md +0 -2
- package/components/counter/demo/api.min.js +1 -28
- package/components/counter/demo/index.min.js +1 -28
- package/components/counter/dist/auro-counter-group.d.ts +0 -10
- package/components/counter/dist/index.js +1 -28
- package/components/counter/dist/registered.js +1 -28
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/api.md +19 -41
- package/components/datepicker/demo/api.min.js +86 -252
- package/components/datepicker/demo/index.md +4 -4
- package/components/datepicker/demo/index.min.js +86 -252
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +12 -60
- package/components/datepicker/dist/index.js +86 -252
- package/components/datepicker/dist/registered.js +86 -252
- package/components/dropdown/demo/api.md +1 -1
- package/components/dropdown/demo/api.min.js +0 -7
- package/components/dropdown/demo/index.min.js +0 -7
- package/components/dropdown/dist/index.js +0 -7
- package/components/dropdown/dist/registered.js +0 -7
- package/components/input/demo/api.min.js +9 -70
- package/components/input/demo/index.min.js +9 -70
- package/components/input/dist/auro-input.d.ts +0 -24
- package/components/input/dist/index.js +9 -70
- package/components/input/dist/registered.js +9 -70
- package/components/menu/demo/api.min.js +1 -1
- package/components/menu/demo/index.min.js +1 -1
- package/components/menu/dist/index.js +1 -1
- package/components/menu/dist/registered.js +1 -1
- package/components/radio/demo/api.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/api.md +64 -46
- package/components/select/demo/api.min.js +16 -58
- package/components/select/demo/index.md +137 -1057
- package/components/select/demo/index.min.js +16 -58
- package/components/select/dist/auro-select.d.ts +5 -22
- package/components/select/dist/index.js +15 -57
- package/components/select/dist/registered.js +15 -57
- package/package.json +2 -2
- package/components/datepicker/dist/styles/classic/style-css.d.ts +0 -2
- /package/components/datepicker/dist/styles/{classic → default}/color-css.d.ts +0 -0
|
@@ -83,7 +83,7 @@ This configuration enables proper module resolution for the component's TypeScri
|
|
|
83
83
|
<!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
|
|
84
84
|
|
|
85
85
|
```html
|
|
86
|
-
<auro-datepicker
|
|
86
|
+
<auro-datepicker>
|
|
87
87
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
88
88
|
<span slot="fromLabel">Choose a date</span>
|
|
89
89
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -379,7 +379,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
379
379
|
* @param {String} focusInput - Pass in `endDate` to focus on the return input. No parameter is needed to focus on the depart input.
|
|
380
380
|
* @returns {void}
|
|
381
381
|
*/
|
|
382
|
-
focus(focusInput
|
|
382
|
+
focus(focusInput: string): void;
|
|
383
383
|
/**
|
|
384
384
|
* Converts valid time number to format used by wc-date-range API.
|
|
385
385
|
* @private
|
|
@@ -448,17 +448,6 @@ export class AuroDatePicker extends AuroElement {
|
|
|
448
448
|
* @returns {void}
|
|
449
449
|
*/
|
|
450
450
|
private configureDatepicker;
|
|
451
|
-
hasFocus: boolean;
|
|
452
|
-
/**
|
|
453
|
-
* Hides the dropdown bib if its open.
|
|
454
|
-
* @returns {void}
|
|
455
|
-
*/
|
|
456
|
-
hideBib(): void;
|
|
457
|
-
/**
|
|
458
|
-
* Shows the dropdown bib if there are options to show.
|
|
459
|
-
* @returns {void}
|
|
460
|
-
*/
|
|
461
|
-
showBib(): void;
|
|
462
451
|
/**
|
|
463
452
|
* Sets the readonly attribute on the inputs based on the window width.
|
|
464
453
|
* @private
|
|
@@ -511,16 +500,13 @@ export class AuroDatePicker extends AuroElement {
|
|
|
511
500
|
* @param {boolean} [force=false] - Whether to force validation.
|
|
512
501
|
*/
|
|
513
502
|
validate(force?: boolean): void;
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
*/
|
|
518
|
-
private setHasValue;
|
|
503
|
+
setHasFocus(): void;
|
|
504
|
+
hasFocus: boolean;
|
|
505
|
+
setHasValue(): void;
|
|
519
506
|
hasValue: boolean;
|
|
520
507
|
get hasError(): boolean;
|
|
521
508
|
updated(changedProperties: any): void;
|
|
522
509
|
monthFirst: boolean;
|
|
523
|
-
previousTabIndex: string;
|
|
524
510
|
formattedFocusDate: boolean;
|
|
525
511
|
formattedEndDate: boolean;
|
|
526
512
|
formattedValue: boolean;
|
|
@@ -544,15 +530,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
544
530
|
*/
|
|
545
531
|
private renderSnowflakeLayout;
|
|
546
532
|
/**
|
|
547
|
-
* Renders the snowflake layout for the datepicker.
|
|
548
|
-
* @private
|
|
549
|
-
* @returns {import("lit").TemplateResult}
|
|
550
|
-
*/
|
|
551
|
-
private renderClassicLayout;
|
|
552
|
-
/**
|
|
553
|
-
* Renders the layout based on the `layout` attribute.
|
|
554
533
|
* @private
|
|
555
|
-
* @returns {import('lit').TemplateResult}
|
|
556
534
|
*/
|
|
557
535
|
private renderLayoutFromAttributes;
|
|
558
536
|
/**
|
|
@@ -560,52 +538,26 @@ export class AuroDatePicker extends AuroElement {
|
|
|
560
538
|
* Returns formatted date like Apr 21 or Dec 25.
|
|
561
539
|
* @private
|
|
562
540
|
* @param {string} date - Date format should be in a format Date constructor accepts, like '2023-04-21' or '2023/04/21'.
|
|
563
|
-
* @
|
|
541
|
+
* @return {string}
|
|
564
542
|
*/
|
|
565
543
|
private formatShortDate;
|
|
566
544
|
/**
|
|
567
545
|
* Format and render the provided date value.
|
|
568
546
|
* @private
|
|
569
|
-
* @param
|
|
570
|
-
* @
|
|
547
|
+
* @param dateValue
|
|
548
|
+
* @return {TemplateResult}
|
|
571
549
|
*/
|
|
572
550
|
private renderDisplayTextDate;
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
*/
|
|
578
|
-
private renderHtmlInputs;
|
|
579
|
-
/**
|
|
580
|
-
* Renders the clear action button.
|
|
581
|
-
* @private
|
|
582
|
-
* @returns {import('lit').TemplateResult}
|
|
583
|
-
*/
|
|
584
|
-
private renderHtmlActionClear;
|
|
585
|
-
/**
|
|
586
|
-
* Renders the error icon.
|
|
587
|
-
* @private
|
|
588
|
-
* @returns {import('lit').TemplateResult}
|
|
589
|
-
*/
|
|
590
|
-
private renderHtmlIconError;
|
|
591
|
-
/**
|
|
592
|
-
* Renders the calendar icon.
|
|
593
|
-
* @private
|
|
594
|
-
* @returns {import('lit').TemplateResult}
|
|
595
|
-
*/
|
|
596
|
-
private renderHtmlIconCalendar;
|
|
551
|
+
renderHtmlInputs(): import("lit-html").TemplateResult;
|
|
552
|
+
renderHtmlActionClear(): import("lit-html").TemplateResult;
|
|
553
|
+
renderHtmlIconError(): import("lit-html").TemplateResult;
|
|
554
|
+
renderHtmlIconCalendar(): import("lit-html").TemplateResult;
|
|
597
555
|
/**
|
|
598
556
|
* Returns HTML for the help text and error message.
|
|
599
557
|
* @private
|
|
600
|
-
* @returns {
|
|
558
|
+
* @returns {html} - Returns HTML for the help text and error message.
|
|
601
559
|
*/
|
|
602
560
|
private renderHtmlHelpText;
|
|
603
|
-
/**
|
|
604
|
-
* Separate method for rendering the calendar.
|
|
605
|
-
* @private
|
|
606
|
-
* @returns {import('lit').TemplateResult}
|
|
607
|
-
*/
|
|
608
|
-
private renderCalendar;
|
|
609
561
|
render(): import("lit-html").TemplateResult;
|
|
610
562
|
}
|
|
611
563
|
import { AuroElement } from "@aurodesignsystem/auro-layout-element";
|