@public-ui/themes 1.7.0-rc.11 → 1.7.0-rc.13

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
@@ -4339,6 +4339,19 @@ const DESYv2 = KoliBri.createTheme("desy-v2", {
4339
4339
  -ms-transform: translateX(1em);
4340
4340
  transform: translateX(1em);
4341
4341
  }
4342
+ .switch {
4343
+ & .icon {
4344
+ width: 1.25em;
4345
+ height: 1.25em;
4346
+ left: 2px;
4347
+ }
4348
+ &:has(input:checked) .icon {
4349
+ transform: translate(2em, -50%);
4350
+ }
4351
+ &:has(input:indeterminate) .icon {
4352
+ transform: translate(1em, -50%);
4353
+ }
4354
+ }
4342
4355
  .disabled {
4343
4356
  opacity: 0.33;
4344
4357
  }`,
@@ -4619,10 +4632,13 @@ const DESYv2 = KoliBri.createTheme("desy-v2", {
4619
4632
  background-color: white;
4620
4633
  border-radius: 0.3125rem;
4621
4634
  }
4635
+ kol-input .counter {
4636
+ order: 3;
4637
+ }
4622
4638
  kol-input kol-alert.error {
4623
4639
  margin-bottom: 0.4em;
4624
4640
  margin-top: 0.2em;
4625
- order: 3;
4641
+ order: 4;
4626
4642
  }
4627
4643
  input,
4628
4644
  select,
@@ -6923,9 +6939,6 @@ const BZSt = KoliBri.createTheme("bzst", {
6923
6939
  "KOL-TEXTAREA": `kol-input {
6924
6940
  gap: 0.4em;
6925
6941
  }
6926
- kol-input .error {
6927
- order: 3;
6928
- }
6929
6942
  kol-input label {
6930
6943
  font-weight: 700;
6931
6944
  order: 1;
@@ -6933,8 +6946,14 @@ const BZSt = KoliBri.createTheme("bzst", {
6933
6946
  kol-input .input {
6934
6947
  order: 2;
6935
6948
  }
6936
- kol-input .hint {
6949
+ kol-input .counter {
6950
+ order: 3;
6951
+ }
6952
+ kol-input .error {
6937
6953
  order: 4;
6954
+ }
6955
+ kol-input .hint {
6956
+ order: 5;
6938
6957
  font-size: 0.875em;
6939
6958
  font-style: italic;
6940
6959
  }
@@ -10696,6 +10715,20 @@ const BMF = KoliBri.createTheme("bmf", {
10696
10715
  -ms-transform: translateX(1em);
10697
10716
  transform: translateX(1em);
10698
10717
  }
10718
+ .switch {
10719
+ & .icon {
10720
+ width: 1.25em;
10721
+ height: 1.25em;
10722
+ left: 2px;
10723
+ color: #000;
10724
+ }
10725
+ &:has(input:checked) .icon {
10726
+ transform: translate(2em, -50%);
10727
+ }
10728
+ &:has(input:indeterminate) .icon {
10729
+ transform: translate(1em, -50%);
10730
+ }
10731
+ }
10699
10732
  :host .disabled {
10700
10733
  opacity: 0.33;
10701
10734
  }
@@ -19175,8 +19208,11 @@ const DEFAULT = KoliBri.createTheme("default", {
19175
19208
  kol-input .input {
19176
19209
  order: 3;
19177
19210
  }
19178
- kol-input .hint {
19211
+ kol-input .counter {
19179
19212
  order: 4;
19213
+ }
19214
+ kol-input .hint {
19215
+ order: 5;
19180
19216
  font-size: 0.9rem;
19181
19217
  font-style: italic;
19182
19218
  }
@@ -20257,6 +20293,21 @@ const DEFAULT = KoliBri.createTheme("default", {
20257
20293
  :host kol-input.switch input[type='checkbox']:indeterminate:before {
20258
20294
  transform: translateX(1em);
20259
20295
  }
20296
+ .switch {
20297
+ & .icon {
20298
+ width: 1.25em;
20299
+ height: 1.25em;
20300
+ left: 2px;
20301
+ }
20302
+
20303
+ &:has(input:checked) .icon {
20304
+ transform: translate(2em, -50%);
20305
+ }
20306
+
20307
+ &:has(input:indeterminate) .icon {
20308
+ transform: translate(1em, -50%);
20309
+ }
20310
+ }
20260
20311
  :host .disabled {
20261
20312
  opacity: 0.33;
20262
20313
  }
@@ -22128,6 +22179,9 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
22128
22179
  order: 4;
22129
22180
  align-items: center;
22130
22181
  }
22182
+ .counter {
22183
+ order: 5;
22184
+ }
22131
22185
  input::placeholder,
22132
22186
  textarea::placeholder {
22133
22187
  color: var(--color-grey-50);
@@ -23542,6 +23596,9 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
23542
23596
  order: 4;
23543
23597
  align-items: center;
23544
23598
  }
23599
+ kol-input .counter {
23600
+ order: 5;
23601
+ }
23545
23602
  input::placeholder,
23546
23603
  textarea::placeholder {
23547
23604
  color: var(--color-grey-50);
@@ -25216,11 +25273,13 @@ const ITZBund = KoliBri.createTheme("itzbund", {
25216
25273
  transform: translateX(0.75em);
25217
25274
  background-color: var(--color-petrol);
25218
25275
  }
25276
+ .switch:has(input:not(:checked), input:indeterminate) .icon {
25277
+ color: #fff;
25278
+ }
25219
25279
  .disabled {
25220
25280
  opacity: 0.33;
25221
25281
  }
25222
- .default kol-icon,
25223
- .switch kol-icon {
25282
+ .default kol-icon {
25224
25283
  display: none;
25225
25284
  }
25226
25285
  kol-input span.hint {
@@ -35851,6 +35910,9 @@ const MAPZ = KoliBri.createTheme("mapz", {
35851
35910
  border-width: 2px;
35852
35911
  order: 2;
35853
35912
  }
35913
+ kol-input .counter {
35914
+ order: 3;
35915
+ }
35854
35916
  kol-input:hover > .input {
35855
35917
  border-color: var(--kolibri-color-secondary);
35856
35918
  }
@@ -35861,10 +35923,10 @@ const MAPZ = KoliBri.createTheme("mapz", {
35861
35923
  margin-right: 0.75em;
35862
35924
  }
35863
35925
  kol-input > .error {
35864
- order: 3;
35926
+ order: 4;
35865
35927
  }
35866
35928
  kol-input > .hint {
35867
- order: 4;
35929
+ order: 5;
35868
35930
  font-size: 0.875em;
35869
35931
  }
35870
35932
  input,
@@ -36069,6 +36131,9 @@ const MAPZ = KoliBri.createTheme("mapz", {
36069
36131
  transform: translateX(0.75em);
36070
36132
  background-color: var(--kolibri-color-primary);
36071
36133
  }
36134
+ .switch:has(input:not(:checked), input:indeterminate) .icon {
36135
+ color: #fff;
36136
+ }
36072
36137
  .disabled {
36073
36138
  opacity: 0.33;
36074
36139
  }`,
@@ -53598,6 +53663,9 @@ const ZOLLv2 = KoliBri.createTheme("zoll-v2", {
53598
53663
  transform: translateX(0.75em);
53599
53664
  background-color: white;
53600
53665
  }
53666
+ .switch:has(input:not(:checked, :indeterminate)) .icon {
53667
+ color: #fff;
53668
+ }
53601
53669
  .disabled {
53602
53670
  opacity: 0.33;
53603
53671
  }`,
@@ -54053,14 +54121,17 @@ const ZOLLv2 = KoliBri.createTheme("zoll-v2", {
54053
54121
  border-radius: 0.25rem;
54054
54122
  order: 2;
54055
54123
  }
54124
+ kol-input .counter {
54125
+ order: 3;
54126
+ }
54127
+ kol-input > kol-alert.error {
54128
+ order: 4;
54129
+ }
54056
54130
  kol-input > span.hint {
54057
54131
  color: var(--color-grau-60);
54058
54132
  font-style: italic;
54059
- order: 4;
54133
+ order: 5;
54060
54134
  font-size: 0.8rem;
54061
- }
54062
- kol-input > kol-alert.error {
54063
- order: 3;
54064
54135
  }`,
54065
54136
  "KOL-INDENTED-TEXT": `:host > div {
54066
54137
  background: white;
package/dist/index.mjs CHANGED
@@ -4337,6 +4337,19 @@ const DESYv2 = KoliBri.createTheme("desy-v2", {
4337
4337
  -ms-transform: translateX(1em);
4338
4338
  transform: translateX(1em);
4339
4339
  }
4340
+ .switch {
4341
+ & .icon {
4342
+ width: 1.25em;
4343
+ height: 1.25em;
4344
+ left: 2px;
4345
+ }
4346
+ &:has(input:checked) .icon {
4347
+ transform: translate(2em, -50%);
4348
+ }
4349
+ &:has(input:indeterminate) .icon {
4350
+ transform: translate(1em, -50%);
4351
+ }
4352
+ }
4340
4353
  .disabled {
4341
4354
  opacity: 0.33;
4342
4355
  }`,
@@ -4617,10 +4630,13 @@ const DESYv2 = KoliBri.createTheme("desy-v2", {
4617
4630
  background-color: white;
4618
4631
  border-radius: 0.3125rem;
4619
4632
  }
4633
+ kol-input .counter {
4634
+ order: 3;
4635
+ }
4620
4636
  kol-input kol-alert.error {
4621
4637
  margin-bottom: 0.4em;
4622
4638
  margin-top: 0.2em;
4623
- order: 3;
4639
+ order: 4;
4624
4640
  }
4625
4641
  input,
4626
4642
  select,
@@ -6921,9 +6937,6 @@ const BZSt = KoliBri.createTheme("bzst", {
6921
6937
  "KOL-TEXTAREA": `kol-input {
6922
6938
  gap: 0.4em;
6923
6939
  }
6924
- kol-input .error {
6925
- order: 3;
6926
- }
6927
6940
  kol-input label {
6928
6941
  font-weight: 700;
6929
6942
  order: 1;
@@ -6931,8 +6944,14 @@ const BZSt = KoliBri.createTheme("bzst", {
6931
6944
  kol-input .input {
6932
6945
  order: 2;
6933
6946
  }
6934
- kol-input .hint {
6947
+ kol-input .counter {
6948
+ order: 3;
6949
+ }
6950
+ kol-input .error {
6935
6951
  order: 4;
6952
+ }
6953
+ kol-input .hint {
6954
+ order: 5;
6936
6955
  font-size: 0.875em;
6937
6956
  font-style: italic;
6938
6957
  }
@@ -10694,6 +10713,20 @@ const BMF = KoliBri.createTheme("bmf", {
10694
10713
  -ms-transform: translateX(1em);
10695
10714
  transform: translateX(1em);
10696
10715
  }
10716
+ .switch {
10717
+ & .icon {
10718
+ width: 1.25em;
10719
+ height: 1.25em;
10720
+ left: 2px;
10721
+ color: #000;
10722
+ }
10723
+ &:has(input:checked) .icon {
10724
+ transform: translate(2em, -50%);
10725
+ }
10726
+ &:has(input:indeterminate) .icon {
10727
+ transform: translate(1em, -50%);
10728
+ }
10729
+ }
10697
10730
  :host .disabled {
10698
10731
  opacity: 0.33;
10699
10732
  }
@@ -19173,8 +19206,11 @@ const DEFAULT = KoliBri.createTheme("default", {
19173
19206
  kol-input .input {
19174
19207
  order: 3;
19175
19208
  }
19176
- kol-input .hint {
19209
+ kol-input .counter {
19177
19210
  order: 4;
19211
+ }
19212
+ kol-input .hint {
19213
+ order: 5;
19178
19214
  font-size: 0.9rem;
19179
19215
  font-style: italic;
19180
19216
  }
@@ -20255,6 +20291,21 @@ const DEFAULT = KoliBri.createTheme("default", {
20255
20291
  :host kol-input.switch input[type='checkbox']:indeterminate:before {
20256
20292
  transform: translateX(1em);
20257
20293
  }
20294
+ .switch {
20295
+ & .icon {
20296
+ width: 1.25em;
20297
+ height: 1.25em;
20298
+ left: 2px;
20299
+ }
20300
+
20301
+ &:has(input:checked) .icon {
20302
+ transform: translate(2em, -50%);
20303
+ }
20304
+
20305
+ &:has(input:indeterminate) .icon {
20306
+ transform: translate(1em, -50%);
20307
+ }
20308
+ }
20258
20309
  :host .disabled {
20259
20310
  opacity: 0.33;
20260
20311
  }
@@ -22126,6 +22177,9 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
22126
22177
  order: 4;
22127
22178
  align-items: center;
22128
22179
  }
22180
+ .counter {
22181
+ order: 5;
22182
+ }
22129
22183
  input::placeholder,
22130
22184
  textarea::placeholder {
22131
22185
  color: var(--color-grey-50);
@@ -23540,6 +23594,9 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
23540
23594
  order: 4;
23541
23595
  align-items: center;
23542
23596
  }
23597
+ kol-input .counter {
23598
+ order: 5;
23599
+ }
23543
23600
  input::placeholder,
23544
23601
  textarea::placeholder {
23545
23602
  color: var(--color-grey-50);
@@ -25214,11 +25271,13 @@ const ITZBund = KoliBri.createTheme("itzbund", {
25214
25271
  transform: translateX(0.75em);
25215
25272
  background-color: var(--color-petrol);
25216
25273
  }
25274
+ .switch:has(input:not(:checked), input:indeterminate) .icon {
25275
+ color: #fff;
25276
+ }
25217
25277
  .disabled {
25218
25278
  opacity: 0.33;
25219
25279
  }
25220
- .default kol-icon,
25221
- .switch kol-icon {
25280
+ .default kol-icon {
25222
25281
  display: none;
25223
25282
  }
25224
25283
  kol-input span.hint {
@@ -35849,6 +35908,9 @@ const MAPZ = KoliBri.createTheme("mapz", {
35849
35908
  border-width: 2px;
35850
35909
  order: 2;
35851
35910
  }
35911
+ kol-input .counter {
35912
+ order: 3;
35913
+ }
35852
35914
  kol-input:hover > .input {
35853
35915
  border-color: var(--kolibri-color-secondary);
35854
35916
  }
@@ -35859,10 +35921,10 @@ const MAPZ = KoliBri.createTheme("mapz", {
35859
35921
  margin-right: 0.75em;
35860
35922
  }
35861
35923
  kol-input > .error {
35862
- order: 3;
35924
+ order: 4;
35863
35925
  }
35864
35926
  kol-input > .hint {
35865
- order: 4;
35927
+ order: 5;
35866
35928
  font-size: 0.875em;
35867
35929
  }
35868
35930
  input,
@@ -36067,6 +36129,9 @@ const MAPZ = KoliBri.createTheme("mapz", {
36067
36129
  transform: translateX(0.75em);
36068
36130
  background-color: var(--kolibri-color-primary);
36069
36131
  }
36132
+ .switch:has(input:not(:checked), input:indeterminate) .icon {
36133
+ color: #fff;
36134
+ }
36070
36135
  .disabled {
36071
36136
  opacity: 0.33;
36072
36137
  }`,
@@ -53596,6 +53661,9 @@ const ZOLLv2 = KoliBri.createTheme("zoll-v2", {
53596
53661
  transform: translateX(0.75em);
53597
53662
  background-color: white;
53598
53663
  }
53664
+ .switch:has(input:not(:checked, :indeterminate)) .icon {
53665
+ color: #fff;
53666
+ }
53599
53667
  .disabled {
53600
53668
  opacity: 0.33;
53601
53669
  }`,
@@ -54051,14 +54119,17 @@ const ZOLLv2 = KoliBri.createTheme("zoll-v2", {
54051
54119
  border-radius: 0.25rem;
54052
54120
  order: 2;
54053
54121
  }
54122
+ kol-input .counter {
54123
+ order: 3;
54124
+ }
54125
+ kol-input > kol-alert.error {
54126
+ order: 4;
54127
+ }
54054
54128
  kol-input > span.hint {
54055
54129
  color: var(--color-grau-60);
54056
54130
  font-style: italic;
54057
- order: 4;
54131
+ order: 5;
54058
54132
  font-size: 0.8rem;
54059
- }
54060
- kol-input > kol-alert.error {
54061
- order: 3;
54062
54133
  }`,
54063
54134
  "KOL-INDENTED-TEXT": `:host > div {
54064
54135
  background: white;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/themes",
3
- "version": "1.7.0-rc.11",
3
+ "version": "1.7.0-rc.13",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": "https://github.com/public-ui/kolibri",
@@ -48,17 +48,17 @@
48
48
  "prepack": "unbuild"
49
49
  },
50
50
  "devDependencies": {
51
- "@public-ui/schema": "1.7.0-rc.11",
51
+ "@public-ui/schema": "1.7.0-rc.13",
52
52
  "@types/node": "ts5.1",
53
- "@typescript-eslint/eslint-plugin": "6.7.0",
54
- "@typescript-eslint/parser": "6.7.0",
53
+ "@typescript-eslint/eslint-plugin": "6.7.2",
54
+ "@typescript-eslint/parser": "6.7.2",
55
55
  "eslint": "8.49.0",
56
56
  "eslint-plugin-no-loops": "0.3.0",
57
57
  "typescript": "5.2.2",
58
58
  "unbuild": "1.2.1"
59
59
  },
60
60
  "peerDependencies": {
61
- "@public-ui/components": "1.7.0-rc.11"
61
+ "@public-ui/components": "1.7.0-rc.13"
62
62
  },
63
63
  "sideEffects": false,
64
64
  "type": "module",