@trendyol/baklava 3.3.0-beta.1 → 3.3.0-beta.10
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/baklava-react.d.ts +13 -1
- package/dist/baklava-react.d.ts.map +1 -1
- package/dist/baklava-react.js +1 -1
- package/dist/baklava-react.js.map +3 -3
- package/dist/baklava-vue.d.ts +1 -0
- package/dist/baklava.d.ts +1 -0
- package/dist/baklava.d.ts.map +1 -1
- package/dist/baklava.js +1 -1
- package/dist/{chunk-BCXEI2IY.js → chunk-2I4NXKV5.js} +6 -6
- package/dist/chunk-2I4NXKV5.js.map +7 -0
- package/dist/{chunk-U2GVQEOB.js → chunk-43SCA2ZJ.js} +12 -11
- package/dist/chunk-43SCA2ZJ.js.map +7 -0
- package/dist/chunk-47S2NIWC.js +5 -0
- package/dist/chunk-47S2NIWC.js.map +7 -0
- package/dist/{chunk-BJVM3LHO.js → chunk-AW5LBSEM.js} +2 -2
- package/dist/{chunk-HYB2HRRX.js → chunk-BH64QNLE.js} +2 -2
- package/dist/{chunk-HYB2HRRX.js.map → chunk-BH64QNLE.js.map} +2 -2
- package/dist/{chunk-I44SG6Y7.js → chunk-FCEMOH4J.js} +2 -1
- package/dist/{chunk-I44SG6Y7.js.map → chunk-FCEMOH4J.js.map} +2 -2
- package/dist/{chunk-JCODVOWY.js → chunk-FTQX7CEW.js} +6 -5
- package/dist/{chunk-JCODVOWY.js.map → chunk-FTQX7CEW.js.map} +2 -2
- package/dist/{chunk-2U3PTJEA.js → chunk-GMVJABPT.js} +2 -1
- package/dist/{chunk-2U3PTJEA.js.map → chunk-GMVJABPT.js.map} +2 -2
- package/dist/{chunk-7NZ7DYVG.js → chunk-GXDVWGFU.js} +2 -1
- package/dist/{chunk-7NZ7DYVG.js.map → chunk-GXDVWGFU.js.map} +2 -2
- package/dist/{chunk-OUFOJQAS.js → chunk-J45OQI7D.js} +2 -2
- package/dist/{chunk-OUFOJQAS.js.map → chunk-J45OQI7D.js.map} +2 -2
- package/dist/chunk-NGQ435PC.js +50 -0
- package/dist/chunk-NGQ435PC.js.map +7 -0
- package/dist/{chunk-2E2KYTNB.js → chunk-OAF3R4PW.js} +3 -3
- package/dist/{chunk-2E2KYTNB.js.map → chunk-OAF3R4PW.js.map} +3 -3
- package/dist/chunk-T3UQYGO3.js +84 -0
- package/dist/chunk-T3UQYGO3.js.map +7 -0
- package/dist/{chunk-7QNX2GPS.js → chunk-X73CSBRO.js} +2 -2
- package/dist/chunk-X73CSBRO.js.map +7 -0
- package/dist/components/accordion-group/accordion/bl-accordion.js +1 -1
- package/dist/components/alert/bl-alert.js +1 -1
- package/dist/components/badge/bl-badge.js +1 -1
- package/dist/components/button/bl-button.js +1 -1
- package/dist/components/calendar/bl-calendar.d.ts +26 -51
- package/dist/components/calendar/bl-calendar.d.ts.map +1 -1
- package/dist/components/calendar/bl-calendar.js +1 -1
- package/dist/components/calendar/bl-calendar.test.d.ts +2 -0
- package/dist/components/calendar/bl-calendar.test.d.ts.map +1 -0
- package/dist/components/calendar/bl-calendar.types.d.ts +3 -4
- package/dist/components/calendar/bl-calendar.types.d.ts.map +1 -1
- package/dist/components/checkbox-group/bl-checkbox-group.js +1 -1
- package/dist/components/checkbox-group/checkbox/bl-checkbox.d.ts +1 -0
- package/dist/components/checkbox-group/checkbox/bl-checkbox.d.ts.map +1 -1
- package/dist/components/checkbox-group/checkbox/bl-checkbox.js +1 -1
- package/dist/components/datepicker/bl-datepicker.d.ts +71 -0
- package/dist/components/datepicker/bl-datepicker.d.ts.map +1 -0
- package/dist/components/datepicker/bl-datepicker.js +2 -0
- package/dist/components/datepicker/bl-datepicker.js.map +7 -0
- package/dist/components/datepicker/bl-datepicker.test.d.ts +2 -0
- package/dist/components/datepicker/bl-datepicker.test.d.ts.map +1 -0
- package/dist/components/dialog/bl-dialog.d.ts.map +1 -1
- package/dist/components/dialog/bl-dialog.js +1 -1
- package/dist/components/drawer/bl-drawer.d.ts.map +1 -1
- package/dist/components/drawer/bl-drawer.js +1 -1
- package/dist/components/dropdown/bl-dropdown.d.ts +6 -2
- package/dist/components/dropdown/bl-dropdown.d.ts.map +1 -1
- package/dist/components/dropdown/bl-dropdown.js +1 -1
- package/dist/components/dropdown/item/bl-dropdown-item.js +1 -1
- package/dist/components/icon/bl-icon.d.ts +1 -0
- package/dist/components/icon/bl-icon.d.ts.map +1 -1
- package/dist/components/icon/bl-icon.js +1 -1
- package/dist/components/input/bl-input.d.ts +2 -2
- package/dist/components/input/bl-input.d.ts.map +1 -1
- package/dist/components/input/bl-input.js +1 -1
- package/dist/components/pagination/bl-pagination.js +1 -1
- package/dist/components/popover/bl-popover.d.ts +22 -22
- package/dist/components/popover/bl-popover.d.ts.map +1 -1
- package/dist/components/popover/bl-popover.js +1 -1
- package/dist/components/progress-indicator/bl-progress-indicator.d.ts.map +1 -1
- package/dist/components/progress-indicator/bl-progress-indicator.js +1 -1
- package/dist/components/select/bl-select.d.ts.map +1 -1
- package/dist/components/select/bl-select.js +1 -1
- package/dist/components/select/bl-select.test.d.ts.map +1 -1
- package/dist/components/spinner/bl-spinner.js +1 -1
- package/dist/components/split-button/bl-split-button.js +1 -1
- package/dist/components/switch/bl-switch.js +1 -1
- package/dist/components/table/table-cell/bl-table-cell.js +1 -1
- package/dist/components/table/table-header-cell/bl-table-header-cell.js +1 -1
- package/dist/components/table/table-row/bl-table-row.js +1 -1
- package/dist/components/tooltip/bl-tooltip.js +1 -1
- package/dist/custom-elements.json +157 -67
- package/dist/mixins/datepicker-calendar-mixin/datepicker-calendar-mixin.d.ts +46 -0
- package/dist/mixins/datepicker-calendar-mixin/datepicker-calendar-mixin.d.ts.map +1 -0
- package/dist/mixins/datepicker-calendar-mixin/datepicker-calendar-mixin.test.d.ts +2 -0
- package/dist/mixins/datepicker-calendar-mixin/datepicker-calendar-mixin.test.d.ts.map +1 -0
- package/dist/utilities/string-to-date-converter.d.ts +2 -0
- package/dist/utilities/string-to-date-converter.d.ts.map +1 -0
- package/dist/utilities/string-to-date-converter.test.d.ts +2 -0
- package/dist/utilities/string-to-date-converter.test.d.ts.map +1 -0
- package/package.json +4 -2
- package/dist/chunk-7QNX2GPS.js.map +0 -7
- package/dist/chunk-BCXEI2IY.js.map +0 -7
- package/dist/chunk-GY5V7SRK.js +0 -80
- package/dist/chunk-GY5V7SRK.js.map +0 -7
- package/dist/chunk-OPTFSJFM.js +0 -5
- package/dist/chunk-OPTFSJFM.js.map +0 -7
- package/dist/chunk-U2GVQEOB.js.map +0 -7
- /package/dist/{chunk-BJVM3LHO.js.map → chunk-AW5LBSEM.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-J45OQI7D.js";import"../../chunk-IPYZIIRV.js";import"../../chunk-DINNT5P2.js";import"../../chunk-GRL4DWKG.js";import"../../chunk-5MOOXA2X.js";import"../../chunk-4OT5AMS5.js";import"../../chunk-IZ2LK5GK.js";export{a as blSwitchTag,b as default};
|
|
2
2
|
//# sourceMappingURL=bl-switch.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../../chunk-N4GAO7FQ.js";import"../../../chunk-JAZGOWKA.js";import"../../../chunk-VJRVHJVZ.js";import"../../../chunk-T5EQ4OXS.js";import"../../../chunk-STMCW2R6.js";import"../../../chunk-
|
|
1
|
+
import{a,b}from"../../../chunk-N4GAO7FQ.js";import"../../../chunk-JAZGOWKA.js";import"../../../chunk-VJRVHJVZ.js";import"../../../chunk-T5EQ4OXS.js";import"../../../chunk-STMCW2R6.js";import"../../../chunk-FTQX7CEW.js";import"../../../chunk-EG7U7PM3.js";import"../../../chunk-XDUIVR6I.js";import"../../../chunk-HZ6A5QFC.js";import"../../../chunk-AYJMIZZ3.js";import"../../../chunk-6LT7O7T2.js";import"../../../chunk-DINNT5P2.js";import"../../../chunk-BH64QNLE.js";import"../../../chunk-GRL4DWKG.js";import"../../../chunk-3USCFSFQ.js";import"../../../chunk-7GK5LKBV.js";import"../../../chunk-5MOOXA2X.js";import"../../../chunk-4OT5AMS5.js";import"../../../chunk-IZ2LK5GK.js";export{a as blTableCellTag,b as default};
|
|
2
2
|
//# sourceMappingURL=bl-table-cell.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../../chunk-CAIHRZ24.js";import"../../../chunk-JAZGOWKA.js";import"../../../chunk-VJRVHJVZ.js";import"../../../chunk-T5EQ4OXS.js";import"../../../chunk-STMCW2R6.js";import"../../../chunk-
|
|
1
|
+
import{a,b}from"../../../chunk-CAIHRZ24.js";import"../../../chunk-JAZGOWKA.js";import"../../../chunk-VJRVHJVZ.js";import"../../../chunk-T5EQ4OXS.js";import"../../../chunk-STMCW2R6.js";import"../../../chunk-FTQX7CEW.js";import"../../../chunk-EG7U7PM3.js";import"../../../chunk-XDUIVR6I.js";import"../../../chunk-HZ6A5QFC.js";import"../../../chunk-AYJMIZZ3.js";import"../../../chunk-6LT7O7T2.js";import"../../../chunk-DINNT5P2.js";import"../../../chunk-BH64QNLE.js";import"../../../chunk-GRL4DWKG.js";import"../../../chunk-3USCFSFQ.js";import"../../../chunk-7GK5LKBV.js";import"../../../chunk-5MOOXA2X.js";import"../../../chunk-4OT5AMS5.js";import"../../../chunk-IZ2LK5GK.js";export{a as blTableHeaderCellTag,b as default};
|
|
2
2
|
//# sourceMappingURL=bl-table-header-cell.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../../chunk-JAZGOWKA.js";import"../../../chunk-VJRVHJVZ.js";import"../../../chunk-T5EQ4OXS.js";import"../../../chunk-STMCW2R6.js";import"../../../chunk-
|
|
1
|
+
import{a,b}from"../../../chunk-JAZGOWKA.js";import"../../../chunk-VJRVHJVZ.js";import"../../../chunk-T5EQ4OXS.js";import"../../../chunk-STMCW2R6.js";import"../../../chunk-FTQX7CEW.js";import"../../../chunk-EG7U7PM3.js";import"../../../chunk-XDUIVR6I.js";import"../../../chunk-HZ6A5QFC.js";import"../../../chunk-AYJMIZZ3.js";import"../../../chunk-6LT7O7T2.js";import"../../../chunk-DINNT5P2.js";import"../../../chunk-BH64QNLE.js";import"../../../chunk-GRL4DWKG.js";import"../../../chunk-3USCFSFQ.js";import"../../../chunk-7GK5LKBV.js";import"../../../chunk-5MOOXA2X.js";import"../../../chunk-4OT5AMS5.js";import"../../../chunk-IZ2LK5GK.js";export{a as blTableRowTag,b as default};
|
|
2
2
|
//# sourceMappingURL=bl-table-row.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-AW5LBSEM.js";import"../../chunk-47S2NIWC.js";import"../../chunk-EZSEQHRH.js";import"../../chunk-6LT7O7T2.js";import"../../chunk-DINNT5P2.js";import"../../chunk-GRL4DWKG.js";import"../../chunk-7GK5LKBV.js";import"../../chunk-5MOOXA2X.js";import"../../chunk-4OT5AMS5.js";import"../../chunk-IZ2LK5GK.js";export{a as default};
|
|
2
2
|
//# sourceMappingURL=bl-tooltip.js.map
|
|
@@ -456,77 +456,28 @@
|
|
|
456
456
|
"kind": "class",
|
|
457
457
|
"description": "",
|
|
458
458
|
"name": "BlCalendar",
|
|
459
|
-
"
|
|
459
|
+
"members": [
|
|
460
460
|
{
|
|
461
|
+
"kind": "field",
|
|
462
|
+
"name": "_onBlCalendarChange",
|
|
461
463
|
"type": {
|
|
462
|
-
"text": "
|
|
464
|
+
"text": "EventDispatcher<Date[]>"
|
|
463
465
|
},
|
|
464
|
-
"description": "Fires when date selection changes"
|
|
465
|
-
"name": "bl-calendar-change"
|
|
466
|
+
"description": "Fires when date selection changes"
|
|
466
467
|
}
|
|
467
468
|
],
|
|
468
|
-
"
|
|
469
|
-
{
|
|
470
|
-
"name": "type",
|
|
471
|
-
"type": {
|
|
472
|
-
"text": "CalendarType"
|
|
473
|
-
},
|
|
474
|
-
"description": "Defines the calendar types, available types are single, multiple and range",
|
|
475
|
-
"fieldName": "type"
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
"name": "min-date",
|
|
479
|
-
"type": {
|
|
480
|
-
"text": "Date"
|
|
481
|
-
},
|
|
482
|
-
"description": "Defines the minimum date value for the calendar",
|
|
483
|
-
"fieldName": "minDate"
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
"name": "max-date",
|
|
487
|
-
"type": {
|
|
488
|
-
"text": "Date"
|
|
489
|
-
},
|
|
490
|
-
"description": "Defines the maximum date value for the calendar",
|
|
491
|
-
"fieldName": "maxDate"
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
"name": "start-of-week",
|
|
495
|
-
"type": {
|
|
496
|
-
"text": "DayValues"
|
|
497
|
-
},
|
|
498
|
-
"default": "0",
|
|
499
|
-
"description": "Defines the start day of the calendar (1 defines monday)",
|
|
500
|
-
"fieldName": "startOfWeek"
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"name": "disabled-dates",
|
|
504
|
-
"type": {
|
|
505
|
-
"text": "Date[]"
|
|
506
|
-
},
|
|
507
|
-
"description": "Defines the unselectable dates for calendar",
|
|
508
|
-
"fieldName": "disabledDates"
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"name": "locale",
|
|
512
|
-
"type": {
|
|
513
|
-
"text": "string"
|
|
514
|
-
},
|
|
515
|
-
"description": "Defines the calendar language",
|
|
516
|
-
"fieldName": "locale"
|
|
517
|
-
},
|
|
469
|
+
"events": [
|
|
518
470
|
{
|
|
519
|
-
"name": "default-value",
|
|
520
471
|
"type": {
|
|
521
|
-
"text": "Date
|
|
472
|
+
"text": "CustomEvent<Date[]>"
|
|
522
473
|
},
|
|
523
|
-
"description": "
|
|
524
|
-
"
|
|
474
|
+
"description": "Fires when date selection changes",
|
|
475
|
+
"name": "bl-calendar-change"
|
|
525
476
|
}
|
|
526
477
|
],
|
|
527
478
|
"superclass": {
|
|
528
|
-
"name": "
|
|
529
|
-
"
|
|
479
|
+
"name": "DatepickerCalendarMixin",
|
|
480
|
+
"module": "/src/mixins/datepicker-calendar-mixin/datepicker-calendar-mixin"
|
|
530
481
|
},
|
|
531
482
|
"tagName": "bl-calendar",
|
|
532
483
|
"summary": [
|
|
@@ -721,6 +672,136 @@
|
|
|
721
672
|
}
|
|
722
673
|
]
|
|
723
674
|
},
|
|
675
|
+
{
|
|
676
|
+
"kind": "javascript-module",
|
|
677
|
+
"path": "src/components/datepicker/bl-datepicker.ts",
|
|
678
|
+
"declarations": [
|
|
679
|
+
{
|
|
680
|
+
"kind": "class",
|
|
681
|
+
"description": "",
|
|
682
|
+
"name": "BlDatepicker",
|
|
683
|
+
"cssProperties": [
|
|
684
|
+
{
|
|
685
|
+
"description": "Sets the width of datepicker input",
|
|
686
|
+
"name": "--bl-datepicker-input-width"
|
|
687
|
+
}
|
|
688
|
+
],
|
|
689
|
+
"events": [
|
|
690
|
+
{
|
|
691
|
+
"type": {
|
|
692
|
+
"text": "CustomEvent<Date[]>"
|
|
693
|
+
},
|
|
694
|
+
"description": "Fires when date selection is changed",
|
|
695
|
+
"name": "bl-datepicker-change"
|
|
696
|
+
}
|
|
697
|
+
],
|
|
698
|
+
"attributes": [
|
|
699
|
+
{
|
|
700
|
+
"name": "placeholder",
|
|
701
|
+
"type": {
|
|
702
|
+
"text": "string"
|
|
703
|
+
},
|
|
704
|
+
"description": "Defines the datepicker input placeholder",
|
|
705
|
+
"fieldName": "placeholder"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"name": "size",
|
|
709
|
+
"type": {
|
|
710
|
+
"text": "InputSize | undefined"
|
|
711
|
+
},
|
|
712
|
+
"default": "\"medium\"",
|
|
713
|
+
"description": "Sets input size.",
|
|
714
|
+
"fieldName": "size"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"name": "label-fixed",
|
|
718
|
+
"type": {
|
|
719
|
+
"text": "boolean"
|
|
720
|
+
},
|
|
721
|
+
"default": "false",
|
|
722
|
+
"description": "Makes datepicker input label as fixed positioned",
|
|
723
|
+
"fieldName": "labelFixed"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"name": "label",
|
|
727
|
+
"type": {
|
|
728
|
+
"text": "string"
|
|
729
|
+
},
|
|
730
|
+
"description": "Defines the datepicker input label",
|
|
731
|
+
"fieldName": "label"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"name": "value-formatter",
|
|
735
|
+
"type": {
|
|
736
|
+
"text": "((dates: Date[]) => string) | null"
|
|
737
|
+
},
|
|
738
|
+
"default": "null",
|
|
739
|
+
"description": "Defines the custom formatter function",
|
|
740
|
+
"fieldName": "valueFormatter"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"name": "disabled",
|
|
744
|
+
"type": {
|
|
745
|
+
"text": "boolean"
|
|
746
|
+
},
|
|
747
|
+
"description": "Sets datepicker to disabled",
|
|
748
|
+
"fieldName": "disabled"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"name": "help-text",
|
|
752
|
+
"type": {
|
|
753
|
+
"text": "string"
|
|
754
|
+
},
|
|
755
|
+
"description": "Defines help text to datepicker input for users",
|
|
756
|
+
"fieldName": "helpText"
|
|
757
|
+
}
|
|
758
|
+
],
|
|
759
|
+
"superclass": {
|
|
760
|
+
"name": "DatepickerCalendarMixin",
|
|
761
|
+
"module": "/src/mixins/datepicker-calendar-mixin/datepicker-calendar-mixin"
|
|
762
|
+
},
|
|
763
|
+
"tagName": "bl-datepicker",
|
|
764
|
+
"summary": [
|
|
765
|
+
{
|
|
766
|
+
"name": "Baklava",
|
|
767
|
+
"description": "DatePicker component"
|
|
768
|
+
}
|
|
769
|
+
],
|
|
770
|
+
"jsDoc": "/**\n * @tag bl-datepicker\n * @summary Baklava DatePicker component\n *\n * @cssproperty [--bl-datepicker-input-width] - Sets the width of datepicker input\n **/",
|
|
771
|
+
"tag": [
|
|
772
|
+
{
|
|
773
|
+
"name": "bl-datepicker",
|
|
774
|
+
"description": ""
|
|
775
|
+
}
|
|
776
|
+
],
|
|
777
|
+
"cssproperty": [
|
|
778
|
+
{
|
|
779
|
+
"name": "--bl-datepicker-input-width",
|
|
780
|
+
"description": "- Sets the width of datepicker input"
|
|
781
|
+
}
|
|
782
|
+
],
|
|
783
|
+
"customElement": true
|
|
784
|
+
}
|
|
785
|
+
],
|
|
786
|
+
"exports": [
|
|
787
|
+
{
|
|
788
|
+
"kind": "js",
|
|
789
|
+
"name": "default",
|
|
790
|
+
"declaration": {
|
|
791
|
+
"name": "BlDatepicker",
|
|
792
|
+
"module": "src/components/datepicker/bl-datepicker.ts"
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"kind": "custom-element-definition",
|
|
797
|
+
"name": "bl-datepicker",
|
|
798
|
+
"declaration": {
|
|
799
|
+
"name": "BlDatepicker",
|
|
800
|
+
"module": "src/components/datepicker/bl-datepicker.ts"
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
]
|
|
804
|
+
},
|
|
724
805
|
{
|
|
725
806
|
"kind": "javascript-module",
|
|
726
807
|
"path": "src/components/dialog/bl-dialog.ts",
|
|
@@ -1048,6 +1129,14 @@
|
|
|
1048
1129
|
"default": "false",
|
|
1049
1130
|
"description": "Sets button as disabled",
|
|
1050
1131
|
"fieldName": "disabled"
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"name": "icon",
|
|
1135
|
+
"type": {
|
|
1136
|
+
"text": "string | undefined"
|
|
1137
|
+
},
|
|
1138
|
+
"description": "Sets the icon name to be displayed on the left side of the button label",
|
|
1139
|
+
"fieldName": "icon"
|
|
1051
1140
|
}
|
|
1052
1141
|
],
|
|
1053
1142
|
"superclass": {
|
|
@@ -1134,11 +1223,11 @@
|
|
|
1134
1223
|
],
|
|
1135
1224
|
"attributes": [
|
|
1136
1225
|
{
|
|
1226
|
+
"description": "Name of the icon to show",
|
|
1137
1227
|
"name": "name",
|
|
1138
1228
|
"type": {
|
|
1139
1229
|
"text": "BaklavaIcon"
|
|
1140
1230
|
},
|
|
1141
|
-
"description": "Name of the icon to show",
|
|
1142
1231
|
"fieldName": "name"
|
|
1143
1232
|
}
|
|
1144
1233
|
],
|
|
@@ -1153,7 +1242,7 @@
|
|
|
1153
1242
|
"description": "Icon component"
|
|
1154
1243
|
}
|
|
1155
1244
|
],
|
|
1156
|
-
"jsDoc": "/**\n * @tag bl-icon\n * @summary Baklava Icon component\n *\n * @cssproperty [font-size] Setting size of icon. Default is current font size in DOM place\n * @cssproperty [color=currentColor] Setting color of icon\n */",
|
|
1245
|
+
"jsDoc": "/**\n * @tag bl-icon\n * @summary Baklava Icon component\n *\n * @attr [name] Name of the icon to show\n * @cssproperty [font-size] Setting size of icon. Default is current font size in DOM place\n * @cssproperty [color=currentColor] Setting color of icon\n */",
|
|
1157
1246
|
"tag": [
|
|
1158
1247
|
{
|
|
1159
1248
|
"name": "bl-icon",
|
|
@@ -1345,15 +1434,16 @@
|
|
|
1345
1434
|
{
|
|
1346
1435
|
"name": "autocomplete",
|
|
1347
1436
|
"type": {
|
|
1348
|
-
"text": "
|
|
1437
|
+
"text": "HTMLInputElement[\"autocomplete\"]"
|
|
1349
1438
|
},
|
|
1439
|
+
"default": "\"on\"",
|
|
1350
1440
|
"description": "Hints browser to autocomplete this field.",
|
|
1351
1441
|
"fieldName": "autocomplete"
|
|
1352
1442
|
},
|
|
1353
1443
|
{
|
|
1354
1444
|
"name": "inputmode",
|
|
1355
1445
|
"type": {
|
|
1356
|
-
"text": "\"
|
|
1446
|
+
"text": "HTMLInputElement[\"inputMode\"]"
|
|
1357
1447
|
},
|
|
1358
1448
|
"description": "Sets the input mode of the field for asking browser to show the desired keyboard.",
|
|
1359
1449
|
"fieldName": "inputmode"
|
|
@@ -1724,7 +1814,7 @@
|
|
|
1724
1814
|
},
|
|
1725
1815
|
{
|
|
1726
1816
|
"description": "Sets the border radius of popover.",
|
|
1727
|
-
"name": "--bl-
|
|
1817
|
+
"name": "--bl-popbover-border-radius",
|
|
1728
1818
|
"default": "--bl-size-3xs"
|
|
1729
1819
|
},
|
|
1730
1820
|
{
|
|
@@ -1802,7 +1892,7 @@
|
|
|
1802
1892
|
"description": "Popover component"
|
|
1803
1893
|
}
|
|
1804
1894
|
],
|
|
1805
|
-
"jsDoc": "/**\n * @tag bl-popover\n * @summary Baklava Popover component\n *\n * @cssproperty [--bl-popover-arrow-display=none] - Sets the display of popovers arrow. Set as `block` to make arrow visible.\n * @cssproperty [--bl-popover-background-color=--bl-color-neutral-full] - Sets the background color of popover.\n * @cssproperty [--bl-popover-border-color=--bl-color-primary-highlight] - Sets the border color of popover.\n * @cssproperty [--bl-popover-border-size=1px] - Sets the border size of popover. You can set it to `0px` to not have a border (if you use a custom background color). Always use with a length unit.\n * @cssproperty [--bl-popover-padding=--bl-size-m] - Sets the padding of popover.\n * @cssproperty [--bl-
|
|
1895
|
+
"jsDoc": "/**\n * @tag bl-popover\n * @summary Baklava Popover component\n *\n * @cssproperty [--bl-popover-arrow-display=none] - Sets the display of popovers arrow. Set as `block` to make arrow visible.\n * @cssproperty [--bl-popover-background-color=--bl-color-neutral-full] - Sets the background color of popover.\n * @cssproperty [--bl-popover-border-color=--bl-color-primary-highlight] - Sets the border color of popover.\n * @cssproperty [--bl-popover-border-size=1px] - Sets the border size of popover. You can set it to `0px` to not have a border (if you use a custom background color). Always use with a length unit.\n * @cssproperty [--bl-popover-padding=--bl-size-m] - Sets the padding of popover.\n * @cssproperty [--bl-popbover-border-radius=--bl-size-3xs] - Sets the border radius of popover.\n * @cssproperty [--bl-popover-max-width=100vw] - Sets the maximum width of the popover (including border and padding).\n * @cssproperty [--bl-popover-position=fixed] - Sets the position of popover. You can set it to `absolute` if parent element is a fixed positioned element like drawer or dialog.\n */",
|
|
1806
1896
|
"tag": [
|
|
1807
1897
|
{
|
|
1808
1898
|
"name": "bl-popover",
|
|
@@ -1831,7 +1921,7 @@
|
|
|
1831
1921
|
"description": "- Sets the padding of popover."
|
|
1832
1922
|
},
|
|
1833
1923
|
{
|
|
1834
|
-
"name": "--bl-
|
|
1924
|
+
"name": "--bl-popbover-border-radius",
|
|
1835
1925
|
"description": "- Sets the border radius of popover."
|
|
1836
1926
|
},
|
|
1837
1927
|
{
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import { CalendarType, DayValues } from "../../components/calendar/bl-calendar.types";
|
|
3
|
+
export default class DatepickerCalendarMixin extends LitElement {
|
|
4
|
+
/**
|
|
5
|
+
* Defines the calendar types, available types are single, multiple and range
|
|
6
|
+
*/
|
|
7
|
+
type: CalendarType;
|
|
8
|
+
/**
|
|
9
|
+
* Defines the start day of the calendar (1 defines monday)
|
|
10
|
+
*/
|
|
11
|
+
startOfWeek: DayValues;
|
|
12
|
+
/**
|
|
13
|
+
* Defines the calendar language
|
|
14
|
+
*/
|
|
15
|
+
locale: string;
|
|
16
|
+
_selectedDates: Date[];
|
|
17
|
+
/**
|
|
18
|
+
* Defines the unselectable dates for calendar
|
|
19
|
+
*/
|
|
20
|
+
protected _disabledDates: Date[];
|
|
21
|
+
get disabledDates(): Date[];
|
|
22
|
+
set disabledDates(disabledDates: Date[] | string);
|
|
23
|
+
/**
|
|
24
|
+
* Defines the maximum date value for the calendar
|
|
25
|
+
*/
|
|
26
|
+
_maxDate: Date;
|
|
27
|
+
get maxDate(): Date;
|
|
28
|
+
set maxDate(maxDate: Date);
|
|
29
|
+
/**
|
|
30
|
+
* Defines the minimum date value for the calendar
|
|
31
|
+
*/
|
|
32
|
+
_minDate: Date;
|
|
33
|
+
get minDate(): Date;
|
|
34
|
+
set minDate(minDate: Date);
|
|
35
|
+
/**
|
|
36
|
+
* Target elements state
|
|
37
|
+
*/
|
|
38
|
+
protected _value: Date | Date[] | string;
|
|
39
|
+
/**
|
|
40
|
+
* Sets the target element of the popover to align and trigger.
|
|
41
|
+
* It can be a string id of the target element or can be a direct Element reference of it.
|
|
42
|
+
*/
|
|
43
|
+
get value(): string | Date | Date[];
|
|
44
|
+
set value(value: string | Date | Date[]);
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=datepicker-calendar-mixin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datepicker-calendar-mixin.d.ts","sourceRoot":"","sources":["../../../src/mixins/datepicker-calendar-mixin/datepicker-calendar-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAGjC,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAGtF,MAAM,CAAC,OAAO,OAAO,uBAAwB,SAAQ,UAAU;IAC7D;;OAEG;IAEH,IAAI,EAAE,YAAY,CAAC;IACnB;;OAEG;IAEH,WAAW,EAAE,SAAS,CAAK;IAC3B;;OAEG;IAEH,MAAM,EAAE,MAAM,CAA4C;IAE1D,cAAc,EAAE,IAAI,EAAE,CAAM;IAE5B;;OAEG;IACH,SAAS,CAAC,cAAc,EAAE,IAAI,EAAE,CAAM;IAEtC,IAAI,aAAa,IAAI,IAAI,EAAE,CAE1B;IAED,IAKI,aAAa,CAAC,aAAa,EAAE,IAAI,EAAE,GAAG,MAAM,EAe/C;IAED;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IAEf,IAAI,OAAO,IAKU,IAAI,CAHxB;IAED,IACI,OAAO,CAAC,OAAO,EAAE,IAAI,EAMxB;IAED;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IAEf,IAAI,OAAO,IAKU,IAAI,CAHxB;IAED,IACI,OAAO,CAAC,OAAO,EAAE,IAAI,EAMxB;IAED;;OAEG;IACH,SAAS,CAAC,MAAM,EAAE,IAAI,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;IAEzC;;;OAGG;IACH,IAAI,KAAK,IAKQ,MAAM,GAAG,IAAI,GAAG,IAAI,EAAE,CAHtC;IAED,IACI,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,EAAE,EAgCtC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datepicker-calendar-mixin.test.d.ts","sourceRoot":"","sources":["../../../src/mixins/datepicker-calendar-mixin/datepicker-calendar-mixin.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"string-to-date-converter.d.ts","sourceRoot":"","sources":["../../src/utilities/string-to-date-converter.ts"],"names":[],"mappings":"AAAA,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,CAYvD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"string-to-date-converter.test.d.ts","sourceRoot":"","sources":["../../src/utilities/string-to-date-converter.test.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trendyol/baklava",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.3.0-beta.
|
|
4
|
+
"version": "3.3.0-beta.10",
|
|
5
5
|
"description": "Trendyol Baklava Design System",
|
|
6
6
|
"main": "dist/baklava.js",
|
|
7
7
|
"module": "dist/baklava.js",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"@web/dev-server-import-maps": "^0.0.7",
|
|
107
107
|
"@web/dev-server-rollup": "^0.3.17",
|
|
108
108
|
"@web/test-runner": "^0.15.2",
|
|
109
|
-
"@web/test-runner-playwright": "^0.
|
|
109
|
+
"@web/test-runner-playwright": "^0.11.0",
|
|
110
110
|
"@web/test-runner-puppeteer": "^0.12.0",
|
|
111
111
|
"@webcomponents/webcomponentsjs": "^2.7.0",
|
|
112
112
|
"chromatic": "^6.17.1",
|
|
@@ -128,7 +128,9 @@
|
|
|
128
128
|
"minimist": "^1.2.6",
|
|
129
129
|
"npm-run-all": "^4.1.5",
|
|
130
130
|
"pascal-case": "^3.1.2",
|
|
131
|
+
"playwright": "^1.49.1",
|
|
131
132
|
"prettier": "^2.8.8",
|
|
133
|
+
"puppeteer": "^23.11.1",
|
|
132
134
|
"react": "^18.2.0",
|
|
133
135
|
"react-dom": "^18.2.0",
|
|
134
136
|
"rollup-plugin-lit-css": "^4.0.0",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../src/components/accordion-group/accordion/bl-accordion.css", "../src/components/accordion-group/accordion/bl-accordion.ts"],
|
|
4
|
-
"sourcesContent": ["import {css} from 'lit';\nexport const styles = css`:host{display:block}.accordion{--border:1px solid var(--bl-color-neutral-lighter);--default-radius:var(--bl-size-2xs);--radius-top-left:var(--bl-accordion-radius-top-left, var(--default-radius));--radius-top-right:var(--bl-accordion-radius-top-right, var(--default-radius));--radius-bottom-right:var(--bl-accordion-radius-bottom-right, var(--default-radius));--radius-bottom-left:var(--bl-accordion-radius-bottom-left, var(--default-radius));width:100%}.summary{list-style:none;user-select:none;cursor:pointer;font:var(--bl-font-title-3-medium);display:flex;align-items:center;justify-content:space-between;gap:var(--bl-size-2xs);padding:var(--bl-size-m);background:var(--bl-color-neutral-full);color:var(--bl-color-neutral-darker);border:var(--border);border-bottom:var(--bl-accordion-border-bottom, var(--border));border-radius:var(--radius-top-left) var(--radius-top-right) var(--radius-bottom-right) var(--radius-bottom-left);transition:background-color 200ms}.summary::-webkit-details-marker{display:none}.summary.__ONLY_FOR_STORYBOOK_DEMONSTRATION_HOVER__,.summary:hover{background:var(--bl-color-neutral-lightest)}.summary:focus-visible{outline:2px solid var(--bl-color-primary);outline-offset:-1px}.indicator{transition:transform 200ms}.accordion[open] .indicator{transform:rotate(180deg)}.accordion[open] .summary{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.caption{flex:1}.accordion-content{padding:var(--bl-size-m);background:var(--bl-color-neutral-full);border:var(--border);border-top:0;border-bottom:var(--bl-accordion-border-bottom, var(--border));border-bottom-left-radius:var(--radius-bottom-left);border-bottom-right-radius:var(--radius-bottom-right);font:var(--bl-font-body-text-2-regular)}.disabled .summary{cursor:not-allowed;background:var(--bl-color-neutral-lightest);color:var(--bl-color-neutral-light)}`;\nexport default styles;\n", "import { html, LitElement, PropertyValues, TemplateResult } from \"lit\";\nimport { customElement, property, query } from \"lit/decorators.js\";\nimport { CSSResultGroup } from \"lit/development\";\nimport { classMap } from \"lit/directives/class-map.js\";\nimport { event, EventDispatcher } from \"../../../utilities/event\";\nimport { stringBooleanConverter } from \"../../../utilities/string-boolean.converter\";\nimport \"../../icon/bl-icon\";\nimport { BaklavaIcon } from \"../../icon/icon-list\";\nimport style from \"./bl-accordion.css\";\n\nenum AnimationStatus {\n EXPANDING,\n COLLAPSING,\n}\n\n@customElement(\"bl-accordion\")\nexport default class BlAccordion extends LitElement {\n /**\n * Whether the accordion is expanded\n */\n @property({ reflect: true, type: Boolean })\n open = false;\n\n /**\n * Sets accordion caption.\n */\n @property({ reflect: true })\n caption?: string;\n\n /**\n * Add icon to beginning of the title\n */\n @property({ converter: stringBooleanConverter() })\n icon?: boolean | BaklavaIcon;\n\n /**\n * Whether the accordion is disabled\n */\n @property({ reflect: true, type: Boolean })\n disabled = false;\n\n /**\n * Fires when accordion open state change.\n */\n @event(\"bl-toggle\") private _onToggle: EventDispatcher<boolean>;\n\n @property({ type: Number })\n animationDuration = 250;\n\n private _animation: Animation | null;\n private _animationStatus: AnimationStatus | null = null;\n\n @query(\"details\")\n detailsEl: HTMLDetailsElement;\n\n @query(\"summary\")\n summaryEl: HTMLElement;\n\n @query(\".accordion-content\")\n contentEl: HTMLElement;\n\n static get styles(): CSSResultGroup {\n return [style];\n }\n\n _animate(isExpanding: boolean) {\n this._animationStatus = isExpanding ? AnimationStatus.EXPANDING : AnimationStatus.COLLAPSING;\n\n const startHeight = `${this.detailsEl.offsetHeight}px`;\n const endHeight = isExpanding\n ? `${this.summaryEl.offsetHeight + this.contentEl.offsetHeight}px`\n : `${this.summaryEl.offsetHeight}px`;\n\n if (this._animation) {\n this._animation.cancel();\n }\n\n this._animation = this.detailsEl.animate(\n {\n height: [startHeight, endHeight],\n },\n {\n duration: this.animationDuration,\n easing: \"ease-out\",\n }\n );\n\n this._animation.onfinish = () => this._onAnimationFinish(isExpanding);\n this._animation.oncancel = () => (this._animationStatus = null);\n }\n\n private _onAnimationFinish(open: boolean) {\n this.open = open;\n this._animation = null;\n this._animationStatus = null;\n this.detailsEl.style.height = this.detailsEl.style.overflow = \"\";\n }\n\n expand() {\n this.detailsEl.style.overflow = \"hidden\";\n this.detailsEl.style.height = `${this.detailsEl.offsetHeight}px`;\n this.open = true;\n this._animate(true);\n }\n\n collapse() {\n this._animate(false);\n }\n\n private _clickHandler(e: Event) {\n e.preventDefault();\n\n if (this.disabled) return;\n\n if (this._animationStatus === AnimationStatus.COLLAPSING || !this.open) {\n this.expand();\n } else if (this._animationStatus === AnimationStatus.EXPANDING || this.open) {\n this.collapse();\n }\n }\n\n protected updated(_changedProperties: PropertyValues) {\n if (_changedProperties.has(\"open\")) {\n if (this.disabled && this.open) {\n this._onAnimationFinish(false);\n return;\n }\n\n this._onToggle(this.open);\n }\n }\n\n render(): TemplateResult {\n const icon = this.icon\n ? html`<bl-icon class=\"icon\" name=${this.icon === true ? \"info\" : this.icon}></bl-icon>`\n : null;\n\n return html`<details\n ?open=${this.open}\n class=${classMap({\n accordion: true,\n disabled: this.disabled,\n })}\n >\n <summary\n class=\"summary\"\n @click=\"${this._clickHandler}\"\n aria-expanded=${this.open ? \"true\" : \"false\"}\n aria-controls=\"content\"\n aria-disabled=${this.disabled ? \"true\" : \"false\"}\n tabindex=${this.disabled ? \"-1\" : \"0\"}\n >\n ${icon}\n <slot name=\"caption\">\n <span class=\"caption\"> ${this.caption} </span>\n </slot>\n <bl-icon name=\"arrow_down\" class=\"indicator\"></bl-icon>\n </summary>\n\n <div class=\"accordion-content\" role=\"region\" aria-labelledby=\"header\" id=\"content\">\n <slot></slot>\n </div>\n </details>`;\n }\n}\n"],
|
|
5
|
-
"mappings": "4QACO,I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,OAGF,KAAK,UAAU,KAAK,IAAI,EAE5B,CAEA,QAAyB,CACvB,IAAMC,EAAO,KAAK,KACdC,+BAAkC,KAAK,OAAS,GAAO,OAAS,KAAK,kBACrE,KAEJ,OAAOA;AAAA,cACG,KAAK;AAAA,cACLC,EAAS,CACf,UAAW,GACX,SAAU,KAAK,QACjB,CAAC;AAAA;AAAA;AAAA;AAAA,kBAIW,KAAK;AAAA,wBACC,KAAK,KAAO,OAAS;AAAA;AAAA,wBAErB,KAAK,SAAW,OAAS;AAAA,mBAC9B,KAAK,SAAW,KAAO;AAAA;AAAA,UAEhCF;AAAA;AAAA,mCAEyB,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,eAStC,CACF,EA/IEG,EAAA,CADCL,EAAS,CAAE,QAAS,GAAM,KAAM,OAAQ,CAAC,GAJvBP,EAKnB,oBAMAY,EAAA,CADCL,EAAS,CAAE,QAAS,EAAK,CAAC,GAVRP,EAWnB,uBAMAY,EAAA,CADCL,EAAS,CAAE,UAAWM,EAAuB,CAAE,CAAC,GAhB9Bb,EAiBnB,oBAMAY,EAAA,CADCL,EAAS,CAAE,QAAS,GAAM,KAAM,OAAQ,CAAC,GAtBvBP,EAuBnB,wBAK4BY,EAAA,CAA3BE,EAAM,WAAW,GA5BCd,EA4BS,yBAG5BY,EAAA,CADCL,EAAS,CAAE,KAAM,MAAO,CAAC,GA9BPP,EA+BnB,iCAMAY,EAAA,CADC,EAAM,SAAS,GApCGZ,EAqCnB,yBAGAY,EAAA,CADC,EAAM,SAAS,GAvCGZ,EAwCnB,yBAGAY,EAAA,CADC,EAAM,oBAAoB,GA1CRZ,EA2CnB,yBA3CmBA,EAArBY,EAAA,CADCL,EAAc,cAAc,GACRP",
|
|
6
|
-
"names": ["styles", "i", "bl_accordion_default", "BlAccordion", "s", "bl_accordion_default", "isExpanding", "startHeight", "endHeight", "open", "e", "_changedProperties", "icon", "x", "o", "__decorateClass", "stringBooleanConverter", "event"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../src/components/input/bl-input.css", "../src/components/input/bl-input.ts"],
|
|
4
|
-
"sourcesContent": ["import {css} from 'lit';\nexport const styles = css`:host{display:inline-block;width:200px;position:relative}.wrapper{--border-color:var(--bl-color-neutral-lighter);--icon-color:var(--bl-color-neutral-light);--text-color:var(--bl-color-neutral-darker);--height:var(--bl-size-2xl);--input-font:var(--bl-font-body-text-2);--line-height:var(--bl-font-body-text-2-line-height);--icon-size:var(--line-height);--icon-gap:var(--bl-size-xs);--padding-vertical:calc((var(--height) - var(--line-height)) / 2);--padding-horizontal:var(--bl-size-xs);--autofill-bg-color:var(--bl-color-primary-contrast);--label-padding:var(--bl-size-3xs);--background-color:var(--bl-color-neutral-full);display:grid;position:relative;gap:var(--bl-size-3xs)}.wrapper:focus-within{--border-color:var(--bl-color-primary);--icon-color:var(--bl-color-primary)}.wrapper.dirty.invalid{--border-color:var(--bl-color-danger);--icon-color:var(--bl-color-danger)}:host([size=\"large\"]) .wrapper{--height:var(--bl-size-3xl);--padding-vertical:var(--bl-size-xs);--padding-horizontal:var(--bl-size-m);--icon-gap:var(--bl-size-m)}:host([size=\"small\"]) .wrapper{--height:var(--bl-size-xl);--input-font:var(--bl-font-body-text-3);--padding-vertical:var(--bl-size-3xs);--icon-size:var(--bl-font-body-text-3-line-height);--icon-gap:var(--bl-size-2xs)}.input-wrapper{--border-size:1px;outline:none;display:flex;box-sizing:border-box;gap:var(--padding-vertical);height:var(--height);border:solid var(--border-size) var(--border-color);padding:0 calc(\n var(--bl-input-padding-end, var(--padding-horizontal)) - var(--label-padding) -\n var(--border-size)\n ) 0 calc(\n var(--bl-input-padding-start, var(--padding-horizontal)) - var(--label-padding) -\n var(--border-size)\n );background-color:var(--background-color);border-radius:var(--bl-size-3xs);margin:0;width:0;min-width:100%}:host([disabled]) .wrapper{cursor:not-allowed;--background-color:var(--bl-color-neutral-lightest);--text-color:var(--bl-color-neutral-light)}.wrapper:has(input:autofill){--background-color:var(--autofill-bg-color)}.wrapper:has(input:-webkit-autofill){--background-color:var(--autofill-bg-color)}.input-wrapper legend,label{padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}label{position:absolute;max-width:max-content;transition:all ease-in 0.1s;font:var(--input-font);top:var(--padding-vertical);inset-inline-start:var(--bl-input-padding-start, var(--padding-horizontal));inset-inline-end:var(--bl-input-padding-end, var(--padding-horizontal));pointer-events:none;color:var(--bl-color-neutral-light)}.has-icon label{inset-inline-end:calc(\n var(--bl-input-padding-end, var(--padding-horizontal)) + var(--icon-size) +\n var(--padding-vertical)\n )}.input-wrapper legend{height:0;visibility:hidden;display:none}.input-wrapper legend span{padding:0 var(--label-padding);display:inline-block;opacity:0;visibility:visible}input{width:100%;align-self:stretch;outline:0;border:0;padding:0 0 0 var(--label-padding);font:var(--input-font);color:var(--text-color);-webkit-text-fill-color:var(--text-color);background-color:transparent}input::-webkit-credentials-auto-fill-button{color:red}:where(.wrapper:focus-within, .wrapper.has-value) input{padding-inline-start:var(--label-padding)}input:disabled{cursor:not-allowed}input::-webkit-calendar-picker-indicator{display:none}input::-moz-calendar-picker-indicator{display:none}input:autofill{background-color:var(--autofill-bg-color);/**\n * Some browsers doesn't allow setting background-color\n * https://developer.mozilla.org/en-US/docs/Web/CSS/:autofill\n */box-shadow:0 0 0 40rem var(--autofill-bg-color) inset}input:-webkit-autofill{background-color:var(--autofill-bg-color);/**\n * Some browsers doesn't allow setting background-color\n * https://developer.mozilla.org/en-US/docs/Web/CSS/:autofill\n */box-shadow:0 0 0 40rem var(--autofill-bg-color) inset}.icon{display:flex;align-items:center;gap:var(--icon-gap);flex-basis:var(--icon-size);align-self:center;height:var(--icon-size);margin-inline-end:var(--label-padding)}bl-icon:not(.reveal-icon),::slotted(bl-icon){font-size:var(--icon-size);color:var(--icon-color);height:var(--icon-size)}.reveal-button bl-icon{display:none}bl-icon[name=\"eye_on\"]{display:inline-block}.password-visible bl-icon[name=\"eye_on\"]{display:none}.password-visible bl-icon[name=\"eye_off\"]{display:inline-block}.wrapper:not(.has-icon) .icon{display:none}.hint{display:none;font:var(--bl-font-body-text-3)}.hint p{padding:0;margin:0}::placeholder{color:var(--bl-color-neutral-light);-webkit-text-fill-color:var(--bl-color-neutral-light)}:host([label]) ::placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:color ease-out 0.4s}:host([label-fixed]) ::placeholder,:host :focus-within ::placeholder{color:var(--bl-color-neutral-light);-webkit-text-fill-color:var(--bl-color-neutral-light)}:host([label-fixed]) label{position:static;transition:none;transform:none;pointer-events:initial;font:var(--bl-font-caption);color:var(--bl-color-neutral-dark);padding:0}:host([label-fixed]) legend{display:none}:host(:not([label-fixed])) :focus-within label,:host(:not([label-fixed])) .has-value label{top:0;inset-inline-start:calc(\n var(--bl-input-padding-start, var(--padding-horizontal)) - var(--label-padding)\n );inset-inline-end:calc(\n var(--bl-input-padding-end, var(--padding-horizontal)) - var(--label-padding)\n );transform:translateY(-50%);font:var(--bl-font-caption);color:var(--bl-color-neutral-dark);padding:0 var(--label-padding);pointer-events:initial;z-index:var(--bl-index-base)}:host([label]:not([label-fixed])) :where(:focus-within, .has-value) legend{max-width:100%;font:var(--bl-font-caption);display:block}.error-icon,.invalid-text{display:none}.dirty.invalid label,.invalid-text,.error-icon{color:var(--bl-color-danger)}.help-text{color:var(--bl-color-neutral-dark)}:host([help-text]) .hint,.dirty.invalid .hint{display:block}.dirty.invalid .invalid-text{display:block}.dirty.invalid .help-text{display:none}.dirty.invalid .error-icon{display:inline-block}`;\nexport default styles;\n", "import { CSSResultGroup, html, LitElement, TemplateResult, PropertyValues } from \"lit\";\nimport { customElement, property, query, state } from \"lit/decorators.js\";\nimport { classMap } from \"lit/directives/class-map.js\";\nimport { ifDefined } from \"lit/directives/if-defined.js\";\nimport { live } from \"lit/directives/live.js\";\nimport { FormControlMixin } from \"@open-wc/form-control\";\nimport { submit } from \"@open-wc/form-helpers\";\nimport \"element-internals-polyfill\";\nimport { event, EventDispatcher } from \"../../utilities/event\";\nimport { innerInputValidators } from \"../../utilities/form-control\";\nimport \"../button/bl-button\";\nimport \"../icon/bl-icon\";\nimport { BaklavaIcon } from \"../icon/icon-list\";\nimport style from \"./bl-input.css\";\n\nexport type InputType =\n | \"text\"\n | \"email\"\n | \"date\"\n | \"time\"\n | \"datetime-local\"\n | \"month\"\n | \"week\"\n | \"password\"\n | \"number\"\n | \"tel\"\n | \"url\"\n | \"search\";\n\nconst inputTypeIcons: Partial<Record<InputType, BaklavaIcon>> = {\n \"date\": \"calendar\",\n \"datetime-local\": \"calendar\",\n \"month\": \"calendar\",\n \"week\": \"calendar\",\n \"time\": \"clock\",\n \"search\": \"search\",\n};\n\nexport type InputSize = \"small\" | \"medium\" | \"large\";\n/**\n * @tag bl-input\n * @summary Baklava Input component\n *\n * @cssproperty [--bl-input-padding-start] Sets the padding start\n * @cssproperty [--bl-input-padding-end] Sets the padding end\n */\n@customElement(\"bl-input\")\nexport default class BlInput extends FormControlMixin(LitElement) {\n static get styles(): CSSResultGroup {\n return [style];\n }\n static shadowRootOptions = { ...LitElement.shadowRootOptions, delegatesFocus: true };\n\n static formControlValidators = innerInputValidators;\n\n @query(\"input\")\n validationTarget: HTMLInputElement;\n\n /**\n * Sets name of the input\n */\n @property({ reflect: true })\n name?: string;\n\n /**\n * Type of the input. It's used to set `type` attribute of native input inside.\n */\n @property({ reflect: true })\n type: InputType = \"text\";\n\n /**\n * Sets label of the input\n */\n @property({ reflect: true })\n label?: string;\n\n /**\n * Sets placeholder of the input\n */\n @property({ reflect: true })\n placeholder?: string;\n\n /**\n * Sets initial value of the input\n */\n @property({ reflect: true })\n value = \"\";\n\n /**\n * Makes input a mandatory field\n */\n @property({ type: Boolean, reflect: true })\n required = false;\n\n /**\n * Sets minimum length of the input\n */\n @property({ type: Number, reflect: true })\n minlength?: number;\n\n /**\n * Sets maximum length of the input\n */\n @property({ type: Number, reflect: true })\n maxlength?: number;\n\n /**\n * Sets the minimum acceptable value for the input\n */\n @property({ reflect: true })\n min?: number | string;\n\n /**\n * Sets the loading value for the input\n */\n @property({ type: Boolean, reflect: true })\n loading = false;\n\n /**\n * Sets the maximum acceptable value for the input\n */\n @property({ reflect: true })\n max?: number | string;\n\n /**\n * Sets a regex pattern form the input validation\n */\n @property({ type: String, reflect: true })\n pattern?: string;\n\n /**\n * Sets the increase and decrease step to a `number` input\n */\n @property({ type: Number, reflect: true })\n step?: number;\n\n /**\n * Hints browser to autocomplete this field.\n */\n @property({ type: String, reflect: true })\n autocomplete: string;\n\n /**\n * Sets the input mode of the field for asking browser to show the desired keyboard.\n */\n @property({ type: String, reflect: true })\n inputmode: \"none\" | \"text\" | \"decimal\" | \"numeric\" | \"tel\" | \"search\" | \"email\" | \"url\";\n\n /**\n * Sets input to get keyboard focus automatically\n */\n @property({ type: Boolean, reflect: true })\n autofocus = false;\n\n /**\n * Sets the custom icon name. `bl-icon` component is used to show an icon\n */\n @property({ type: String, reflect: true })\n icon?: BaklavaIcon;\n\n /**\n * Sets input size.\n */\n @property({ type: String, reflect: true })\n size?: InputSize = \"medium\";\n\n /**\n * Disables the input\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * Makes the input readonly.\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n /**\n * Makes label as fixed positioned\n */\n @property({ type: Boolean, attribute: \"label-fixed\", reflect: true })\n labelFixed = false;\n\n /**\n * Overrides error message. This message will override default error messages\n */\n @property({ type: String, attribute: \"invalid-text\", reflect: true })\n set customInvalidText(value: string) {\n this._customInvalidText = value;\n this.setValue(this.value);\n }\n\n get customInvalidText(): string {\n return this._customInvalidText;\n }\n\n private _customInvalidText: string;\n\n /**\n * Adds help text\n */\n @property({ type: String, attribute: \"help-text\", reflect: true })\n helpText?: string;\n\n /**\n * Fires when an alteration to the element's value is committed by the user. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.\n */\n @event(\"bl-change\") private onChange: EventDispatcher<string>;\n\n /**\n * Fires when the value of an input element has been changed.\n */\n @event(\"bl-input\") private onInput: EventDispatcher<string>;\n\n /**\n * Fires when the value of an input element has been changed.\n */\n @event(\"bl-invalid\") private onInvalid: EventDispatcher<ValidityState>;\n\n connectedCallback(): void {\n super.connectedCallback();\n this.addEventListener(\"keydown\", this.onKeydown);\n\n this.form?.addEventListener(\"submit\", () => {\n this.reportValidity();\n });\n }\n\n disconnectedCallback(): void {\n super.disconnectedCallback();\n this.removeEventListener(\"keydown\", this.onKeydown);\n }\n\n private onKeydown = (event: KeyboardEvent): void => {\n if (event.code === \"Enter\" && this.form) {\n setTimeout(() => {\n if (!event.defaultPrevented) {\n submit(this.form);\n }\n });\n }\n };\n\n @state() private dirty = false;\n\n @state() private passwordVisible = false;\n\n private textVisibilityToggle() {\n this.passwordVisible = !this.passwordVisible;\n }\n\n showPicker() {\n if (\"showPicker\" in HTMLInputElement.prototype) {\n this.validationTarget.showPicker();\n }\n }\n\n validityCallback(): string | void {\n this.onInvalid(this.internals.validity);\n return this.customInvalidText || this.validationTarget?.validationMessage;\n }\n\n /**\n * Force to set input as in invalid state.\n */\n async forceCustomError() {\n await this.updateComplete;\n this.validationTarget.setCustomValidity(this.customInvalidText || \"An error occurred\");\n this.setValue(this.value);\n this.reportValidity();\n }\n\n /**\n * Clear forced invalid state\n */\n async clearCustomError() {\n await this.updateComplete;\n this.validationTarget.setCustomValidity(\"\");\n this.setValue(this.value);\n this.reportValidity();\n }\n\n reportValidity() {\n this.dirty = true;\n this.requestUpdate();\n return this.checkValidity();\n }\n\n private inputHandler(event: Event) {\n const value = (event.target as HTMLInputElement).value;\n\n this.value = value;\n this.onInput(value);\n }\n\n private changeHandler(event: Event) {\n const value = (event.target as HTMLInputElement).value;\n\n this.dirty = true;\n this.value = value;\n this.onChange(value);\n }\n\n firstUpdated() {\n this.setValue(this.value);\n if (!this.icon) this.icon = inputTypeIcons[this.type];\n }\n\n protected async updated(changedProperties: PropertyValues) {\n if (changedProperties.size > 0) {\n this.setValue(this.value);\n\n await this.validationComplete;\n\n this.requestUpdate();\n }\n }\n\n private inputId = Math.random().toString(36).substring(2);\n\n private get _hasIconSlot() {\n return this.querySelector(':scope > [slot=\"icon\"]') !== null;\n }\n\n render(): TemplateResult {\n const invalidMessage = !this.checkValidity()\n ? html`<p id=\"errorMessage\" aria-live=\"polite\" class=\"invalid-text\">\n ${this.validationMessage}\n </p>`\n : \"\";\n const helpMessage = this.helpText\n ? html`<p id=\"helpText\" class=\"help-text\">${this.helpText}</p>`\n : \"\";\n\n const icon = html`\n <slot name=\"icon\">\n ${this.loading && this.type === \"search\" && this.value !== \"\" && this.value !== null\n ? html`<bl-spinner></bl-spinner>`\n : this.icon\n ? html`<bl-icon name=\"${this.icon}\"></bl-icon>`\n : html`<bl-icon class=\"error-icon\" name=\"alert\"></bl-icon>`}\n </slot>\n `;\n\n const label = this.label ? html`<label for=${this.inputId}>${this.label}</label>` : \"\";\n const passwordInput = this.type === \"password\";\n\n const revealButton = passwordInput\n ? html`<bl-button\n size=\"small\"\n kind=\"neutral\"\n variant=\"tertiary\"\n class=\"${classMap({\n \"reveal-button\": true,\n \"password-visible\": this.passwordVisible,\n })}\"\n aria-label=\"Toggle password reveal\"\n @bl-click=\"${this.textVisibilityToggle}\"\n >\n <bl-icon class=\"reveal-icon\" slot=\"icon\" name=\"eye_on\"></bl-icon>\n <bl-icon class=\"reveal-icon\" slot=\"icon\" name=\"eye_off\"></bl-icon>\n </bl-button>`\n : \"\";\n\n const hasCustomIcon = this.icon || this._hasIconSlot;\n const classes = {\n \"wrapper\": true,\n \"dirty\": this.dirty,\n \"invalid\": !this.checkValidity(),\n \"has-icon\": passwordInput || hasCustomIcon || (this.dirty && !this.checkValidity()),\n \"has-value\": this.value !== null && this.value !== \"\",\n };\n\n const passwordType = this.passwordVisible ? \"text\" : \"password\";\n const inputType = passwordInput ? passwordType : this.type;\n\n return html`<div class=${classMap(classes)}>\n ${label}\n <fieldset class=\"input-wrapper\">\n <legend><span>${this.label}</span></legend>\n <input\n id=${this.inputId}\n type=${inputType}\n .value=${live(this.value)}\n inputmode=\"${ifDefined(this.inputmode)}\"\n ?autofocus=${this.autofocus}\n autocomplete=\"${ifDefined(this.autocomplete)}\"\n placeholder=\"${ifDefined(this.placeholder)}\"\n minlength=\"${ifDefined(this.minlength)}\"\n maxlength=\"${ifDefined(this.maxlength)}\"\n min=\"${ifDefined(this.min)}\"\n max=\"${ifDefined(this.max)}\"\n pattern=\"${ifDefined(this.pattern)}\"\n step=\"${ifDefined(this.step)}\"\n ?required=${this.required}\n ?disabled=${this.disabled}\n ?readonly=${this.readonly}\n @change=${this.changeHandler}\n @input=${this.inputHandler}\n aria-invalid=${this.checkValidity() ? \"false\" : \"true\"}\n aria-describedby=${ifDefined(this.helpText ? \"helpText\" : undefined)}\n aria-errormessage=${ifDefined(this.checkValidity() ? undefined : \"errorMessage\")}\n />\n <div class=\"icon\">${revealButton} ${icon}</div>\n </fieldset>\n <div class=\"hint\">${invalidMessage} ${helpMessage}</div>\n </div>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bl-input\": BlInput;\n }\n}\n"],
|
|
5
|
-
"mappings": "8aACO,IAAMA,EAASC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,spBAoBfC,EAAQF,ECQf,IAAMG,EAA0D,CAC9D,KAAQ,WACR,iBAAkB,WAClB,MAAS,WACT,KAAQ,WACR,KAAQ,QACR,OAAU,QACZ,EAWqBC,EAArB,cAAqCC,EAAiBC,CAAU,CAAE,CAAlE,kCAqBE,UAAkB,OAkBlB,WAAQ,GAMR,cAAW,GAwBX,aAAU,GAoCV,eAAY,GAYZ,UAAmB,SAMnB,cAAW,GAMX,cAAW,GAMX,gBAAa,GAoDb,KAAQ,UAAaC,GAA+B,CAC9CA,EAAM,OAAS,SAAW,KAAK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,CAAC,GA1HvBzB,EA2HnB,wBAMAuB,EAAA,CADCE,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,GAhIvBzB,EAiInB,wBAMAuB,EAAA,CADCE,EAAS,CAAE,KAAM,QAAS,UAAW,cAAe,QAAS,EAAK,CAAC,GAtIjDzB,EAuInB,0BAMIuB,EAAA,CADHE,EAAS,CAAE,KAAM,OAAQ,UAAW,eAAgB,QAAS,EAAK,CAAC,GA5IjDzB,EA6If,iCAeJuB,EAAA,CADCE,EAAS,CAAE,KAAM,OAAQ,UAAW,YAAa,QAAS,EAAK,CAAC,GA3J9CzB,EA4JnB,wBAK4BuB,EAAA,CAA3BpB,EAAM,WAAW,GAjKCH,EAiKS,wBAKDuB,EAAA,CAA1BpB,EAAM,UAAU,GAtKEH,EAsKQ,uBAKEuB,EAAA,CAA5BpB,EAAM,YAAY,GA3KAH,EA2KU,yBA0BZuB,EAAA,CAAhBG,EAAM,GArMY1B,EAqMF,qBAEAuB,EAAA,CAAhBG,EAAM,GAvMY1B,EAuMF,+BAvMEA,EAArBuB,EAAA,CADCE,EAAc,UAAU,GACJzB",
|
|
6
|
-
"names": ["styles", "i", "bl_input_default", "inputTypeIcons", "BlInput", "FormControlMixin", "s", "event", "submit", "bl_input_default", "value", "_a", "changedProperties", "invalidMessage", "x", "helpMessage", "icon", "label", "passwordInput", "revealButton", "o", "hasCustomIcon", "classes", "passwordType", "inputType", "l", "innerInputValidators", "__decorateClass", "i", "e", "t"]
|
|
7
|
-
}
|