@bagelink/vue 0.0.692 → 0.0.696

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/style.css CHANGED
@@ -1497,58 +1497,59 @@ display: block;
1497
1497
  font-size: var(--label-font-size);
1498
1498
  }
1499
1499
 
1500
- .bagel-input textarea[data-v-edac341b] {
1500
+
1501
+ .bagel-input textarea[data-v-5193fa33] {
1501
1502
  min-height: unset;
1502
1503
  font-size: var(--input-font-size);
1503
1504
  }
1504
- .bagel-input.text-input textarea[data-v-edac341b] {
1505
+ .bagel-input.text-input textarea[data-v-5193fa33] {
1505
1506
  resize: none;
1506
1507
  }
1507
- .code textarea[data-v-edac341b] {
1508
+ .code textarea[data-v-5193fa33] {
1508
1509
  font-family: 'Inconsolata', monospace;
1509
1510
  background: var(--bgl-black) !important;
1510
1511
  color: var(--bgl-white) !important;
1511
1512
  }
1512
- .code textarea[data-v-edac341b]::placeholder {
1513
+ .code textarea[data-v-5193fa33]::placeholder {
1513
1514
  color: var(--bgl-white) !important;
1514
1515
  opacity: 0.3;
1515
1516
  }
1516
- .bagel-input.small[data-v-edac341b] {
1517
+ .bagel-input.small[data-v-5193fa33] {
1517
1518
  margin-bottom: 0;
1518
1519
  height: 30px;
1519
1520
  }
1520
- .bagel-input.dense label[data-v-edac341b] {
1521
+ .bagel-input.dense label[data-v-5193fa33] {
1521
1522
  display: flex;
1522
1523
  align-items: center;
1523
1524
  gap: 0.5rem;
1524
1525
  }
1525
- .bagel-input input[data-v-edac341b]:disabled {
1526
+ .bagel-input input[data-v-5193fa33]:disabled {
1526
1527
  background: #f5f5f5;
1527
1528
  }
1528
- .bagel-input label[data-v-edac341b] {
1529
+ .bagel-input label[data-v-5193fa33] {
1529
1530
  font-size: var(--label-font-size);
1530
1531
  }
1531
- .textInputIconWrap[data-v-edac341b] {
1532
+ .textInputIconWrap[data-v-5193fa33] {
1532
1533
  position: relative;
1533
1534
  }
1534
- .textInputIconWrap .bgl_icon-font[data-v-edac341b] {
1535
+ .textInputIconWrap .bgl_icon-font[data-v-5193fa33] {
1535
1536
  position: absolute;
1536
1537
  inset-inline-end: 0.7rem;
1537
1538
  bottom: 50%;
1538
1539
  line-height: 0;
1539
1540
  color: var(--bgl-gray);
1540
1541
  }
1541
- .txtInputIconStart .iconStart[data-v-edac341b] {
1542
+ .txtInputIconStart .iconStart[data-v-5193fa33] {
1542
1543
  position: absolute;
1543
1544
  inset-inline-start: 0.7rem;
1544
1545
  top: 50%;
1545
1546
  line-height: 0;
1546
1547
  color: var(--bgl-gray);
1547
1548
  }
1548
- .txtInputIconStart textarea[data-v-edac341b] {
1549
+ .txtInputIconStart textarea[data-v-5193fa33] {
1549
1550
  padding-inline-start: 2rem;
1550
1551
  }
1551
- .bagel-input.small textarea[data-v-edac341b] {
1552
+ .bagel-input.small textarea[data-v-5193fa33] {
1552
1553
  height: 30px;
1553
1554
  }
1554
1555
 
@@ -2053,7 +2054,7 @@ p {
2053
2054
  border-radius: var(--input-border-radius);
2054
2055
  }
2055
2056
 
2056
- .tel-input[data-v-4c2ef2c5] {
2057
+ .tel-input[data-v-f94249b5] {
2057
2058
  direction: ltr;
2058
2059
  text-align: left;
2059
2060
  background: var(--input-bg);
@@ -2064,21 +2065,21 @@ p {
2064
2065
  min-width: calc(var(--input-height) * 3);
2065
2066
  width: 100%;
2066
2067
  }
2067
- .tel-input[data-v-4c2ef2c5]:focus-within {
2068
+ .tel-input[data-v-f94249b5]:focus-within {
2068
2069
  outline: none;
2069
2070
  box-shadow: inset 0 0 10px #00000012;
2070
2071
  }
2071
- .tel-input input[data-v-4c2ef2c5] {
2072
+ .tel-input input[data-v-f94249b5] {
2072
2073
  background: transparent;
2073
2074
  }
2074
- .tel-input input[data-v-4c2ef2c5]:focus-visible {
2075
+ .tel-input input[data-v-f94249b5]:focus-visible {
2075
2076
  box-shadow: none;
2076
2077
  }
2077
- .input_country-code[data-v-4c2ef2c5] {
2078
+ .input_country-code[data-v-f94249b5] {
2078
2079
  font-size: var(--input-font-size);
2079
2080
  color: var(--input-color);
2080
2081
  }
2081
- .tel-country[data-v-4c2ef2c5] {
2082
+ .tel-country[data-v-f94249b5] {
2082
2083
  font-size: var(--input-font-size);
2083
2084
  max-width: 200px;
2084
2085
  white-space: nowrap;
@@ -2087,7 +2088,7 @@ p {
2087
2088
  margin-top: 0;
2088
2089
  margin-bottom: 0;
2089
2090
  }
2090
- .tel-countryp-dropdown[data-v-4c2ef2c5] {
2091
+ .tel-countryp-dropdown[data-v-f94249b5] {
2091
2092
  direction: ltr;
2092
2093
  text-align: left;
2093
2094
  }
@@ -6309,6 +6310,11 @@ select {
6309
6310
  font-family: inherit;
6310
6311
  width: 100%;
6311
6312
  }
6313
+ .bagel-input-error input,
6314
+ .bagel-input-error button,
6315
+ .bagel-input-error textarea {
6316
+ outline: 1px solid var(--bgl-red);
6317
+ }
6312
6318
  .bagel-input {
6313
6319
  position: relative;
6314
6320
  display: flex;
@@ -6318,12 +6324,48 @@ select {
6318
6324
  width: 100%;
6319
6325
  color: var(--bgl-black);
6320
6326
  }
6327
+ .bagel-input::-webkit-input-placeholder .bagel-input label {
6328
+ display: block;
6329
+ font-size: var(--label-font-size);
6330
+ margin-bottom: 2px;
6331
+ line-height: 1.3;
6332
+ }
6333
+ .bagel-input::-moz-placeholder .bagel-input label {
6334
+ display: block;
6335
+ font-size: var(--label-font-size);
6336
+ margin-bottom: 2px;
6337
+ line-height: 1.3;
6338
+ }
6339
+ .bagel-input:-ms-input-placeholder .bagel-input label {
6340
+ display: block;
6341
+ font-size: var(--label-font-size);
6342
+ margin-bottom: 2px;
6343
+ line-height: 1.3;
6344
+ }
6345
+ .bagel-input::-ms-input-placeholder .bagel-input label {
6346
+ display: block;
6347
+ font-size: var(--label-font-size);
6348
+ margin-bottom: 2px;
6349
+ line-height: 1.3;
6350
+ }
6321
6351
  .bagel-input::placeholder .bagel-input label {
6322
6352
  display: block;
6323
6353
  font-size: var(--label-font-size);
6324
6354
  margin-bottom: 2px;
6325
6355
  line-height: 1.3;
6326
6356
  }
6357
+ .bagel-input::-webkit-input-placeholder {
6358
+ color: var(--placeholder-color);
6359
+ }
6360
+ .bagel-input::-moz-placeholder {
6361
+ color: var(--placeholder-color);
6362
+ }
6363
+ .bagel-input:-ms-input-placeholder {
6364
+ color: var(--placeholder-color);
6365
+ }
6366
+ .bagel-input::-ms-input-placeholder {
6367
+ color: var(--placeholder-color);
6368
+ }
6327
6369
  .bagel-input::placeholder {
6328
6370
  color: var(--placeholder-color);
6329
6371
  }
@@ -6348,6 +6390,18 @@ select {
6348
6390
  min-width: calc(var(--input-height) * 3);
6349
6391
  width: 100%;
6350
6392
  }
6393
+ .bagel-input input::-webkit-input-placeholder, .bagel-input textarea::-webkit-input-placeholder, .bagel-input select::-webkit-input-placeholder, .custom-select .input::-webkit-input-placeholder {
6394
+ color: var(--placeholder-color);
6395
+ }
6396
+ .bagel-input input::-moz-placeholder, .bagel-input textarea::-moz-placeholder, .bagel-input select::-moz-placeholder, .custom-select .input::-moz-placeholder {
6397
+ color: var(--placeholder-color);
6398
+ }
6399
+ .bagel-input input:-ms-input-placeholder, .bagel-input textarea:-ms-input-placeholder, .bagel-input select:-ms-input-placeholder, .custom-select .input:-ms-input-placeholder {
6400
+ color: var(--placeholder-color);
6401
+ }
6402
+ .bagel-input input::-ms-input-placeholder, .bagel-input textarea::-ms-input-placeholder, .bagel-input select::-ms-input-placeholder, .custom-select .input::-ms-input-placeholder {
6403
+ color: var(--placeholder-color);
6404
+ }
6351
6405
  .bagel-input input::placeholder,
6352
6406
  .bagel-input textarea::placeholder,
6353
6407
  .bagel-input select::placeholder,
@@ -6360,10 +6414,12 @@ select {
6360
6414
  align-items: center;
6361
6415
  }
6362
6416
  .bagel-input.search-wrap input {
6363
- padding-inline-end: 2rem;
6417
+ -webkit-padding-end: 2rem;
6418
+ padding-inline-end: 2rem;
6364
6419
  }
6365
6420
  .bagel-input.search-wrap .bgl_icon-font {
6366
- margin-inline-start: -1.75rem;
6421
+ -webkit-margin-start: -1.75rem;
6422
+ margin-inline-start: -1.75rem;
6367
6423
  }
6368
6424
  .bagel-input select {
6369
6425
  height: var(--input-height);
@@ -6378,6 +6434,8 @@ select {
6378
6434
  }
6379
6435
  .bagel-input input[type="radio"] {
6380
6436
  padding: 0;
6437
+ width: -webkit-fit-content;
6438
+ width: -moz-fit-content;
6381
6439
  width: fit-content;
6382
6440
  }
6383
6441
  .bagel-input:focus-within label {
@@ -6481,11 +6539,13 @@ select {
6481
6539
  .bagel-input input[type="color"]::-webkit-color-swatch {
6482
6540
  border-radius: var(--input-border-radius);
6483
6541
  border: none;
6542
+ -webkit-transition: box-shadow 200ms ease;
6484
6543
  transition: box-shadow 200ms ease;
6485
6544
  }
6486
6545
  .bagel-input input[type="color"]::-moz-color-swatch {
6487
6546
  border-radius: var(--input-border-radius);
6488
6547
  border: none;
6548
+ -moz-transition: box-shadow 200ms ease;
6489
6549
  transition: box-shadow 200ms ease;
6490
6550
  }
6491
6551
  .bagel-input input[type="color"]::-webkit-color-swatch:hover {
@@ -7558,118 +7618,118 @@ select {
7558
7618
  .color-green {
7559
7619
  color: var(--bgl-green) !important;
7560
7620
  }
7561
- .bg-input-white input {
7621
+ .bg-input-white input, .bg-input-white .selectinput-btn {
7562
7622
  background: var(--bgl-white) !important;
7563
7623
  }
7564
7624
  .color-input-white input {
7565
7625
  color: var(--bgl-white) !important;
7566
7626
  }
7567
- .bg-input-primary input {
7627
+ .bg-input-primary input, .bg-input-primary .selectinput-btn {
7568
7628
  background: var(--bgl-primary) !important;
7569
7629
  }
7570
7630
  .color-input-primary input {
7571
7631
  color: var(--bgl-primary) !important;
7572
7632
  }
7573
- .bg-input-primary-tint input {
7633
+ .bg-input-primary-tint input, .bg-input-primary-tint .selectinput-btn {
7574
7634
  background: var(--bgl-primary-tint) !important;
7575
7635
  }
7576
7636
  .color-input-primary-tint input {
7577
7637
  color: var(--bgl-primary-tint) !important;
7578
7638
  }
7579
- .bg-input-primary-light input {
7639
+ .bg-input-primary-light input, .bg-input-primary-light .selectinput-btn {
7580
7640
  background: var(--bgl-primary-light) !important;
7581
7641
  }
7582
7642
  .color-input-primary-light input {
7583
7643
  color: var(--bgl-primary-light) !important;
7584
7644
  }
7585
- .bg-input-blue-20 input {
7645
+ .bg-input-blue-20 input, .bg-input-blue-20 .selectinput-btn {
7586
7646
  background: var(--bgl-blue-20) !important;
7587
7647
  }
7588
7648
  .color-input-blue-20 input {
7589
7649
  color: var(--bgl-blue-20) !important;
7590
7650
  }
7591
- .bg-input-blue-dark input {
7651
+ .bg-input-blue-dark input, .bg-input-blue-dark .selectinput-btn {
7592
7652
  background: var(--bgl-blue-dark) !important;
7593
7653
  }
7594
7654
  .color-input-blue-dark input {
7595
7655
  color: var(--bgl-blue-dark) !important;
7596
7656
  }
7597
- .bg-input-blue-light input {
7657
+ .bg-input-blue-light input, .bg-input-blue-light .selectinput-btn {
7598
7658
  background: var(--bgl-blue-light) !important;
7599
7659
  }
7600
7660
  .color-input-blue-light input {
7601
7661
  color: var(--bgl-blue-light) !important;
7602
7662
  }
7603
- .bg-input-black input {
7663
+ .bg-input-black input, .bg-input-black .selectinput-btn {
7604
7664
  background: var(--bgl-black) !important;
7605
7665
  }
7606
7666
  .color-input-black input {
7607
7667
  color: var(--bgl-black) !important;
7608
7668
  }
7609
- .bg-input-black-tint input {
7669
+ .bg-input-black-tint input, .bg-input-black-tint .selectinput-btn {
7610
7670
  background: var(--bgl-black-tint) !important;
7611
7671
  }
7612
7672
  .color-input-black-tint input {
7613
7673
  color: var(--bgl-black-tint) !important;
7614
7674
  }
7615
- .bg-input-gray input {
7675
+ .bg-input-gray input, .bg-input-gray .selectinput-btn {
7616
7676
  background: var(--bgl-gray) !important;
7617
7677
  }
7618
7678
  .color-input-gray input {
7619
7679
  color: var(--bgl-gray) !important;
7620
7680
  }
7621
- .bg-input-gray-light input {
7681
+ .bg-input-gray-light input, .bg-input-gray-light .selectinput-btn {
7622
7682
  background: var(--bgl-gray-light) !important;
7623
7683
  }
7624
7684
  .color-input-gray-light input {
7625
7685
  color: var(--bgl-gray-light) !important;
7626
7686
  }
7627
- .bg-input-gray-80 input {
7687
+ .bg-input-gray-80 input, .bg-input-gray-80 .selectinput-btn {
7628
7688
  background: var(--bgl-gray-80) !important;
7629
7689
  }
7630
7690
  .color-input-gray-80 input {
7631
7691
  color: var(--bgl-gray-80) !important;
7632
7692
  }
7633
- .bg-input-gray-20 input {
7693
+ .bg-input-gray-20 input, .bg-input-gray-20 .selectinput-btn {
7634
7694
  background: var(--bgl-gray-20) !important;
7635
7695
  }
7636
7696
  .color-input-gray-20 input {
7637
7697
  color: var(--bgl-gray-20) !important;
7638
7698
  }
7639
- .bg-input-pink input {
7699
+ .bg-input-pink input, .bg-input-pink .selectinput-btn {
7640
7700
  background: var(--bgl-pink) !important;
7641
7701
  }
7642
7702
  .color-input-pink input {
7643
7703
  color: var(--bgl-pink) !important;
7644
7704
  }
7645
- .bg-input-red input {
7705
+ .bg-input-red input, .bg-input-red .selectinput-btn {
7646
7706
  background: var(--bgl-red) !important;
7647
7707
  }
7648
7708
  .color-input-red input {
7649
7709
  color: var(--bgl-red) !important;
7650
7710
  }
7651
- .bg-input-red-tint input {
7711
+ .bg-input-red-tint input, .bg-input-red-tint .selectinput-btn {
7652
7712
  background: var(--bgl-red-tint) !important;
7653
7713
  }
7654
7714
  .color-input-red-tint input {
7655
7715
  color: var(--bgl-red-tint) !important;
7656
7716
  }
7657
- .bg-input-yellow input {
7717
+ .bg-input-yellow input, .bg-input-yellow .selectinput-btn {
7658
7718
  background: var(--bgl-yellow) !important;
7659
7719
  }
7660
7720
  .color-input-yellow input {
7661
7721
  color: var(--bgl-yellow) !important;
7662
7722
  }
7663
- .bg-input-yellow-light input {
7723
+ .bg-input-yellow-light input, .bg-input-yellow-light .selectinput-btn {
7664
7724
  background: var(--bgl-yellow-light) !important;
7665
7725
  }
7666
7726
  .color-input-yellow-light input {
7667
7727
  color: var(--bgl-yellow-light) !important;
7668
7728
  }
7669
- .bg-input-green input {
7729
+ .bg-input-green input, .bg-input-green .selectinput-btn {
7670
7730
  background: var(--bgl-green) !important;
7671
7731
  }
7672
- .bg-input-transparent input {
7732
+ .bg-input-transparent input, .bg-input-transparent .selectinput-btn {
7673
7733
  background: transparent !important;
7674
7734
  }
7675
7735
  .color-input-green input {
@@ -8001,7 +8061,7 @@ select {
8001
8061
  background: transparent !important;
8002
8062
  }
8003
8063
 
8004
- .m_bg-input-white input {
8064
+ .m_bg-input-white input, .m_bg-input-white .selectinput-btn {
8005
8065
  background: var(--bgl-white) !important;
8006
8066
  }
8007
8067
 
@@ -8009,7 +8069,7 @@ select {
8009
8069
  color: var(--bgl-white) !important;
8010
8070
  }
8011
8071
 
8012
- .m_bg-input-primary input {
8072
+ .m_bg-input-primary input, .m_bg-input-primary .selectinput-btn {
8013
8073
  background: var(--bgl-primary) !important;
8014
8074
  }
8015
8075
 
@@ -8017,7 +8077,7 @@ select {
8017
8077
  color: var(--bgl-primary) !important;
8018
8078
  }
8019
8079
 
8020
- .m_bg-input-primary-tint input {
8080
+ .m_bg-input-primary-tint input, .m_bg-input-primary-tint .selectinput-btn {
8021
8081
  background: var(--bgl-primary-tint) !important;
8022
8082
  }
8023
8083
 
@@ -8025,7 +8085,7 @@ select {
8025
8085
  color: var(--bgl-primary-tint) !important;
8026
8086
  }
8027
8087
 
8028
- .m_bg-input-primary-light input {
8088
+ .m_bg-input-primary-light input, .m_bg-input-primary-light .selectinput-btn {
8029
8089
  background: var(--bgl-primary-light) !important;
8030
8090
  }
8031
8091
 
@@ -8033,7 +8093,7 @@ select {
8033
8093
  color: var(--bgl-primary-light) !important;
8034
8094
  }
8035
8095
 
8036
- .m_bg-input-blue-20 input {
8096
+ .m_bg-input-blue-20 input, .m_bg-input-blue-20 .selectinput-btn {
8037
8097
  background: var(--bgl-blue-20) !important;
8038
8098
  }
8039
8099
 
@@ -8041,7 +8101,7 @@ select {
8041
8101
  color: var(--bgl-blue-20) !important;
8042
8102
  }
8043
8103
 
8044
- .m_bg-input-blue-dark input {
8104
+ .m_bg-input-blue-dark input, .m_bg-input-blue-dark .selectinput-btn {
8045
8105
  background: var(--bgl-blue-dark) !important;
8046
8106
  }
8047
8107
 
@@ -8049,7 +8109,7 @@ select {
8049
8109
  color: var(--bgl-blue-dark) !important;
8050
8110
  }
8051
8111
 
8052
- .m_bg-input-blue-light input {
8112
+ .m_bg-input-blue-light input, .m_bg-input-blue-light .selectinput-btn {
8053
8113
  background: var(--bgl-blue-light) !important;
8054
8114
  }
8055
8115
 
@@ -8057,7 +8117,7 @@ select {
8057
8117
  color: var(--bgl-blue-light) !important;
8058
8118
  }
8059
8119
 
8060
- .m_bg-input-black input {
8120
+ .m_bg-input-black input, .m_bg-input-black .selectinput-btn {
8061
8121
  background: var(--bgl-black) !important;
8062
8122
  }
8063
8123
 
@@ -8065,7 +8125,7 @@ select {
8065
8125
  color: var(--bgl-black) !important;
8066
8126
  }
8067
8127
 
8068
- .m_bg-input-black-tint input {
8128
+ .m_bg-input-black-tint input, .m_bg-input-black-tint .selectinput-btn {
8069
8129
  background: var(--bgl-black-tint) !important;
8070
8130
  }
8071
8131
 
@@ -8073,7 +8133,7 @@ select {
8073
8133
  color: var(--bgl-black-tint) !important;
8074
8134
  }
8075
8135
 
8076
- .m_bg-input-gray input {
8136
+ .m_bg-input-gray input, .m_bg-input-gray .selectinput-btn {
8077
8137
  background: var(--bgl-gray) !important;
8078
8138
  }
8079
8139
 
@@ -8081,7 +8141,7 @@ select {
8081
8141
  color: var(--bgl-gray) !important;
8082
8142
  }
8083
8143
 
8084
- .m_bg-input-gray-light input {
8144
+ .m_bg-input-gray-light input, .m_bg-input-gray-light .selectinput-btn {
8085
8145
  background: var(--bgl-gray-light) !important;
8086
8146
  }
8087
8147
 
@@ -8089,7 +8149,7 @@ select {
8089
8149
  color: var(--bgl-gray-light) !important;
8090
8150
  }
8091
8151
 
8092
- .m_bg-input-gray-80 input {
8152
+ .m_bg-input-gray-80 input, .m_bg-input-gray-80 .selectinput-btn {
8093
8153
  background: var(--bgl-gray-80) !important;
8094
8154
  }
8095
8155
 
@@ -8097,7 +8157,7 @@ select {
8097
8157
  color: var(--bgl-gray-80) !important;
8098
8158
  }
8099
8159
 
8100
- .m_bg-input-gray-20 input {
8160
+ .m_bg-input-gray-20 input, .m_bg-input-gray-20 .selectinput-btn {
8101
8161
  background: var(--bgl-gray-20) !important;
8102
8162
  }
8103
8163
 
@@ -8105,7 +8165,7 @@ select {
8105
8165
  color: var(--bgl-gray-20) !important;
8106
8166
  }
8107
8167
 
8108
- .m_bg-input-pink input {
8168
+ .m_bg-input-pink input, .m_bg-input-pink .selectinput-btn {
8109
8169
  background: var(--bgl-pink) !important;
8110
8170
  }
8111
8171
 
@@ -8113,7 +8173,7 @@ select {
8113
8173
  color: var(--bgl-pink) !important;
8114
8174
  }
8115
8175
 
8116
- .m_bg-input-red input {
8176
+ .m_bg-input-red input, .m_bg-input-red .selectinput-btn {
8117
8177
  background: var(--bgl-red) !important;
8118
8178
  }
8119
8179
 
@@ -8121,7 +8181,7 @@ select {
8121
8181
  color: var(--bgl-red) !important;
8122
8182
  }
8123
8183
 
8124
- .m_bg-input-red-tint input {
8184
+ .m_bg-input-red-tint input, .m_bg-input-red-tint .selectinput-btn {
8125
8185
  background: var(--bgl-red-tint) !important;
8126
8186
  }
8127
8187
 
@@ -8129,7 +8189,7 @@ select {
8129
8189
  color: var(--bgl-red-tint) !important;
8130
8190
  }
8131
8191
 
8132
- .m_bg-input-yellow input {
8192
+ .m_bg-input-yellow input, .m_bg-input-yellow .selectinput-btn {
8133
8193
  background: var(--bgl-yellow) !important;
8134
8194
  }
8135
8195
 
@@ -8137,7 +8197,7 @@ select {
8137
8197
  color: var(--bgl-yellow) !important;
8138
8198
  }
8139
8199
 
8140
- .m_bg-input-yellow-light input {
8200
+ .m_bg-input-yellow-light input, .m_bg-input-yellow-light .selectinput-btn {
8141
8201
  background: var(--bgl-yellow-light) !important;
8142
8202
  }
8143
8203
 
@@ -8145,7 +8205,7 @@ select {
8145
8205
  color: var(--bgl-yellow-light) !important;
8146
8206
  }
8147
8207
 
8148
- .m_bg-input-green input {
8208
+ .m_bg-input-green input, .m_bg-input-green .selectinput-btn {
8149
8209
  background: var(--bgl-green) !important;
8150
8210
  }
8151
8211
 
@@ -8153,7 +8213,7 @@ select {
8153
8213
  color: var(--bgl-green) !important;
8154
8214
  }
8155
8215
 
8156
- .m_bg-input-transparent input {
8216
+ .m_bg-input-transparent input, .m_bg-input-transparent .selectinput-btn {
8157
8217
  background: transparent !important;
8158
8218
  }
8159
8219
 
@@ -1,4 +1,4 @@
1
- import { Field, Option } from '..';
1
+ import { BglFormSchemaT, Field, Option } from '..';
2
2
  interface InputOptions {
3
3
  required?: boolean;
4
4
  placeholder?: string;
@@ -43,5 +43,6 @@ export declare function frmRow(...children: Field[]): {
43
43
  class: string;
44
44
  children: Field[];
45
45
  };
46
+ export declare function findBglFieldById(id: string, _schema: BglFormSchemaT): Field | undefined;
46
47
  export {};
47
48
  //# sourceMappingURL=BagelFormUtils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BagelFormUtils.d.ts","sourceRoot":"","sources":["../../src/utils/BagelFormUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAElD,UAAU,YAAY;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,KAAK,WAAW,GAAG,YAAY,CAAA;AAE/B,UAAU,gBAAiB,SAAQ,YAAY;IAC9C,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,OAAO,CAAA;IAC/B,OAAO,C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AO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAM,EAAE,IAAI,GAAE,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAM,GAAG,KAAK,CAAC,CAAC,CAAC,CAIjI;AAED,wBAAgB,QAAQ,CACvB,EAAE,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,eAAe;;;;;;;;EAWzB;AAED,wBAAgB,QAAQ,CACvB,EAAE,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,gBAAgB,GACxB,KAAK,CAgBP;AAED,wBAAgB,SAAS,CACxB,EAAE,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,MAAM,EAAE,CAAC,EACrC,MAAM,CAAC,EAAE,gBAAgB,GACvB,KAAK,CAgBP;AAED,wBAAgB,UAAU,CACzB,EAAE,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,eAAe,GACvB,KAAK,CAQP;AAED,wBAAgB,SAAS,CACxB,EAAE,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,WAAW,GACnB,KAAK,CAaP;AAED,wBAAgB,QAAQ,CACvB,EAAE,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,eAAe,GACvB,KAAK,CAoBP;AAED,wBAAgB,MAAM,CAAC,GAAG,QAAQ,EAAE,KAAK,EAAE;;;;EAM1C;AAED,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,GAAG,KAAK,GAAG,SAAS,CASvF"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "0.0.692",
4
+ "version": "0.0.696",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -16,6 +16,31 @@ import {
16
16
  } from 'libphonenumber-js'
17
17
  import axios from 'axios'
18
18
 
19
+ export interface Props {
20
+ label?: string
21
+ id?: string
22
+ class?: string
23
+ autocomplete?: 'on' | 'off' | 'tel'
24
+ placeholder?: string
25
+ required?: boolean
26
+ modelValue: string
27
+ allCountries?: Country[]
28
+ autoFormat?: boolean
29
+ customValidate?: boolean | RegExp
30
+ defaultCountry?: string | number
31
+ disabled?: boolean
32
+ searchable?: boolean
33
+ autoDefaultCountry?: boolean
34
+ inputOptions?: Partial<typeof defaultInputOptions>
35
+ dropdownOptions?: Partial<typeof defaultDropdownOptions>
36
+ excludeCountries?: string[]
37
+ mode?: NumberFormat
38
+ onlyCountries?: string[]
39
+ preferredCountries?: string[]
40
+ parseArg?: { extract?: boolean }
41
+ debounceDelay?: number
42
+ }
43
+
19
44
  const props = withDefaults(defineProps<Props>(), {
20
45
  modelValue: '',
21
46
  autocomplete: 'on',
@@ -80,30 +105,6 @@ const defaultInputOptions = {
80
105
  'placeholder': 'Enter a phone number',
81
106
  }
82
107
 
83
- interface Props {
84
- label?: string
85
- id?: string
86
- autocomplete?: 'on' | 'off' | 'tel'
87
- placeholder?: string
88
- required?: boolean
89
- modelValue: string
90
- allCountries?: Country[]
91
- autoFormat?: boolean
92
- customValidate?: boolean | RegExp
93
- defaultCountry?: string | number
94
- disabled?: boolean
95
- searchable?: boolean
96
- autoDefaultCountry?: boolean
97
- inputOptions?: Partial<typeof defaultInputOptions>
98
- dropdownOptions?: Partial<typeof defaultDropdownOptions>
99
- excludeCountries?: string[]
100
- mode?: NumberFormat
101
- onlyCountries?: string[]
102
- preferredCountries?: string[]
103
- parseArg?: { extract?: boolean }
104
- debounceDelay?: number
105
- }
106
-
107
108
  const computedDropDownOptions = $computed(() => ({
108
109
  ...defaultDropdownOptions,
109
110
  ...props.dropdownOptions,
@@ -309,7 +310,7 @@ function handleInput(e: KeyboardEvent) {
309
310
  <template>
310
311
  <div
311
312
  class="bagel-input"
312
- :class="{ disabled }"
313
+ :class="{ disabled, [props.class || '']: true }"
313
314
  >
314
315
  <label>
315
316
  {{ label }}
@@ -144,6 +144,7 @@ onMounted(() => {
144
144
  .bagel-input label {
145
145
  font-size: var(--label-font-size);
146
146
  }
147
+
147
148
  </style>
148
149
 
149
150
  <style scoped>