@public-ui/themes 1.7.9 → 1.7.10-rc.0

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.
Files changed (3) hide show
  1. package/dist/index.cjs +48 -107
  2. package/dist/index.mjs +48 -107
  3. package/package.json +6 -6
package/dist/index.cjs CHANGED
@@ -1947,7 +1947,7 @@ const BMF = KoliBri.createTheme("bmf", {
1947
1947
  }`,
1948
1948
  "KOL-TABLE": `:host * {
1949
1949
  hyphens: var(--kolibri-hyphens);
1950
- font-family: var(--kolibri-font-family);
1950
+ font-family: var(font-family);
1951
1951
  line-height: var(--kolibri-line-height);
1952
1952
  word-break: break-word;
1953
1953
  }
@@ -1955,8 +1955,13 @@ const BMF = KoliBri.createTheme("bmf", {
1955
1955
  overflow-x: auto;
1956
1956
  overflow-y: hidden;
1957
1957
  }
1958
+ .table:has(caption:focus) {
1959
+ outline-color: var(--color-ocean);
1960
+ outline-style: solid;
1961
+ outline-width: 3px;
1962
+ transition: outline-offset 0.2s linear;
1963
+ }
1958
1964
  caption {
1959
- position: absolute;
1960
1965
  width: 1px;
1961
1966
  height: 1px;
1962
1967
  padding: 0;
@@ -1986,15 +1991,8 @@ const BMF = KoliBri.createTheme("bmf", {
1986
1991
  grid-template-columns: 1fr auto;
1987
1992
  align-items: center;
1988
1993
  }
1989
- th div.center {
1990
- justify-content: center;
1991
- }
1992
- th div.right {
1993
- justify-content: end;
1994
- }
1995
1994
  th,
1996
1995
  td {
1997
- vertical-align: top;
1998
1996
  border-bottom: 1px solid var(--color-granite);
1999
1997
  height: 1.25rem;
2000
1998
  }
@@ -2010,16 +2008,7 @@ const BMF = KoliBri.createTheme("bmf", {
2010
2008
  margin-top: -0.75rem;
2011
2009
  margin-bottom: -0.75rem;
2012
2010
  }
2013
- td.center > div {
2014
- display: flex;
2015
- justify-content: center;
2016
- }
2017
- td.right > div {
2018
- display: flex;
2019
- justify-content: end;
2020
- }
2021
- th[aria-sort="ascending"],
2022
- th[aria-sort="descending"] {
2011
+ .table-sort-button .button {
2023
2012
  font-weight: 700;
2024
2013
  }
2025
2014
  :host > div:last-child,
@@ -11590,6 +11579,16 @@ const DEFAULT = KoliBri.createTheme("default", {
11590
11579
  border-style: solid;
11591
11580
  border-color: var(--color-primary-variant);
11592
11581
  }
11582
+ .table {
11583
+ padding: 0.5rem;
11584
+ }
11585
+ .table:has(caption:focus) {
11586
+ outline-color: var(--color-primary-variant);
11587
+ outline-offset: 2px;
11588
+ outline-style: solid;
11589
+ outline-width: 3px;
11590
+ transition: outline-offset 0.2s linear;
11591
+ }
11593
11592
  table {
11594
11593
  width: 100%;
11595
11594
  border-spacing: 0;
@@ -11612,12 +11611,6 @@ const DEFAULT = KoliBri.createTheme("default", {
11612
11611
  grid-template-columns: 1fr auto;
11613
11612
  align-items: center;
11614
11613
  }
11615
- th div.center {
11616
- justify-content: center;
11617
- }
11618
- th div.right {
11619
- justify-content: end;
11620
- }
11621
11614
  tr:nth-child(even) {
11622
11615
  background-color: var(--color-mute);
11623
11616
  }
@@ -11625,29 +11618,10 @@ const DEFAULT = KoliBri.createTheme("default", {
11625
11618
  td {
11626
11619
  padding: 0.5rem;
11627
11620
  }
11628
- td.center > div {
11629
- display: flex;
11630
- justify-content: center;
11631
- }
11632
- td.right > div {
11633
- display: flex;
11634
- justify-content: end;
11635
- }
11636
11621
  th[aria-sort='ascending'],
11637
11622
  th[aria-sort='descending'] {
11638
11623
  font-weight: 700;
11639
11624
  }
11640
- :host > div:last-child {
11641
- padding: 0.5rem;
11642
- }
11643
- :host > div:last-child,
11644
- :host > div:last-child > div:last-child {
11645
- display: grid;
11646
- align-items: center;
11647
- justify-items: center;
11648
- gap: 1rem;
11649
- }
11650
-
11651
11625
  @media (min-width: 1024px) {
11652
11626
  div.pagination kol-pagination {
11653
11627
  display: flex;
@@ -13854,6 +13828,15 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
13854
13828
  border-style: solid;
13855
13829
  border-color: var(--color-ice);
13856
13830
  }
13831
+ .table {
13832
+ padding: 0.5em;
13833
+ }
13834
+ .table:has(caption:focus) {
13835
+ outline-color: var(--color-blue);
13836
+ outline-offset: 2px;
13837
+ outline-style: solid;
13838
+ outline-width: 2px;
13839
+ }
13857
13840
  table {
13858
13841
  width: 100%;
13859
13842
  border-spacing: 0;
@@ -13876,12 +13859,6 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
13876
13859
  grid-template-columns: 1fr auto;
13877
13860
  align-items: center;
13878
13861
  }
13879
- th div.center {
13880
- justify-content: center;
13881
- }
13882
- th div.right {
13883
- justify-content: end;
13884
- }
13885
13862
  tbody tr:nth-child(odd) {
13886
13863
  background-color: var(--color-grey-10);
13887
13864
  }
@@ -13889,28 +13866,10 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
13889
13866
  td {
13890
13867
  padding: 0.5em;
13891
13868
  }
13892
- td.center > div {
13893
- display: flex;
13894
- justify-content: center;
13895
- }
13896
- td.right > div {
13897
- display: flex;
13898
- justify-content: end;
13899
- }
13900
13869
  th[aria-sort="ascending"],
13901
13870
  th[aria-sort="descending"] {
13902
13871
  font-weight: 700;
13903
13872
  }
13904
- :host > div:last-child {
13905
- padding: 0.5em;
13906
- }
13907
- :host > div:last-child,
13908
- :host > div:last-child > div:last-child {
13909
- display: grid;
13910
- align-items: center;
13911
- justify-items: center;
13912
- gap: 1em;
13913
- }
13914
13873
  @media (min-width: 1024px) {
13915
13874
  :host > div:last-child,
13916
13875
  :host > div:last-child > div:last-child {
@@ -15301,6 +15260,15 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
15301
15260
  border-style: solid;
15302
15261
  border-color: var(--color-ice);
15303
15262
  }
15263
+ .table {
15264
+ padding: 0.5em;
15265
+ }
15266
+ .table:has(caption:focus) {
15267
+ outline-color: var(--color-blue);
15268
+ outline-offset: 2px;
15269
+ outline-style: solid;
15270
+ outline-width: 2px;
15271
+ }
15304
15272
  table {
15305
15273
  width: 100%;
15306
15274
  border-spacing: 0;
@@ -15323,12 +15291,6 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
15323
15291
  grid-template-columns: 1fr auto;
15324
15292
  align-items: center;
15325
15293
  }
15326
- th div.center {
15327
- justify-content: center;
15328
- }
15329
- th div.right {
15330
- justify-content: end;
15331
- }
15332
15294
  tbody tr:nth-child(odd) {
15333
15295
  background-color: var(--color-grey-10);
15334
15296
  }
@@ -15336,28 +15298,10 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
15336
15298
  td {
15337
15299
  padding: 0.5em;
15338
15300
  }
15339
- td.center > div {
15340
- display: flex;
15341
- justify-content: center;
15342
- }
15343
- td.right > div {
15344
- display: flex;
15345
- justify-content: end;
15346
- }
15347
15301
  th[aria-sort="ascending"],
15348
15302
  th[aria-sort="descending"] {
15349
15303
  font-weight: 700;
15350
15304
  }
15351
- :host > div:last-child {
15352
- padding: 0.5em;
15353
- }
15354
- :host > div:last-child,
15355
- :host > div:last-child > div:last-child {
15356
- display: grid;
15357
- align-items: center;
15358
- justify-items: center;
15359
- gap: 1em;
15360
- }
15361
15305
  @media (min-width: 1024px) {
15362
15306
  :host > div:last-child,
15363
15307
  :host > div:last-child > div:last-child {
@@ -16677,6 +16621,16 @@ const ITZBund = KoliBri.createTheme("itzbund", {
16677
16621
  border-width: 1px;
16678
16622
  border-color: var(--border-color);
16679
16623
  }
16624
+ .table {
16625
+ padding: 0.5em;
16626
+ }
16627
+ .table:has(caption:focus) {
16628
+ outline-color: var(--color-petrol);
16629
+ outline-offset: 2px;
16630
+ outline-style: solid;
16631
+ outline-width: 3px;
16632
+ transition: outline-offset 0.2s linear;
16633
+ }
16680
16634
  table {
16681
16635
  width: 100%;
16682
16636
  border-collapse: collapse;
@@ -16702,21 +16656,8 @@ const ITZBund = KoliBri.createTheme("itzbund", {
16702
16656
  th {
16703
16657
  background-color: #eee;
16704
16658
  }
16705
- th > div {
16706
- display: grid;
16707
- grid-template-columns: 1fr auto;
16708
- align-items: center;
16709
- gap: 0.25em;
16710
- }
16711
- :host > div.pagination {
16712
- padding: 0.5em;
16713
- }
16714
- :host > div.pagination,
16715
- :host > div.pagination > div:last-child {
16716
- display: grid;
16717
- align-items: center;
16718
- justify-items: center;
16719
- gap: 0.5em;
16659
+ .table-sort-button .button {
16660
+ font-weight: bold;
16720
16661
  }
16721
16662
  @media (min-width: 1024px) {
16722
16663
  :host > div.pagination,
package/dist/index.mjs CHANGED
@@ -1945,7 +1945,7 @@ const BMF = KoliBri.createTheme("bmf", {
1945
1945
  }`,
1946
1946
  "KOL-TABLE": `:host * {
1947
1947
  hyphens: var(--kolibri-hyphens);
1948
- font-family: var(--kolibri-font-family);
1948
+ font-family: var(font-family);
1949
1949
  line-height: var(--kolibri-line-height);
1950
1950
  word-break: break-word;
1951
1951
  }
@@ -1953,8 +1953,13 @@ const BMF = KoliBri.createTheme("bmf", {
1953
1953
  overflow-x: auto;
1954
1954
  overflow-y: hidden;
1955
1955
  }
1956
+ .table:has(caption:focus) {
1957
+ outline-color: var(--color-ocean);
1958
+ outline-style: solid;
1959
+ outline-width: 3px;
1960
+ transition: outline-offset 0.2s linear;
1961
+ }
1956
1962
  caption {
1957
- position: absolute;
1958
1963
  width: 1px;
1959
1964
  height: 1px;
1960
1965
  padding: 0;
@@ -1984,15 +1989,8 @@ const BMF = KoliBri.createTheme("bmf", {
1984
1989
  grid-template-columns: 1fr auto;
1985
1990
  align-items: center;
1986
1991
  }
1987
- th div.center {
1988
- justify-content: center;
1989
- }
1990
- th div.right {
1991
- justify-content: end;
1992
- }
1993
1992
  th,
1994
1993
  td {
1995
- vertical-align: top;
1996
1994
  border-bottom: 1px solid var(--color-granite);
1997
1995
  height: 1.25rem;
1998
1996
  }
@@ -2008,16 +2006,7 @@ const BMF = KoliBri.createTheme("bmf", {
2008
2006
  margin-top: -0.75rem;
2009
2007
  margin-bottom: -0.75rem;
2010
2008
  }
2011
- td.center > div {
2012
- display: flex;
2013
- justify-content: center;
2014
- }
2015
- td.right > div {
2016
- display: flex;
2017
- justify-content: end;
2018
- }
2019
- th[aria-sort="ascending"],
2020
- th[aria-sort="descending"] {
2009
+ .table-sort-button .button {
2021
2010
  font-weight: 700;
2022
2011
  }
2023
2012
  :host > div:last-child,
@@ -11588,6 +11577,16 @@ const DEFAULT = KoliBri.createTheme("default", {
11588
11577
  border-style: solid;
11589
11578
  border-color: var(--color-primary-variant);
11590
11579
  }
11580
+ .table {
11581
+ padding: 0.5rem;
11582
+ }
11583
+ .table:has(caption:focus) {
11584
+ outline-color: var(--color-primary-variant);
11585
+ outline-offset: 2px;
11586
+ outline-style: solid;
11587
+ outline-width: 3px;
11588
+ transition: outline-offset 0.2s linear;
11589
+ }
11591
11590
  table {
11592
11591
  width: 100%;
11593
11592
  border-spacing: 0;
@@ -11610,12 +11609,6 @@ const DEFAULT = KoliBri.createTheme("default", {
11610
11609
  grid-template-columns: 1fr auto;
11611
11610
  align-items: center;
11612
11611
  }
11613
- th div.center {
11614
- justify-content: center;
11615
- }
11616
- th div.right {
11617
- justify-content: end;
11618
- }
11619
11612
  tr:nth-child(even) {
11620
11613
  background-color: var(--color-mute);
11621
11614
  }
@@ -11623,29 +11616,10 @@ const DEFAULT = KoliBri.createTheme("default", {
11623
11616
  td {
11624
11617
  padding: 0.5rem;
11625
11618
  }
11626
- td.center > div {
11627
- display: flex;
11628
- justify-content: center;
11629
- }
11630
- td.right > div {
11631
- display: flex;
11632
- justify-content: end;
11633
- }
11634
11619
  th[aria-sort='ascending'],
11635
11620
  th[aria-sort='descending'] {
11636
11621
  font-weight: 700;
11637
11622
  }
11638
- :host > div:last-child {
11639
- padding: 0.5rem;
11640
- }
11641
- :host > div:last-child,
11642
- :host > div:last-child > div:last-child {
11643
- display: grid;
11644
- align-items: center;
11645
- justify-items: center;
11646
- gap: 1rem;
11647
- }
11648
-
11649
11623
  @media (min-width: 1024px) {
11650
11624
  div.pagination kol-pagination {
11651
11625
  display: flex;
@@ -13852,6 +13826,15 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
13852
13826
  border-style: solid;
13853
13827
  border-color: var(--color-ice);
13854
13828
  }
13829
+ .table {
13830
+ padding: 0.5em;
13831
+ }
13832
+ .table:has(caption:focus) {
13833
+ outline-color: var(--color-blue);
13834
+ outline-offset: 2px;
13835
+ outline-style: solid;
13836
+ outline-width: 2px;
13837
+ }
13855
13838
  table {
13856
13839
  width: 100%;
13857
13840
  border-spacing: 0;
@@ -13874,12 +13857,6 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
13874
13857
  grid-template-columns: 1fr auto;
13875
13858
  align-items: center;
13876
13859
  }
13877
- th div.center {
13878
- justify-content: center;
13879
- }
13880
- th div.right {
13881
- justify-content: end;
13882
- }
13883
13860
  tbody tr:nth-child(odd) {
13884
13861
  background-color: var(--color-grey-10);
13885
13862
  }
@@ -13887,28 +13864,10 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
13887
13864
  td {
13888
13865
  padding: 0.5em;
13889
13866
  }
13890
- td.center > div {
13891
- display: flex;
13892
- justify-content: center;
13893
- }
13894
- td.right > div {
13895
- display: flex;
13896
- justify-content: end;
13897
- }
13898
13867
  th[aria-sort="ascending"],
13899
13868
  th[aria-sort="descending"] {
13900
13869
  font-weight: 700;
13901
13870
  }
13902
- :host > div:last-child {
13903
- padding: 0.5em;
13904
- }
13905
- :host > div:last-child,
13906
- :host > div:last-child > div:last-child {
13907
- display: grid;
13908
- align-items: center;
13909
- justify-items: center;
13910
- gap: 1em;
13911
- }
13912
13871
  @media (min-width: 1024px) {
13913
13872
  :host > div:last-child,
13914
13873
  :host > div:last-child > div:last-child {
@@ -15299,6 +15258,15 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
15299
15258
  border-style: solid;
15300
15259
  border-color: var(--color-ice);
15301
15260
  }
15261
+ .table {
15262
+ padding: 0.5em;
15263
+ }
15264
+ .table:has(caption:focus) {
15265
+ outline-color: var(--color-blue);
15266
+ outline-offset: 2px;
15267
+ outline-style: solid;
15268
+ outline-width: 2px;
15269
+ }
15302
15270
  table {
15303
15271
  width: 100%;
15304
15272
  border-spacing: 0;
@@ -15321,12 +15289,6 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
15321
15289
  grid-template-columns: 1fr auto;
15322
15290
  align-items: center;
15323
15291
  }
15324
- th div.center {
15325
- justify-content: center;
15326
- }
15327
- th div.right {
15328
- justify-content: end;
15329
- }
15330
15292
  tbody tr:nth-child(odd) {
15331
15293
  background-color: var(--color-grey-10);
15332
15294
  }
@@ -15334,28 +15296,10 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
15334
15296
  td {
15335
15297
  padding: 0.5em;
15336
15298
  }
15337
- td.center > div {
15338
- display: flex;
15339
- justify-content: center;
15340
- }
15341
- td.right > div {
15342
- display: flex;
15343
- justify-content: end;
15344
- }
15345
15299
  th[aria-sort="ascending"],
15346
15300
  th[aria-sort="descending"] {
15347
15301
  font-weight: 700;
15348
15302
  }
15349
- :host > div:last-child {
15350
- padding: 0.5em;
15351
- }
15352
- :host > div:last-child,
15353
- :host > div:last-child > div:last-child {
15354
- display: grid;
15355
- align-items: center;
15356
- justify-items: center;
15357
- gap: 1em;
15358
- }
15359
15303
  @media (min-width: 1024px) {
15360
15304
  :host > div:last-child,
15361
15305
  :host > div:last-child > div:last-child {
@@ -16675,6 +16619,16 @@ const ITZBund = KoliBri.createTheme("itzbund", {
16675
16619
  border-width: 1px;
16676
16620
  border-color: var(--border-color);
16677
16621
  }
16622
+ .table {
16623
+ padding: 0.5em;
16624
+ }
16625
+ .table:has(caption:focus) {
16626
+ outline-color: var(--color-petrol);
16627
+ outline-offset: 2px;
16628
+ outline-style: solid;
16629
+ outline-width: 3px;
16630
+ transition: outline-offset 0.2s linear;
16631
+ }
16678
16632
  table {
16679
16633
  width: 100%;
16680
16634
  border-collapse: collapse;
@@ -16700,21 +16654,8 @@ const ITZBund = KoliBri.createTheme("itzbund", {
16700
16654
  th {
16701
16655
  background-color: #eee;
16702
16656
  }
16703
- th > div {
16704
- display: grid;
16705
- grid-template-columns: 1fr auto;
16706
- align-items: center;
16707
- gap: 0.25em;
16708
- }
16709
- :host > div.pagination {
16710
- padding: 0.5em;
16711
- }
16712
- :host > div.pagination,
16713
- :host > div.pagination > div:last-child {
16714
- display: grid;
16715
- align-items: center;
16716
- justify-items: center;
16717
- gap: 0.5em;
16657
+ .table-sort-button .button {
16658
+ font-weight: bold;
16718
16659
  }
16719
16660
  @media (min-width: 1024px) {
16720
16661
  :host > div.pagination,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/themes",
3
- "version": "1.7.9",
3
+ "version": "1.7.10-rc.0",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": "https://github.com/public-ui/kolibri",
@@ -41,18 +41,18 @@
41
41
  "wcag"
42
42
  ],
43
43
  "devDependencies": {
44
- "@public-ui/schema": "1.7.9",
44
+ "@public-ui/schema": "1.7.10-rc.0",
45
45
  "@types/node": "ts5.3",
46
- "@typescript-eslint/eslint-plugin": "6.17.0",
47
- "@typescript-eslint/parser": "6.17.0",
46
+ "@typescript-eslint/eslint-plugin": "6.19.1",
47
+ "@typescript-eslint/parser": "6.19.1",
48
48
  "eslint": "8.56.0",
49
49
  "eslint-plugin-no-loops": "0.3.0",
50
- "nodemon": "3.0.2",
50
+ "nodemon": "3.0.3",
51
51
  "typescript": "5.3.3",
52
52
  "unbuild": "1.2.1"
53
53
  },
54
54
  "peerDependencies": {
55
- "@public-ui/components": "1.7.9"
55
+ "@public-ui/components": "1.7.10-rc.0"
56
56
  },
57
57
  "sideEffects": false,
58
58
  "type": "module",