@public-ui/themes 1.5.0-rc.14 → 1.5.0-rc.16

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/index.cjs CHANGED
@@ -4162,13 +4162,6 @@ const BMF = components.KoliBri.createTheme("bmf", {
4162
4162
  margin: 0;
4163
4163
  padding: 0;
4164
4164
  }
4165
- input,
4166
- option,
4167
- select,
4168
- summary,
4169
- textarea {
4170
- display: inline-block;
4171
- }
4172
4165
  a,
4173
4166
  button,
4174
4167
  input,
@@ -4176,8 +4169,6 @@ const BMF = components.KoliBri.createTheme("bmf", {
4176
4169
  select,
4177
4170
  summary,
4178
4171
  textarea {
4179
- -ms-hyphens: auto;
4180
- -webkit-hyphens: auto;
4181
4172
  hyphens: auto;
4182
4173
  letter-spacing: inherit;
4183
4174
  word-break: break-word;
@@ -4383,11 +4374,18 @@ const BMF = components.KoliBri.createTheme("bmf", {
4383
4374
  font-size: 0.875em;
4384
4375
  font-style: italic;
4385
4376
  }
4386
- input {
4377
+ input,
4378
+ select,
4379
+ textarea {
4380
+ border: none;
4381
+ }
4382
+ input[type="color"] {
4387
4383
  border: none;
4388
- line-height: 1em;
4389
4384
  min-height: 40px !important;
4390
- padding: 0.625em 0;
4385
+ }
4386
+ input[type="color"],
4387
+ input[type="file"] {
4388
+ background-color: transparent;
4391
4389
  }
4392
4390
  input::placeholder {
4393
4391
  color: var(--color-grey);
@@ -4397,7 +4395,6 @@ const BMF = components.KoliBri.createTheme("bmf", {
4397
4395
  border-radius: 0.3125rem;
4398
4396
  border-style: solid;
4399
4397
  border-width: 2px;
4400
- height: 44px;
4401
4398
  padding: 0 0.5em;
4402
4399
  }
4403
4400
  .input > kol-icon {
@@ -4473,11 +4470,18 @@ const BMF = components.KoliBri.createTheme("bmf", {
4473
4470
  font-size: 0.875em;
4474
4471
  font-style: italic;
4475
4472
  }
4476
- input {
4473
+ input,
4474
+ select,
4475
+ textarea {
4476
+ border: none;
4477
+ }
4478
+ input[type="color"] {
4477
4479
  border: none;
4478
- line-height: 1em;
4479
4480
  min-height: 40px !important;
4480
- padding: 0.625em 0;
4481
+ }
4482
+ input[type="color"],
4483
+ input[type="file"] {
4484
+ background-color: transparent;
4481
4485
  }
4482
4486
  input::placeholder {
4483
4487
  color: var(--color-grey);
@@ -4487,7 +4491,6 @@ const BMF = components.KoliBri.createTheme("bmf", {
4487
4491
  border-radius: 0.3125rem;
4488
4492
  border-style: solid;
4489
4493
  border-width: 2px;
4490
- height: 44px;
4491
4494
  padding: 0 0.5em;
4492
4495
  }
4493
4496
  .input > kol-icon {
@@ -4563,11 +4566,18 @@ const BMF = components.KoliBri.createTheme("bmf", {
4563
4566
  font-size: 0.875em;
4564
4567
  font-style: italic;
4565
4568
  }
4566
- input {
4569
+ input,
4570
+ select,
4571
+ textarea {
4572
+ border: none;
4573
+ }
4574
+ input[type="color"] {
4567
4575
  border: none;
4568
- line-height: 1em;
4569
4576
  min-height: 40px !important;
4570
- padding: 0.625em 0;
4577
+ }
4578
+ input[type="color"],
4579
+ input[type="file"] {
4580
+ background-color: transparent;
4571
4581
  }
4572
4582
  input::placeholder {
4573
4583
  color: var(--color-grey);
@@ -4577,7 +4587,6 @@ const BMF = components.KoliBri.createTheme("bmf", {
4577
4587
  border-radius: 0.3125rem;
4578
4588
  border-style: solid;
4579
4589
  border-width: 2px;
4580
- height: 44px;
4581
4590
  padding: 0 0.5em;
4582
4591
  }
4583
4592
  .input > kol-icon {
@@ -4653,11 +4662,18 @@ const BMF = components.KoliBri.createTheme("bmf", {
4653
4662
  font-size: 0.875em;
4654
4663
  font-style: italic;
4655
4664
  }
4656
- input {
4665
+ input,
4666
+ select,
4667
+ textarea {
4668
+ border: none;
4669
+ }
4670
+ input[type="color"] {
4657
4671
  border: none;
4658
- line-height: 1em;
4659
4672
  min-height: 40px !important;
4660
- padding: 0.625em 0;
4673
+ }
4674
+ input[type="color"],
4675
+ input[type="file"] {
4676
+ background-color: transparent;
4661
4677
  }
4662
4678
  input::placeholder {
4663
4679
  color: var(--color-grey);
@@ -4667,7 +4683,6 @@ const BMF = components.KoliBri.createTheme("bmf", {
4667
4683
  border-radius: 0.3125rem;
4668
4684
  border-style: solid;
4669
4685
  border-width: 2px;
4670
- height: 44px;
4671
4686
  padding: 0 0.5em;
4672
4687
  }
4673
4688
  .input > kol-icon {
@@ -4743,11 +4758,18 @@ const BMF = components.KoliBri.createTheme("bmf", {
4743
4758
  font-size: 0.875em;
4744
4759
  font-style: italic;
4745
4760
  }
4746
- input {
4761
+ input,
4762
+ select,
4763
+ textarea {
4764
+ border: none;
4765
+ }
4766
+ input[type="color"] {
4747
4767
  border: none;
4748
- line-height: 1em;
4749
4768
  min-height: 40px !important;
4750
- padding: 0.625em 0;
4769
+ }
4770
+ input[type="color"],
4771
+ input[type="file"] {
4772
+ background-color: transparent;
4751
4773
  }
4752
4774
  input::placeholder {
4753
4775
  color: var(--color-grey);
@@ -4757,7 +4779,6 @@ const BMF = components.KoliBri.createTheme("bmf", {
4757
4779
  border-radius: 0.3125rem;
4758
4780
  border-style: solid;
4759
4781
  border-width: 2px;
4760
- height: 44px;
4761
4782
  padding: 0 0.5em;
4762
4783
  }
4763
4784
  .input > kol-icon {
@@ -4817,99 +4838,75 @@ const BMF = components.KoliBri.createTheme("bmf", {
4817
4838
  color: white;
4818
4839
  }`,
4819
4840
  "KOL-TEXTAREA": `kol-input {
4820
- display: grid;
4821
4841
  gap: 0.4em;
4822
4842
  }
4843
+ kol-input .error {
4844
+ order: 1;
4845
+ }
4823
4846
  kol-input label {
4824
4847
  order: 2;
4825
4848
  }
4826
- kol-input div.input {
4827
- box-sizing: border-box;
4849
+ kol-input .input {
4828
4850
  order: 3;
4829
- background-color: white;
4830
- border-radius: 0.3125rem;
4831
4851
  }
4832
- kol-input kol-alert.error {
4833
- order: 1;
4852
+ kol-input .hint {
4853
+ order: 4;
4854
+ font-size: 0.875em;
4855
+ font-style: italic;
4834
4856
  }
4835
4857
  input,
4836
4858
  select,
4837
4859
  textarea {
4838
- font-family: var(--font-family);
4860
+ border: none;
4861
+ }
4862
+ input[type="color"] {
4863
+ border: none;
4864
+ min-height: 40px !important;
4865
+ }
4866
+ input[type="color"],
4867
+ input[type="file"] {
4839
4868
  background-color: transparent;
4840
- box-sizing: border-box;
4841
- font-size: 1rem;
4842
- display: inline-flex;
4843
- line-height: 1.5em;
4869
+ }
4870
+ input::placeholder {
4871
+ color: var(--color-grey);
4872
+ }
4873
+ .input {
4844
4874
  border-color: var(--color-grey);
4845
- border-width: 2px;
4846
- border-style: solid;
4847
- padding: 0.625em 0.875em;
4848
4875
  border-radius: 0.3125rem;
4849
- overflow: hidden;
4850
- width: 100%;
4876
+ border-style: solid;
4877
+ border-width: 2px;
4878
+ padding: 0 0.5em;
4851
4879
  }
4852
- input,
4853
- select:not([multiple]) {
4854
- height: 2.75em;
4880
+ .input > kol-icon {
4881
+ width: 1.5em;
4855
4882
  }
4856
- input::placeholder {
4857
- color: var(--color-grey);
4883
+ .input > input:first-child {
4884
+ padding-left: 0.375em;
4858
4885
  }
4859
- input:hover {
4886
+ .input > input:last-child {
4887
+ padding-right: 0.375em;
4888
+ }
4889
+ .input:hover {
4860
4890
  border-color: var(--color-midnight);
4861
4891
  }
4862
4892
  input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
4863
4893
  cursor: not-allowed;
4864
- border-color: var(--border-default);
4865
4894
  }
4866
4895
  .required label > span::after {
4867
4896
  content: "*";
4868
4897
  padding-left: 0.125em;
4869
4898
  }
4870
- .icons {
4871
- display: flex;
4872
- justify-content: space-between;
4873
- height: 0;
4874
- }
4875
- .icon-left input,
4876
- .icon-left select {
4877
- padding-left: 2em;
4878
- }
4879
- .icon-right input,
4880
- .icon-right select {
4881
- padding-right: 2em;
4882
- }
4883
4899
  kol-input.error {
4884
4900
  border-left: 3px solid var(--color-red);
4885
4901
  padding-left: 1em;
4886
4902
  }
4887
- kol-input.error input:focus,
4888
- kol-input.error select:focus,
4889
- kol-input.error textarea:focus {
4903
+ kol-input.error .input:focus-within {
4890
4904
  outline-color: var(--color-red) !important;
4891
4905
  }
4892
4906
  kol-input.error kol-alert.error {
4893
4907
  color: var(--color-red);
4894
4908
  font-weight: 700;
4895
4909
  }
4896
- kol-button-wc {
4897
- position: relative;
4898
- float: right;
4899
- z-index: 1000;
4900
- }
4901
- kol-button-wc button {
4902
- border-radius: 0.25rem;
4903
- }
4904
- kol-button-wc button kol-span-wc {
4905
- border: 1px solid var(--color-grey);
4906
- display: grid;
4907
- min-height: 44px;
4908
- min-width: 44px;
4909
- }
4910
- .icon-right kol-button-wc {
4911
- margin-right: 2.5em;
4912
- }
4913
4910
  .disabled {
4914
4911
  opacity: 0.33;
4915
4912
  }
@@ -5369,99 +5366,75 @@ const BMF = components.KoliBri.createTheme("bmf", {
5369
5366
  stroke: var(--color-midnight);
5370
5367
  }`,
5371
5368
  "KOL-SELECT": `kol-input {
5372
- display: grid;
5373
5369
  gap: 0.4em;
5374
5370
  }
5371
+ kol-input .error {
5372
+ order: 1;
5373
+ }
5375
5374
  kol-input label {
5376
5375
  order: 2;
5377
5376
  }
5378
- kol-input div.input {
5379
- box-sizing: border-box;
5377
+ kol-input .input {
5380
5378
  order: 3;
5381
- background-color: white;
5382
- border-radius: 0.3125rem;
5383
5379
  }
5384
- kol-input kol-alert.error {
5385
- order: 1;
5380
+ kol-input .hint {
5381
+ order: 4;
5382
+ font-size: 0.875em;
5383
+ font-style: italic;
5386
5384
  }
5387
5385
  input,
5388
5386
  select,
5389
5387
  textarea {
5390
- font-family: var(--font-family);
5388
+ border: none;
5389
+ }
5390
+ input[type="color"] {
5391
+ border: none;
5392
+ min-height: 40px !important;
5393
+ }
5394
+ input[type="color"],
5395
+ input[type="file"] {
5391
5396
  background-color: transparent;
5392
- box-sizing: border-box;
5393
- font-size: 1rem;
5394
- display: inline-flex;
5395
- line-height: 2.5em;
5397
+ }
5398
+ input::placeholder {
5399
+ color: var(--color-grey);
5400
+ }
5401
+ .input {
5396
5402
  border-color: var(--color-grey);
5397
- border-width: 2px;
5398
- border-style: solid;
5399
- padding: 0.125em 0.875em;
5400
5403
  border-radius: 0.3125rem;
5401
- overflow: hidden;
5402
- width: 100%;
5404
+ border-style: solid;
5405
+ border-width: 2px;
5406
+ padding: 0 0.5em;
5403
5407
  }
5404
- input,
5405
- select:not([multiple]) {
5406
- height: 2.75em;
5408
+ .input > kol-icon {
5409
+ width: 1.5em;
5407
5410
  }
5408
- input::placeholder {
5409
- color: var(--color-grey);
5411
+ .input > input:first-child {
5412
+ padding-left: 0.375em;
5410
5413
  }
5411
- input:hover {
5414
+ .input > input:last-child {
5415
+ padding-right: 0.375em;
5416
+ }
5417
+ .input:hover {
5412
5418
  border-color: var(--color-midnight);
5413
5419
  }
5414
5420
  input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
5415
5421
  cursor: not-allowed;
5416
- border-color: var(--border-default);
5417
5422
  }
5418
5423
  .required label > span::after {
5419
5424
  content: "*";
5420
5425
  padding-left: 0.125em;
5421
5426
  }
5422
- .icons {
5423
- display: flex;
5424
- justify-content: space-between;
5425
- height: 0;
5426
- }
5427
- .icon-left input,
5428
- .icon-left select {
5429
- padding-left: 2em;
5430
- }
5431
- .icon-right input,
5432
- .icon-right select {
5433
- padding-right: 2em;
5434
- }
5435
5427
  kol-input.error {
5436
5428
  border-left: 3px solid var(--color-red);
5437
5429
  padding-left: 1em;
5438
5430
  }
5439
- kol-input.error input:focus,
5440
- kol-input.error select:focus,
5441
- kol-input.error textarea:focus {
5431
+ kol-input.error .input:focus-within {
5442
5432
  outline-color: var(--color-red) !important;
5443
5433
  }
5444
5434
  kol-input.error kol-alert.error {
5445
5435
  color: var(--color-red);
5446
5436
  font-weight: 700;
5447
5437
  }
5448
- kol-button-wc {
5449
- position: relative;
5450
- float: right;
5451
- z-index: 1000;
5452
- }
5453
- kol-button-wc button {
5454
- border-radius: 0.25rem;
5455
- }
5456
- kol-button-wc button kol-span-wc {
5457
- border: 1px solid var(--color-grey);
5458
- display: grid;
5459
- min-height: 44px;
5460
- min-width: 44px;
5461
- }
5462
- .icon-right kol-button-wc {
5463
- margin-right: 2.5em;
5464
- }
5465
5438
  .disabled {
5466
5439
  opacity: 0.33;
5467
5440
  }
@@ -5505,11 +5478,18 @@ const BMF = components.KoliBri.createTheme("bmf", {
5505
5478
  font-size: 0.875em;
5506
5479
  font-style: italic;
5507
5480
  }
5508
- input {
5481
+ input,
5482
+ select,
5483
+ textarea {
5484
+ border: none;
5485
+ }
5486
+ input[type="color"] {
5509
5487
  border: none;
5510
- line-height: 1em;
5511
5488
  min-height: 40px !important;
5512
- padding: 0.625em 0;
5489
+ }
5490
+ input[type="color"],
5491
+ input[type="file"] {
5492
+ background-color: transparent;
5513
5493
  }
5514
5494
  input::placeholder {
5515
5495
  color: var(--color-grey);
@@ -5519,7 +5499,6 @@ const BMF = components.KoliBri.createTheme("bmf", {
5519
5499
  border-radius: 0.3125rem;
5520
5500
  border-style: solid;
5521
5501
  border-width: 2px;
5522
- height: 44px;
5523
5502
  padding: 0 0.5em;
5524
5503
  }
5525
5504
  .input > kol-icon {
@@ -6043,13 +6022,8 @@ const BMF = components.KoliBri.createTheme("bmf", {
6043
6022
  fieldset div input[type="radio"]:before {
6044
6023
  content: "";
6045
6024
  cursor: pointer;
6046
- left: calc(1.5 * var(--spacing) - 2px);
6047
- top: calc(1.5 * var(--spacing) - 2px);
6048
- position: relative;
6049
6025
  border-radius: 100%;
6050
6026
  display: block;
6051
- height: calc(3 * var(--spacing));
6052
- width: calc(3 * var(--spacing));
6053
6027
  }
6054
6028
  fieldset div input[type="radio"]:checked:before {
6055
6029
  background-color: var(--color-midnight);
@@ -6304,140 +6278,101 @@ const BMF = components.KoliBri.createTheme("bmf", {
6304
6278
  padding-bottom: 0.5rem;
6305
6279
  color: var(--color-midnight);
6306
6280
  }`,
6307
- "KOL-INPUT-RANGE": `/* https://www.cssportal.com/style-input-range/ */
6308
- kol-input {
6309
- display: grid;
6281
+ "KOL-INPUT-RANGE": `kol-input {
6310
6282
  gap: 0.4em;
6311
6283
  }
6284
+ kol-input .error {
6285
+ order: 1;
6286
+ }
6312
6287
  kol-input label {
6313
6288
  order: 2;
6314
6289
  }
6315
- kol-input div.input {
6316
- box-sizing: border-box;
6290
+ kol-input .input {
6317
6291
  order: 3;
6318
- background-color: white;
6319
- border-radius: 0.3125rem;
6320
6292
  }
6321
- kol-input kol-alert.error {
6322
- order: 1;
6293
+ kol-input .hint {
6294
+ order: 4;
6295
+ font-size: 0.875em;
6296
+ font-style: italic;
6323
6297
  }
6324
6298
  input,
6325
6299
  select,
6326
6300
  textarea {
6327
- font-family: var(--font-family);
6301
+ border: none;
6302
+ }
6303
+ input[type="color"] {
6304
+ border: none;
6305
+ min-height: 40px !important;
6306
+ }
6307
+ input[type="color"],
6308
+ input[type="file"] {
6328
6309
  background-color: transparent;
6329
- box-sizing: border-box;
6330
- font-size: 1rem;
6331
- display: inline-flex;
6332
- line-height: 1.5em;
6310
+ }
6311
+ input::placeholder {
6312
+ color: var(--color-grey);
6313
+ }
6314
+ .input {
6333
6315
  border-color: var(--color-grey);
6334
- border-width: 2px;
6335
- border-style: solid;
6336
- padding: 0.625em 0.875em;
6337
6316
  border-radius: 0.3125rem;
6338
- overflow: hidden;
6339
- width: calc(100% - 4em);
6317
+ border-style: solid;
6318
+ border-width: 2px;
6319
+ padding: 0 0.5em;
6340
6320
  }
6341
- input,
6342
- select:not([multiple]) {
6343
- height: 2.75em;
6321
+ .input > kol-icon {
6322
+ width: 1.5em;
6344
6323
  }
6345
- input::placeholder {
6346
- color: var(--color-grey);
6324
+ .input > input:first-child {
6325
+ padding-left: 0.375em;
6347
6326
  }
6348
- input:hover {
6327
+ .input > input:last-child {
6328
+ padding-right: 0.375em;
6329
+ }
6330
+ .input:hover {
6349
6331
  border-color: var(--color-midnight);
6350
6332
  }
6351
6333
  input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
6352
6334
  cursor: not-allowed;
6353
- border-color: var(--border-default);
6354
6335
  }
6355
- .required #label::after {
6336
+ .required label > span::after {
6356
6337
  content: "*";
6357
6338
  padding-left: 0.125em;
6358
6339
  }
6359
- .icons {
6360
- display: flex;
6361
- justify-content: space-between;
6362
- height: 0;
6363
- }
6364
- .icons > * {
6365
- margin: 0.725em 0.875em;
6366
- box-sizing: border-box;
6367
- border-color: transparent;
6368
- border-width: 2px;
6369
- border-style: solid;
6370
- }
6371
- .icon-left input,
6372
- .icon-left select {
6373
- padding-left: calc(0.875em + 1em + 0.5em);
6374
- }
6375
- .icon-right input,
6376
- .icon-right select {
6377
- padding-right: calc(0.875em + 1em + 0.5em);
6378
- }
6379
6340
  kol-input.error {
6380
6341
  border-left: 3px solid var(--color-red);
6381
6342
  padding-left: 1em;
6382
6343
  }
6383
- kol-input.error input:focus,
6384
- kol-input.error select:focus,
6385
- kol-input.error textarea:focus {
6344
+ kol-input.error .input:focus-within {
6386
6345
  outline-color: var(--color-red) !important;
6387
6346
  }
6388
6347
  kol-input.error kol-alert.error {
6389
6348
  color: var(--color-red);
6390
6349
  font-weight: 700;
6391
6350
  }
6392
- kol-button-wc {
6393
- position: relative;
6394
- float: right;
6395
- z-index: 1000;
6396
- margin-top: -33px;
6397
- }
6398
- kol-button-wc button {
6399
- border: 1px solid var(--color-grey);
6400
- border-radius: 0.25rem;
6401
- box-sizing: border-box;
6402
- background-color: transparent;
6403
- cursor: pointer;
6404
- }
6405
- .icon-right kol-button-wc {
6406
- margin-right: 2.5em;
6407
- }
6408
6351
  .disabled {
6409
6352
  opacity: 0.33;
6410
6353
  }
6411
- .icon-left input,
6412
- .icon-left select {
6413
- margin-left: 2em;
6354
+ select[multiple],
6355
+ textarea {
6356
+ overflow: auto;
6414
6357
  }
6415
- .icon-right input,
6416
- .icon-right select {
6417
- margin-right: 2em;
6358
+ textarea {
6359
+ display: block;
6418
6360
  }
6419
- input[type="range"] {
6420
- appearance: none;
6421
- -webkit-appearance: none;
6422
- -moz-appearance: none;
6361
+ select option {
6362
+ margin: 1px 0;
6363
+ padding: 0.5em;
6364
+ border-radius: 0.25em;
6365
+ cursor: pointer;
6423
6366
  }
6424
- input[type="range"] {
6425
- overflow: visible;
6426
- background-color: var(--color-ice);
6427
- border: 0;
6428
- height: 0.5rem;
6429
- padding: 0;
6430
- padding-bottom: 0;
6431
- margin-bottom: 0;
6367
+ select option:disabled {
6368
+ cursor: not-allowed;
6432
6369
  }
6433
- input[type="range"]::-webkit-slider-thumb {
6434
- box-sizing: border-box;
6435
- background-color: var(--color-midnight);
6436
- height: 20px;
6437
- width: 20px;
6438
- border-radius: 20px;
6439
- cursor: pointer;
6440
- -webkit-appearance: none;
6370
+ option:active:not(:disabled),
6371
+ option:checked:not(:disabled),
6372
+ option:focus:not(:disabled),
6373
+ option:hover:not(:disabled) {
6374
+ background: var(--color-ocean);
6375
+ color: white;
6441
6376
  }`,
6442
6377
  "KOL-LINK-BUTTON": `a {
6443
6378
  display: inline-flex;