@aurodesignsystem-dev/auro-formkit 0.0.0-pr794.0 → 0.0.0-pr794.2
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/buttonVersion.d.ts +1 -1
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +73 -23
- package/components/bibtemplate/dist/registered.js +73 -23
- package/components/checkbox/demo/api.md +2 -1
- package/components/checkbox/demo/api.min.js +9 -2
- package/components/checkbox/demo/index.min.js +9 -2
- package/components/checkbox/dist/index.js +9 -2
- package/components/checkbox/dist/registered.js +9 -2
- package/components/combobox/demo/api.md +2 -0
- package/components/combobox/demo/api.min.js +216 -86
- package/components/combobox/demo/index.min.js +216 -86
- package/components/combobox/dist/auro-combobox.d.ts +2 -4
- package/components/combobox/dist/index.js +175 -70
- package/components/combobox/dist/registered.js +175 -70
- package/components/counter/demo/api.md +2 -0
- package/components/counter/demo/api.min.js +185 -58
- package/components/counter/demo/index.min.js +185 -58
- package/components/counter/dist/auro-counter-group.d.ts +10 -0
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +185 -58
- package/components/counter/dist/registered.js +185 -58
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/api.md +41 -19
- package/components/datepicker/demo/api.min.js +478 -175
- package/components/datepicker/demo/index.md +4 -4
- package/components/datepicker/demo/index.min.js +478 -175
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +60 -12
- package/components/datepicker/dist/index.js +478 -175
- package/components/datepicker/dist/registered.js +478 -175
- package/components/datepicker/dist/styles/classic/style-css.d.ts +2 -0
- package/components/dropdown/demo/api.md +1 -1
- package/components/dropdown/demo/api.min.js +14 -7
- package/components/dropdown/demo/index.min.js +14 -7
- package/components/dropdown/dist/index.js +14 -7
- package/components/dropdown/dist/registered.js +14 -7
- package/components/helptext/dist/index.js +1 -1
- package/components/helptext/dist/registered.js +1 -1
- package/components/input/demo/api.min.js +81 -31
- package/components/input/demo/index.min.js +81 -31
- package/components/input/dist/index.js +81 -31
- package/components/input/dist/registered.js +81 -31
- package/components/layoutElement/dist/index.js +5 -5
- package/components/layoutElement/dist/registered.js +97 -0
- package/components/menu/demo/api.md +21 -24
- package/components/menu/demo/api.min.js +59 -34
- package/components/menu/demo/index.min.js +59 -34
- package/components/menu/dist/auro-menu.d.ts +9 -2
- package/components/menu/dist/auro-menuoption.d.ts +8 -2
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +45 -20
- package/components/menu/dist/registered.js +45 -20
- package/components/menu/dist/styles/shapeSize-css.d.ts +2 -0
- package/components/radio/demo/api.md +32 -1
- package/components/radio/demo/api.min.js +3 -3
- package/components/radio/demo/index.min.js +3 -3
- package/components/radio/dist/index.js +3 -3
- package/components/radio/dist/registered.js +3 -3
- package/components/select/demo/api.md +46 -64
- package/components/select/demo/api.min.js +156 -64
- package/components/select/demo/index.md +1057 -137
- package/components/select/demo/index.min.js +156 -64
- package/components/select/dist/auro-select.d.ts +10 -5
- package/components/select/dist/index.js +115 -48
- package/components/select/dist/registered.js +115 -48
- package/package.json +2 -2
- /package/components/datepicker/dist/styles/{default → classic}/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 required="">
|
|
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,6 +448,17 @@ 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;
|
|
451
462
|
/**
|
|
452
463
|
* Sets the readonly attribute on the inputs based on the window width.
|
|
453
464
|
* @private
|
|
@@ -500,13 +511,16 @@ export class AuroDatePicker extends AuroElement {
|
|
|
500
511
|
* @param {boolean} [force=false] - Whether to force validation.
|
|
501
512
|
*/
|
|
502
513
|
validate(force?: boolean): void;
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
514
|
+
/**
|
|
515
|
+
* Private method for interacting with the `hasValue` property.
|
|
516
|
+
* @private
|
|
517
|
+
*/
|
|
518
|
+
private setHasValue;
|
|
506
519
|
hasValue: boolean;
|
|
507
520
|
get hasError(): boolean;
|
|
508
521
|
updated(changedProperties: any): void;
|
|
509
522
|
monthFirst: boolean;
|
|
523
|
+
previousTabIndex: string;
|
|
510
524
|
formattedFocusDate: boolean;
|
|
511
525
|
formattedEndDate: boolean;
|
|
512
526
|
formattedValue: boolean;
|
|
@@ -530,7 +544,15 @@ export class AuroDatePicker extends AuroElement {
|
|
|
530
544
|
*/
|
|
531
545
|
private renderSnowflakeLayout;
|
|
532
546
|
/**
|
|
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.
|
|
533
554
|
* @private
|
|
555
|
+
* @returns {import('lit').TemplateResult}
|
|
534
556
|
*/
|
|
535
557
|
private renderLayoutFromAttributes;
|
|
536
558
|
/**
|
|
@@ -538,26 +560,52 @@ export class AuroDatePicker extends AuroElement {
|
|
|
538
560
|
* Returns formatted date like Apr 21 or Dec 25.
|
|
539
561
|
* @private
|
|
540
562
|
* @param {string} date - Date format should be in a format Date constructor accepts, like '2023-04-21' or '2023/04/21'.
|
|
541
|
-
* @
|
|
563
|
+
* @returns {string}
|
|
542
564
|
*/
|
|
543
565
|
private formatShortDate;
|
|
544
566
|
/**
|
|
545
567
|
* Format and render the provided date value.
|
|
546
568
|
* @private
|
|
547
|
-
* @param dateValue
|
|
548
|
-
* @
|
|
569
|
+
* @param {string} dateValue - The date value to format and render.
|
|
570
|
+
* @returns {import('lit').TemplateResult}
|
|
549
571
|
*/
|
|
550
572
|
private renderDisplayTextDate;
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
573
|
+
/**
|
|
574
|
+
* Renders the HTML inputs for the datepicker.
|
|
575
|
+
* @private
|
|
576
|
+
* @returns {import('lit').TemplateResult}
|
|
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;
|
|
555
597
|
/**
|
|
556
598
|
* Returns HTML for the help text and error message.
|
|
557
599
|
* @private
|
|
558
|
-
* @returns {
|
|
600
|
+
* @returns {import('lit').TemplateResult} - Returns HTML for the help text and error message.
|
|
559
601
|
*/
|
|
560
602
|
private renderHtmlHelpText;
|
|
603
|
+
/**
|
|
604
|
+
* Separate method for rendering the calendar.
|
|
605
|
+
* @private
|
|
606
|
+
* @returns {import('lit').TemplateResult}
|
|
607
|
+
*/
|
|
608
|
+
private renderCalendar;
|
|
561
609
|
render(): import("lit-html").TemplateResult;
|
|
562
610
|
}
|
|
563
611
|
import { AuroElement } from "@aurodesignsystem/auro-layout-element";
|