@oslokommune/punkt-css 12.1.0 → 12.3.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 (43) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +4 -12
  3. package/dist/css/components/calendar.css +106 -75
  4. package/dist/css/components/calendar.min.css +1 -1
  5. package/dist/css/components/card.css +70 -0
  6. package/dist/css/components/card.min.css +1 -0
  7. package/dist/css/components/icon.css +6 -8
  8. package/dist/css/components/icon.min.css +1 -1
  9. package/dist/css/components/linkcard.css +4 -4
  10. package/dist/css/components/linkcard.min.css +1 -1
  11. package/dist/css/components/preview.css +4 -0
  12. package/dist/css/components/preview.min.css +1 -1
  13. package/dist/css/components/tabs.css +2 -2
  14. package/dist/css/components/tabs.min.css +1 -1
  15. package/dist/css/components/tag.css +7 -7
  16. package/dist/css/components/tag.min.css +1 -1
  17. package/dist/css/components/textinput.css +27 -1
  18. package/dist/css/components/textinput.min.css +1 -1
  19. package/dist/css/pkt-base.css +26 -8
  20. package/dist/css/pkt-base.min.css +1 -1
  21. package/dist/css/pkt-components.css +227 -97
  22. package/dist/css/pkt-components.min.css +1 -1
  23. package/dist/css/pkt-elements.css +46 -12
  24. package/dist/css/pkt-elements.min.css +1 -1
  25. package/dist/css/pkt-normalise.css +23 -0
  26. package/dist/css/pkt-normalise.min.css +1 -1
  27. package/dist/css/pkt.css +296 -116
  28. package/dist/css/pkt.min.css +1 -1
  29. package/dist/scss/abstracts/variables/_index.scss +1 -1
  30. package/dist/scss/base/_typography.scss +31 -8
  31. package/dist/scss/components/_calendar.scss +61 -32
  32. package/dist/scss/components/_card.scss +92 -0
  33. package/dist/scss/components/_icon.scss +3 -1
  34. package/dist/scss/components/_index.scss +1 -0
  35. package/dist/scss/components/_linkcard.scss +2 -0
  36. package/dist/scss/components/_preview.scss +4 -0
  37. package/dist/scss/components/_tabs.scss +1 -1
  38. package/dist/scss/components/_tag.scss +1 -0
  39. package/dist/scss/elements/_button.scss +11 -4
  40. package/dist/scss/elements/_input.scss +29 -1
  41. package/dist/scss/elements/_section.scss +1 -0
  42. package/dist/scss/normalise/_index.scss +24 -0
  43. package/package.json +2 -2
package/dist/css/pkt.css CHANGED
@@ -185,6 +185,29 @@ textarea {
185
185
  height: auto;
186
186
  }
187
187
 
188
+ /**
189
+ * Remove the default appearance of date and time inputs
190
+ */
191
+ input[type=date],
192
+ input[type=time],
193
+ input[type=datetime-local],
194
+ input[type=month] {
195
+ -webkit-appearance: textfield;
196
+ }
197
+
198
+ input::-webkit-datetime-edit {
199
+ margin-bottom: -4px;
200
+ }
201
+
202
+ /**
203
+ * Remove the calendar icon in date inputs
204
+ */
205
+ input[type=date]::-webkit-inner-spin-button,
206
+ input[type=date]::-webkit-calendar-picker-indicator {
207
+ display: none;
208
+ -webkit-appearance: none;
209
+ }
210
+
188
211
  /**
189
212
  * 1. Correct the odd appearance in Chrome and Safari.
190
213
  * 2. Correct the outline style in Safari.
@@ -13514,6 +13537,11 @@ a,
13514
13537
  word-wrap: break-word;
13515
13538
  cursor: pointer;
13516
13539
  }
13540
+ a span,
13541
+ .pkt-link-button span {
13542
+ color: inherit;
13543
+ text-decoration: inherit;
13544
+ }
13517
13545
  a:visited:not(.pkt-linkcard):not(.pkt-btn):not(.pkt-tabs__link),
13518
13546
  .pkt-link-button:visited:not(.pkt-linkcard):not(.pkt-btn):not(.pkt-tabs__link) {
13519
13547
  color: inherit;
@@ -13546,37 +13574,42 @@ a:active, a.pkt-link--active,
13546
13574
  .pkt-link {
13547
13575
  display: inline;
13548
13576
  text-align: left;
13549
- align-items: center;
13577
+ align-items: baseline;
13550
13578
  }
13579
+
13551
13580
  .pkt-link__icon {
13552
13581
  --fg-color: currentColor;
13553
13582
  width: 1.5rem;
13554
13583
  height: 1.5rem;
13555
13584
  flex-shrink: 0;
13556
- margin-right: 0.5rem;
13585
+ margin-right: 0.25rem;
13586
+ margin-left: 0.25rem;
13587
+ align-self: center;
13557
13588
  }
13558
- .pkt-link--icon-left {
13589
+ .pkt-link--icon-left, .pkt-link--icon-right {
13559
13590
  display: inline-flex;
13560
- flex-direction: row;
13561
13591
  text-decoration: none;
13592
+ align-items: baseline;
13593
+ }
13594
+ .pkt-link--icon-left {
13595
+ flex-direction: row;
13562
13596
  }
13563
13597
  .pkt-link--icon-right {
13564
- display: inline-flex;
13565
13598
  flex-direction: row-reverse;
13566
- text-decoration: none;
13567
13599
  }
13568
13600
  .pkt-link--external::after {
13569
13601
  display: inline-block;
13570
13602
  content: " ";
13571
- --svg: url(https://punkt-cdn.oslo.kommune.no/12.1/icons/new-window-small.svg);
13603
+ --svg: url(https://punkt-cdn.oslo.kommune.no/12.3/icons/new-window-small.svg);
13572
13604
  background-image: var(--svg);
13573
13605
  background-repeat: no-repeat;
13574
13606
  background-size: 18px 18px;
13575
13607
  width: 1.125rem;
13576
13608
  height: 1.125rem;
13577
13609
  vertical-align: middle;
13610
+ align-self: center;
13578
13611
  }
13579
- .pkt-link--external:hover::after {
13612
+ .pkt-link--external:hover::after, .pkt-link:hover pkt-icon {
13580
13613
  filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(2420%) hue-rotate(222deg) brightness(93%) contrast(90%);
13581
13614
  }
13582
13615
 
@@ -16621,6 +16654,14 @@ button.pkt-link {
16621
16654
  white-space: nowrap;
16622
16655
  }
16623
16656
 
16657
+ /*
16658
+ * Display contents and disregard layout
16659
+ */
16660
+ .pkt-display-contents,
16661
+ .pkt-contents {
16662
+ display: contents;
16663
+ }
16664
+
16624
16665
  /*
16625
16666
  * Visibility
16626
16667
  */
@@ -16752,11 +16793,11 @@ button.pkt-link {
16752
16793
  * Variant: label-only, icon-left, icon-right, icon-only
16753
16794
  * Background: light, dark
16754
16795
  */
16755
- .pkt-btn__icon > svg {
16796
+ .pkt-btn__icon svg {
16756
16797
  --ring-color: var(--pkt-color-brand-dark-blue-700);
16757
16798
  --spinner-color: var(--pkt-color-brand-blue-1000);
16758
16799
  }
16759
- [data-mode=dark] .pkt-btn__icon > svg {
16800
+ [data-mode=dark] .pkt-btn__icon svg {
16760
16801
  --ring-color: var(--pkt-color-brand-neutrals-white);
16761
16802
  --spinner-color: var(--pkt-color-brand-dark-blue-1000);
16762
16803
  }
@@ -17063,14 +17104,14 @@ button.pkt-link {
17063
17104
  line-height: 1.1;
17064
17105
  padding: 0 0.5rem;
17065
17106
  }
17066
- .pkt-btn--small .pkt-btn__icon {
17107
+ .pkt-btn--small .pkt-btn__icon, .pkt-btn--small .pkt-btn__icon .pkt-icon {
17067
17108
  height: 1.25rem;
17068
17109
  width: 1.25rem;
17069
17110
  }
17070
17111
  .pkt-btn--small.pkt-btn--icon-only {
17071
17112
  padding: 0 0.5625rem;
17072
17113
  }
17073
- .pkt-btn__icon {
17114
+ .pkt-btn__icon, .pkt-btn__icon .pkt-icon {
17074
17115
  height: 1.5rem;
17075
17116
  width: 1.5rem;
17076
17117
  }
@@ -17098,7 +17139,7 @@ button.pkt-link {
17098
17139
  line-height: 1.1;
17099
17140
  padding: 0 1rem;
17100
17141
  }
17101
- .pkt-btn--large .pkt-btn__icon {
17142
+ .pkt-btn--large .pkt-btn__icon, .pkt-btn--large .pkt-btn__icon .pkt-icon {
17102
17143
  height: 2rem;
17103
17144
  width: 2rem;
17104
17145
  }
@@ -17116,7 +17157,8 @@ button.pkt-link {
17116
17157
  .pkt-btn:link, .pkt-btn:visited {
17117
17158
  color: var(--pkt-color-button-text-normal);
17118
17159
  }
17119
- a.pkt-btn:focus, .pkt-btn:enabled:focus, .pkt-btn.pkt-btn--focus {
17160
+ a.pkt-btn:focus,
17161
+ div.pkt-btn:not([data-disabled]):focus, .pkt-btn:enabled:focus, .pkt-btn.pkt-btn--focus {
17120
17162
  background-color: var(--pkt-color-button-background-focus);
17121
17163
  color: var(--pkt-color-button-text-focus);
17122
17164
  border-color: var(--pkt-color-button-border-focus);
@@ -17124,7 +17166,8 @@ a.pkt-btn:focus, .pkt-btn:enabled:focus, .pkt-btn.pkt-btn--focus {
17124
17166
  text-decoration: none;
17125
17167
  }
17126
17168
 
17127
- a.pkt-btn:hover, .pkt-btn:enabled:hover, .pkt-btn.pkt-btn--hover {
17169
+ a.pkt-btn:hover,
17170
+ div.pkt-btn:not([data-disabled]):hover, .pkt-btn:enabled:hover, .pkt-btn.pkt-btn--hover {
17128
17171
  background-color: var(--pkt-color-button-background-hover);
17129
17172
  border-color: var(--pkt-color-button-border-hover);
17130
17173
  color: var(--pkt-color-button-text-hover);
@@ -17132,7 +17175,8 @@ a.pkt-btn:hover, .pkt-btn:enabled:hover, .pkt-btn.pkt-btn--hover {
17132
17175
  text-decoration: underline;
17133
17176
  }
17134
17177
 
17135
- a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pkt-btn--active:hover {
17178
+ a.pkt-btn:active,
17179
+ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pkt-btn--active:hover {
17136
17180
  background-color: var(--pkt-color-button-background-active);
17137
17181
  border-color: var(--pkt-color-button-border-active);
17138
17182
  color: var(--pkt-color-button-text-active);
@@ -17140,7 +17184,7 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
17140
17184
  text-decoration: none;
17141
17185
  }
17142
17186
 
17143
- .pkt-btn:disabled {
17187
+ .pkt-btn:disabled, .pkt-btn[disabled], .pkt-btn[data-disabled] {
17144
17188
  background-color: var(--pkt-color-button-background-disabled);
17145
17189
  border-color: var(--pkt-color-button-border-disabled);
17146
17190
  color: var(--pkt-color-button-text-disabled);
@@ -17434,7 +17478,7 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
17434
17478
  outline-color: var(--pkt-color-input-border-hover);
17435
17479
  }
17436
17480
  .pkt-input-check__input-checkbox:checked[type=checkbox] {
17437
- --svg: url(https://punkt-cdn.oslo.kommune.no/12.1/icons/check-medium.svg);
17481
+ --svg: url(https://punkt-cdn.oslo.kommune.no/12.3/icons/check-medium.svg);
17438
17482
  position: relative;
17439
17483
  background-color: var(--pkt-color-input-border-normal);
17440
17484
  }
@@ -17494,7 +17538,7 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
17494
17538
  cursor: not-allowed;
17495
17539
  }
17496
17540
  .pkt-input-check__input-checkbox:disabled[type=checkbox][role=switch]:checked:after {
17497
- --svg: url(https://punkt-cdn.oslo.kommune.no/12.1/icons/check-medium.svg);
17541
+ --svg: url(https://punkt-cdn.oslo.kommune.no/12.3/icons/check-medium.svg);
17498
17542
  --pkt-color-input-check-border: var(
17499
17543
  --pkt-color-input-border-normal
17500
17544
  );
@@ -17702,6 +17746,10 @@ Therefore, this is removed from the reset here, and images who need to be fluid
17702
17746
  margin: 0;
17703
17747
  padding: 0.5rem 1rem;
17704
17748
  }
17749
+ .pkt-input:not(.pkt-input-compact), .pkt-textinput__input:not(.pkt-input-compact), .pkt-select select:not(.pkt-input-compact),
17750
+ .pkt-select:not(.pkt-input-compact):is(select) {
17751
+ min-height: 3rem;
17752
+ }
17705
17753
  .pkt-input-compact.pkt-input, .pkt-input-compact.pkt-textinput__input, .pkt-select select.pkt-input-compact,
17706
17754
  .pkt-input-compact.pkt-select:is(select) {
17707
17755
  border: 0;
@@ -17737,7 +17785,7 @@ Therefore, this is removed from the reset here, and images who need to be fluid
17737
17785
  }
17738
17786
  .pkt-input:is(select):not([multiple]), .pkt-textinput__input:is(select):not([multiple]), .pkt-select select:is(select):not([multiple]),
17739
17787
  .pkt-select:is(select):not([multiple]) {
17740
- --svg: url(https://punkt-cdn.oslo.kommune.no/12.1/icons/chevron-thin-down.svg);
17788
+ --svg: url(https://punkt-cdn.oslo.kommune.no/12.3/icons/chevron-thin-down.svg);
17741
17789
  background-image: var(--svg);
17742
17790
  background-repeat: no-repeat;
17743
17791
  background-position: right 0.7rem top 50%;
@@ -17897,7 +17945,32 @@ Therefore, this is removed from the reset here, and images who need to be fluid
17897
17945
  line-height: 1.375rem;
17898
17946
  color: var(--pkt-color-input-text-error);
17899
17947
  }
17948
+ .pkt-input__range-inputs {
17949
+ container: range/inline-size;
17950
+ }
17900
17951
 
17952
+ @container range (width < 30rem) {
17953
+ .pkt-input__container {
17954
+ border: 2px solid var(--pkt-color-input-border-normal);
17955
+ display: grid;
17956
+ grid-template-rows: auto auto;
17957
+ grid-template-columns: min-content auto 4rem;
17958
+ gap: 0;
17959
+ }
17960
+ .pkt-input__container > :nth-child(2) {
17961
+ grid-column-start: span 2;
17962
+ }
17963
+ .pkt-input__container .pkt-input-prefix,
17964
+ .pkt-input__container .pkt-input-suffix,
17965
+ .pkt-input__container .pkt-input-icon,
17966
+ .pkt-input__container .pkt-input,
17967
+ .pkt-input__container .pkt-textinput__input,
17968
+ .pkt-input__container .pkt-select select,
17969
+ .pkt-select .pkt-input__container select,
17970
+ .pkt-input__container .pkt-select:is(select) {
17971
+ border: 0;
17972
+ }
17973
+ }
17901
17974
  /*
17902
17975
  * List elements
17903
17976
  */
@@ -18077,6 +18150,7 @@ Therefore, this is removed from the reset here, and images who need to be fluid
18077
18150
  color: black;
18078
18151
  }
18079
18152
 
18153
+ .pkt-section--gray,
18080
18154
  .pkt-section--grey {
18081
18155
  margin: 1rem 0;
18082
18156
  padding: 0.75rem;
@@ -18093,11 +18167,13 @@ Therefore, this is removed from the reset here, and images who need to be fluid
18093
18167
  */
18094
18168
  }
18095
18169
  @media screen and (min-width: 35.938rem) {
18170
+ .pkt-section--gray,
18096
18171
  .pkt-section--grey {
18097
18172
  padding: 1rem;
18098
18173
  }
18099
18174
  }
18100
18175
  @media screen and (min-width: 48rem) {
18176
+ .pkt-section--gray,
18101
18177
  .pkt-section--grey {
18102
18178
  padding: 1.5rem;
18103
18179
  }
@@ -18732,180 +18808,282 @@ Therefore, this is removed from the reset here, and images who need to be fluid
18732
18808
  }
18733
18809
 
18734
18810
  .pkt-calendar,
18735
- pkt-el-calendar {
18811
+ pkt-calendar {
18812
+ z-index: 2;
18813
+ display: block;
18814
+ position: relative;
18736
18815
  max-width: 25rem;
18737
18816
  }
18738
18817
  .pkt-calendar .pkt-cal-month-nav,
18739
- pkt-el-calendar .pkt-cal-month-nav {
18818
+ pkt-calendar .pkt-cal-month-nav {
18740
18819
  display: flex;
18741
18820
  justify-content: space-between;
18742
18821
  align-items: center;
18743
18822
  margin-bottom: 1rem;
18744
18823
  }
18745
18824
  .pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker,
18746
- pkt-el-calendar .pkt-cal-month-nav .pkt-cal-month-picker {
18825
+ pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker {
18747
18826
  display: flex;
18748
18827
  gap: 0.5rem;
18749
18828
  }
18750
18829
  .pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker .pkt-input,
18751
- pkt-el-calendar .pkt-cal-month-nav .pkt-cal-month-picker .pkt-input {
18830
+ pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker .pkt-input {
18752
18831
  font-size: 1rem;
18753
18832
  font-weight: 500;
18754
18833
  letter-spacing: -0.2px;
18755
18834
  line-height: 1.5rem;
18756
18835
  }
18757
18836
  .pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker .pkt-input:is(select),
18758
- pkt-el-calendar .pkt-cal-month-nav .pkt-cal-month-picker .pkt-input:is(select) {
18837
+ pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker .pkt-input:is(select) {
18759
18838
  text-align: right;
18760
18839
  }
18761
18840
  .pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker > .pkt-cal-input-year,
18762
- pkt-el-calendar .pkt-cal-month-nav .pkt-cal-month-picker > .pkt-cal-input-year {
18841
+ pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker > .pkt-cal-input-year {
18763
18842
  max-width: 4.5rem;
18764
18843
  }
18844
+ .pkt-calendar .pkt-cal-month-nav td,
18845
+ .pkt-calendar .pkt-cal-days td,
18846
+ pkt-calendar .pkt-cal-month-nav td,
18847
+ pkt-calendar .pkt-cal-days td {
18848
+ border: 0;
18849
+ }
18765
18850
  .pkt-calendar .pkt-cal-month-nav .pkt-btn,
18766
- .pkt-calendar .pkt-cal-month-nav li,
18851
+ .pkt-calendar .pkt-cal-month-nav td > div,
18767
18852
  .pkt-calendar .pkt-cal-days .pkt-btn,
18768
- .pkt-calendar .pkt-cal-days li,
18769
- pkt-el-calendar .pkt-cal-month-nav .pkt-btn,
18770
- pkt-el-calendar .pkt-cal-month-nav li,
18771
- pkt-el-calendar .pkt-cal-days .pkt-btn,
18772
- pkt-el-calendar .pkt-cal-days li {
18853
+ .pkt-calendar .pkt-cal-days td > div,
18854
+ pkt-calendar .pkt-cal-month-nav .pkt-btn,
18855
+ pkt-calendar .pkt-cal-month-nav td > div,
18856
+ pkt-calendar .pkt-cal-days .pkt-btn,
18857
+ pkt-calendar .pkt-cal-days td > div {
18773
18858
  font: inherit;
18774
18859
  aspect-ratio: 1/1;
18775
18860
  display: flex;
18776
18861
  justify-content: center;
18777
18862
  align-items: center;
18863
+ border: 0;
18778
18864
  }
18779
18865
  .pkt-calendar .pkt-cal-month-nav .pkt-btn,
18780
18866
  .pkt-calendar .pkt-cal-days .pkt-btn,
18781
- pkt-el-calendar .pkt-cal-month-nav .pkt-btn,
18782
- pkt-el-calendar .pkt-cal-days .pkt-btn {
18783
- margin: 1px;
18784
- z-index: 1;
18867
+ pkt-calendar .pkt-cal-month-nav .pkt-btn,
18868
+ pkt-calendar .pkt-cal-days .pkt-btn {
18869
+ margin: 0;
18785
18870
  border-radius: 50%;
18786
18871
  }
18787
18872
  .pkt-calendar .pkt-cal-month-nav .pkt-btn:focus, .pkt-calendar .pkt-cal-month-nav .pkt-btn:active,
18788
18873
  .pkt-calendar .pkt-cal-days .pkt-btn:focus,
18789
18874
  .pkt-calendar .pkt-cal-days .pkt-btn:active,
18790
- pkt-el-calendar .pkt-cal-month-nav .pkt-btn:focus,
18791
- pkt-el-calendar .pkt-cal-month-nav .pkt-btn:active,
18792
- pkt-el-calendar .pkt-cal-days .pkt-btn:focus,
18793
- pkt-el-calendar .pkt-cal-days .pkt-btn:active {
18875
+ pkt-calendar .pkt-cal-month-nav .pkt-btn:focus,
18876
+ pkt-calendar .pkt-cal-month-nav .pkt-btn:active,
18877
+ pkt-calendar .pkt-cal-days .pkt-btn:focus,
18878
+ pkt-calendar .pkt-cal-days .pkt-btn:active {
18794
18879
  outline: 0;
18795
18880
  border: 0;
18796
18881
  }
18797
- .pkt-calendar .pkt-cal-month-nav .pkt-btn:disabled,
18798
- .pkt-calendar .pkt-cal-days .pkt-btn:disabled,
18799
- pkt-el-calendar .pkt-cal-month-nav .pkt-btn:disabled,
18800
- pkt-el-calendar .pkt-cal-days .pkt-btn:disabled {
18801
- background-color: transparent;
18802
- border: 0;
18803
- cursor: not-allowed;
18804
- }
18805
18882
  .pkt-calendar .pkt-cal-days,
18806
- pkt-el-calendar .pkt-cal-days {
18807
- list-style: none;
18808
- display: grid;
18809
- grid-template-columns: repeat(7, 14.285%);
18883
+ pkt-calendar .pkt-cal-days {
18810
18884
  margin: 0;
18811
18885
  padding-left: 0;
18812
- justify-content: center;
18813
- align-items: center;
18886
+ border-spacing: 0;
18814
18887
  }
18815
- .pkt-calendar .pkt-cal-days > li,
18816
- pkt-el-calendar .pkt-cal-days > li {
18888
+ .pkt-calendar .pkt-cal-days td,
18889
+ pkt-calendar .pkt-cal-days td {
18890
+ padding: 0;
18891
+ }
18892
+ .pkt-calendar .pkt-cal-days div,
18893
+ pkt-calendar .pkt-cal-days div {
18817
18894
  aspect-ratio: 1/1;
18818
18895
  justify-content: center;
18819
18896
  align-items: center;
18820
18897
  position: relative;
18821
18898
  text-align: center;
18822
- z-index: 1;
18823
18899
  }
18824
- .pkt-calendar .pkt-cal-days > li:before, .pkt-calendar .pkt-cal-days > li:after,
18825
- pkt-el-calendar .pkt-cal-days > li:before,
18826
- pkt-el-calendar .pkt-cal-days > li:after {
18900
+ .pkt-calendar .pkt-cal-days div:before, .pkt-calendar .pkt-cal-days div:after,
18901
+ pkt-calendar .pkt-cal-days div:before,
18902
+ pkt-calendar .pkt-cal-days div:after {
18827
18903
  content: "";
18828
18904
  display: block;
18829
18905
  position: absolute;
18830
18906
  top: 0;
18831
18907
  bottom: 0;
18832
- z-index: 0;
18908
+ z-index: -1;
18833
18909
  }
18834
- .pkt-calendar .pkt-cal-days > li:before,
18835
- pkt-el-calendar .pkt-cal-days > li:before {
18910
+ .pkt-calendar .pkt-cal-days div:before,
18911
+ pkt-calendar .pkt-cal-days div:before {
18836
18912
  left: 0;
18837
18913
  right: 50%;
18838
18914
  }
18839
- .pkt-calendar .pkt-cal-days > li:after,
18840
- pkt-el-calendar .pkt-cal-days > li:after {
18915
+ .pkt-calendar .pkt-cal-days div:after,
18916
+ pkt-calendar .pkt-cal-days div:after {
18841
18917
  left: 50%;
18842
18918
  right: 0;
18843
18919
  }
18844
18920
  .pkt-calendar.pkt-cal-weeknumbers .pkt-cal-day-names, .pkt-calendar.pkt-cal-weeknumbers .pkt-cal-days,
18845
- pkt-el-calendar.pkt-cal-weeknumbers .pkt-cal-day-names,
18846
- pkt-el-calendar.pkt-cal-weeknumbers .pkt-cal-days {
18921
+ pkt-calendar.pkt-cal-weeknumbers .pkt-cal-day-names,
18922
+ pkt-calendar.pkt-cal-weeknumbers .pkt-cal-days {
18847
18923
  grid-template-columns: repeat(8, 12.5%);
18848
18924
  }
18849
18925
  .pkt-calendar .pkt-cal-other,
18850
- pkt-el-calendar .pkt-cal-other {
18926
+ .pkt-calendar .pkt-cal-days [data-disabled],
18927
+ pkt-calendar .pkt-cal-other,
18928
+ pkt-calendar .pkt-cal-days [data-disabled] {
18929
+ cursor: not-allowed;
18851
18930
  color: var(--pkt-color-grays-gray-200);
18852
18931
  }
18853
18932
  .pkt-calendar .pkt-cal-other .pkt-btn,
18854
- pkt-el-calendar .pkt-cal-other .pkt-btn {
18933
+ .pkt-calendar .pkt-cal-days [data-disabled] .pkt-btn,
18934
+ pkt-calendar .pkt-cal-other .pkt-btn,
18935
+ pkt-calendar .pkt-cal-days [data-disabled] .pkt-btn {
18855
18936
  color: inherit;
18856
18937
  background: transparent;
18857
18938
  border: none;
18858
18939
  }
18859
18940
  .pkt-calendar .pkt-cal-today .pkt-btn,
18860
- pkt-el-calendar .pkt-cal-today .pkt-btn {
18861
- z-index: 2;
18941
+ pkt-calendar .pkt-cal-today .pkt-btn {
18862
18942
  text-decoration: underline;
18863
18943
  outline: 1px solid var(--pkt-color-border-default);
18944
+ outline-offset: -1px;
18864
18945
  }
18865
18946
  .pkt-calendar .pkt-cal-selected .pkt-btn,
18866
18947
  .pkt-calendar .pkt-cal-selected .pkt-btn:focus,
18867
- pkt-el-calendar .pkt-cal-selected .pkt-btn,
18868
- pkt-el-calendar .pkt-cal-selected .pkt-btn:focus {
18948
+ .pkt-calendar .pkt-cal-selected .pkt-btn:hover,
18949
+ pkt-calendar .pkt-cal-selected .pkt-btn,
18950
+ pkt-calendar .pkt-cal-selected .pkt-btn:focus,
18951
+ pkt-calendar .pkt-cal-selected .pkt-btn:hover {
18869
18952
  background-color: var(--pkt-color-surface-strong-blue);
18870
18953
  }
18871
- .pkt-calendar .pkt-cal-selected .pkt-btn:hover,
18872
- .pkt-calendar .pkt-cal-selected .pkt-btn:focus:hover,
18873
- pkt-el-calendar .pkt-cal-selected .pkt-btn:hover,
18874
- pkt-el-calendar .pkt-cal-selected .pkt-btn:focus:hover {
18875
- border-color: var(--pkt-color-surface-strong-blue);
18876
- }
18877
- .pkt-calendar .pkt-cal-in-range:before, .pkt-calendar .pkt-cal-in-range:after, .pkt-calendar .pkt-cal-in-range-first:after, .pkt-calendar .pkt-cal-in-range-last:before,
18878
- pkt-el-calendar .pkt-cal-in-range:before,
18879
- pkt-el-calendar .pkt-cal-in-range:after,
18880
- pkt-el-calendar .pkt-cal-in-range-first:after,
18881
- pkt-el-calendar .pkt-cal-in-range-last:before {
18954
+ .pkt-calendar .pkt-cal-in-range :before,
18955
+ .pkt-calendar .pkt-cal-in-range :after, .pkt-calendar .pkt-cal-in-range-first :after, .pkt-calendar .pkt-cal-in-range-last :before,
18956
+ pkt-calendar .pkt-cal-in-range :before,
18957
+ pkt-calendar .pkt-cal-in-range :after,
18958
+ pkt-calendar .pkt-cal-in-range-first :after,
18959
+ pkt-calendar .pkt-cal-in-range-last :before {
18882
18960
  background-color: var(--pkt-color-surface-default-light-blue);
18883
18961
  }
18884
- .pkt-calendar .pkt-cal-in-range-first:before, .pkt-calendar .pkt-cal-in-range-last:after,
18885
- pkt-el-calendar .pkt-cal-in-range-first:before,
18886
- pkt-el-calendar .pkt-cal-in-range-last:after {
18962
+ .pkt-calendar .pkt-cal-in-range-first :before, .pkt-calendar .pkt-cal-in-range-last :after,
18963
+ pkt-calendar .pkt-cal-in-range-first :before,
18964
+ pkt-calendar .pkt-cal-in-range-last :after {
18887
18965
  background-color: transparent;
18888
18966
  }
18889
- .pkt-calendar .pkt-cal-range-hover:before,
18967
+ .pkt-calendar .pkt-cal-range-hover :before,
18890
18968
  .pkt-calendar .pkt-cal-range-hover .pkt-btn,
18891
- pkt-el-calendar .pkt-cal-range-hover:before,
18892
- pkt-el-calendar .pkt-cal-range-hover .pkt-btn {
18969
+ pkt-calendar .pkt-cal-range-hover :before,
18970
+ pkt-calendar .pkt-cal-range-hover .pkt-btn {
18893
18971
  background-color: var(--pkt-color-surface-default-light-blue);
18894
18972
  }
18895
18973
  .pkt-calendar .pkt-cal-range-hover .pkt-btn,
18896
- pkt-el-calendar .pkt-cal-range-hover .pkt-btn {
18974
+ pkt-calendar .pkt-cal-range-hover .pkt-btn {
18897
18975
  border-color: var(--pkt-color-surface-default-light-blue);
18898
18976
  }
18899
18977
  .pkt-calendar .pkt-cal-excluded,
18900
- pkt-el-calendar .pkt-cal-excluded {
18978
+ pkt-calendar .pkt-cal-excluded {
18901
18979
  background-color: var(--pkt-color-brand-neutrals-100);
18902
18980
  }
18903
- .pkt-calendar .pkt-cal-excluded:before, .pkt-calendar .pkt-cal-excluded:after,
18904
- pkt-el-calendar .pkt-cal-excluded:before,
18905
- pkt-el-calendar .pkt-cal-excluded:after {
18981
+ .pkt-calendar .pkt-cal-excluded :before,
18982
+ .pkt-calendar .pkt-cal-excluded :after,
18983
+ pkt-calendar .pkt-cal-excluded :before,
18984
+ pkt-calendar .pkt-cal-excluded :after {
18906
18985
  background-color: transparent;
18907
18986
  }
18908
18987
 
18988
+ pkt-datepicker {
18989
+ display: block;
18990
+ position: relative;
18991
+ }
18992
+ pkt-datepicker .pkt-datepicker {
18993
+ position: relative;
18994
+ }
18995
+ pkt-datepicker .pkt-datepicker__tags .pkt-tag {
18996
+ margin: 0 0.25rem 0.5rem 0;
18997
+ }
18998
+
18999
+ .pkt-datepicker__inputs {
19000
+ width: 100%;
19001
+ position: relative;
19002
+ }
19003
+
19004
+ .pkt-calendar-popup {
19005
+ top: 100%;
19006
+ left: 0;
19007
+ z-index: 2;
19008
+ margin: 0;
19009
+ padding: 0.5rem;
19010
+ position: absolute;
19011
+ width: max-content;
19012
+ background: var(--pkt-color-background-default);
19013
+ box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
19014
+ }
19015
+
19016
+ /*
19017
+ * Cardcomponent
19018
+ */
19019
+ .pkt-card {
19020
+ padding: 2rem;
19021
+ display: flex;
19022
+ gap: 3rem;
19023
+ }
19024
+ .pkt-card__wrapper {
19025
+ display: flex;
19026
+ flex-direction: column;
19027
+ gap: 1rem;
19028
+ }
19029
+ .pkt-card__tags {
19030
+ display: flex;
19031
+ gap: 1rem;
19032
+ }
19033
+ .pkt-card--landscape {
19034
+ flex-direction: row;
19035
+ max-width: 950px;
19036
+ }
19037
+ .pkt-card--landscape .pkt-card__image {
19038
+ min-width: 320px;
19039
+ overflow: hidden;
19040
+ }
19041
+ .pkt-card--landscape .pkt-card__image img {
19042
+ height: 100%;
19043
+ width: 100%;
19044
+ object-fit: cover;
19045
+ object-position: center;
19046
+ }
19047
+ .pkt-card--portrait {
19048
+ flex-direction: column;
19049
+ max-width: 500px;
19050
+ }
19051
+ .pkt-card--portrait .pkt-card__image {
19052
+ max-height: 400px;
19053
+ overflow: hidden;
19054
+ }
19055
+ .pkt-card--portrait .pkt-card__image img {
19056
+ width: 100%;
19057
+ height: 100%;
19058
+ object-fit: cover;
19059
+ object-position: center;
19060
+ }
19061
+ .pkt-card--outlined {
19062
+ border: 3px solid var(--pkt-color-grays-gray-100);
19063
+ background-color: var(--pkt-color-background-default);
19064
+ }
19065
+ .pkt-card--gray {
19066
+ background-color: var(--pkt-color-background-subtle);
19067
+ }
19068
+ .pkt-card--blue {
19069
+ background-color: var(--pkt-color-brand-blue-300);
19070
+ }
19071
+ .pkt-card--green {
19072
+ background-color: var(--pkt-color-brand-light-green-400);
19073
+ }
19074
+ .pkt-card--beige {
19075
+ background-color: var(--pkt-color-brand-light-beige-1000);
19076
+ }
19077
+ .pkt-card h1,
19078
+ .pkt-card h2,
19079
+ .pkt-card h3,
19080
+ .pkt-card h4,
19081
+ .pkt-card h5,
19082
+ .pkt-card p {
19083
+ padding: 0;
19084
+ margin: 0;
19085
+ }
19086
+
18909
19087
  /*
18910
19088
  * Footer element
18911
19089
  */
@@ -19351,30 +19529,28 @@ pkt-el-calendar .pkt-cal-excluded:after {
19351
19529
  * TODO: use SVG icons instead
19352
19530
  */
19353
19531
  .pkt-icon,
19354
- pkt-el-icon {
19532
+ pkt-icon {
19355
19533
  display: inline-flex;
19356
19534
  min-height: 1rem;
19357
19535
  min-width: 1rem;
19358
19536
  }
19359
19537
  .pkt-icon > svg,
19360
- pkt-el-icon > svg {
19538
+ pkt-icon > svg {
19361
19539
  min-height: 1rem;
19362
19540
  min-width: 1rem;
19363
19541
  max-height: 100%;
19364
19542
  max-width: 100%;
19365
19543
  }
19366
- .pkt-icon--small,
19367
- pkt-el-icon--small {
19544
+
19545
+ .pkt-icon--small {
19368
19546
  height: 1rem;
19369
19547
  width: 1rem;
19370
19548
  }
19371
- .pkt-icon--medium,
19372
- pkt-el-icon--medium {
19549
+ .pkt-icon--medium {
19373
19550
  height: 1.5rem;
19374
19551
  width: 1.5rem;
19375
19552
  }
19376
- .pkt-icon--large,
19377
- pkt-el-icon--large {
19553
+ .pkt-icon--large {
19378
19554
  height: 4rem;
19379
19555
  width: 4rem;
19380
19556
  }
@@ -19625,14 +19801,14 @@ pkt-el-icon--large {
19625
19801
  .pkt-linkcard--blue:hover, .pkt-linkcard--blue:focus, .pkt-linkcard--blue:focus-visible, .pkt-linkcard--blue:active {
19626
19802
  color: var(--pkt-color-brand-warm-blue-1000) !important;
19627
19803
  }
19628
- .pkt-linkcard--grey {
19804
+ .pkt-linkcard--gray, .pkt-linkcard--grey {
19629
19805
  background-color: var(--pkt-color-surface-default-gray) !important;
19630
19806
  color: var(--pkt-color-text-body-dark) !important;
19631
19807
  }
19632
- .pkt-linkcard--grey:hover {
19808
+ .pkt-linkcard--gray:hover, .pkt-linkcard--grey:hover {
19633
19809
  background-color: var(--pkt-color-surface-strong-gray) !important;
19634
19810
  }
19635
- .pkt-linkcard--grey:hover, .pkt-linkcard--grey:focus, .pkt-linkcard--grey:focus-visible, .pkt-linkcard--grey:active {
19811
+ .pkt-linkcard--gray:hover, .pkt-linkcard--gray:focus, .pkt-linkcard--gray:focus-visible, .pkt-linkcard--gray:active, .pkt-linkcard--grey:hover, .pkt-linkcard--grey:focus, .pkt-linkcard--grey:focus-visible, .pkt-linkcard--grey:active {
19636
19812
  color: var(--pkt-color-brand-warm-blue-1000) !important;
19637
19813
  }
19638
19814
  .pkt-linkcard--green {
@@ -19645,7 +19821,7 @@ pkt-el-icon--large {
19645
19821
  .pkt-linkcard--green:hover, .pkt-linkcard--green:focus, .pkt-linkcard--green:focus-visible, .pkt-linkcard--green:active {
19646
19822
  color: var(--pkt-color-brand-warm-blue-1000) !important;
19647
19823
  }
19648
- .pkt-linkcard--grey-outline {
19824
+ .pkt-linkcard--gray-outline, .pkt-linkcard--grey-outline {
19649
19825
  border: 4px solid var(--pkt-color-border-subtle) !important;
19650
19826
  }
19651
19827
  .pkt-linkcard--beige-outline {
@@ -19954,6 +20130,10 @@ pkt-el-icon--large {
19954
20130
  background-color: var(--pkt-color-surface-default-gray) !important;
19955
20131
  }
19956
20132
 
20133
+ .preview-content {
20134
+ display: contents;
20135
+ }
20136
+
19957
20137
  .pkt-progressbar {
19958
20138
  --pkt-progress-width: 0%;
19959
20139
  --pkt-progress-label-width: 5rem;
@@ -20319,8 +20499,8 @@ pkt-el-icon--large {
20319
20499
  white-space: nowrap;
20320
20500
  }
20321
20501
  .pkt-tabs__link .pkt-icon,
20322
- .pkt-tabs__link pkt-el-icon, .pkt-tabs__button .pkt-icon,
20323
- .pkt-tabs__button pkt-el-icon {
20502
+ .pkt-tabs__link pkt-icon, .pkt-tabs__button .pkt-icon,
20503
+ .pkt-tabs__button pkt-icon {
20324
20504
  --fg-color: currentColor;
20325
20505
  }
20326
20506
  .pkt-tabs__link, .pkt-tabs__link:hover, .pkt-tabs__link:active, .pkt-tabs__button, .pkt-tabs__button:hover, .pkt-tabs__button:active {
@@ -20524,28 +20704,28 @@ pkt-el-icon--large {
20524
20704
  .pkt-tag--beige.pkt-btn:active > svg, .pkt-tag--beige.pkt-tag--active > svg {
20525
20705
  --fg-color: var(--pkt-color-tag-text-active);
20526
20706
  }
20527
- .pkt-tag--grey {
20707
+ .pkt-tag--gray, .pkt-tag--grey {
20528
20708
  background: var(--pkt-color-surface-default-gray);
20529
20709
  }
20530
- .pkt-tag--grey.pkt-btn:hover, .pkt-tag--grey.pkt-tag--hover {
20710
+ .pkt-tag--gray.pkt-btn:hover, .pkt-tag--gray.pkt-tag--hover, .pkt-tag--grey.pkt-btn:hover, .pkt-tag--grey.pkt-tag--hover {
20531
20711
  background-color: var(--pkt-color-surface-strong-gray);
20532
20712
  color: var(--pkt-color-tag-text-hover);
20533
20713
  }
20534
- .pkt-tag--grey.pkt-btn:hover > svg, .pkt-tag--grey.pkt-tag--hover > svg {
20714
+ .pkt-tag--gray.pkt-btn:hover > svg, .pkt-tag--gray.pkt-tag--hover > svg, .pkt-tag--grey.pkt-btn:hover > svg, .pkt-tag--grey.pkt-tag--hover > svg {
20535
20715
  --fg-color: var(--pkt-color-tag-text-hover);
20536
20716
  }
20537
- .pkt-tag--grey.pkt-btn:focus, .pkt-tag--grey.pkt-tag--focus {
20717
+ .pkt-tag--gray.pkt-btn:focus, .pkt-tag--gray.pkt-tag--focus, .pkt-tag--grey.pkt-btn:focus, .pkt-tag--grey.pkt-tag--focus {
20538
20718
  background-color: var(--pkt-color-surface-strong-gray);
20539
20719
  color: var(--pkt-color-tag-text-active);
20540
20720
  }
20541
- .pkt-tag--grey.pkt-btn:focus > svg, .pkt-tag--grey.pkt-tag--focus > svg {
20721
+ .pkt-tag--gray.pkt-btn:focus > svg, .pkt-tag--gray.pkt-tag--focus > svg, .pkt-tag--grey.pkt-btn:focus > svg, .pkt-tag--grey.pkt-tag--focus > svg {
20542
20722
  --fg-color: var(--pkt-color-tag-text-active);
20543
20723
  }
20544
- .pkt-tag--grey.pkt-btn:active, .pkt-tag--grey.pkt-tag--active {
20724
+ .pkt-tag--gray.pkt-btn:active, .pkt-tag--gray.pkt-tag--active, .pkt-tag--grey.pkt-btn:active, .pkt-tag--grey.pkt-tag--active {
20545
20725
  background-color: var(--pkt-color-surface-strong-gray);
20546
20726
  color: var(--pkt-color-tag-text-active);
20547
20727
  }
20548
- .pkt-tag--grey.pkt-btn:active > svg, .pkt-tag--grey.pkt-tag--active > svg {
20728
+ .pkt-tag--gray.pkt-btn:active > svg, .pkt-tag--gray.pkt-tag--active > svg, .pkt-tag--grey.pkt-btn:active > svg, .pkt-tag--grey.pkt-tag--active > svg {
20549
20729
  --fg-color: var(--pkt-color-tag-text-active);
20550
20730
  }
20551
20731
  .pkt-tag--blue-light {